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§

pub use curve25519_dalek as dalek;

Structs§

EdwardsPoint
Wrapper around the dalek Point type. For Ed25519, this is restricted to the prime subgroup.
FieldElement
A constant-time implementation of the Ed25519 field.
RistrettoPoint
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.