Hi John,

Thank you for your review.  I've already added the reference to SP 800-38D in 
the -02 version on github [1] and I made issues for the rest of your points.

With regards to the ICV field in ESP, we've been going back and forth.  RFC 
4106 (GCM in ESP) includes the authentication tag in the ICV field, and we were 
inclined to be consistent with this.  However, this is counter to RFC 5282 (GCM 
in IKEv2) and RFC 8452 (GCM-SIV) which includes the authentication tag in the 
ciphertext field.  As you bring up, RFC 5116 and the future Accordion mode work 
is in line with the latter position.

Best,
Casey

[1] https://github.com/Casey1729/AES-GCM-SIV-in-IPsec/
________________________________
From: John Mattsson <[email protected]>
Sent: Sunday, October 11, 2026 4:51 AM
To: Casey Wynn (GOV) <[email protected]>; [email protected] <[email protected]>
Subject: Re: New Version Notification for 
draft-guthrie-ipsecme-aes-gcm-siv-01.txt

Hi Casey,

Thanks for driving robust, high-security designs in IETF protocols. I am aware 
of real-world nonce-misuse vulnerabilities in systems that use ESP without 
IKEv2. Long-term I would like MRAE AEAD modes based on Accordions[1-2].

I reviewed draft-guthrie-ipsecme-aes-gcm-siv-01 and have the following comments:

>An authenticated encryption with associated data (AEAD) algorithm combines 
>encryption and integrity into a single operation and returns ciphertext and an 
>integrity check value (ICV) (also called an authentication tag) over the 
>plaintext or ciphertext and the associated/additional data.

