crypto/libressl/apps/openssl/apps.c
719
RSA *rsa;
crypto/libressl/apps/openssl/apps.c
729
RSA *rsa;
crypto/libressl/apps/openssl/genrsa.c
280
RSA *rsa = NULL;
crypto/libressl/apps/openssl/rsa.c
253
RSA *rsa = NULL;
crypto/libressl/apps/openssl/rsautl.c
239
RSA *rsa = NULL;
crypto/libressl/apps/openssl/speed.c
388
RSA *rsa_key[RSA_NUM];
crypto/libressl/apps/openssl/x509.c
1055
RSA *rsa = EVP_PKEY_get0_RSA(pkey);
crypto/libressl/crypto/asn1/x_pubkey.c
325
if (!EVP_PKEY_set1_RSA(pkey, (RSA *)*pval))
crypto/libressl/crypto/asn1/x_pubkey.c
456
RSA_free((RSA *)*pval);
crypto/libressl/crypto/asn1/x_pubkey.c
494
RSA *
crypto/libressl/crypto/asn1/x_pubkey.c
495
d2i_RSA_PUBKEY(RSA **rsa, const unsigned char **in, long len)
crypto/libressl/crypto/asn1/x_pubkey.c
497
return (RSA *)ASN1_item_d2i((ASN1_VALUE **)rsa, in, len,
crypto/libressl/crypto/asn1/x_pubkey.c
502
i2d_RSA_PUBKEY(RSA *rsa, unsigned char **out)
crypto/libressl/crypto/asn1/x_pubkey.c
507
RSA *
crypto/libressl/crypto/asn1/x_pubkey.c
508
d2i_RSA_PUBKEY_bio(BIO *bp, RSA **rsa)
crypto/libressl/crypto/asn1/x_pubkey.c
510
return (RSA *)ASN1_item_d2i_bio(&RSA_PUBKEY_it, bp, (ASN1_VALUE **)rsa);
crypto/libressl/crypto/asn1/x_pubkey.c
514
i2d_RSA_PUBKEY_bio(BIO *bp, RSA *rsa)
crypto/libressl/crypto/asn1/x_pubkey.c
519
RSA *
crypto/libressl/crypto/asn1/x_pubkey.c
520
d2i_RSA_PUBKEY_fp(FILE *fp, RSA **rsa)
crypto/libressl/crypto/asn1/x_pubkey.c
522
return (RSA *)ASN1_item_d2i_fp(&RSA_PUBKEY_it, fp, (ASN1_VALUE **)rsa);
crypto/libressl/crypto/asn1/x_pubkey.c
526
i2d_RSA_PUBKEY_fp(FILE *fp, RSA *rsa)
crypto/libressl/crypto/evp/p_lib.c
349
RSA *
crypto/libressl/crypto/evp/p_lib.c
359
RSA *
crypto/libressl/crypto/evp/p_lib.c
371
EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key)
crypto/libressl/crypto/pem/pem_all.c
133
static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa);
crypto/libressl/crypto/pem/pem_all.c
280
static RSA *
crypto/libressl/crypto/pem/pem_all.c
281
pkey_get_rsa(EVP_PKEY *key, RSA **rsa)
crypto/libressl/crypto/pem/pem_all.c
283
RSA *rtmp;
crypto/libressl/crypto/pem/pem_all.c
298
RSA *
crypto/libressl/crypto/pem/pem_all.c
299
PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
308
PEM_write_RSAPrivateKey(FILE *fp, RSA *x, const EVP_CIPHER *enc,
crypto/libressl/crypto/pem/pem_all.c
315
RSA *
crypto/libressl/crypto/pem/pem_all.c
316
PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
325
PEM_write_bio_RSAPrivateKey(BIO *bp, RSA *x,
crypto/libressl/crypto/pem/pem_all.c
333
RSA *
crypto/libressl/crypto/pem/pem_all.c
334
PEM_read_RSAPublicKey(FILE *fp, RSA **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
341
PEM_write_RSAPublicKey(FILE *fp, const RSA *x)
crypto/libressl/crypto/pem/pem_all.c
347
RSA *
crypto/libressl/crypto/pem/pem_all.c
348
PEM_read_bio_RSAPublicKey(BIO *bp, RSA **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
355
PEM_write_bio_RSAPublicKey(BIO *bp, const RSA *x)
crypto/libressl/crypto/pem/pem_all.c
361
RSA *
crypto/libressl/crypto/pem/pem_all.c
362
PEM_read_RSA_PUBKEY(FILE *fp, RSA **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
369
PEM_write_RSA_PUBKEY(FILE *fp, RSA *x)
crypto/libressl/crypto/pem/pem_all.c
375
RSA *
crypto/libressl/crypto/pem/pem_all.c
376
PEM_read_bio_RSA_PUBKEY(BIO *bp, RSA **x, pem_password_cb *cb, void *u)
crypto/libressl/crypto/pem/pem_all.c
383
PEM_write_bio_RSA_PUBKEY(BIO *bp, RSA *x)
crypto/libressl/crypto/pem/pvkfmt.c
369
RSA *rsa = NULL;
crypto/libressl/crypto/pem/pvkfmt.c
475
static int check_bitlen_rsa(RSA *rsa, int ispub, unsigned int *magic);
crypto/libressl/crypto/pem/pvkfmt.c
478
static void write_rsa(unsigned char **out, RSA *rsa, int ispub);
crypto/libressl/crypto/pem/pvkfmt.c
573
check_bitlen_rsa(RSA *rsa, int ispub, unsigned int *pmagic)
crypto/libressl/crypto/pem/pvkfmt.c
607
write_rsa(unsigned char **out, RSA *rsa, int ispub)
crypto/libressl/crypto/rsa/rsa_ameth.c
113
rsa_param_decode(RSA *rsa, const X509_ALGOR *alg)
crypto/libressl/crypto/rsa/rsa_ameth.c
162
RSA *rsa = NULL;
crypto/libressl/crypto/rsa/rsa_ameth.c
194
RSA *rsa;
crypto/libressl/crypto/rsa/rsa_ameth.c
242
RSA *rsa;
crypto/libressl/crypto/rsa/rsa_ameth.c
424
const RSA *x = pkey->pkey.rsa;
crypto/libressl/crypto/rsa/rsa_ameth.c
87
const RSA *rsa = pkey->pkey.rsa;
crypto/libressl/crypto/rsa/rsa_asn1.c
104
.offset = offsetof(RSA, n),
crypto/libressl/crypto/rsa/rsa_asn1.c
111
.offset = offsetof(RSA, e),
crypto/libressl/crypto/rsa/rsa_asn1.c
118
.offset = offsetof(RSA, d),
crypto/libressl/crypto/rsa/rsa_asn1.c
125
.offset = offsetof(RSA, p),
crypto/libressl/crypto/rsa/rsa_asn1.c
132
.offset = offsetof(RSA, q),
crypto/libressl/crypto/rsa/rsa_asn1.c
139
.offset = offsetof(RSA, dmp1),
crypto/libressl/crypto/rsa/rsa_asn1.c
146
.offset = offsetof(RSA, dmq1),
crypto/libressl/crypto/rsa/rsa_asn1.c
153
.offset = offsetof(RSA, iqmp),
crypto/libressl/crypto/rsa/rsa_asn1.c
165
.size = sizeof(RSA),
crypto/libressl/crypto/rsa/rsa_asn1.c
182
.offset = offsetof(RSA, n),
crypto/libressl/crypto/rsa/rsa_asn1.c
189
.offset = offsetof(RSA, e),
crypto/libressl/crypto/rsa/rsa_asn1.c
201
.size = sizeof(RSA),
crypto/libressl/crypto/rsa/rsa_asn1.c
371
RSA *
crypto/libressl/crypto/rsa/rsa_asn1.c
372
d2i_RSAPrivateKey(RSA **a, const unsigned char **in, long len)
crypto/libressl/crypto/rsa/rsa_asn1.c
374
return (RSA *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/rsa/rsa_asn1.c
379
i2d_RSAPrivateKey(const RSA *a, unsigned char **out)
crypto/libressl/crypto/rsa/rsa_asn1.c
385
RSA *
crypto/libressl/crypto/rsa/rsa_asn1.c
386
d2i_RSAPublicKey(RSA **a, const unsigned char **in, long len)
crypto/libressl/crypto/rsa/rsa_asn1.c
388
return (RSA *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,
crypto/libressl/crypto/rsa/rsa_asn1.c
393
i2d_RSAPublicKey(const RSA *a, unsigned char **out)
crypto/libressl/crypto/rsa/rsa_asn1.c
398
RSA *
crypto/libressl/crypto/rsa/rsa_asn1.c
399
RSAPublicKey_dup(RSA *rsa)
crypto/libressl/crypto/rsa/rsa_asn1.c
404
RSA *
crypto/libressl/crypto/rsa/rsa_asn1.c
405
RSAPrivateKey_dup(RSA *rsa)
crypto/libressl/crypto/rsa/rsa_asn1.c
78
RSA_free((RSA *)*pval);
crypto/libressl/crypto/rsa/rsa_asn1.c
97
.offset = offsetof(RSA, version),
crypto/libressl/crypto/rsa/rsa_chk.c
59
RSA_check_key(const RSA *key)
crypto/libressl/crypto/rsa/rsa_crpt.c
104
RSA *rsa, int padding)
crypto/libressl/crypto/rsa/rsa_crpt.c
111
RSA *rsa, int padding)
crypto/libressl/crypto/rsa/rsa_crpt.c
117
RSA_flags(const RSA *r)
crypto/libressl/crypto/rsa/rsa_crpt.c
123
RSA_blinding_off(RSA *rsa)
crypto/libressl/crypto/rsa/rsa_crpt.c
131
RSA_blinding_on(RSA *rsa, BN_CTX *ctx)
crypto/libressl/crypto/rsa/rsa_crpt.c
179
RSA_setup_blinding(RSA *rsa, BN_CTX *in_ctx)
crypto/libressl/crypto/rsa/rsa_crpt.c
77
RSA_bits(const RSA *r)
crypto/libressl/crypto/rsa/rsa_crpt.c
83
RSA_size(const RSA *r)
crypto/libressl/crypto/rsa/rsa_crpt.c
90
RSA *rsa, int padding)
crypto/libressl/crypto/rsa/rsa_crpt.c
97
RSA *rsa, int padding)
crypto/libressl/crypto/rsa/rsa_depr.c
71
RSA *
crypto/libressl/crypto/rsa/rsa_depr.c
77
RSA *rsa = RSA_new();
crypto/libressl/crypto/rsa/rsa_eay.c
125
unsigned char *to, RSA *rsa, int padding);
crypto/libressl/crypto/rsa/rsa_eay.c
127
unsigned char *to, RSA *rsa, int padding);
crypto/libressl/crypto/rsa/rsa_eay.c
129
unsigned char *to, RSA *rsa, int padding);
crypto/libressl/crypto/rsa/rsa_eay.c
131
unsigned char *to, RSA *rsa, int padding);
crypto/libressl/crypto/rsa/rsa_eay.c
132
static int RSA_eay_mod_exp(BIGNUM *r0, const BIGNUM *i, RSA *rsa, BN_CTX *ctx);
crypto/libressl/crypto/rsa/rsa_eay.c
133
static int RSA_eay_init(RSA *rsa);
crypto/libressl/crypto/rsa/rsa_eay.c
134
static int RSA_eay_finish(RSA *rsa);
crypto/libressl/crypto/rsa/rsa_eay.c
162
RSA *rsa, int padding)
crypto/libressl/crypto/rsa/rsa_eay.c
256
rsa_get_blinding(RSA *rsa, int *local, BN_CTX *ctx)
crypto/libressl/crypto/rsa/rsa_eay.c
351
RSA *rsa, int padding)
crypto/libressl/crypto/rsa/rsa_eay.c
478
RSA *rsa, int padding)
crypto/libressl/crypto/rsa/rsa_eay.c
602
RSA *rsa, int padding)
crypto/libressl/crypto/rsa/rsa_eay.c
700
RSA_eay_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx)
crypto/libressl/crypto/rsa/rsa_eay.c
850
RSA_eay_init(RSA *rsa)
crypto/libressl/crypto/rsa/rsa_eay.c
857
RSA_eay_finish(RSA *rsa)
crypto/libressl/crypto/rsa/rsa_gen.c
75
static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb);
crypto/libressl/crypto/rsa/rsa_gen.c
85
RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb)
crypto/libressl/crypto/rsa/rsa_gen.c
93
rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb)
crypto/libressl/crypto/rsa/rsa_lib.c
103
RSA_get_method(const RSA *rsa)
crypto/libressl/crypto/rsa/rsa_lib.c
109
RSA_set_method(RSA *rsa, const RSA_METHOD *meth)
crypto/libressl/crypto/rsa/rsa_lib.c
130
RSA *
crypto/libressl/crypto/rsa/rsa_lib.c
133
RSA *ret;
crypto/libressl/crypto/rsa/rsa_lib.c
135
if ((ret = calloc(1, sizeof(RSA))) == NULL) {
crypto/libressl/crypto/rsa/rsa_lib.c
184
RSA_free(RSA *r)
crypto/libressl/crypto/rsa/rsa_lib.c
218
RSA_up_ref(RSA *r)
crypto/libressl/crypto/rsa/rsa_lib.c
233
RSA_set_ex_data(RSA *r, int idx, void *arg)
crypto/libressl/crypto/rsa/rsa_lib.c
239
RSA_get_ex_data(const RSA *r, int idx)
crypto/libressl/crypto/rsa/rsa_lib.c
245
RSA_security_bits(const RSA *rsa)
crypto/libressl/crypto/rsa/rsa_lib.c
251
RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d)
crypto/libressl/crypto/rsa/rsa_lib.c
262
RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
crypto/libressl/crypto/rsa/rsa_lib.c
284
RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1,
crypto/libressl/crypto/rsa/rsa_lib.c
296
RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp)
crypto/libressl/crypto/rsa/rsa_lib.c
320
RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q)
crypto/libressl/crypto/rsa/rsa_lib.c
329
RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q)
crypto/libressl/crypto/rsa/rsa_lib.c
347
RSA_get0_n(const RSA *r)
crypto/libressl/crypto/rsa/rsa_lib.c
353
RSA_get0_e(const RSA *r)
crypto/libressl/crypto/rsa/rsa_lib.c
359
RSA_get0_d(const RSA *r)
crypto/libressl/crypto/rsa/rsa_lib.c
365
RSA_get0_p(const RSA *r)
crypto/libressl/crypto/rsa/rsa_lib.c
371
RSA_get0_q(const RSA *r)
crypto/libressl/crypto/rsa/rsa_lib.c
377
RSA_get0_dmp1(const RSA *r)
crypto/libressl/crypto/rsa/rsa_lib.c
383
RSA_get0_dmq1(const RSA *r)
crypto/libressl/crypto/rsa/rsa_lib.c
389
RSA_get0_iqmp(const RSA *r)
crypto/libressl/crypto/rsa/rsa_lib.c
395
RSA_get0_pss_params(const RSA *r)
crypto/libressl/crypto/rsa/rsa_lib.c
401
RSA_clear_flags(RSA *r, int flags)
crypto/libressl/crypto/rsa/rsa_lib.c
407
RSA_test_flags(const RSA *r, int flags)
crypto/libressl/crypto/rsa/rsa_lib.c
413
RSA_set_flags(RSA *r, int flags)
crypto/libressl/crypto/rsa/rsa_lib.c
79
RSA *
crypto/libressl/crypto/rsa/rsa_lib.c
82
RSA *r = RSA_new_method(NULL);
crypto/libressl/crypto/rsa/rsa_locl.h
14
unsigned char *to, RSA *rsa, int padding);
crypto/libressl/crypto/rsa/rsa_locl.h
16
unsigned char *to, RSA *rsa, int padding);
crypto/libressl/crypto/rsa/rsa_locl.h
18
unsigned char *to, RSA *rsa, int padding);
crypto/libressl/crypto/rsa/rsa_locl.h
20
unsigned char *to, RSA *rsa, int padding);
crypto/libressl/crypto/rsa/rsa_locl.h
21
int (*rsa_mod_exp)(BIGNUM *r0, const BIGNUM *I, RSA *rsa,
crypto/libressl/crypto/rsa/rsa_locl.h
25
int (*init)(RSA *rsa); /* called at new */
crypto/libressl/crypto/rsa/rsa_locl.h
26
int (*finish)(RSA *rsa); /* called at free */
crypto/libressl/crypto/rsa/rsa_locl.h
37
unsigned char *sigret, unsigned int *siglen, const RSA *rsa);
crypto/libressl/crypto/rsa/rsa_locl.h
40
unsigned int siglen, const RSA *rsa);
crypto/libressl/crypto/rsa/rsa_locl.h
45
int (*rsa_keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
crypto/libressl/crypto/rsa/rsa_locl.h
92
const unsigned char *sigbuf, size_t siglen, RSA *rsa);
crypto/libressl/crypto/rsa/rsa_meth.c
103
RSA_meth_set_finish(RSA_METHOD *meth, int (*finish)(RSA *rsa))
crypto/libressl/crypto/rsa/rsa_meth.c
111
const unsigned char *from, unsigned char *to, RSA *rsa, int padding))
crypto/libressl/crypto/rsa/rsa_meth.c
119
const unsigned char *from, unsigned char *to, RSA *rsa, int padding))
crypto/libressl/crypto/rsa/rsa_meth.c
127
const BIGNUM *i, RSA *rsa, BN_CTX *ctx))
crypto/libressl/crypto/rsa/rsa_meth.c
143
RSA_meth_set_init(RSA_METHOD *meth, int (*init)(RSA *rsa))
crypto/libressl/crypto/rsa/rsa_meth.c
150
RSA_meth_set_keygen(RSA_METHOD *meth, int (*keygen)(RSA *rsa, int bits,
crypto/libressl/crypto/rsa/rsa_meth.c
179
const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
crypto/libressl/crypto/rsa/rsa_meth.c
186
const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
crypto/libressl/crypto/rsa/rsa_meth.c
193
const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
crypto/libressl/crypto/rsa/rsa_meth.c
200
const unsigned char *from, unsigned char *to, RSA *rsa, int padding)
crypto/libressl/crypto/rsa/rsa_meth.c
207
RSA *rsa, BN_CTX *ctx)
crypto/libressl/crypto/rsa/rsa_meth.c
221
(*RSA_meth_get_init(const RSA_METHOD *meth))(RSA *rsa)
crypto/libressl/crypto/rsa/rsa_meth.c
227
(*RSA_meth_get_keygen(const RSA_METHOD *meth))(RSA *rsa, int bits, BIGNUM *e,
crypto/libressl/crypto/rsa/rsa_meth.c
249
const RSA *rsa)
crypto/libressl/crypto/rsa/rsa_meth.c
257
unsigned int *siglen, const RSA *rsa))
crypto/libressl/crypto/rsa/rsa_meth.c
266
unsigned int siglen, const RSA *rsa)
crypto/libressl/crypto/rsa/rsa_meth.c
274
unsigned int siglen, const RSA *rsa))
crypto/libressl/crypto/rsa/rsa_meth.c
81
(*RSA_meth_get_finish(const RSA_METHOD *meth))(RSA *rsa)
crypto/libressl/crypto/rsa/rsa_meth.c
88
const unsigned char *from, unsigned char *to, RSA *rsa, int padding))
crypto/libressl/crypto/rsa/rsa_meth.c
96
const unsigned char *from, unsigned char *to, RSA *rsa, int padding))
crypto/libressl/crypto/rsa/rsa_pmeth.c
192
RSA *rsa = ctx->pkey->pkey.rsa;
crypto/libressl/crypto/rsa/rsa_pmeth.c
296
RSA *rsa = ctx->pkey->pkey.rsa;
crypto/libressl/crypto/rsa/rsa_pmeth.c
723
rsa_set_pss_param(RSA *rsa, EVP_PKEY_CTX *ctx)
crypto/libressl/crypto/rsa/rsa_pmeth.c
746
RSA *rsa = NULL;
crypto/libressl/crypto/rsa/rsa_pmeth.c
809
RSA *rsa;
crypto/libressl/crypto/rsa/rsa_prn.c
66
RSA_print_fp(FILE *fp, const RSA *x, int off)
crypto/libressl/crypto/rsa/rsa_prn.c
82
RSA_print(BIO *bp, const RSA *x, int off)
crypto/libressl/crypto/rsa/rsa_prn.c
88
if (!pk || !EVP_PKEY_set1_RSA(pk, (RSA *)x))
crypto/libressl/crypto/rsa/rsa_pss.c
183
RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM,
crypto/libressl/crypto/rsa/rsa_pss.c
190
RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM,
crypto/libressl/crypto/rsa/rsa_pss.c
75
RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash, const EVP_MD *Hash,
crypto/libressl/crypto/rsa/rsa_pss.c
82
RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash,
crypto/libressl/crypto/rsa/rsa_sign.c
127
unsigned char *sigret, unsigned int *siglen, RSA *rsa)
crypto/libressl/crypto/rsa/rsa_sign.c
181
size_t siglen, RSA *rsa)
crypto/libressl/crypto/rsa/rsa_sign.c
271
const unsigned char *sigbuf, unsigned int siglen, RSA *rsa)
crypto/libressl/crypto/x509/x_all.c
175
RSA *
crypto/libressl/crypto/x509/x_all.c
176
d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa)
crypto/libressl/crypto/x509/x_all.c
182
i2d_RSAPrivateKey_bio(BIO *bp, RSA *rsa)
crypto/libressl/crypto/x509/x_all.c
187
RSA *
crypto/libressl/crypto/x509/x_all.c
188
d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa)
crypto/libressl/crypto/x509/x_all.c
194
i2d_RSAPrivateKey_fp(FILE *fp, RSA *rsa)
crypto/libressl/crypto/x509/x_all.c
199
RSA *
crypto/libressl/crypto/x509/x_all.c
200
d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa)
crypto/libressl/crypto/x509/x_all.c
206
i2d_RSAPublicKey_bio(BIO *bp, RSA *rsa)
crypto/libressl/crypto/x509/x_all.c
211
RSA *
crypto/libressl/crypto/x509/x_all.c
212
d2i_RSAPublicKey_fp(FILE *fp, RSA **rsa)
crypto/libressl/crypto/x509/x_all.c
218
i2d_RSAPublicKey_fp(FILE *fp, RSA *rsa)
crypto/libressl/include/openssl/pem.h
436
DECLARE_PEM_rw_cb(RSAPrivateKey, RSA)
crypto/libressl/include/openssl/pem.h
438
DECLARE_PEM_rw_const(RSAPublicKey, RSA)
crypto/libressl/include/openssl/pem.h
439
DECLARE_PEM_rw(RSA_PUBKEY, RSA)
crypto/libressl/include/openssl/rsa.h
238
RSA *RSA_new(void);
crypto/libressl/include/openssl/rsa.h
239
RSA *RSA_new_method(ENGINE *engine);
crypto/libressl/include/openssl/rsa.h
240
int RSA_bits(const RSA *rsa);
crypto/libressl/include/openssl/rsa.h
241
int RSA_size(const RSA *rsa);
crypto/libressl/include/openssl/rsa.h
245
RSA *RSA_generate_key(int bits, unsigned long e,
crypto/libressl/include/openssl/rsa.h
250
int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
crypto/libressl/include/openssl/rsa.h
252
int RSA_check_key(const RSA *);
crypto/libressl/include/openssl/rsa.h
255
unsigned char *to, RSA *rsa, int padding);
crypto/libressl/include/openssl/rsa.h
257
unsigned char *to, RSA *rsa, int padding);
crypto/libressl/include/openssl/rsa.h
259
unsigned char *to, RSA *rsa, int padding);
crypto/libressl/include/openssl/rsa.h
261
unsigned char *to, RSA *rsa, int padding);
crypto/libressl/include/openssl/rsa.h
262
void RSA_free(RSA *r);
crypto/libressl/include/openssl/rsa.h
264
int RSA_up_ref(RSA *r);
crypto/libressl/include/openssl/rsa.h
266
int RSA_flags(const RSA *r);
crypto/libressl/include/openssl/rsa.h
270
const RSA_METHOD *RSA_get_method(const RSA *rsa);
crypto/libressl/include/openssl/rsa.h
271
int RSA_set_method(RSA *rsa, const RSA_METHOD *meth);
crypto/libressl/include/openssl/rsa.h
280
RSA *d2i_RSAPublicKey(RSA **a, const unsigned char **in, long len);
crypto/libressl/include/openssl/rsa.h
281
int i2d_RSAPublicKey(const RSA *a, unsigned char **out);
crypto/libressl/include/openssl/rsa.h
283
RSA *d2i_RSAPrivateKey(RSA **a, const unsigned char **in, long len);
crypto/libressl/include/openssl/rsa.h
284
int i2d_RSAPrivateKey(const RSA *a, unsigned char **out);
crypto/libressl/include/openssl/rsa.h
299
int RSA_print_fp(FILE *fp, const RSA *r, int offset);
crypto/libressl/include/openssl/rsa.h
302
int RSA_print(BIO *bp, const RSA *r, int offset);
crypto/libressl/include/openssl/rsa.h
308
unsigned char *sigret, unsigned int *siglen, RSA *rsa);
crypto/libressl/include/openssl/rsa.h
310
const unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
crypto/libressl/include/openssl/rsa.h
316
RSA *rsa);
crypto/libressl/include/openssl/rsa.h
319
RSA *rsa);
crypto/libressl/include/openssl/rsa.h
321
int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
crypto/libressl/include/openssl/rsa.h
322
void RSA_blinding_off(RSA *rsa);
crypto/libressl/include/openssl/rsa.h
323
BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *ctx);
crypto/libressl/include/openssl/rsa.h
357
int RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash,
crypto/libressl/include/openssl/rsa.h
359
int RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM,
crypto/libressl/include/openssl/rsa.h
362
int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash,
crypto/libressl/include/openssl/rsa.h
366
int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM,
crypto/libressl/include/openssl/rsa.h
372
int RSA_set_ex_data(RSA *r, int idx, void *arg);
crypto/libressl/include/openssl/rsa.h
373
void *RSA_get_ex_data(const RSA *r, int idx);
crypto/libressl/include/openssl/rsa.h
375
int RSA_security_bits(const RSA *rsa);
crypto/libressl/include/openssl/rsa.h
377
void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e,
crypto/libressl/include/openssl/rsa.h
379
int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
crypto/libressl/include/openssl/rsa.h
380
void RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1,
crypto/libressl/include/openssl/rsa.h
382
int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp);
crypto/libressl/include/openssl/rsa.h
383
void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
crypto/libressl/include/openssl/rsa.h
384
int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
crypto/libressl/include/openssl/rsa.h
385
const BIGNUM *RSA_get0_n(const RSA *r);
crypto/libressl/include/openssl/rsa.h
386
const BIGNUM *RSA_get0_e(const RSA *r);
crypto/libressl/include/openssl/rsa.h
387
const BIGNUM *RSA_get0_d(const RSA *r);
crypto/libressl/include/openssl/rsa.h
388
const BIGNUM *RSA_get0_p(const RSA *r);
crypto/libressl/include/openssl/rsa.h
389
const BIGNUM *RSA_get0_q(const RSA *r);
crypto/libressl/include/openssl/rsa.h
390
const BIGNUM *RSA_get0_dmp1(const RSA *r);
crypto/libressl/include/openssl/rsa.h
391
const BIGNUM *RSA_get0_dmq1(const RSA *r);
crypto/libressl/include/openssl/rsa.h
392
const BIGNUM *RSA_get0_iqmp(const RSA *r);
crypto/libressl/include/openssl/rsa.h
393
const RSA_PSS_PARAMS *RSA_get0_pss_params(const RSA *r);
crypto/libressl/include/openssl/rsa.h
394
void RSA_clear_flags(RSA *r, int flags);
crypto/libressl/include/openssl/rsa.h
395
int RSA_test_flags(const RSA *r, int flags);
crypto/libressl/include/openssl/rsa.h
396
void RSA_set_flags(RSA *r, int flags);
crypto/libressl/include/openssl/rsa.h
398
RSA *RSAPublicKey_dup(RSA *rsa);
crypto/libressl/include/openssl/rsa.h
399
RSA *RSAPrivateKey_dup(RSA *rsa);
crypto/libressl/include/openssl/rsa.h
425
const unsigned char *from, unsigned char *to, RSA *rsa, int padding));
crypto/libressl/include/openssl/rsa.h
427
const unsigned char *from, unsigned char *to, RSA *rsa, int padding));
crypto/libressl/include/openssl/rsa.h
428
int (*RSA_meth_get_finish(const RSA_METHOD *meth))(RSA *rsa);
crypto/libressl/include/openssl/rsa.h
429
int RSA_meth_set_finish(RSA_METHOD *meth, int (*finish)(RSA *rsa));
crypto/libressl/include/openssl/rsa.h
431
const unsigned char *from, unsigned char *to, RSA *rsa, int padding));
crypto/libressl/include/openssl/rsa.h
433
const unsigned char *from, unsigned char *to, RSA *rsa, int padding));
crypto/libressl/include/openssl/rsa.h
435
const BIGNUM *i, RSA *rsa, BN_CTX *ctx));
crypto/libressl/include/openssl/rsa.h
439
int RSA_meth_set_init(RSA_METHOD *meth, int (*init)(RSA *rsa));
crypto/libressl/include/openssl/rsa.h
440
int RSA_meth_set_keygen(RSA_METHOD *meth, int (*keygen)(RSA *rsa, int bits,
crypto/libressl/include/openssl/rsa.h
446
const unsigned char *from, unsigned char *to, RSA *rsa, int padding);
crypto/libressl/include/openssl/rsa.h
448
const unsigned char *from, unsigned char *to, RSA *rsa, int padding);
crypto/libressl/include/openssl/rsa.h
450
const unsigned char *from, unsigned char *to, RSA *rsa, int padding);
crypto/libressl/include/openssl/rsa.h
452
const unsigned char *from, unsigned char *to, RSA *rsa, int padding);
crypto/libressl/include/openssl/rsa.h
454
RSA *rsa, BN_CTX *ctx);
crypto/libressl/include/openssl/rsa.h
458
int (*RSA_meth_get_init(const RSA_METHOD *meth))(RSA *rsa);
crypto/libressl/include/openssl/rsa.h
459
int (*RSA_meth_get_keygen(const RSA_METHOD *meth))(RSA *rsa, int bits, BIGNUM *e,
crypto/libressl/include/openssl/rsa.h
466
const RSA *rsa);
crypto/libressl/include/openssl/rsa.h
469
unsigned int *siglen, const RSA *rsa));
crypto/libressl/include/openssl/rsa.h
472
unsigned int siglen, const RSA *rsa);
crypto/libressl/include/openssl/rsa.h
475
unsigned int siglen, const RSA *rsa));
crypto/libressl/include/openssl/ssl.h
1179
int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa);
crypto/libressl/include/openssl/ssl.h
1264
int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa);
crypto/libressl/include/openssl/ssl.h
1485
RSA *(*cb)(SSL *ssl, int is_export, int keylength));
crypto/libressl/include/openssl/ssl.h
1488
RSA *(*cb)(SSL *ssl, int is_export, int keylength));
crypto/libressl/include/openssl/x509.h
482
RSA *d2i_RSAPrivateKey_fp(FILE *fp,RSA **rsa);
crypto/libressl/include/openssl/x509.h
483
int i2d_RSAPrivateKey_fp(FILE *fp,RSA *rsa);
crypto/libressl/include/openssl/x509.h
484
RSA *d2i_RSAPublicKey_fp(FILE *fp,RSA **rsa);
crypto/libressl/include/openssl/x509.h
485
int i2d_RSAPublicKey_fp(FILE *fp,RSA *rsa);
crypto/libressl/include/openssl/x509.h
486
RSA *d2i_RSA_PUBKEY_fp(FILE *fp,RSA **rsa);
crypto/libressl/include/openssl/x509.h
487
int i2d_RSA_PUBKEY_fp(FILE *fp,RSA *rsa);
crypto/libressl/include/openssl/x509.h
520
RSA *d2i_RSAPrivateKey_bio(BIO *bp,RSA **rsa);
crypto/libressl/include/openssl/x509.h
521
int i2d_RSAPrivateKey_bio(BIO *bp,RSA *rsa);
crypto/libressl/include/openssl/x509.h
522
RSA *d2i_RSAPublicKey_bio(BIO *bp,RSA **rsa);
crypto/libressl/include/openssl/x509.h
523
int i2d_RSAPublicKey_bio(BIO *bp,RSA *rsa);
crypto/libressl/include/openssl/x509.h
524
RSA *d2i_RSA_PUBKEY_bio(BIO *bp,RSA **rsa);
crypto/libressl/include/openssl/x509.h
525
int i2d_RSA_PUBKEY_bio(BIO *bp,RSA *rsa);
crypto/libressl/include/openssl/x509.h
613
int i2d_RSA_PUBKEY(RSA *a,unsigned char **pp);
crypto/libressl/include/openssl/x509.h
614
RSA * d2i_RSA_PUBKEY(RSA **a,const unsigned char **pp,
crypto/libressl/ssl/ssl_clnt.c
1778
RSA *rsa;
crypto/libressl/ssl/ssl_clnt.c
2150
RSA *rsa;
crypto/libressl/ssl/ssl_lib.c
3294
SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx, RSA *(*cb)(SSL *ssl, int is_export,
crypto/libressl/ssl/ssl_lib.c
3301
SSL_set_tmp_rsa_callback(SSL *ssl, RSA *(*cb)(SSL *ssl, int is_export,
crypto/libressl/ssl/ssl_rsa.c
148
SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa)
crypto/libressl/ssl/ssl_rsa.c
228
RSA *rsa = NULL;
crypto/libressl/ssl/ssl_rsa.c
267
RSA *rsa;
crypto/libressl/ssl/ssl_rsa.c
497
SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa)
crypto/libressl/ssl/ssl_rsa.c
524
RSA *rsa = NULL;
crypto/libressl/ssl/ssl_rsa.c
563
RSA *rsa;
crypto/libressl/ssl/ssl_srvr.c
1630
RSA *rsa = NULL;
crypto/libressl/ssl/ssl_srvr.c
2049
RSA *rsa;
crypto/libressl/tls/tls.c
392
RSA *rsa = NULL;
crypto/libressl/tls/tls_signer.c
29
RSA *rsa;
crypto/libressl/tls/tls_signer.c
310
RSA *rsa, int rsa_padding)
crypto/openssh/ssh-keygen.c
746
RSA *rsa;
crypto/openssh/ssh-pkcs11-client.c
253
rsa_encrypt(int flen, const u_char *from, u_char *to, RSA *rsa, int padding)
crypto/openssh/ssh-pkcs11-client.c
306
rsa_finish(RSA *rsa)
crypto/openssh/ssh-pkcs11-client.c
68
int (*rsa_finish)(RSA *rsa);
crypto/openssh/ssh-pkcs11-client.c
91
helper_by_rsa(const RSA *rsa)
crypto/openssh/ssh-pkcs11.c
1077
have_rsa_key(const RSA *rsa)
crypto/openssh/ssh-pkcs11.c
422
pkcs11_rsa_private_encrypt(int flen, const u_char *from, u_char *to, RSA *rsa,
crypto/openssh/ssh-pkcs11.c
457
pkcs11_rsa_private_decrypt(int flen, const u_char *from, u_char *to, RSA *rsa,
crypto/openssh/ssh-pkcs11.c
487
CK_ATTRIBUTE *keyid_attrib, RSA *rsa)
crypto/openssh/ssh-pkcs11.c
834
RSA *rsa = NULL;
crypto/openssh/ssh-pkcs11.c
926
RSA *rsa = NULL;
crypto/openssh/ssh-rsa.c
134
RSA *private = NULL;
crypto/openssh/ssh-rsa.c
39
static int openssh_RSA_verify(int, u_char *, size_t, u_char *, size_t, RSA *);
crypto/openssh/ssh-rsa.c
634
u_char *sigbuf, size_t siglen, RSA *rsa)
crypto/openssh/sshkey.h
129
RSA *rsa;
crypto/openssh/sshkey.h
334
int check_rsa_length(const RSA *rsa); /* XXX remove */
lib/libdmsg/crypto.c
350
RSA *keys[3] = { NULL, NULL, NULL };
lib/libssh/openbsd-compat/openssl-compat.h
105
void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e,
lib/libssh/openbsd-compat/openssl-compat.h
110
int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
lib/libssh/openbsd-compat/openssl-compat.h
114
void RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1,
lib/libssh/openbsd-compat/openssl-compat.h
119
int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp);
lib/libssh/openbsd-compat/openssl-compat.h
123
void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
lib/libssh/openbsd-compat/openssl-compat.h
127
int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
lib/libssh/openbsd-compat/openssl-compat.h
182
int (*RSA_meth_get_finish(const RSA_METHOD *meth))(RSA *rsa);
lib/libssh/openbsd-compat/openssl-compat.h
187
const unsigned char *from, unsigned char *to, RSA *rsa, int padding));
lib/libssh/openbsd-compat/openssl-compat.h
192
const unsigned char *from, unsigned char *to, RSA *rsa, int padding));
lib/libssh/openbsd-compat/openssl-compat.h
196
int RSA_meth_set_finish(RSA_METHOD *meth, int (*finish)(RSA *rsa));
lib/libssh/openbsd-compat/openssl-compat.h
200
RSA *EVP_PKEY_get0_RSA(EVP_PKEY *pkey);
sbin/hammer2/cmd_rsa.c
121
RSA **keys = calloc(nkeys, sizeof(RSA *));
sbin/hammer2/cmd_rsa.c
256
RSA **keys = calloc(nkeys, sizeof(RSA *));