Lines Matching full:rsa

148 \&\- Routines for getting and setting data in an RSA object
152 \& #include <openssl/rsa.h>
160 \& int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
161 \& int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
162 \& int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp);
163 \& void RSA_get0_key(const RSA *r,
165 \& void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q);
166 \& void RSA_get0_crt_params(const RSA *r,
169 \& const BIGNUM *RSA_get0_n(const RSA *d);
170 \& const BIGNUM *RSA_get0_e(const RSA *d);
171 \& const BIGNUM *RSA_get0_d(const RSA *d);
172 \& const BIGNUM *RSA_get0_p(const RSA *d);
173 \& const BIGNUM *RSA_get0_q(const RSA *d);
174 \& const BIGNUM *RSA_get0_dmp1(const RSA *r);
175 \& const BIGNUM *RSA_get0_dmq1(const RSA *r);
176 \& const BIGNUM *RSA_get0_iqmp(const RSA *r);
177 \& const RSA_PSS_PARAMS *RSA_get0_pss_params(const RSA *r);
178 \& void RSA_clear_flags(RSA *r, int flags);
179 \& int RSA_test_flags(const RSA *r, int flags);
180 \& void RSA_set_flags(RSA *r, int flags);
181 \& ENGINE *RSA_get0_engine(RSA *r);
182 \& int RSA_get_multi_prime_extra_count(const RSA *r);
183 \& int RSA_get0_multi_prime_factors(const RSA *r, const BIGNUM *primes[]);
184 \& int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[],
186 \& int RSA_set0_multi_prime_params(RSA *r, BIGNUM *primes[], BIGNUM *exps[],
188 \& int RSA_get_version(RSA *r);
196 An \s-1RSA\s0 object contains the components for the public and private key,
205 For multi-prime \s-1RSA\s0 (defined in \s-1RFC 8017\s0), there are also one or more
206 \&'triplet' in an \s-1RSA\s0 object. A triplet contains three members, \fBr\fR, \fBd\fR
220 the first time this function is called on a given \s-1RSA\s0 object. The
222 \&\s-1NULL\s0 which means the corresponding \s-1RSA\s0 field is left untouched.
224 the \s-1RSA\s0 object, and therefore the values that have been passed in
236 For multi-prime \s-1RSA,\s0 \fBRSA_get0_multi_prime_factors()\fR and \fBRSA_get0_multi_prime_params…
240 into an \s-1RSA\s0 object.
247 \&\fBRSA_get0_pss_params()\fR is used to retrieve the RSA-PSS parameters.
249 \&\fBRSA_set_flags()\fR sets the flags in the \fBflags\fR parameter on the \s-1RSA\s0
253 set in the \s-1RSA\s0 object. Multiple flags can be tested in one go. All
256 \&\s-1RSA\s0 object.
259 this \s-1RSA\s0 object, or \s-1NULL\s0 if no such \s-1ENGINE\s0 has been set.
261 \&\fBRSA_get_version()\fR returns the version of an \s-1RSA\s0 object \fBr\fR.
264 Values retrieved with \fBRSA_get0_key()\fR are owned by the \s-1RSA\s0 object used
275 triplets in \s-1RSA\s0 object \fBr\fR and assign the new set of triplets into it.
292 in use, which is 0 for traditional \s-1RSA\s0 and the number of extra primes for
293 multi-prime \s-1RSA.\s0
295 \&\fBRSA_get_version()\fR returns \fB\s-1RSA_ASN1_VERSION_MULTI\s0\fR for multi-prime \s-1RSA\s0 and
296 \&\fB\s-1RSA_ASN1_VERSION_DEFAULT\s0\fR for normal two-prime \s-1RSA,\s0 as defined in \s-1RFC 8017…
298 \&\fBRSA_test_flags()\fR returns the current state of the flags in the \s-1RSA\s0 object.
300 \&\fBRSA_get0_engine()\fR returns the \s-1ENGINE\s0 set for the \s-1RSA\s0 object or \s-1NULL\s0 if…