Lines Matching refs:pkey
58 EVP_PKEY *pkey = NULL; in gendsa_main() local
126 pkey = load_keyparams(dsaparams, FORMAT_UNDEF, 1, "DSA", "DSA parameters"); in gendsa_main()
132 nbits = EVP_PKEY_get_bits(pkey); in gendsa_main()
137 OPENSSL_DSA_MAX_MODULUS_BITS, EVP_PKEY_get_bits(pkey)); in gendsa_main()
139 ctx = EVP_PKEY_CTX_new_from_pkey(app_get0_libctx(), pkey, app_get0_propq()); in gendsa_main()
144 EVP_PKEY_free(pkey); in gendsa_main()
145 pkey = NULL; in gendsa_main()
150 pkey = app_keygen(ctx, "DSA", nbits, verbose); in gendsa_main()
151 if (pkey == NULL) in gendsa_main()
155 if (!PEM_write_bio_PrivateKey(out, pkey, enc, NULL, 0, NULL, passout)) { in gendsa_main()
166 EVP_PKEY_free(pkey); in gendsa_main()