Home
last modified time | relevance | path

Searched refs:e (Results 51 – 75 of 564) sorted by relevance

12345678910>>...23

/openssl/crypto/sm2/
H A Dsm2_sign.c149 BIGNUM *e = NULL; in sm2_compute_msg_hash() local
186 if (e == NULL) in sm2_compute_msg_hash()
193 return e; in sm2_compute_msg_hash()
400 if (e == NULL) { in ossl_sm2_do_sign()
408 BN_free(e); in ossl_sm2_do_sign()
423 if (e == NULL) { in ossl_sm2_do_verify()
431 BN_free(e); in ossl_sm2_do_verify()
445 if (e == NULL) { in ossl_sm2_internal_sign()
467 BN_free(e); in ossl_sm2_internal_sign()
499 if (e == NULL) { in ossl_sm2_internal_verify()
[all …]
/openssl/crypto/rsa/
H A Drsa_sp800_56b_gen.c96 if (!ossl_rsa_check_public_exponent(e)) { in ossl_rsa_fips186_4_gen_prob_primes()
258 BN_free(rsa->e); in ossl_rsa_sp800_56b_derive_params_from_pq()
259 rsa->e = BN_dup(e); in ossl_rsa_sp800_56b_derive_params_from_pq()
260 if (rsa->e == NULL) in ossl_rsa_sp800_56b_derive_params_from_pq()
315 BN_free(rsa->e); in ossl_rsa_sp800_56b_derive_params_from_pq()
316 rsa->e = NULL; in ossl_rsa_sp800_56b_derive_params_from_pq()
362 BIGNUM *e = NULL; in ossl_rsa_sp800_56b_generate_key() local
383 e = BN_new(); in ossl_rsa_sp800_56b_generate_key()
384 if (e == NULL || !BN_set_word(e, 65537)) in ossl_rsa_sp800_56b_generate_key()
387 e = (BIGNUM *)efixed; in ossl_rsa_sp800_56b_generate_key()
[all …]
H A Drsa_x931g.c28 const BIGNUM *Xq, const BIGNUM *e, BN_GENCB *cb) in RSA_X931_derive_ex() argument
49 if (!rsa->e) { in RSA_X931_derive_ex()
50 rsa->e = BN_dup(e); in RSA_X931_derive_ex()
51 if (!rsa->e) in RSA_X931_derive_ex()
54 e = rsa->e; in RSA_X931_derive_ex()
68 Xp, Xp1, Xp2, e, ctx, cb)) in RSA_X931_derive_ex()
77 Xq, Xq1, Xq2, e, ctx, cb)) in RSA_X931_derive_ex()
117 rsa->d = BN_mod_inverse(NULL, rsa->e, r0, ctx2); /* d */ in RSA_X931_derive_ex()
151 int RSA_X931_generate_key_ex(RSA *rsa, int bits, const BIGNUM *e, in RSA_X931_generate_key_ex() argument
178 e, ctx, cb)) in RSA_X931_generate_key_ex()
[all …]
H A Drsa_crpt.c118 BIGNUM *e; in RSA_setup_blinding() local
130 e = BN_CTX_get(ctx); in RSA_setup_blinding()
131 if (e == NULL) { in RSA_setup_blinding()
136 if (rsa->e == NULL) { in RSA_setup_blinding()
137 e = rsa_get_public_exp(rsa->d, rsa->p, rsa->q, ctx); in RSA_setup_blinding()
138 if (e == NULL) { in RSA_setup_blinding()
143 e = rsa->e; in RSA_setup_blinding()
155 ret = BN_BLINDING_create_param(NULL, e, n, ctx, rsa->meth->bn_mod_exp, in RSA_setup_blinding()
171 if (e != rsa->e) in RSA_setup_blinding()
172 BN_free(e); in RSA_setup_blinding()
H A Drsa_depr.c35 BIGNUM *e = BN_new(); in RSA_generate_key() local
37 if (cb == NULL || rsa == NULL || e == NULL) in RSA_generate_key()
46 if (BN_set_bit(e, i) == 0) in RSA_generate_key()
52 if (RSA_generate_key_ex(rsa, bits, e, cb)) { in RSA_generate_key()
53 BN_free(e); in RSA_generate_key()
58 BN_free(e); in RSA_generate_key()
H A Drsa_sp800_56b_check.c65 && BN_mod_mul(r, rsa->dmp1, rsa->e, p1, ctx) in ossl_rsa_check_crt_components()
68 && BN_mod_mul(r, rsa->dmq1, rsa->e, q1, ctx) in ossl_rsa_check_crt_components()
161 && BN_gcd(gcd, p1, e, ctx) in ossl_rsa_check_prime_factor()
225 int ossl_rsa_check_public_exponent(const BIGNUM *e) in ossl_rsa_check_public_exponent() argument
230 bitlen = BN_num_bits(e); in ossl_rsa_check_public_exponent()
234 return BN_is_odd(e) && BN_cmp(e, BN_value_one()) > 0; in ossl_rsa_check_public_exponent()
288 if (rsa->n == NULL || rsa->e == NULL)
307 if (!ossl_rsa_check_public_exponent(rsa->e)) {
377 || rsa->e == NULL
390 if (BN_cmp(efixed, rsa->e) != 0) {
[all …]
/openssl/crypto/engine/
H A Deng_rdrand.c52 static int rdrand_init(ENGINE *e) in rdrand_init() argument
60 static int bind_helper(ENGINE *e) in bind_helper() argument
62 if (!ENGINE_set_id(e, engine_e_rdrand_id) || in bind_helper()
63 !ENGINE_set_name(e, engine_e_rdrand_name) || in bind_helper()
64 !ENGINE_set_flags(e, ENGINE_FLAGS_NO_REGISTER_ALL) || in bind_helper()
65 !ENGINE_set_init_function(e, rdrand_init) || in bind_helper()
66 !ENGINE_set_RAND(e, &rdrand_meth)) in bind_helper()
H A Deng_openssl.c64 static int openssl_destroy(ENGINE *e);
95 static int bind_helper(ENGINE *e) in bind_helper() argument
97 if (!ENGINE_set_id(e, engine_openssl_id) in bind_helper()
98 || !ENGINE_set_name(e, engine_openssl_name) in bind_helper()
106 || !ENGINE_set_EC(e, EC_KEY_OpenSSL()) in bind_helper()
111 || !ENGINE_set_RAND(e, RAND_OpenSSL()) in bind_helper()
113 || !ENGINE_set_ciphers(e, openssl_ciphers) in bind_helper()
116 || !ENGINE_set_digests(e, openssl_digests) in bind_helper()
174 static int bind_fn(ENGINE *e, const char *id) in bind_fn() argument
178 if (!bind_helper(e)) in bind_fn()
[all …]
H A Deng_table.c84 ENGINE *e, const int *nids, int num_nids, in engine_table_register() argument
122 (void)sk_ENGINE_delete_ptr(fnd->sk, e); in engine_table_register()
126 if (!sk_ENGINE_push(fnd->sk, e)) in engine_table_register()
131 if (!engine_unlocked_init(e)) { in engine_table_register()
137 fnd->funct = e; in engine_table_register()
148 static void int_unregister_cb(ENGINE_PILE *pile, ENGINE *e) in int_unregister_cb() argument
152 while ((n = sk_ENGINE_find(pile->sk, e)) >= 0) { in int_unregister_cb()
156 if (pile->funct == e) { in int_unregister_cb()
157 engine_unlocked_finish(e, 0); in int_unregister_cb()
164 void engine_table_unregister(ENGINE_TABLE **table, ENGINE *e) in engine_table_unregister() argument
[all …]
/openssl/fuzz/corpora/conf/
H A D70ca810494c6344b1197a412d00bc984717069e52 .include . e .
13 .include ..de e .
27 .include ..de e .
45 .include e .
56 .include e .
92 .include a e .
100 .include e .
123 .include ..de e .
192 .include e .
206 .include e .
[all …]
H A Df5702a12f2196e569586392dcbfac01ea5edabee1 .include .e .
22 .include e .
26 �clu�e .
30 .include .e clude.
32 .include e .
38 .include e ..
78 .include e .
H A D577a82866ad38672e7263741ac9567eac70512801 .include . e .
12 .include e .
21 .include e .
42 .include e .
54 .include ..de e .
71 .e .ude .. ..
H A D83ff1e2d57e9cb11db59fc173802bfe6d6db7cf65 .include .coude .e ..
7 .include �.nclude e .>
15 .include .coude .e ..
19 .include e .lude ..
28 .e �.
H A D5f4cc360e084b4825ce44e99d4fd291d5aa8c68a166 e::=
170 e.::=
217 e::=
245 V::=e::=
338 X::=e::=
464 e::=
468 e.::=
904 e::=
1103 e::=
1189 &e::=
[all …]
H A Dbd11fc16f79daf724bc689717581cdbea86c2f6a6 e::=
10 .e=
15 e.::=
26 e=
H A De5f9ae1d591157e7a216552c8eaf19f8f507a13a6 e::=
10 .e=
15 e.::=
27 e=
/openssl/test/
H A Dafalgtest.c26 static ENGINE *e; variable
85 if (!TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 1)) in test_afalg_aes_cbc()
95 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, e, key, iv, 0)) in test_afalg_aes_cbc()
118 if (!TEST_true(ENGINE_init(e))) in test_pr16743()
120 cipher = ENGINE_get_cipher(e, NID_aes_128_cbc); in test_pr16743()
123 ret = EVP_EncryptInit_ex(ctx, cipher, e, NULL, NULL); in test_pr16743()
126 ENGINE_finish(e); in test_pr16743()
143 if ((e = ENGINE_by_id("afalg")) == NULL) { in setup_tests()
158 ENGINE_free(e); in cleanup_tests()
/openssl/crypto/ripemd/
H A Drmd_local.h64 #define RIP1(a,b,c,d,e,w,s) { \ argument
66 a=ROTATE(a,s)+e; \
69 #define RIP2(a,b,c,d,e,w,s,K) { \ argument
71 a=ROTATE(a,s)+e; \
74 #define RIP3(a,b,c,d,e,w,s,K) { \ argument
76 a=ROTATE(a,s)+e; \
79 #define RIP4(a,b,c,d,e,w,s,K) { \ argument
81 a=ROTATE(a,s)+e; \
84 #define RIP5(a,b,c,d,e,w,s,K) { \ argument
86 a=ROTATE(a,s)+e; \
/openssl/test/certs/
H A Dcyrillic.utf831 83:a5:5c:cd:5d:ea:29:3c:1a:d8:63:6b:c5:c5:3e:
43 31:92:d1:a9:5e:0e:fb:cc:1c:b7:2d:5e:e8:7e:69:3f:8c:7e:
44 c5:c9:e1:d0:70:c0:bf:5d:21:58:da:df:4e:cf:27:6a:1b:bc:
47 1e:6f:8c:4f:78:d0:ec:06:89:6f:2b:a8:92:05:d9:39:08:55:
49 22:7a:2e:81:ba:3c:e4:d4:f9:3f:f0:ce:a5:e2:3f:2f:c1:57:
52 e2:7b:9a:98:6e:33:b5:e4:ed:2f:2f:f9:59:28:3a:e6:fa:8d:
53 56:8a:cf:e0:b9:d6:4d:4c:43:8e:11:2f:9e:79:34:79:66:5e:
55 93:d0:05:c6:f6:36:2e:12:f8:11:91:d3:a1:fd:08:bf:5f:62:
56 c9:a5:a5:98:e4:8f:8b:57:1f:aa:fb:1e:38:0c:a9:cd:d1:30:
H A Dcyrillic.msb31 83:a5:5c:cd:5d:ea:29:3c:1a:d8:63:6b:c5:c5:3e:
43 31:92:d1:a9:5e:0e:fb:cc:1c:b7:2d:5e:e8:7e:69:3f:8c:7e:
44 c5:c9:e1:d0:70:c0:bf:5d:21:58:da:df:4e:cf:27:6a:1b:bc:
47 1e:6f:8c:4f:78:d0:ec:06:89:6f:2b:a8:92:05:d9:39:08:55:
49 22:7a:2e:81:ba:3c:e4:d4:f9:3f:f0:ce:a5:e2:3f:2f:c1:57:
52 e2:7b:9a:98:6e:33:b5:e4:ed:2f:2f:f9:59:28:3a:e6:fa:8d:
53 56:8a:cf:e0:b9:d6:4d:4c:43:8e:11:2f:9e:79:34:79:66:5e:
55 93:d0:05:c6:f6:36:2e:12:f8:11:91:d3:a1:fd:08:bf:5f:62:
56 c9:a5:a5:98:e4:8f:8b:57:1f:aa:fb:1e:38:0c:a9:cd:d1:30:
H A Dcyrillic_crl.utf815 98:d7:80:75:46:f6:cd:da:b5:0f:ff:9f:0c:b7:e6:aa:8e:f6:
17 f5:cb:40:49:5e:1a:ea:e6:40:b4:48:bc:8d:0e:c7:c6:51:37:
19 4b:d3:6d:99:61:b2:77:f3:0e:7c:f2:4e:0d:4f:70:96:54:77:
20 84:db:71:03:0b:6e:b8:a7:de:36:9a:50:c4:ed:e9:fa:33:22:
24 5a:49:70:b7:42:dd:e9:67:c0:48:7e:ff:e5:f3:59:70:a7:c0:
26 be:d6:af:24:4e:15:c8:3f:62:b1:f9:7e:3c:83:b5:44:da:8d:
/openssl/doc/man3/
H A DENGINE_add.pod58 int ENGINE_add(ENGINE *e);
63 int ENGINE_init(ENGINE *e);
359 ENGINE *e;
363 if (!e)
366 if (!ENGINE_init(e)) {
368 ENGINE_free(e);
380 ENGINE_finish(e);
382 ENGINE_free(e);
452 if (!e) return 0;
464 ENGINE_free(e);
[all …]
/openssl/crypto/sha/asm/
H A Dsha1-ppc.pl107 add $f,$K,$e
108 rotlwi $e,$a,5
111 add $f,$f,$e
118 add $f,$K,$e
124 add $f,$f,$e
138 add $f,$K,$e
148 add $f,$f,$e
152 add $f,$K,$e
163 add $f,$f,$e
172 add $f,$K,$e
[all …]
/openssl/test/recipes/30-test_evp_pkey_provided/
H A DED448.priv.txt3 6c:82:a5:62:cb:80:8d:10:d6:32:be:89:c8:51:3e:
4 bf:6c:92:9f:34:dd:fa:8c:9f:63:c9:96:0e:f6:e3:
5 48:a3:52:8c:8a:3f:cc:2f:04:4e:39:a3:fc:5b:94:
6 49:2f:8f:03:2e:75:49:a2:00:98:f9:5b
9 6a:1d:a1:34:24:85:a7:0e:1f:8a:0e:a7:5d:80:e9:
/openssl/apps/
H A Dgenpkey.c20 static int init_keygen_file(EVP_PKEY_CTX **pctx, const char *file, ENGINE *e,
64 ENGINE *e = NULL; in genpkey_main() local
103 e = setup_engine(opt_arg(), 0); in genpkey_main()
150 if (!init_keygen_file(&ctx, paramfile, e, libctx, app_get0_propq())) in genpkey_main()
234 release_engine(e); in genpkey_main()
240 static int init_keygen_file(EVP_PKEY_CTX **pctx, const char *file, ENGINE *e, in init_keygen_file() argument
265 if (e != NULL) in init_keygen_file()
266 ctx = EVP_PKEY_CTX_new(pkey, e); in init_keygen_file()
287 const char *algname, ENGINE *e, int do_param, in init_gen_str() argument
298 pkey_id = get_legacy_pkey_id(libctx, algname, e); in init_gen_str()
[all …]

Completed in 99 milliseconds

12345678910>>...23