Skip to main content

Module poly1305

Module poly1305 

Source
Expand description

Poly1305 one-time authenticator (RFC 8439 / RFC 7539 profile).

This implementation uses the standard 32-byte one-time key split into r || s, applies RFC clamping to r, and computes tags modulo 2^130-5.

Structs§

Poly1305
Poly1305 state wrapper for repeated message authentication with a fixed one-time key.

Functions§

poly1305_mac
Compute a Poly1305 tag over msg with the given one-time key.