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§
pub use curve25519_dalek as dalek;
Structs§
- Edwards
Point - Wrapper around the dalek Point type. For Ed25519, this is restricted to the prime subgroup.
- Field
Element - A constant-time implementation of the Ed25519 field.
- Ristretto
Point - Wrapper around the dalek Point type. For Ed25519, this is restricted to the prime subgroup.
- Scalar
- Wrapper around the dalek Scalar type.
Constants§
- ED25519_
BASEPOINT_ POINT - The basepoint for this curve.
- RISTRETTO_
BASEPOINT_ POINT - The basepoint for this curve.
Statics§
- ED25519_
BASEPOINT_ TABLE - Table containing precomputed multiples of the Ed25519 basepoint \(B = (x, 4/5)\).
- RISTRETTO_
BASEPOINT_ TABLE - The Ristretto basepoint, as a
RistrettoBasepointTable
for scalar multiplication.