Module secured_cipher::algorithm::poly1305
source · Expand description
Module for the Poly1305 message authentication code (MAC) algorithm.
Structs
- Define the Poly1305 struct for the Poly1305 MAC algorithm.
- SignedEnvelope struct for handling data with its associated MAC.
Functions
- Applies the modulo p reduction to the Poly1305 hash.
- Applies the pad to the Poly1305 hash.
- Calculates the
dvalues for Poly1305. - Calculates the
hvalues for Poly1305. - Finalizes the Poly1305 hash computation.
- Converts the Poly1305 hash into a tag.