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.
  • u64curve25519_dalek_bits="64"
    The u64 backend uses u64s and a (u64, u64) -> u128 multiplier.