Lines Matching defs:pkey
168 if (ctx->pkey != NULL) {
171 evp_pkey_export_to_provider(ctx->pkey, ctx->libctx,
214 * the pkey in ctx (if there is one) had better not be provided (because the
217 * if ctx->pkey is provided because we don't allow this when we initialise
220 if (ctx->pkey != NULL && !ossl_assert(!evp_pkey_is_provided(ctx->pkey)))
415 int EVP_PKEY_todata(const EVP_PKEY *pkey, int selection, OSSL_PARAM **params)
419 return EVP_PKEY_export(pkey, selection, ossl_pkey_todata_cb, params);
438 int EVP_PKEY_export(const EVP_PKEY *pkey, int selection,
441 if (pkey == NULL) {
446 if (evp_pkey_is_legacy(pkey)) {
456 return pkey->ameth->export_to(pkey, &data, pkey_fake_import,
460 return evp_keymgmt_util_export(pkey, selection, export_cb, export_cbarg);