/third_party/openssl/ssl/ |
D | ssl_rsa_legacy.c | 17 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa) in SSL_use_RSAPrivateKey() 47 RSA *rsa = NULL; in SSL_use_RSAPrivateKey_file() local 86 RSA *rsa; in SSL_use_RSAPrivateKey_ASN1() local 99 int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa) in SSL_CTX_use_RSAPrivateKey() 129 RSA *rsa = NULL; in SSL_CTX_use_RSAPrivateKey_file() local 169 RSA *rsa; in SSL_CTX_use_RSAPrivateKey_ASN1() local
|
/third_party/openssl/crypto/rsa/ |
D | rsa_crpt.c | 34 RSA *rsa, int padding) in RSA_public_encrypt() 40 unsigned char *to, RSA *rsa, int padding) in RSA_private_encrypt() 46 unsigned char *to, RSA *rsa, int padding) in RSA_private_decrypt() 52 RSA *rsa, int padding) in RSA_public_decrypt() 62 void RSA_blinding_off(RSA *rsa) in RSA_blinding_off() 70 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx) in RSA_blinding_on() 116 BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *in_ctx) in RSA_setup_blinding()
|
D | rsa_meth.c | 115 unsigned char *to, RSA *rsa, in RSA_meth_set_pub_enc() 131 unsigned char *to, RSA *rsa, in RSA_meth_set_pub_dec() 147 unsigned char *to, RSA *rsa, in RSA_meth_set_priv_enc() 163 unsigned char *to, RSA *rsa, in RSA_meth_set_priv_dec() 178 int (*mod_exp) (BIGNUM *r0, const BIGNUM *i, RSA *rsa, in RSA_meth_set_mod_exp() 211 int RSA_meth_set_init(RSA_METHOD *meth, int (*init) (RSA *rsa)) in RSA_meth_set_init() 223 int RSA_meth_set_finish(RSA_METHOD *meth, int (*finish) (RSA *rsa)) in RSA_meth_set_finish() 242 const RSA *rsa)) in RSA_meth_set_sign() 260 unsigned int siglen, const RSA *rsa)) in RSA_meth_set_verify() 272 int RSA_meth_set_keygen(RSA_METHOD *meth, in RSA_meth_set_keygen() [all …]
|
D | rsa_ossl.c | 75 unsigned char *to, RSA *rsa, int padding) in rsa_ossl_public_encrypt() 162 static BN_BLINDING *rsa_get_blinding(RSA *rsa, int *local, BN_CTX *ctx) in rsa_get_blinding() 242 unsigned char *to, RSA *rsa, int padding) in rsa_ossl_private_encrypt() 374 unsigned char *to, RSA *rsa, int padding) in rsa_ossl_private_decrypt() 520 unsigned char *to, RSA *rsa, int padding) in rsa_ossl_public_decrypt() 615 static int rsa_ossl_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx) in rsa_ossl_mod_exp() 986 static int rsa_ossl_init(RSA *rsa) in rsa_ossl_init() 992 static int rsa_ossl_finish(RSA *rsa) in rsa_ossl_finish()
|
D | rsa_gen.c | 41 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) in RSA_generate_key_ex() 50 int RSA_generate_multi_prime_key(RSA *rsa, int bits, int primes, in RSA_generate_multi_prime_key() 75 static int rsa_multiprime_keygen(RSA *rsa, int bits, int primes, in rsa_multiprime_keygen() 424 static int rsa_keygen(OSSL_LIB_CTX *libctx, RSA *rsa, int bits, int primes, in rsa_keygen() 478 static int rsa_keygen_pairwise_test(RSA *rsa, OSSL_CALLBACK *cb, void *cbarg) in rsa_keygen_pairwise_test()
|
D | rsa_sp800_56b_check.c | 24 int ossl_rsa_check_crt_components(const RSA *rsa, BN_CTX *ctx) in ossl_rsa_check_crt_components() 175 int ossl_rsa_check_private_exponent(const RSA *rsa, int nbits, BN_CTX *ctx) in ossl_rsa_check_private_exponent() 281 int ossl_rsa_sp800_56b_check_public(const RSA *rsa) 350 int ossl_rsa_sp800_56b_check_private(const RSA *rsa) 368 int ossl_rsa_sp800_56b_check_keypair(const RSA *rsa, const BIGNUM *efixed,
|
D | rsa_pmeth.c | 144 RSA *rsa = (RSA *)EVP_PKEY_get0_RSA(ctx->pkey); in pkey_rsa_sign() local 214 RSA *rsa = (RSA *)EVP_PKEY_get0_RSA(ctx->pkey); in pkey_rsa_verifyrecover() local 265 RSA *rsa = (RSA *)EVP_PKEY_get0_RSA(ctx->pkey); in pkey_rsa_verify() local 323 RSA *rsa = (RSA *)EVP_PKEY_get0_RSA(ctx->pkey); in pkey_rsa_encrypt() local 356 RSA *rsa = (RSA *)EVP_PKEY_get0_RSA(ctx->pkey); in pkey_rsa_decrypt() local 726 static int rsa_set_pss_param(RSA *rsa, EVP_PKEY_CTX *ctx) in rsa_set_pss_param() 745 RSA *rsa = NULL; in pkey_rsa_keygen() local 829 const RSA *rsa; in pkey_pss_init() local
|
D | rsa_sp800_56b_gen.c | 57 int ossl_rsa_fips186_4_gen_prob_primes(RSA *rsa, RSA_ACVP_TEST *test, in ossl_rsa_fips186_4_gen_prob_primes() 232 int ossl_rsa_sp800_56b_derive_params_from_pq(RSA *rsa, int nbits, in ossl_rsa_sp800_56b_derive_params_from_pq() 356 int ossl_rsa_sp800_56b_generate_key(RSA *rsa, int nbits, const BIGNUM *efixed, in ossl_rsa_sp800_56b_generate_key() 419 int ossl_rsa_sp800_56b_pairwise_test(RSA *rsa, BN_CTX *ctx) in ossl_rsa_sp800_56b_pairwise_test()
|
D | rsa_backend.c | 64 int ossl_rsa_fromdata(RSA *rsa, const OSSL_PARAM params[], int include_private) in ossl_rsa_fromdata() 331 int ossl_rsa_is_foreign(const RSA *rsa) in ossl_rsa_is_foreign() 347 RSA *ossl_rsa_dup(const RSA *rsa, int selection) in ossl_rsa_dup() 466 static int ossl_rsa_sync_to_pss_params_30(RSA *rsa) in ossl_rsa_sync_to_pss_params_30() 534 int ossl_rsa_param_decode(RSA *rsa, const X509_ALGOR *alg) in ossl_rsa_param_decode() 564 RSA *rsa; in ossl_rsa_key_from_pkcs8() local
|
D | rsa_pss.c | 31 int RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash, in RSA_verify_PKCS1_PSS() 38 int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, in RSA_verify_PKCS1_PSS_mgf1() 146 int RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM, in RSA_padding_add_PKCS1_PSS() 153 int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, in RSA_padding_add_PKCS1_PSS_mgf1()
|
D | rsa_saos.c | 26 RSA *rsa) in RSA_sign_ASN1_OCTET_STRING() 62 unsigned int siglen, RSA *rsa) in RSA_verify_ASN1_OCTET_STRING()
|
D | rsa_x931g.c | 25 int RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2, BIGNUM *q1, 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()
|
D | rsa_sign.c | 274 unsigned char *sigret, unsigned int *siglen, RSA *rsa) in RSA_sign() 333 const unsigned char *sigbuf, size_t siglen, RSA *rsa) in ossl_rsa_verify() 450 const unsigned char *sigbuf, unsigned int siglen, RSA *rsa) in RSA_verify()
|
D | rsa_ameth.c | 32 const RSA *rsa = pkey->pkey.rsa; in rsa_param_encode() local 78 RSA *rsa = NULL; in rsa_pub_decode() local 129 RSA *rsa; in old_rsa_priv_decode() local 173 RSA *rsa = ossl_rsa_key_from_pkcs8(p8, NULL, NULL); in rsa_priv_decode() local 734 RSA *rsa = from->pkey.rsa; in rsa_int_export_to() local 790 RSA *rsa = ossl_rsa_new_with_ctx(pctx->libctx); in rsa_int_import_from() local 885 RSA *rsa = from->pkey.rsa; in rsa_pkey_copy() local
|
D | rsa_asn1.c | 125 RSA *RSAPrivateKey_dup(const RSA *rsa) in RSAPrivateKey_dup()
|
D | rsa_depr.c | 34 RSA *rsa = RSA_new(); in RSA_generate_key() local
|
/third_party/mbedtls/library/ |
D | psa_crypto_rsa.c | 57 const mbedtls_rsa_context *rsa ) in psa_check_rsa_key_byte_aligned() 140 mbedtls_rsa_context *rsa = NULL; in mbedtls_psa_rsa_import_key() local 170 mbedtls_rsa_context *rsa, in mbedtls_psa_rsa_export_key() 231 mbedtls_rsa_context *rsa = NULL; in mbedtls_psa_rsa_export_public_key() local 285 mbedtls_rsa_context rsa; in mbedtls_psa_rsa_generate_key() local 358 mbedtls_rsa_context *rsa = NULL; in mbedtls_psa_rsa_sign_hash() local 433 const mbedtls_rsa_context *rsa, in rsa_pss_expected_salt_len() 459 mbedtls_rsa_context *rsa = NULL; in mbedtls_psa_rsa_verify_hash() local
|
/third_party/openssl/providers/implementations/keymgmt/ |
D | rsa_kmgmt.c | 81 RSA *rsa; in rsa_newdata() local 97 RSA *rsa; in rsapss_newdata() local 117 const RSA *rsa = keydata; in rsa_has() local 175 RSA *rsa = keydata; in rsa_import() local 206 RSA *rsa = keydata; in rsa_export() local 332 RSA *rsa = key; in rsa_get_params() local 394 const RSA *rsa = keydata; in rsa_validate() local 580 RSA *rsa = NULL, *rsa_tmp = NULL; in rsa_gen() local 656 RSA *rsa = NULL; in common_load() local
|
/third_party/openssl/crypto/x509/ |
D | x_all.c | 294 RSA *d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa) in d2i_RSAPrivateKey_fp() 299 int i2d_RSAPrivateKey_fp(FILE *fp, const RSA *rsa) in i2d_RSAPrivateKey_fp() 304 RSA *d2i_RSAPublicKey_fp(FILE *fp, RSA **rsa) in d2i_RSAPublicKey_fp() 309 RSA *d2i_RSA_PUBKEY_fp(FILE *fp, RSA **rsa) in d2i_RSA_PUBKEY_fp() 316 int i2d_RSAPublicKey_fp(FILE *fp, const RSA *rsa) in i2d_RSAPublicKey_fp() 321 int i2d_RSA_PUBKEY_fp(FILE *fp, const RSA *rsa) in i2d_RSA_PUBKEY_fp() 327 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa) in d2i_RSAPrivateKey_bio() 332 int i2d_RSAPrivateKey_bio(BIO *bp, const RSA *rsa) in i2d_RSAPrivateKey_bio() 337 RSA *d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa) in d2i_RSAPublicKey_bio() 342 RSA *d2i_RSA_PUBKEY_bio(BIO *bp, RSA **rsa) in d2i_RSA_PUBKEY_bio() [all …]
|
/third_party/rust/crates/rust-openssl/openssl/examples/ |
D | mk_certs.rs | 20 let rsa = Rsa::generate(2048)?; in mk_ca_cert() localVariable 88 let rsa = Rsa::generate(2048)?; in mk_ca_signed_cert() localVariable
|
/third_party/openssl/test/ |
D | pem_read_depr_test.c | 153 RSA *rsa = NULL; in test_read_rsa_private() local 174 RSA *rsa = NULL; in test_read_rsa_public() local
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/ |
D | wpa_evp_key.c | 62 unsigned char *sigret, unsigned int *siglen, const RSA *rsa) in rsa_sign() 83 RSA *rsa = RSA_new(); in wrap_rsa() local
|
/third_party/openssl/crypto/evp/ |
D | p_dec.c | 25 RSA *rsa = NULL; in EVP_PKEY_decrypt_old() local
|
D | p_enc.c | 25 RSA *rsa = NULL; in EVP_PKEY_encrypt_old() local
|
/third_party/mbedtls/programs/pkey/ |
D | key_app.c | 218 mbedtls_rsa_context *rsa = mbedtls_pk_rsa( pk ); in main() local 276 mbedtls_rsa_context *rsa = mbedtls_pk_rsa( pk ); in main() local
|