Skip to content

Commit 49199e9

Browse files
authored
Bump cipher to v0.5.0-rc.8 (#97)
This notably renames the `cipher::crypto_common` re-export to just `cipher::common`, which necessitates a new release of all of the crates in this repo: - `belt-ctr` v0.2.0-rc.3 - `cbc` v0.2.0-rc.3 - `cfb-mode` v0.9.0-rc.3 - `cfb8` v0.9.0-rc.3 - `ctr` v0.10.0-rc.3 - `cts` v0.7.0-rc.3 - `ige` v0.2.0-rc.3 - `ofb` v0.7.0-rc.3 - `pcbc` v0.2.0-rc.3
1 parent 2a8af05 commit 49199e9

31 files changed

Lines changed: 91 additions & 86 deletions

Cargo.lock

Lines changed: 28 additions & 22 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: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "belt-ctr"
3-
version = "0.2.0-rc.2"
3+
version = "0.2.0-rc.3"
44
description = "CTR block mode of operation specified by the BelT standard"
55
authors = ["RustCrypto Developers"]
66
license = "MIT OR Apache-2.0"
@@ -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.6", features = ["stream-wrapper"] }
17-
belt-block = "0.2.0-rc.2"
16+
cipher = { version = "0.5.0-rc.8", features = ["stream-wrapper"] }
17+
belt-block = "0.2.0-rc.3"
1818

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

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

belt-ctr/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ use cipher::{
1515
AlgorithmName, Block, BlockCipherDecrypt, BlockCipherEncBackend, BlockCipherEncClosure,
1616
BlockCipherEncrypt, BlockSizeUser, InOut, InnerIvInit, Iv, IvSizeUser, IvState, ParBlocks,
1717
ParBlocksSizeUser, StreamCipherBackend, StreamCipherClosure, StreamCipherCore,
18-
StreamCipherCoreWrapper, StreamCipherSeekCore, array::Array, consts::U16,
19-
crypto_common::InnerUser,
18+
StreamCipherCoreWrapper, StreamCipherSeekCore, array::Array, common::InnerUser, consts::U16,
2019
};
2120
use core::fmt;
2221

cbc/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cbc"
3-
version = "0.2.0-rc.2"
3+
version = "0.2.0-rc.3"
44
description = "Cipher Block Chaining (CBC) block cipher mode of operation"
55
authors = ["RustCrypto Developers"]
66
license = "MIT OR Apache-2.0"
@@ -13,11 +13,11 @@ keywords = ["crypto", "block-mode", "ciphers"]
1313
categories = ["cryptography", "no-std"]
1414

1515
[dependencies]
16-
cipher = "0.5.0-rc.6"
16+
cipher = "0.5.0-rc.8"
1717

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

2323
[features]

cbc/src/decrypt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use cipher::{
44
BlockModeDecBackend, BlockModeDecClosure, BlockModeDecrypt, BlockSizeUser, InnerIvInit, Iv,
55
IvState, ParBlocks, ParBlocksSizeUser,
66
array::Array,
7-
crypto_common::{BlockSizes, InnerUser, IvSizeUser},
7+
common::{BlockSizes, InnerUser, IvSizeUser},
88
inout::InOut,
99
};
1010
use core::fmt;

cbc/src/encrypt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ use cipher::{
33
AlgorithmName, Array, Block, BlockCipherEncBackend, BlockCipherEncClosure, BlockCipherEncrypt,
44
BlockModeEncBackend, BlockModeEncClosure, BlockModeEncrypt, BlockSizeUser, InOut, InnerIvInit,
55
Iv, IvSizeUser, IvState, ParBlocksSizeUser,
6+
common::{BlockSizes, InnerUser},
67
consts::U1,
7-
crypto_common::{BlockSizes, InnerUser},
88
};
99
use core::fmt;
1010

cfb-mode/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cfb-mode"
3-
version = "0.9.0-rc.2"
3+
version = "0.9.0-rc.3"
44
description = "Cipher Feedback (CFB) block cipher mode of operation"
55
authors = ["RustCrypto Developers"]
66
license = "MIT OR Apache-2.0"
@@ -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.6"
16+
cipher = "0.5.0-rc.8"
1717

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

2424
[features]

cfb-mode/src/decrypt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use cipher::{
33
BlockCipherEncClosure, BlockCipherEncrypt, BlockModeDecBackend, BlockModeDecClosure,
44
BlockModeDecrypt, BlockSizeUser, InOut, InnerIvInit, Iv, IvSizeUser, IvState, ParBlocks,
55
ParBlocksSizeUser,
6-
crypto_common::{BlockSizes, InnerUser},
6+
common::{BlockSizes, InnerUser},
77
typenum::Unsigned,
88
};
99
use core::fmt;

cfb-mode/src/encrypt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ use cipher::{
44
BlockModeEncrypt, BlockSizeUser, InOut, InnerIvInit, Iv, IvSizeUser, IvState,
55
ParBlocksSizeUser,
66
array::Array,
7+
common::{BlockSizes, InnerUser},
78
consts::U1,
8-
crypto_common::{BlockSizes, InnerUser},
99
};
1010
use core::fmt;
1111

cfb-mode/src/encrypt/buf.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use super::xor_set1;
22
use cipher::{
3-
AlgorithmName, Block, BlockCipherEncrypt, InnerIvInit, Iv, IvSizeUser,
4-
crypto_common::InnerUser, typenum::Unsigned,
3+
AlgorithmName, Block, BlockCipherEncrypt, InnerIvInit, Iv, IvSizeUser, common::InnerUser,
4+
typenum::Unsigned,
55
};
66
use core::fmt;
77

0 commit comments

Comments
 (0)