Skip to content

Commit

Permalink
Bump digest to v0.11.0-pre.6 (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov authored Jan 11, 2024
1 parent d5eefb0 commit 559d7ff
Show file tree
Hide file tree
Showing 24 changed files with 46 additions and 47 deletions.
6 changes: 4 additions & 2 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions ascon-hash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ categories = ["cryptography", "no-std"]
rust-version = "1.71"

[dependencies]
digest = { version = "=0.11.0-pre.4", default-features = false, features = ["core-api"] }
digest = { version = "=0.11.0-pre.6", default-features = false, features = ["core-api"] }
ascon = { version = "0.4", default-features = false }

[dev-dependencies]
Expand All @@ -27,7 +27,7 @@ hex-literal = "0.4"
[features]
default = ["std"]
std = ["digest/std"]
zeroize = ["ascon/zeroize"] # TODO: enable zeroize in the future for block-buffer v0.11
zeroize = ["ascon/zeroize", "digest/zeroize"]

[package.metadata.docs.rs]
all-features = true
Expand Down
4 changes: 2 additions & 2 deletions belt-hash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ keywords = ["crypto", "belt", "stb", "hash", "digest"]
categories = ["cryptography", "no-std"]

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.6"
belt-block = { version = "0.1.1", default-features = false }

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down
4 changes: 2 additions & 2 deletions blake2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ categories = ["cryptography", "no-std"]
rust-version = "1.71"

[dependencies]
digest = { version = "=0.11.0-pre.4", features = ["mac"] }
digest = { version = "=0.11.0-pre.6", features = ["mac"] }

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down
4 changes: 2 additions & 2 deletions fsb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ categories = ["cryptography", "no-std"]
rust-version = "1.71"

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.6"
whirlpool = { version = "=0.11.0-pre", path = "../whirlpool", default-features = false }

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down
4 changes: 2 additions & 2 deletions gost94/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ categories = ["cryptography", "no-std"]
rust-version = "1.71"

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.6"

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down
1 change: 0 additions & 1 deletion gost94/src/params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ pub(crate) type Block = [u8; 32];
pub(crate) type SBox = [[u8; 16]; 8];

/// Trait for storing parameter constants.
// TODO: replace with const generics
pub trait Gost94Params {
/// S-box value.
const S_BOX: SBox;
Expand Down
4 changes: 2 additions & 2 deletions groestl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ categories = ["cryptography", "no-std"]
rust-version = "1.71"

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.6"

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down
4 changes: 2 additions & 2 deletions jh/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ keywords = ["crypto", "jh", "hash", "digest"]
categories = ["cryptography", "no-std"]

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.6"
hex-literal = "0.4"
simd = { package = "ppv-lite86", version = "0.2.6" }

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
4 changes: 2 additions & 2 deletions k12/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ categories = ["cryptography", "no-std"]
rust-version = "1.71"

[dependencies]
digest = { version = "=0.11.0-pre.4", default-features = false, features = ["core-api"] }
digest = { version = "=0.11.0-pre.6", default-features = false, features = ["core-api"] }
sha3 = { version = "=0.11.0-pre.1", default-features = false, path = "../sha3" }

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["alloc", "dev"] }
digest = { version = "=0.11.0-pre.6", features = ["alloc", "dev"] }
hex-literal = "0.4"

[features]
Expand Down
4 changes: 2 additions & 2 deletions md2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ categories = ["cryptography", "no-std"]
rust-version = "1.71"

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.6"

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down
4 changes: 2 additions & 2 deletions md4/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ categories = ["cryptography", "no-std"]
rust-version = "1.71"

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.6"

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down
4 changes: 2 additions & 2 deletions md5/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ rust-version = "1.72"
name = "md5"

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.6"
cfg-if = "1"

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down
2 changes: 0 additions & 2 deletions md5/src/consts.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
pub(crate) const STATE_INIT: [u32; 4] = [0x6745_2301, 0xEFCD_AB89, 0x98BA_DCFE, 0x1032_5476];

// TODO: remove `allow` on deprecation of `md5-asm`
#[allow(dead_code)]
pub(crate) static RC: [u32; 64] = [
// round 1
0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee, 0xf57c0faf, 0x4787c62a, 0xa8304613, 0xfd469501,
Expand Down
4 changes: 2 additions & 2 deletions ripemd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ categories = ["cryptography", "no-std"]
rust-version = "1.71"

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.6"

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down
4 changes: 2 additions & 2 deletions sha1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ categories = ["cryptography", "no-std"]
rust-version = "1.72"

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.6"
cfg-if = "1.0"

[target.'cfg(any(target_arch = "aarch64", target_arch = "x86", target_arch = "x86_64"))'.dependencies]
cpufeatures = "0.2"

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down
4 changes: 2 additions & 2 deletions sha2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ categories = ["cryptography", "no-std"]
rust-version = "1.72"

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.6"
cfg-if = "1"

[target.'cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))'.dependencies]
cpufeatures = "0.2"

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down
4 changes: 2 additions & 2 deletions sha3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ categories = ["cryptography", "no-std"]
rust-version = "1.71"

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.6"
keccak = "0.1.4"
zeroize = { version = "1.6.0", default-features = false, optional=true } # WARNING: Bumps MSRV to 1.56

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down
4 changes: 2 additions & 2 deletions shabal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ categories = ["cryptography", "no-std"]
rust-version = "1.71"

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.6"

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down
4 changes: 2 additions & 2 deletions skein/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ keywords = ["crypto", "skein", "hash", "digest"]
categories = ["cryptography", "no-std"]

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.6"
threefish = { version = "0.5.2", default-features = false }

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
hex-literal = "0.4"
4 changes: 2 additions & 2 deletions sm3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ categories = ["cryptography", "no-std"]
rust-version = "1.71"

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.6"

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down
4 changes: 2 additions & 2 deletions streebog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ categories = ["cryptography", "no-std"]
rust-version = "1.71"

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.6"

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down
4 changes: 2 additions & 2 deletions tiger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ categories = ["cryptography", "no-std"]
rust-version = "1.71"

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.6"

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down
4 changes: 2 additions & 2 deletions whirlpool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ categories = ["cryptography", "no-std"]
rust-version = "1.71"

[dependencies]
digest = "=0.11.0-pre.4"
digest = "=0.11.0-pre.6"

[dev-dependencies]
digest = { version = "=0.11.0-pre.4", features = ["dev"] }
digest = { version = "=0.11.0-pre.6", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down

0 comments on commit 559d7ff

Please sign in to comment.