Finalize an XOF‐style MAC and write outsize bytes of output.

Synopsis

Declared in <openssl/evp.h>

int
EVP_MAC_finalXOF(
    EVP_MAC_CTX* ctx,
    unsigned char* out,
    size_t outsize);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

ctx

MAC context that has absorbed input via EVP_MAC_update().

out

Buffer receiving the MAC output.

outsize

Number of output bytes requested.

Created with MrDocs