Skip to main content

FieldKey

Type Alias FieldKey 

Source
pub type FieldKey<F> = PairwiseAuthKey<FieldElement<F>, FieldElement<F>>;
Expand description

PairwiseAuthKey for a single field value.

See also [FieldShareKeys<F, M>] for the batched variant.

α and β, such that MAC(x) = α · x + β

Aliased Type§

#[repr(C)]
pub struct FieldKey<F> { pub alpha: Arc<FieldElement<F>>, pub beta: FieldElement<F>, }

Fields§

§alpha: Arc<FieldElement<F>>§beta: FieldElement<F>

Trait Implementations§

Source§

impl<'a, F: FieldExtension> From<FieldShareKeyRef<'a, F>> for FieldKey<F>

Source§

fn from(val: FieldShareKeyRef<'a, F>) -> Self

Converts to this type from the input type.