Lines Matching defs:pkey
25 /* DSA pkey context structure */
89 DSA *dsa = (DSA *)EVP_PKEY_get0_DSA(ctx->pkey);
113 DSA *dsa = (DSA *)EVP_PKEY_get0_DSA(ctx->pkey);
210 static int pkey_dsa_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)
237 EVP_PKEY_assign_DSA(pkey, dsa);
243 static int pkey_dsa_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)
247 if (ctx->pkey == NULL) {
254 EVP_PKEY_assign_DSA(pkey, dsa);
255 /* Note: if error return, pkey is freed by parent routine */
256 if (!EVP_PKEY_copy_parameters(pkey, ctx->pkey))
258 return DSA_generate_key((DSA *)EVP_PKEY_get0_DSA(pkey));