Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // Preloaded test vector structs. JacobiAdditionVectors []*JacobiAdditionVector JacobiDoublingVectors []*JacobiDoublingVector JacobiPointVectors []*JacobiPointVector AffineMultiplicationVectors []*AffineMultiplicationVector NegatedPointVectors []*NegatedPointVector ECDSAVectors []*ECDSAVector )
Functions ¶
This section is empty.
Types ¶
type AffineMultiplicationVector ¶
AffineMultiplicationVector represents the result of multiplying an affine point by some scalar value k.
type ECDSAVector ¶
ECDSAVector represents a test vector for the elliptic curve digital signature algorithm on a given message hash with a private key and nonce.
type JacobiAdditionVector ¶
JacobiAdditionVector represents the result of a addition operation using Jacobian coordinates, where P1 + P2 = P3.
type JacobiDoublingVector ¶
JacobiDoublingVector represents the result of doubling a Jacobian point, where P1 * 2 = P3
type JacobiPointVector ¶
JacobiPointVector represents a Jacobian point and the affine coordinates it equates to. One affine point can be expressed in many different Jacobian points.
type NegatedPointVector ¶
NegatedPointVector represents an affine X-coordinate and the two possible Y-coordinates on the curve at that X-coordinate: one even and one odd.