[CFRG] Re: Using ASCON particularly for a keyed MAC and PQC

Robert Moskowitz <rgm-sec@htt-consult.com> Fri, 07 August 2026 09:58 UTC

Return-Path: <rgm-sec@htt-consult.com>
X-Original-To: cfrg@mail2.ietf.org
Delivered-To: cfrg@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 324C61254414C for <cfrg@mail2.ietf.org>; Fri, 7 Aug 2026 02:58:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1786096696; bh=wcSGrvzU2G9+1IYGecPFfq/HYnk9i7R4pyrb23ybJH0=; h=Date:Subject:To:References:From:In-Reply-To; b=kgniIQd/x//S9s9c9X+2ww95URCDPE+RUnU4EAkp3wYcYJLoxPGnc750QHRz3j4Um Hv7rbHumJSLVFhl4GWCANRvwvIV4xI4pTB1UuWrIS5LV3osSLXOinW3oabPD9V05q3 4J8y/ArHQDZN0Scyr/7qb3rOisKYxKit/RXYrSGo=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 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, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, LOTS_OF_MONEY=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=htt-consult.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 Bu6qoN--3sAw for <cfrg@mail2.ietf.org>; Fri, 7 Aug 2026 02:58:15 -0700 (PDT)
Received: from klovia.htt-consult.com (klovia.htt-consult.com [23.123.122.149]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 3D8381254413D for <cfrg@irtf.org>; Fri, 7 Aug 2026 02:58:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=htt-consult.com; s=mail; t=1786096694; bh=wcSGrvzU2G9+1IYGecPFfq/HYnk9i7R4pyrb23ybJH0=; h=Date:Subject:To:References:From:In-Reply-To:From; b=AfatKeWsM5OwAoPS+H0Rj/jv816Hh2J7qhgyyh+gfNmS0MM8S+HDDqiZGzY/hHJlN ToHqCPUzvLN2bAurorOCHM2+/VLuPtOrhO+syfAy9BU5WpN0cd6phZHIZ9VbBTSS+z PKsaeIPj5MQl5M5Q11PLzYREKSg2BuOIlw/gnpQiccwgqfLC7Ll2SPXGEY2ctOvESl O9n3IJ+k9O9L/T5Jeg+4ZVehfuM1LYuqygeqeTFwRXusKtxR6KvNpc2r7g8kPUmmwj kqRo7xyf5zsks8eTmXEB0ghzb6QmVVuTbjazuJY+AQIxYQxFGCwdd9b0hpg9kRnWEe ajBCqwcmSHHSQ==
Received: from authenticated-user (klovia.htt-consult.com [23.123.122.149]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by klovia.htt-consult.com (Postfix) with ESMTPSA id 4ECBD4A02D2; Fri, 7 Aug 2026 05:58:14 -0400 (EDT)
Content-Type: multipart/alternative; boundary="------------0X0ILQsXPC7Kx0kPRritCupl"
Message-ID: <eb4fae6a-0b3a-4742-ba36-843f691ff207@htt-consult.com>
Date: Fri, 07 Aug 2026 05:58:14 -0400
MIME-Version: 1.0
Content-Language: en-US
To: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>, Robert Moskowitz <rgm-sec=40htt-consult.com@dmarc.ietf.org>, CFRG <cfrg@irtf.org>
References: <cfb4cfde-5a7a-4a8e-a59c-702639238788@htt-consult.com> <AS4PR07MB8825C1831CCD6A10AD564AD989D12@AS4PR07MB8825.eurprd07.prod.outlook.com>
From: Robert Moskowitz <rgm-sec@htt-consult.com>
In-Reply-To: <AS4PR07MB8825C1831CCD6A10AD564AD989D12@AS4PR07MB8825.eurprd07.prod.outlook.com>
Message-ID-Hash: JVMJOIATTH3VYYQVUFLAIYULCWYGHK3V
X-Message-ID-Hash: JVMJOIATTH3VYYQVUFLAIYULCWYGHK3V
X-MailFrom: rgm-sec@htt-consult.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cfrg.irtf.org-0; header-match-cfrg.irtf.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [CFRG] Re: Using ASCON particularly for a keyed MAC and PQC
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/lHlmhvm36fD7Lfx5D7ns_662sU0>
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>

Thank you, John for responding:

On 8/7/26 4:45 AM, John Mattsson wrote:
> Hi Bob,
>
> Some questions:
>
> 1. *Do you need NIST-approved constructions?*
>
> If yes, I think HMAC-Ascon-Hash256 is your only choice, which is 
> unfortunate. HMAC's only raison d'être is outdated fixed-length hash 
> functions with severe weaknesses like SHA-2.

6.2 msg/sec (BURST-MODE with 7 allowed), each with a keyed-MAC on a 
highly constrained processor, potentially purpose built CHEAP for the 
transponders and simply built to get certified.  Though the cost of 
certification is more driving the industry to COTS chips.  This is why 
the transponder in an A320 or B-737 costs $250,000US.  For your Cessna 
you can get away with only $50,000US (though I have heard of a $5,000US 
product).  This is compared to open source receivers (and transponders 
for baggage trucks) on a RPi.

HMAC is 2 hashes.  KMAC is 1.  This matters.

>
> 2. *Do you need standardized constructions?*
>
> If yes, I think HMAC-Ascon-Hash256 is your only choice.
>
> If no, I think you can use any MAC, PRF, or KDF construction designed 
> for (Turbo)SHAKE.

As this is ADS-B which goes into aviation certification programs around 
the world, some standard with standing will have to be followed.  Based 
on other things in aviation, a function on SHAKE MAY float.

>
> 3. *Do you need public-key cryptography such as ML-KEM, ML-DSA, 
> SLH-DSA, FN-DSA, HQC-KEM, etc.?*
>
> If yes, you need SHAKE anyway. SHAKE already provides standardized 
> modes for MACs, PRFs, and KDFs; the main missing piece is encryption.

None of those stand a chance over the 1090ES channel.  Some other 
channel would be need for the Signed Key Disclosure and cert 
over-the-air distribution.  But that may be needed anyway because even 
EdDSA hurts a lot over 1090.  This is covered in the draft.

I am leaning heavily on some future Additional Algorithm like NOVA.

>
> 4. *Do you need 256-bit security as an option?*
>
> If yes, you cannot use Ascon.

There is only room in the messages for a 196-bit key for the key 
disclosure.  There is a way, using what I call "Enhanced mode", where I 
create a new PPM message and add the 51 bits from the PPM message with 
the 196 bits of the PO message where I COULD do a full 256-bit key 
disclosure.  But that adds a new message every 5s to an already 
over-crowded RF channel.  Adding a new message with that frequency would 
need a lot of justification.  So I am designing for a 196-bit PQC key size.

This is covered in the draft and referenced papers.

Yes, the messaging IS that constrained.  Both in packet size and channel 
usage.

>
> ----
>
> />I also need to look toward PQC somehow. There is ASCON-pq80 in the 
> proposal, but it is not in 232. /
>
> I would reserve the term PQC for asymmetric cryptography. 
> Ascon-AEAD128 is quantum-resistant. Claims about practical quantum 
> attacks against symmetric cryptography are a misconception.
> https://datatracker.ietf.org/liaison/1942/
>
> That said, I would be hesitant to limit a new system to 128-bit keys. 
> Many of my customers and several EU cybersecurity agencies are 
> requiring/recommending 256-bit keys for new deployments (at least as 
> on option), and even NIST and the UK NCSC are only stating that 
> 128-bit security "can continue to be used". This is too uncertain a 
> basis on which to design new systems expected to have a long lifetime.
>
> />With TESLA there are LOTS of keyed-MAC operations, and KMAC as a single/
> />sponge operation has advantages of HMAC with 2 SHA operations.  An/
> />ASCON-KMAC would be a good alternative, but NIST did not standardize 
> one/
> />(yet)./
>
> Yes, if you do not require a standardized construction, I think KMAC 
> or any other MAC construction designed for (Turbo)SHAKE would work.
> https://datatracker.ietf.org/doc/draft-ochkas-cose-ascon/
> https://datatracker.ietf.org/doc/rfc9861/
>
> Otherwise, HMAC-Ascon-Hash256 and HKDF-Ascon-Hash256 appear to be the 
> only options, but these are such Frankenstein constructions that I 
> would prefer not to see them deployed.
>
> ----
>
> My current view is, unfortunately, that due to PQC and market demand 
> for 256-bit, I see limited use for Ascon in our products. In deployed 
> systems that already use AES, it is very difficult to justify a 
> migration. In systems that use asymmetric cryptography, SHAKE is 
> needed anyway. And for new systems, many customers and regulators 
> expect 256-bit symmetric keys.
>
> Ascon is designed to minimize the hardware and code size of AEAD and 
> hash functions, but the more important metric is the hardware and code 
> size of the complete cryptographic suite, including asymmetric 
> cryptography. Within just a few years, all systems will need to use 
> quantum-resistant cryptography. Keccak appears to be the only 
> realistic primitive that can serve as a common foundation for all 
> major cryptographic functions. In that context, I believe NIST and/or 
> CFRG should urgently specify encryption algorithms based on 
> Keccak/(Turbo)SHAKE.
>
> Cheers,
> John Preuß Mattsson
>
> *From: *Robert Moskowitz <rgm-sec=40htt-consult.com@dmarc.ietf.org>
> *Date: *Thursday, 6 August 2026 at 22:47
> *To: *CFRG <cfrg@irtf.org>
> *Subject: *[CFRG] Using ASCON particularly for a keyed MAC and PQC
>
> I come here for advise wrt my work to add authentication to ADS-B
>
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-moskowitz-ads-b-auth%2F&data=05%7C02%7Cjohn.mattsson%40ericsson.com%7C5bdf36d3b9e84f5a53db08def3fbfa87%7C92e84cebfbfd47abbe52080c6b87953f%7C0%7C0%7C639216460726710103%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=%2FYmQFBVj72BEEmlOVoROgRnPkbqH7CuNelcykpKR3YA%3D&reserved=0 
> <https://datatracker.ietf.org/doc/draft-moskowitz-ads-b-auth/>
>
> ASCON (SP800-232) seems like it would be well suited for the constrained
> systems used in avoinics and perhaps to better retro fit in old hardware.
>
> However:
>
> I need a KMAC operation and none is in 232.  One (or two?) were
> proposed, but none included.
>
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Frweather.github.io%2Fascon-suite%2Findex.html&data=05%7C02%7Cjohn.mattsson%40ericsson.com%7C5bdf36d3b9e84f5a53db08def3fbfa87%7C92e84cebfbfd47abbe52080c6b87953f%7C0%7C0%7C639216460726747847%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=wzUdkif2aMIJBThtPKp0PlxiHtUang%2FUVAqPlXzBebs%3D&reserved=0 
> <https://rweather.github.io/ascon-suite/index.html>
>
> Does provide a KMAC api, but in a recent exchange, Rhys indicated he
> never updated this to the published standard.
>
> I also need to look toward PQC somehow.  There is ASCON-pq80 in the
> proposal, but it is not in 232.  So again, I am looking at a "now what".
>
> With TESLA there are LOTS of keyed-MAC operations, and KMAC as a single
> sponge operation has advantages of HMAC with 2 SHA operations.  An
> ASCON-KMAC would be a good alternative, but NIST did not standardize one
> (yet).
>
> So I invite advise!
>
> BTW, I am expanding on sec 3.3.3 in my draft.  I pulled what is their
> from our whitepaper that did not go into the details needed for coding
> TESLA.  I am fixing that now, and debating including or dropping ASCON.
>
> Thanks!
>
> Bob
>
>
> _______________________________________________
> CFRG mailing list -- cfrg@irtf.org
> To unsubscribe send an email to cfrg-leave@irtf.org
>
> _______________________________________________
> CFRG mailing list --cfrg@irtf.org
> To unsubscribe send an email tocfrg-leave@irtf.org