Lines Matching refs:RSA_CTX
31 static bigint *bi_crt(const RSA_CTX *rsa, bigint *bi);
34 void RSA_priv_key_new(RSA_CTX **ctx, in RSA_priv_key_new()
47 RSA_CTX *rsa_ctx; in RSA_priv_key_new()
69 void RSA_pub_key_new(RSA_CTX **ctx, in RSA_pub_key_new()
73 RSA_CTX *rsa_ctx; in RSA_pub_key_new()
75 *ctx = (RSA_CTX *)calloc(1, sizeof(RSA_CTX)); in RSA_pub_key_new()
88 void RSA_free(RSA_CTX *rsa_ctx) in RSA_free()
129 int RSA_decrypt(const RSA_CTX *ctx, const uint8_t *in_data, in RSA_decrypt()
180 bigint *RSA_private(const RSA_CTX *c, bigint *bi_msg) in RSA_private()
197 static bigint *bi_crt(const RSA_CTX *rsa, bigint *bi) in bi_crt()
228 void RSA_print(const RSA_CTX *rsa_ctx) in RSA_print()
245 bigint *RSA_public(const RSA_CTX * c, bigint *bi_msg) in RSA_public()
255 int RSA_encrypt(const RSA_CTX *ctx, const uint8_t *in_data, uint16_t in_len, in RSA_encrypt()