Lines Matching full:rsa

7 RSA_new_method - select RSA method
11 #include <openssl/rsa.h>
21 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth);
23 const RSA_METHOD *RSA_get_method(const RSA *rsa);
27 int RSA_flags(const RSA *rsa);
29 RSA *RSA_new_method(ENGINE *engine);
36 An B<RSA_METHOD> specifies the functions that OpenSSL uses for RSA
39 important information about how these RSA API functions are affected by the
45 RSA_set_default_method() makes B<meth> the default method for all RSA
48 been set as a default for RSA, so this function is no longer recommended.
58 B<rsa>. This will replace the RSA_METHOD used by the RSA key and if the
60 be released during the change. It is possible to have RSA keys that only
66 RSA_get_method() returns a pointer to the RSA_METHOD being used by B<rsa>.
69 RSA key itself is valid and does not have its implementation changed by
72 RSA_flags() returns the B<flags> that are set for B<rsa>'s current
75 RSA_new_method() allocates and initializes an RSA structure so that
76 B<engine> will be used for the RSA operations. If B<engine> is NULL, the
77 default ENGINE for RSA operations is used, and if no default ENGINE is set,
80 RSA_flags() returns the B<flags> that are set for B<rsa>'s current method.
82 RSA_new_method() allocates and initializes an B<RSA> structure so that
83 B<method> will be used for the RSA operations. If B<method> is B<NULL>,
95 unsigned char *to, RSA *rsa, int padding);
99 unsigned char *to, RSA *rsa, int padding);
103 unsigned char *to, RSA *rsa, int padding);
107 unsigned char *to, RSA *rsa, int padding);
109 /* compute r0 = r0 ^ I mod rsa->n (May be NULL for some implementations) */
110 int (*rsa_mod_exp)(BIGNUM *r0, BIGNUM *I, RSA *rsa);
117 int (*init)(RSA *rsa);
120 int (*finish)(RSA *rsa);
134 unsigned char *sigret, unsigned int *siglen, const RSA *rsa);
138 const RSA *rsa);
139 /* keygen. If NULL built-in RSA key generation will be used */
140 int (*rsa_keygen)(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb);
166 to avoid creating compatibility problems. RSA functionality, such as the
167 encryption functions, are controlled by the B<flags> value in the RSA key
168 itself, not by the B<flags> value in the RSA_METHOD attached to the RSA key
169 (which is what this function returns). If the flags element of an RSA key
170 is changed, the changes will be honoured by RSA functionality but will not