RFC 5116 defines an AEAD algorithm as producing a ciphertext, and I believe 
IETF and IPSECME should adhere to this definition. An AEAD output does not 
necessarily contain a distinct authentication tag (ICV). For example, this is 
not the case for the AEAD modes based on Accordions [that NIST is expected to 
standardize soon.

>A commonly used AEAD algorithm is AES-GCM (the Advanced Encryption Standard 
>(AES) block cipher used in Galois/Counter mode)(GCM) [FIPS197].

Should this reference SP 800-38D?

This is not directly related to your draft, but RFC 4106 does not normatively 
reference SP 800-38D. I consider this a significant problem, as an 
implementation of RFC 4106 is not explicitly required to comply with SP 
800-38D. Many vulnerabilities in vendor cryptographic implementations arise 
from failure to follow normative requirements that are not captured by test 
vectors alone.

I suggest that IPSECME update RFC 4106 to include a normative reference to SP 
800-38D. This could, for example, be done as part of this draft.

>However, AES-GCM fails catastrophically (i.e., exposes the authentication key) 
>when two different plaintext messages are encrypted with the same key and 
>nonce.

This should be updated, In GCM confidentiality also fails. The severity of the 
fails is also significantly affected by GCM sadly using the same authentication 
key for all messages. GCM-SST, which will be used in 6G, derives fresh 
authentication keys for each nonce and achieves nonce-misuse resilience.

SUGGESTED REPLACEMENT: However, AES-GCM fails catastrophically when two 
different plaintext messages are encrypted under the same key and nonce: 
confidentiality is compromised, and the long-term authentication key is exposed.

>The typical nonce construction for AES-GCM in IKEv2 and ESP is called 
>"partially implicit" (Section 4 of [RFC5282]).

I think the draft should also discuss the implicit nonce construction specified 
in RFC 8750.

SUGGESTED ADDITION: The implicit nonce construction specified in [RFC8750] is 
another option for ESP. Unlike the partially implicit construction described in 
Section 4 of [RFC5282], the implicit construction omits the nonce from the 
packet and reconstructs it from the packet sequence number and other context 
maintained by the communicating peers.

>In contrast, the authentication tag for AES-GCM-SIV MUST be 16 octets.

Should point out that the forgery probability is not (2^{-128}), but can be as 
high as (2^{-100}) for jumbograms. Unfortunately, it is extremely common for 
people to assume that the tag length determines the forgery probability.

SUGGESTED REPLACEMENT: In contrast, the authentication tag for AES-GCM-SIV MUST 
be 16 octets. However, a 128-bit tag does not imply a forgery probability of 
(2^{-128}). For maximum-length IPv6 jumbograms, the forgery probability can be 
as high as approximately (2^{-100}).

>Note that this process differs from the encryption method employed by AES-GCM, 
>in which (SK_e[i/r]) is used directly (instead of being used first to generate 
>a message-encryption key).

In GCM, SK_e[i/r] is used as a key-generating key for generate the 128-bit 
message-authentication key.

>[EDNOTE: Is this the preferred way to format AEADs for ESP (vs. including the 
>authentication tag in the Ciphertext field and leaving the ICV field empty)?  
>It seems to be what other RFCs have done.]

I think there should not be a separate authentication tag, i.e., the ICV should 
be empty. This aligns with RFC 5116 and future AEADs such as the Accordions 
NIST is expected to standardize soon.

>The Nonce field contains a randomly-generated 96-bit (12-octet) value.

I think this warrants security considerations regarding the implications of RNG 
compromise. If the same RNG is used to generate ephemeral private keys, 
compromising it could allow an attacker to compromise the connection. IKEv2 
already exposes random data on the wire, but exposing substantially more output 
from the RNG could make such attacks easier.

That said, I think AES-GCM-SIV should use an implicit nonce construction with a 
random starting value. Preferably, the nonce should be derived by XORing a 
fixed, randomly generated value with the sequence number, as in TLS 1.3.

Let:

m be the number of nodes sharing the same key.
n be the number of messages encrypted by each node during a session.

My understanding is that the expected number of colliding message pairs is 
approximately the same for both alternatives: independently random nonces and 
an implicit nonce construction with random starting values:

Expected number of nonce collisions ≈ m^2 * n^2 / 2^97

The implicit nonce construction with random starting values results in slightly 
fewer collisions while significantly reducing packet overhead.

Cheers,
John Preuß Mattsson

[1] https://nvlpubs.nist.gov/nistpubs/ir/2025/NIST.IR.8552.pdf
[2] https://csrc.nist.gov/pubs/sp/800/197/a/iprd

From: [email protected] <[email protected]>
Date: Wednesday, 16 September 2026 at 18:36
To: [email protected] <[email protected]>
Subject: [IPsec] Fw: New Version Notification for 
draft-guthrie-ipsecme-aes-gcm-siv-01.txt

Some people who received this message don't often get email from 
[email protected]. Learn why this is 
important<https://aka.ms/LearnAboutSenderIdentification>
Hi IPSECME,

We've just published an updated version of our I-D specifying the use of 
AES-GCM-SIV in ESP and IKEv2.  Version -01 updates the introduction and fixes 
some other typos from the -00.

Any feedback is welcome.  We're additionally curious if there are thoughts on 
the following items, some of which are included as ednotes in draft:

  *
Is it okay to rename the IKE IV field to Nonce (since GCM-SIV has a nonce 
instead of an IV)?
  *
We'd prefer to recommend that nonces be entirely random.  This is different 
from AES-GCM where the nonces are implicit.
  *
We opt to set the GCM-SIV authentication tag as the ESP ICV field, as opposed 
included at the end of the ciphertext field.


Best,
Casey


________________________________
From: [email protected] <[email protected]>
Sent: Wednesday, September 16, 2026 9:29 AM
To: Casey Wynn (GOV) <[email protected]>; Nicholas Gajcowski (GOV) 
<[email protected]>; Rebecca Guthrie <[email protected]>
Subject: New Version Notification for draft-guthrie-ipsecme-aes-gcm-siv-01.txt

A new version of Internet-Draft draft-guthrie-ipsecme-aes-gcm-siv-01.txt has
been successfully submitted by Casey Wynn and posted to the
IETF repository.

Name:     draft-guthrie-ipsecme-aes-gcm-siv
Revision: 01
Title:    Using AES-GCM-SIV in the Internet Protocol Version 2 (IKEv2) and 
Encapsulating Security Payload (ESP) Protocols
Date:     2026-09-16
Group:    Individual Submission
Pages:    9
URL:     
https://www.ietf.org/archive/id/draft-guthrie-ipsecme-aes-gcm-siv-01.txt
Status:  https://datatracker.ietf.org/doc/draft-guthrie-ipsecme-aes-gcm-siv
HTML:  https://www.ietf.org/archive/id/draft-guthrie-ipsecme-aes-gcm-siv-01.html
HTMLized: 
https://datatracker.ietf.org/doc/html/draft-guthrie-ipsecme-aes-gcm-siv-01
Diff:      
https://author-tools.ietf.org/iddiff?url2=draft-guthrie-ipsecme-aes-gcm-siv-01
Abstract:


   This document specifies the use of AES-GCM-SIV in the Internet Key
   Exchange Protocol version 2 (IKEv2) and the Encapsulating Security
   Payload (ESP) protocols.  This document also adds AES-GCM-SIV to the
   IANA IKEv2 registry for "Transform Type 1 - Encryption Algorithm
   Transform IDs."  AES-GCM-SIV is a nonce misuse-resistant
   authenticated encryption with associated data (AEAD) algorithm based
   on AES-GCM.



The IETF Secretariat


_______________________________________________
IPsec mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to