Home | History | Annotate | Download | only in apps

Lines Matching defs:dsa

69 #include <openssl/dsa.h>
84 DSA *dsa=NULL;
204 BIO_printf(bio_err," - a DSA parameter file as generated by the dsaparam command\n");
225 if ((dsa=PEM_read_bio_DSAparams(in,NULL,NULL,NULL)) == NULL)
227 BIO_printf(bio_err,"unable to load DSA parameter file\n");
263 BIO_printf(bio_err,"Generating DSA key, %d bits\n",
264 BN_num_bits(dsa->p));
265 if (!DSA_generate_key(dsa)) goto end;
269 if (!PEM_write_bio_DSAPrivateKey(out,dsa,enc,NULL,0,NULL, passout))
277 if (dsa != NULL) DSA_free(dsa);