Home | History | Annotate | Download | only in dsa

Lines Matching refs:dsa

1 /* crypto/dsa/dsa_lib.c */
64 #include <openssl/dsa.h>
73 const char DSA_version[]="DSA" OPENSSL_VERSION_PTEXT;
89 DSA *DSA_new(void)
94 int DSA_set_method(DSA *dsa, const DSA_METHOD *meth)
99 mtmp = dsa->meth;
100 if (mtmp->finish) mtmp->finish(dsa);
102 if (dsa->engine)
104 ENGINE_finish(dsa->engine);
105 dsa->engine = NULL;
108 dsa->meth = meth;
109 if (meth->init) meth->init(dsa);
113 DSA *DSA_new_method(ENGINE *engine)
115 DSA *ret;
117 ret=(DSA *)OPENSSL_malloc(sizeof(DSA));
182 void DSA_free(DSA *r)
190 REF_PRINT("DSA",r);
220 int DSA_up_ref(DSA *r)
224 REF_PRINT("DSA",r);
236 int DSA_size(const DSA *r)
265 int DSA_set_ex_data(DSA *d, int idx, void *arg)
270 void *DSA_get_ex_data(DSA *d, int idx)
276 DH *DSA_dup_DH(const DSA *r)
278 /* DSA has p, q, g, optional pub_key, optional priv_key.