Crate generic_ec_core

Source
Expand description

This crate contains core traits for generic-ec crate. You should only need these traits if you implement your own Curve instance. Otherwise, generic-ec API should suffice.

Modules§

  • Exposes information about point coordinates

Structs§

Traits§

  • Type for which addition is defined
  • Byte array
  • Compressed encoding of the point
  • Elliptic curve
  • Decodes a point from its compressed or uncompressed representation
  • Encodes an integer as bytes
  • Type for which invert function is defined
  • Type for which multiplication is defined
  • Checks whether the point is on curve
  • Type that has “one” value (multiplicative identity)
  • Reduces an integer represented as array of N bytes modulo curve (prime) order
  • Type can be uniformely sampled from source of randomness
  • Checks whether a point has small factor
  • Uncompressed encoding of the point
  • Type that has zero value (additive identity)