Home
last modified time | relevance | path

Searched refs:res (Results 51 – 75 of 194) sorted by relevance

12345678

/openssl/crypto/modes/
H A Dxts128.c72 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 Dmac.c59 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 Dcmp.c934 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 Dquic-hq-interop.c56 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 Dbio_dump.c32 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 Dstore_register.c33 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 Dcontext_internal_test.c54 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 Dtiming_load_creds.c27 # 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 Dpriority_queue_test.c57 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 Dcmp_status_test.c45 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 Dprovider_test.c273 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 Derrtest.c294 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 Duser_property_test.c91 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 Dsecmemtest.c141 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 Dmac_lib.c130 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 Dpvkkdf.c139 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 Dapps_ui.c166 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 Ddsa_gen.c29 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 Dparamnames.pm729 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 Drand_vxworks.c51 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 Dcmp_client.c456 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 D70-test_sslvertol.t129 my $res = undef;
132 $res = $_ if $_ < $term;
134 return $res;
H A D30-test_evp.t178 my $res = !run(app([@args], stderr => $opts{out}));
185 $res &&= $errline !~ m/asn1 encoding/;
192 return $res && $found;
/openssl/crypto/x509/
H A Dx_x509a.c128 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 Dbn_div.c268 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()

Completed in 78 milliseconds

12345678