Re:The XAES-256-GCM extended-nonce AEAD
by omginternets on Saturday June 29, 2024 @06:26AM
(#40829195)
Question from a non-cryptographer: why use 192bit nonces instead of 256? I can’t imagine those extra bits would be considered costly in any practical application.
[ Parent
| on HN ]
Re:The XAES-256-GCM extended-nonce AEAD
by FiloSottile on Saturday June 29, 2024 @06:56AM
(#40829343)
There is no space for 256 bits: 192 bits is 96 bits from the underlying nonce space, and 96 bits that go into the 128-bit CMAC block (along with the necessary prefix). We could make the CMAC input longer, but then we'd have to run the AES-256 block function more times (and we'd hit some annoying key control issues in the CMAC KDF).
This is actually similar to why XChaCha20Poly1305 has 192-bit nonces, and consistency with the other major extended-nonce AEAD is another mild advantage.