Skip to content

Commit

Permalink
slh-dsa: use pre-release versions
Browse files Browse the repository at this point in the history
  • Loading branch information
baloo committed Sep 30, 2024
1 parent 87a6da8 commit 1e1d1ec
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 113 deletions.
140 changes: 37 additions & 103 deletions Cargo.lock

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

18 changes: 9 additions & 9 deletions slh-dsa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description = """
Pure Rust implementation of SLH-DSA (aka SPHINCS+) as described in the
FIPS-205 standard
"""
version = "0.1.0"
version = "0.2.0-pre"
edition = "2021"
rust-version = "1.81"
license = "Apache-2.0 OR MIT"
Expand All @@ -15,15 +15,15 @@ categories = ["cryptography"]
keywords = ["crypto", "signature"]

[dependencies]
hybrid-array = { version = "0.2.0-rc.8", features = ["extra-sizes"] }
hybrid-array = { version = "0.2.0-rc.10", features = ["extra-sizes"] }
typenum = { version = "1.17.0", features = ["const-generics"] }
sha3 = { version = "0.10.8", default-features = false }
sha3 = { version = "=0.11.0-pre.4", default-features = false }
zerocopy = { version = "0.7.34", features = ["derive"] }
rand_core = { version = "0.6.4" }
signature = { version = "2.3.0-pre.4", features = ["rand_core"] }
hmac = "0.12.1"
sha2 = { version = "0.10.8", default-features = false }
digest = "0.10.7"
hmac = "=0.13.0-pre.4"
sha2 = { version = "=0.11.0-pre.4", default-features = false }
digest = "=0.11.0-pre.9"

[dev-dependencies]
hex-literal = "0.4.1"
Expand All @@ -33,9 +33,9 @@ quickcheck = "1"
quickcheck_macros = "1"
proptest = "1.4.0"
criterion = "0.5"
aes = "0.8.4"
cipher = "0.4.4"
ctr = "0.9.2"
aes = "=0.9.0-pre.2"
cipher = "=0.5.0-pre.7"
ctr = "=0.10.0-pre.2"
rand_core = "0.6.4"
paste = "1.0.15"
rand = "0.8.5"
Expand Down
2 changes: 1 addition & 1 deletion slh-dsa/src/hashes/sha2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use crate::{
xmss::XmssParams, ParameterSet,
};
use crate::{PkSeed, SkPrf, SkSeed};
use digest::{Digest, Mac};
use digest::{Digest, KeyInit, Mac};
use hmac::Hmac;
use hybrid_array::{Array, ArraySize};
use sha2::{Sha256, Sha512};
Expand Down

0 comments on commit 1e1d1ec

Please sign in to comment.