/openssl/crypto/bn/ |
H A D | rsaz_exp.c | 107 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 110 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 113 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 124 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 127 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 130 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 141 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 144 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 155 rsaz_1024_sqr_avx2(result, result, m, k0, 1); 158 rsaz_1024_sqr_avx2(result, result, m, k0, 1); [all …]
|
/openssl/test/ |
H A D | ssl_test.c | 39 if (!TEST_int_eq(result->result, test_ctx->expected_result)) { in check_result() 42 ssl_test_result_name(result->result)); in check_result() 108 if (!TEST_int_eq(result->client_protocol, result->server_protocol)) { in check_protocol() 220 if (!TEST_int_eq(result->client_resumed, result->server_resumed)) in check_resumption() 352 if (!TEST_ptr(result->cipher)) in check_cipher() 355 result->cipher)) in check_cipher() 368 ret &= check_result(result, test_ctx); in check_test() 370 if (result->result == SSL_TEST_SUCCESS) { in check_test() 403 HANDSHAKE_RESULT *result = NULL; in test_handshake() local 546 if (result != NULL) in test_handshake() [all …]
|
H A D | drbgtest.c | 296 int result; in compare_drbg_fork_result() local 303 if (result == 0) in compare_drbg_fork_result() 306 if (result == 0) in compare_drbg_fork_result() 309 return result; in compare_drbg_fork_result() 357 result[0].pid = pid; in test_drbg_reseed_in_child() 412 memset(&result, 0, sizeof(result)); in test_rand_reseed_on_fork() 442 result[0].pid = pid; in test_rand_reseed_on_fork() 443 result[0].private = 0; in test_rand_reseed_on_fork() 447 result[1].pid = pid; in test_rand_reseed_on_fork() 448 result[1].private = 1; in test_rand_reseed_on_fork() [all …]
|
H A D | cmp_vfy_test.c | 114 return result; in test_verify_popo() 123 return result; in test_verify_popo_bad() 168 return result; in test_validate_msg_mac_alg_protection() 190 return result; in test_validate_msg_mac_alg_protection_bad() 226 return result; in test_validate_msg_signature_partial_chain() 251 return result; in test_validate_msg_signature_srvcert_wrong() 266 return result; in test_validate_msg_signature_srvcert() 293 return result; in test_validate_msg_signature_sender_cert_untrusted() 308 return result; in test_validate_msg_signature_sender_cert_trusted() 322 return result; in test_validate_msg_signature_sender_cert_extracert() [all …]
|
H A D | cmp_msg_test.c | 161 return result; in test_cmp_create_ir_protection_set() 178 return result; in test_cmp_create_ir_protection_fails() 188 return result; in test_cmp_create_cr_without_key() 202 return result; in test_cmp_create_cr() 216 return result; in test_cmp_create_certreq_with_invalid_bodytype() 237 return result; in test_cmp_create_p10cr() 251 return result; in test_cmp_create_p10cr_null() 266 return result; in test_cmp_create_kur() 280 return result; in test_cmp_create_kur_without_oldcert() 294 return result; in test_cmp_create_certconf() [all …]
|
H A D | cmp_client_test.c | 131 return result; in test_exec_RR_ses() 144 return result; in test_exec_RR_ses_receive_error() 157 return result; in test_exec_IR_ses() 169 return result; in test_exec_IR_ses_poll() 184 return result; in test_exec_IR_ses_poll_timeout() 194 return result; in test_exec_CR_ses() 206 return result; in test_exec_CR_ses_implicit_confirm() 215 return result; in test_exec_KUR_ses() 232 return result; in test_exec_P10CR_ses() 261 return result; in test_try_certreq_poll() [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_protect_test.c | 154 return result; in test_cmp_calc_protection_no_key_no_secret() 167 return result; in test_cmp_calc_protection_pkey() 182 return result; in test_cmp_calc_protection_pbmac() 203 return result; in test_MSG_protect_unprotected_request() 228 return result; in test_MSG_protect_with_msg_sig_alg_protection_plus_rsa_key() 245 return result; in test_MSG_protect_with_certificate_and_key() 264 return result; in test_MSG_protect_certificate_based_without_cert() 277 return result; in test_MSG_protect_no_key_no_secret() 299 return result; in test_MSG_protect_pbmac_no_sender() 326 return result; in test_MSG_add_extraCerts() [all …]
|
/openssl/crypto/dso/ |
H A D | dso_win32.c | 216 result = OPENSSL_zalloc(sizeof(*result)); in win32_splitter() 217 if (result == NULL) { in win32_splitter() 291 if (!result->nodelen) in win32_splitter() 293 if (!result->devicelen) in win32_splitter() 295 if (!result->dirlen) in win32_splitter() 297 if (!result->filelen) in win32_splitter() 300 return result; in win32_splitter() 306 char *result = NULL; in win32_joiner() local 336 if (result == NULL) { in win32_joiner() 385 result[offset] = '\0'; in win32_joiner() [all …]
|
H A D | dso_lib.c | 255 char *result = NULL; in DSO_merge() local 263 result = dso->merger(dso, filespec1, filespec2); in DSO_merge() 265 result = dso->meth->dso_merger(dso, filespec1, filespec2); in DSO_merge() 267 return result; in DSO_merge() 272 char *result = NULL; in DSO_convert_filename() local 286 result = dso->name_converter(dso, filename); in DSO_convert_filename() 288 result = dso->meth->dso_name_converter(dso, filename); in DSO_convert_filename() 290 if (result == NULL) { in DSO_convert_filename() 291 result = OPENSSL_strdup(filename); in DSO_convert_filename() 292 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 | 95 int result = -1; in GENERAL_NAME_cmp() local 115 result = ASN1_STRING_cmp(a->d.ia5, b->d.ia5); in GENERAL_NAME_cmp() 119 result = X509_NAME_cmp(a->d.dirn, b->d.dirn); in GENERAL_NAME_cmp() 123 result = ASN1_OCTET_STRING_cmp(a->d.ip, b->d.ip); in GENERAL_NAME_cmp() 127 result = OBJ_cmp(a->d.rid, b->d.rid); in GENERAL_NAME_cmp() 130 return result; in GENERAL_NAME_cmp() 136 int result = -1; in OTHERNAME_cmp() local 141 if ((result = OBJ_cmp(a->type_id, b->type_id)) != 0) in OTHERNAME_cmp() 142 return result; in OTHERNAME_cmp() 144 result = ASN1_TYPE_cmp(a->value, b->value); in OTHERNAME_cmp() [all …]
|
/openssl/demos/signature/ |
H A D | EVP_Signature_demo.c | 73 int result = 0, public = 0; in demo_sign() local 139 result = 1; in demo_sign() 143 if (!result) in demo_sign() 147 return result; in demo_sign() 153 int result = 0, public = 1; in demo_verify() local 196 result = 1; in demo_verify() 202 return result; in demo_verify() 211 int result = 0; in main() local 226 result = 1; in main() 229 if (result != 1) in main() [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 | 259 int result = 1; in ossl_a2ulabel() local 263 result = 0; in ossl_a2ulabel() 273 result = 0; in ossl_a2ulabel() 275 if (result > 0) { in ossl_a2ulabel() 294 result = 0; in ossl_a2ulabel() 296 if (result > 0) { in ossl_a2ulabel() 307 result = 0; in ossl_a2ulabel() 317 return result; in ossl_a2ulabel()
|
/openssl/demos/digest/ |
H A D | EVP_MD_stdin.c | 37 int result = 0; in demonstrate_digest() local 106 result = 1; in demonstrate_digest() 113 if (result != 1) in demonstrate_digest() 121 return result; in demonstrate_digest() 126 int result = 1; in main() local 130 result = demonstrate_digest(input); in main() 133 return result; in main()
|
/openssl/apps/lib/ |
H A D | opt.c | 274 *result = FORMAT_ASN1; in opt_format() 280 *result = FORMAT_TEXT; in opt_format() 288 *result = FORMAT_NSS; in opt_format() 520 *result = (int)l; in opt_int() 521 if (*result != l) { in opt_int() 532 int result = -1; in opt_int_arg() local 535 return result; in opt_int_arg() 578 *result = l; in opt_long() 651 *result = m; in opt_intmax() 661 *result = m; in opt_uintmax() [all …]
|
/openssl/demos/pkey/ |
H A D | EVP_PKEY_EC_keygen.c | 87 int result = 0; in get_key_values() local 125 result = 1; in get_key_values() 129 return result; in get_key_values() 134 int result = 0; in main() local 148 result = 1; in main() 150 if (result != 1) in main() 154 return result == 0; in main()
|
/openssl/util/perl/OpenSSL/ |
H A D | config.pm | 247 my $result = get_sco_type($REL); 248 return eval "\"$result\"" if $result ne ''; 259 my $result = @$tuple[1]; 260 $result = $result->() if ref $result eq 'CODE'; 261 return eval "\"$result\""; 926 my $result = @$tuple[1]; 927 $result = $result->() if ref $result eq 'CODE'; 928 return %$result;
|
/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 …]
|
/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/doc/designs/ddd/ |
H A D | ddd-03-fd-blocking.c | 125 struct addrinfo hints = {0}, *result = NULL; in main() 139 rc = getaddrinfo("www.openssl.org", "443", &hints, &result); in main() 153 rc = connect(fd, result->ai_addr, result->ai_addrlen); in main() 185 if (result != NULL) in main() 186 freeaddrinfo(result); in main()
|
/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()
|