[][src]Module ecdsa::curve

Elliptic curves (short Weierstrass form) used by ECDSA

Modules

nistp256

NIST P-256 elliptic curve (a.k.a. prime256v1, secp256r1)

nistp384

NIST P-384 elliptic curve (a.k.a. secp384r1)

secp256k1

secp256k1 elliptic curve

Structs

CompressedCurvePoint

Compressed elliptic curve points serialized according to the Elliptic-Curve-Point-to-Octet-String algorithm.

NistP256

NIST P-256 elliptic curve.

NistP384

NIST P-384 elliptic curve.

Secp256k1

secp256k1 elliptic curve.

UncompressedCurvePoint

Uncompressed elliptic curve points serialized according to the Elliptic-Curve-Point-to-Octet-String algorithm.

Traits

Curve

Elliptic curve in short Weierstrass form

Type Definitions

CompressedPointSize

Size of a compressed elliptic curve point for the given curve when serialized using Elliptic-Curve-Point-to-Octet-String encoding (including leading 0x02 or 0x03 tag byte).

UncompressedPointSize

Size of an uncompressed elliptic curve point for the given curve when serialized using the Elliptic-Curve-Point-to-Octet-String encoding (including leading 0x04 tag byte).