Lines Matching refs:RSA_METHOD

27  RSA_METHOD *RSA_meth_new(const char *name, int flags);
28 void RSA_meth_free(RSA_METHOD *meth);
30 RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth);
32 const char *RSA_meth_get0_name(const RSA_METHOD *meth);
33 int RSA_meth_set1_name(RSA_METHOD *meth, const char *name);
35 int RSA_meth_get_flags(const RSA_METHOD *meth);
36 int RSA_meth_set_flags(RSA_METHOD *meth, int flags);
38 void *RSA_meth_get0_app_data(const RSA_METHOD *meth);
39 int RSA_meth_set0_app_data(RSA_METHOD *meth, void *app_data);
41 int (*RSA_meth_get_pub_enc(const RSA_METHOD *meth))(int flen, const unsigned char *from,
43 int RSA_meth_set_pub_enc(RSA_METHOD *rsa,
48 int (*RSA_meth_get_pub_dec(const RSA_METHOD *meth))
51 int RSA_meth_set_pub_dec(RSA_METHOD *rsa,
56 int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth))(int flen, const unsigned char *from,
59 int RSA_meth_set_priv_enc(RSA_METHOD *rsa,
63 int (*RSA_meth_get_priv_dec(const RSA_METHOD *meth))(int flen, const unsigned char *from,
66 int RSA_meth_set_priv_dec(RSA_METHOD *rsa,
71 int (*RSA_meth_get_mod_exp(const RSA_METHOD *meth))(BIGNUM *r0, const BIGNUM *i,
73 int RSA_meth_set_mod_exp(RSA_METHOD *rsa,
78 int (*RSA_meth_get_bn_mod_exp(const RSA_METHOD *meth))(BIGNUM *r, const BIGNUM *a,
81 int RSA_meth_set_bn_mod_exp(RSA_METHOD *rsa,
87 int (*RSA_meth_get_init(const RSA_METHOD *meth) (RSA *rsa);
88 int RSA_meth_set_init(RSA_METHOD *rsa, int (*init (RSA *rsa));
91 int (*RSA_meth_get_finish(const RSA_METHOD *meth))(RSA *rsa);
92 int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish)(RSA *rsa));
94 int (*RSA_meth_get_sign(const RSA_METHOD *meth))(int type, const unsigned char *m,
98 int RSA_meth_set_sign(RSA_METHOD *rsa,
103 int (*RSA_meth_get_verify(const RSA_METHOD *meth))(int dtype, const unsigned char *m,
107 int RSA_meth_set_verify(RSA_METHOD *rsa,
113 int (*RSA_meth_get_keygen(const RSA_METHOD *meth))(RSA *rsa, int bits, BIGNUM *e,
115 int RSA_meth_set_keygen(RSA_METHOD *rsa,
119 int (*RSA_meth_get_multi_prime_keygen(const RSA_METHOD *meth))(RSA *rsa, int bits,
123 int RSA_meth_set_multi_prime_keygen(RSA_METHOD *meth,
133 The B<RSA_METHOD> type is a structure used for the provision of custom
137 RSA_meth_new() creates a new B<RSA_METHOD> structure. It should be
140 B<RSA_METHOD> object. It is the callers responsibility to free the
142 new B<RSA> object based on this B<RSA_METHOD>. Any new B<RSA> object
145 RSA_meth_dup() creates a duplicate copy of the B<RSA_METHOD> object
147 B<RSA_METHOD> based on an existing one, but with some differences.
149 RSA_meth_free() destroys an B<RSA_METHOD> structure and frees up any
153 RSA_METHOD. This is a pointer to the internal name string and so
155 of the RSA_METHOD to B<name>. The string is duplicated and the copy is
156 stored in the RSA_METHOD structure, so the caller remains responsible
160 with this RSA_METHOD. RSA_meth_set_flags() provides the ability to set
165 RSA_METHOD. It is the application's responsibility to free this data
166 before the RSA_METHOD is freed via a call to RSA_meth_free().
195 current default RSA_METHOD is this one) or RSA_new_method(). The
234 RSA_METHOD object or NULL on failure.
237 flags associated with the RSA_METHOD respectively.
240 pointer that has been set in the RSA_METHOD, or NULL if no such