From e445b2f3f84f8b09b391c4bee2e6c2886963f2fe Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 12 Mar 2025 01:52:15 +0100 Subject: Update overhead for AEGIS-256 with 32-bit nonces --- Documentation/file-format.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Documentation') 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 ---------------------------------------------- -- cgit v1.2.3