| /crypto/rsa/ |
| A 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() 68 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx) in RSA_blinding_on() 104 BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *in_ctx) in RSA_setup_blinding()
|
| A D | rsa_ossl.c | 103 unsigned char *to, RSA *rsa, int padding) in rsa_ossl_public_encrypt() 218 void ossl_rsa_free_blinding(RSA *rsa) in ossl_rsa_free_blinding() 231 static BN_BLINDING *ossl_rsa_get_thread_bn_blinding(RSA *rsa) in ossl_rsa_get_thread_bn_blinding() 239 static int ossl_rsa_set_thread_bn_blinding(RSA *rsa, BN_BLINDING *b) in ossl_rsa_set_thread_bn_blinding() 247 static BN_BLINDING *rsa_get_blinding(RSA *rsa, BN_CTX *ctx) in rsa_get_blinding() 298 unsigned char *to, RSA *rsa, int padding) in rsa_ossl_private_encrypt() 414 static int derive_kdk(int flen, const unsigned char *from, RSA *rsa, in derive_kdk() 674 unsigned char *to, RSA *rsa, int padding) in rsa_ossl_public_decrypt() 1143 static int rsa_ossl_init(RSA *rsa) in rsa_ossl_init() 1149 static int rsa_ossl_finish(RSA *rsa) in rsa_ossl_finish() [all …]
|
| A D | rsa_meth.c | 111 unsigned char *to, RSA *rsa, in RSA_meth_set_pub_enc() 127 unsigned char *to, RSA *rsa, in RSA_meth_set_pub_dec() 143 unsigned char *to, RSA *rsa, in RSA_meth_set_priv_enc() 159 unsigned char *to, RSA *rsa, in RSA_meth_set_priv_dec() 174 int (*mod_exp) (BIGNUM *r0, const BIGNUM *i, RSA *rsa, in RSA_meth_set_mod_exp() 207 int RSA_meth_set_init(RSA_METHOD *meth, int (*init) (RSA *rsa)) in RSA_meth_set_init() 219 int RSA_meth_set_finish(RSA_METHOD *meth, int (*finish) (RSA *rsa)) in RSA_meth_set_finish() 238 const RSA *rsa)) in RSA_meth_set_sign() 256 unsigned int siglen, const RSA *rsa)) in RSA_meth_set_verify() 268 int RSA_meth_set_keygen(RSA_METHOD *meth, in RSA_meth_set_keygen() [all …]
|
| A 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() 263 static int rsa_multiprime_keygen(RSA *rsa, int bits, int primes, in rsa_multiprime_keygen() 609 static int rsa_keygen(OSSL_LIB_CTX *libctx, RSA *rsa, int bits, int primes, in rsa_keygen() 682 static int rsa_keygen_pairwise_test(RSA *rsa, OSSL_CALLBACK *cb, void *cbarg) in rsa_keygen_pairwise_test() 739 int ossl_rsa_key_pairwise_test(RSA *rsa) in ossl_rsa_key_pairwise_test()
|
| A 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) 356 int ossl_rsa_sp800_56b_check_private(const RSA *rsa) 374 int ossl_rsa_sp800_56b_check_keypair(const RSA *rsa, const BIGNUM *efixed,
|
| A 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() 45 int ossl_rsa_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, in ossl_rsa_verify_PKCS1_PSS_mgf1() 158 int RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM, in RSA_padding_add_PKCS1_PSS() 165 int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, in RSA_padding_add_PKCS1_PSS_mgf1() 173 int ossl_rsa_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, in ossl_rsa_padding_add_PKCS1_PSS_mgf1()
|
| A D | rsa_sp800_56b_gen.c | 55 int ossl_rsa_fips186_4_gen_prob_primes(RSA *rsa, RSA_ACVP_TEST *test, in ossl_rsa_fips186_4_gen_prob_primes() 237 int ossl_rsa_sp800_56b_derive_params_from_pq(RSA *rsa, int nbits, in ossl_rsa_sp800_56b_derive_params_from_pq() 365 int ossl_rsa_sp800_56b_generate_key(RSA *rsa, int nbits, const BIGNUM *efixed, in ossl_rsa_sp800_56b_generate_key() 437 int ossl_rsa_sp800_56b_pairwise_test(RSA *rsa, BN_CTX *ctx) in ossl_rsa_sp800_56b_pairwise_test()
|
| A D | rsa_pmeth.c | 146 RSA *rsa = (RSA *)EVP_PKEY_get0_RSA(ctx->pkey); in pkey_rsa_sign() local 223 RSA *rsa = (RSA *)EVP_PKEY_get0_RSA(ctx->pkey); in pkey_rsa_verifyrecover() local 274 RSA *rsa = (RSA *)EVP_PKEY_get0_RSA(ctx->pkey); in pkey_rsa_verify() local 338 RSA *rsa = (RSA *)EVP_PKEY_get0_RSA(ctx->pkey); in pkey_rsa_encrypt() local 372 RSA *rsa = (RSA *)EVP_PKEY_get0_RSA(ctx->pkey); in pkey_rsa_decrypt() local 765 static int rsa_set_pss_param(RSA *rsa, EVP_PKEY_CTX *ctx) in rsa_set_pss_param() 784 RSA *rsa = NULL; in pkey_rsa_keygen() local 868 const RSA *rsa; in pkey_pss_init() local
|
| A D | rsa_backend.c | 64 int ossl_rsa_fromdata(RSA *rsa, const OSSL_PARAM params[], int include_private) in ossl_rsa_fromdata() 455 int ossl_rsa_is_foreign(const RSA *rsa) in ossl_rsa_is_foreign() 471 RSA *ossl_rsa_dup(const RSA *rsa, int selection) in ossl_rsa_dup() 588 static int ossl_rsa_sync_to_pss_params_30(RSA *rsa) in ossl_rsa_sync_to_pss_params_30() 656 int ossl_rsa_param_decode(RSA *rsa, const X509_ALGOR *alg) in ossl_rsa_param_decode() 686 RSA *rsa; in ossl_rsa_key_from_pkcs8() local
|
| A D | rsa_saos.c | 26 RSA *rsa) in RSA_sign_ASN1_OCTET_STRING() 60 unsigned int siglen, RSA *rsa) in RSA_verify_ASN1_OCTET_STRING()
|
| A D | rsa_x931g.c | 25 int RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2, BIGNUM *q1, in RSA_X931_derive_ex() 150 int RSA_X931_generate_key_ex(RSA *rsa, int bits, const BIGNUM *e, in RSA_X931_generate_key_ex()
|
| A D | rsa_asn1.c | 125 RSA *RSAPrivateKey_dup(const RSA *rsa) in RSAPrivateKey_dup()
|
| A D | rsa_sign.c | 288 unsigned char *sigret, unsigned int *siglen, RSA *rsa) in RSA_sign() 347 const unsigned char *sigbuf, size_t siglen, RSA *rsa) in ossl_rsa_verify() 462 const unsigned char *sigbuf, unsigned int siglen, RSA *rsa) in RSA_verify()
|
| A D | rsa_depr.c | 34 RSA *rsa = RSA_new(); in RSA_generate_key() local
|
| A D | rsa_ameth.c | 32 const RSA *rsa = pkey->pkey.rsa; in rsa_param_encode() local 81 RSA *rsa = NULL; in rsa_pub_decode() local 132 RSA *rsa; in old_rsa_priv_decode() local 176 RSA *rsa = ossl_rsa_key_from_pkcs8(p8, NULL, NULL); in rsa_priv_decode() local 798 RSA *rsa = from->pkey.rsa; in rsa_int_export_to() local 854 RSA *rsa = ossl_rsa_new_with_ctx(pctx->libctx); in rsa_int_import_from() local 949 RSA *rsa = from->pkey.rsa; in rsa_pkey_copy() local
|
| A D | rsa_mp.c | 59 int ossl_rsa_multip_calc_product(RSA *rsa) in ossl_rsa_multip_calc_product()
|
| A D | rsa_lib.c | 40 const RSA_METHOD *RSA_get_method(const RSA *rsa) in RSA_get_method() 45 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth) in RSA_set_method() 389 int RSA_security_bits(const RSA *rsa) in RSA_security_bits()
|
| /crypto/evp/ |
| A D | p_dec.c | 25 RSA *rsa = NULL; in EVP_PKEY_decrypt_old() local
|
| A D | p_enc.c | 25 RSA *rsa = NULL; in EVP_PKEY_encrypt_old() local
|
| /crypto/x509/ |
| A D | x_all.c | 339 RSA *d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa) in d2i_RSAPrivateKey_fp() 344 int i2d_RSAPrivateKey_fp(FILE *fp, const RSA *rsa) in i2d_RSAPrivateKey_fp() 349 RSA *d2i_RSAPublicKey_fp(FILE *fp, RSA **rsa) in d2i_RSAPublicKey_fp() 354 RSA *d2i_RSA_PUBKEY_fp(FILE *fp, RSA **rsa) in d2i_RSA_PUBKEY_fp() 361 int i2d_RSAPublicKey_fp(FILE *fp, const RSA *rsa) in i2d_RSAPublicKey_fp() 366 int i2d_RSA_PUBKEY_fp(FILE *fp, const RSA *rsa) in i2d_RSA_PUBKEY_fp() 372 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa) in d2i_RSAPrivateKey_bio() 382 RSA *d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa) in d2i_RSAPublicKey_bio() 387 RSA *d2i_RSA_PUBKEY_bio(BIO *bp, RSA **rsa) in d2i_RSA_PUBKEY_bio() 392 int i2d_RSAPublicKey_bio(BIO *bp, const RSA *rsa) in i2d_RSAPublicKey_bio() [all …]
|
| /crypto/pem/ |
| A D | pem_all.c | 69 RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb, in PEM_read_bio_RSAPrivateKey() 79 RSA *PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb, void *u) in PEM_read_RSAPrivateKey()
|
| A D | pvkfmt.c | 454 RSA *rsa = NULL; in ossl_b2i_RSA_after_header() local 636 static int check_bitlen_rsa(const RSA *rsa, int ispub, unsigned int *pmagic) in check_bitlen_rsa() 676 static void write_rsa(unsigned char **out, const RSA *rsa, int ispub) in write_rsa()
|