[tcpm] draft-ietf-tcpm-tcp-ao-algs-05 early Secdir review
Brian Weis via Datatracker <noreply@ietf.org> Tue, 21 July 2026 04:54 UTC
Return-Path: <noreply@ietf.org>
X-Original-To: tcpm@ietf.org
Delivered-To: tcpm@mail2.ietf.org
Received: from [10.244.21.25] (gaia.k8s.ietf.org [4.156.85.76]) by mail2.ietf.org (Postfix) with ESMTP id E829711AFD247; Mon, 20 Jul 2026 21:54:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1784609669; bh=ClnSmfUxcdrfhncnZk6UW3GAn6JmPsPYjHrwV2ahs9Y=; h=From:To:Cc:Subject:Reply-To:Date; b=oM+w8SqOtYppUsB/IrlvUXBXcK41wOTwPIRRGfLuncJoKRM1sXdhF1CBhtlbb1ctc ZC4j5gF3e3ea/5wTDFbM/003FvpPauBHaFp06Xk1zmR00lqAvTJJaelzI0FvcXM4PT YaBiRF56gRk/8bVQs42Q3jktZMROpfLClmlVk/Is=
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
From: Brian Weis via Datatracker <noreply@ietf.org>
To: secdir@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 12.69.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <178460966883.196860.10656020015618112794@dt-datatracker-d4d6ff9d9-fsx7d>
Date: Mon, 20 Jul 2026 21:54:28 -0700
Message-ID-Hash: 7CD2S2NRYA5Z7KRKGDNVJDOEUQZN57QC
X-Message-ID-Hash: 7CD2S2NRYA5Z7KRKGDNVJDOEUQZN57QC
X-MailFrom: noreply@ietf.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tcpm.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: draft-ietf-tcpm-tcp-ao-algs.all@ietf.org, tcpm@ietf.org
X-Mailman-Version: 3.3.9rc6
Reply-To: Brian Weis <bew.stds@gmail.com>
Subject: [tcpm] draft-ietf-tcpm-tcp-ao-algs-05 early Secdir review
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/1P2L2cLD8yoWXH8-umvtppr9Qyc>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpm>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Owner: <mailto:tcpm-owner@ietf.org>
List-Post: <mailto:tcpm@ietf.org>
List-Subscribe: <mailto:tcpm-join@ietf.org>
List-Unsubscribe: <mailto:tcpm-leave@ietf.org>
Document: draft-ietf-tcpm-tcp-ao-algs Title: Additional Cryptographic Algorithms For Use With TCP-AO Reviewer: Brian Weis Review result: Not Ready I have reviewed this document as part of the security directorate's ongoing effort to review all IETF documents being processed by the IESG. These comments were written primarily for the benefit of the security area directors. Document editors and WG chairs should treat these comments just like any other last call comments. Because this is an early review I’ve marked it “Not Ready”, but that is not a pejorative marking. This document proposes two new MACs for the TCP Authentication Option: HMAC-SHA256-128 (using a HKDF-SHA256 KDF) and KMAC256-128 (using KMAC256-KDF). The two MACs return a 128-bit output due to the limited number of TCP option octets. It is generally accepted that no more than 128-bits option octets are available for TCP-AO. The authors asked some questions as part of the early review. Q1: (paraphrasing) Are these algorithms significantly better than the ones originally specified in RFC 5926? A: The algorithms in RFC 5926 produce a 96-bit output, which limits them to a 96-bit security level. Since the proposed MAC/KDF pairs (considered to have 256-bit security) are producing a 128-bit output, they have a 128-bit security level and thus would be better than the original algorithms. Q2: Would other algorithms with similar output length be significantly better than the proposed ones? A: I am not aware of any commonly used algorithms that are better. Having an algorithm based on SHA-256 is a good idea; I will note that a draft (draft-nayak-tcp-sha2-03) was submitted to TCPM a few years ago that also defined a HMAC-SHA256-128 method, although with a different KDF. I have a couple of comments on the draft: 1. Although allowed, it’s not clear to me that the two-step method using HKDF-Extract() with a salt of zeros provides much additional value over using a one-step traffic key derivation (e.g., as is done for RFC 5926). An all-zero salt is satisfactory if the Master_Key is guaranteed to come from a good source of entropy. However, when keys are manually entered into key tables (e.g., RFC 7210), the master key cannot be guaranteed to have sufficient entropy. A KDF method similar to RFC 5926 and draft-nayak-tcp-sha2-03 might be more efficient and should have an equivalent level of security. However, the all-zero salt is allowed, and there doesn’t seem to be any particular downside of using HKDF other than the additional TCP processing for HKDF-Extract(). You may have another specific reason for specifying using HKDF. 2. It would be worth specifying which 128 bits of the HMAC-SHA256 output are used for HMAC-SHA256-128. I’m sure you meant for the 256-bit output to be truncated (i.e., use the first 128 bits) but the draft should be precise. The authors also asked some questions regarding a related draft (draft-bonica-tcpm-tcp-ao-long-algs), which assumes an available solution that extends TCP Option space, thus allowing for a TCP-AO MAC algorithm with a larger tag. Q3: (paraphrasing) Draft-bonica-tcpm-tcp-ao-long-algs specifies HMAC-SHA384 and KMAC-384 MACs. Are they significantly better than the ones proposed in draft-ietf-tcpm-tcp-ao-algs-05? A: Specifying a TCP-AO algorithm for 384-bit algorithms is sufficiently better, and the 384-bit tags defined in the the long-algs draft should result in a security level of 384 which is much greater than 128. However, it’s not clear that there is any need for this level of security in TCP-AO when no algorithm specifying a 256-bit security level has been specified. One alternative would be to define the same algorithms as in draft-ietf-tcpm-tcp-ao-algs but with an output of 256 bits (i.e., not truncating the tags), which should give 256 bit security. NIST has not specified a timeframe in which they believe 256-bit security will be deprecated. Q4: Would other algorithms with similar output length be significantly better than the proposed ones? A: None of which I am aware. Q5: What is the timeline for switching to longer MACs like in draft-bonica-tcpm-tcp-ao-long-algs? Is there an immediate need, for example due to PQ. A: I know of no timeline specifying a need beyond 256-bit security. Post-quantum crypto is not as dire a threat to hash functions as some other cryptographic algorithms, and it seems that hash functions with a 256-bit key are safe for now. Having said that, some government organizations are considering 384-bit keys for some application, but I wouldn’t expect threats to TCP-AO to warrant that level of security for some time.
- [tcpm] draft-ietf-tcpm-tcp-ao-algs-05 early Secdi… Brian Weis via Datatracker
- [tcpm] Re: draft-ietf-tcpm-tcp-ao-algs-05 early S… Michael Tuexen
- [tcpm] Re: draft-ietf-tcpm-tcp-ao-algs-05 early S… Bonica, Ron
- [tcpm] Re: draft-ietf-tcpm-tcp-ao-algs-05 early S… Eric Biggers
- [tcpm] Re: draft-ietf-tcpm-tcp-ao-algs-05 early S… Bonica, Ron
- [tcpm] Re: draft-ietf-tcpm-tcp-ao-algs-05 early S… Eric Biggers
- [tcpm] Re: draft-ietf-tcpm-tcp-ao-algs-05 early S… Brian Weis
- [tcpm] Re: draft-ietf-tcpm-tcp-ao-algs-05 early S… Bonica, Ron