EVP_MD_meth_set_update

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

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
int
EVP_MD_meth_set_update(
    EVP_MD* md,
    int(* update)(EVP_MD_CTX*, void const*, size_t));

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
mdDigest method object to update.
updateCallback that absorbs more message bytes into ctx, or NULL to clear.