Lines Matching full:rsa

152 \&\- Routines to build up RSA methods
156 \& #include <openssl/rsa.h>
179 \& unsigned char *to, RSA *rsa, int padding);
180 \& int RSA_meth_set_pub_enc(RSA_METHOD *rsa,
182 \& unsigned char *to, RSA *rsa,
187 \& unsigned char *to, RSA *rsa, int padding);
188 \& int RSA_meth_set_pub_dec(RSA_METHOD *rsa,
190 \& unsigned char *to, RSA *rsa,
194 \& unsigned char *to, RSA *rsa,
196 \& int RSA_meth_set_priv_enc(RSA_METHOD *rsa,
198 \& unsigned char *to, RSA *rsa, int padding));
201 \& unsigned char *to, RSA *rsa,
203 \& int RSA_meth_set_priv_dec(RSA_METHOD *rsa,
205 \& unsigned char *to, RSA *rsa, int padding));
209 \& RSA *rsa, BN_CTX *ctx);
210 \& int RSA_meth_set_mod_exp(RSA_METHOD *rsa,
211 \& int (*mod_exp)(BIGNUM *r0, const BIGNUM *i, RSA *rsa,
218 \& int RSA_meth_set_bn_mod_exp(RSA_METHOD *rsa,
224 \& int (*RSA_meth_get_init(const RSA_METHOD *meth) (RSA *rsa);
225 \& int RSA_meth_set_init(RSA_METHOD *rsa, int (*init (RSA *rsa));
228 \& int (*RSA_meth_get_finish(const RSA_METHOD *meth))(RSA *rsa);
229 \& int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish)(RSA *rsa));
234 \& unsigned int *siglen, const RSA *rsa);
235 \& int RSA_meth_set_sign(RSA_METHOD *rsa,
238 \& unsigned int *siglen, const RSA *rsa));
243 \& unsigned int siglen, const RSA *rsa);
244 \& int RSA_meth_set_verify(RSA_METHOD *rsa,
248 \& unsigned int siglen, const RSA *rsa));
250 \& int (*RSA_meth_get_keygen(const RSA_METHOD *meth))(RSA *rsa, int bits, BIGNUM *e,
252 \& int RSA_meth_set_keygen(RSA_METHOD *rsa,
253 \& int (*keygen)(RSA *rsa, int bits, BIGNUM *e,
256 \& int (*RSA_meth_get_multi_prime_keygen(const RSA_METHOD *meth))(RSA *rsa, int bits,
261 \& int (*keygen) (RSA *rsa, int bits,
271 \&\s-1RSA\s0 implementations. It provides a set of functions used by OpenSSL
272 for the implementation of the various \s-1RSA\s0 capabilities.
279 new \fB\s-1RSA\s0\fR object based on this \fB\s-1RSA_METHOD\s0\fR. Any new \fB\s-1RSA\s0\fR object
306 used for creating an \s-1RSA\s0 signature respectively. This function will be
311 function used for verifying an \s-1RSA\s0 signature respectively. This
332 used for creating a new \s-1RSA\s0 instance respectively. This function will
336 the new \s-1RSA\s0 object, and a pointer to this newly allocated structure
341 function used for destroying an instance of an \s-1RSA\s0 object respectively.
343 \&\fBRSA_free()\fR. A pointer to the \s-1RSA\s0 to be destroyed is passed as a
344 parameter. The destroy function should be used for \s-1RSA\s0 implementation
345 specific clean up. The memory for the \s-1RSA\s0 itself should not be freed
349 function used for generating a new \s-1RSA\s0 key pair respectively. This
355 and set the function used for generating a new multi-prime \s-1RSA\s0 key pair