Struct blsttc::G1 [−][src]
pub struct G1 { /* fields omitted */ }
Trait Implementations
Returns an element chosen uniformly at random using a user-provided RNG.
Checks if the point is already “normalized” so that cheap affine conversion is possible. Read more
Normalizes a slice of projective elements so that conversion to affine is cheap. Read more
Adds another element to this element.
Adds an affine element to this element.
pub fn mul_assign<S>(&mut self, other: S) where
S: Into<<<G1 as CurveProjective>::Scalar as PrimeField>::Repr>,
pub fn mul_assign<S>(&mut self, other: S) where
S: Into<<<G1 as CurveProjective>::Scalar as PrimeField>::Repr>,
Performs scalar multiplication of this element.
Converts this element into its affine representation.
pub fn recommended_wnaf_for_scalar(
scalar: <<G1 as CurveProjective>::Scalar as PrimeField>::Repr
) -> usize
pub fn recommended_wnaf_for_scalar(
scalar: <<G1 as CurveProjective>::Scalar as PrimeField>::Repr
) -> usize
Recommends a wNAF window table size given a scalar. Always returns a number between 2 and 22, inclusive. Read more
Recommends a wNAF window size given the number of scalars you intend to multiply a base by. Always returns a number between 2 and 22, inclusive. Read more
Subtracts another element from this element.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V