/openssl/crypto/bn/ |
H A D | rsaz_exp.c | 100 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 103 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 106 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 117 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 120 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 123 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 134 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 137 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 148 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 151 rsaz_1024_sqr_avx2(result, result, m, k0, 1); [all …]
|
/openssl/test/ |
H A D | ssl_test.c | 36 if (!TEST_int_eq(result->result, test_ctx->expected_result)) { in check_result() 39 ssl_test_result_name(result->result)); in check_result() 105 if (!TEST_int_eq(result->client_protocol, result->server_protocol)) { in check_protocol() 217 if (!TEST_int_eq(result->client_resumed, result->server_resumed)) in check_resumption() 349 if (!TEST_ptr(result->cipher)) in check_cipher() 352 result->cipher)) in check_cipher() 365 ret &= check_result(result, test_ctx); in check_test() 367 if (result->result == SSL_TEST_SUCCESS) { in check_test() 400 HANDSHAKE_RESULT *result = NULL; in test_handshake() local 528 if (result != NULL) in test_handshake() [all …]
|
H A D | drbgtest.c | 298 int result; in compare_drbg_fork_result() local 305 if (result == 0) in compare_drbg_fork_result() 308 if (result == 0) in compare_drbg_fork_result() 311 return result; in compare_drbg_fork_result() 359 result[0].pid = pid; in test_drbg_reseed_in_child() 414 memset(&result, 0, sizeof(result)); in test_rand_reseed_on_fork() 444 result[0].pid = pid; in test_rand_reseed_on_fork() 445 result[0].private = 0; in test_rand_reseed_on_fork() 449 result[1].pid = pid; in test_rand_reseed_on_fork() 450 result[1].private = 1; in test_rand_reseed_on_fork() [all …]
|
H A D | cmp_msg_test.c | 162 return result; in test_cmp_create_ir_protection_set() 179 return result; in test_cmp_create_ir_protection_fails() 189 return result; in test_cmp_create_cr_without_key() 203 return result; in test_cmp_create_cr() 217 return result; in test_cmp_create_certreq_with_invalid_bodytype() 238 return result; in test_cmp_create_p10cr() 252 return result; in test_cmp_create_p10cr_null() 267 return result; in test_cmp_create_kur() 281 return result; in test_cmp_create_kur_without_oldcert() 295 return result; in test_cmp_create_certconf() [all …]
|
H A D | cmp_vfy_test.c | 121 return result; in test_verify_popo() 130 return result; in test_verify_popo_bad() 170 return result; in test_validate_msg_mac_alg_protection() 207 return result; in test_validate_msg_mac_alg_protection_bad() 244 return result; in test_validate_msg_signature_partial_chain() 274 return result; in test_validate_msg_signature_srvcert() 313 return result; in test_validate_msg_signature_sender_cert_untrusted() 328 return result; in test_validate_msg_signature_sender_cert_trusted() 343 return result; in test_validate_msg_signature_sender_cert_extracert() 357 return result; in test_validate_msg_signature_sender_cert_absent() [all …]
|
H A D | cmp_protect_test.c | 145 return result; in test_cmp_calc_protection_no_key_no_secret() 158 return result; in test_cmp_calc_protection_pkey() 172 return result; in test_cmp_calc_protection_pkey_Ed() 188 return result; in test_cmp_calc_protection_pbmac() 209 return result; in test_MSG_protect_unprotected_request() 234 return result; in test_MSG_protect_with_msg_sig_alg_protection_plus_rsa_key() 252 return result; in test_MSG_protect_with_certificate_and_key() 271 return result; in test_MSG_protect_certificate_based_without_cert() 284 return result; in test_MSG_protect_no_key_no_secret() 306 return result; in test_MSG_protect_pbmac_no_sender() [all …]
|
H A D | ct_test.c | 131 int result = 0; in compare_sct_list_printout() local 145 result = 1; in compare_sct_list_printout() 149 return result; in compare_sct_list_printout() 157 int result = 0; in compare_extension_printout() local 176 result = 1; in compare_extension_printout() 180 return result; in compare_extension_printout() 344 return result; in test_no_scts_in_certificate() 357 return result; in test_one_sct_in_certificate() 370 return result; in test_multiple_scts_in_certificate() 382 return result; in test_verify_one_sct() [all …]
|
H A D | cmp_hdr_test.c | 65 return result; in test_HDR_set_get_pvno() 105 return result; in test_HDR_get0_senderNonce() 139 return result; in test_HDR_set1_sender() 173 return result; in test_HDR_set1_recipient() 211 return result; in test_HDR_update_messageTime() 241 return result; in test_HDR_set1_senderKID() 272 return result; in test_HDR_push0_freeText() 306 return result; in test_HDR_push1_freeText() 333 return result; in test_HDR_generalInfo_push0_item() 392 return result; in test_HDR_generalInfo_push1_items() [all …]
|
H A D | ecstresstest.c | 71 BIGNUM *result = NULL, *expected_result = NULL; in test_curve() local 81 || !TEST_ptr(result = walk_curve(group, point, num_repeats))) in test_curve() 85 BN_print(bio_out, result); in test_curve() 91 || !TEST_BN_eq(result, expected_result)) in test_curve() 99 BN_free(result); in test_curve()
|
/openssl/crypto/dso/ |
H A D | dso_win32.c | 214 result = OPENSSL_zalloc(sizeof(*result)); in win32_splitter() 215 if (result == NULL) in win32_splitter() 287 if (!result->nodelen) in win32_splitter() 289 if (!result->devicelen) in win32_splitter() 291 if (!result->dirlen) in win32_splitter() 293 if (!result->filelen) in win32_splitter() 296 return result; in win32_splitter() 302 char *result = NULL; in win32_joiner() local 332 if (result == NULL) in win32_joiner() 379 result[offset] = '\0'; in win32_joiner() [all …]
|
H A D | dso_lib.c | 248 char *result = NULL; in DSO_merge() local 256 result = dso->merger(dso, filespec1, filespec2); in DSO_merge() 258 result = dso->meth->dso_merger(dso, filespec1, filespec2); in DSO_merge() 260 return result; in DSO_merge() 265 char *result = NULL; in DSO_convert_filename() local 279 result = dso->name_converter(dso, filename); in DSO_convert_filename() 281 result = dso->meth->dso_name_converter(dso, filename); in DSO_convert_filename() 283 if (result == NULL) { in DSO_convert_filename() 284 result = OPENSSL_strdup(filename); in DSO_convert_filename() 285 if (result == NULL) in DSO_convert_filename() [all …]
|
/openssl/external/perl/Text-Template-1.56/t/ |
H A D | delimiters.t | 16 my $result = q{The value of $V is 119.}; 24 is $text, $result; 29 is $text, $result; 41 is $text, $result; 46 is $text, $result; 72 while (my ($test, $result) = splice @tests, 0, 2) { 80 my $ok = (!defined $text && !defined $result || $text eq $result); 82 ok($ok) or diag "expected .$result., got .$text.";
|
/openssl/crypto/x509/ |
H A D | v3_genn.c | 124 int result = -1; in GENERAL_NAME_cmp() local 144 result = ASN1_STRING_cmp(a->d.ia5, b->d.ia5); in GENERAL_NAME_cmp() 148 result = X509_NAME_cmp(a->d.dirn, b->d.dirn); in GENERAL_NAME_cmp() 152 result = ASN1_OCTET_STRING_cmp(a->d.ip, b->d.ip); in GENERAL_NAME_cmp() 156 result = OBJ_cmp(a->d.rid, b->d.rid); in GENERAL_NAME_cmp() 159 return result; in GENERAL_NAME_cmp() 165 int result = -1; in OTHERNAME_cmp() local 170 if ((result = OBJ_cmp(a->type_id, b->type_id)) != 0) in OTHERNAME_cmp() 171 return result; in OTHERNAME_cmp() 173 result = ASN1_TYPE_cmp(a->value, b->value); in OTHERNAME_cmp() [all …]
|
/openssl/crypto/ |
H A D | core_fetch.c | 61 void *cbdata, int *result) in ossl_method_construct_precondition() argument 63 if (!ossl_assert(result != NULL)) { in ossl_method_construct_precondition() 69 *result = 0; in ossl_method_construct_precondition() 73 && !ossl_provider_test_operation_bit(provider, operation_id, result)) in ossl_method_construct_precondition() 81 *result = !*result; in ossl_method_construct_precondition() 88 void *cbdata, int *result) in ossl_method_construct_postcondition() argument 90 if (!ossl_assert(result != NULL)) { in ossl_method_construct_postcondition() 95 *result = 1; in ossl_method_construct_postcondition()
|
H A D | o_time.c | 14 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result) in OPENSSL_gmtime() argument 37 memcpy(result, ts2, sizeof(struct tm)); in OPENSSL_gmtime() 38 ts = result; in OPENSSL_gmtime() 41 if (gmtime_r(timer, result) == NULL) in OPENSSL_gmtime() 43 ts = result; in OPENSSL_gmtime() 45 if (gmtime_s(result, timer)) in OPENSSL_gmtime() 47 ts = result; in OPENSSL_gmtime() 53 memcpy(result, ts, sizeof(struct tm)); in OPENSSL_gmtime() 54 ts = result; in OPENSSL_gmtime()
|
H A D | punycode.c | 257 int result = 1; in ossl_a2ulabel() local 275 result = 0; in ossl_a2ulabel() 280 result = -1; in ossl_a2ulabel() 289 result = -1; in ossl_a2ulabel() 294 result = 0; in ossl_a2ulabel() 302 result = 0; in ossl_a2ulabel() 308 result = 0; in ossl_a2ulabel() 311 return result; in ossl_a2ulabel()
|
/openssl/apps/lib/ |
H A D | opt.c | 284 *result = FORMAT_ASN1; in opt_format() 290 *result = FORMAT_TEXT; in opt_format() 298 *result = FORMAT_NSS; in opt_format() 530 *result = (int)l; in opt_int() 531 if (*result != l) { in opt_int() 542 int result = -1; in opt_int_arg() local 545 return result; in opt_int_arg() 588 *result = l; in opt_long() 661 *result = m; in opt_intmax() 671 *result = m; in opt_uintmax() [all …]
|
/openssl/doc/man3/ |
H A D | UI_STRING.pod | 36 int UI_set_result(UI *ui, UI_STRING *uis, const char *result); 66 retrieve the result of a prompt and its length. 72 prompt result with. 77 retrieve the minimum and maximum required size of the result. 83 result retrievable with UI_get0_result_string() by copying the 87 the result retrievable with UI_get0_result_string() to the first 89 if the B<result> matched any of them, or the first of the 111 UI_get0_result_string() returns the UI string result buffer for 115 UI_get_result_string_length() returns the UI string result buffer's 122 UI_get_result_minsize() returns the minimum allowed result size for [all …]
|
H A D | BN_add.pod | 50 BN_add() adds I<a> and I<b> and places the result in I<r> (C<r=a+b>). 60 BN_sqr() takes the square of I<a> and places the result in I<r> 64 BN_div() divides I<a> by I<d> and places the result in I<dv> and the 67 The result is rounded towards zero; thus if I<a> is negative, the 77 result in I<r>. 80 nonnegative result in I<r>. 90 result in I<r>. 94 prime, otherwise an error or an incorrect "result" will be returned. 95 The result is stored into I<in> which can be NULL. The result will be 114 Unless noted otherwise, the result B<BIGNUM> must be different from [all …]
|
/openssl/crypto/ui/ |
H A D | ui_openssl.c | 280 char result[BUFSIZ]; in read_string_inner() local 297 result[0] = '\0'; in read_string_inner() 315 result, sizeof(result), NULL, 0) > 0) in read_string_inner() 316 p = result; in read_string_inner() 325 result[numread-2] == '\r' && result[numread-1] == '\n') { in read_string_inner() 326 result[numread-2] = '\n'; in read_string_inner() 329 result[numread] = '\0'; in read_string_inner() 330 p = result; in read_string_inner() 339 p = fgets(result, maxsize, tty_in); in read_string_inner() 351 if (UI_set_result(ui, uis, result) >= 0) in read_string_inner() [all …]
|
/openssl/engines/ |
H A D | e_loader_attic.c | 1230 if (result != NULL in file_load_try_decode() 1243 if (result != NULL in file_load_try_decode() 1256 result = NULL; in file_load_try_decode() 1260 return result; in file_load_try_decode() 1271 result = in file_load_try_repeat() 1284 return result; in file_load_try_repeat() 1360 return result; in file_try_read_msblob() 1395 return result; in file_try_read_PVK() 1547 return result; in file_load() 1623 if (result != NULL in file_load() [all …]
|
/openssl/util/perl/OpenSSL/ |
H A D | config.pm | 260 my $result = get_sco_type($REL); 261 return eval "\"$result\"" if $result ne ''; 272 my $result = @$tuple[1]; 273 $result = $result->() if ref $result eq 'CODE'; 274 return eval "\"$result\""; 1003 my $result = @$tuple[1]; 1004 $result = $result->() if ref $result eq 'CODE'; 1005 return %$result;
|
/openssl/crypto/ts/ |
H A D | ts_lib.c | 22 int result = 0; in TS_ASN1_INTEGER_print_bio() local 29 result = BIO_write(bio, "0x", 2) > 0; in TS_ASN1_INTEGER_print_bio() 30 result = result && BIO_write(bio, hex, strlen(hex)) > 0; in TS_ASN1_INTEGER_print_bio() 35 return result; in TS_ASN1_INTEGER_print_bio()
|
/openssl/crypto/asn1/ |
H A D | a_type.c | 65 int result = -1; in ASN1_TYPE_cmp() local 72 result = OBJ_cmp(a->value.object, b->value.object); in ASN1_TYPE_cmp() 75 result = a->value.boolean - b->value.boolean; in ASN1_TYPE_cmp() 78 result = 0; /* They do not have content. */ in ASN1_TYPE_cmp() 101 result = ASN1_STRING_cmp((ASN1_STRING *)a->value.ptr, in ASN1_TYPE_cmp() 106 return result; in ASN1_TYPE_cmp()
|
/openssl/doc/designs/ddd/ |
H A D | ddd-03-fd-blocking.c | 141 struct addrinfo hints = {0}, *result = NULL; in main() 163 rc = getaddrinfo(argv[1], argv[2], &hints, &result); in main() 181 rc = connect(fd, result->ai_addr, result->ai_addrlen); in main() 214 if (result != NULL) in main() 215 freeaddrinfo(result); in main()
|