Documentation ¶
Index ¶
- func GetPastaFpParams() *native.Field4Params
- func PastaFpNew() *native.Field4
- type Fp
- type PastaFpArithmetic
- func (PastaFpArithmetic) Add(out, arg1, arg2 *[native.Field4Limbs]uint64)
- func (PastaFpArithmetic) FromBytes(out *[native.Field4Limbs]uint64, arg *[native.Field4Bytes]byte)
- func (PastaFpArithmetic) FromMontgomery(out, arg *[native.Field4Limbs]uint64)
- func (f PastaFpArithmetic) Invert(wasInverted *int, out, arg *[native.Field4Limbs]uint64)
- func (PastaFpArithmetic) Mul(out, arg1, arg2 *[native.Field4Limbs]uint64)
- func (PastaFpArithmetic) Neg(out, arg *[native.Field4Limbs]uint64)
- func (PastaFpArithmetic) Selectznz(out, arg1, arg2 *[native.Field4Limbs]uint64, choice int)
- func (f PastaFpArithmetic) Sqrt(wasSquare *int, out, arg *[native.Field4Limbs]uint64)
- func (PastaFpArithmetic) Square(out, arg *[native.Field4Limbs]uint64)
- func (PastaFpArithmetic) Sub(out, arg1, arg2 *[native.Field4Limbs]uint64)
- func (PastaFpArithmetic) ToBytes(out *[native.Field4Bytes]byte, arg *[native.Field4Limbs]uint64)
- func (PastaFpArithmetic) ToMontgomery(out, arg *[native.Field4Limbs]uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPastaFpParams ¶
func GetPastaFpParams() *native.Field4Params
func PastaFpNew ¶
Types ¶
type PastaFpArithmetic ¶
type PastaFpArithmetic struct{}
func (PastaFpArithmetic) Add ¶
func (PastaFpArithmetic) Add(out, arg1, arg2 *[native.Field4Limbs]uint64)
func (PastaFpArithmetic) FromBytes ¶
func (PastaFpArithmetic) FromBytes(out *[native.Field4Limbs]uint64, arg *[native.Field4Bytes]byte)
func (PastaFpArithmetic) FromMontgomery ¶
func (PastaFpArithmetic) FromMontgomery(out, arg *[native.Field4Limbs]uint64)
func (PastaFpArithmetic) Invert ¶
func (f PastaFpArithmetic) Invert(wasInverted *int, out, arg *[native.Field4Limbs]uint64)
func (PastaFpArithmetic) Mul ¶
func (PastaFpArithmetic) Mul(out, arg1, arg2 *[native.Field4Limbs]uint64)
func (PastaFpArithmetic) Neg ¶
func (PastaFpArithmetic) Neg(out, arg *[native.Field4Limbs]uint64)
func (PastaFpArithmetic) Selectznz ¶
func (PastaFpArithmetic) Selectznz(out, arg1, arg2 *[native.Field4Limbs]uint64, choice int)
func (PastaFpArithmetic) Sqrt ¶
func (f PastaFpArithmetic) Sqrt(wasSquare *int, out, arg *[native.Field4Limbs]uint64)
func (PastaFpArithmetic) Square ¶
func (PastaFpArithmetic) Square(out, arg *[native.Field4Limbs]uint64)
func (PastaFpArithmetic) Sub ¶
func (PastaFpArithmetic) Sub(out, arg1, arg2 *[native.Field4Limbs]uint64)
func (PastaFpArithmetic) ToBytes ¶
func (PastaFpArithmetic) ToBytes(out *[native.Field4Bytes]byte, arg *[native.Field4Limbs]uint64)
func (PastaFpArithmetic) ToMontgomery ¶
func (PastaFpArithmetic) ToMontgomery(out, arg *[native.Field4Limbs]uint64)
Click to show internal directories.
Click to hide internal directories.