[CFRG] ML-KEM for HPKE: just use seeds

Deirdre Connolly <durumcrustulum@gmail.com> Fri, 11 October 2024 17:19 UTC

Return-Path: <neried7@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9B02CC169404 for <cfrg@ietfa.amsl.com>; Fri, 11 Oct 2024 10:19:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.854
X-Spam-Level:
X-Spam-Status: No, score=-1.854 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N7U7MQNQz-pA for <cfrg@ietfa.amsl.com>; Fri, 11 Oct 2024 10:19:07 -0700 (PDT)
Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (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 ietfa.amsl.com (Postfix) with ESMTPS id B8F74C15199D for <cfrg@irtf.org>; Fri, 11 Oct 2024 10:19:07 -0700 (PDT)
Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-5398ec2f3c3so3179377e87.1 for <cfrg@irtf.org>; Fri, 11 Oct 2024 10:19:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728667145; x=1729271945; darn=irtf.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=VRnpJv/CFh0QxTe9zQObFgEPyB9xNWMDIZcp8MuDWeE=; b=dAyY1R40bmUvpkRP8C6Ib07verhhbmo5FEprbnkwBGbIfGpoIuhMi4aDom+dzLC65l Dh9OYxiAHkr4tG9Rp6xVLzdAx49SpjRR/2cpGXsH4WPGwjHAqt8ATgxKZlUYssDtC3dc F284drk9+nif2ec6FVtbCk083iBeSTWKROUHMXpReJdqpLXthozrqhfKzYw8muXqPh6n TF+fOzKhU8/hfvyaADV0roY/SgVPtad/+Lebk88jVcRjIhAYESV3BzjtEWoHpagyRgCh gShLOt1tTjIMNlWGKb/BzSBmiE24fePQF1rPJQTjPI03WECRi9t4jYbJWmMDvSz7x8Hn B+eA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728667145; x=1729271945; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=VRnpJv/CFh0QxTe9zQObFgEPyB9xNWMDIZcp8MuDWeE=; b=CLRHmXTo6RXBlNkMIUMVXxWoLrA7b+wM5yG9rE8Cj47fXXZSdSsqNvA3byN64ASIGh gCxi0NgXRK9jRCq7SP7CVokUygoeZ7nlmXKByjRpFLW66UpKjoI5xTRudMbOiVjZQdUq SV4juNkJdhxIPyaNn6159zg0XvWl+cK4V3nSfIQLk4mVe2X5+ca+incRTq6yQpq6m8vx 3jWHS43+qCmkxBFYv9GkhBd+Ah5Yi7YplHW3o40cJLuRwzvpi2idwI79/jOWSlIxAW3f K4VGRwJJ1li9N8QWLWqRrEnyt9iE6jQPeosQwlOMmrvgJNBJeNykULxYeUE0IyZAe+8V mEbw==
X-Gm-Message-State: AOJu0Yy/ssLMhW16cU42bBN/wARMLbitJL5pJ7liA8PSvVUYDZx7arBi McyOcVHZYGEtcxMa3PZJXw6ykFZsBgW1A++PM+FQNLBB4F+HypxxZQ0Gm6NxD2k+lr7/79wXKkQ grNDway49+DRciXkwAbLxFT16nnI7u7+F
X-Google-Smtp-Source: AGHT+IF6nMsT9Mh3CEKDe3R7JsxXJa5dRjVAU99a0t+VKWZraObKwlzsCmv6LDHO9cWGDNKMthnoRCyQm7K7bn+eWO8=
X-Received: by 2002:a05:6512:3196:b0:539:8fcd:510 with SMTP id 2adb3069b0e04-539e54ec228mr151210e87.20.1728667144398; Fri, 11 Oct 2024 10:19:04 -0700 (PDT)
MIME-Version: 1.0
From: Deirdre Connolly <durumcrustulum@gmail.com>
Date: Fri, 11 Oct 2024 13:18:27 -0400
Message-ID: <CAFR824xpwetkdZZL29TZoa2pEE6Ke537eNuritKbBJZ0wiCKYQ@mail.gmail.com>
To: CFRG <cfrg@irtf.org>
Content-Type: multipart/alternative; boundary="00000000000013b275062436afe8"
Message-ID-Hash: GGLWXIB5VJZDHQ6VI45SJ75KCZGFSTPW
X-Message-ID-Hash: GGLWXIB5VJZDHQ6VI45SJ75KCZGFSTPW
X-MailFrom: neried7@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cfrg.irtf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc5
Precedence: list
Subject: [CFRG] ML-KEM for HPKE: just use seeds
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/vdN-H0XUKXHgjN4Tuo7DkUU8VQ4>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Owner: <mailto:cfrg-owner@irtf.org>
List-Post: <mailto:cfrg@irtf.org>
List-Subscribe: <mailto:cfrg-join@irtf.org>
List-Unsubscribe: <mailto:cfrg-leave@irtf.org>

Hello CFRG, I have published a new-new version of 'ML-KEM for HPKE':

https://datatracker.ietf.org/doc/draft-connolly-cfrg-hpke-mlkem/02/

Previous versions used ML-KEM to craft an updated KDF out of HPKE's
subroutines to achieve similar binding properties to the default KEM for
HPKE, DHKEM. With the final publication of FIPS 203
<https://doi.org/10.6028/nist.fips.203>, we now have a better compromise:
the officially FIPS-compliant 64-byte seed format of ML-KEM keys. This
format gives us MAL-BIND-K-CT and LEAK-BIND-K-PK security
<https://eprint.iacr.org/2024/523.pdf> out of the box. This seems good
enough for most use cases (especially inside IETF so far) and so I have
updated my document to just say, 'use ML-KEM as it is, but you MUST use the
64-byte seed format for the keys', and that's it. Hopefully you can take a
look.

Thanks!
Deirdre


---------- Forwarded message ---------
From: <internet-drafts@ietf.org>
Date: Fri, Oct 11, 2024 at 1:06 PM
Subject: New Version Notification for draft-connolly-cfrg-hpke-mlkem-02.txt
To: Deirdre Connolly <durumcrustulum@gmail.com>


A new version of Internet-Draft draft-connolly-cfrg-hpke-mlkem-02.txt has
been
successfully submitted by Deirdre Connolly and posted to the
IETF repository.

Name:     draft-connolly-cfrg-hpke-mlkem
Revision: 02
Title:    ML-KEM for HPKE
Date:     2024-10-11
Group:    Individual Submission
Pages:    7
URL:
https://www.ietf.org/archive/id/draft-connolly-cfrg-hpke-mlkem-02.txt
Status:   https://datatracker.ietf.org/doc/draft-connolly-cfrg-hpke-mlkem/
HTML:
https://www.ietf.org/archive/id/draft-connolly-cfrg-hpke-mlkem-02.html
HTMLized:
https://datatracker.ietf.org/doc/html/draft-connolly-cfrg-hpke-mlkem
Diff:
https://author-tools.ietf.org/iddiff?url2=draft-connolly-cfrg-hpke-mlkem-02

Abstract:

   This memo defines ML-KEM-based ciphersuites for HPKE ([RFC9180]).
   ML-KEM is believed to be secure even against adversaries who possess
   a cryptographically-relevant quantum computer.



The IETF Secretariat