Expand description
Module for the Poly1305 message authentication code (MAC) algorithm.
Structs§
- Poly1305
- Define the Poly1305 struct for the Poly1305 MAC algorithm.
- Signed
Envelope - SignedEnvelope struct for handling data with its associated MAC.
Functions§
- apply_
poly1305_ mod_ p - Applies the modulo p reduction to the Poly1305 hash.
- apply_
poly1305_ pad - Applies the pad to the Poly1305 hash.
- calculate_
poly1305_ d_ values - Calculates the
d
values for Poly1305. - calculate_
poly1305_ h_ values - Calculates the
h
values for Poly1305. - finalize_
poly1305_ hash - Finalizes the Poly1305 hash computation.
- poly1305_
hash_ to_ tag - Converts the Poly1305 hash into a tag.