aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Denis2025-03-12 01:52:15 +0100
committerJakob Unterwurzacher2025-03-12 20:43:23 +0100
commite445b2f3f84f8b09b391c4bee2e6c2886963f2fe (patch)
tree6c85e746d6449ce7e2c301554564181261ca0638
parente8e79b05e7bf15da18df24ab0ff8782218d7c3ec (diff)
Update overhead for AEGIS-256 with 32-bit nonces
-rw-r--r--Documentation/file-format.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/file-format.md b/Documentation/file-format.md
index 73c505f..7b5f765 100644
--- a/Documentation/file-format.md
+++ b/Documentation/file-format.md
@@ -30,10 +30,12 @@ Data block, AEGIS (enabled via `-init -aegis`)
1-4096 bytes encrypted data
16 bytes tag
-Full block overhead (AEGIS, AES-GCM and AES-SIV mode) = 32/4096 = 1/128 = 0.78125 %
+Full block overhead (AES-GCM and AES-SIV mode) = 32/4096 = 1/128 = 0.78125 %
Full block overhead (XChaCha20-Poly1305 mode) = 40/4096 = \~1 %
+Full block overhead (AEGIS-256X2 mode) = 48/4096 = 3/256 = 1.171875 %
+
Example: 1-byte file, AES-GCM and AES-SIV mode
----------------------------------------------