Skip to content

Commit 662b466

Browse files
committed
Merge remote-tracking branch 'rust-crypto/master'
2 parents c4b4c04 + 579190a commit 662b466

File tree

18 files changed

+24
-24
lines changed

18 files changed

+24
-24
lines changed

.github/workflows/ed448-goldilocks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
paths:
66
- ".github/workflows/ed448-goldilocks.yml"
77
- "ed448-goldilocks/**"
8+
- "hash2curve/**"
89
- "Cargo.*"
910
push:
1011
branches: master

.github/workflows/k256.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
paths:
66
- ".github/workflows/k256.yml"
77
- "k256/**"
8+
- "hash2curve/**"
89
- "Cargo.*"
910
push:
1011
branches: master

.github/workflows/p256.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
paths:
66
- ".github/workflows/p256.yml"
77
- "p256/**"
8+
- "hash2curve/**"
89
- "Cargo.*"
910
push:
1011
branches: master

.github/workflows/p384.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
paths:
66
- ".github/workflows/p384.yml"
77
- "p384/**"
8+
- "hash2curve/**"
89
- "Cargo.*"
910
push:
1011
branches: master

.github/workflows/p521.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
paths:
66
- ".github/workflows/p521.yml"
77
- "p521/**"
8+
- "hash2curve/**"
89
- "Cargo.*"
910
push:
1011
branches: master

Cargo.lock

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ members = [
2121
opt-level = 2
2222

2323
[patch.crates-io]
24-
ecdsa = { git = "https://github.com/RustCrypto/signatures.git" }
2524
hash2curve = { path = "hash2curve" }
2625
primefield = { path = "primefield" }
2726
primeorder = { path = "primeorder" }

ed448-goldilocks/src/curve.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
1-
pub mod edwards;
2-
pub mod montgomery;
3-
mod scalar;
41
pub(crate) mod scalar_mul;
52
pub(crate) mod twedwards;
6-
7-
pub use edwards::{AffinePoint, CompressedEdwardsY, EdwardsPoint};
8-
pub use montgomery::{MontgomeryPoint, ProjectiveMontgomeryPoint};
9-
pub use scalar::{EdwardsScalar, EdwardsScalarBytes, WideEdwardsScalarBytes};

ed448-goldilocks/src/curve/twedwards/extended.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#![allow(non_snake_case)]
22
#![allow(dead_code)]
33

4-
use crate::curve::edwards::EdwardsPoint as EdwardsExtendedPoint;
54
use crate::curve::twedwards::affine::AffinePoint;
65
use crate::curve::twedwards::extensible::ExtensiblePoint;
6+
use crate::edwards::EdwardsPoint as EdwardsExtendedPoint;
77
use crate::field::FieldElement;
88
use subtle::{Choice, ConditionallySelectable, ConstantTimeEq};
99

ed448-goldilocks/src/curve/edwards.rs renamed to ed448-goldilocks/src/edwards.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@
1111
/// If this is a problem, one can use a different isogeny strategy (Decaf/Ristretto)
1212
pub(crate) mod affine;
1313
pub(crate) mod extended;
14+
mod scalar;
1415
pub use affine::AffinePoint;
1516
pub use extended::{CompressedEdwardsY, EdwardsPoint};
17+
pub use scalar::{EdwardsScalar, EdwardsScalarBytes, WideEdwardsScalarBytes};

0 commit comments

Comments
 (0)