aztec-nr - std::embedded_curve_ops

Struct EmbeddedCurveScalar

pub struct EmbeddedCurveScalar {
    pub lo: Field,
    pub hi: Field,
}

Scalar for the embedded curve represented as low and high limbs By definition, the scalar field of the embedded curve is base field of the proving system curve. It may not fit into a Field element, so it is represented with two Field elements; its low and high limbs.

Fields

lo: Field
hi: Field

Implementations

impl EmbeddedCurveScalar

pub fn new(lo: Field, hi: Field) -> Self pub fn from_field(scalar: Field) -> Self

Trait implementations

impl Eq for EmbeddedCurveScalar

pub fn eq(self, other: Self) -> bool

impl Hash for EmbeddedCurveScalar

pub fn hash<H>(self, state: &mut H)
where H: Hasher