Skip to main content

Module prf

Module prf 

Source
Expand description

Define a tweakable pseudorandom stream generator.

Structs§

Prf 🔒
Pseudorandom function based on CTR128, Polyval, and an underlying block cipher.

Constants§

PRF_N0_LEN 🔒
Length of the PRF’s output when used with t=0.
PRF_N1_OFFSET 🔒
Offset of the PRF’s output when used with t=1.

Type Aliases§

PrfTweak 🔒
The type used as a tweak for this PRF.