Lines Matching refs:RSA

13 - Routines for getting and setting data in an RSA object
23 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
24 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
25 int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp);
26 void RSA_get0_key(const RSA *r,
28 void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
29 void RSA_get0_crt_params(const RSA *r,
32 const BIGNUM *RSA_get0_n(const RSA *d);
33 const BIGNUM *RSA_get0_e(const RSA *d);
34 const BIGNUM *RSA_get0_d(const RSA *d);
35 const BIGNUM *RSA_get0_p(const RSA *d);
36 const BIGNUM *RSA_get0_q(const RSA *d);
37 const BIGNUM *RSA_get0_dmp1(const RSA *r);
38 const BIGNUM *RSA_get0_dmq1(const RSA *r);
39 const BIGNUM *RSA_get0_iqmp(const RSA *r);
40 const RSA_PSS_PARAMS *RSA_get0_pss_params(const RSA *r);
41 void RSA_clear_flags(RSA *r, int flags);
42 int RSA_test_flags(const RSA *r, int flags);
43 void RSA_set_flags(RSA *r, int flags);
44 ENGINE *RSA_get0_engine(RSA *r);
45 int RSA_get_multi_prime_extra_count(const RSA *r);
46 int RSA_get0_multi_prime_factors(const RSA *r, const BIGNUM *primes[]);
47 int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[],
49 int RSA_set0_multi_prime_params(RSA *r, BIGNUM *primes[], BIGNUM *exps[],
51 int RSA_get_version(RSA *r);
59 An RSA object contains the components for the public and private key,
68 For multi-prime RSA (defined in RFC 8017), there are also one or more
69 'triplet' in an RSA object. A triplet contains three members, B<r>, B<d>
83 the first time this function is called on a given RSA object. The
85 NULL which means the corresponding RSA field is left untouched.
87 the RSA object, and therefore the values that have been passed in
99 For multi-prime RSA, RSA_get0_multi_prime_factors() and RSA_get0_multi_prime_params()
103 into an RSA object.
110 RSA_get0_pss_params() is used to retrieve the RSA-PSS parameters.
112 RSA_set_flags() sets the flags in the B<flags> parameter on the RSA
116 set in the RSA object. Multiple flags can be tested in one go. All
119 RSA object.
122 this RSA object, or NULL if no such ENGINE has been set.
124 RSA_get_version() returns the version of an RSA object B<r>.
128 Values retrieved with RSA_get0_key() are owned by the RSA object used
139 triplets in RSA object B<r> and assign the new set of triplets into it.
157 in use, which is 0 for traditional RSA and the number of extra primes for
158 multi-prime RSA.
160 RSA_get_version() returns B<RSA_ASN1_VERSION_MULTI> for multi-prime RSA and
161 B<RSA_ASN1_VERSION_DEFAULT> for normal two-prime RSA, as defined in RFC 8017.
163 RSA_test_flags() returns the current state of the flags in the RSA object.
165 RSA_get0_engine() returns the ENGINE set for the RSA object or NULL if no