Skip to content

Commit 0bcb1e1

Browse files
tarcieribaloo
authored andcommitted
Migrate to AeadInOut
Replaces the previous `AeadInPlaceDetached` impls with `AeadInOut`, which was introduced in RustCrypto/traits#1793
1 parent a09f3d2 commit 0bcb1e1

File tree

26 files changed

+183
-334
lines changed

26 files changed

+183
-334
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ members = [
44
"aes-gcm",
55
"aes-gcm-siv",
66
"aes-siv",
7-
"ascon-aead",
8-
"ccm",
9-
"chacha20poly1305",
10-
"deoxys",
11-
"eax",
12-
"ocb3",
7+
#"ascon-aead",
8+
#"ccm",
9+
#"chacha20poly1305",
10+
#"deoxys",
11+
#"eax",
12+
#"ocb3",
1313
"xaes-256-gcm",
1414
]
1515
resolver = "2"
@@ -18,8 +18,8 @@ resolver = "2"
1818
aead-stream = { path = "./aead-stream" }
1919
aes-gcm = { path = "./aes-gcm" }
2020

21-
aead = { git = "https://github.com/RustCrypto/traits.git" }
22-
crypto-common = { git = "https://github.com/RustCrypto/traits.git" }
21+
aead = { git = "https://github.com/baloo/traits.git", branch = "baloo/aead/bicephalbuffer" }
22+
crypto-common = { git = "https://github.com/baloo/traits.git", branch = "baloo/aead/bicephalbuffer" }
2323

2424
chacha20 = { git = "https://github.com/RustCrypto/stream-ciphers.git" }
2525

aes-gcm-siv/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ categories = ["cryptography", "no-std"]
1717
rust-version = "1.85"
1818

1919
[dependencies]
20-
aead = { version = "0.6.0-rc.0", default-features = false }
20+
aead = { version = "0.6.0-rc.0", default-features = false, features = ["inout"] }
2121
aes = { version = "=0.9.0-pre.3", optional = true }
2222
cipher = "=0.5.0-pre.8"
2323
ctr = "0.10.0-pre.2"

0 commit comments

Comments
 (0)