Crate dalek_ff_group

source ·
Expand description

Dalek FF/Group

ff/group bindings around curve25519-dalek with a from_hash/random function based around modern dependencies.

This library was audited by Cypher Stack in March 2023, culminating in commit 669d2dbffc1dafb82a09d9419ea182667115df06. Any subsequent changes have not undergone auditing.

This library is usable under no_std.

Re-exports

Structs

  • Wrapper around the dalek Point type. For Ed25519, this is restricted to the prime subgroup.
  • A constant-time implementation of the Ed25519 field.
  • Wrapper around the dalek Point type. For Ed25519, this is restricted to the prime subgroup.
  • Wrapper around the dalek Scalar type.

Constants

Statics

  • ED25519_BASEPOINT_TABLEprecomputed-tables
    Table containing precomputed multiples of the Ed25519 basepoint \(B = (x, 4/5)\).
  • RISTRETTO_BASEPOINT_TABLEprecomputed-tables
    The Ristretto basepoint, as a RistrettoBasepointTable for scalar multiplication.