Skip to content

Commit 61f38cb

Browse files
authored
Bump cipher dependency to v0.5.0-rc.3 (#94)
This brings `getrandom` v0.4.0-rc.0 and `rand_core` v0.10.0-rc-3
1 parent 0eed419 commit 61f38cb

12 files changed

Lines changed: 30 additions & 34 deletions

File tree

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

belt-ctr/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ keywords = ["crypto", "block-mode", "stream-cipher", "ciphers", "belt"]
1313
categories = ["cryptography", "no-std"]
1414

1515
[dependencies]
16-
cipher = { version = "0.5.0-rc.2", features = ["stream-wrapper"] }
16+
cipher = { version = "0.5.0-rc.3", features = ["stream-wrapper"] }
1717
belt-block = "0.2.0-rc.2"
1818

1919
[dev-dependencies]
2020
hex-literal = "1"
2121
belt-block = "0.2.0-rc.2"
22-
cipher = { version = "0.5.0-rc.2", features = ["dev"] }
22+
cipher = { version = "0.5.0-rc.3", features = ["dev"] }
2323

2424
[features]
2525
alloc = ["cipher/alloc"]

cbc/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ keywords = ["crypto", "block-mode", "ciphers"]
1313
categories = ["cryptography", "no-std"]
1414

1515
[dependencies]
16-
cipher = "0.5.0-rc.2"
16+
cipher = "0.5.0-rc.3"
1717

1818
[dev-dependencies]
1919
aes = "0.9.0-rc.2"
20-
cipher = { version = "0.5.0-rc.2", features = ["dev"] }
20+
cipher = { version = "0.5.0-rc.3", features = ["dev"] }
2121
hex-literal = "1"
2222

2323
[features]

cfb-mode/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ keywords = ["crypto", "block-mode", "stream-cipher", "ciphers"]
1313
categories = ["cryptography", "no-std"]
1414

1515
[dependencies]
16-
cipher = "0.5.0-rc.2"
16+
cipher = "0.5.0-rc.3"
1717

1818
[dev-dependencies]
1919
aes = "0.9.0-rc.2"
2020
belt-block = "0.2.0-rc.2"
21-
cipher = { version = "0.5.0-rc.2", features = ["dev"] }
21+
cipher = { version = "0.5.0-rc.3", features = ["dev"] }
2222
hex-literal = "1"
2323

2424
[features]

cfb8/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ keywords = ["crypto", "block-mode", "stream-cipher", "ciphers"]
1313
categories = ["cryptography", "no-std"]
1414

1515
[dependencies]
16-
cipher = "0.5.0-rc.2"
16+
cipher = "0.5.0-rc.3"
1717

1818
[dev-dependencies]
1919
aes = "0.9.0-rc.2"
20-
cipher = { version = "0.5.0-rc.2", features = ["dev"] }
20+
cipher = { version = "0.5.0-rc.3", features = ["dev"] }
2121
hex-literal = "1"
2222

2323
[features]

ctr/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ keywords = ["crypto", "block-mode", "stream-cipher", "ciphers"]
1313
categories = ["cryptography", "no-std"]
1414

1515
[dependencies]
16-
cipher = { version = "0.5.0-rc.2", features = ["stream-wrapper"] }
16+
cipher = { version = "0.5.0-rc.3", features = ["stream-wrapper"] }
1717

1818
[dev-dependencies]
1919
aes = "0.9.0-rc.2"
2020
magma = "0.10.0-rc.2"
2121
kuznyechik = "0.9.0-rc.2"
22-
cipher = { version = "0.5.0-rc.2", features = ["dev"] }
22+
cipher = { version = "0.5.0-rc.3", features = ["dev"] }
2323
hex-literal = "1"
2424

2525
[features]

ctr/src/lib.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,12 @@
4545
//! // encrypt/decrypt from buffer to buffer
4646
//! // buffer length must be equal to input length
4747
//! let mut buf1 = [0u8; 34];
48-
//! cipher
49-
//! .apply_keystream_b2b(&plaintext, &mut buf1)
50-
//! .unwrap();
48+
//! cipher.apply_keystream_b2b(&plaintext, &mut buf1);
5149
//! assert_eq!(buf1[..], ciphertext[..]);
5250
//!
5351
//! let mut buf2 = [0u8; 34];
5452
//! cipher.seek(0u32);
55-
//! cipher.apply_keystream_b2b(&buf1, &mut buf2).unwrap();
53+
//! cipher.apply_keystream_b2b(&buf1, &mut buf2);
5654
//! assert_eq!(buf2[..], plaintext[..]);
5755
//! ```
5856
//!

cts/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ keywords = ["crypto", "block-mode", "ciphers"]
1313
categories = ["cryptography", "no-std"]
1414

1515
[dependencies]
16-
cipher = "0.5.0-rc.2"
16+
cipher = "0.5.0-rc.3"
1717

1818
[dev-dependencies]
19-
cipher = { version = "0.5.0-rc.2", features = ["dev"] }
19+
cipher = { version = "0.5.0-rc.3", features = ["dev"] }
2020
hex-literal = "1"
2121
aes = "0.9.0-rc.2"
2222
belt-block = "0.2.0-rc.2"

ige/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ keywords = ["crypto", "block-mode", "ciphers"]
1313
categories = ["cryptography", "no-std"]
1414

1515
[dependencies]
16-
cipher = "0.5.0-rc.2"
16+
cipher = "0.5.0-rc.3"
1717

1818
[dev-dependencies]
1919
aes = "0.9.0-rc.2"
20-
cipher = { version = "0.5.0-rc.2", features = ["dev"] }
20+
cipher = { version = "0.5.0-rc.3", features = ["dev"] }
2121
hex-literal = "1"
2222

2323
[features]

ofb/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ keywords = ["crypto", "block-mode", "stream-cipher", "ciphers"]
1313
categories = ["cryptography", "no-std"]
1414

1515
[dependencies]
16-
cipher = { version = "0.5.0-rc.2", features = ["stream-wrapper"] }
16+
cipher = { version = "0.5.0-rc.3", features = ["stream-wrapper"] }
1717

1818
[dev-dependencies]
1919
aes = "0.9.0-rc.2"
20-
cipher = { version = "0.5.0-rc.2", features = ["dev"] }
20+
cipher = { version = "0.5.0-rc.3", features = ["dev"] }
2121
hex-literal = "1"
2222

2323
[features]

0 commit comments

Comments
 (0)