Skip to content

Commit a23afb2

Browse files
committed
chacha20poly1305: Switch to one-pass encryption and decryption
1 parent b776cfc commit a23afb2

File tree

4 files changed

+342
-37
lines changed

4 files changed

+342
-37
lines changed

Cargo.lock

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

chacha20poly1305/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ categories = ["cryptography", "no-std"]
2121
aead = { version = "0.4", default-features = false }
2222
chacha20 = { version = "0.9", features = ["zeroize"] }
2323
cipher = "0.4"
24+
gcd = "2"
2425
poly1305 = { git = "https://github.com/str4d/universal-hashes", rev = "88eca39b494585b34d4021cefd588a9d59279357" }
2526
zeroize = { version = "1", default-features = false }
2627

0 commit comments

Comments
 (0)