Skip to content

Commit d0ae19c

Browse files
authored
ed448-goldilocks: remove empty Ristretto implementation
1 parent 9b162e5 commit d0ae19c

File tree

8 files changed

+4
-90
lines changed

8 files changed

+4
-90
lines changed

ed448-goldilocks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ THIS CODE HAS NOT BEEN AUDITED OR REVIEWED. USE AT YOUR OWN RISK.
1111

1212
## About
1313

14-
This crate provides a pure Rust implementation of Curve448, Edwards, Decaf, and Ristretto.
14+
This crate provides a pure Rust implementation of Curve448, Edwards, and Decaf.
1515
It is intended to be portable, fast, and safe.
1616

1717
## Usage

ed448-goldilocks/src/curve/twedwards.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// This module will contain the EC arithmetic for the Twisted Edwards form of Goldilocks.
22
/// with the following affine equation : -x^2 + y^2 = 1 - 39082x^2y^2
3-
/// This curve will be used as a backend for the Goldilocks, Ristretto and Decaf through the use of isogenies.
3+
/// This curve will be used as a backend for the Goldilocks and Decaf through the use of isogenies.
44
/// It will not be exposed in the public API.
55
pub(crate) mod affine;
66
pub(crate) mod extended;

ed448-goldilocks/src/decaf/points.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ mod test {
594594
use crate::TWISTED_EDWARDS_BASE_POINT;
595595

596596
#[test]
597-
fn test_edwards_ristretto_operations() {
597+
fn test_edwards_decaf_operations() {
598598
// Basic test that if P1 + P2 = P3
599599
// Then Decaf(P1) + Decaf(P2) = Decaf(P3)
600600

ed448-goldilocks/src/edwards.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/// This isogeny strategy does not clear the cofactor on the Goldilocks curve unless the Scalar is a multiple of 4.
99
/// or the point is known to be in the q-torsion subgroup.
1010
/// Hence, one will need to multiply by the cofactor to ensure it is cleared when using the Goldilocks curve.
11-
/// If this is a problem, one can use a different isogeny strategy (Decaf/Ristretto)
11+
/// If this is a problem, one can use a different isogeny strategy (Decaf)
1212
pub(crate) mod affine;
1313
pub(crate) mod extended;
1414
mod scalar;

ed448-goldilocks/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ pub(crate) mod decaf;
4646
pub(crate) mod edwards;
4747
pub(crate) mod field;
4848
pub(crate) mod montgomery;
49-
pub(crate) mod ristretto;
5049
#[cfg(feature = "signing")]
5150
pub(crate) mod sign;
5251

@@ -62,7 +61,6 @@ pub use edwards::{
6261
};
6362
pub use field::{MODULUS_LIMBS, ORDER, Scalar, WIDE_ORDER};
6463
pub use montgomery::{MontgomeryPoint, ProjectiveMontgomeryPoint};
65-
pub use ristretto::{CompressedRistretto, RistrettoPoint};
6664
#[cfg(feature = "signing")]
6765
pub use sign::*;
6866

ed448-goldilocks/src/ristretto.rs

Lines changed: 0 additions & 6 deletions
This file was deleted.

ed448-goldilocks/src/ristretto/constants.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

ed448-goldilocks/src/ristretto/points.rs

Lines changed: 0 additions & 77 deletions
This file was deleted.

0 commit comments

Comments
 (0)