Skip to content

Commit

Permalink
bump cipher dependency to 0.5.0-pre.4 (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
baloo authored Mar 5, 2024
1 parent f3718e7 commit c577715
Show file tree
Hide file tree
Showing 20 changed files with 44 additions and 46 deletions.
13 changes: 7 additions & 6 deletions Cargo.lock

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

3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,3 @@ members = [

[profile.dev]
opt-level = 2

[patch.crates-io.cipher]
git = "https://github.com/RustCrypto/traits.git"
4 changes: 2 additions & 2 deletions aes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ categories = ["cryptography", "no-std"]

[dependencies]
cfg-if = "1"
cipher = "=0.5.0-pre.2"
cipher = "=0.5.0-pre.4"
zeroize = { version = "1.5.6", optional = true, default_features = false, features = ["aarch64"] }

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

[dev-dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["dev"] }
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
hex-literal = "0.3"

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

[dependencies]
cipher = "=0.5.0-pre.2"
cipher = "=0.5.0-pre.4"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["dev"] }
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down
4 changes: 2 additions & 2 deletions belt-block/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ repository = "https://github.com/RustCrypto/block-ciphers"
keywords = ["crypto", "belt-block", "belt", "stb"]

[dependencies]
cipher = { version = "=0.5.0-pre.2", optional = true }
cipher = { version = "=0.5.0-pre.4", optional = true }

[dev-dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["dev"] }
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down
6 changes: 3 additions & 3 deletions blowfish/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ description = "Blowfish block cipher"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.56"
rust-version = "1.65"
readme = "README.md"
documentation = "https://docs.rs/blowfish"
repository = "https://github.com/RustCrypto/block-ciphers"
keywords = ["crypto", "blowfish", "block-cipher"]
categories = ["cryptography", "no-std"]

[dependencies]
cipher = "=0.5.0-pre.2"
cipher = "=0.5.0-pre.4"
byteorder = { version = "1.1", default-features = false }

[dev-dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["dev"] }
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }

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

[dependencies]
byteorder = { version = "1.1", default-features = false }
cipher = "=0.5.0-pre.2"
cipher = "=0.5.0-pre.4"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["dev"] }
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }

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

[dependencies]
cipher = "=0.5.0-pre.2"
cipher = "=0.5.0-pre.4"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["dev"] }
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
hex-literal = "0.4"

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

[dependencies]
cipher = "=0.5.0-pre.2"
cipher = "=0.5.0-pre.4"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["dev"] }
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
hex-literal = "0.4"

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

[dependencies]
cipher = "=0.5.0-pre.2"
cipher = "=0.5.0-pre.4"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["dev"] }
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }

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

[dependencies]
cipher = "=0.5.0-pre.2"
cipher = "=0.5.0-pre.4"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["dev"] }
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }

[features]
zeroize = ["cipher/zeroize"]
Expand Down
4 changes: 2 additions & 2 deletions kuznyechik/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ keywords = ["crypto", "kuznyechik", "gost", "block-cipher"]
categories = ["cryptography", "no-std"]

[dependencies]
cipher = "=0.5.0-pre.2"
cipher = "=0.5.0-pre.4"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["dev"] }
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
hex-literal = "0.4"

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

[dependencies]
cipher = "=0.5.0-pre.2"
cipher = "=0.5.0-pre.4"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["dev"] }
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
hex-literal = "0.4"

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

[dependencies]
cipher = "=0.5.0-pre.2"
cipher = "=0.5.0-pre.4"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["dev"] }
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }

[features]
zeroize = ["cipher/zeroize"]
Expand Down
4 changes: 2 additions & 2 deletions rc5/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ keywords = ["crypto", "rc5", "block-cipher"]
categories = ["cryptography"]

[dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["zeroize"] }
cipher = { version = "=0.5.0-pre.4", features = ["zeroize"] }

[dev-dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["dev"] }
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }

[features]
zeroize = []
4 changes: 2 additions & 2 deletions serpent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ categories = ["cryptography", "no-std"]

[dependencies]
byteorder = { version = "1.1", default-features = false }
cipher = "=0.5.0-pre.2"
cipher = "=0.5.0-pre.4"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["dev"] }
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }

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

[dependencies]
cipher = "=0.5.0-pre.2"
cipher = "=0.5.0-pre.4"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["dev"] }
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
hex-literal = "0.4"

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

[dependencies]
cipher = "=0.5.0-pre.2"
cipher = "=0.5.0-pre.4"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["dev"] }
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
hex-literal = "0.4"
4 changes: 2 additions & 2 deletions threefish/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ keywords = ["crypto", "threefish", "block-cipher"]
categories = ["cryptography", "no-std"]

[dependencies]
cipher = { version = "=0.5.0-pre.2", optional = true }
cipher = { version = "=0.5.0-pre.4", optional = true }
zeroize = { version = "1.6", optional = true, default-features = false }

[dev-dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["dev"]}
cipher = { version = "=0.5.0-pre.4", features = ["dev"]}
hex-literal = "0.4"

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

[dependencies]
cipher = "=0.5.0-pre.2"
cipher = "=0.5.0-pre.4"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.2", features = ["dev"] }
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
hex-literal = "0.4"

[features]
Expand Down

0 comments on commit c577715

Please sign in to comment.