EVP_MD_meth_set_final

Set the final callback on a custom EVP_MD method (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
int
EVP_MD_meth_set_final(
    EVP_MD* md,
    int(* final)(EVP_MD_CTX*, unsigned char*));

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
mdDigest method being constructed with EVP_MD_meth_new().
finalCallback that writes the digest and finalises ctx.