Skip to content

Commit

Permalink
ascon-aead: Add ascon sponge Zeroize feature
Browse files Browse the repository at this point in the history
Not zeroizing the state may expose the private key.
  • Loading branch information
aewag committed May 19, 2023
1 parent 36546a0 commit cae7093
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ascon-aead/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ subtle = { version = "2", default-features = false }
zeroize = { version = "1.6", optional = true, default-features = false, features = [
"derive",
] }
ascon = "0.3"
ascon = { git = "https://github.com/aewag/sponges", branch = "add-zeroize-ascon", default-features = false }

[dev-dependencies]
hex = "0.4"
Expand All @@ -36,6 +36,7 @@ getrandom = ["aead/getrandom", "rand_core"]
heapless = ["aead/heapless"]
rand_core = ["aead/rand_core"]
stream = ["aead/stream"]
zeroize = ["dep:zeroize", "ascon/zeroize"]

[package.metadata.docs.rs]
all-features = true
Expand Down

0 comments on commit cae7093

Please sign in to comment.