Module generic_ec::traits

source ·
Expand description

Common traits for points and scalars

Traits§

  • Trait that allows you to check whether value is zero
  • 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
  • Type that has zero value (additive identity)