Re: [CFRG] compact representation and HPKE
Stephen Farrell <stephen.farrell@cs.tcd.ie> Sat, 13 February 2021 00:44 UTC
Return-Path: <stephen.farrell@cs.tcd.ie>
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 4D5273A132A for <cfrg@ietfa.amsl.com>; Fri, 12 Feb 2021 16:44:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nEey2piuDPxy for <cfrg@ietfa.amsl.com>; Fri, 12 Feb 2021 16:44:05 -0800 (PST)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C17873A1584 for <cfrg@irtf.org>; Fri, 12 Feb 2021 16:41:56 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id BC0B1BF0D; Sat, 13 Feb 2021 00:41:54 +0000 (GMT)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d0K1XA6zb7Sb; Sat, 13 Feb 2021 00:41:53 +0000 (GMT)
Received: from [10.244.2.119] (95-45-153-252-dynamic.agg2.phb.bdt-fng.eircom.net [95.45.153.252]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id EBBF6BEDB; Sat, 13 Feb 2021 00:41:52 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1613176913; bh=SR48OzS6ApE7l+0plbD0J3M+9k2edOr5w/eJ2FUTqVs=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=b1Yrkktf2qm0j3mC290ZLDWt0N3BSrFMYw9/eUzhn8SBAAE4/eYdeymEW5vZHWoOQ te84YLw5vH5qKgg62xII/vSHwgcPR/8ZdwwWw3SIjXbKM+mNWb+admVDlo7Kav2lpu UTBpw9KZLgFZfN/EEdOGlW9FHcRBHaC3WdNEFv7g=
To: Loup Vaillant-David <loup@loup-vaillant.fr>, Dan Harkins <dharkins@lounge.org>, Eric Rescorla <ekr@rtfm.com>
Cc: CFRG <cfrg@irtf.org>
References: <0fcfb0ed-249b-7cd3-09ba-ed1c73122383@lounge.org> <CABcZeBMGJQ7sAKovy3japXVVLWRB8ydpsDzZxhijvFCtXptsZQ@mail.gmail.com> <b7bd5286-ccc1-c753-9d09-c647619581b5@lounge.org> <e09c73e0-27f4-cfdc-efab-3cdb8686d5b0@cs.tcd.ie> <f31f1ec9d06d561b65b9b7d69071da81f6f8fbda.camel@loup-vaillant.fr>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Message-ID: <1516c499-f73c-5ebe-fd46-ca3e4bdab0ec@cs.tcd.ie>
Date: Sat, 13 Feb 2021 00:41:52 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1
MIME-Version: 1.0
In-Reply-To: <f31f1ec9d06d561b65b9b7d69071da81f6f8fbda.camel@loup-vaillant.fr>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="WW9U0iF4xD6ulD4SbPAMq8olcY7cFxZFp"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/m7WpOkUt6QtLoSNx2LLl77a8tpw>
Subject: Re: [CFRG] compact representation and HPKE
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Feb 2021 00:44:14 -0000
Hiya, On 12/02/2021 23:06, Loup Vaillant-David wrote: >> I need to check (and haven't) but IIRC for an earlier draft >> I had a problem that the OpenSSL APIs didn't support the >> compressed form for NIST curves, >> [...] >> for me, this isn't a case of encouraging cfrg curves but rather >> one of enabling simpler and more broad implementation. > > Not quite sure what you meant, but I am extremely wary of making things > "simpler" by taking on gigantic dependencies such as OpenSSL. Wasn't that, no. My implementation uses OpenSSL and I didn't find a way to do what Dan suggests using the obvious higher level OpenSSL APIs. In the meantime, Dan tells me offlist that his OpenSSL code does use such a way, which is great, so I'll take a peek and get back in a few days, likely to admit he knows more about all this than me (but I knew that was true before I started:-) So if there's no real difficulty in implementing what Dan suggests, I'd be fine with it. If OTOH, it makes it harder to implement (my position before I take that peek at his code:-), then I'll continue to be against the change. Cheers, S. > > We need to consider the complexity of the whole system, as if we were > rewriting everything from scratch. Because over time, bit by bit, we > eventually will. > > Loup. > >
- [CFRG] compact representation and HPKE Dan Harkins
- Re: [CFRG] compact representation and HPKE John Mattsson
- Re: [CFRG] compact representation and HPKE Richard Barnes
- Re: [CFRG] compact representation and HPKE Mike Hamburg
- Re: [CFRG] compact representation and HPKE Dan Harkins
- Re: [CFRG] compact representation and HPKE Dan Harkins
- Re: [CFRG] compact representation and HPKE John Mattsson
- Re: [CFRG] compact representation and HPKE Michael Scott
- Re: [CFRG] compact representation and HPKE Michael Scott
- Re: [CFRG] compact representation and HPKE Dan Harkins
- Re: [CFRG] compact representation and HPKE Benjamin Beurdouche
- Re: [CFRG] compact representation and HPKE Dan Harkins
- Re: [CFRG] compact representation and HPKE Loup Vaillant-David
- Re: [CFRG] compact representation and HPKE Eric Rescorla
- Re: [CFRG] compact representation and HPKE Christopher Wood
- Re: [CFRG] compact representation and HPKE Paul Hoffman
- Re: [CFRG] compact representation and HPKE Dan Harkins
- Re: [CFRG] compact representation and HPKE Stephen Farrell
- Re: [CFRG] compact representation and HPKE Eric Rescorla
- Re: [CFRG] compact representation and HPKE Stephen Farrell
- Re: [CFRG] compact representation and HPKE Andrey Jivsov
- Re: [CFRG] compact representation and HPKE Mike Hamburg
- Re: [CFRG] compact representation and HPKE Mike Hamburg
- Re: [CFRG] compact representation and HPKE Loup Vaillant-David
- Re: [CFRG] compact representation and HPKE Salz, Rich
- Re: [CFRG] compact representation and HPKE Mike Hamburg
- Re: [CFRG] compact representation and HPKE Stephen Farrell
- Re: [CFRG] compact representation and HPKE Peter Gutmann
- Re: [CFRG] compact representation and HPKE John Mattsson
- Re: [CFRG] compact representation and HPKE Benjamin Lipp
- Re: [CFRG] compact representation and HPKE John Mattsson
- Re: [CFRG] compact representation and HPKE Mike Hamburg
- Re: [CFRG] compact representation and HPKE Salz, Rich
- Re: [CFRG] compact representation and HPKE Dan Harkins
- Re: [CFRG] compact representation and HPKE Karthik Bhargavan
- Re: [CFRG] compact representation and HPKE Richard Barnes
- Re: [CFRG] compact representation and HPKE Eric Rescorla
- Re: [CFRG] compact representation and HPKE Benjamin Beurdouche
- Re: [CFRG] compact representation and HPKE Dan Harkins
- Re: [CFRG] compact representation and HPKE Billy Brumley
- Re: [CFRG] compact representation and HPKE Stanislav V. Smyshlyaev
- Re: [CFRG] compact representation and HPKE Dan Harkins
- Re: [CFRG] compact representation and HPKE Stanislav V. Smyshlyaev
- Re: [CFRG] compact representation and HPKE John Mattsson
- Re: [CFRG] compact representation and HPKE denis bider