Enum prio::vdaf::suite::KeyStream[][src]

pub enum KeyStream {
    Aes128CtrHmacSha256(Aes128Ctr),
    Blake3(OutputReader),
}
Expand description

A KeyStream expands a key into a stream of pseudorandom bytes.

Variants

Aes128CtrHmacSha256(Aes128Ctr)

Tuple Fields of Aes128CtrHmacSha256

0: Aes128Ctr
Blake3(OutputReader)

Tuple Fields of Blake3

0: OutputReader

Implementations

Constructs a key expander from a key.

Fills the buffer out with the next out.len() bytes of the key stream.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.