• Home
  • Raw
  • Download

Lines Matching refs:RSA

77 OPENSSL_EXPORT RSA *RSA_new(void);
80 OPENSSL_EXPORT RSA *RSA_new_method(const ENGINE *engine);
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,
100 OPENSSL_EXPORT void RSA_get0_factors(const RSA *rsa, const BIGNUM **out_p,
107 OPENSSL_EXPORT void RSA_get0_crt_params(const RSA *rsa, const BIGNUM **out_dmp1,
122 OPENSSL_EXPORT int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
128 OPENSSL_EXPORT int RSA_generate_key_fips(RSA *rsa, int bits, BN_GENCB *cb);
149 OPENSSL_EXPORT int RSA_encrypt(RSA *rsa, size_t *out_len, uint8_t *out,
168 OPENSSL_EXPORT int RSA_decrypt(RSA *rsa, size_t *out_len, uint8_t *out,
182 uint8_t *to, RSA *rsa, int padding);
195 uint8_t *to, RSA *rsa, int padding);
212 unsigned int *out_len, RSA *rsa);
227 OPENSSL_EXPORT int RSA_sign_pss_mgf1(RSA *rsa, size_t *out_len, uint8_t *out,
241 OPENSSL_EXPORT int RSA_sign_raw(RSA *rsa, size_t *out_len, uint8_t *out,
257 const uint8_t *sig, size_t sig_len, RSA *rsa);
271 OPENSSL_EXPORT int RSA_verify_pss_mgf1(RSA *rsa, const uint8_t *msg,
286 OPENSSL_EXPORT int RSA_verify_raw(RSA *rsa, size_t *out_len, uint8_t *out,
301 uint8_t *to, RSA *rsa, int padding);
314 uint8_t *to, RSA *rsa, int padding);
321 OPENSSL_EXPORT unsigned RSA_size(const RSA *rsa);
325 OPENSSL_EXPORT int RSA_is_opaque(const RSA *rsa);
329 OPENSSL_EXPORT RSA *RSAPublicKey_dup(const RSA *rsa);
333 OPENSSL_EXPORT RSA *RSAPrivateKey_dup(const RSA *rsa);
338 OPENSSL_EXPORT int RSA_check_key(const RSA *rsa);
342 OPENSSL_EXPORT int RSA_check_fips(RSA *key);
358 OPENSSL_EXPORT int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const uint8_t *mHash,
375 OPENSSL_EXPORT int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, uint8_t *EM,
406 OPENSSL_EXPORT RSA *RSA_parse_public_key(CBS *cbs);
410 OPENSSL_EXPORT RSA *RSA_parse_public_key_buggy(CBS *cbs);
414 OPENSSL_EXPORT RSA *RSA_public_key_from_bytes(const uint8_t *in, size_t in_len);
419 OPENSSL_EXPORT int RSA_marshal_public_key(CBB *cbb, const RSA *rsa);
426 const RSA *rsa);
431 OPENSSL_EXPORT RSA *RSA_parse_private_key(CBS *cbs);
435 OPENSSL_EXPORT RSA *RSA_private_key_from_bytes(const uint8_t *in,
441 OPENSSL_EXPORT int RSA_marshal_private_key(CBB *cbb, const RSA *rsa);
448 size_t *out_len, const RSA *rsa);
459 OPENSSL_EXPORT int RSA_set_ex_data(RSA *r, int idx, void *arg);
460 OPENSSL_EXPORT void *RSA_get_ex_data(const RSA *r, int idx);
501 OPENSSL_EXPORT int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
507 OPENSSL_EXPORT RSA *RSA_generate_key(int bits, unsigned long e, void *callback,
516 OPENSSL_EXPORT RSA *d2i_RSAPublicKey(RSA **out, const uint8_t **inp, long len);
522 OPENSSL_EXPORT int i2d_RSAPublicKey(const RSA *in, uint8_t **outp);
530 OPENSSL_EXPORT RSA *d2i_RSAPrivateKey(RSA **out, const uint8_t **inp, long len);
536 OPENSSL_EXPORT int i2d_RSAPrivateKey(const RSA *in, uint8_t **outp);
543 OPENSSL_EXPORT int RSA_padding_add_PKCS1_PSS(RSA *rsa, uint8_t *EM,
552 OPENSSL_EXPORT int RSA_verify_PKCS1_PSS(RSA *rsa, const uint8_t *mHash,
571 int (*init)(RSA *rsa);
572 int (*finish)(RSA *rsa);
575 size_t (*size)(const RSA *rsa);
578 uint8_t *sigret, unsigned int *siglen, const RSA *rsa);
584 int (*encrypt)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
588 int (*sign_raw)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
590 int (*decrypt)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
605 int (*private_transform)(RSA *rsa, uint8_t *out, const uint8_t *in,
660 BORINGSSL_MAKE_DELETER(RSA, RSA_free)