EVP_PKEY_meth_set_digest_custom

Set the digest_custom callback on a custom EVP_PKEY_METHOD (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
void
EVP_PKEY_meth_set_digest_custom(
    EVP_PKEY_METHOD* pmeth,
    int(* digest_custom)(EVP_PKEY_CTX*, EVP_MD_CTX*));

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
pmethMethod table to update.
digest_customCallback invoked by EVP_DigestSignInit()/VerifyInit() to hash algorithm-specific prefix data (for example SM2), or NULL.