/openssl/crypto/modes/ |
H A D | xts128.c | 72 unsigned int carry, res; in CRYPTO_xts128_encrypt() local 74 res = 0x87 & (((int)tweak.d[3]) >> 31); in CRYPTO_xts128_encrypt() 76 tweak.u[0] = (tweak.u[0] << 1) ^ res; in CRYPTO_xts128_encrypt() 111 unsigned int carry, res; in CRYPTO_xts128_encrypt() local 113 res = 0x87 & (((int)tweak.d[3]) >> 31); in CRYPTO_xts128_encrypt() 115 tweak1.u[0] = (tweak.u[0] << 1) ^ res; in CRYPTO_xts128_encrypt()
|
/openssl/apps/ |
H A D | mac.c | 59 char *res; in alloc_mac_algorithm_name() local 66 res = app_malloc(len, "algorithm name"); in alloc_mac_algorithm_name() 67 BIO_snprintf(res, len, "%s:%s", name, arg); in alloc_mac_algorithm_name() 68 if (sk_OPENSSL_STRING_push(*optp, res)) in alloc_mac_algorithm_name() 69 return res; in alloc_mac_algorithm_name() 70 OPENSSL_free(res); in alloc_mac_algorithm_name()
|
H A D | cmp.c | 934 return res; in read_write_req_resp() 1137 int res; in setup_srv_ctx() local 1517 int res; in setup_protection_ctx() local 1621 int res = 0; in set_fallback_pubkey() local 1649 res = 1; in set_fallback_pubkey() 1653 return res; in set_fallback_pubkey() 2378 int res = 0; in save_crl() local 2396 res = 1; in save_crl() 2400 return res; in save_crl() 2570 return res; in conf_get_string() [all …]
|
/openssl/demos/guide/ |
H A D | quic-hq-interop.c | 56 static int handle_io_failure(SSL *ssl, int res); 118 BIO_ADDRINFO *res; in create_socket_bio() local 126 &res)) in create_socket_bio() 133 for (ai = res; ai != NULL; ai = BIO_ADDRINFO_next(ai)) { in create_socket_bio() 175 BIO_ADDRINFO_free(res); in create_socket_bio() 297 static int handle_io_failure(SSL *ssl, int res) in handle_io_failure() argument 299 switch (SSL_get_error(ssl, res)) { in handle_io_failure() 930 int res = EXIT_FAILURE; in main() local 1097 res = EXIT_SUCCESS; in main() 1104 if (res == EXIT_FAILURE) in main() [all …]
|
/openssl/crypto/bio/ |
H A D | bio_dump.c | 32 int res, ret = 0; in BIO_dump_indent_cb() local 89 res = cb((void *)buf, n, u); in BIO_dump_indent_cb() 90 if (res < 0) in BIO_dump_indent_cb() 91 return res; in BIO_dump_indent_cb() 92 ret += res; in BIO_dump_indent_cb()
|
/openssl/crypto/store/ |
H A D | store_register.c | 33 OSSL_STORE_LOADER *res = NULL; in OSSL_STORE_LOADER_new() local 46 if ((res = OPENSSL_zalloc(sizeof(*res))) == NULL) in OSSL_STORE_LOADER_new() 49 res->engine = e; in OSSL_STORE_LOADER_new() 50 res->scheme = scheme; in OSSL_STORE_LOADER_new() 51 return res; in OSSL_STORE_LOADER_new()
|
/openssl/test/ |
H A D | context_internal_test.c | 54 int res = 0; in test_set_get_conf_diagnostics() local 72 res = 1; in test_set_get_conf_diagnostics() 75 return res; in test_set_get_conf_diagnostics()
|
H A D | timing_load_creds.c | 27 # define timersub(a, b, res) \ argument 29 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 31 (res)->tv_usec = (a)->tv_usec + 1000000 - (b)->tv_usec; \ 32 --(res)->tv_sec; \ 34 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
|
H A D | priority_queue_test.c | 57 int i, res = 0; in test_size_t_priority_queue_int() local 123 res = 1; in test_size_t_priority_queue_int() 126 return res; in test_size_t_priority_queue_int() 184 int res = 0; in test_22644() local 241 res = 1; in test_22644() 245 return res; in test_22644()
|
H A D | cmp_status_test.c | 45 int res = 0, i; in execute_PKISI_test() local 72 res = 1; in execute_PKISI_test() 76 return res; in execute_PKISI_test()
|
H A D | provider_test.c | 273 int res = 0; in test_loaded_provider() local 279 res = test_provider(&libctx, name, NULL); in test_loaded_provider() 286 res = res && test_provider_ex(&libctx, name); in test_loaded_provider() 288 return res; in test_loaded_provider()
|
H A D | errtest.c | 294 int res = 0; in test_clear_error() local 331 res = 1; in test_clear_error() 334 return res; in test_clear_error() 345 int res = 0, i, flags = -1; in test_save_restore() local 422 res = 1; in test_save_restore() 425 return res; in test_save_restore()
|
H A D | user_property_test.c | 91 int res = 0; in test_default_props_and_providers() local 120 res = 1; in test_default_props_and_providers() 125 return res; in test_default_props_and_providers()
|
H A D | secmemtest.c | 141 int i, res = 0; in test_sec_mem_clear() local 167 res = 1; in test_sec_mem_clear() 172 return res; in test_sec_mem_clear()
|
/openssl/crypto/evp/ |
H A D | mac_lib.c | 130 int res; in evp_mac_final() local 165 res = ctx->meth->final(ctx->algctx, out, &l, outsize); in evp_mac_final() 168 return res; in evp_mac_final() 250 unsigned char *res = NULL; in EVP_Q_mac() local 291 res = out; in EVP_Q_mac() 292 if (res != NULL && outlen != NULL) in EVP_Q_mac() 299 return res; in EVP_Q_mac()
|
/openssl/providers/implementations/kdfs/ |
H A D | pvkkdf.c | 139 int res; in kdf_pvk_derive() local 159 res = EVP_MD_get_size(md); in kdf_pvk_derive() 160 if (res <= 0) { in kdf_pvk_derive() 164 if ((size_t)res > keylen) { in kdf_pvk_derive() 170 res = mctx != NULL in kdf_pvk_derive() 176 return res; in kdf_pvk_derive()
|
/openssl/apps/lib/ |
H A D | apps_ui.c | 166 int res = 0; in password_callback() local 208 res = strlen(buf); in password_callback() 213 res = 0; in password_callback() 218 res = 0; in password_callback() 222 return res; in password_callback()
|
/openssl/crypto/dsa/ |
H A D | dsa_gen.c | 29 int ret = 0, res; in ossl_dsa_generate_ffc_parameters() local 35 pbits, qbits, &res, cb); in ossl_dsa_generate_ffc_parameters() 40 pbits, qbits, &res, cb); in ossl_dsa_generate_ffc_parameters()
|
/openssl/util/perl/OpenSSL/ |
H A D | paramnames.pm | 729 my ($res, $suffix, $name) = locate_long_endings($trieref->{$names[0]}); 731 if ($res) { 735 return $res, $e, $name; 740 my ($res, $suffix, $name) = locate_long_endings($trieref->{$l});
|
/openssl/providers/implementations/rands/seeding/ |
H A D | rand_vxworks.c | 51 uint64_t res = OPENSSL_rdtsc(); in get_timer_bits() local 54 if (res != 0) in get_timer_bits() 55 return res; in get_timer_bits()
|
/openssl/crypto/cmp/ |
H A D | cmp_client.c | 456 int res = 0; in ossl_cmp_exchange_certConf() local 469 return res; in ossl_cmp_exchange_certConf() 479 int res = 0; in ossl_cmp_exchange_error() local 488 res = send_receive_also_delayed(ctx, error, in ossl_cmp_exchange_error() 495 return res; in ossl_cmp_exchange_error() 801 int res; in initial_certreq() local 814 return res; in initial_certreq() 824 int res = 0; in OSSL_CMP_try_certreq() local 843 if (res <= 0) /* waiting or error */ in OSSL_CMP_try_certreq() 844 return res; in OSSL_CMP_try_certreq() [all …]
|
/openssl/test/recipes/ |
H A D | 70-test_sslvertol.t | 129 my $res = undef; 132 $res = $_ if $_ < $term; 134 return $res;
|
H A D | 30-test_evp.t | 178 my $res = !run(app([@args], stderr => $opts{out})); 185 $res &&= $errline !~ m/asn1 encoding/; 192 return $res && $found;
|
/openssl/crypto/x509/ |
H A D | x_x509a.c | 128 int res = 0; in X509_add1_reject_object() local 138 res = 1; in X509_add1_reject_object() 141 if (!res) in X509_add1_reject_object() 143 return res; in X509_add1_reject_object()
|
/openssl/crypto/bn/ |
H A D | bn_div.c | 268 BIGNUM *tmp, *snum, *sdiv, *res; in bn_div_fixed_top() local 281 res = (dv == NULL) ? BN_CTX_get(ctx) : dv; in bn_div_fixed_top() 327 if (!bn_wexpand(res, loop)) in bn_div_fixed_top() 330 res->neg = (num_neg ^ divisor->neg); in bn_div_fixed_top() 331 res->top = loop; in bn_div_fixed_top() 332 res->flags |= BN_FLG_FIXED_TOP; in bn_div_fixed_top() 333 resp = &(res->d[loop]); in bn_div_fixed_top()
|