Lines Matching full:rsa
142 RSA_new_method \- select RSA method
146 \& #include <openssl/rsa.h>
158 \& int RSA_set_method(RSA *rsa, const RSA_METHOD *meth);
160 \& const RSA_METHOD *RSA_get_method(const RSA *rsa);
164 \& int RSA_flags(const RSA *rsa);
166 \& RSA *RSA_new_method(ENGINE *engine);
173 An \fB\s-1RSA_METHOD\s0\fR specifies the functions that OpenSSL uses for \s-1RSA\s0
176 important information about how these \s-1RSA API\s0 functions are affected by the
182 \&\fBRSA_set_default_method()\fR makes \fBmeth\fR the default method for all \s-1RSA\s0
185 been set as a default for \s-1RSA,\s0 so this function is no longer recommended.
195 \&\fBrsa\fR. This will replace the \s-1RSA_METHOD\s0 used by the \s-1RSA\s0 key and if the
197 be released during the change. It is possible to have \s-1RSA\s0 keys that only
203 \&\fBRSA_get_method()\fR returns a pointer to the \s-1RSA_METHOD\s0 being used by \fBrsa\fR.
206 \&\s-1RSA\s0 key itself is valid and does not have its implementation changed by
209 \&\fBRSA_flags()\fR returns the \fBflags\fR that are set for \fBrsa\fR's current
212 \&\fBRSA_new_method()\fR allocates and initializes an \s-1RSA\s0 structure so that
213 \&\fBengine\fR will be used for the \s-1RSA\s0 operations. If \fBengine\fR is \s-1NULL,\s0 the
214 default \s-1ENGINE\s0 for \s-1RSA\s0 operations is used, and if no default \s-1ENGINE\s0 is set,
217 \&\fBRSA_flags()\fR returns the \fBflags\fR that are set for \fBrsa\fR's current method.
219 \&\fBRSA_new_method()\fR allocates and initializes an \fB\s-1RSA\s0\fR structure so that
220 \&\fBmethod\fR will be used for the \s-1RSA\s0 operations. If \fBmethod\fR is \fB\s-1NULL\s0\fR,
232 \& unsigned char *to, RSA *rsa, int padding);
236 \& unsigned char *to, RSA *rsa, int padding);
240 \& unsigned char *to, RSA *rsa, int padding);
244 \& unsigned char *to, RSA *rsa, int padding);
246 \& /* compute r0 = r0 ^ I mod rsa\->n (May be NULL for some implementations) */
247 \& int (*rsa_mod_exp)(BIGNUM *r0, BIGNUM *I, RSA *rsa);
254 \& int (*init)(RSA *rsa);
257 \& int (*finish)(RSA *rsa);
271 \& unsigned char *sigret, unsigned int *siglen, const RSA *rsa);
275 \& const RSA *rsa);
276 \& /* keygen. If NULL built\-in RSA key generation will be used */
277 \& int (*rsa_keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
302 to avoid creating compatibility problems. \s-1RSA\s0 functionality, such as the
303 encryption functions, are controlled by the \fBflags\fR value in the \s-1RSA\s0 key
304 itself, not by the \fBflags\fR value in the \s-1RSA_METHOD\s0 attached to the \s-1RSA\s0 key
305 (which is what this function returns). If the flags element of an \s-1RSA\s0 key
306 is changed, the changes will be honoured by \s-1RSA\s0 functionality but will not