Lines Matching refs:ppkey
85 int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_paramgen() argument
101 if (!ppkey) in EVP_PKEY_paramgen()
104 if (!*ppkey) in EVP_PKEY_paramgen()
105 *ppkey = EVP_PKEY_new(); in EVP_PKEY_paramgen()
107 ret = ctx->pmeth->paramgen(ctx, *ppkey); in EVP_PKEY_paramgen()
110 EVP_PKEY_free(*ppkey); in EVP_PKEY_paramgen()
111 *ppkey = NULL; in EVP_PKEY_paramgen()
134 int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_keygen() argument
150 if (!ppkey) in EVP_PKEY_keygen()
153 if (!*ppkey) in EVP_PKEY_keygen()
154 *ppkey = EVP_PKEY_new(); in EVP_PKEY_keygen()
156 ret = ctx->pmeth->keygen(ctx, *ppkey); in EVP_PKEY_keygen()
159 EVP_PKEY_free(*ppkey); in EVP_PKEY_keygen()
160 *ppkey = NULL; in EVP_PKEY_keygen()