Lines Matching refs:RSA
78 OPENSSL_EXPORT RSA *RSA_new(void);
81 OPENSSL_EXPORT RSA *RSA_new_method(const ENGINE *engine);
85 OPENSSL_EXPORT void RSA_free(RSA *rsa);
88 OPENSSL_EXPORT int RSA_up_ref(RSA *rsa);
101 OPENSSL_EXPORT int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
106 OPENSSL_EXPORT int RSA_generate_multi_prime_key(RSA *rsa, int bits,
129 OPENSSL_EXPORT int RSA_encrypt(RSA *rsa, size_t *out_len, uint8_t *out,
148 OPENSSL_EXPORT int RSA_decrypt(RSA *rsa, size_t *out_len, uint8_t *out,
162 uint8_t *to, RSA *rsa, int padding);
175 uint8_t *to, RSA *rsa, int padding);
192 unsigned int *out_len, RSA *rsa);
203 OPENSSL_EXPORT int RSA_sign_raw(RSA *rsa, size_t *out_len, uint8_t *out,
219 const uint8_t *sig, size_t sig_len, RSA *rsa);
231 OPENSSL_EXPORT int RSA_verify_raw(RSA *rsa, size_t *out_len, uint8_t *out,
246 uint8_t *to, RSA *rsa, int padding);
259 uint8_t *to, RSA *rsa, int padding);
266 OPENSSL_EXPORT unsigned RSA_size(const RSA *rsa);
270 OPENSSL_EXPORT int RSA_is_opaque(const RSA *rsa);
274 OPENSSL_EXPORT int RSA_supports_digest(const RSA *rsa, const EVP_MD *md);
278 OPENSSL_EXPORT RSA *RSAPublicKey_dup(const RSA *rsa);
282 OPENSSL_EXPORT RSA *RSAPrivateKey_dup(const RSA *rsa);
287 OPENSSL_EXPORT int RSA_check_key(const RSA *rsa);
294 OPENSSL_EXPORT int RSA_recover_crt_params(RSA *rsa);
305 OPENSSL_EXPORT int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const uint8_t *mHash,
319 OPENSSL_EXPORT int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, uint8_t *EM,
339 OPENSSL_EXPORT RSA *RSA_parse_public_key(CBS *cbs);
343 OPENSSL_EXPORT RSA *RSA_parse_public_key_buggy(CBS *cbs);
347 OPENSSL_EXPORT RSA *RSA_public_key_from_bytes(const uint8_t *in, size_t in_len);
352 OPENSSL_EXPORT int RSA_marshal_public_key(CBB *cbb, const RSA *rsa);
359 const RSA *rsa);
364 OPENSSL_EXPORT RSA *RSA_parse_private_key(CBS *cbs);
368 OPENSSL_EXPORT RSA *RSA_private_key_from_bytes(const uint8_t *in,
374 OPENSSL_EXPORT int RSA_marshal_private_key(CBB *cbb, const RSA *rsa);
381 size_t *out_len, const RSA *rsa);
392 OPENSSL_EXPORT int RSA_set_ex_data(RSA *r, int idx, void *arg);
393 OPENSSL_EXPORT void *RSA_get_ex_data(const RSA *r, int idx);
433 OPENSSL_EXPORT int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
439 OPENSSL_EXPORT RSA *RSA_generate_key(int bits, unsigned long e, void *callback,
448 OPENSSL_EXPORT RSA *d2i_RSAPublicKey(RSA **out, const uint8_t **inp, long len);
454 OPENSSL_EXPORT int i2d_RSAPublicKey(const RSA *in, uint8_t **outp);
462 OPENSSL_EXPORT RSA *d2i_RSAPrivateKey(RSA **out, const uint8_t **inp, long len);
468 OPENSSL_EXPORT int i2d_RSAPrivateKey(const RSA *in, uint8_t **outp);
485 int (*init)(RSA *rsa);
486 int (*finish)(RSA *rsa);
489 size_t (*size)(const RSA *rsa);
492 uint8_t *sigret, unsigned int *siglen, const RSA *rsa);
495 const uint8_t *sigbuf, unsigned int siglen, const RSA *rsa);
499 int (*encrypt)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
501 int (*sign_raw)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
504 int (*decrypt)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
506 int (*verify_raw)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
521 int (*private_transform)(RSA *rsa, uint8_t *out, const uint8_t *in,
524 int (*mod_exp)(BIGNUM *r0, const BIGNUM *I, RSA *rsa,
532 int (*keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
534 int (*multi_prime_keygen)(RSA *rsa, int bits, int num_primes, BIGNUM *e,
539 int (*supports_digest)(const RSA *rsa, const EVP_MD *md);