Skip to content

Commit

Permalink
implements efrodo and provides test vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
mikelodder7 committed Nov 7, 2024
1 parent 00c8366 commit 2fe6cc8
Show file tree
Hide file tree
Showing 35 changed files with 11,692 additions and 1,881 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/frodo-kem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,21 @@ on:
paths-ignore:
- README.md
- SECURITY.md
- LICENSE-Apache
- LICENSE-APACHE
- LICENSE-MIT
- .pants-ignore
- rustfmt.toml
push:
branches: master
- "frodo-kem/**"
- "Cargo.*"
paths-ignore:
- README.md
- SECURITY.md
- LICENSE-Apache
- LICENSE-APACHE
- LICENSE-MIT
- .pants-ignore
- rustfmt.toml

env:
CARGO_INCREMENTAL: 0
Expand All @@ -40,7 +44,10 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- run: cargo build
- run: cargo build --no-default-features --features=frodo
- run: cargo build --no-default-features --features=efrodo
- run: cargo build --no-default-features || [ $? -eq 101 ]
- run: cargo build --all-features


test:
Expand All @@ -52,14 +59,16 @@ jobs:
toolchain: stable
- run: cargo build --all-features --benches --release --keep-going
- run: cargo test --all-features --release
- run: cargo test --no-default-features --features=frodo,efrodo,serde --release

careful:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- run: cargo install cargo-careful
- run: cargo careful test
- run: cargo careful test tests
- run: cargo careful test test_vector --release

clippy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -112,7 +121,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- run: cargo install cargo-pants
- run: cargo pants --loud
- run: cargo pants --loud --dev

cross:
needs: set-msrv
Expand Down
59 changes: 0 additions & 59 deletions efrodo-kem/Cargo.toml

This file was deleted.

62 changes: 0 additions & 62 deletions efrodo-kem/README.md

This file was deleted.

Loading

0 comments on commit 2fe6cc8

Please sign in to comment.