apply_poly1305_pad

Function apply_poly1305_pad 

Source
pub fn apply_poly1305_pad(hash: &mut [u32; 5], pad: [u32; 4])
Expand description

Applies the pad to the Poly1305 hash.

This function applies the pad (part of the key) to the Poly1305 hash. It is called as part of the finalization process of the Poly1305 algorithm.

ยงArguments

  • hash - A mutable reference to the Poly1305 hash state.
  • pad - The pad values from the Poly1305 key.