Lines Matching defs:pkey
42 ENGINE *e, EVP_PKEY *pkey, int ver,
67 ctx->pctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, props);
69 ctx->pctx = EVP_PKEY_CTX_new(pkey, e);
80 /* do not reinitialize if pkey is set or operation is different */
82 && (pkey != NULL
92 if (locpctx->pkey == NULL) {
109 if (!ossl_assert(locpctx->pkey->keymgmt == NULL
110 || locpctx->pkey->keymgmt == locpctx->keymgmt)) {
132 * signature, and try to export |ctx->pkey| to that keymgmt (when
173 * |locpctx->pkey|, but from the provider of the signature method, using
175 * With the keymgmt we found (if we did), we try to export |locpctx->pkey|
178 * export it if |tmp_keymgmt| is different from |locpctx->pkey|'s keymgmt)
185 provkey = evp_pkey_export_to_provider(locpctx->pkey, locpctx->libctx,
313 if (EVP_PKEY_get_default_digest_nid(pkey, &def_nid) > 0)
376 const char *props, EVP_PKEY *pkey,
379 return do_sigver_init(ctx, pctx, NULL, mdname, libctx, props, NULL, pkey, 0,
384 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey)
386 return do_sigver_init(ctx, pctx, type, NULL, NULL, NULL, e, pkey, 0,
392 const char *props, EVP_PKEY *pkey,
395 return do_sigver_init(ctx, pctx, NULL, mdname, libctx, props, NULL, pkey, 1,
400 const EVP_MD *type, ENGINE *e, EVP_PKEY *pkey)
402 return do_sigver_init(ctx, pctx, type, NULL, NULL, NULL, e, pkey, 1,