Home
last modified time | relevance | path

Searched refs:rsa (Results 1 – 25 of 678) sorted by relevance

12345678910>>...28

/third_party/node/deps/openssl/openssl/crypto/rsa/
Drsa_ossl.c22 unsigned char *to, RSA *rsa, int padding);
24 unsigned char *to, RSA *rsa, int padding);
26 unsigned char *to, RSA *rsa, int padding);
28 unsigned char *to, RSA *rsa, int padding);
29 static int rsa_ossl_mod_exp(BIGNUM *r0, const BIGNUM *i, RSA *rsa,
31 static int rsa_ossl_init(RSA *rsa);
32 static int rsa_ossl_finish(RSA *rsa);
75 unsigned char *to, RSA *rsa, int padding) in rsa_ossl_public_encrypt() argument
82 if (BN_num_bits(rsa->n) > OPENSSL_RSA_MAX_MODULUS_BITS) { in rsa_ossl_public_encrypt()
87 if (BN_ucmp(rsa->n, rsa->e) <= 0) { in rsa_ossl_public_encrypt()
[all …]
Drsa_sp800_56b_gen.c57 int ossl_rsa_fips186_4_gen_prob_primes(RSA *rsa, RSA_ACVP_TEST *test, in ossl_rsa_fips186_4_gen_prob_primes() argument
115 if (rsa->p == NULL) in ossl_rsa_fips186_4_gen_prob_primes()
116 rsa->p = BN_secure_new(); in ossl_rsa_fips186_4_gen_prob_primes()
117 if (rsa->q == NULL) in ossl_rsa_fips186_4_gen_prob_primes()
118 rsa->q = BN_secure_new(); in ossl_rsa_fips186_4_gen_prob_primes()
119 if (rsa->p == NULL || rsa->q == NULL) in ossl_rsa_fips186_4_gen_prob_primes()
121 BN_set_flags(rsa->p, BN_FLG_CONSTTIME); in ossl_rsa_fips186_4_gen_prob_primes()
122 BN_set_flags(rsa->q, BN_FLG_CONSTTIME); in ossl_rsa_fips186_4_gen_prob_primes()
125 if (!ossl_bn_rsa_fips186_4_gen_prob_primes(rsa->p, Xpo, p1, p2, Xp, Xp1, Xp2, in ossl_rsa_fips186_4_gen_prob_primes()
130 if (!ossl_bn_rsa_fips186_4_gen_prob_primes(rsa->q, Xqo, q1, q2, Xq, Xq1, in ossl_rsa_fips186_4_gen_prob_primes()
[all …]
Drsa_gen.c30 static int rsa_keygen_pairwise_test(RSA *rsa, OSSL_CALLBACK *cb, void *cbarg);
31 static int rsa_keygen(OSSL_LIB_CTX *libctx, RSA *rsa, int bits, int primes,
41 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) in RSA_generate_key_ex() argument
43 if (rsa->meth->rsa_keygen != NULL) in RSA_generate_key_ex()
44 return rsa->meth->rsa_keygen(rsa, bits, e_value, cb); in RSA_generate_key_ex()
46 return RSA_generate_multi_prime_key(rsa, bits, RSA_DEFAULT_PRIME_NUM, in RSA_generate_key_ex()
50 int RSA_generate_multi_prime_key(RSA *rsa, int bits, int primes, in RSA_generate_multi_prime_key() argument
55 if (rsa->meth->rsa_multi_prime_keygen != NULL) { in RSA_generate_multi_prime_key()
56 return rsa->meth->rsa_multi_prime_keygen(rsa, bits, primes, in RSA_generate_multi_prime_key()
58 } else if (rsa->meth->rsa_keygen != NULL) { in RSA_generate_multi_prime_key()
[all …]
Drsa_x931g.c25 int RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2, BIGNUM *q1, in RSA_X931_derive_ex() argument
34 if (!rsa) in RSA_X931_derive_ex()
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()
62 if (Xp && rsa->p == NULL) { in RSA_X931_derive_ex()
63 rsa->p = BN_new(); in RSA_X931_derive_ex()
64 if (rsa->p == NULL) in RSA_X931_derive_ex()
67 if (!BN_X931_derive_prime_ex(rsa->p, p1, p2, in RSA_X931_derive_ex()
[all …]
Drsa_sp800_56b_check.c24 int ossl_rsa_check_crt_components(const RSA *rsa, BN_CTX *ctx) in ossl_rsa_check_crt_components() argument
30 if (rsa->dmp1 == NULL || rsa->dmq1 == NULL || rsa->iqmp == NULL) { in ossl_rsa_check_crt_components()
31 if (rsa->dmp1 != NULL || rsa->dmq1 != NULL || rsa->iqmp != NULL) in ossl_rsa_check_crt_components()
50 && (BN_copy(p1, rsa->p) != NULL) in ossl_rsa_check_crt_components()
53 && (BN_copy(q1, rsa->q) != NULL) in ossl_rsa_check_crt_components()
56 && (BN_cmp(rsa->dmp1, BN_value_one()) > 0) in ossl_rsa_check_crt_components()
57 && (BN_cmp(rsa->dmp1, p1) < 0) in ossl_rsa_check_crt_components()
59 && (BN_cmp(rsa->dmq1, BN_value_one()) > 0) in ossl_rsa_check_crt_components()
60 && (BN_cmp(rsa->dmq1, q1) < 0) in ossl_rsa_check_crt_components()
62 && (BN_cmp(rsa->iqmp, BN_value_one()) > 0) in ossl_rsa_check_crt_components()
[all …]
Drsa_crpt.c34 RSA *rsa, int padding) in RSA_public_encrypt() argument
36 return rsa->meth->rsa_pub_enc(flen, from, to, rsa, padding); in RSA_public_encrypt()
40 unsigned char *to, RSA *rsa, int padding) in RSA_private_encrypt() argument
42 return rsa->meth->rsa_priv_enc(flen, from, to, rsa, padding); in RSA_private_encrypt()
46 unsigned char *to, RSA *rsa, int padding) in RSA_private_decrypt() argument
48 return rsa->meth->rsa_priv_dec(flen, from, to, rsa, padding); in RSA_private_decrypt()
52 RSA *rsa, int padding) in RSA_public_decrypt() argument
54 return rsa->meth->rsa_pub_dec(flen, from, to, rsa, padding); in RSA_public_decrypt()
62 void RSA_blinding_off(RSA *rsa) in RSA_blinding_off() argument
64 BN_BLINDING_free(rsa->blinding); in RSA_blinding_off()
[all …]
Drsa_backend.c64 int ossl_rsa_fromdata(RSA *rsa, const OSSL_PARAM params[], int include_private) in ossl_rsa_fromdata() argument
71 if (rsa == NULL) in ossl_rsa_fromdata()
86 if (!RSA_set0_key(rsa, n, e, d)) in ossl_rsa_fromdata()
101 && !ossl_rsa_set0_all_params(rsa, factors, exps, coeffs)) in ossl_rsa_fromdata()
123 int ossl_rsa_todata(RSA *rsa, OSSL_PARAM_BLD *bld, OSSL_PARAM params[], in DEFINE_SPECIAL_STACK_OF_CONST()
132 if (rsa == NULL || factors == NULL || exps == NULL || coeffs == NULL) in DEFINE_SPECIAL_STACK_OF_CONST()
135 RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); in DEFINE_SPECIAL_STACK_OF_CONST()
136 ossl_rsa_get0_all_params(rsa, factors, exps, coeffs); in DEFINE_SPECIAL_STACK_OF_CONST()
161 ossl_rsa_acvp_test_get_params(rsa, params); in DEFINE_SPECIAL_STACK_OF_CONST()
319 int ossl_rsa_is_foreign(const RSA *rsa) in ossl_rsa_is_foreign() argument
[all …]
Drsa_ameth.c32 const RSA *rsa = pkey->pkey.rsa; in rsa_param_encode() local
36 if (RSA_test_flags(rsa, RSA_FLAG_TYPE_MASK) != RSA_FLAG_TYPE_RSASSAPSS) { in rsa_param_encode()
41 if (rsa->pss == NULL) { in rsa_param_encode()
46 if (ASN1_item_pack(rsa->pss, ASN1_ITEM_rptr(RSA_PSS_PARAMS), pstr) == NULL) in rsa_param_encode()
62 penclen = i2d_RSAPublicKey(pkey->pkey.rsa, &penc); in rsa_pub_encode()
81 RSA *rsa = NULL; in rsa_pub_decode() local
85 if ((rsa = d2i_RSAPublicKey(NULL, &p, pklen)) == NULL) in rsa_pub_decode()
87 if (!ossl_rsa_param_decode(rsa, alg)) { in rsa_pub_decode()
88 RSA_free(rsa); in rsa_pub_decode()
92 RSA_clear_flags(rsa, RSA_FLAG_TYPE_MASK); in rsa_pub_decode()
[all …]
/third_party/openssl/crypto/rsa/
Drsa_ossl.c22 unsigned char *to, RSA *rsa, int padding);
24 unsigned char *to, RSA *rsa, int padding);
26 unsigned char *to, RSA *rsa, int padding);
28 unsigned char *to, RSA *rsa, int padding);
29 static int rsa_ossl_mod_exp(BIGNUM *r0, const BIGNUM *i, RSA *rsa,
31 static int rsa_ossl_init(RSA *rsa);
32 static int rsa_ossl_finish(RSA *rsa);
75 unsigned char *to, RSA *rsa, int padding) in rsa_ossl_public_encrypt() argument
82 if (BN_num_bits(rsa->n) > OPENSSL_RSA_MAX_MODULUS_BITS) { in rsa_ossl_public_encrypt()
87 if (BN_ucmp(rsa->n, rsa->e) <= 0) { in rsa_ossl_public_encrypt()
[all …]
Drsa_sp800_56b_gen.c57 int ossl_rsa_fips186_4_gen_prob_primes(RSA *rsa, RSA_ACVP_TEST *test, in ossl_rsa_fips186_4_gen_prob_primes() argument
115 if (rsa->p == NULL) in ossl_rsa_fips186_4_gen_prob_primes()
116 rsa->p = BN_secure_new(); in ossl_rsa_fips186_4_gen_prob_primes()
117 if (rsa->q == NULL) in ossl_rsa_fips186_4_gen_prob_primes()
118 rsa->q = BN_secure_new(); in ossl_rsa_fips186_4_gen_prob_primes()
119 if (rsa->p == NULL || rsa->q == NULL) in ossl_rsa_fips186_4_gen_prob_primes()
121 BN_set_flags(rsa->p, BN_FLG_CONSTTIME); in ossl_rsa_fips186_4_gen_prob_primes()
122 BN_set_flags(rsa->q, BN_FLG_CONSTTIME); in ossl_rsa_fips186_4_gen_prob_primes()
125 if (!ossl_bn_rsa_fips186_4_gen_prob_primes(rsa->p, Xpo, p1, p2, Xp, Xp1, Xp2, in ossl_rsa_fips186_4_gen_prob_primes()
130 if (!ossl_bn_rsa_fips186_4_gen_prob_primes(rsa->q, Xqo, q1, q2, Xq, Xq1, in ossl_rsa_fips186_4_gen_prob_primes()
[all …]
Drsa_gen.c30 static int rsa_keygen_pairwise_test(RSA *rsa, OSSL_CALLBACK *cb, void *cbarg);
31 static int rsa_keygen(OSSL_LIB_CTX *libctx, RSA *rsa, int bits, int primes,
41 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) in RSA_generate_key_ex() argument
43 if (rsa->meth->rsa_keygen != NULL) in RSA_generate_key_ex()
44 return rsa->meth->rsa_keygen(rsa, bits, e_value, cb); in RSA_generate_key_ex()
46 return RSA_generate_multi_prime_key(rsa, bits, RSA_DEFAULT_PRIME_NUM, in RSA_generate_key_ex()
50 int RSA_generate_multi_prime_key(RSA *rsa, int bits, int primes, in RSA_generate_multi_prime_key() argument
55 if (rsa->meth->rsa_multi_prime_keygen != NULL) { in RSA_generate_multi_prime_key()
56 return rsa->meth->rsa_multi_prime_keygen(rsa, bits, primes, in RSA_generate_multi_prime_key()
58 } else if (rsa->meth->rsa_keygen != NULL) { in RSA_generate_multi_prime_key()
[all …]
Drsa_x931g.c25 int RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2, BIGNUM *q1, in RSA_X931_derive_ex() argument
34 if (!rsa) in RSA_X931_derive_ex()
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()
62 if (Xp && rsa->p == NULL) { in RSA_X931_derive_ex()
63 rsa->p = BN_new(); in RSA_X931_derive_ex()
64 if (rsa->p == NULL) in RSA_X931_derive_ex()
67 if (!BN_X931_derive_prime_ex(rsa->p, p1, p2, in RSA_X931_derive_ex()
[all …]
Drsa_sp800_56b_check.c24 int ossl_rsa_check_crt_components(const RSA *rsa, BN_CTX *ctx) in ossl_rsa_check_crt_components() argument
30 if (rsa->dmp1 == NULL || rsa->dmq1 == NULL || rsa->iqmp == NULL) { in ossl_rsa_check_crt_components()
31 if (rsa->dmp1 != NULL || rsa->dmq1 != NULL || rsa->iqmp != NULL) in ossl_rsa_check_crt_components()
50 && (BN_copy(p1, rsa->p) != NULL) in ossl_rsa_check_crt_components()
53 && (BN_copy(q1, rsa->q) != NULL) in ossl_rsa_check_crt_components()
56 && (BN_cmp(rsa->dmp1, BN_value_one()) > 0) in ossl_rsa_check_crt_components()
57 && (BN_cmp(rsa->dmp1, p1) < 0) in ossl_rsa_check_crt_components()
59 && (BN_cmp(rsa->dmq1, BN_value_one()) > 0) in ossl_rsa_check_crt_components()
60 && (BN_cmp(rsa->dmq1, q1) < 0) in ossl_rsa_check_crt_components()
62 && (BN_cmp(rsa->iqmp, BN_value_one()) > 0) in ossl_rsa_check_crt_components()
[all …]
Drsa_crpt.c34 RSA *rsa, int padding) in RSA_public_encrypt() argument
36 return rsa->meth->rsa_pub_enc(flen, from, to, rsa, padding); in RSA_public_encrypt()
40 unsigned char *to, RSA *rsa, int padding) in RSA_private_encrypt() argument
42 return rsa->meth->rsa_priv_enc(flen, from, to, rsa, padding); in RSA_private_encrypt()
46 unsigned char *to, RSA *rsa, int padding) in RSA_private_decrypt() argument
48 return rsa->meth->rsa_priv_dec(flen, from, to, rsa, padding); in RSA_private_decrypt()
52 RSA *rsa, int padding) in RSA_public_decrypt() argument
54 return rsa->meth->rsa_pub_dec(flen, from, to, rsa, padding); in RSA_public_decrypt()
62 void RSA_blinding_off(RSA *rsa) in RSA_blinding_off() argument
64 BN_BLINDING_free(rsa->blinding); in RSA_blinding_off()
[all …]
Drsa_backend.c64 int ossl_rsa_fromdata(RSA *rsa, const OSSL_PARAM params[], int include_private) in ossl_rsa_fromdata() argument
71 if (rsa == NULL) in ossl_rsa_fromdata()
86 if (!RSA_set0_key(rsa, n, e, d)) in ossl_rsa_fromdata()
101 && !ossl_rsa_set0_all_params(rsa, factors, exps, coeffs)) in ossl_rsa_fromdata()
123 int ossl_rsa_todata(RSA *rsa, OSSL_PARAM_BLD *bld, OSSL_PARAM params[], in DEFINE_SPECIAL_STACK_OF_CONST()
132 if (rsa == NULL || factors == NULL || exps == NULL || coeffs == NULL) in DEFINE_SPECIAL_STACK_OF_CONST()
135 RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); in DEFINE_SPECIAL_STACK_OF_CONST()
136 ossl_rsa_get0_all_params(rsa, factors, exps, coeffs); in DEFINE_SPECIAL_STACK_OF_CONST()
173 ossl_rsa_acvp_test_get_params(rsa, params); in DEFINE_SPECIAL_STACK_OF_CONST()
331 int ossl_rsa_is_foreign(const RSA *rsa) in ossl_rsa_is_foreign() argument
[all …]
Drsa_ameth.c32 const RSA *rsa = pkey->pkey.rsa; in rsa_param_encode() local
36 if (RSA_test_flags(rsa, RSA_FLAG_TYPE_MASK) != RSA_FLAG_TYPE_RSASSAPSS) { in rsa_param_encode()
41 if (rsa->pss == NULL) { in rsa_param_encode()
46 if (ASN1_item_pack(rsa->pss, ASN1_ITEM_rptr(RSA_PSS_PARAMS), pstr) == NULL) in rsa_param_encode()
62 penclen = i2d_RSAPublicKey(pkey->pkey.rsa, &penc); in rsa_pub_encode()
78 RSA *rsa = NULL; in rsa_pub_decode() local
82 if ((rsa = d2i_RSAPublicKey(NULL, &p, pklen)) == NULL) in rsa_pub_decode()
84 if (!ossl_rsa_param_decode(rsa, alg)) { in rsa_pub_decode()
85 RSA_free(rsa); in rsa_pub_decode()
89 RSA_clear_flags(rsa, RSA_FLAG_TYPE_MASK); in rsa_pub_decode()
[all …]
/third_party/openssl/ssl/
Dssl_rsa_legacy.c17 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa) in SSL_use_RSAPrivateKey() argument
22 if (rsa == NULL) { in SSL_use_RSAPrivateKey()
31 RSA_up_ref(rsa); in SSL_use_RSAPrivateKey()
32 if (EVP_PKEY_assign_RSA(pkey, rsa) <= 0) { in SSL_use_RSAPrivateKey()
33 RSA_free(rsa); in SSL_use_RSAPrivateKey()
47 RSA *rsa = NULL; in SSL_use_RSAPrivateKey_file() local
61 rsa = d2i_RSAPrivateKey_bio(in, NULL); in SSL_use_RSAPrivateKey_file()
64 rsa = PEM_read_bio_RSAPrivateKey(in, NULL, in SSL_use_RSAPrivateKey_file()
71 if (rsa == NULL) { in SSL_use_RSAPrivateKey_file()
75 ret = SSL_use_RSAPrivateKey(ssl, rsa); in SSL_use_RSAPrivateKey_file()
[all …]
/third_party/node/deps/openssl/openssl/ssl/
Dssl_rsa_legacy.c17 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa) in SSL_use_RSAPrivateKey() argument
22 if (rsa == NULL) { in SSL_use_RSAPrivateKey()
31 RSA_up_ref(rsa); in SSL_use_RSAPrivateKey()
32 if (EVP_PKEY_assign_RSA(pkey, rsa) <= 0) { in SSL_use_RSAPrivateKey()
33 RSA_free(rsa); in SSL_use_RSAPrivateKey()
47 RSA *rsa = NULL; in SSL_use_RSAPrivateKey_file() local
61 rsa = d2i_RSAPrivateKey_bio(in, NULL); in SSL_use_RSAPrivateKey_file()
64 rsa = PEM_read_bio_RSAPrivateKey(in, NULL, in SSL_use_RSAPrivateKey_file()
71 if (rsa == NULL) { in SSL_use_RSAPrivateKey_file()
75 ret = SSL_use_RSAPrivateKey(ssl, rsa); in SSL_use_RSAPrivateKey_file()
[all …]
/third_party/mbedtls/library/
Dpsa_crypto_rsa.c55 const mbedtls_rsa_context *rsa) in psa_check_rsa_key_byte_aligned() argument
61 mbedtls_rsa_export(rsa, &n, NULL, NULL, NULL, NULL)); in psa_check_rsa_key_byte_aligned()
139 mbedtls_rsa_context *rsa = NULL; in mbedtls_psa_rsa_import_key() local
145 &rsa); in mbedtls_psa_rsa_import_key()
150 *bits = (psa_key_bits_t) PSA_BYTES_TO_BITS(mbedtls_rsa_get_len(rsa)); in mbedtls_psa_rsa_import_key()
157 rsa, in mbedtls_psa_rsa_import_key()
163 mbedtls_rsa_free(rsa); in mbedtls_psa_rsa_import_key()
164 mbedtls_free(rsa); in mbedtls_psa_rsa_import_key()
170 mbedtls_rsa_context *rsa, in mbedtls_psa_rsa_export_key() argument
181 pk.pk_ctx = rsa; in mbedtls_psa_rsa_export_key()
[all …]
/third_party/openssl/ohos_lite/include/openssl/
Drsa.h200 int RSA_bits(const RSA *rsa);
201 int RSA_size(const RSA *rsa);
202 int RSA_security_bits(const RSA *rsa);
240 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
242 int RSA_generate_multi_prime_key(RSA *rsa, int bits, int primes,
245 int RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2, BIGNUM *q1,
249 int RSA_X931_generate_key_ex(RSA *rsa, int bits, const BIGNUM *e,
256 unsigned char *to, RSA *rsa, int padding);
258 unsigned char *to, RSA *rsa, int padding);
260 unsigned char *to, RSA *rsa, int padding);
[all …]
/third_party/libwebsockets/lib/tls/openssl/
Dlws-genrsa.c45 rsa_pkey_wrap(struct lws_genrsa_ctx *ctx, RSA *rsa) in rsa_pkey_wrap() argument
57 if (EVP_PKEY_assign_RSA(pkey, rsa) != 1) { in rsa_pkey_wrap()
109 ctx->rsa = RSA_new(); in lws_genrsa_create()
110 if (!ctx->rsa) { in lws_genrsa_create()
116 if (RSA_set0_key(ctx->rsa, ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_N], in lws_genrsa_create()
122 RSA_set0_factors(ctx->rsa, ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_P], in lws_genrsa_create()
125 ctx->rsa->e = ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_E]; in lws_genrsa_create()
126 ctx->rsa->n = ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_N]; in lws_genrsa_create()
127 ctx->rsa->d = ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_D]; in lws_genrsa_create()
128 ctx->rsa->p = ctx->bn[LWS_GENCRYPTO_RSA_KEYEL_P]; in lws_genrsa_create()
[all …]
/third_party/openssl/include/openssl/
Drsa.h203 OSSL_DEPRECATEDIN_3_0 int RSA_bits(const RSA *rsa);
204 OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
205 OSSL_DEPRECATEDIN_3_0 int RSA_security_bits(const RSA *rsa);
260 OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
263 OSSL_DEPRECATEDIN_3_0 int RSA_generate_multi_prime_key(RSA *rsa, int bits,
268 int RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2,
274 OSSL_DEPRECATEDIN_3_0 int RSA_X931_generate_key_ex(RSA *rsa, int bits,
283 RSA *rsa, int padding);
286 RSA *rsa, int padding);
289 RSA *rsa, int padding);
[all …]
/third_party/node/deps/openssl/openssl/include/openssl/
Drsa.h203 OSSL_DEPRECATEDIN_3_0 int RSA_bits(const RSA *rsa);
204 OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
205 OSSL_DEPRECATEDIN_3_0 int RSA_security_bits(const RSA *rsa);
260 OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
263 OSSL_DEPRECATEDIN_3_0 int RSA_generate_multi_prime_key(RSA *rsa, int bits,
268 int RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2,
274 OSSL_DEPRECATEDIN_3_0 int RSA_X931_generate_key_ex(RSA *rsa, int bits,
283 RSA *rsa, int padding);
286 RSA *rsa, int padding);
289 RSA *rsa, int padding);
[all …]
/third_party/openssl/providers/implementations/keymgmt/
Drsa_kmgmt.c81 RSA *rsa; in rsa_newdata() local
86 rsa = ossl_rsa_new_with_ctx(libctx); in rsa_newdata()
87 if (rsa != NULL) { in rsa_newdata()
88 RSA_clear_flags(rsa, RSA_FLAG_TYPE_MASK); in rsa_newdata()
89 RSA_set_flags(rsa, RSA_FLAG_TYPE_RSA); in rsa_newdata()
91 return rsa; in rsa_newdata()
97 RSA *rsa; in rsapss_newdata() local
102 rsa = ossl_rsa_new_with_ctx(libctx); in rsapss_newdata()
103 if (rsa != NULL) { in rsapss_newdata()
104 RSA_clear_flags(rsa, RSA_FLAG_TYPE_MASK); in rsapss_newdata()
[all …]
/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/
Drsa_kmgmt.c81 RSA *rsa; in rsa_newdata() local
86 rsa = ossl_rsa_new_with_ctx(libctx); in rsa_newdata()
87 if (rsa != NULL) { in rsa_newdata()
88 RSA_clear_flags(rsa, RSA_FLAG_TYPE_MASK); in rsa_newdata()
89 RSA_set_flags(rsa, RSA_FLAG_TYPE_RSA); in rsa_newdata()
91 return rsa; in rsa_newdata()
97 RSA *rsa; in rsapss_newdata() local
102 rsa = ossl_rsa_new_with_ctx(libctx); in rsapss_newdata()
103 if (rsa != NULL) { in rsapss_newdata()
104 RSA_clear_flags(rsa, RSA_FLAG_TYPE_MASK); in rsapss_newdata()
[all …]

12345678910>>...28