[secdir] Re: [tcpm] draft-ietf-tcpm-tcp-ao-algs-05 early Secdir review
Michael Tuexen <michael.tuexen@lurchi.franken.de> Tue, 21 July 2026 08:18 UTC
Return-Path: <michael.tuexen@lurchi.franken.de>
X-Original-To: secdir@mail2.ietf.org
Delivered-To: secdir@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 90F1B11B2285F; Tue, 21 Jul 2026 01:18:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1784621932; bh=Ig+VZY04A+BM1eeCq1C009j1NIe73qgNR3GkS37sfeM=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=SC+sxNXCAbQRGHVSBWd4OvepATtHlEUbe+GP4M8Jzsqd9Pj7uP2MqV/n3xiNCmFaN HLJn1jiC0sUdx9TG3NIeSMZsJhEYfX+x4AxR+ODzhxjvZIAjb/zh2wRzkbuQ1XoyQB 5o2igwwbso9gFJoYnsuy8XAEqkQvD6rhMRFNhzRw=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XwjRqHbW0-mQ; Tue, 21 Jul 2026 01:18:52 -0700 (PDT)
Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id CA11D11B2285A; Tue, 21 Jul 2026 01:18:48 -0700 (PDT)
Received: from smtpclient.apple (unknown [IPv6:2001:67c:1232:144:9cbd:e13c:a5ec:84f7]) (Authenticated sender: lurchi) by drew.franken.de (Postfix) with ESMTPSA id 76AAB721E281E; Tue, 21 Jul 2026 10:18:30 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\))
From: Michael Tuexen <michael.tuexen@lurchi.franken.de>
In-Reply-To: <178460966883.196860.10656020015618112794@dt-datatracker-d4d6ff9d9-fsx7d>
Date: Tue, 21 Jul 2026 10:18:29 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <2925703C-A1C3-45EF-A60F-2FA7486C38A1@lurchi.franken.de>
References: <178460966883.196860.10656020015618112794@dt-datatracker-d4d6ff9d9-fsx7d>
To: Brian Weis <bew.stds@gmail.com>
X-Mailer: Apple Mail (2.3864.600.51.1.1)
Message-ID-Hash: XNLBL53J2HYGISW4SF7E6CMWGERFOWAO
X-Message-ID-Hash: XNLBL53J2HYGISW4SF7E6CMWGERFOWAO
X-MailFrom: michael.tuexen@lurchi.franken.de
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-secdir.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: secdir@ietf.org, draft-ietf-tcpm-tcp-ao-algs.all@ietf.org, tcpm@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [secdir] Re: [tcpm] draft-ietf-tcpm-tcp-ao-algs-05 early Secdir review
List-Id: Security Area Directorate <secdir.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/r8uvVZQapaGSVUIsSxspb5nnYSs>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdir>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Owner: <mailto:secdir-owner@ietf.org>
List-Post: <mailto:secdir@ietf.org>
List-Subscribe: <mailto:secdir-join@ietf.org>
List-Unsubscribe: <mailto:secdir-leave@ietf.org>
> On 21. Jul 2026, at 06:54, Brian Weis via Datatracker <noreply@ietf.org> wrote: > > 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. Hi Brian, thank you very much for providing the review in time! This way your review can be used in the discussion at the WG meeting later this week. Best regards Michael > > > _______________________________________________ > tcpm mailing list -- tcpm@ietf.org > To unsubscribe send an email to tcpm-leave@ietf.org
- [secdir] draft-ietf-tcpm-tcp-ao-algs-05 early Sec… Brian Weis via Datatracker
- [secdir] Re: [tcpm] draft-ietf-tcpm-tcp-ao-algs-0… Michael Tuexen
- [secdir] Re: [tcpm] draft-ietf-tcpm-tcp-ao-algs-0… Bonica, Ron
- [secdir] Re: [tcpm] Re: draft-ietf-tcpm-tcp-ao-al… Eric Biggers
- [secdir] Re: [tcpm] Re: draft-ietf-tcpm-tcp-ao-al… Bonica, Ron
- [secdir] Re: [tcpm] Re: draft-ietf-tcpm-tcp-ao-al… Eric Biggers
- [secdir] Re: [tcpm] draft-ietf-tcpm-tcp-ao-algs-0… Brian Weis
- [secdir] Re: [tcpm] draft-ietf-tcpm-tcp-ao-algs-0… Bonica, Ron