Skip to content

Commit b0a2805

Browse files
committed
Remove dependency on arithmetic and test in CI
1 parent 0eddcde commit b0a2805

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/elliptic-curve.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,15 @@ jobs:
4343
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features digest
4444
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features ecdh
4545
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features hazmat
46+
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features hash2curve
4647
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features jwk
4748
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features pem
4849
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features pkcs8
4950
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features sec1
5051
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features serde
5152
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features pkcs8,sec1
5253
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features pem,pkcs8,sec1
53-
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features alloc,digest,ecdh,hazmat,jwk,pem,pkcs8,sec1,serde
54+
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features alloc,digest,ecdh,hazmat,hash2curv,jwk,pem,pkcs8,sec1,serde
5455

5556
test:
5657
runs-on: ubuntu-latest

elliptic-curve/src/hash2curve/group_digest.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
use super::MapToCurve;
22
use crate::{
33
hash2field::{hash_to_field, ExpandMsg, FromOkm},
4-
ProjectiveArithmetic, Result,
4+
Result,
55
};
66
use group::cofactor::CofactorGroup;
77

88
/// Adds hashing arbitrary byte sequences to a valid group element
9-
pub trait GroupDigest: ProjectiveArithmetic<ProjectivePoint = Self::Output> {
9+
pub trait GroupDigest {
1010
/// The field element representation for a group value with multiple elements
1111
type FieldElement: FromOkm + MapToCurve<Output = Self::Output> + Default + Copy;
1212
/// The resulting group element

0 commit comments

Comments
 (0)