Lines Matching refs:pkey
57 EVP_PKEY *pkey = NULL;
124 pkey = load_keyparams(dsaparams, FORMAT_UNDEF, 1, "DSA", "DSA parameters");
130 nbits = EVP_PKEY_get_bits(pkey);
135 OPENSSL_DSA_MAX_MODULUS_BITS, EVP_PKEY_get_bits(pkey));
137 ctx = EVP_PKEY_CTX_new_from_pkey(app_get0_libctx(), pkey, app_get0_propq());
142 EVP_PKEY_free(pkey);
143 pkey = NULL;
148 pkey = app_keygen(ctx, "DSA", nbits, verbose);
149 if (pkey == NULL)
153 if (!PEM_write_bio_PrivateKey(out, pkey, enc, NULL, 0, NULL, passout)) {
164 EVP_PKEY_free(pkey);