Lines Matching refs:RSA
13 - Routines for getting and setting data in an RSA object
19 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
20 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
21 int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp);
22 void RSA_get0_key(const RSA *r,
24 void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
25 void RSA_get0_crt_params(const RSA *r,
28 const BIGNUM *RSA_get0_n(const RSA *d);
29 const BIGNUM *RSA_get0_e(const RSA *d);
30 const BIGNUM *RSA_get0_d(const RSA *d);
31 const BIGNUM *RSA_get0_p(const RSA *d);
32 const BIGNUM *RSA_get0_q(const RSA *d);
33 const BIGNUM *RSA_get0_dmp1(const RSA *r);
34 const BIGNUM *RSA_get0_dmq1(const RSA *r);
35 const BIGNUM *RSA_get0_iqmp(const RSA *r);
36 const RSA_PSS_PARAMS *RSA_get0_pss_params(const RSA *r);
37 void RSA_clear_flags(RSA *r, int flags);
38 int RSA_test_flags(const RSA *r, int flags);
39 void RSA_set_flags(RSA *r, int flags);
40 ENGINE *RSA_get0_engine(RSA *r);
41 int RSA_get_multi_prime_extra_count(const RSA *r);
42 int RSA_get0_multi_prime_factors(const RSA *r, const BIGNUM *primes[]);
43 int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[],
45 int RSA_set0_multi_prime_params(RSA *r, BIGNUM *primes[], BIGNUM *exps[],
47 int RSA_get_version(RSA *r);
51 An RSA object contains the components for the public and private key,
60 For multi-prime RSA (defined in RFC 8017), there are also one or more
61 'triplet' in an RSA object. A triplet contains three members, B<r>, B<d>
75 the first time this function is called on a given RSA object. The
77 NULL which means the corresponding RSA field is left untouched.
79 the RSA object, and therefore the values that have been passed in
91 For multi-prime RSA, RSA_get0_multi_prime_factors() and RSA_get0_multi_prime_params()
95 into an RSA object.
102 RSA_get0_pss_params() is used to retrieve the RSA-PSS parameters.
104 RSA_set_flags() sets the flags in the B<flags> parameter on the RSA
108 set in the RSA object. Multiple flags can be tested in one go. All
111 RSA object.
114 this RSA object, or NULL if no such ENGINE has been set.
116 RSA_get_version() returns the version of an RSA object B<r>.
120 Values retrieved with RSA_get0_key() are owned by the RSA object used
131 triplets in RSA object B<r> and assign the new set of triplets into it.
146 in use, which is 0 for traditional RSA and the number of extra primes for
147 multi-prime RSA.
149 RSA_get_version() returns B<RSA_ASN1_VERSION_MULTI> for multi-prime RSA and
150 B<RSA_ASN1_VERSION_DEFAULT> for normal two-prime RSA, as defined in RFC 8017.
152 RSA_test_flags() returns the current state of the flags in the RSA object.
154 RSA_get0_engine() returns the ENGINE set for the RSA object or NULL if no