[tcpm] Re: Feedback on draft-ietf-tcpm-tcp-ao-algs-00

Eric Biggers <ebiggers@google.com> Tue, 28 April 2026 17:16 UTC

Return-Path: <ebiggers@google.com>
X-Original-To: tcpm@mail2.ietf.org
Delivered-To: tcpm@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 4947EE4EB75A for <tcpm@mail2.ietf.org>; Tue, 28 Apr 2026 10:16:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1777396574; bh=kH0V0sOmSxcmlNMT2DLNca6+JkHqqCqPx/LlmV3ltR4=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Id5jK+xZzcCEk8m2ouoRelzHFFyMLGVDB6Xx2fTpEJIRBC/Q6MEJWQEeXNs2pDXWP OvOUPqrBIcf6hLRS+TK+6YSFPuDXT9XumnAyx5MI/YrZZQIhVwMvlyi4m1nu1TOQBn MP1y4+zYL5WwTFLqx/pwTovu2s+w5p+UQN8d9LbY=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -17.601
X-Spam-Level:
X-Spam-Status: No, score=-17.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
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 DUzt49bmjghL for <tcpm@mail2.ietf.org>; Tue, 28 Apr 2026 10:16:13 -0700 (PDT)
Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id DCBD5E4EB751 for <tcpm@ietf.org>; Tue, 28 Apr 2026 10:16:13 -0700 (PDT)
Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-82f943870baso4961813b3a.1 for <tcpm@ietf.org>; Tue, 28 Apr 2026 10:16:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1777396573; x=1778001373; darn=ietf.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=RZ9uje1RnRGrfaRqW9d1IS49bOH42XcXcT+Z33BT2EI=; b=hIB2q0cD0Q7rWW30RD7UPxlC8RjJLNJN1Y6tYvUfaW/JOV/sSzrNpADo3VWaQe9eqV QdJurQqUiJzrfWg592EDIkKh4446my+wADGfZMe+Afn/fs3asTrGgQU2DJFNCb2p0eM2 Doesx5NskjXHrLqUdYV4NMdAH9esZCOIQIadGz5tm/jVhXxCJVQ/gewKeeeC1HpkBoFh 5WnvlyLGvQo4NjR9Ws0tWs6vtgfeMuhbFcMqWlfeMoTdXQOSjO7F9hNtWAraffz4c7cD BlX+KFRGh3VY/gnIRpI77vrImwz2r3KUt0j0loq1RwVEMyTQv68CITsgAZ+Sx1sI/GMg LDAg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777396573; x=1778001373; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RZ9uje1RnRGrfaRqW9d1IS49bOH42XcXcT+Z33BT2E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UqCF0wYd+XWy+PgZxRSsSPByuvUXLQ n96prF6EF0=
X-Received: by 2002:a05:6a20:5483:b0:39c:39de:3cdd with SMTP id adf61e73a8af0-3a39c16cb16mr4576871637.25.1777396572438; Tue, 28 Apr 2026 10:16:12 -0700 (PDT)
Received: from google.com (252.169.16.34.bc.googleusercontent.com. [34.16.169.252]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c7fc299f556sm3765783a12.6.2026.04.28.10.16.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Apr 2026 10:16:11 -0700 (PDT)
Date: Tue, 28 Apr 2026 17:16:08 +0000
From: Eric Biggers <ebiggers@google.com>
To: "Bonica, Ron" <ronald.bonica=40hpe.com@dmarc.ietf.org>
Message-ID: <20260428171608.GA42950@google.com>
References: <20260428065832.GB3813922@google.com> <DM4PR84MB231066C41AAFD689B58D21FFF4372@DM4PR84MB2310.NAMPRD84.PROD.OUTLOOK.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <DM4PR84MB231066C41AAFD689B58D21FFF4372@DM4PR84MB2310.NAMPRD84.PROD.OUTLOOK.COM>
Message-ID-Hash: HHDZ66WXUO2MIGY5GY63FAACCTILCRBY
X-Message-ID-Hash: HHDZ66WXUO2MIGY5GY63FAACCTILCRBY
X-MailFrom: ebiggers@google.com
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: Eric Biggers <ebiggers=40google.com@dmarc.ietf.org>, "tcpm@ietf.org" <tcpm@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [tcpm] Re: Feedback on draft-ietf-tcpm-tcp-ao-algs-00
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/9CBiBjivsGKd-lOxPmEQcHc1o-w>
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>

On Tue, Apr 28, 2026 at 03:23:59PM +0000, Bonica, Ron wrote:
> Eric,
> 
> Thanks for the review. I suspect that we will trim the list of proposed algorithms. Version-00 of the draft was just a starting point.
> 
> You say:
> 
> "I suggest simplifying the proposal to just HMAC-SHA256 for now.  That's the only one that seems like an obvious choice.  Indeed, SHA-256 is the usual replacement for the outdated SHA-1."
> 
> Do you mean HMAC-SHA256-128? Or do you really mean HMAC-SHA256?
> 
> I propose HMAC-SHA256 in draft-bonica-tcpm-tcp-ao-long-algs<https://datatracker.ietf.org/doc/draft-bonica-tcpm-tcp-ao-long-algs/>. But if we go there, we need to solve the problem identified in TCP Extended Options<https://datatracker.ietf.org/doc/draft-bonica-tcpm-extended-options/>.

By "HMAC-SHA256-128" you just mean HMAC-SHA256 with the output truncated
to 128 bits, right?  I wasn't implying that you wouldn't need to do that
truncation.  The TCP options header doesn't have enough space for the
full output, after all.

Note that the full HMAC-SHA256 output still must be used in the KDF.

- Eric