Lines Matching refs:sig
146 && ctx->op.sig.algctx != NULL) in evp_pkey_ctx_state()
357 if (ctx->op.sig.algctx != NULL && ctx->op.sig.signature != NULL) in evp_pkey_ctx_free_old_ops()
358 ctx->op.sig.signature->freectx(ctx->op.sig.algctx); in evp_pkey_ctx_free_old_ops()
359 EVP_SIGNATURE_free(ctx->op.sig.signature); in evp_pkey_ctx_free_old_ops()
360 ctx->op.sig.algctx = NULL; in evp_pkey_ctx_free_old_ops()
361 ctx->op.sig.signature = NULL; in evp_pkey_ctx_free_old_ops()
500 if (pctx->op.sig.signature != NULL) { in EVP_PKEY_CTX_dup()
501 rctx->op.sig.signature = pctx->op.sig.signature; in EVP_PKEY_CTX_dup()
502 if (!EVP_SIGNATURE_up_ref(rctx->op.sig.signature)) in EVP_PKEY_CTX_dup()
505 if (pctx->op.sig.algctx != NULL) { in EVP_PKEY_CTX_dup()
506 if (!ossl_assert(pctx->op.sig.signature != NULL)) in EVP_PKEY_CTX_dup()
509 if (pctx->op.sig.signature->dupctx != NULL) in EVP_PKEY_CTX_dup()
510 rctx->op.sig.algctx in EVP_PKEY_CTX_dup()
511 = pctx->op.sig.signature->dupctx(pctx->op.sig.algctx); in EVP_PKEY_CTX_dup()
513 if (rctx->op.sig.algctx == NULL) { in EVP_PKEY_CTX_dup()
514 EVP_SIGNATURE_free(rctx->op.sig.signature); in EVP_PKEY_CTX_dup()
515 rctx->op.sig.signature = NULL; in EVP_PKEY_CTX_dup()
674 && ctx->op.sig.signature != NULL in EVP_PKEY_CTX_set_params()
675 && ctx->op.sig.signature->set_ctx_params != NULL) in EVP_PKEY_CTX_set_params()
677 ctx->op.sig.signature->set_ctx_params(ctx->op.sig.algctx, in EVP_PKEY_CTX_set_params()
718 && ctx->op.sig.signature != NULL in EVP_PKEY_CTX_get_params()
719 && ctx->op.sig.signature->get_ctx_params != NULL) in EVP_PKEY_CTX_get_params()
721 ctx->op.sig.signature->get_ctx_params(ctx->op.sig.algctx, in EVP_PKEY_CTX_get_params()
764 && ctx->op.sig.signature != NULL in EVP_PKEY_CTX_gettable_params()
765 && ctx->op.sig.signature->gettable_ctx_params != NULL) { in EVP_PKEY_CTX_gettable_params()
767 EVP_SIGNATURE_get0_provider(ctx->op.sig.signature)); in EVP_PKEY_CTX_gettable_params()
768 return ctx->op.sig.signature->gettable_ctx_params(ctx->op.sig.algctx, in EVP_PKEY_CTX_gettable_params()
808 && ctx->op.sig.signature != NULL in EVP_PKEY_CTX_settable_params()
809 && ctx->op.sig.signature->settable_ctx_params != NULL) { in EVP_PKEY_CTX_settable_params()
811 EVP_SIGNATURE_get0_provider(ctx->op.sig.signature)); in EVP_PKEY_CTX_settable_params()
812 return ctx->op.sig.signature->settable_ctx_params(ctx->op.sig.algctx, in EVP_PKEY_CTX_settable_params()
915 if (ctx->op.sig.algctx == NULL) in EVP_PKEY_CTX_get_signature_md()
971 return evp_pkey_ctx_set_md(ctx, md, ctx->op.sig.algctx == NULL, in EVP_PKEY_CTX_set_signature_md()
1562 if (ctx->op.sig.signature != NULL) in EVP_PKEY_CTX_get0_provider()
1563 return EVP_SIGNATURE_get0_provider(ctx->op.sig.signature); in EVP_PKEY_CTX_get0_provider()
1701 unsigned char *sig, size_t *siglen, in EVP_PKEY_meth_set_sign() argument
1712 const unsigned char *sig, in EVP_PKEY_meth_set_verify() argument
1727 *sig, in EVP_PKEY_meth_set_verify_recover() argument
1741 unsigned char *sig, in EVP_PKEY_meth_set_signctx() argument
1753 const unsigned char *sig, in EVP_PKEY_meth_set_verifyctx() argument
1807 int (*digestsign) (EVP_MD_CTX *ctx, unsigned char *sig, size_t *siglen, in EVP_PKEY_meth_set_digestsign() argument
1814 int (*digestverify) (EVP_MD_CTX *ctx, const unsigned char *sig, in EVP_PKEY_meth_set_digestverify() argument
1890 unsigned char *sig, size_t *siglen, in EVP_PKEY_meth_get_sign() argument
1903 const unsigned char *sig, in EVP_PKEY_meth_get_verify() argument
1920 *sig, in EVP_PKEY_meth_get_verify_recover() argument
1936 unsigned char *sig, in EVP_PKEY_meth_get_signctx() argument
1950 const unsigned char *sig, in EVP_PKEY_meth_get_verifyctx() argument
2014 int (**digestsign) (EVP_MD_CTX *ctx, unsigned char *sig, size_t *siglen, in EVP_PKEY_meth_get_digestsign() argument
2022 int (**digestverify) (EVP_MD_CTX *ctx, const unsigned char *sig, in EVP_PKEY_meth_get_digestverify() argument