Skip to content

Commit efe27ed

Browse files
authored
cipher: propagate the zeroize to hybrid-array (#1747)
Example use: RustCrypto/block-ciphers#467
1 parent 99f7bc9 commit efe27ed

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

cipher/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ block-padding = ["inout/block-padding"]
2626
# Enable random key and IV generation methods
2727
rand_core = ["crypto-common/rand_core"]
2828
dev = ["blobby"]
29+
zeroize = ["dep:zeroize", "crypto-common/zeroize"]
2930

3031
[package.metadata.docs.rs]
3132
all-features = true

crypto-common/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ getrandom = { version = "0.3", optional = true }
2121

2222
[features]
2323
getrandom = ["dep:getrandom", "rand_core?/getrandom"]
24+
zeroize = ["hybrid-array/zeroize"]
2425

2526
[package.metadata.docs.rs]
2627
all-features = true

0 commit comments

Comments
 (0)