Lines Matching refs:rsa

90 OPENSSL_EXPORT void RSA_free(RSA *rsa);
94 OPENSSL_EXPORT int RSA_up_ref(RSA *rsa);
100 OPENSSL_EXPORT unsigned RSA_bits(const RSA *rsa);
105 OPENSSL_EXPORT void RSA_get0_key(const RSA *rsa, const BIGNUM **out_n,
110 OPENSSL_EXPORT void RSA_get0_factors(const RSA *rsa, const BIGNUM **out_p,
117 OPENSSL_EXPORT void RSA_get0_crt_params(const RSA *rsa, const BIGNUM **out_dmp1,
130 OPENSSL_EXPORT int RSA_set0_key(RSA *rsa, BIGNUM *n, BIGNUM *e, BIGNUM *d);
140 OPENSSL_EXPORT int RSA_set0_factors(RSA *rsa, BIGNUM *p, BIGNUM *q);
150 OPENSSL_EXPORT int RSA_set0_crt_params(RSA *rsa, BIGNUM *dmp1, BIGNUM *dmq1,
164 OPENSSL_EXPORT int RSA_generate_key_ex(RSA *rsa, int bits, const BIGNUM *e,
170 OPENSSL_EXPORT int RSA_generate_key_fips(RSA *rsa, int bits, BN_GENCB *cb);
202 OPENSSL_EXPORT int RSA_encrypt(RSA *rsa, size_t *out_len, uint8_t *out,
221 OPENSSL_EXPORT int RSA_decrypt(RSA *rsa, size_t *out_len, uint8_t *out,
235 uint8_t *to, RSA *rsa, int padding);
248 uint8_t *to, RSA *rsa, int padding);
268 unsigned int *out_len, RSA *rsa);
283 OPENSSL_EXPORT int RSA_sign_pss_mgf1(RSA *rsa, size_t *out_len, uint8_t *out,
298 OPENSSL_EXPORT int RSA_sign_raw(RSA *rsa, size_t *out_len, uint8_t *out,
314 const uint8_t *sig, size_t sig_len, RSA *rsa);
328 OPENSSL_EXPORT int RSA_verify_pss_mgf1(RSA *rsa, const uint8_t *msg,
344 OPENSSL_EXPORT int RSA_verify_raw(RSA *rsa, size_t *out_len, uint8_t *out,
359 uint8_t *to, RSA *rsa, int padding);
372 uint8_t *to, RSA *rsa, int padding);
379 OPENSSL_EXPORT unsigned RSA_size(const RSA *rsa);
383 OPENSSL_EXPORT int RSA_is_opaque(const RSA *rsa);
387 OPENSSL_EXPORT RSA *RSAPublicKey_dup(const RSA *rsa);
391 OPENSSL_EXPORT RSA *RSAPrivateKey_dup(const RSA *rsa);
396 OPENSSL_EXPORT int RSA_check_key(const RSA *rsa);
417 OPENSSL_EXPORT int RSA_verify_PKCS1_PSS_mgf1(const RSA *rsa,
435 OPENSSL_EXPORT int RSA_padding_add_PKCS1_PSS_mgf1(const RSA *rsa, uint8_t *EM,
475 OPENSSL_EXPORT int RSA_marshal_public_key(CBB *cbb, const RSA *rsa);
482 const RSA *rsa);
497 OPENSSL_EXPORT int RSA_marshal_private_key(CBB *cbb, const RSA *rsa);
504 size_t *out_len, const RSA *rsa);
515 OPENSSL_EXPORT int RSA_set_ex_data(RSA *rsa, int idx, void *arg);
516 OPENSSL_EXPORT void *RSA_get_ex_data(const RSA *rsa, int idx);
550 OPENSSL_EXPORT int RSA_flags(const RSA *rsa);
553 OPENSSL_EXPORT int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
595 OPENSSL_EXPORT int RSA_padding_add_PKCS1_PSS(const RSA *rsa, uint8_t *EM,
604 OPENSSL_EXPORT int RSA_verify_PKCS1_PSS(const RSA *rsa, const uint8_t *mHash,
619 OPENSSL_EXPORT int RSA_print(BIO *bio, const RSA *rsa, int indent);
627 int (*init)(RSA *rsa);
628 int (*finish)(RSA *rsa);
631 size_t (*size)(const RSA *rsa);
634 uint8_t *sigret, unsigned int *siglen, const RSA *rsa);
637 int (*sign_raw)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
639 int (*decrypt)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
654 int (*private_transform)(RSA *rsa, uint8_t *out, const uint8_t *in,