Skip to content

Commit 1b7c822

Browse files
authored
Bump hybrid-array to v0.4 (#450)
1 parent 078b648 commit 1b7c822

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ opt-level = 2
1515
# https://github.com/RustCrypto/utils/pull/1187
1616
blobby = { git = "https://github.com/RustCrypto/utils" }
1717
# https://github.com/RustCrypto/traits/pull/1959
18+
# https://github.com/RustCrypto/traits/pull/1976
1819
cipher = { git = "https://github.com/RustCrypto/traits" }
1920
# https://github.com/RustCrypto/utils/pull/1201
21+
# https://github.com/RustCrypto/traits/pull/1976
2022
block-buffer = { git = "https://github.com/RustCrypto/utils" }
23+
# https://github.com/RustCrypto/traits/pull/1976
24+
inout = { git = "https://github.com/RustCrypto/utils" }

chacha20/src/xchacha.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ mod hchacha20_tests {
173173
"a0f9e4d58a74a853c12ec41326d3ecdc"
174174
);
175175

176-
let actual = hchacha::<R20>(KEY.as_ref(), INPUT.as_ref());
176+
let actual = hchacha::<R20>(&KEY.into(), &INPUT.into());
177177
assert_eq!(actual.as_slice(), &OUTPUT);
178178
}
179179
}

0 commit comments

Comments
 (0)