diff --git a/Cargo.lock b/Cargo.lock index 5344c943..9d1208f1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -350,7 +350,7 @@ dependencies = [ [[package]] name = "dsa" -version = "0.7.0-rc.6" +version = "0.7.0-rc.7" dependencies = [ "chacha20", "crypto-bigint", @@ -440,16 +440,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "env_logger" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3" -dependencies = [ - "log", - "regex", -] - [[package]] name = "errno" version = "0.3.14" @@ -481,17 +471,6 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" -[[package]] -name = "getrandom" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" -dependencies = [ - "cfg-if", - "libc", - "wasi", -] - [[package]] name = "getrandom" version = "0.3.4" @@ -814,28 +793,6 @@ version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" -[[package]] -name = "quickcheck" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "588f6378e4dd99458b60ec275b4477add41ce4fa9f64dcba6f15adccb19b50d6" -dependencies = [ - "env_logger", - "log", - "rand 0.8.5", -] - -[[package]] -name = "quickcheck_macros" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f71ee38b42f8459a88d3362be6f9b841ad2d5421844f61eb1c59c11bff3ac14a" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "quote" version = "1.0.41" @@ -851,15 +808,6 @@ version = "5.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "rand_core 0.6.4", -] - [[package]] name = "rand" version = "0.9.2" @@ -877,7 +825,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e7d245ced4538f0406b1579d3d4a6515a2ff1bdf20733492e2e4fc90a648769" dependencies = [ "chacha20", - "getrandom 0.3.4", + "getrandom", "rand_core 0.10.0-rc-2", ] @@ -891,22 +839,13 @@ dependencies = [ "rand_core 0.9.3", ] -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom 0.2.16", -] - [[package]] name = "rand_core" version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" dependencies = [ - "getrandom 0.3.4", + "getrandom", ] [[package]] @@ -1150,7 +1089,7 @@ dependencies = [ [[package]] name = "slh-dsa" -version = "0.2.0-rc.0" +version = "0.2.0-rc.1" dependencies = [ "aes", "cipher", @@ -1166,8 +1105,6 @@ dependencies = [ "paste", "pkcs8", "proptest", - "quickcheck", - "quickcheck_macros", "rand 0.10.0-rc.1", "rand_core 0.10.0-rc-2", "serde", @@ -1220,7 +1157,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" dependencies = [ "fastrand", - "getrandom 0.3.4", + "getrandom", "once_cell", "rustix", "windows-sys", @@ -1273,12 +1210,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "wasi" -version = "0.11.1+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" - [[package]] name = "wasip2" version = "1.0.1+wasi-0.2.4" diff --git a/slh-dsa/Cargo.toml b/slh-dsa/Cargo.toml index 623c960d..6b1cfda2 100644 --- a/slh-dsa/Cargo.toml +++ b/slh-dsa/Cargo.toml @@ -4,7 +4,7 @@ description = """ Pure Rust implementation of SLH-DSA (aka SPHINCS+) as described in the FIPS-205 standard """ -version = "0.2.0-rc.0" +version = "0.2.0-rc.1" edition = "2024" rust-version = "1.85" license = "Apache-2.0 OR MIT" @@ -16,36 +16,36 @@ keywords = ["crypto", "signature"] exclude = ["tests"] [dependencies] +const-oid = { version = "0.10", features = ["db"] } +digest = "0.11.0-rc.4" +hmac = "0.13.0-rc.3" hybrid-array = { version = "0.4", features = ["extra-sizes"] } -typenum = { version = "1.17", features = ["const-generics"] } -sha3 = { version = "0.11.0-rc.3", default-features = false } -zerocopy = { version = "0.8", features = ["derive"] } +pkcs8 = { version = "0.11.0-rc.8", default-features = false } rand_core = { version = "0.10.0-rc-2" } -signature = { version = "3.0.0-rc.5", features = ["rand_core"] } -hmac = "0.13.0-rc.3" sha2 = { version = "0.11.0-rc.3", default-features = false } -digest = "0.11.0-rc.4" -pkcs8 = { version = "0.11.0-rc.8", default-features = false } -const-oid = { version = "0.10", features = ["db"] } +sha3 = { version = "0.11.0-rc.3", default-features = false } +signature = { version = "3.0.0-rc.5", features = ["rand_core"] } +typenum = { version = "1.17", features = ["const-generics"] } +zerocopy = { version = "0.8", features = ["derive"] } + +# optional dependencies zeroize = { version = "1.8.1", optional = true, default-features = false } [dev-dependencies] -hex-literal = "1" -hex = { version = "0.4.1", features = ["serde"] } -num-bigint = "0.4.4" -quickcheck = "1" -quickcheck_macros = "1" -proptest = "1.4.0" -criterion = "0.7" aes = "0.9.0-rc.2" +criterion = "0.7" cipher = "0.5.0-rc.2" ctr = "0.10.0-rc.2" -rand_core = "0.10.0-rc-2" +hex = { version = "0.4.1", features = ["serde"] } +hex-literal = "1" +num-bigint = "0.4.4" paste = "1.0.15" +pkcs8 = { version = "0.11.0-rc.8", features = ["pem"] } +proptest = "1.4.0" +rand_core = "0.10.0-rc-2" rand = "0.10.0-rc.1" serde_json = "1.0.124" serde = { version = "1.0.207", features = ["derive"] } -pkcs8 = { version = "0.11.0-rc.8", features = ["pem"] } [lib] bench = false