poly1305_donna::poly1305_finish

Finish a Poly1305 computation and write the 16-byte authentication tag.

Synopsis

Declared in <crypto/poly1305.h>

void
poly1305_finish(
    poly1305_context* st,
    unsigned char mac[]) noexcept;

Parameters

NameDescription
stState to finalize.
macBuffer receiving the 16-byte tag.