Skip to content

Commit 9d05d81

Browse files
authored
Use release versions of dependencies (#821)
Bumps: - `aes` to `0.9.0` - `belt-block` to `0.2.0` - `belt-ctr` to `0.2.0` - `cmac` to `0.8.0` - `ctr` to `0.10.0` - `ghash` to `0.6.0` - `pmac` to `0.8.0` - `universal-hash` to `0.6.1`
1 parent 37bd4e2 commit 9d05d81

File tree

12 files changed

+45
-54
lines changed

12 files changed

+45
-54
lines changed

Cargo.lock

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

aes-gcm-siv/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ rust-version = "1.85"
1818

1919
[dependencies]
2020
aead = { version = "0.6.0-rc.10", default-features = false }
21-
aes = { version = "0.9.0-rc.4", optional = true }
21+
aes = { version = "0.9", optional = true }
2222
cipher = "0.5"
23-
ctr = "0.10.0-rc.3"
24-
polyval = { version = "0.7.0-rc.7", default-features = false }
23+
ctr = "0.10"
24+
polyval = { version = "0.7", default-features = false }
2525
subtle = { version = "2", default-features = false }
2626
zeroize = { version = "1", optional = true, default-features = false }
2727

aes-gcm/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ rust-version = "1.85"
1919
[dependencies]
2020
aead = { version = "0.6.0-rc.10", default-features = false }
2121
cipher = "0.5"
22-
ctr = "0.10.0-rc.3"
23-
ghash = { version = "0.6.0-rc.6", default-features = false }
22+
ctr = "0.10"
23+
ghash = { version = "0.6", default-features = false }
2424
subtle = { version = "2", default-features = false }
2525

2626
# optional dependencies
27-
aes = { version = "0.9.0-rc.4", optional = true }
27+
aes = { version = "0.9", optional = true }
2828
zeroize = { version = "1", optional = true, default-features = false }
2929

3030
[dev-dependencies]

aes-siv/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ rust-version = "1.85"
1818

1919
[dependencies]
2020
aead = "0.6.0-rc.10"
21-
aes = "0.9.0-rc.4"
21+
aes = "0.9"
2222
cipher = "0.5"
23-
cmac = "0.8.0-rc.4"
24-
ctr = "0.10.0-rc.3"
23+
cmac = "0.8"
24+
ctr = "0.10"
2525
dbl = "0.5"
26-
digest = { version = "0.11.0-rc.11", features = ["mac"] }
26+
digest = { version = "0.11", features = ["mac"] }
2727

2828
# optional dependencies
29-
pmac = { version = "0.8.0-rc.4", optional = true }
29+
pmac = { version = "0.8", optional = true }
3030
zeroize = { version = "1", optional = true, default-features = false }
3131

3232
[dev-dependencies]

belt-dwp/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ rust-version = "1.85"
1313

1414
[dependencies]
1515
aead = { version = "0.6.0-rc.10", default-features = false }
16-
belt-block = { version = "0.2.0-rc.3" }
17-
belt-ctr = { version = "0.2.0-rc.3" }
16+
belt-block = "0.2"
17+
belt-ctr = "0.2"
18+
universal-hash = "0.6"
1819
subtle = { version = "2", default-features = false }
19-
universal-hash = { version = "0.6.0-rc.10" }
2020
zeroize = { version = "1.8", default-features = false, optional = true }
2121

2222
[dev-dependencies]

belt-dwp/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ use aead::{TagPosition, inout::InOutBuf};
8383
use belt_block::cipher::common::InnerUser;
8484
use belt_block::cipher::{Block, BlockCipherEncrypt, StreamCipher};
8585
use belt_ctr::cipher::InnerIvInit;
86-
use belt_ctr::{BeltCtr, BeltCtrCore};
86+
use belt_ctr::{GenericBeltCtr, GenericBeltCtrCore};
8787
use core::marker::PhantomData;
8888
use universal_hash::UniversalHash;
8989
use universal_hash::common::{BlockSizeUser, InnerInit};
@@ -162,8 +162,8 @@ where
162162
let mut ghash = GHash::new_with_init_block(&r, T);
163163

164164
// Initialize CTR mode
165-
let core = BeltCtrCore::inner_iv_init(&self.cipher, nonce);
166-
let mut enc_cipher = BeltCtr::from_core(core);
165+
let core = GenericBeltCtrCore::inner_iv_init(&self.cipher, nonce);
166+
let mut enc_cipher = GenericBeltCtr::from_core(core);
167167

168168
// 3. For 𝑖 = 1, 2, . . . , 𝑚 do:
169169
// 3.1 𝑡 ← 𝑡 ⊕ (𝐼𝑖 ‖ 0^{128−|𝐼𝑖|})
@@ -232,8 +232,8 @@ where
232232
// 8. For 𝑖 = 1,2,...,𝑛 do:
233233
// 8.1. 𝑠 ← 𝑠 ⊞ ⟨1⟩128;
234234
// 8.2. 𝑋𝑖 ← 𝑌𝑖 ⊕ Lo(belt-block(𝑠, 𝐾), |𝑌𝑖|)
235-
let core = BeltCtrCore::inner_iv_init(&self.cipher, nonce);
236-
let mut enc_cipher = BeltCtr::from_core(core);
235+
let core = GenericBeltCtrCore::inner_iv_init(&self.cipher, nonce);
236+
let mut enc_cipher = GenericBeltCtr::from_core(core);
237237
enc_cipher.apply_keystream_inout(buffer);
238238
Ok(())
239239
} else {

benches/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ rust-version = "1.56"
1313
[dependencies]
1414
criterion = "0.4.0"
1515
rand = "0.9.0"
16-
aes = "0.9.0-rc.4"
16+
aes = "0.9"
1717
aes-gcm = { path = "../aes-gcm/" }
1818
aes-gcm-siv = { path = "../aes-gcm-siv/" }
1919
ascon-aead128 = { path = "../ascon-aead128/" }

ccm/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ rust-version = "1.85"
1616
[dependencies]
1717
aead = { version = "0.6.0-rc.10", default-features = false }
1818
cipher = { version = "0.5", default-features = false }
19-
ctr = { version = "0.10.0-rc.3", default-features = false }
19+
ctr = { version = "0.10", default-features = false }
2020
subtle = { version = "2", default-features = false }
2121

2222
[dev-dependencies]
2323
aead = { version = "0.6.0-rc.10", features = ["dev"], default-features = false }
24-
aes = { version = "0.9.0-rc.4" }
24+
aes = "0.9"
2525
hex-literal = "1"
2626

2727
[features]

deoxys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ rust-version = "1.85"
1919

2020
[dependencies]
2121
aead = { version = "0.6.0-rc.10", default-features = false }
22-
aes = { version = "0.9.0-rc.4", features = ["hazmat"], default-features = false }
22+
aes = { version = "0.9", features = ["hazmat"], default-features = false }
2323
subtle = { version = "2", default-features = false }
2424
zeroize = { version = "1", optional = true, default-features = false }
2525

eax/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ rust-version = "1.85"
2222
[dependencies]
2323
aead = { version = "0.6.0-rc.10", default-features = false }
2424
cipher = "0.5"
25-
cmac = "0.8.0-rc.3"
26-
ctr = "0.10.0-rc.3"
25+
cmac = "0.8"
26+
ctr = "0.10"
2727
subtle = { version = "2", default-features = false }
2828

2929
[dev-dependencies]
3030
aead = { version = "0.6.0-rc.10", features = ["dev"], default-features = false }
31-
aes = "0.9.0-rc.4"
31+
aes = "0.9"
3232

3333
[features]
3434
default = ["alloc"]

0 commit comments

Comments
 (0)