Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SQRT_M_XI_CUBED = &fe{
0x43b571cad3215f1f,
0xccb460ef1c702dc2,
0x742d884f4f97100b,
0xdb2c3e3238a3382b,
0xe40f3fa13fce8f88,
0x73a2af9892a2ff,
}
Functions ¶
func ClearCofactor ¶
func ClearCofactor(p *PointG1)
ClearCofactor maps given a G1 point to correct subgroup
Types ¶
type PointG1 ¶
type PointG1 [3]fe
PointG1 is type for point in G1 and used for both Affine and Jacobian point representation. A point is accounted as in affine form if z is equal to one.
func MulScalarBig ¶
MulScalar multiplies a point by given scalar value in big.Int and assigns the result to point at first argument.
Click to show internal directories.
Click to hide internal directories.