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

Name

Description

ctx

HMAC context initialized with HMAC_Init_ex().

data

Next chunk of message bytes.

len

Number of bytes at data.

Created with MrDocs