Skip to content

Commit

Permalink
Bump cipher to v0.5.0-pre.6 (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Jul 26, 2024
1 parent f701172 commit da5444c
Show file tree
Hide file tree
Showing 22 changed files with 49 additions and 44 deletions.
16 changes: 8 additions & 8 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 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.4"
cipher = "=0.5.0-pre.6"
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.4", features = ["dev"] }
cipher = { version = "=0.5.0-pre.6", 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.4"
cipher = "=0.5.0-pre.6"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
cipher = { version = "=0.5.0-pre.6", 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.4", optional = true }
cipher = { version = "=0.5.0-pre.6", optional = true }

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

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

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

[dev-dependencies]
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
cipher = { version = "=0.5.0-pre.6", 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.4"
cipher = "=0.5.0-pre.6"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
cipher = { version = "=0.5.0-pre.6", 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.4"
cipher = "=0.5.0-pre.6"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
cipher = { version = "=0.5.0-pre.6", 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.4"
cipher = "=0.5.0-pre.6"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
cipher = { version = "=0.5.0-pre.6", 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.4"
cipher = "=0.5.0-pre.6"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
cipher = { version = "=0.5.0-pre.6", 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.4"
cipher = "=0.5.0-pre.6"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
cipher = { version = "=0.5.0-pre.6", 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.4"
cipher = "=0.5.0-pre.6"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
cipher = { version = "=0.5.0-pre.6", 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.4"
cipher = "=0.5.0-pre.6"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
cipher = { version = "=0.5.0-pre.6", 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.4"
cipher = "=0.5.0-pre.6"

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

[features]
zeroize = ["cipher/zeroize"]
Expand Down
3 changes: 3 additions & 0 deletions rc2/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ macro_rules! new_tests {
}

#[test]
#[allow(deprecated)] // uses `clone_from_slice`
fn rc2() {
let tests = new_tests!("1", "2", "3", "7");
for test in &tests {
Expand All @@ -37,6 +38,7 @@ fn rc2() {
}

#[test]
#[allow(deprecated)] // uses `clone_from_slice`
fn rc2_effective_key_64() {
let tests = new_tests!("4", "5", "6");
for test in &tests {
Expand All @@ -53,6 +55,7 @@ fn rc2_effective_key_64() {
}

#[test]
#[allow(deprecated)] // uses `clone_from_slice`
fn rc2_effective_key_129() {
let tests = new_tests!("8");
for test in &tests {
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.4", features = ["zeroize"] }
cipher = { version = "=0.5.0-pre.6", features = ["zeroize"] }

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

[features]
zeroize = []
1 change: 1 addition & 0 deletions rc5/tests/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// generated using the code in: https://www.ietf.org/archive/id/draft-krovetz-rc6-rc5-vectors-00.txt
#[cfg(test)]
#[allow(deprecated)] // uses `clone_from_slice`
mod tests {
use cipher::consts::*;
use cipher::{array::Array, BlockCipherDecrypt, BlockCipherEncrypt, KeyInit};
Expand Down
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.4"
cipher = "=0.5.0-pre.6"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
cipher = { version = "=0.5.0-pre.6", 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.4"
cipher = "=0.5.0-pre.6"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
cipher = { version = "=0.5.0-pre.6", 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.4"
cipher = "=0.5.0-pre.6"

[dev-dependencies]
cipher = { version = "=0.5.0-pre.4", features = ["dev"] }
cipher = { version = "=0.5.0-pre.6", 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.4", optional = true }
cipher = { version = "=0.5.0-pre.6", optional = true }
zeroize = { version = "1.6", optional = true, default-features = false }

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

[features]
Expand Down
1 change: 1 addition & 0 deletions threefish/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ struct Vector {
macro_rules! impl_test {
{$name:ident, $cipher:ty, $tests:expr,} => {
#[test]
#[allow(deprecated)] // uses `clone_from_slice`
fn $name() {
let vectors = $tests;
for &Vector { key, tweak, pt, ct } in vectors.iter() {
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.4"
cipher = "=0.5.0-pre.6"

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

[features]
Expand Down

0 comments on commit da5444c

Please sign in to comment.