Skip to content

Commit

Permalink
Merge pull request #598 from cryspen/dev
Browse files Browse the repository at this point in the history
[ML-KEM] Merge verified code back to main
  • Loading branch information
karthikbhargavan authored Dec 17, 2024
2 parents 5d76f68 + 07b53c6 commit e7dca38
Show file tree
Hide file tree
Showing 346 changed files with 39,031 additions and 22,521 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/mlkem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ jobs:
- name: πŸ”¨ Build
run: |
rustc --print=cfg
cargo build --verbose $RUST_TARGET_FLAG --features pre-verification
cargo build --verbose $RUST_TARGET_FLAG
- name: πŸ”¨ Build Release
run: cargo build --verbose --release $RUST_TARGET_FLAG --features pre-verification
run: cargo build --verbose --release $RUST_TARGET_FLAG

- name: πŸƒπŸ» Asan MacOS
if: ${{ matrix.os == 'macos-latest' }}
run: RUSTDOCFLAGS=-Zsanitizer=address RUSTFLAGS=-Zsanitizer=address cargo +nightly test --release --target aarch64-apple-darwin --features pre-verification
run: RUSTDOCFLAGS=-Zsanitizer=address RUSTFLAGS=-Zsanitizer=address cargo +nightly test --release --target aarch64-apple-darwin

# - name: ⬆ Upload build
# uses: ./.github/actions/upload_artifacts
Expand Down Expand Up @@ -135,27 +135,27 @@ jobs:
- name: πŸƒπŸ»β€β™€οΈ Test
run: |
cargo clean
cargo test --verbose $RUST_TARGET_FLAG --features pre-verification
cargo test --verbose $RUST_TARGET_FLAG
- name: πŸƒπŸ»β€β™€οΈ Test Release
run: |
cargo clean
cargo test --verbose --release $RUST_TARGET_FLAG --features pre-verification
cargo test --verbose --release $RUST_TARGET_FLAG
- name: πŸƒπŸ»β€β™€οΈ Test Portable
run: |
cargo clean
LIBCRUX_DISABLE_SIMD128=1 LIBCRUX_DISABLE_SIMD256=1 cargo test --verbose $RUST_TARGET_FLAG --features pre-verification
LIBCRUX_DISABLE_SIMD128=1 LIBCRUX_DISABLE_SIMD256=1 cargo test --verbose $RUST_TARGET_FLAG
- name: πŸƒπŸ»β€β™€οΈ Test Portable Release
run: |
cargo clean
LIBCRUX_DISABLE_SIMD128=1 LIBCRUX_DISABLE_SIMD256=1 cargo test --verbose --release $RUST_TARGET_FLAG --features pre-verification
LIBCRUX_DISABLE_SIMD128=1 LIBCRUX_DISABLE_SIMD256=1 cargo test --verbose --release $RUST_TARGET_FLAG
- name: πŸƒπŸ»β€β™€οΈ Test Kyber
run: |
cargo clean
cargo test --features pre-verification,kyber --verbose $RUST_TARGET_FLAG
cargo test ,kyber --verbose $RUST_TARGET_FLAG
- name: πŸƒπŸ»β€β™€οΈ Cargo Check Features
if: ${{ matrix.bits == 64 }}
Expand Down
Loading

0 comments on commit e7dca38

Please sign in to comment.