Versions in this module Expand all Collapse all v1 v1.7.1 Mar 11, 2022 Changes in this version + type Fp fiat_pasta_fp_montgomery_domain_field_element + func (fp *Fp) Add(lhs, rhs *Fp) *Fp + func (fp *Fp) BigInt() *big.Int + func (fp *Fp) Bytes() [32]byte + func (fp *Fp) CMove(lhs, rhs *Fp, choice int) *Fp + func (fp *Fp) Cmp(rhs *Fp) int + func (fp *Fp) Double(elem *Fp) *Fp + func (fp *Fp) Equal(rhs *Fp) bool + func (fp *Fp) Exp(base, exp *Fp) *Fp + func (fp *Fp) Invert(elem *Fp) (*Fp, bool) + func (fp *Fp) IsOdd() bool + func (fp *Fp) IsOne() bool + func (fp *Fp) IsZero() bool + func (fp *Fp) Mul(lhs, rhs *Fp) *Fp + func (fp *Fp) Neg(elem *Fp) *Fp + func (fp *Fp) Set(rhs *Fp) *Fp + func (fp *Fp) SetBigInt(bi *big.Int) *Fp + func (fp *Fp) SetBool(rhs bool) *Fp + func (fp *Fp) SetBytes(input *[32]byte) (*Fp, error) + func (fp *Fp) SetBytesWide(input *[64]byte) *Fp + func (fp *Fp) SetOne() *Fp + func (fp *Fp) SetRaw(array *[4]uint64) *Fp + func (fp *Fp) SetUint64(rhs uint64) *Fp + func (fp *Fp) SetZero() *Fp + func (fp *Fp) Sqrt(elem *Fp) (*Fp, bool) + func (fp *Fp) Square(elem *Fp) *Fp + func (fp *Fp) Sub(lhs, rhs *Fp) *Fp + func (fp *Fp) ToRaw() [4]uint64