Lines Matching refs:DSA_METHOD

23  DSA_METHOD *DSA_meth_new(const char *name, int flags);
25 void DSA_meth_free(DSA_METHOD *dsam);
27 DSA_METHOD *DSA_meth_dup(const DSA_METHOD *meth);
29 const char *DSA_meth_get0_name(const DSA_METHOD *dsam);
30 int DSA_meth_set1_name(DSA_METHOD *dsam, const char *name);
32 int DSA_meth_get_flags(const DSA_METHOD *dsam);
33 int DSA_meth_set_flags(DSA_METHOD *dsam, int flags);
35 void *DSA_meth_get0_app_data(const DSA_METHOD *dsam);
36 int DSA_meth_set0_app_data(DSA_METHOD *dsam, void *app_data);
38 DSA_SIG *(*DSA_meth_get_sign(const DSA_METHOD *dsam))(const unsigned char *,
40 int DSA_meth_set_sign(DSA_METHOD *dsam, DSA_SIG *(*sign)(const unsigned char *,
43 int (*DSA_meth_get_sign_setup(const DSA_METHOD *dsam))(DSA *, BN_CTX *,$
45 int DSA_meth_set_sign_setup(DSA_METHOD *dsam, int (*sign_setup)(DSA *, BN_CTX *,
48 int (*DSA_meth_get_verify(const DSA_METHOD *dsam))(const unsigned char *,
50 int DSA_meth_set_verify(DSA_METHOD *dsam, int (*verify)(const unsigned char *,
53 int (*DSA_meth_get_mod_exp(const DSA_METHOD *dsam))(DSA *dsa, BIGNUM *rr, BIGNUM *a1,
57 int DSA_meth_set_mod_exp(DSA_METHOD *dsam, int (*mod_exp)(DSA *dsa, BIGNUM *rr,
63 int (*DSA_meth_get_bn_mod_exp(const DSA_METHOD *dsam))(DSA *dsa, BIGNUM *r, BIGNUM *a,
66 int DSA_meth_set_bn_mod_exp(DSA_METHOD *dsam, int (*bn_mod_exp)(DSA *dsa,
74 int (*DSA_meth_get_init(const DSA_METHOD *dsam))(DSA *);
75 int DSA_meth_set_init(DSA_METHOD *dsam, int (*init)(DSA *));
77 int (*DSA_meth_get_finish(const DSA_METHOD *dsam))(DSA *);
78 int DSA_meth_set_finish(DSA_METHOD *dsam, int (*finish)(DSA *));
80 int (*DSA_meth_get_paramgen(const DSA_METHOD *dsam))(DSA *, int,
84 int DSA_meth_set_paramgen(DSA_METHOD *dsam,
88 int (*DSA_meth_get_keygen(const DSA_METHOD *dsam))(DSA *);
89 int DSA_meth_set_keygen(DSA_METHOD *dsam, int (*keygen)(DSA *));
97 The B<DSA_METHOD> type is a structure used for the provision of custom DSA
101 DSA_meth_new() creates a new B<DSA_METHOD> structure. It should be given a
103 string, which will be duplicated and stored in the B<DSA_METHOD> object. It is
105 during the construction of a new B<DSA> object based on this B<DSA_METHOD>. Any
108 DSA_meth_dup() creates a duplicate copy of the B<DSA_METHOD> object passed as a
109 parameter. This might be useful for creating a new B<DSA_METHOD> based on an
112 DSA_meth_free() destroys a B<DSA_METHOD> structure and frees up any memory
115 DSA_meth_get0_name() will return a pointer to the name of this DSA_METHOD. This
117 caller. DSA_meth_set1_name() sets the name of the DSA_METHOD to B<name>. The
118 string is duplicated and the copy is stored in the DSA_METHOD structure, so the
122 DSA_METHOD. DSA_meth_set_flags() provides the ability to set these flags.
125 ability to associate implementation specific data with the DSA_METHOD. It is
126 the application's responsibility to free this data before the DSA_METHOD is
165 DSA_METHOD is this one) or DSA_new_method(). The DSA_new() and DSA_new_method()
190 DSA_meth_new() and DSA_meth_dup() return the newly allocated DSA_METHOD object
194 associated with the DSA_METHOD respectively.
197 that has been set in the DSA_METHOD, or NULL if no such pointer has yet been