Aegis256x4MACState.finalize

Finalizes the MAC computation, producing the MAC.

struct Aegis256x4MACState
@nogc @trusted
int
finalize
(
ubyte[] mac
,
size_t maclen
)

Parameters

mac ubyte[]

Buffer to store the MAC (must be aegis256x4_ABYTES_MIN to aegis256x4_ABYTES_MAX).

maclen size_t

Length of the MAC.

Return Value

Type: int

0 on success, or a negative error code on failure.

Meta