Home | History | Annotate | Download | only in dsa

Lines Matching defs:bio_err

135 static BIO *bio_err=NULL;
147 if (bio_err == NULL)
148 bio_err=BIO_new_fp(stderr,BIO_NOCLOSE);
157 BIO_printf(bio_err,"test generation of DSA parameters\n");
159 BN_GENCB_set(&cb, dsa_cb, bio_err);
164 BIO_printf(bio_err,"seed\n");
167 BIO_printf(bio_err,"%02X%02X%02X%02X ",
170 BIO_printf(bio_err,"\ncounter=%d h=%ld\n",counter,h);
172 DSA_print(bio_err,dsa,0);
175 BIO_printf(bio_err,"counter should be 105\n");
180 BIO_printf(bio_err,"h should be 2\n");
188 BIO_printf(bio_err,"q value is wrong\n");
196 BIO_printf(bio_err,"p value is wrong\n");
204 BIO_printf(bio_err,"g value is wrong\n");
222 ERR_print_errors(bio_err);
227 CRYPTO_mem_leaks(bio_err);
228 if (bio_err != NULL)
230 BIO_free(bio_err);
231 bio_err = NULL;