Lines Matching refs:signature

46     EVP_SIGNATURE *signature = NULL;
85 || (signature = locpctx->op.sig.signature) == NULL
107 * Try to derive the supported signature from |locpctx->keymgmt|.
126 * 1. Do the normal signature fetch, using the fetching data given by
128 * 2. Do the provider specific signature fetch, from the same provider
132 * signature, and try to export |ctx->pkey| to that keymgmt (when
148 EVP_SIGNATURE_free(signature);
153 signature = EVP_SIGNATURE_fetch(locpctx->libctx, supported_sig,
155 if (signature != NULL)
156 tmp_prov = EVP_SIGNATURE_get0_provider(signature);
160 signature =
163 if (signature == NULL)
167 if (signature == NULL)
173 * |locpctx->pkey|, but from the provider of the signature method, using
174 * the same property query as when fetching the signature method.
192 EVP_SIGNATURE_free(signature);
202 locpctx->op.sig.signature = signature;
206 = signature->newctx(ossl_provider_ctx(signature->prov), props);
262 if (signature->digest_verify_init == NULL) {
266 ret = signature->digest_verify_init(locpctx->op.sig.algctx,
269 if (signature->digest_sign_init == NULL) {
273 ret = signature->digest_sign_init(locpctx->op.sig.algctx,
414 || pctx->op.sig.signature == NULL)
417 if (pctx->op.sig.signature->digest_sign_update == NULL) {
422 return pctx->op.sig.signature->digest_sign_update(pctx->op.sig.algctx,
444 || pctx->op.sig.signature == NULL)
447 if (pctx->op.sig.signature->digest_verify_update == NULL) {
452 return pctx->op.sig.signature->digest_verify_update(pctx->op.sig.algctx,
477 || pctx->op.sig.signature == NULL)
481 return pctx->op.sig.signature->digest_sign_final(pctx->op.sig.algctx,
488 r = dctx->op.sig.signature->digest_sign_final(dctx->op.sig.algctx,
575 && pctx->op.sig.signature != NULL) {
576 if (pctx->op.sig.signature->digest_sign != NULL)
577 return pctx->op.sig.signature->digest_sign(pctx->op.sig.algctx,
604 || pctx->op.sig.signature == NULL)
608 return pctx->op.sig.signature->digest_verify_final(pctx->op.sig.algctx,
614 r = dctx->op.sig.signature->digest_verify_final(dctx->op.sig.algctx,
668 && pctx->op.sig.signature != NULL) {
669 if (pctx->op.sig.signature->digest_verify != NULL)
670 return pctx->op.sig.signature->digest_verify(pctx->op.sig.algctx,