HMAC_Update

Absorb more message bytes into an HMAC context (deprecated; prefer EVP_MAC_update).

Synopsis

Declared in <openssl/hmac.h>

[[deprecated]]
int
HMAC_Update(
    HMAC_CTX* ctx,
    unsigned char const* data,
    size_t len);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
ctxHMAC context initialized with HMAC_Init_ex().
dataNext chunk of message bytes.
lenNumber of bytes at data.