Lines Matching refs:rsa
84 OPENSSL_EXPORT void RSA_free(RSA *rsa);
87 OPENSSL_EXPORT int RSA_up_ref(RSA *rsa);
95 OPENSSL_EXPORT void RSA_get0_key(const RSA *rsa, const BIGNUM **out_n,
101 OPENSSL_EXPORT void RSA_get0_factors(const RSA *rsa, const BIGNUM **out_p,
109 OPENSSL_EXPORT void RSA_get0_crt_params(const RSA *rsa, const BIGNUM **out_dmp1,
124 OPENSSL_EXPORT int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
129 OPENSSL_EXPORT int RSA_generate_multi_prime_key(RSA *rsa, int bits,
152 OPENSSL_EXPORT int RSA_encrypt(RSA *rsa, size_t *out_len, uint8_t *out,
171 OPENSSL_EXPORT int RSA_decrypt(RSA *rsa, size_t *out_len, uint8_t *out,
185 uint8_t *to, RSA *rsa, int padding);
198 uint8_t *to, RSA *rsa, int padding);
215 unsigned int *out_len, RSA *rsa);
226 OPENSSL_EXPORT int RSA_sign_raw(RSA *rsa, size_t *out_len, uint8_t *out,
242 const uint8_t *sig, size_t sig_len, RSA *rsa);
254 OPENSSL_EXPORT int RSA_verify_raw(RSA *rsa, size_t *out_len, uint8_t *out,
269 uint8_t *to, RSA *rsa, int padding);
282 uint8_t *to, RSA *rsa, int padding);
289 OPENSSL_EXPORT unsigned RSA_size(const RSA *rsa);
293 OPENSSL_EXPORT int RSA_is_opaque(const RSA *rsa);
297 OPENSSL_EXPORT int RSA_supports_digest(const RSA *rsa, const EVP_MD *md);
301 OPENSSL_EXPORT RSA *RSAPublicKey_dup(const RSA *rsa);
305 OPENSSL_EXPORT RSA *RSAPrivateKey_dup(const RSA *rsa);
310 OPENSSL_EXPORT int RSA_check_key(const RSA *rsa);
317 OPENSSL_EXPORT int RSA_recover_crt_params(RSA *rsa);
330 OPENSSL_EXPORT int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const uint8_t *mHash,
344 OPENSSL_EXPORT int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, uint8_t *EM,
388 OPENSSL_EXPORT int RSA_marshal_public_key(CBB *cbb, const RSA *rsa);
395 const RSA *rsa);
410 OPENSSL_EXPORT int RSA_marshal_private_key(CBB *cbb, const RSA *rsa);
417 size_t *out_len, const RSA *rsa);
470 OPENSSL_EXPORT int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
509 OPENSSL_EXPORT int RSA_padding_add_PKCS1_PSS(RSA *rsa, uint8_t *EM,
515 OPENSSL_EXPORT int RSA_verify_PKCS1_PSS(RSA *rsa, const uint8_t *mHash,
534 int (*init)(RSA *rsa);
535 int (*finish)(RSA *rsa);
538 size_t (*size)(const RSA *rsa);
541 uint8_t *sigret, unsigned int *siglen, const RSA *rsa);
545 const uint8_t *sigbuf, unsigned int siglen, const RSA *rsa);
549 int (*encrypt)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
551 int (*sign_raw)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
554 int (*decrypt)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
557 int (*verify_raw)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
572 int (*private_transform)(RSA *rsa, uint8_t *out, const uint8_t *in,
576 int (*mod_exp)(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx);
585 int (*keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
587 int (*multi_prime_keygen)(RSA *rsa, int bits, int num_primes, BIGNUM *e,
592 int (*supports_digest)(const RSA *rsa, const EVP_MD *md);