Expand description
Implementation of secp256k1 elliptic curve group operations.
Points are represented either in affine form as a (x, y) coordinate tuple
satisfying y^2 = x^3 + 7, or in Jacobian weighted projective coordinate system
where a tuple (x, y, z) corresponds to a tuple (x/z^2, y/z^3) in affine form.
Structs§
- Secp256k1
- Secp256k1 - a short Weierstrass elliptic curve of the form
y^2 = x^3 + 7over the prime field of modulus2^256 - 2^32 - 977. - Secp256k1
Affine - Curve point in affine form - a tuple
(x, y)that satisfiesy^2 = x^3 + 7, or(0, 0)for additive identity (point at infinity). - Secp256k1
Endosplit Hint
Constants§
Functions§
- coord_
lambda - The value
λof the endomorphismλ (x, y) = (βx, y). - coord_
zero - Padded zero.
- select
- Conditionally selects between two affine secp256k1 points.