Expand description

Serial implementations of field, scalar, point arithmetic.

When the vector backend is disabled, the crate uses the mixed-model strategy for implementing point operations and scalar multiplication; see the curve_models and scalar_mul documentation for more information.

When the vector backend is enabled, the field and scalar implementations are still used for non-vectorized operations.

Modules

  • Internal curve representations which are not part of the public API.
  • Implementations of various scalar multiplication algorithms.
  • u32curve25519_dalek_bits="32"
    The u32 backend uses u32s and a (u32, u32) -> u64 multiplier.