Module sec1::point

source ·
Available on crate feature point only.
Expand description

Support for the SEC1 Elliptic-Curve-Point-to-Octet-String and Octet-String-to-Elliptic-Curve-Point encoding algorithms.

Described in SEC1: Elliptic Curve Cryptography (Version 2.0) section 2.3.3 (p.10).

Structs

Enums

  • Enum representing the coordinates of either compressed or uncompressed SEC1-encoded elliptic curve points.
  • Tag byte used by the Elliptic-Curve-Point-to-Octet-String encoding.

Traits

  • Trait for supported modulus sizes which precomputes the typenums for various point encodings so they don’t need to be included as bounds.