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

pub enum KeyDeriver {
    Blake3(Hasher),
    Aes128CtrHmacSha256(Context),
}
Expand description

A KeyDeriver is a pseudorandom function whose output is a Key object.

Variants

Blake3(Hasher)

Tuple Fields of Blake3

0: Hasher
Aes128CtrHmacSha256(Context)

Tuple Fields of Aes128CtrHmacSha256

0: Context

Implementations

Initializes the function with the given key.

Appends input to the function’s input.

Returns the output of the function.

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.