Lines Matching refs:OPENSSL_EXPORT

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,
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,
184 OPENSSL_EXPORT int RSA_public_encrypt(size_t flen, const uint8_t *from,
197 OPENSSL_EXPORT int RSA_private_decrypt(size_t flen, const uint8_t *from,
213 OPENSSL_EXPORT int RSA_sign(int hash_nid, const uint8_t *in,
226 OPENSSL_EXPORT int RSA_sign_raw(RSA *rsa, size_t *out_len, uint8_t *out,
241 OPENSSL_EXPORT int RSA_verify(int hash_nid, const uint8_t *msg, size_t msg_len,
254 OPENSSL_EXPORT int RSA_verify_raw(RSA *rsa, size_t *out_len, uint8_t *out,
268 OPENSSL_EXPORT int RSA_private_encrypt(size_t flen, const uint8_t *from,
281 OPENSSL_EXPORT int RSA_public_decrypt(size_t flen, const uint8_t *from,
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,
356 OPENSSL_EXPORT int RSA_padding_add_PKCS1_OAEP_mgf1(
365 OPENSSL_EXPORT int RSA_add_pkcs1_prefix(uint8_t **out_msg, size_t *out_msg_len,
375 OPENSSL_EXPORT RSA *RSA_parse_public_key(CBS *cbs);
379 OPENSSL_EXPORT RSA *RSA_parse_public_key_buggy(CBS *cbs);
383 OPENSSL_EXPORT RSA *RSA_public_key_from_bytes(const uint8_t *in, size_t in_len);
388 OPENSSL_EXPORT int RSA_marshal_public_key(CBB *cbb, const RSA *rsa);
394 OPENSSL_EXPORT int RSA_public_key_to_bytes(uint8_t **out_bytes, size_t *out_len,
400 OPENSSL_EXPORT RSA *RSA_parse_private_key(CBS *cbs);
404 OPENSSL_EXPORT RSA *RSA_private_key_from_bytes(const uint8_t *in,
410 OPENSSL_EXPORT int RSA_marshal_private_key(CBB *cbb, const RSA *rsa);
416 OPENSSL_EXPORT int RSA_private_key_to_bytes(uint8_t **out_bytes,
424 OPENSSL_EXPORT int RSA_get_ex_new_index(long argl, void *argp,
428 OPENSSL_EXPORT int RSA_set_ex_data(RSA *r, int idx, void *arg);
429 OPENSSL_EXPORT void *RSA_get_ex_data(const RSA *r, int idx);
470 OPENSSL_EXPORT int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
476 OPENSSL_EXPORT RSA *RSA_generate_key(int bits, unsigned long e, void *callback,
485 OPENSSL_EXPORT RSA *d2i_RSAPublicKey(RSA **out, const uint8_t **inp, long len);
491 OPENSSL_EXPORT int i2d_RSAPublicKey(const RSA *in, uint8_t **outp);
499 OPENSSL_EXPORT RSA *d2i_RSAPrivateKey(RSA **out, const uint8_t **inp, long len);
505 OPENSSL_EXPORT int i2d_RSAPrivateKey(const RSA *in, uint8_t **outp);
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,
522 OPENSSL_EXPORT int RSA_padding_add_PKCS1_OAEP(uint8_t *to, size_t to_len,