Hi,
The problem with RFC 8750 is that it doesn't work with EESP with sequence
numbers disabled. Unless the WG decides to remove that
option (which I wouldn't mind), we will need to address that. And, I would
object to making GCM-SIV work differently in ESP and
EESP.
Another problem is that implicit IV transforms cannot be used in IKEv2
(so, transforms from RFC 8750 do not completely
replace those with explicit IV).
Regards,
Valery.
As for GCM's partial nonce (with 4 bytes coming from the keying material), the
reason behind that is to address multitarget attacks.
The RFC places no requirements on IV generation (apart from never repeating an
IV with the same key), and so one valid IV generation
is to always use (say) 0 for the first encrypted packet. Now, GCM allows an
adversary with N packets with the same IV and different
keys to perform an attack where they guess a key and test all those N packets
in parallel, effectively reducing the security by a
factor of log2(N) (they need some assumptions on the plaintext, but it doesn't
need to be 'they're all the same'). By making 32
bits of the nonce effectively random, we make such an attack harder (and makes
it strictly harder than attacking a single SA unless
you have N >= 2^32).
Now, this logic does not apply to GCM-SIV - such a multitarget attack doesn't
work unless the IV, the plaintext and the AAD are all
consistent between the SAs (which is unlikely).
So, if we reuse the GCM partial nonce logic, we need a different motivation
(and it's unclear to me that "consistency with GCM" and
"saving 4 bytes of ciphertext" is sufficient - you, of course, may disagree).
_____
From: Mark Atwood <[email protected]>
Sent: Monday, November 16, 2026 8:22 PM
To: [email protected] <[email protected]>
Subject: [IPsec] Re: Fw: New Version Notification for
draft-guthrie-ipsecme-aes-gcm-siv-02.txt
One more on the nonce: for ESP, RFC 8750's implicit IV already does this. The
nonce comes from the sequence number, nothing is sent
on the wire, and RFC 8750 anticipates other algorithms using it. I'd suggest
GCM-SIV in ESP use RFC 8750 rather than a random nonce.
Mark Atwood
_______________________________________________
IPsec mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
IPsec mailing list -- [email protected]
To unsubscribe send an email to [email protected]