Lines Matching refs:ppkey
128 int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_generate() argument
135 if (ppkey == NULL) in EVP_PKEY_generate()
144 if (*ppkey == NULL) in EVP_PKEY_generate()
145 *ppkey = allocated_pkey = EVP_PKEY_new(); in EVP_PKEY_generate()
147 if (*ppkey == NULL) { in EVP_PKEY_generate()
189 && (evp_keymgmt_util_gen(*ppkey, ctx->keymgmt, ctx->op.keymgmt.genctx, in EVP_PKEY_generate()
198 evp_pkey_free_legacy(*ppkey); in EVP_PKEY_generate()
204 (*ppkey)->type = ctx->legacy_keytype; in EVP_PKEY_generate()
225 ret = ctx->pmeth->paramgen(ctx, *ppkey); in EVP_PKEY_generate()
228 ret = ctx->pmeth->keygen(ctx, *ppkey); in EVP_PKEY_generate()
238 *ppkey = NULL; in EVP_PKEY_generate()
259 int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_paramgen() argument
265 return EVP_PKEY_generate(ctx, ppkey); in EVP_PKEY_paramgen()
268 int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_keygen() argument
274 return EVP_PKEY_generate(ctx, ppkey); in EVP_PKEY_keygen()
363 int EVP_PKEY_fromdata(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey, int selection, in EVP_PKEY_fromdata() argument
374 if (ppkey == NULL) in EVP_PKEY_fromdata()
377 if (*ppkey == NULL) in EVP_PKEY_fromdata()
378 allocated_pkey = *ppkey = EVP_PKEY_new(); in EVP_PKEY_fromdata()
380 if (*ppkey == NULL) { in EVP_PKEY_fromdata()
385 keydata = evp_keymgmt_util_fromdata(*ppkey, ctx->keymgmt, selection, params); in EVP_PKEY_fromdata()
388 *ppkey = NULL; in EVP_PKEY_fromdata()