Struct std::Poly1305
struct Poly1305 {
unsigned int r[5];
unsigned int h[5];
unsigned int pad[4];
unsigned char buf[16];
unsigned long buf_len;
}Streaming Poly1305 with a one-time 32-byte key (r || s).
Fields
clamped r, 26-bit limbs
accumulator
s
a partial block
Methods
Pads the input so far to a multiple of 16 bytes with zeros (the AEAD's pad16 between the additional data and the ciphertext).
Writes the 16-byte tag and wipes the state.