Searched refs:dsakey (Results 1 – 4 of 4) sorted by relevance
/third_party/openssl/test/ |
D | dsa_no_digest_size_test.c | 22 static DSA *dsakey; variable 111 if (!TEST_ptr(dsakey = load_dsa_params())) in genkeys() 114 if (!TEST_int_eq(DSA_generate_key(dsakey), 1)) in genkeys() 128 int digestlen = BN_num_bytes(DSA_get0_q(dsakey)); in sign_and_verify() 150 EVP_PKEY_set1_DSA(pkey, dsakey); in sign_and_verify() 187 if (DSA_verify(0, dataToSign, len, signature, sigLength, dsakey) != 1) { in sign_and_verify() 192 if (DSA_verify(0, paddedData, digestlen, signature, sigLength, dsakey) != 1) { in sign_and_verify() 228 DSA_free(dsakey); in cleanup_tests()
|
/third_party/openssl/apps/ |
D | dsaparam.c | 218 DSA *dsakey; in dsaparam_main() local 220 if ((dsakey = DSAparams_dup(dsa)) == NULL) in dsaparam_main() 222 if (!DSA_generate_key(dsakey)) { in dsaparam_main() 224 DSA_free(dsakey); in dsaparam_main() 229 i = i2d_DSAPrivateKey_bio(out, dsakey); in dsaparam_main() 231 i = PEM_write_bio_DSAPrivateKey(out, dsakey, NULL, NULL, 0, NULL, in dsaparam_main() 233 DSA_free(dsakey); in dsaparam_main()
|
/third_party/openssl/fuzz/ |
D | server.c | 523 DSA *dsakey = NULL; in FuzzerTestOneInput() local 587 dsakey = PEM_read_bio_DSAPrivateKey(bio_buf, NULL, NULL, NULL); in FuzzerTestOneInput() 589 OPENSSL_assert(dsakey != NULL); in FuzzerTestOneInput() 592 EVP_PKEY_assign_DSA(pkey, dsakey); in FuzzerTestOneInput()
|
/third_party/openssl/doc/man1/ |
D | genpkey.pod | 274 openssl genpkey -paramfile dsap.pem -out dsakey.pem
|