Module yubihsm::ecdsa::sec1

Available on crate feature sec1 only.
Expand description

Support for SEC1 elliptic curve encoding formats.

https://www.secg.org/sec1-v2.pdf

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 deserializing a value from a SEC1 encoded curve point.
  • Trait for supported modulus sizes which precomputes the typenums for various point encodings so they don’t need to be included as bounds.
  • Trait for serializing a value to a SEC1 encoded curve point with compaction.
  • Trait for serializing a value to a SEC1 encoded curve point.
  • Validate that the given EncodedPoint represents the encoded public key value of the given secret.

Type Definitions