Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConstCanonicalName = "Curve-Name" ConstPDecimal = "39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112319" ConstNDecimal = "39402006196394479212279040100143613805079739270465446667946905279627659399113263569398956308152294913554433653942643" ConstBHex = "b3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef" ConstGxHex = "aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7" ConstGyHex = "3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f" ConstBitSize = 384 )
Curve parameters.
View Source
const (
ConstW = 6
)
Implementation parameters.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Affine ¶
Affine is a stub affine point type.
func (*Affine) Coordinates ¶
func (*Affine) Projective ¶
func (a *Affine) Projective() *Projective
type Curve ¶
type Curve interface { elliptic.Curve // Inverse computes the inverse of k modulo the order N. Satisfies the // crypto/ecdsa.invertable interface. Inverse(k *big.Int) *big.Int }
Curve extends the standard elliptic.Curve interface.
type Jacobian ¶
type Jacobian struct {
// contains filtered or unexported fields
}
Jacobian is a stub jacobian point type.
func (*Jacobian) Projective ¶
func (p *Jacobian) Projective() *Projective
type Projective ¶
type Projective struct {
// contains filtered or unexported fields
}
Projective is a stub projective point type.
func (*Projective) Affine ¶
func (p *Projective) Affine() *Affine
func (*Projective) CNeg ¶
func (p *Projective) CNeg(c uint)
func (*Projective) CompleteAdd ¶
func (p *Projective) CompleteAdd(q, r *Projective)
func (*Projective) Neg ¶
func (p *Projective) Neg()
Click to show internal directories.
Click to hide internal directories.