Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .github/workflows/blake2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,3 @@ jobs:
override: true
- run: cargo test --no-default-features
- run: cargo test
simd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- run: cargo test --features simd
- run: cargo test --features simd_opt
- run: cargo test --features simd_asm
44 changes: 43 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions blake2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ keywords = ["crypto", "blake2", "hash", "digest"]
categories = ["cryptography", "no-std"]

[dependencies]
blake2b_simd = { version = "0.5.10", default-features = false }
blake2s_simd = { version = "0.5.10", default-features = false }
digest = "0.9"
crypto-mac = "0.8"
opaque-debug = "0.3"
Expand All @@ -23,7 +25,4 @@ hex-literal = "0.2"

[features]
default = ["std"]
std = ["digest/std", "crypto-mac/std"]
simd = []
simd_opt = ["simd"]
simd_asm = ["simd_opt"]
std = ["digest/std", "crypto-mac/std", "blake2b_simd/std", "blake2s_simd/std"]
4 changes: 4 additions & 0 deletions blake2/benches/blake2bp.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#![no_std]
#![feature(test)]

digest::bench!(blake2::Blake2bp);
4 changes: 4 additions & 0 deletions blake2/benches/blake2sp.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#![no_std]
#![feature(test)]

digest::bench!(blake2::Blake2sp);
44 changes: 0 additions & 44 deletions blake2/src/as_bytes.rs

This file was deleted.

Loading