Searched refs:dsakey (Results 1 – 4 of 4) sorted by relevance
/freebsd/crypto/openssl/test/ |
H A D | dsa_no_digest_size_test.c | 28 static DSA *dsakey; variable 117 if (!TEST_ptr(dsakey = load_dsa_params())) in genkeys() 120 if (!TEST_int_eq(DSA_generate_key(dsakey), 1)) in genkeys() 134 int digestlen = BN_num_bytes(DSA_get0_q(dsakey)); in sign_and_verify() 156 EVP_PKEY_set1_DSA(pkey, dsakey); in sign_and_verify() 193 if (DSA_verify(0, dataToSign, len, signature, sigLength, dsakey) != 1) { in sign_and_verify() 198 if (DSA_verify(0, paddedData, digestlen, signature, sigLength, dsakey) != 1) { in sign_and_verify() 234 DSA_free(dsakey); in cleanup_tests()
|
/freebsd/crypto/openssl/demos/pkey/ |
H A D | EVP_PKEY_DSA_keygen.c | 52 EVP_PKEY *dsakey = NULL; in main() local 69 || EVP_PKEY_keygen(ctx, &dsakey) <= 0) { in main() 74 if (!dsa_print_key(dsakey, 1, libctx, propq)) in main() 79 EVP_PKEY_free(dsakey); in main()
|
/freebsd/crypto/openssl/fuzz/ |
H A D | server.c | 534 DSA *dsakey = NULL; in FuzzerTestOneInput() local 597 dsakey = PEM_read_bio_DSAPrivateKey(bio_buf, NULL, NULL, NULL); in FuzzerTestOneInput() 599 OPENSSL_assert(dsakey != NULL); in FuzzerTestOneInput() 602 EVP_PKEY_assign_DSA(pkey, dsakey); in FuzzerTestOneInput()
|
/freebsd/crypto/openssl/doc/man1/ |
H A D | openssl-genpkey.pod.in | 417 openssl genpkey -paramfile dsap.pem -out dsakey.pem
|