
From nobody Sun Nov  2 00:13:47 2014
Return-Path: <dharkins@lounge.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 990A01A6FED for <cfrg@ietfa.amsl.com>; Sun,  2 Nov 2014 00:13:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.167
X-Spam-Level: 
X-Spam-Status: No, score=-1.167 tagged_above=-999 required=5 tests=[BAYES_50=0.8, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001] autolearn=ham
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 S5gIPtGwhhaK for <cfrg@ietfa.amsl.com>; Sun,  2 Nov 2014 00:13:43 -0700 (PDT)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id 244801A6FF8 for <cfrg@irtf.org>; Sun,  2 Nov 2014 00:13:43 -0700 (PDT)
Received: from www.trepanning.net (localhost [127.0.0.1]) by colo.trepanning.net (Postfix) with ESMTP id 723AF10224008; Sun,  2 Nov 2014 00:13:42 -0700 (PDT)
Received: from 69.12.173.8 (SquirrelMail authenticated user dharkins@lounge.org) by www.trepanning.net with HTTP; Sun, 2 Nov 2014 00:13:42 -0700 (PDT)
Message-ID: <daff1ac0ad5db724861948cc70e06037.squirrel@www.trepanning.net>
In-Reply-To: <D079777B.324B4%kenny.paterson@rhul.ac.uk>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk>
Date: Sun, 2 Nov 2014 00:13:42 -0700 (PDT)
From: "Dan Harkins" <dharkins@lounge.org>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
User-Agent: SquirrelMail/1.4.14 [SVN]
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/8HCv3IOQMAy7TNoHDk0jcSntrEE
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Nov 2014 07:13:44 -0000

On Fri, October 31, 2014 10:34 am, Paterson, Kenny wrote:
> Hi
>
> We could still go down the route of generating fresh curves if there's
> consensus for it on the list.
>
> So let's do a quick poll:
>
> - Who on the list would be in favour of using a to-be-agreed procedure to
> generate new curves, instead of selecting from amongst the curves that are
> currently on the table?
>
> (Keeping in mind that this may induce negative performance impacts, but
> could increase confidence in the outcome of our deliberations.)
>
> Replies should being with a one-word answer - "yes" or "no".
> Justifications for positions can be included if you wish, but right now
> I'm more interested in the raw, 1-bit answer.

  No. I'd actually be happy if we just chose E-521 and declared victory.

  Dan.




From nobody Sun Nov  2 05:06:29 2014
Return-Path: <mpg@elzevir.fr>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9F5FE1A878E for <cfrg@ietfa.amsl.com>; Sun,  2 Nov 2014 05:06:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.26
X-Spam-Level: 
X-Spam-Status: No, score=-1.26 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3, T_RP_MATCHES_RCVD=-0.01] autolearn=no
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 Mu2b8Gaft8ro for <cfrg@ietfa.amsl.com>; Sun,  2 Nov 2014 05:06:25 -0800 (PST)
Received: from mordell.elzevir.fr (mordell.elzevir.fr [92.243.3.74]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7DE7C1A8789 for <cfrg@irtf.org>; Sun,  2 Nov 2014 05:06:24 -0800 (PST)
Received: from thue.elzevir.fr (unknown [IPv6:2a01:e35:8a5d:80b0:be5f:f4ff:fe2c:95bc]) by mordell.elzevir.fr (Postfix) with ESMTPS id 24B30160BB; Sun,  2 Nov 2014 14:06:21 +0100 (CET)
Received: from [192.168.0.12] (mna75-11-88-161-199-191.fbx.proxad.net [88.161.199.191]) by thue.elzevir.fr (Postfix) with ESMTPSA id 9A07C2904E; Sun,  2 Nov 2014 14:06:19 +0100 (CET)
Message-ID: <54562C4A.8060206@elzevir.fr>
Date: Sun, 02 Nov 2014 14:06:18 +0100
From: =?UTF-8?B?TWFudWVsIFDDqWdvdXJpw6ktR29ubmFyZA==?= <mpg@elzevir.fr>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: Yoav Nir <ynir.ietf@gmail.com>, "cfrg@irtf.org" <cfrg@irtf.org>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CA+Vbu7zUp7fKR-bDiXo8NLBb4=ctn=-RNbaQAW28f1fq3p8Few@mail.gmail.com> <D0791AFC.52433%paul@marvell.com> <CB506CE3-8DA5-47FA-9B0A-98ECBF7A6680@akr.io> <635F495D-D39D-4F1F-9D22-96D7B14D51CF@gmail.com>
In-Reply-To: <635F495D-D39D-4F1F-9D22-96D7B14D51CF@gmail.com>
OpenPGP: id=98EED379; url=https://elzevir.fr/gpg/mpg.asc
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/QbcV5HQp23uC9FARFLI8a7zhsds
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Nov 2014 13:06:28 -0000

On 31/10/2014 19:56, Yoav Nir wrote:
> 
>> On Oct 31, 2014, at 8:18 PM, Alyssa Rowan <akr@akr.io> wrote:
>>
>>> - Who on the list would be in favour of using a to-be-agreed procedure to generate new curves, instead of selecting from amongst the curves that are currently on the table?
>>
>> No.
>>
>> • If we generated new curves with rigid processes and constraints, they'd likely match one of the contenders. (That's the point. See what happened with E-521.)
>>
>> • I think the already-existing Brainpool curves match random curve criteria fine.
>>
>> • Concerns about delay.
>>
>> There's nothing stopping us (or Brainpool) doing new random curves later, but I don't think this satisfies the TLS WG request on the table now.
> 
> +1. No.
> 
> I totally trust the Brainpool people to have picked the curves correctly and randomly. No reason to do it again.
> 
> The NUMS people have (I’m sure) done a fine job of doing the rigid process, and I don’t think we’ll come up with better rigid criteria unless we tailor the criteria to get a particular curve.
> 
> It’s time to do what IETF and IRTF usually do poorly - decide among several options, each with advantages and disadvantages.
>
No, and +1 on all points raised by Alyssa and Yoav (below).

Also, if Brainpool wants to generata a new set of VPR curves, I don't think they
need the CFRG for that, so the CFRG should rather concentrate on answering the
request from the TLS WG, and without additional delay.

Manuel.


From nobody Sun Nov  2 05:12:16 2014
Return-Path: <mpg@elzevir.fr>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 774131A8790 for <cfrg@ietfa.amsl.com>; Sun,  2 Nov 2014 05:12:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.26
X-Spam-Level: 
X-Spam-Status: No, score=-1.26 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3, T_RP_MATCHES_RCVD=-0.01] autolearn=no
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 Rw4GdrGbPXjI for <cfrg@ietfa.amsl.com>; Sun,  2 Nov 2014 05:12:13 -0800 (PST)
Received: from mordell.elzevir.fr (mordell.elzevir.fr [IPv6:2001:4b98:dc0:41:216:3eff:feeb:c406]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D97FA1A878E for <cfrg@irtf.org>; Sun,  2 Nov 2014 05:12:12 -0800 (PST)
Received: from thue.elzevir.fr (thue.elzevir.fr [88.165.216.11]) by mordell.elzevir.fr (Postfix) with ESMTPS id 763DA160C1; Sun,  2 Nov 2014 14:12:10 +0100 (CET)
Received: from [192.168.0.12] (mna75-11-88-161-199-191.fbx.proxad.net [88.161.199.191]) by thue.elzevir.fr (Postfix) with ESMTPSA id C14492904E; Sun,  2 Nov 2014 14:12:09 +0100 (CET)
Message-ID: <54562DA9.50701@elzevir.fr>
Date: Sun, 02 Nov 2014 14:12:09 +0100
From: =?UTF-8?B?TWFudWVsIFDDqWdvdXJpw6ktR29ubmFyZA==?= <mpg@elzevir.fr>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: Yoav Nir <ynir.ietf@gmail.com>,  Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
References: <810C31990B57ED40B2062BA10D43FBF5CF7DEC@XMB116CNC.rim.net> <CAA7UWsWWodK27WMrPLYkaZ_OUhKtqxq2nP_H6KsvnM5A9VMkFw@mail.gmail.com> <CACsn0cmxiTAS-O_vHdnMWdyCL+xNLWD-+we=dQw2U0X-YwjbpQ@mail.gmail.com> <20141030152747.GA23650@LK-Perkele-VII> <D077D201.1C39E%uri@ll.mit.edu> <20141030154715.GA23772@LK-Perkele-VII> <8BBA75FE-FB7C-41F2-AFC3-B9C8D19C8929@gmail.com>
In-Reply-To: <8BBA75FE-FB7C-41F2-AFC3-B9C8D19C8929@gmail.com>
OpenPGP: id=98EED379; url=https://elzevir.fr/gpg/mpg.asc
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/HcLzyQj2r1JDryhgvXwxoyDXes4
Cc: Dan Brown <dbrown@certicom.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Signature question ... [RE: Actual security levels for IETF crypto]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Nov 2014 13:12:14 -0000

On 30/10/2014 16:57, Yoav Nir wrote:
> Adding anything will require writing or copying a bunch of new code. It’s
> true that if we keep Weierstrass points I may need to write or copy less
> code, reducing the time I spend on writing it.  But getting these new curves
> into the product requires adding support for using the new code in TLS and
> IKE, UI, testing, documentation, test cycles with other implementations.
> Every one of those things totally dominates the time I spend writing or
> copying the code, and none of them is in any way affected by point format.
> 
> So without expressing any opinion on which is better, saving the likes of me
> some work should not be a consideration.
> 
As an implementer, +1 on this.

Manuel.


From nobody Sun Nov  2 13:34:11 2014
Return-Path: <Kim.Nguyen@bdr.de>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2E3261A1A29 for <cfrg@ietfa.amsl.com>; Sun,  2 Nov 2014 13:34:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.557
X-Spam-Level: 
X-Spam-Status: No, score=0.557 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_DE=0.35, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.594] autolearn=ham
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 oi494Dy_jYph for <cfrg@ietfa.amsl.com>; Sun,  2 Nov 2014 13:34:06 -0800 (PST)
Received: from mail.bdr.de (mail.bdr.de [217.6.168.20]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D0FB41A00BB for <cfrg@irtf.org>; Sun,  2 Nov 2014 13:34:04 -0800 (PST)
From: "Nguyen Dr., Kim" <Kim.Nguyen@bdr.de>
To: Paul Lambert <paul@marvell.com>, "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
Date: Sun, 2 Nov 2014 22:34:04 +0100
Thread-Topic: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
Thread-Index: Ac/1NB6NdLs4ji5wQUWjB9jkEiD7WwBsHdhA
Message-ID: <BEE23E55DF5A964FA984D6A0971273FD109C287F4E@BDRMXCMB.bdr.de>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CA+Vbu7zUp7fKR-bDiXo8NLBb4=ctn=-RNbaQAW28f1fq3p8Few@mail.gmail.com> <D0791AFC.52433%paul@marvell.com>
In-Reply-To: <D0791AFC.52433%paul@marvell.com>
Accept-Language: de-DE
Content-Language: de-DE
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
acceptlanguage: de-DE
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0007_01CFF6ED.1AEC4E90"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Zz9uc5wFAvTpQ2bZubdikclUpfs
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Nov 2014 21:34:10 -0000

------=_NextPart_000_0007_01CFF6ED.1AEC4E90
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0008_01CFF6ED.1AEC4E90"


------=_NextPart_001_0008_01CFF6ED.1AEC4E90
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I agree with Paul here, taking into account a variety of market =
applications
both from server as well as embedded view point is valuable.

So, my vote is a Yes.

Kim

=20

Dr. Kim Nguyen

=20

D-Trust GmbH

Gesch=E4ftsf=FChrer / Managing Director

=20

Technology

Chief Scientist Security

=20

-----------------------------------------------------------------------

=20

Bundesdruckerei GmbH

Oranienstrasse 91=20

10969 Berlin

GERMANY

=20

D-Trust GmbH

Kommandantenstr. 15

10969 Berlin=20

GERMANY

=20

Phone:  + 49 (0) 30 - 2598-1194

Mobile: + 49 (0) 171 5641 909

Fax:    + 49 (0) 30 - 2598-6165

=20

 <mailto:kim.nguyen@bdr.de> kim.nguyen@bdr.de

 <http://www.bundesdruckerei.de/> www.bundesdruckerei.de

=20

Sitz der Gesellschaft: Berlin

=20

Handelsregister: AG Berlin-Charlottenburg  HRB 80443.   Ust.-IdNr.:    =
DE
813210005=20

=20

Aufsichtsratsvorsitzender: Willi Berchtold

Gesch=E4ftsf=FChrer: Ulrich Hamann (Vorsitzender), Christian Helfrich

=20

This message is intended only for the use of the individual or entity to
which it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law. If the =
reader
of this message is not the intended recipient, or the employee or agent
responsible for delivering the message to the intended recipient, we =
hereby
give notice that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this message =
in
error, please delete the message and notify us immediately.

=20

=20

=20

=20

=20

=20

Von: Cfrg [mailto:cfrg-bounces@irtf.org] Im Auftrag von Paul Lambert
Gesendet: Freitag, 31. Oktober 2014 18:5
An: Paterson, Kenny
Cc: cfrg@irtf.org
Betreff: Re: [Cfrg] new curves or old (was: Actual security levels for =
IETF
crypto)

=20

=20

Yes.

=20

Good options for optimized and random primes is valuable.

We should not be so focused on =91the=92 ultimate curve, but also ensure =
that
there are well documented options for a variety of market applications.

=20

Paul

=20

=20

From: Benjamin Black <b@b3k.us>
Date: Friday, October 31, 2014 at 10:46 AM
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for =
IETF
crypto)

=20

Yes.

=20

"Keeping in mind that this may induce negative performance impacts, but

could increase confidence in the outcome of our deliberations."

=20

The process should allow both random and selected primes, even if CFRG
decides to only use one or the other to meet the TLS-WG request. =
Agreeing on
the process allows us to avoid this lengthy debate in future should =
other
curves be needed to meet specific requirements.

=20

On Fri, Oct 31, 2014 at 10:34 AM, Paterson, Kenny
<Kenny.Paterson@rhul.ac.uk> wrote:

Hi

We could still go down the route of generating fresh curves if there's
consensus for it on the list.

So let's do a quick poll:

- Who on the list would be in favour of using a to-be-agreed procedure =
to
generate new curves, instead of selecting from amongst the curves that =
are
currently on the table?

(Keeping in mind that this may induce negative performance impacts, but
could increase confidence in the outcome of our deliberations.)

Replies should being with a one-word answer - "yes" or "no".
Justifications for positions can be included if you wish, but right now
I'm more interested in the raw, 1-bit answer.

Thanks,

Kenny


On 31/10/2014 14:39, "Benjamin Black" <b@b3k.us> wrote:

>Right, I didn't say don't pick NUMS. I said I believe the process
>should've gone a direction it did not, which would've rejected _ALL_
>current candidates in favor of CFRG generating new ones. That is no =
more
>my saying "don't pick NUMS" than your
> saying you want genus 2 on the table is the same as your saying "don't
>pick Curve25519".
>
>On Fri, Oct 31, 2014 at 7:35 AM, Watson Ladd
><watsonbladd@gmail.com> wrote:
>
>On Fri, Oct 31, 2014 at 7:31 AM, Benjamin Black <b@b3k.us> wrote:
>> Watson,
>>
>> Where exactly did I say "don't pick NUMS"?
>
>On October 29
>"I've also said repeatedly that we should be starting from
>requirements and then consider _generating_ curves to meet them,
>rather than limiting ourselves to the curves at hand or trying to
>contort the requirements to match an existing favorite."
>
>
>
>That seems to suggest that we don't pick any curves, but instead
>generate new ones.
>
>>
>>
>> b
>>
>> On Fri, Oct 31, 2014 at 7:14 AM, Watson Ladd <watsonbladd@gmail.com>
>>wrote:
>>>
>>> On Fri, Oct 31, 2014 at 7:10 AM, Stephen Farrell
>>> <stephen.farrell@cs.tcd.ie> wrote:
>>> >
>>> >
>>> > On 31/10/14 14:05, Richard Barnes wrote:
>>> >> The idea that whiz-bang new crypto is the main barrier to 100% =
HTTPS
>>> >> adoption seems rather na=EFve.  It helps,
>>> >
>>> > I agree. Of course, having CFRG decide on precisely
>>> > which whiz-bang new crypto would be a good next step:-)
>>>
>>> But our choices are not the fastest ones! We've decided to have =
genus
>>> 1 prime, no CM, which is a very conservative choice, but not
>>> necessarily the fastest.
>>>
>>> Anyway, since Benjamin Black has said he doesn't actually think we
>>> should pick NUMS, but do our own picking, I think the answer is
>>> clear...
>>> >
>>> > S.
>>> >
>>> > _______________________________________________
>>> > Cfrg mailing list
>>> > Cfrg@irtf.org
>>> > http://www.irtf.org/mailman/listinfo/cfrg
>>>
>>>
>>>
>>> --
>>> "Those who would give up Essential Liberty to purchase a little
>>> Temporary Safety deserve neither  Liberty nor Safety."
>>> -- Benjamin Franklin
>>>
>>> _______________________________________________
>>> Cfrg mailing list
>>> Cfrg@irtf.org
>>> http://www.irtf.org/mailman/listinfo/cfrg
>>
>>
>
>
>
>--
>"Those who would give up Essential Liberty to purchase a little
>Temporary Safety deserve neither  Liberty nor Safety."
>-- Benjamin Franklin
>
>
>
>
>
>
>

=20

=20

=20


------=_NextPart_001_0008_01CFF6ED.1AEC4E90
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta name=3DGenerator =
content=3D"Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Sprechblasentext Zchn";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.SprechblasentextZchn
	{mso-style-name:"Sprechblasentext Zchn";
	mso-style-priority:99;
	mso-style-link:Sprechblasentext;
	font-family:"Tahoma","sans-serif";}
span.E-MailFormatvorlage19
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DDE link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I agree with Paul here, taking into account a variety of market =
applications both from server as well as embedded view point is =
valuable.<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>So, my vote is a Yes.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Kim<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Dr. Kim Nguyen<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>D-Trust GmbH<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Gesch=E4ftsf=FChrer / Managing Director<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Technology<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Chief Scientist Security<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>----------------------------------------------------------------------=
-<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Bundesdruckerei GmbH<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Oranienstrasse 91 <o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>10969 Berlin<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>GERMANY<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'=
>D-Trust GmbH<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'=
>Kommandantenstr. </span><span lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'=
>15<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'=
>10969 Berlin <o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'=
>GERMANY<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Phone:&nbsp; + 49 (0) 30 - 2598-1194<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Mobile: + 49 (0) 171 5641 909<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Fax:&nbsp;&nbsp;&nbsp; + 49 (0) 30 - =
2598-6165<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><a href=3D"mailto:kim.nguyen@bdr.de"><span =
lang=3DEN-US>kim.nguyen@bdr.de</span></a></span><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><a href=3D"http://www.bundesdruckerei.de/"><span =
lang=3DEN-US>www.bundesdruckerei.de</span></a></span><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Sitz der Gesellschaft: Berlin<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Handelsregister: AG Berlin-Charlottenburg&nbsp; HRB =
80443.&nbsp;&nbsp; Ust.-IdNr.:&nbsp;&nbsp;&nbsp; DE 813210005 =
<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Aufsichtsratsvorsitzender: Willi Berchtold<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Gesch=E4ftsf=FChrer: Ulrich Hamann (Vorsitzender), Christian =
Helfrich<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>This message is intended only for the use of the individual or entity =
to which it is addressed, and may contain information that is =
privileged, confidential and exempt from disclosure under applicable =
law. If the reader of this message is not the intended recipient, or the =
employee or agent responsible for delivering the message to the intended =
recipient, we hereby give notice that any dissemination, distribution or =
copying of this communication is strictly prohibited. If you have =
received this message in error, please delete the message and notify us =
immediately.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span><=
/b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Cfrg [mailto:cfrg-bounces@irtf.org] <b>Im Auftrag von </b>Paul =
Lambert<br><b>Gesendet:</b> Freitag, 31. </span><span lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Oktober =
2014 18:5<br><b>An:</b> Paterson, Kenny<br><b>Cc:</b> =
cfrg@irtf.org<br><b>Betreff:</b> Re: [Cfrg] new curves or old (was: =
Actual security levels for IETF =
crypto)<o:p></o:p></span></p></div></div><p class=3DMsoNormal><span =
lang=3DEN-US><o:p>&nbsp;</o:p></span></p><div><p class=3DMsoNormal><span =
lang=3DEN-US =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>Yes.<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>Good options for optimized and random primes is =
valuable.<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>We should not be so focused on &#8216;the&#8217; ultimate curve, but =
also ensure that there are well documented options for a variety of =
market applications.<o:p></o:p></span></p></div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>Paul<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p></div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm'><p class=3DMsoNormal><b><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'=
>From: </span></b><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'=
>Benjamin Black &lt;<a =
href=3D"mailto:b@b3k.us">b@b3k.us</a>&gt;<br><b>Date: </b>Friday, =
October 31, 2014 at 10:46 AM<br><b>To: </b>&quot;Paterson, Kenny&quot; =
&lt;<a =
href=3D"mailto:Kenny.Paterson@rhul.ac.uk">Kenny.Paterson@rhul.ac.uk</a>&g=
t;<br><b>Cc: </b>&quot;<a =
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>&quot; &lt;<a =
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>&gt;<br><b>Subject: =
</b>Re: [Cfrg] new curves or old (was: Actual security levels for IETF =
crypto)<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p></div><blockquote =
style=3D'border:none;border-left:solid #B5C4DF 4.5pt;padding:0cm 0cm 0cm =
4.0pt;margin-left:3.75pt;margin-right:0cm' =
id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>Yes.<o:p></o:p></span></p><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>&quot;</span><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>K=
eeping in mind that this may induce negative performance impacts, =
but</span><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p></o:p></span></p></div><p class=3DMsoNormal><span =
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>c=
ould increase confidence in the outcome of our =
deliberations.&quot;</span><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p></o:p></span></p><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>The process should allow both random and selected primes, even if CFRG =
decides to only use one or the other to meet the TLS-WG request. =
Agreeing on the process allows us to avoid this lengthy debate in future =
should other curves be needed to meet specific =
requirements.<o:p></o:p></span></p></div></div></div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>On Fri, Oct 31, 2014 at 10:34 AM, Paterson, Kenny &lt;<a =
href=3D"mailto:Kenny.Paterson@rhul.ac.uk" =
target=3D"_blank">Kenny.Paterson@rhul.ac.uk</a>&gt; =
wrote:<o:p></o:p></span></p><p class=3DMsoNormal =
style=3D'margin-bottom:12.0pt'><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>Hi<br><br>We could still go down the route of generating fresh curves =
if there's<br>consensus for it on the list.<br><br>So let's do a quick =
poll:<br><br>- Who on the list would be in favour of using a =
to-be-agreed procedure to<br>generate new curves, instead of selecting =
from amongst the curves that are<br>currently on the =
table?<br><br>(Keeping in mind that this may induce negative performance =
impacts, but<br>could increase confidence in the outcome of our =
deliberations.)<br><br>Replies should being with a one-word answer - =
&quot;yes&quot; or &quot;no&quot;.<br>Justifications for positions can =
be included if you wish, but right now<br>I'm more interested in the =
raw, 1-bit answer.<br><br>Thanks,<br><br>Kenny<br><br><br>On 31/10/2014 =
14:39, &quot;Benjamin Black&quot; &lt;<a =
href=3D"mailto:b@b3k.us">b@b3k.us</a>&gt; wrote:<br><br>&gt;Right, I =
didn't say don't pick NUMS. I said I believe the =
process<br>&gt;should've gone a direction it did not, which would've =
rejected _ALL_<br>&gt;current candidates in favor of CFRG generating new =
ones. That is no more<br>&gt;my saying &quot;don't pick NUMS&quot; than =
your<br>&gt; saying you want genus 2 on the table is the same as your =
saying &quot;don't<br>&gt;pick Curve25519&quot;.<br>&gt;<br>&gt;On Fri, =
Oct 31, 2014 at 7:35 AM, Watson Ladd<br>&gt;&lt;<a =
href=3D"mailto:watsonbladd@gmail.com">watsonbladd@gmail.com</a>&gt; =
wrote:<br>&gt;<br>&gt;On Fri, Oct 31, 2014 at 7:31 AM, Benjamin Black =
&lt;<a href=3D"mailto:b@b3k.us">b@b3k.us</a>&gt; wrote:<br>&gt;&gt; =
Watson,<br>&gt;&gt;<br>&gt;&gt; Where exactly did I say &quot;don't pick =
NUMS&quot;?<br>&gt;<br>&gt;On October 29<br>&gt;&quot;I've also said =
repeatedly that we should be starting from<br>&gt;requirements and then =
consider _generating_ curves to meet them,<br>&gt;rather than limiting =
ourselves to the curves at hand or trying to<br>&gt;contort the =
requirements to match an existing =
favorite.&quot;<br>&gt;<br>&gt;<br>&gt;<br>&gt;That seems to suggest =
that we don't pick any curves, but instead<br>&gt;generate new =
ones.<br>&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; =
b<br>&gt;&gt;<br>&gt;&gt; On Fri, Oct 31, 2014 at 7:14 AM, Watson Ladd =
&lt;<a =
href=3D"mailto:watsonbladd@gmail.com">watsonbladd@gmail.com</a>&gt;<br>&g=
t;&gt;wrote:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; On Fri, Oct 31, 2014 at =
7:10 AM, Stephen Farrell<br>&gt;&gt;&gt; &lt;<a =
href=3D"mailto:stephen.farrell@cs.tcd.ie">stephen.farrell@cs.tcd.ie</a>&g=
t; wrote:<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; =
On 31/10/14 14:05, Richard Barnes wrote:<br>&gt;&gt;&gt; &gt;&gt; The =
idea that whiz-bang new crypto is the main barrier to 100% =
HTTPS<br>&gt;&gt;&gt; &gt;&gt; adoption seems rather na=EFve.&nbsp; It =
helps,<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; I agree. Of course, =
having CFRG decide on precisely<br>&gt;&gt;&gt; &gt; which whiz-bang new =
crypto would be a good next step:-)<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; But =
our choices are not the fastest ones! We've decided to have =
genus<br>&gt;&gt;&gt; 1 prime, no CM, which is a very conservative =
choice, but not<br>&gt;&gt;&gt; necessarily the =
fastest.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Anyway, since Benjamin Black =
has said he doesn't actually think we<br>&gt;&gt;&gt; should pick NUMS, =
but do our own picking, I think the answer is<br>&gt;&gt;&gt; =
clear...<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; S.<br>&gt;&gt;&gt; =
&gt;<br>&gt;&gt;&gt; &gt; =
_______________________________________________<br>&gt;&gt;&gt; &gt; =
Cfrg mailing list<br>&gt;&gt;&gt; &gt; <a =
href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>&gt;&gt;&gt; &gt; <a =
href=3D"http://www.irtf.org/mailman/listinfo/cfrg" =
target=3D"_blank">http://www.irtf.org/mailman/listinfo/cfrg</a><br>&gt;&g=
t;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; =
--<br>&gt;&gt;&gt; &quot;Those who would give up Essential Liberty to =
purchase a little<br>&gt;&gt;&gt; Temporary Safety deserve neither&nbsp; =
Liberty nor Safety.&quot;<br>&gt;&gt;&gt; -- Benjamin =
Franklin<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; =
_______________________________________________<br>&gt;&gt;&gt; Cfrg =
mailing list<br>&gt;&gt;&gt; <a =
href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>&gt;&gt;&gt; <a =
href=3D"http://www.irtf.org/mailman/listinfo/cfrg" =
target=3D"_blank">http://www.irtf.org/mailman/listinfo/cfrg</a><br>&gt;&g=
t;<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;--<br>&gt;&quot;Those who =
would give up Essential Liberty to purchase a little<br>&gt;Temporary =
Safety deserve neither&nbsp; Liberty nor Safety.&quot;<br>&gt;-- =
Benjamin =
Franklin<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<o:p></o:=
p></span></p></div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p></div></blockquote><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p></div></div></body></html>
------=_NextPart_001_0008_01CFF6ED.1AEC4E90--

------=_NextPart_000_0007_01CFF6ED.1AEC4E90
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIQhjCCBJUw
ggN9oAMCAQICAwMOlTANBgkqhkiG9w0BAQUFADBLMQswCQ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nZOl61U8NLT5uNkSzzKqRdo7pRJdJMi0wglBAvbLvwazXt
AfXdKKNjDaXm6XNARi0m4dDJLbD1nxfIj93G4MNfe3QCVr28nrUlKZeFOA3rXADqrk3no0C0BeS9
l7nsEeAUl2I9PvBZa1gLSvBfZuFDPjVdAFw/r2l0ctFTcKL4Kp74skQE9Tsw3MGnFTPxh2vMQgTs
4CGfxSvq/Ukmam2/zqDP4v3vN27utvFFcO5uIZOS1jh3eEaKqLG6L+xbTlTxJiXEbC/02cJ6RSfd
6YNTSqFYRgVGsT7MRZEYwnwMpKZv0Q1S6LcuHgAAAAAAAA==

------=_NextPart_000_0007_01CFF6ED.1AEC4E90--


From nobody Sun Nov  2 14:18:43 2014
Return-Path: <hallam@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E1EBF1A1A3D for <cfrg@ietfa.amsl.com>; Sun,  2 Nov 2014 14:18:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 n7kMuR5FBqbI for <cfrg@ietfa.amsl.com>; Sun,  2 Nov 2014 14:18:39 -0800 (PST)
Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4340E1A0687 for <cfrg@irtf.org>; Sun,  2 Nov 2014 14:18:39 -0800 (PST)
Received: by mail-la0-f50.google.com with SMTP id hz20so6030314lab.23 for <cfrg@irtf.org>; Sun, 02 Nov 2014 14:18:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=0TfTmafovJKGee9Fc9CbQacu7vzlqpvl3coWXHOB8G0=; b=n/4DnMfjmRKTpTGAB2EVhOi9eAIACjOblVhFvrm8ENzC8CnawpETlpsSeE2NOh745Y S54XbVMO/1FTi3geRSK5bPpFYYszKiHMymi3Yz69/gh6KBtvwkCOR6Mg+oXv5v0GZR2c MKEBsZ4W1Ra1LYnTFtwyppGAsjigsTINRbB/I3DyzqD2FhRAq0hu8o0VqiWqX8zF9IWp r8I/R4lnWY9bvLqmtWqwfcEqfKj0EEslUxhU7jkv6ttlSt3PxkUdUGra4j/o/CZhMAI0 nVhY/ZH5xApctSdnpzDy5SXsnzZT6cNZSaUQcLnZ67osxcjfccLz33VcbYIF1ShI+HiP i42w==
MIME-Version: 1.0
X-Received: by 10.152.5.201 with SMTP id u9mr27799420lau.24.1414966717480; Sun, 02 Nov 2014 14:18:37 -0800 (PST)
Sender: hallam@gmail.com
Received: by 10.112.214.163 with HTTP; Sun, 2 Nov 2014 14:18:37 -0800 (PST)
In-Reply-To: <D079777B.324B4%kenny.paterson@rhul.ac.uk>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk>
Date: Sun, 2 Nov 2014 17:18:37 -0500
X-Google-Sender-Auth: 9_DXJ3ozdQfJZYFkKCt4cgXWhqE
Message-ID: <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/wpgr7mLDfuRaDFdjXZIYHPRRQz0
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Nov 2014 22:18:41 -0000

No

What we need is an unambiguous signal that ECC is now ready for prime
time. And the way to do that is to take all the options off the table
except for the performance curve and the backup.

If you can't or don't pick one winner then the whole exercise is
devalued. You are sending the signal that we don't know what we are
doing.


This is a standards exercise and the point of a standard is to make
choices that don't matter out of the design equation. One of the major
reasons that RSA has become dominant is that it offers a simple
proposition, a fixed set of key lengths, only one parameter (e).

In contrast NIST gave us a bazillion choices with no particular
guidance on how to chose between them.



On Fri, Oct 31, 2014 at 1:34 PM, Paterson, Kenny
<Kenny.Paterson@rhul.ac.uk> wrote:
> Hi
>
> We could still go down the route of generating fresh curves if there's
> consensus for it on the list.
>
> So let's do a quick poll:
>
> - Who on the list would be in favour of using a to-be-agreed procedure to
> generate new curves, instead of selecting from amongst the curves that ar=
e
> currently on the table?
>
> (Keeping in mind that this may induce negative performance impacts, but
> could increase confidence in the outcome of our deliberations.)
>
> Replies should being with a one-word answer - "yes" or "no".
> Justifications for positions can be included if you wish, but right now
> I'm more interested in the raw, 1-bit answer.
>
> Thanks,
>
> Kenny
>
>
> On 31/10/2014 14:39, "Benjamin Black" <b@b3k.us> wrote:
>
>>Right, I didn't say don't pick NUMS. I said I believe the process
>>should've gone a direction it did not, which would've rejected _ALL_
>>current candidates in favor of CFRG generating new ones. That is no more
>>my saying "don't pick NUMS" than your
>> saying you want genus 2 on the table is the same as your saying "don't
>>pick Curve25519".
>>
>>On Fri, Oct 31, 2014 at 7:35 AM, Watson Ladd
>><watsonbladd@gmail.com> wrote:
>>
>>On Fri, Oct 31, 2014 at 7:31 AM, Benjamin Black <b@b3k.us> wrote:
>>> Watson,
>>>
>>> Where exactly did I say "don't pick NUMS"?
>>
>>On October 29
>>"I've also said repeatedly that we should be starting from
>>requirements and then consider _generating_ curves to meet them,
>>rather than limiting ourselves to the curves at hand or trying to
>>contort the requirements to match an existing favorite."
>>
>>
>>
>>That seems to suggest that we don't pick any curves, but instead
>>generate new ones.
>>
>>>
>>>
>>> b
>>>
>>> On Fri, Oct 31, 2014 at 7:14 AM, Watson Ladd <watsonbladd@gmail.com>
>>>wrote:
>>>>
>>>> On Fri, Oct 31, 2014 at 7:10 AM, Stephen Farrell
>>>> <stephen.farrell@cs.tcd.ie> wrote:
>>>> >
>>>> >
>>>> > On 31/10/14 14:05, Richard Barnes wrote:
>>>> >> The idea that whiz-bang new crypto is the main barrier to 100% HTTP=
S
>>>> >> adoption seems rather na=C3=AFve.  It helps,
>>>> >
>>>> > I agree. Of course, having CFRG decide on precisely
>>>> > which whiz-bang new crypto would be a good next step:-)
>>>>
>>>> But our choices are not the fastest ones! We've decided to have genus
>>>> 1 prime, no CM, which is a very conservative choice, but not
>>>> necessarily the fastest.
>>>>
>>>> Anyway, since Benjamin Black has said he doesn't actually think we
>>>> should pick NUMS, but do our own picking, I think the answer is
>>>> clear...
>>>> >
>>>> > S.
>>>> >
>>>> > _______________________________________________
>>>> > Cfrg mailing list
>>>> > Cfrg@irtf.org
>>>> > http://www.irtf.org/mailman/listinfo/cfrg
>>>>
>>>>
>>>>
>>>> --
>>>> "Those who would give up Essential Liberty to purchase a little
>>>> Temporary Safety deserve neither  Liberty nor Safety."
>>>> -- Benjamin Franklin
>>>>
>>>> _______________________________________________
>>>> Cfrg mailing list
>>>> Cfrg@irtf.org
>>>> http://www.irtf.org/mailman/listinfo/cfrg
>>>
>>>
>>
>>
>>
>>--
>>"Those who would give up Essential Liberty to purchase a little
>>Temporary Safety deserve neither  Liberty nor Safety."
>>-- Benjamin Franklin
>>
>>
>>
>>
>>
>>
>>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Sun Nov  2 15:02:49 2014
Return-Path: <b@b3k.us>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 31BB01A1AB2 for <cfrg@ietfa.amsl.com>; Sun,  2 Nov 2014 15:02:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 VciX0YzHyWMy for <cfrg@ietfa.amsl.com>; Sun,  2 Nov 2014 15:02:46 -0800 (PST)
Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 830761A1AAD for <cfrg@irtf.org>; Sun,  2 Nov 2014 15:02:45 -0800 (PST)
Received: by mail-wg0-f44.google.com with SMTP id x12so9425489wgg.31 for <cfrg@irtf.org>; Sun, 02 Nov 2014 15:02:44 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=1P02A6jb1p1SqviYCpr7okAKFgaklLltUwCF7oRe/kk=; b=IungjUKggjoXtK2swFs6FjxOinQwi9C5xdUw+UkBZL7MPzmJ+n2aeBH4Plipjz5aKM L+XKbOgVeKa4U7JQ5zedA4uVI6b5dPUOzU8IcH0NiKEqh2fA0fgl6G+rBXLvMnrrdaRp 1B7guYdNGIQwume8jhDyoidhA9m6s+aRPA5El5Pm8ICwAc4vfaBJhj8dOoxvFX+6qX3Y sRC1OOKz/m4UBZW9dTIU4f34IRnNuNy2gFRgrKvRMm4NuqHrV6m1A53wy3gMbJFDnVTt mVxqNef51KDFwuxFXxz7QpxwxD8wA0zoHkAqLk80mYBQdsFtQSLySjP1yuBFISQQ+8Wf KFdg==
X-Gm-Message-State: ALoCoQkwi43i2lRqF7Oju7o4V79o4c6IA17dhMyYKp9tPMjHtWDyujYL4By/buSDSmj50qLmBX0S
X-Received: by 10.180.187.130 with SMTP id fs2mr12084243wic.24.1414969363995;  Sun, 02 Nov 2014 15:02:43 -0800 (PST)
MIME-Version: 1.0
Received: by 10.216.197.194 with HTTP; Sun, 2 Nov 2014 15:02:23 -0800 (PST)
In-Reply-To: <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com>
From: Benjamin Black <b@b3k.us>
Date: Sun, 2 Nov 2014 15:02:23 -0800
Message-ID: <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Content-Type: multipart/alternative; boundary=001a11c37eb24f30830506e83a82
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Fb8jxe7boO0N3swVPddkJb8_oqM
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Nov 2014 23:02:48 -0000

--001a11c37eb24f30830506e83a82
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

There are a larger bazillion choices for RSA. 512, 768, 1024, 1280, 1536,
2048, 3072, & 4096 (and probably others) have been or are in use. The
comparison doesn't hold, anyway, since RSA allows arbitrary bit lengths
while a given curve supports exactly one.

Regardless, I don't understand the insistence on rushing a decision. We're
talking about choices we will have to live with for 20 years. An extra
month or two won't kill us.

On Sun, Nov 2, 2014 at 2:18 PM, Phillip Hallam-Baker <phill@hallambaker.com=
>
wrote:

> No
>
> What we need is an unambiguous signal that ECC is now ready for prime
> time. And the way to do that is to take all the options off the table
> except for the performance curve and the backup.
>
> If you can't or don't pick one winner then the whole exercise is
> devalued. You are sending the signal that we don't know what we are
> doing.
>
>
> This is a standards exercise and the point of a standard is to make
> choices that don't matter out of the design equation. One of the major
> reasons that RSA has become dominant is that it offers a simple
> proposition, a fixed set of key lengths, only one parameter (e).
>
> In contrast NIST gave us a bazillion choices with no particular
> guidance on how to chose between them.
>
>
>
> On Fri, Oct 31, 2014 at 1:34 PM, Paterson, Kenny
> <Kenny.Paterson@rhul.ac.uk> wrote:
> > Hi
> >
> > We could still go down the route of generating fresh curves if there's
> > consensus for it on the list.
> >
> > So let's do a quick poll:
> >
> > - Who on the list would be in favour of using a to-be-agreed procedure =
to
> > generate new curves, instead of selecting from amongst the curves that
> are
> > currently on the table?
> >
> > (Keeping in mind that this may induce negative performance impacts, but
> > could increase confidence in the outcome of our deliberations.)
> >
> > Replies should being with a one-word answer - "yes" or "no".
> > Justifications for positions can be included if you wish, but right now
> > I'm more interested in the raw, 1-bit answer.
> >
> > Thanks,
> >
> > Kenny
> >
> >
> > On 31/10/2014 14:39, "Benjamin Black" <b@b3k.us> wrote:
> >
> >>Right, I didn't say don't pick NUMS. I said I believe the process
> >>should've gone a direction it did not, which would've rejected _ALL_
> >>current candidates in favor of CFRG generating new ones. That is no mor=
e
> >>my saying "don't pick NUMS" than your
> >> saying you want genus 2 on the table is the same as your saying "don't
> >>pick Curve25519".
> >>
> >>On Fri, Oct 31, 2014 at 7:35 AM, Watson Ladd
> >><watsonbladd@gmail.com> wrote:
> >>
> >>On Fri, Oct 31, 2014 at 7:31 AM, Benjamin Black <b@b3k.us> wrote:
> >>> Watson,
> >>>
> >>> Where exactly did I say "don't pick NUMS"?
> >>
> >>On October 29
> >>"I've also said repeatedly that we should be starting from
> >>requirements and then consider _generating_ curves to meet them,
> >>rather than limiting ourselves to the curves at hand or trying to
> >>contort the requirements to match an existing favorite."
> >>
> >>
> >>
> >>That seems to suggest that we don't pick any curves, but instead
> >>generate new ones.
> >>
> >>>
> >>>
> >>> b
> >>>
> >>> On Fri, Oct 31, 2014 at 7:14 AM, Watson Ladd <watsonbladd@gmail.com>
> >>>wrote:
> >>>>
> >>>> On Fri, Oct 31, 2014 at 7:10 AM, Stephen Farrell
> >>>> <stephen.farrell@cs.tcd.ie> wrote:
> >>>> >
> >>>> >
> >>>> > On 31/10/14 14:05, Richard Barnes wrote:
> >>>> >> The idea that whiz-bang new crypto is the main barrier to 100%
> HTTPS
> >>>> >> adoption seems rather na=C3=AFve.  It helps,
> >>>> >
> >>>> > I agree. Of course, having CFRG decide on precisely
> >>>> > which whiz-bang new crypto would be a good next step:-)
> >>>>
> >>>> But our choices are not the fastest ones! We've decided to have genu=
s
> >>>> 1 prime, no CM, which is a very conservative choice, but not
> >>>> necessarily the fastest.
> >>>>
> >>>> Anyway, since Benjamin Black has said he doesn't actually think we
> >>>> should pick NUMS, but do our own picking, I think the answer is
> >>>> clear...
> >>>> >
> >>>> > S.
> >>>> >
> >>>> > _______________________________________________
> >>>> > Cfrg mailing list
> >>>> > Cfrg@irtf.org
> >>>> > http://www.irtf.org/mailman/listinfo/cfrg
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> "Those who would give up Essential Liberty to purchase a little
> >>>> Temporary Safety deserve neither  Liberty nor Safety."
> >>>> -- Benjamin Franklin
> >>>>
> >>>> _______________________________________________
> >>>> Cfrg mailing list
> >>>> Cfrg@irtf.org
> >>>> http://www.irtf.org/mailman/listinfo/cfrg
> >>>
> >>>
> >>
> >>
> >>
> >>--
> >>"Those who would give up Essential Liberty to purchase a little
> >>Temporary Safety deserve neither  Liberty nor Safety."
> >>-- Benjamin Franklin
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> > _______________________________________________
> > Cfrg mailing list
> > Cfrg@irtf.org
> > http://www.irtf.org/mailman/listinfo/cfrg
>

--001a11c37eb24f30830506e83a82
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">There are a larger bazillion choices for RSA. 512, 768, 10=
24, 1280, 1536, 2048, 3072, &amp; 4096 (and probably others) have been or a=
re in use. The comparison doesn&#39;t hold, anyway, since RSA allows arbitr=
ary bit lengths while a given curve supports exactly one.<div><br></div><di=
v>Regardless, I don&#39;t understand the insistence on rushing a decision. =
We&#39;re talking about choices we will have to live with for 20 years. An =
extra month or two won&#39;t kill us.</div></div><div class=3D"gmail_extra"=
><br><div class=3D"gmail_quote">On Sun, Nov 2, 2014 at 2:18 PM, Phillip Hal=
lam-Baker <span dir=3D"ltr">&lt;<a href=3D"mailto:phill@hallambaker.com" ta=
rget=3D"_blank">phill@hallambaker.com</a>&gt;</span> wrote:<br><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">No<br>
<br>
What we need is an unambiguous signal that ECC is now ready for prime<br>
time. And the way to do that is to take all the options off the table<br>
except for the performance curve and the backup.<br>
<br>
If you can&#39;t or don&#39;t pick one winner then the whole exercise is<br=
>
devalued. You are sending the signal that we don&#39;t know what we are<br>
doing.<br>
<br>
<br>
This is a standards exercise and the point of a standard is to make<br>
choices that don&#39;t matter out of the design equation. One of the major<=
br>
reasons that RSA has become dominant is that it offers a simple<br>
proposition, a fixed set of key lengths, only one parameter (e).<br>
<br>
In contrast NIST gave us a bazillion choices with no particular<br>
guidance on how to chose between them.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
<br>
On Fri, Oct 31, 2014 at 1:34 PM, Paterson, Kenny<br>
&lt;<a href=3D"mailto:Kenny.Paterson@rhul.ac.uk">Kenny.Paterson@rhul.ac.uk<=
/a>&gt; wrote:<br>
&gt; Hi<br>
&gt;<br>
&gt; We could still go down the route of generating fresh curves if there&#=
39;s<br>
&gt; consensus for it on the list.<br>
&gt;<br>
&gt; So let&#39;s do a quick poll:<br>
&gt;<br>
&gt; - Who on the list would be in favour of using a to-be-agreed procedure=
 to<br>
&gt; generate new curves, instead of selecting from amongst the curves that=
 are<br>
&gt; currently on the table?<br>
&gt;<br>
&gt; (Keeping in mind that this may induce negative performance impacts, bu=
t<br>
&gt; could increase confidence in the outcome of our deliberations.)<br>
&gt;<br>
&gt; Replies should being with a one-word answer - &quot;yes&quot; or &quot=
;no&quot;.<br>
&gt; Justifications for positions can be included if you wish, but right no=
w<br>
&gt; I&#39;m more interested in the raw, 1-bit answer.<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Kenny<br>
&gt;<br>
&gt;<br>
&gt; On 31/10/2014 14:39, &quot;Benjamin Black&quot; &lt;<a href=3D"mailto:=
b@b3k.us">b@b3k.us</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt;Right, I didn&#39;t say don&#39;t pick NUMS. I said I believe the p=
rocess<br>
&gt;&gt;should&#39;ve gone a direction it did not, which would&#39;ve rejec=
ted _ALL_<br>
&gt;&gt;current candidates in favor of CFRG generating new ones. That is no=
 more<br>
&gt;&gt;my saying &quot;don&#39;t pick NUMS&quot; than your<br>
&gt;&gt; saying you want genus 2 on the table is the same as your saying &q=
uot;don&#39;t<br>
&gt;&gt;pick Curve25519&quot;.<br>
&gt;&gt;<br>
&gt;&gt;On Fri, Oct 31, 2014 at 7:35 AM, Watson Ladd<br>
&gt;&gt;&lt;<a href=3D"mailto:watsonbladd@gmail.com">watsonbladd@gmail.com<=
/a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;On Fri, Oct 31, 2014 at 7:31 AM, Benjamin Black &lt;<a href=3D"mail=
to:b@b3k.us">b@b3k.us</a>&gt; wrote:<br>
&gt;&gt;&gt; Watson,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Where exactly did I say &quot;don&#39;t pick NUMS&quot;?<br>
&gt;&gt;<br>
&gt;&gt;On October 29<br>
&gt;&gt;&quot;I&#39;ve also said repeatedly that we should be starting from=
<br>
&gt;&gt;requirements and then consider _generating_ curves to meet them,<br=
>
&gt;&gt;rather than limiting ourselves to the curves at hand or trying to<b=
r>
&gt;&gt;contort the requirements to match an existing favorite.&quot;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;That seems to suggest that we don&#39;t pick any curves, but instea=
d<br>
&gt;&gt;generate new ones.<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; b<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Fri, Oct 31, 2014 at 7:14 AM, Watson Ladd &lt;<a href=3D"ma=
ilto:watsonbladd@gmail.com">watsonbladd@gmail.com</a>&gt;<br>
&gt;&gt;&gt;wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Fri, Oct 31, 2014 at 7:10 AM, Stephen Farrell<br>
&gt;&gt;&gt;&gt; &lt;<a href=3D"mailto:stephen.farrell@cs.tcd.ie">stephen.f=
arrell@cs.tcd.ie</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; On 31/10/14 14:05, Richard Barnes wrote:<br>
&gt;&gt;&gt;&gt; &gt;&gt; The idea that whiz-bang new crypto is the main ba=
rrier to 100% HTTPS<br>
&gt;&gt;&gt;&gt; &gt;&gt; adoption seems rather na=C3=AFve.=C2=A0 It helps,=
<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; I agree. Of course, having CFRG decide on precisely<b=
r>
&gt;&gt;&gt;&gt; &gt; which whiz-bang new crypto would be a good next step:=
-)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; But our choices are not the fastest ones! We&#39;ve decide=
d to have genus<br>
&gt;&gt;&gt;&gt; 1 prime, no CM, which is a very conservative choice, but n=
ot<br>
&gt;&gt;&gt;&gt; necessarily the fastest.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Anyway, since Benjamin Black has said he doesn&#39;t actua=
lly think we<br>
&gt;&gt;&gt;&gt; should pick NUMS, but do our own picking, I think the answ=
er is<br>
&gt;&gt;&gt;&gt; clear...<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; S.<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; &gt; Cfrg mailing list<br>
&gt;&gt;&gt;&gt; &gt; <a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br=
>
&gt;&gt;&gt;&gt; &gt; <a href=3D"http://www.irtf.org/mailman/listinfo/cfrg"=
 target=3D"_blank">http://www.irtf.org/mailman/listinfo/cfrg</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt; &quot;Those who would give up Essential Liberty to purchas=
e a little<br>
&gt;&gt;&gt;&gt; Temporary Safety deserve neither=C2=A0 Liberty nor Safety.=
&quot;<br>
&gt;&gt;&gt;&gt; -- Benjamin Franklin<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; Cfrg mailing list<br>
&gt;&gt;&gt;&gt; <a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
&gt;&gt;&gt;&gt; <a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" targ=
et=3D"_blank">http://www.irtf.org/mailman/listinfo/cfrg</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;--<br>
&gt;&gt;&quot;Those who would give up Essential Liberty to purchase a littl=
e<br>
&gt;&gt;Temporary Safety deserve neither=C2=A0 Liberty nor Safety.&quot;<br=
>
&gt;&gt;-- Benjamin Franklin<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Cfrg mailing list<br>
&gt; <a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
&gt; <a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" target=3D"_blank=
">http://www.irtf.org/mailman/listinfo/cfrg</a><br>
</div></div></blockquote></div><br></div>

--001a11c37eb24f30830506e83a82--


From nobody Mon Nov  3 00:27:55 2014
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0BA831A6FFC for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 00:27:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.101
X-Spam-Level: 
X-Spam-Status: No, score=0.101 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7, UNPARSEABLE_RELAY=0.001] autolearn=ham
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 o2KT3Tj1Eknj for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 00:27:49 -0800 (PST)
Received: from mace.cs.uic.edu (mace.cs.uic.edu [131.193.32.224]) by ietfa.amsl.com (Postfix) with SMTP id 95E191A6FF9 for <cfrg@irtf.org>; Mon,  3 Nov 2014 00:27:49 -0800 (PST)
Received: (qmail 24250 invoked by uid 1011); 3 Nov 2014 08:27:44 -0000
Received: from unknown (unknown) by unknown with QMTP; 3 Nov 2014 08:27:44 -0000
Received: (qmail 10447 invoked by uid 1001); 3 Nov 2014 08:27:43 -0000
Date: 3 Nov 2014 08:27:43 -0000
Message-ID: <20141103082743.10445.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
In-Reply-To: <D079777B.324B4%kenny.paterson@rhul.ac.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/rcKCfqumxFby8o6A9D8j1FMeBuY
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 08:27:52 -0000

Paterson, Kenny writes:
> - Who on the list would be in favour of using a to-be-agreed procedure
> to generate new curves

There's an important ambiguity here:

   * Is the idea to throw away all of the current curve proposals, such
     as Curve25519 and E-521 and Microsoft's "NUMS" curves?

     This is clearly what Torsten Schütze's "yes" means. He says that
     the disadvantage of having to "wait" for new curves is outweighed
     by the need for "TRUST" in "the selected curves". Evidently he's
     claiming that CFRG can't trust any of the existing proposals. (If
     CFRG _does_ trust one of the proposals, then it can simply take
     that one without having to wait, so the argument makes no sense.)

   * Or is the idea to have CFRG pick a new curve _and_ one of the
     current curves?

     This is clearly what Paul Lambert's "yes" means: "Good options for
     optimized and random primes is valuable. ... ensure that there are
     well documented options for a variety of market applications." This
     is asking CFRG to pick a random-prime option _and_ to pick a faster
     option, based on the claim that having both options would provide
     benefits for applications; there's nothing here saying that the
     faster options on the table should be thrown away.
     
     It's not as clear if this is what Benjamin Black's "yes" means. He
     advocates a "process" to "allow both random and selected primes";
     on the other hand, what he had said earlier was that he wanted to
     reject "_ALL_ current candidates in favor of CFRG generating new
     ones". I can't figure out whether he's advocating throwing away the
     "NUMS" curves, for example.

     Dan Brown's "yes" is even less clear. He says that he wants a
     "random" curve using a "special prime"---this part is clear enough,
     and quite different from taking a random prime---but I have no idea
     whether he's asking for this "random" curve to coexist with a
     better-optimized curve using the same prime, or to coexist with a
     better-optimized curve using a different prime, or to be the sole
     CFRG output.

Apparently the motivation for some people to ask for "new curves" is
that they want some sort of "randomness", but they can't even agree on
what the desired "randomness" actually is (prime? curve? hashing? ...),
and whether the resulting "random" curve is supposed to be the sole CFRG
output or merely an extra option.

My own view is that

   * the best curves have already been found---for example, if CFRG
     wants a curve at a stratospheric >2^250 security level, then E-521
     is the best choice;

   * _replacing_ these curves with other curves at similar security
     levels would be a mistake---especially if the replacements use
     random primes, forcing users down to much lower security levels for
     any particular performance level; and

   * _supplementing_ these curves with additional options at similar
     security levels would also be a mistake---we have enough trouble
     getting security right without this sort of distraction.

Many arguments have already been given in favor of the current
proposals, and I won't repeat those arguments here, but let me add a
suggestion for people who think that it's possible to do better: please
_first_ generate your curves and _then_ ask CFRG to consider them. This
is particularly important for "random" curves:

   * Decades of successful attacks show that it's much, much, much
     easier to say "generate a random number" than to actually do it in
     a secure way---and that's in the easy situation of generating
     random numbers for oneself, whereas CFRG is facing the tougher
     problem of convincing third parties years later that the results
     weren't manipulated.

   * Brainpool claimed to have "verifiably pseudo-random curves" from
     hashing "seeds that are generated in a systematic and comprehensive
     way" as a substitute for true randomness, but we showed that more
     than a million curves could be generated with similar explanations
     (and Johannes Merkle has already admitted several bits of this
     flexibility---we can discuss the other bits if necessary).

   * Dan Brown said back in April that he would specify "a method to
     generate random curves (and constants)" but as far as I know he
     never followed through.

It's natural to overestimate the security, simplicity, and speed of a
solution that hasn't actually been specified yet.

I realize that curves can be costly to generate (for example, quite a
bit of CPU time was spent locating E-521, and I've heard amusing ideas
for even more expensive curve-generation procedures), but I don't see
any excuse for not producing scaled-down prototypes. Concrete curve
proposals are important as a basis for comparison.

---Dan


From nobody Mon Nov  3 01:10:38 2014
Return-Path: <akr@akr.io>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1B6E71A0021 for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 01:10:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.798
X-Spam-Level: 
X-Spam-Status: No, score=0.798 tagged_above=-999 required=5 tests=[BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 8nJiUidc-TH9 for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 01:10:35 -0800 (PST)
Received: from entima.net (entima.net [78.129.143.175]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 37E511A000C for <cfrg@irtf.org>; Mon,  3 Nov 2014 01:10:35 -0800 (PST)
In-Reply-To: <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
From: Alyssa Rowan <akr@akr.io>
Date: Mon, 03 Nov 2014 09:10:28 +0000
To: cfrg@irtf.org
Message-ID: <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io>
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/mFZ0MTFSKHbtUJN-hzupCn4-yGM
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 09:10:37 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 2 November 2014 23:02:23 GMT+00:00, Benjamin Black <b@b3k.us> wrote:

>Regardless, I don't understand the insistence on rushing a decision. We're talking about choices we will have to live with for 20 years. An extra month or two won't kill us.

Because other people have deadlines, Ben.

People are waiting on our recommendations: both downstream WGs like TLS and other groups like W3C. But the need to actually deploy universal encryption is pressing, and we are quite simply not important enough to wait very long for (we've probably already missed the train for WebCrypto?).

If we cannot make very clear choices, if we cannot make them very soon (e.g., early December/*before* Christmas), or if the choices we make aren't very good ones, implementers will just go and make their own choices. (Some, like SSH, already have.)

We now have a menu of excellent choices on the table, and reasonable ways to evaluate them. They mostly look like they'd all be fine for 20 years (excepting quantum computers). So let's do that. There really is no excuse for dithering around meaninglessly otherwise.

- --
/akr
-----BEGIN PGP SIGNATURE-----
Version: APG v1.1.1

iQI3BAEBCgAhBQJUV0aDGhxBbHlzc2EgUm93YW4gPGFrckBha3IuaW8+AAoJEOyE
jtkWi2t6WAoQAJwTI4Plw8PZLRIMKHI6KlRfRBj53P6JCIYcUpK6C/cS3eP70x41
zuWePu1eLq8+1uyu9H//x9qX0+ryKN0NvQL+t2jnTaijrF6M9INkvQ32j6WBTRtU
OgmKQXN/KJLtAeOjLQO/Dq9Q0nzFSOe/j+AyoiA3HUQQ6wIHOBCaXAt/rZeYldcV
8zB5+27FaFz0xGZJk2Lhb/FCJllzHiUUFv7S4b8p8mXpGoYNM+KJxZp3ceSmJ4Lg
RddSu4TFeqkxoAEkhNlqV29PafZWi/117/jfn2b4XslR34okrNhzc0HeT8IiJuUS
Zu4xBJ/Ik8Pyla6Y5uUw5robiWlWg5iJust0PQMBVy5zYZXjaNvSTZ5PlSb8o0CH
D/O1cJwzK9sgAvBX5Qe3Oh9NcSRfuZjSqIldLrBpfeO0u3sG6508YmlY+nGrRtKW
b9Dc8K6PayT+51groi4XPWBAM5CM2xJg80XRw/Jq7y7/UE9HAxFuDg74VWWz56FH
daDcYY3t+vu3R+hQt96L0qvkSvZkU/3iyeSWLfjEB1VTlSqDlADZT4H1W3EDDunu
LTI/+3d/KyQIARfl/jknGFYMDaOZ3a2zjdOBMZhtiNEp3ELYmyqVHdKJz6Q3YxcS
VDtlvWXYq2948KHo0wvCAL08aFcunaTw6a6vnlyzwnGQqEtWlfTns4HQ
=7Fsx
-----END PGP SIGNATURE-----


From nobody Mon Nov  3 05:18:40 2014
Return-Path: <prvs=6384dfb61d=uri@ll.mit.edu>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D23411A0171 for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 05:18:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.792
X-Spam-Level: 
X-Spam-Status: No, score=-4.792 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.594, UNPARSEABLE_RELAY=0.001] autolearn=ham
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 nmmFXKZ7GPSX for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 05:18:36 -0800 (PST)
Received: from mx1.ll.mit.edu (MX1.LL.MIT.EDU [129.55.12.45]) by ietfa.amsl.com (Postfix) with ESMTP id 8A1411A016F for <cfrg@irtf.org>; Mon,  3 Nov 2014 05:18:36 -0800 (PST)
Received: from LLE2K10-HUB01.mitll.ad.local (LLE2K10-HUB01.mitll.ad.local) by mx1.ll.mit.edu (unknown) with ESMTP id sA3DIWUM020051; Mon, 3 Nov 2014 08:18:32 -0500
From: "Blumenthal, Uri - 0558 - MITLL" <uri@ll.mit.edu>
To: "'b@b3k.us'" <b@b3k.us>, "'phill@hallambaker.com'" <phill@hallambaker.com>
Thread-Topic: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
Thread-Index: AQHP92iqRgcsmlfOK02fAxuem6PkuA==
Date: Mon, 3 Nov 2014 13:18:31 +0000
Message-ID: <65D2FD736B6B2B48B2EAD2BD189DC9CC13F836B2@LLE2K10-MBX01.mitll.ad.local>
In-Reply-To: <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [155.34.14.22]
Content-Type: multipart/alternative; boundary="_000_65D2FD736B6B2B48B2EAD2BD189DC9CC13F836B2LLE2K10MBX01mit_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52, 1.0.28,  0.0.0000 definitions=2014-11-03_02:2014-11-03,2014-11-03,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1411030120
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/VUdYyK2DegImhz-lEwG6BFh0JdA
Cc: "'cfrg@irtf.org'" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 13:18:40 -0000

--_000_65D2FD736B6B2B48B2EAD2BD189DC9CC13F836B2LLE2K10MBX01mit_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

VGhlICJiaWciIGNob2ljZSBzZWVtcyB0byBiZSBiZXR3ZWVuIGVuZG9yc2luZyBhIGZpeGVkIGN1
cnZlIChvciBhIHNldCBvZiBjdXJ2ZXMpLCBhbmQgZW5kb3JzaW5nIGEgdmVyaWZpYWJseS1yYW5k
b20gY3VydmUgZ2VuZXJhdGlvbiBwcm9jZXNzL2FsZ29yaXRobS4gSXQgaXMgYWxsIGFib3V0IGVu
ZG9yc2VtZW50Lg0KDQpUaGVyZSBhcmUgcGxlbnR5IG9mIHNhbXBsZXMgaW4gZWFjaCBncm91cCB0
byBzZWxlY3QgZnJvbSwgc28gaXQgZG9lcyBub3QgaGF2ZSB0byBiZSBzb21ldGhpbmcgQ0ZSRy1p
bnZlbnRlZCBmcm9tIHNjcmF0Y2ggKGJlY2F1c2UgcGVvcGxlIGFyZSB0b28gYWZyYWlkIHRvIHRy
dXN0IGFueXRoaW5nIGFscmVhZHkgZXhpc3RpbmcpLg0KDQpDRlJHIG1heSBkZWNpZGUgdGhhdCBC
cmFpbnBvb2wgZ2VuZXJhdGlvbiBhbGdvcml0aG0gKGFuZCBjdXJ2ZXMpIGFyZSBmaW5lLCBhbmQg
ZW5kb3JzZSBpdC4gQ0ZSRyBtYXkgZW5kb3JzZSBhbm90aGVyIGdlbmVyYXRpb24gYWxnb3JpdGht
LCBvciBzZXR0bGUgb24gYSBidW5jaCBvZiBhbHJlYWR5IHByb3Bvc2VkIGN1cnZlcy4NCg0KDQoN
Ci0tDQpSZWdhcmRzLA0KVXJpIEJsdW1lbnRoYWwgVm9pY2U6ICg3ODEpIDk4MS0xNjM4DQpDeWJl
ciBTeXN0ZW1zIGFuZCBUZWNobm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y5pcnRmLm9yZy9tYWlsbWFu
L2xpc3RpbmZvL2Nmcmc8L2E+PGJyPg0KPC9kaXY+DQo8L2Rpdj4NCjwvYmxvY2txdW90ZT4NCjwv
ZGl2Pg0KPGJyPg0KPC9kaXY+DQo8L2JvZHk+DQo8L2h0bWw+DQo=

--_000_65D2FD736B6B2B48B2EAD2BD189DC9CC13F836B2LLE2K10MBX01mit_--


From nobody Mon Nov  3 08:22:14 2014
Return-Path: <Kenny.Paterson@rhul.ac.uk>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4C6771A19FE for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 08:22:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 lbJuG3vGLEq2 for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 08:22:03 -0800 (PST)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0693.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::693]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BA4201A1A05 for <cfrg@irtf.org>; Mon,  3 Nov 2014 08:21:56 -0800 (PST)
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by DBXPR03MB381.eurprd03.prod.outlook.com (10.141.10.11) with Microsoft SMTP Server (TLS) id 15.1.11.14; Mon, 3 Nov 2014 16:18:09 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) by DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) with mapi id 15.01.0011.000; Mon, 3 Nov 2014 16:18:09 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Alyssa Rowan <akr@akr.io>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
Thread-Index: AQHP9TDjNOV6k7Uea0qq/hyZGzgxW5xN64OAgAAMOoCAAKnmAIAAZrIA
Date: Mon, 3 Nov 2014 16:18:09 +0000
Message-ID: <D07D59BE.32D25%kenny.paterson@rhul.ac.uk>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io>
In-Reply-To: <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.4.140807
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [134.219.227.30]
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB381;
x-exchange-antispam-report-test: UriScan:;
x-forefront-prvs: 0384275935
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(51704005)(199003)(189002)(24454002)(479174003)(106116001)(95666004)(106356001)(107886001)(107046002)(105586002)(77156002)(62966003)(120916001)(54356999)(50986999)(64706001)(76176999)(99396003)(20776003)(92726001)(93886004)(101416001)(66066001)(87936001)(36756003)(15202345003)(19580405001)(31966008)(2656002)(83506001)(2420400002)(19580395003)(4396001)(2501002)(15975445006)(86362001)(97736003)(92566001)(21056001)(46102003)(40100003)(74482002)(122556002); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR03MB381; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en; 
Content-Type: text/plain; charset="us-ascii"
Content-ID: <0289011F2AE95947A90769D4F2D09FC0@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/7T4Q9Om7n8y3Q6-QUa8wZ9hWsiw
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 16:22:10 -0000

Alyssa,

On 03/11/2014 09:10, "Alyssa Rowan" <akr@akr.io> wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA512
>
>On 2 November 2014 23:02:23 GMT+00:00, Benjamin Black <b@b3k.us> wrote:
>
>>Regardless, I don't understand the insistence on rushing a decision.
>>We're talking about choices we will have to live with for 20 years. An
>>extra month or two won't kill us.
>
>Because other people have deadlines, Ben.
>
>People are waiting on our recommendations: both downstream WGs like TLS
>and other groups like W3C. But the need to actually deploy universal
>encryption is pressing, and we are quite simply not important enough to
>wait very long for (we've probably already missed the train for
>WebCrypto?).

No. We are in fairly regular contact with the W3C folks, and while it's
true that they are waiting with bated breath for our recommendations, we
are not about to miss any trains.

>
>If we cannot make very clear choices, if we cannot make them very soon
>(e.g., early December/*before* Christmas), or if the choices we make
>aren't very good ones, implementers will just go and make their own
>choices. (Some, like SSH, already have.)

OpenSSH has, which is indeed most of SSH deployment. But they've always
made their own choices, including some bad ones (e.g. a broken version of
CBC mode that has only just been removed from their codebase in version
6.7, 5 years after http://www.openssh.com/txt/cbc.adv)

>We now have a menu of excellent choices on the table, and reasonable ways
>to evaluate them. They mostly look like they'd all be fine for 20 years
>(excepting quantum computers). So let's do that. There really is no
>excuse for dithering around meaninglessly otherwise.

I agree with the sentiment that we have excellent choices already before
us.

However, if there's a reasonably simple way to ensure the highest possible
levels of trustworthiness in our recommendations with unduly compromising
efficiency and security, then I am prepared to sacrifice some extra time
to achieve it.

Regards

Kenny=20


From nobody Mon Nov  3 08:38:00 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B924E1A07BC for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 08:37:47 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 TuBIELIFCyf5 for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 08:37:42 -0800 (PST)
Received: from mail-yh0-x236.google.com (mail-yh0-x236.google.com [IPv6:2607:f8b0:4002:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 339C61A0077 for <cfrg@irtf.org>; Mon,  3 Nov 2014 08:37:42 -0800 (PST)
Received: by mail-yh0-f54.google.com with SMTP id 29so5880251yhl.41 for <cfrg@irtf.org>; Mon, 03 Nov 2014 08:37:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9u1JWRQFIs6fnWBJF7j/kRxUzjtP6myOoGOBCIWVmmY=; b=WMZKy2703dzHtWbW4PysZaYJUSrii7KcJEi9y6PBBE1dqAMV9g9fDqcWRIk9fCjped PK/KID3KVcPEb6hX1NYT0s49Q3JIqi6f3anMJ/CeeBnrNCwsrJ3khXnS1+mpo/ctCZUF dVESXWm/67kjCgUtN4HlFbBW7eaJPd7rWwwZbvAips+2dMNAFCguG8t0I6tFcxGJWeF1 YW07RjGEXMpMDJfMNEyy0jOJKyjAvS0ezogl2KrIDZ9DSFv3/hRXJHwIAp0vfwRSBuZM OmWZcZ2OApHENbtQLo4EqR8pnClWvlxZWm2p+jYYs+QXfarRSC3ipDIiRy5icSoA8eEi IrUw==
MIME-Version: 1.0
X-Received: by 10.170.207.141 with SMTP id y135mr41399312yke.28.1415032660048;  Mon, 03 Nov 2014 08:37:40 -0800 (PST)
Received: by 10.170.195.203 with HTTP; Mon, 3 Nov 2014 08:37:39 -0800 (PST)
In-Reply-To: <D07D59BE.32D25%kenny.paterson@rhul.ac.uk>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk>
Date: Mon, 3 Nov 2014 08:37:39 -0800
Message-ID: <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/vPK1l4Y0E71wnX7mQWUgj_w9d30
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 16:37:47 -0000

On Mon, Nov 3, 2014 at 8:18 AM, Paterson, Kenny
<Kenny.Paterson@rhul.ac.uk> wrote:
> Alyssa,
>
<snip>
>
> However, if there's a reasonably simple way to ensure the highest possible
> levels of trustworthiness in our recommendations with unduly compromising
> efficiency and security, then I am prepared to sacrifice some extra time
> to achieve it.

That assumes that picking a generation method would "ensure the
highest possible levels of trustworthiness". It's not clear to me that
it would. Opponents of the performance approach can demonstrate the
flexibility they insist exists by putting BADA55 in the hexadecimal
form of the coefficients obtained by taking the minimal equation
satisfying reasonable constraints on a performance-oriented prime. Or
they can explain what concerns are addressed by their proposal and how
they are addressed: I still don't know, because the proponents of
generation have made nothing more then repeated bare assertions that
it does address concerns.

The fact that the people voting "yes" don't agree with each other on
what a yes looks like is a very bad sign. It means that generation
requires reopening discussions that have basically yielded no fruit
since April. It's remarkable that we can't agree on the security
picture for intensively studied, well-understood, 30 year old crypto,
and even more remarkable that we can't agree that widely adopted,
performance, crypto with no security problems, can be used on the
Internet.

Furthermore, picking curves isn't the only thing we have to do. We've
got PAKEs on the agenda. We've got a massive W3C related task telling
people what not to do with WebCrypto. We've got ChaCha20-Poly1305 on
the table, which is needed because of timing attacks on AES on most
processors. The longer it takes to do things, the less we can do.

>
> Regards
>
> Kenny
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg



-- 
"Those who would give up Essential Liberty to purchase a little
Temporary Safety deserve neither  Liberty nor Safety."
-- Benjamin Franklin


From nobody Mon Nov  3 08:42:50 2014
Return-Path: <alangley@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8021E1A1A5C for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 08:42:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 RG3g9Yf4vtG4 for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 08:42:46 -0800 (PST)
Received: from mail-lb0-x234.google.com (mail-lb0-x234.google.com [IPv6:2a00:1450:4010:c04::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 56AAD1A0BE8 for <cfrg@irtf.org>; Mon,  3 Nov 2014 08:42:40 -0800 (PST)
Received: by mail-lb0-f180.google.com with SMTP id u10so1230788lbd.11 for <cfrg@irtf.org>; Mon, 03 Nov 2014 08:42:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=DbVnJkRah3HER8SShPyCS4b2SDdtsr2I5N9UZ/LWOyo=; b=pMKfE7Cx+MW58wMx61+yzkHbp8+WOAGUVPfvJcbMQymLun4+zmq+AnXzczFsgj261u STVQeXNwjURwm6jxuUQaY6TG7zoGZkzY4iR4/4qanpqDnJmg+M2IUIEa2uOZ2GXGwdUk JLqCuthKfGGs8ET2xIpLXuQNoszFAeb94mdyDe+GvVf5hBnpwAUWp7uVDQfinaCibGKk vo1YhJKSmo5B9KIbZvIVdyA+Hz5cJpMRI4Uw1brlbVnYSWV+tiQx9svLGAOZ6N/VLzYf NVuLfRgl+xvt5mfefFpHbAMUwOCh0OFKK1FNvbXbv0E0zU/oz7MAH+SzCN1E3uabF3j+ bJuQ==
MIME-Version: 1.0
X-Received: by 10.152.207.71 with SMTP id lu7mr9955764lac.81.1415032958521; Mon, 03 Nov 2014 08:42:38 -0800 (PST)
Sender: alangley@gmail.com
Received: by 10.112.241.103 with HTTP; Mon, 3 Nov 2014 08:42:38 -0800 (PST)
In-Reply-To: <D079777B.324B4%kenny.paterson@rhul.ac.uk>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk>
Date: Mon, 3 Nov 2014 08:42:38 -0800
X-Google-Sender-Auth: zXXXRSp0_4IXH2YvZjrYM5MR6rk
Message-ID: <CAMfhd9UZnv1eQyzi23Hhi8=+mUK_WPSunjXNegmV5zKjFvM7ww@mail.gmail.com>
From: Adam Langley <agl@imperialviolet.org>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/3VSsdcG8xKUqjB77lFakgnhLKWw
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 16:42:48 -0000

On Fri, Oct 31, 2014 at 10:34 AM, Paterson, Kenny
<Kenny.Paterson@rhul.ac.uk> wrote:
> - Who on the list would be in favour of using a to-be-agreed procedure to
> generate new curves, instead of selecting from amongst the curves that are
> currently on the table?

No.

-- 
Adam Langley agl@imperialviolet.org https://www.imperialviolet.org


From nobody Mon Nov  3 08:43:35 2014
Return-Path: <Kenny.Paterson@rhul.ac.uk>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 742101A19F4 for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 08:43:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 WD_EIh-2ZK6r for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 08:43:32 -0800 (PST)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0612.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::612]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B9DAD1A010F for <cfrg@irtf.org>; Mon,  3 Nov 2014 08:43:31 -0800 (PST)
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by DBXPR03MB384.eurprd03.prod.outlook.com (10.141.10.20) with Microsoft SMTP Server (TLS) id 15.1.11.14; Mon, 3 Nov 2014 16:43:08 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) by DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) with mapi id 15.01.0011.000; Mon, 3 Nov 2014 16:43:08 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: "D. J. Bernstein" <djb@cr.yp.to>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
Thread-Index: AQHP9TDjNOV6k7Uea0qq/hyZGzgxW5xOlbGAgAB5n4A=
Date: Mon, 3 Nov 2014 16:43:08 +0000
Message-ID: <D07D5B48.32D43%kenny.paterson@rhul.ac.uk>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <20141103082743.10445.qmail@cr.yp.to>
In-Reply-To: <20141103082743.10445.qmail@cr.yp.to>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.4.140807
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [134.219.227.30]
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB384;
x-forefront-prvs: 0384275935
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(199003)(189002)(51704005)(24454002)(479174003)(101416001)(4396001)(76176999)(31966008)(54356999)(97736003)(2501002)(107886001)(120916001)(15202345003)(95666004)(106116001)(99396003)(107046002)(105586002)(106356001)(21056001)(2656002)(87936001)(92726001)(92566001)(83506001)(15975445006)(50986999)(86362001)(19580395003)(122556002)(19580405001)(74482002)(46102003)(36756003)(2420400002)(20776003)(77156002)(40100003)(62966003)(64706001)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR03MB384; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en; 
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <99A760FA81EC9045B7CCC80002DFACF5@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/OBl6TlUtMb_U0CcryTE_opmN_I8
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 16:43:34 -0000

Hi Dan,

Indeed, there's ambiguity in your post and in the ones to which it refers.

The full and explicit intention of my question was this: do we want to
clear the table completely and generate some fresh curves according to
some to-be-agreed procedure, or not.

If the RG said "yes" to this question, then the procedure we use would be
up for discussion.

The agreed upon procedure need not involve any randomness, and it could be
one that leads to curves already on the table, which would (if we don't
cook the books in writing down the procedure!) validate the rigidity of
the process by which those curves were produced in the first place. If so,
then great, we'd have further evidence of the unimpeachability of our
recommendations.

The agreed upon procedure might involve randomness, in which case it would
be much less likely to produce curves which are currently on the table.

It would be for the RG to decide, by consensus if possible, by majority if
not, by fiat if necessary, what the procedure would be.

Cheers

Kenny=20



On 03/11/2014 08:27, "D. J. Bernstein" <djb@cr.yp.to> wrote:

>Paterson, Kenny writes:
>> - Who on the list would be in favour of using a to-be-agreed procedure
>> to generate new curves
>
>There's an important ambiguity here:
>
>   * Is the idea to throw away all of the current curve proposals, such
>     as Curve25519 and E-521 and Microsoft's "NUMS" curves?
>
>     This is clearly what Torsten Sch=FCtze's "yes" means. He says that
>     the disadvantage of having to "wait" for new curves is outweighed
>     by the need for "TRUST" in "the selected curves". Evidently he's
>     claiming that CFRG can't trust any of the existing proposals. (If
>     CFRG _does_ trust one of the proposals, then it can simply take
>     that one without having to wait, so the argument makes no sense.)
>
>   * Or is the idea to have CFRG pick a new curve _and_ one of the
>     current curves?
>
>     This is clearly what Paul Lambert's "yes" means: "Good options for
>     optimized and random primes is valuable. ... ensure that there are
>     well documented options for a variety of market applications." This
>     is asking CFRG to pick a random-prime option _and_ to pick a faster
>     option, based on the claim that having both options would provide
>     benefits for applications; there's nothing here saying that the
>     faster options on the table should be thrown away.
>    =20
>     It's not as clear if this is what Benjamin Black's "yes" means. He
>     advocates a "process" to "allow both random and selected primes";
>     on the other hand, what he had said earlier was that he wanted to
>     reject "_ALL_ current candidates in favor of CFRG generating new
>     ones". I can't figure out whether he's advocating throwing away the
>     "NUMS" curves, for example.
>
>     Dan Brown's "yes" is even less clear. He says that he wants a
>     "random" curve using a "special prime"---this part is clear enough,
>     and quite different from taking a random prime---but I have no idea
>     whether he's asking for this "random" curve to coexist with a
>     better-optimized curve using the same prime, or to coexist with a
>     better-optimized curve using a different prime, or to be the sole
>     CFRG output.
>
>Apparently the motivation for some people to ask for "new curves" is
>that they want some sort of "randomness", but they can't even agree on
>what the desired "randomness" actually is (prime? curve? hashing? ...),
>and whether the resulting "random" curve is supposed to be the sole CFRG
>output or merely an extra option.
>
>My own view is that
>
>   * the best curves have already been found---for example, if CFRG
>     wants a curve at a stratospheric >2^250 security level, then E-521
>     is the best choice;
>
>   * _replacing_ these curves with other curves at similar security
>     levels would be a mistake---especially if the replacements use
>     random primes, forcing users down to much lower security levels for
>     any particular performance level; and
>
>   * _supplementing_ these curves with additional options at similar
>     security levels would also be a mistake---we have enough trouble
>     getting security right without this sort of distraction.
>
>Many arguments have already been given in favor of the current
>proposals, and I won't repeat those arguments here, but let me add a
>suggestion for people who think that it's possible to do better: please
>_first_ generate your curves and _then_ ask CFRG to consider them. This
>is particularly important for "random" curves:
>
>   * Decades of successful attacks show that it's much, much, much
>     easier to say "generate a random number" than to actually do it in
>     a secure way---and that's in the easy situation of generating
>     random numbers for oneself, whereas CFRG is facing the tougher
>     problem of convincing third parties years later that the results
>     weren't manipulated.
>
>   * Brainpool claimed to have "verifiably pseudo-random curves" from
>     hashing "seeds that are generated in a systematic and comprehensive
>     way" as a substitute for true randomness, but we showed that more
>     than a million curves could be generated with similar explanations
>     (and Johannes Merkle has already admitted several bits of this
>     flexibility---we can discuss the other bits if necessary).
>
>   * Dan Brown said back in April that he would specify "a method to
>     generate random curves (and constants)" but as far as I know he
>     never followed through.
>
>It's natural to overestimate the security, simplicity, and speed of a
>solution that hasn't actually been specified yet.
>
>I realize that curves can be costly to generate (for example, quite a
>bit of CPU time was spent locating E-521, and I've heard amusing ideas
>for even more expensive curve-generation procedures), but I don't see
>any excuse for not producing scaled-down prototypes. Concrete curve
>proposals are important as a basis for comparison.
>
>---Dan
>
>_______________________________________________
>Cfrg mailing list
>Cfrg@irtf.org
>http://www.irtf.org/mailman/listinfo/cfrg


From nobody Mon Nov  3 08:57:44 2014
Return-Path: <Kenny.Paterson@rhul.ac.uk>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CCF491A0461 for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 08:57:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 hFvezfBQCCwe for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 08:57:32 -0800 (PST)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0633.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::633]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8ACDF1A0013 for <cfrg@irtf.org>; Mon,  3 Nov 2014 08:57:31 -0800 (PST)
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) with Microsoft SMTP Server (TLS) id 15.1.11.14; Mon, 3 Nov 2014 16:57:07 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) by DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) with mapi id 15.01.0011.000; Mon, 3 Nov 2014 16:57:07 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Watson Ladd <watsonbladd@gmail.com>
Thread-Topic: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
Thread-Index: AQHP9TDjNOV6k7Uea0qq/hyZGzgxW5xN64OAgAAMOoCAAKnmAIAAZrIAgAAWP4D///SjgA==
Date: Mon, 3 Nov 2014 16:57:07 +0000
Message-ID: <D07D6167.32DC3%kenny.paterson@rhul.ac.uk>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com>
In-Reply-To: <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.4.140807
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [134.219.227.30]
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB383;
x-exchange-antispam-report-test: UriScan:;
x-forefront-prvs: 0384275935
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(377454003)(479174003)(189002)(51704005)(199003)(24454002)(19273905006)(19580395003)(2656002)(15202345003)(19580405001)(20776003)(99396003)(120916001)(86362001)(64706001)(66066001)(92566001)(87936001)(46102003)(92726001)(101416001)(74482002)(1411001)(50986999)(76176999)(54356999)(40100003)(561944003)(122556002)(4396001)(21056001)(93886004)(105586002)(2420400002)(15975445006)(83506001)(97736003)(106116001)(106356001)(31966008)(95666004)(77156002)(62966003)(110136001)(107046002)(36756003)(563064011); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR03MB383; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
Content-Type: text/plain; charset="us-ascii"
Content-ID: <19FB6A33CE524B479943924E7BD28993@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/FT3Dnq9xIuZ0IyuVaOOP0Z8hcrU
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 16:57:39 -0000

Watson,

On 03/11/2014 16:37, "Watson Ladd" <watsonbladd@gmail.com> wrote:

>On Mon, Nov 3, 2014 at 8:18 AM, Paterson, Kenny
><Kenny.Paterson@rhul.ac.uk> wrote:
>> Alyssa,
>>
><snip>
>>
>> However, if there's a reasonably simple way to ensure the highest
>>possible
>> levels of trustworthiness in our recommendations with unduly
>>compromising
>> efficiency and security, then I am prepared to sacrifice some extra time
>> to achieve it.
>
>That assumes that picking a generation method would "ensure the
>highest possible levels of trustworthiness". It's not clear to me that
>it would. Opponents of the performance approach can demonstrate the
>flexibility they insist exists by putting BADA55 in the hexadecimal
>form of the coefficients obtained by taking the minimal equation
>satisfying reasonable constraints on a performance-oriented prime. Or
>they can explain what concerns are addressed by their proposal and how
>they are addressed: I still don't know, because the proponents of
>generation have made nothing more then repeated bare assertions that
>it does address concerns.
>
>The fact that the people voting "yes" don't agree with each other on
>what a yes looks like is a very bad sign.

I disagree. I think the question could have been posed more precisely by
me, and some of that lack of agreement would have been avoided. As I just
said in my reply to Dan, the procedure that would need to be agreed upon
by the RG need not involve any (verifiable) randomness, even if it is the
presumption of some people saying "yes" that it would. Indeed, we could
end up back where we started, with a few families of well understood
curves. We can then toss a suitably many-sided coin. But going through
that process might give us a stronger sense of having done as much due
diligence as possible given the RG's limited resources.

>It means that generation
>requires reopening discussions that have basically yielded no fruit
>since April.
> It's remarkable that we can't agree on the security
>picture for intensively studied, well-understood, 30 year old crypto,

That's because it's mostly not 30 years old, and because it's not yet that
well understood outside a small circle of experts.

To expand: all of the Edwards and twisted Edwards stuff is much newer
(less than 10 years old, by my reckoning), has not been widely deployed
and runs counter to the existing settled ECC consensus as represented by
current deployment of ECC (which basically involves prime order curves in
Weierstrass form). It might look trivial to you as a mathematician, but
it's far from trivial to almost everyone else. This is not to say that we
cannot or should not recommend "modern" ECC to the TLS WG. But I think
it's worth keeping in mind as context.

>and even more remarkable that we can't agree that widely adopted,
>performance, crypto with no security problems, can be used on the
>Internet.
>
>Furthermore, picking curves isn't the only thing we have to do. We've
>got PAKEs on the agenda.

We do, but there's a relatively small intersection of people, and
responding to the TLS WG's request *is* our priority at the moment.
=20
>We've got a massive W3C related task telling
>people what not to do with WebCrypto.

For some definition of "we". It's not CFRG's job, AFAIK.

>We've got ChaCha20-Poly1305 on
>the table, which is needed because of timing attacks on AES on most
>processors.=20

Yes, that's passed through last call rather smoothly and is already with
the IESG document shepherds.

>The longer it takes to do things, the less we can do.

And the longer we take, the better answers we can hope to get on the
things that really matter.

Cheers

Kenny=20

>
>>
>> Regards
>>
>> Kenny
>>
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> http://www.irtf.org/mailman/listinfo/cfrg
>
>
>
>--=20
>"Those who would give up Essential Liberty to purchase a little
>Temporary Safety deserve neither  Liberty nor Safety."
>-- Benjamin Franklin


From nobody Mon Nov  3 10:05:14 2014
Return-Path: <hallam@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 862EF1A6F9A for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 10:05:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.422
X-Spam-Level: *
X-Spam-Status: No, score=1.422 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 f0vo0EDrgElF for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 10:05:11 -0800 (PST)
Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [IPv6:2a00:1450:4010:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5C1591A6F90 for <cfrg@irtf.org>; Mon,  3 Nov 2014 10:05:10 -0800 (PST)
Received: by mail-la0-f42.google.com with SMTP id gq15so10025706lab.29 for <cfrg@irtf.org>; Mon, 03 Nov 2014 10:05:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=dA+HfCVdmiwynrddcGyS3M0B8L8JLlb1EaB3z+Pji74=; b=Fbtx2NoZV6qjoaandOQl72Jde4C0LlFd4kVuXqnZPSVjoeXfJmEw2ovRinC3vXn9N8 hfh9cTDHwnoH2oWCXFmx+29JVI2P3JyMZP2K6xlk0CS/CZdEXivpgNjPs0TDk6MTPV3I 7vGsEFgfW0dJ3J59ZTHgFY1Fu+55B7UjIJABZ1RZSbN5R7d077t5bDMQhEsAa0H/jZ0n kqzr64xQlTk1Swrzt0CtgeV2VJl8W56qN8W2/gy27iKac49VdaVtQ+j2pu88YWQwMTiZ ffg4bMJYYa9HaBHQkCresF9z+6tBbNqe919GR12DWD1HSJxu1cfOYcERy+msvzXq4VDB gf5w==
MIME-Version: 1.0
X-Received: by 10.152.37.69 with SMTP id w5mr39664501laj.84.1415037908362; Mon, 03 Nov 2014 10:05:08 -0800 (PST)
Sender: hallam@gmail.com
Received: by 10.112.214.163 with HTTP; Mon, 3 Nov 2014 10:05:08 -0800 (PST)
In-Reply-To: <D07D6167.32DC3%kenny.paterson@rhul.ac.uk>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk>
Date: Mon, 3 Nov 2014 13:05:08 -0500
X-Google-Sender-Auth: ba3qTUojM8OeOyuagZcY0dXQ2yI
Message-ID: <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ktGM5YXpvfICE74xYzbyjZWbElw
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 18:05:12 -0000

The problem here is not to find curves we are confident in. It is
finding curves that we can make other people confident in.

If it was just about convincing ourselves and people willing to engage
in abstract mathematical discussions, the problem would be
straightforward.

Remember that every one of the curves we are considering is to the
best of our knowledge secure for the foreseeable future. Think of the
way a bank building is constructed with neoclassical pillars and stone
walls, none of which add to the security of the vault in the
slightest. The point of that fancy stonework is not to make the bank
secure, it is to show that the bankers can afford the security.


The arguments for P256 and P512 are very simple. I can convince
someone that Curve P256 is a acceptably secure and not likely to have
been sabotaged to the satisfaction of the typical IETF attendee or a
customer or come to that a judge sitting in chambers in a few minutes.
I can convince someone that P512 puts the security of the crypto
beyond dispute unless there is a development (e.g. practical QM) that
is so powerful that it puts all options in dispute.

Every step away from those positions makes the task of explanation
harder. Curve 25519 is a harder sell than P256 but the argument is not
too difficult to make. The alternatives to P512 are a much harder
sell.


If we re-open the door to random curves then the explanation challenge
becomes orders of magnitude greater because it is not a single point
in a mathematical space I have to justify, it is the entire process
under which the curves were created.

I know how to develop a cryptographic ceremony that provides a very
high degree of assurance that there was no subterfuge. In fact I once
taught a (very expensive) two week course. But I know that any process
we develop is going to be sufficiently complex for Roswell and moon
landing conspiracy theorists to dispute the circumstances.


The PKI industry is currently building an infrastructure that is
likely to end up costing of the order of $5-25 million/year to build
and operate. The reason we are having to do that is the DigiNotar
incident. Which might seem reasonable to people because the risk that
a non-authorized CA might issue a cert for your domain, yada yada.
Meanwhile we have a revocation infrastructure which is far more
critical to the operation of the WebPKI that is being pared back and
de-activated. End entity keys get stolen by crooks every single day,
the failure rate for CA keys is once a decade. [Note that TRANS is
only motivated by DigiNotar, CAA is sufficient for the minor
breaches].


The reason for this situation is that confidence is more than simply a
'marketing concern'. Confidence is the product.

Trust is the degree of confidence a party has in being able to predict
the outcome of an action.


From nobody Mon Nov  3 10:14:23 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 59B771A6F41 for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 10:14:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.3
X-Spam-Level: 
X-Spam-Status: No, score=-1.3 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_55=0.6] autolearn=no
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 WkxGwCOWJcLZ for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 10:14:17 -0800 (PST)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 488461A6EE4 for <cfrg@irtf.org>; Mon,  3 Nov 2014 10:14:16 -0800 (PST)
Received: from xct101cnc.rim.net ([10.65.161.201]) by mhs211cnc.rim.net with ESMTP/TLS/AES128-SHA; 03 Nov 2014 13:14:11 -0500
Received: from XCT111CNC.rim.net (10.65.161.211) by XCT101CNC.rim.net (10.65.161.201) with Microsoft SMTP Server (TLS) id 14.3.174.1; Mon, 3 Nov 2014 13:14:11 -0500
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT111CNC.rim.net ([::1]) with mapi id 14.03.0174.001; Mon, 3 Nov 2014 13:14:09 -0500
From: Dan Brown <dbrown@certicom.com>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>, "D. J. Bernstein" <djb@cr.yp.to>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
Thread-Index: Ac/3kfVMosEkK4lK2kWDbv4M83W3Hg==
Date: Mon, 3 Nov 2014 18:14:08 +0000
Message-ID: <20141103181403.22249619.29750.22343@certicom.com>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="===============0482782603=="
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/TBvywCCHlhrXzSXTd16c-SmeguU
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 18:14:19 -0000

--===============0482782603==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

To slightly clarify my yes vote:

I'm fine if we recommend two curves over the same special prime, one curve =
rigid/special, one curve random in some sense to be determined. Further, th=
ese two curves need not be recommended at the same time. couldn't we decide=
 on the field and shape first: we're nearly done there,right?

I've heard a few times that whatever curve we recommend would be used for m=
any years without much change: if so I'd want a more conservative option, w=
hich to me includes a random j-invariant. (see my email to the list on bad =
and rigid curves). I'm fine with having a less random option too: that's wh=
at NIST=E2=80=8E did with binary-field =C2=A0curves, and SECG had the secp2=
56k1 (see BitCoin) alternative to P256. Some have said options are bad, but=
 if we state what's different, then maybe it's good. surely each IETF proto=
col has an idea of their efficiency needs and the value of the info they ne=
ed to protect.

Best regards,=20

-- Dan
=C2=A0 Original Message =C2=A0
From: Paterson, Kenny
Sent: Monday, November 3, 2014 11:44 AM
To: D. J. Bernstein; cfrg@irtf.org
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF=
 crypto)

Hi Dan,

Indeed, there's ambiguity in your post and in the ones to which it refers.

The full and explicit intention of my question was this: do we want to
clear the table completely and generate some fresh curves according to
some to-be-agreed procedure, or not.

If the RG said "yes" to this question, then the procedure we use would be
up for discussion.

The agreed upon procedure need not involve any randomness, and it could be
one that leads to curves already on the table, which would (if we don't
cook the books in writing down the procedure!) validate the rigidity of
the process by which those curves were produced in the first place. If so,
then great, we'd have further evidence of the unimpeachability of our
recommendations.

The agreed upon procedure might involve randomness, in which case it would
be much less likely to produce curves which are currently on the table.

It would be for the RG to decide, by consensus if possible, by majority if
not, by fiat if necessary, what the procedure would be.

Cheers

Kenny=20



On 03/11/2014 08:27, "D. J. Bernstein" <djb@cr.yp.to> wrote:

>Paterson, Kenny writes:
>> - Who on the list would be in favour of using a to-be-agreed procedure
>> to generate new curves
>
>There's an important ambiguity here:
>
> * Is the idea to throw away all of the current curve proposals, such
> as Curve25519 and E-521 and Microsoft's "NUMS" curves?
>
> This is clearly what Torsten Sch=C3=BCtze's "yes" means. He says that
> the disadvantage of having to "wait" for new curves is outweighed
> by the need for "TRUST" in "the selected curves". Evidently he's
> claiming that CFRG can't trust any of the existing proposals. (If
> CFRG _does_ trust one of the proposals, then it can simply take
> that one without having to wait, so the argument makes no sense.)
>
> * Or is the idea to have CFRG pick a new curve _and_ one of the
> current curves?
>
> This is clearly what Paul Lambert's "yes" means: "Good options for
> optimized and random primes is valuable. ... ensure that there are
> well documented options for a variety of market applications." This
> is asking CFRG to pick a random-prime option _and_ to pick a faster
> option, based on the claim that having both options would provide
> benefits for applications; there's nothing here saying that the
> faster options on the table should be thrown away.
>=20
> It's not as clear if this is what Benjamin Black's "yes" means. He
> advocates a "process" to "allow both random and selected primes";
> on the other hand, what he had said earlier was that he wanted to
> reject "_ALL_ current candidates in favor of CFRG generating new
> ones". I can't figure out whether he's advocating throwing away the
> "NUMS" curves, for example.
>
> Dan Brown's "yes" is even less clear. He says that he wants a
> "random" curve using a "special prime"---this part is clear enough,
> and quite different from taking a random prime---but I have no idea
> whether he's asking for this "random" curve to coexist with a
> better-optimized curve using the same prime, or to coexist with a
> better-optimized curve using a different prime, or to be the sole
> CFRG output.
>
>Apparently the motivation for some people to ask for "new curves" is
>that they want some sort of "randomness", but they can't even agree on
>what the desired "randomness" actually is (prime? curve? hashing? ...),
>and whether the resulting "random" curve is supposed to be the sole CFRG
>output or merely an extra option.
>
>My own view is that
>
> * the best curves have already been found---for example, if CFRG
> wants a curve at a stratospheric >2^250 security level, then E-521
> is the best choice;
>
> * _replacing_ these curves with other curves at similar security
> levels would be a mistake---especially if the replacements use
> random primes, forcing users down to much lower security levels for
> any particular performance level; and
>
> * _supplementing_ these curves with additional options at similar
> security levels would also be a mistake---we have enough trouble
> getting security right without this sort of distraction.
>
>Many arguments have already been given in favor of the current
>proposals, and I won't repeat those arguments here, but let me add a
>suggestion for people who think that it's possible to do better: please
>_first_ generate your curves and _then_ ask CFRG to consider them. This
>is particularly important for "random" curves:
>
> * Decades of successful attacks show that it's much, much, much
> easier to say "generate a random number" than to actually do it in
> a secure way---and that's in the easy situation of generating
> random numbers for oneself, whereas CFRG is facing the tougher
> problem of convincing third parties years later that the results
> weren't manipulated.
>
> * Brainpool claimed to have "verifiably pseudo-random curves" from
> hashing "seeds that are generated in a systematic and comprehensive
> way" as a substitute for true randomness, but we showed that more
> than a million curves could be generated with similar explanations
> (and Johannes Merkle has already admitted several bits of this
> flexibility---we can discuss the other bits if necessary).
>
> * Dan Brown said back in April that he would specify "a method to
> generate random curves (and constants)" but as far as I know he
> never followed through.
>
>It's natural to overestimate the security, simplicity, and speed of a
>solution that hasn't actually been specified yet.
>
>I realize that curves can be costly to generate (for example, quite a
>bit of CPU time was spent locating E-521, and I've heard amusing ideas
>for even more expensive curve-generation procedures), but I don't see
>any excuse for not producing scaled-down prototypes. Concrete curve
>proposals are important as a basis for comparison.
>
>---Dan
>
>_______________________________________________
>Cfrg mailing list
>Cfrg@irtf.org
>http://www.irtf.org/mailman/listinfo/cfrg

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg


--===============0482782603==
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCTAHBgUrDgMCGjCABgkqhkiG9w0BBwEAAKCCDSYwggaPMIIF
d6ADAgECAgptqd1HAAQAAAVqMA0GCSqGSIb3DQEBBQUAMFAxEzARBgoJkiaJk/IsZAEZFgNuZXQx
EzARBgoJkiaJk/IsZAEZFgNyaW0xJDAiBgNVBAMTG1JJTSBTdWJvcmRpbmF0ZSBDQSBNQ0EwMllL
RjAeFw0xNDA1MTQxNDM2MzhaFw0xNTA1MTQxNDM2MzhaMIGkMRMwEQYKCZImiZPyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMQ0wCwYDVQQLEwRBTUVSMQswCQYDVQQLEwJDQTEUMBIGA1UE
CxMLTWlzc2lzc2F1Z2ExDjAMBgNVBAsTBVVzZXJzMRIwEAYDVQQDEwlEYW4gQnJvd24xIjAgBgkq
hkiG9w0BCQEWE2Ricm93bkBjZXJ0aWNvbS5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGB
AOeGGgTmotlA0vPS6BzGw3AuPnPHRJeU6ZCVs9Jrqo51z+saUmKgc6LbMPUqTw9/9MBfA8++2YZG
DfAQ0hdEQHbZn1yl3uNLUJB6KZTeKaLPY5wWVuXvB7k2VJBFQv6u239/fXLJKcTLfTAPd+ILwa0p
NUDW0dw+x6t+LeGzh10lAgMBAAGjggOYMIIDlDALBgNVHQ8EBAMCBaAwRAYJKoZIhvcNAQkPBDcw
NTAOBggqhkiG9w0DAgICAIAwDgYIKoZIhvcNAwQCAgCAMAcGBSsOAwIHMAoGCCq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dmx
JqjcAhf/nbqfAAAAAAAA

--===============0482782603==--


From nobody Mon Nov  3 11:01:52 2014
Return-Path: <akr@akr.io>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2BF8B1A8546 for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 11:01:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 Fhl2Mdc2Ytpw for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 11:01:47 -0800 (PST)
Received: from entima.net (entima.net [78.129.143.175]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C6C7B1A8545 for <cfrg@irtf.org>; Mon,  3 Nov 2014 11:01:45 -0800 (PST)
Message-ID: <5457D125.5030901@akr.io>
Date: Mon, 03 Nov 2014 19:01:57 +0000
From: Alyssa Rowan <akr@akr.io>
MIME-Version: 1.0
To: "cfrg@irtf.org" <cfrg@irtf.org>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk>
In-Reply-To: <D07D59BE.32D25%kenny.paterson@rhul.ac.uk>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/K2Oo0Nc87ICDfYhWEMA7vCEJuO4
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 19:01:51 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 03/11/2014 16:18, Paterson, Kenny wrote:

>> […] (we've probably already missed the train for WebCrypto?).
> No. We are in fairly regular contact with the W3C folks, and while
>  it's true that they are waiting with bated breath for our 
> recommendations, we are not about to miss any trains.

Well, that at least is encouraging. (I was a little concerned of the
potential adoption consequences of being WebCrypto spec extensions.)

>> […] implementers will just go and make their own choices. (Some,
>>  like SSH, already have.)
> OpenSSH has, which is indeed most of SSH deployment. But they've 
> always made their own choices, including some bad ones […]

Historically, yes. Here, I think they perceived an urgent need, and
addressed it.

In a way, I suppose that's kind of my point. If we wait too long to
make recommendations, we run a greater risk they may not be followed.

I remember back in July, there were hopes it was going to take around
8 weeks for us to put forth, evaluate and approve candidates. :)

> I agree with the sentiment that we have excellent choices already 
> before us. However, if there's a reasonably simple way to ensure
> the highest possible levels of trustworthiness in our
> recommendations with unduly compromising efficiency and security,
> then I am prepared to sacrifice some extra time to achieve it.

I appreciate that.

My point is: if we did do the curve generation process from scratch,
given the criteria of efficiency, security, simplicity, rigidity,
interoperability and intellectual property, we are highly likely to
simply end up with one or more of the excellent choices already before
us, precisely because of that rigidity; the solution space seems
fairly well-explored (although of course we should explore it
thoroughly when selecting recommendations).

- -- 
/akr
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJUV9ElAAoJEOyEjtkWi2t6NvIP/30OIOJqHJOtwRpYfeNPwWC1
UkgvgmU1iKkAKXNzUKZJdvsYXvHZW+2fFPfadSeIcqEsGxO1lxzdpq/ehpOu6L27
O/xTpHN66mGyF/qHViZP4fm962CwBqoNPoYE+k5G/ugELS0qBMjv4q1VVjl1/eZ/
arMYhOVdlD4boq6iLdFlieK7uCjCDrCF9PgQ0hkVU4UIdJ2iasjE3bKklvfIMA9p
yiV/ssqxuXsy7dO/35mK7MawHtraDsk/12n79KSYHYzuGnqQNpWiECD7DPM9AMaL
I2FaW8gVYN4/4GCwfxmnDi3+o1X2VUmusL6MsDLnN7GCQFAk5/3jUHAanWJjXKQv
7kX4sWZ3AdqY5j1EgRjQnceJtoRNOip3Wq4NOxX7ZVFTVEu0t2nLqt4sc6aulfYq
kkW8HF4Pk2cv8Wyak6vicavtcypLdTicYJl35uT/zOf+xhiwnpJwERJCeaArW/sm
n744IczawmCR0CAvn3VZgAxPUalQnL4mTVDocX2UK+XsBl4xXEmh8U7OuBcReraD
1+VVf+fpSUPpBvAeDb1KRKomlJXobrk4Ctg3N0uttQ/SF9ETx70WofgvbbstZeiv
6SjAghhbx+yFFlbRSvbUBCCMfwdm7ZNe71CMvpcUa67VXoxszgAsURe5OntakDXS
kYwrN6TLsFC6aFzKicPm
=Bmor
-----END PGP SIGNATURE-----


From nobody Mon Nov  3 11:32:39 2014
Return-Path: <prvs=6384dfb61d=uri@ll.mit.edu>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 562DE1A7D84 for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 11:32:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.793
X-Spam-Level: 
X-Spam-Status: No, score=-4.793 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.594, UNPARSEABLE_RELAY=0.001] autolearn=ham
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 7U558L9ygIxR for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 11:32:37 -0800 (PST)
Received: from mx1.ll.mit.edu (MX1.LL.MIT.EDU [129.55.12.45]) by ietfa.amsl.com (Postfix) with ESMTP id C512F1A802E for <cfrg@irtf.org>; Mon,  3 Nov 2014 11:32:36 -0800 (PST)
Received: from LLE2K10-HUB01.mitll.ad.local (LLE2K10-HUB01.mitll.ad.local) by mx1.ll.mit.edu (unknown) with ESMTP id sA3JWYZC023935; Mon, 3 Nov 2014 14:32:34 -0500
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: "Blumenthal, Uri - 0558 - MITLL" <uri@ll.mit.edu>
In-Reply-To: <5457D125.5030901@akr.io>
Date: Mon, 3 Nov 2014 14:32:32 -0500
Content-Transfer-Encoding: quoted-printable
Message-ID: <145897BB-5E6E-4EF7-BEE1-69A66A6F5CAA@ll.mit.edu>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <5457D125.5030901@akr.io>
To: Alyssa Rowan <akr@akr.io>
X-Mailer: Apple Mail (2.1510)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52, 1.0.28,  0.0.0000 definitions=2014-11-03_02:2014-11-03,2014-11-03,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1411030170
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/o87QtyzNDVcrJUqaMRWDURv6lgw
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 19:32:38 -0000

On Nov 3, 2014, at 14:01 , Alyssa Rowan <akr@akr.io> wrote:
>=20
> My point is: if we did do the curve generation process from scratch,
> given the criteria of efficiency, security, simplicity, rigidity,
> interoperability and intellectual property, we are highly likely to
> simply end up with one or more of the excellent choices already before
> us, precisely because of that rigidity; the solution space seems
> fairly well-explored (although of course we should explore it
> thoroughly when selecting recommendations).

And in my opinion it would be a perfectly acceptable outcome.=20

For example, Brainpool looks perfectly fine (Tanja Lange participated in =
the Brainpool process - so she should know whether they subverted it or =
not; or should her co-authorhship on the Dan's paper be considered as a =
veiled confession? ;-))

I can also live with SEGC or Brainpool algorithms being tweaked by this =
group, assuming this tweaking is accompanied by published cryptographic =
justifications that are beyond reproach.=


From nobody Mon Nov  3 12:12:29 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3D8781A00CD for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 12:12:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
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 P0y-_ono2tdt for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 12:12:25 -0800 (PST)
Received: from mail-yh0-x236.google.com (mail-yh0-x236.google.com [IPv6:2607:f8b0:4002:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 944661A00E9 for <cfrg@irtf.org>; Mon,  3 Nov 2014 12:12:24 -0800 (PST)
Received: by mail-yh0-f54.google.com with SMTP id 29so6358602yhl.27 for <cfrg@irtf.org>; Mon, 03 Nov 2014 12:12:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=scuhkRIA4nshG03hD3bb5nRNs0J5NxVbx2FgP20VeUM=; b=H+kGfY015hSZ1X1dfHxv8Lclsryqd5EkZVyZECS8GrV6NTxdmkOicfYHthJbUTl6Uw 9OHtjTKHsmrcmVjQyRouRGZDXuawE2Bw9BmLPNhsEmoe7OpetkI/NpmI2e9stx4HDRaS KwzeObR/ZRS9QhDnj7hSEVtOlJF/tZ0CcMtsNpPV0BbDbwDcYeaWyDaoxF1qIuLK8n98 TSOyFlITLrW4sIIQlF6xd/+aFKJL+GQwl4IJrEBndwGQ/3ycW0gQ1weHl5JCbySHH41B SepqZdoL8IdYn4FcATeNHZLhLvbtjmA4u2IM1vhWa6dh3NF6h4prdAGMJYYKbekcJwXi fcQg==
MIME-Version: 1.0
X-Received: by 10.236.22.36 with SMTP id s24mr4288987yhs.138.1415045543699; Mon, 03 Nov 2014 12:12:23 -0800 (PST)
Received: by 10.170.195.203 with HTTP; Mon, 3 Nov 2014 12:12:23 -0800 (PST)
Received: by 10.170.195.203 with HTTP; Mon, 3 Nov 2014 12:12:23 -0800 (PST)
In-Reply-To: <145897BB-5E6E-4EF7-BEE1-69A66A6F5CAA@ll.mit.edu>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <5457D125.5030901@akr.io> <145897BB-5E6E-4EF7-BEE1-69A66A6F5CAA@ll.mit.edu>
Date: Mon, 3 Nov 2014 12:12:23 -0800
Message-ID: <CACsn0c=QUU_-SgmuoCbEjAZS0ACDpViAE0e3sE31+ESJi3vHcQ@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Uri - 0558 - MITLL Blumenthal <uri@ll.mit.edu>
Content-Type: multipart/alternative; boundary=e89a8f646d93f92b530506f9f6d3
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/p3VpdwohqXuDoPG9x-ow2eauzgQ
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 20:12:27 -0000

--e89a8f646d93f92b530506f9f6d3
Content-Type: text/plain; charset=UTF-8

On Nov 3, 2014 11:32 AM, "Blumenthal, Uri - 0558 - MITLL" <uri@ll.mit.edu>
wrote:
>
> On Nov 3, 2014, at 14:01 , Alyssa Rowan <akr@akr.io> wrote:
> >
> > My point is: if we did do the curve generation process from scratch,
> > given the criteria of efficiency, security, simplicity, rigidity,
> > interoperability and intellectual property, we are highly likely to
> > simply end up with one or more of the excellent choices already before
> > us, precisely because of that rigidity; the solution space seems
> > fairly well-explored (although of course we should explore it
> > thoroughly when selecting recommendations).
>
> And in my opinion it would be a perfectly acceptable outcome.
>
> For example, Brainpool looks perfectly fine (Tanja Lange participated in
the Brainpool process - so she should know whether they subverted it or
not; or should her co-authorhship on the Dan's paper be considered as a
veiled confession? ;-))

How is this different from picking Brainpool then? And Brainpool is not
perfectly fine: massive performance slowdowns, gratuitous use of
endomorphisms, and some really dodgy generation choices.

>
> I can also live with SEGC or Brainpool algorithms being tweaked by this
group, assuming this tweaking is accompanied by published cryptographic
justifications that are beyond reproach.

But can you live with Edwards curves over a field picked to be near a power
of two as the NUMS group suggest, or for performance/beauty as everyone
else suggests?

If we clarified the suggestion, this would change your vote it seems.
Living in CA I'm all to aware of how easy it is to support an abstract
principal and never the application.

Has anyone changed their minds in the past 3 months? Anyone? Is anyone
going to change their minds in the future? We could keep this discussion
alive indefinitely at this pace, and end up not making any difference in
security.

> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg

--e89a8f646d93f92b530506f9f6d3
Content-Type: text/html; charset=UTF-8

<p dir="ltr"><br>
On Nov 3, 2014 11:32 AM, &quot;Blumenthal, Uri - 0558 - MITLL&quot; &lt;<a href="mailto:uri@ll.mit.edu">uri@ll.mit.edu</a>&gt; wrote:<br>
&gt;<br>
&gt; On Nov 3, 2014, at 14:01 , Alyssa Rowan &lt;<a href="mailto:akr@akr.io">akr@akr.io</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; My point is: if we did do the curve generation process from scratch,<br>
&gt; &gt; given the criteria of efficiency, security, simplicity, rigidity,<br>
&gt; &gt; interoperability and intellectual property, we are highly likely to<br>
&gt; &gt; simply end up with one or more of the excellent choices already before<br>
&gt; &gt; us, precisely because of that rigidity; the solution space seems<br>
&gt; &gt; fairly well-explored (although of course we should explore it<br>
&gt; &gt; thoroughly when selecting recommendations).<br>
&gt;<br>
&gt; And in my opinion it would be a perfectly acceptable outcome.<br>
&gt;<br>
&gt; For example, Brainpool looks perfectly fine (Tanja Lange participated in the Brainpool process - so she should know whether they subverted it or not; or should her co-authorhship on the Dan&#39;s paper be considered as a veiled confession? ;-))</p>
<p dir="ltr">How is this different from picking Brainpool then? And Brainpool is not perfectly fine: massive performance slowdowns, gratuitous use of endomorphisms, and some really dodgy generation choices.</p>
<p dir="ltr">&gt;<br>
&gt; I can also live with SEGC or Brainpool algorithms being tweaked by this group, assuming this tweaking is accompanied by published cryptographic justifications that are beyond reproach.</p>
<p dir="ltr">But can you live with Edwards curves over a field picked to be near a power of two as the NUMS group suggest, or for performance/beauty as everyone else suggests?</p>
<p dir="ltr">If we clarified the suggestion, this would change your vote it seems. Living in CA I&#39;m all to aware of how easy it is to support an abstract principal and never the application.</p>
<p dir="ltr">Has anyone changed their minds in the past 3 months? Anyone? Is anyone going to change their minds in the future? We could keep this discussion alive indefinitely at this pace, and end up not making any difference in security.<br></p>
<p dir="ltr">&gt; _______________________________________________<br>
&gt; Cfrg mailing list<br>
&gt; <a href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
&gt; <a href="http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/mailman/listinfo/cfrg</a><br>
</p>

--e89a8f646d93f92b530506f9f6d3--


From nobody Mon Nov  3 13:33:06 2014
Return-Path: <prvs=6384dfb61d=uri@ll.mit.edu>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 548CA1A0439 for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 13:33:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.792
X-Spam-Level: 
X-Spam-Status: No, score=-4.792 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.594, UNPARSEABLE_RELAY=0.001] autolearn=ham
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 lKP-IGmsKBzI for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 13:33:02 -0800 (PST)
Received: from mx1.ll.mit.edu (MX1.LL.MIT.EDU [129.55.12.45]) by ietfa.amsl.com (Postfix) with ESMTP id 1CEB31A040C for <cfrg@irtf.org>; Mon,  3 Nov 2014 13:33:01 -0800 (PST)
Received: from LLE2K10-HUB02.mitll.ad.local (LLE2K10-HUB02.mitll.ad.local) by mx1.ll.mit.edu (unknown) with ESMTP id sA3LWxKX013623; Mon, 3 Nov 2014 16:32:59 -0500
Content-Type: multipart/alternative; boundary="Apple-Mail=_034078A3-CF0E-4972-AFEE-DDC7A3142B5A"
MIME-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: "Blumenthal, Uri - 0558 - MITLL" <uri@ll.mit.edu>
In-Reply-To: <CACsn0c=QUU_-SgmuoCbEjAZS0ACDpViAE0e3sE31+ESJi3vHcQ@mail.gmail.com>
Date: Mon, 3 Nov 2014 16:32:55 -0500
Message-ID: <70A5B71A-2085-41E4-86E4-1BBD09FED15A@ll.mit.edu>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <5457D125.5030901@akr.io> <145897BB-5E6E-4EF7-BEE1-69A66A6F5CAA@ll.mit.edu> <CACsn0c=QUU_-SgmuoCbEjAZS0ACDpViAE0e3sE31+ESJi3vHcQ@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
X-Mailer: Apple Mail (2.1510)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52, 1.0.28,  0.0.0000 definitions=2014-11-03_03:2014-11-03,2014-11-03,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1411030188
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Rw8tfqKq8mDf_triMvwlaeBVX0Q
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 21:33:05 -0000

--Apple-Mail=_034078A3-CF0E-4972-AFEE-DDC7A3142B5A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="us-ascii"

On Nov 3, 2014, at 15:12 , Watson Ladd <watsonbladd@gmail.com> wrote:
> > > My point is: if we did do the curve generation process from =
scratch, given the criteria of efficiency, security, simplicity, =
rigidity,
> > > interoperability and intellectual property, we are highly likely =
to
> > > simply end up with one or more of the excellent choices already =
before
> > > us, precisely because of that rigidity; the solution space seems
> > > fairly well-explored (although of course we should explore it
> > > thoroughly when selecting recommendations).
> >
> > And in my opinion it would be a perfectly acceptable outcome.
> >
> > For example, Brainpool looks perfectly fine (Tanja Lange =
participated in the Brainpool process - so she should know whether they =
subverted it or not; or should her co-authorhship on the Dan's paper be =
considered as a veiled confession? ;-))
>=20
> How is this different from picking Brainpool then?
>=20
As I said, I'm OK with this group endorsing/recommending Brainpool.

> And Brainpool is not perfectly fine:
>=20
OK, not *perfectly* fine. :-)

> massive performance slowdowns,
>=20
I can live with them.

> gratuitous use of endomorphisms,
>=20
I can live with them.

> and some really dodgy generation choices.
>=20
Complain to Tanja - it's her work (among others :). :-)

(Though I personally don't find those choice dodgy at all.)

> > I can also live with SEGC or Brainpool algorithms being tweaked by =
this group, assuming this tweaking is accompanied by published =
cryptographic justifications that are beyond reproach.
>=20
> But can you live with Edwards curves over a field picked to be near a =
power of two as the NUMS group suggest, or for performance/beauty as =
everyone else suggests?
>=20
Do I like them, or believe they've been studied sufficiently from =
cryptographic point of view? No. (P.S. Beauty is in the eye of the =
beholder. :)

Can I live with them? Yes.

> If we clarified the suggestion, this would change your vote it seems. =
Living in CA I'm all to aware of how easy it is to support an abstract =
principal and never the application.
>=20
As I stated, my *preference* is an endorsed mechanism for generating =
*verifiably random* curves, with the ability to generate *new* =
conforming curves using that algorithm.

But if, for example, it's NUMS that's chosen, I'm OK with it.


--Apple-Mail=_034078A3-CF0E-4972-AFEE-DDC7A3142B5A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="us-ascii"

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><div><div>On Nov 3, 2014, at 15:12 , Watson Ladd &lt;<a =
href=3D"mailto:watsonbladd@gmail.com">watsonbladd@gmail.com</a>&gt;&nbsp;w=
rote:</div><blockquote type=3D"cite"><p dir=3D"ltr">&gt; &gt; My point =
is: if we did do the curve generation process from scratch,&nbsp;given =
the criteria of efficiency, security, simplicity, rigidity,<br>
&gt; &gt; interoperability and intellectual property, we are highly =
likely to<br>
&gt; &gt; simply end up with one or more of the excellent choices =
already before<br>
&gt; &gt; us, precisely because of that rigidity; the solution space =
seems<br>
&gt; &gt; fairly well-explored (although of course we should explore =
it<br>
&gt; &gt; thoroughly when selecting recommendations).<br>
&gt;<br>
&gt; And in my opinion it would be a perfectly acceptable outcome.<br>
&gt;<br>
&gt; For example, Brainpool looks perfectly fine (Tanja Lange =
participated in the Brainpool process - so&nbsp;she should know whether =
they subverted it or not; or should her co-authorhship on the Dan's =
paper be considered as a veiled confession? =
;-))</p></blockquote><blockquote type=3D"cite"><p dir=3D"ltr">How is =
this different from picking Brainpool then?</p></blockquote><div>As I =
said, I'm OK with this group endorsing/recommending =
Brainpool.</div><div><br></div><blockquote type=3D"cite"><p dir=3D"ltr"> =
And Brainpool is not perfectly fine: </p></blockquote><div>OK, not =
*perfectly* fine. :-)</div><div><br></div><blockquote type=3D"cite"><p =
dir=3D"ltr">massive performance slowdowns,</p></blockquote><div>I can =
live with them.</div><div><br></div><blockquote type=3D"cite"><p =
dir=3D"ltr">gratuitous use of endomorphisms, </p></blockquote><div>I can =
live with them.</div><div><br></div><blockquote type=3D"cite"><p =
dir=3D"ltr">and some really dodgy generation =
choices.</p></blockquote><div>Complain to Tanja - it's her work (among =
others :). :-)</div><div><br></div><div>(Though I personally don't find =
those choice dodgy at all.)</div><div><br></div><blockquote =
type=3D"cite"><p dir=3D"ltr">&gt; I can also live with SEGC or Brainpool =
algorithms being tweaked by this group, assuming this tweaking is =
accompanied by published cryptographic justifications that are beyond =
reproach.</p><p dir=3D"ltr">But can you live with Edwards curves over a =
field picked to be near a power of two as the NUMS group suggest, or for =
performance/beauty as everyone else suggests?</p></blockquote><div>Do I =
like them, or believe they've been studied sufficiently from =
cryptographic point of view? No. (P.S. Beauty is in the eye of the =
beholder. :)</div><div><br></div><div>Can I live with them? =
Yes.</div><div><br></div><blockquote type=3D"cite"><p dir=3D"ltr">If we =
clarified the suggestion, this would change your vote it seems. Living =
in CA I'm all to aware of how easy it is to support an abstract =
principal and never the application.</p></blockquote><div>As I stated, =
my *preference* is an endorsed mechanism for generating *verifiably =
random* curves, with the ability to generate *new* conforming curves =
using that algorithm.</div><div><br></div>But if, for example, it's NUMS =
that's chosen, I'm OK with it.<br></div><br></body></html>=

--Apple-Mail=_034078A3-CF0E-4972-AFEE-DDC7A3142B5A--


From nobody Mon Nov  3 13:54:37 2014
Return-Path: <Torsten.Schuetze@gmx.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A2D11A1A12 for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 13:54:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.794
X-Spam-Level: 
X-Spam-Status: No, score=-0.794 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, FREEMAIL_FROM=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.594, SPF_PASS=-0.001] autolearn=ham
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 vxMFh4YIel3Q for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 13:54:32 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E96A91A1A07 for <cfrg@irtf.org>; Mon,  3 Nov 2014 13:54:31 -0800 (PST)
Received: from [109.192.91.63] by 3capp-gmx-bs15.server.lan (via HTTP); Mon, 3 Nov 2014 22:54:29 +0100
MIME-Version: 1.0
Message-ID: <trinity-0ed4ba58-b29c-4a1f-89ff-89dbc894374c-1415051669783@3capp-gmx-bs15>
From: =?UTF-8?Q?=22Torsten_Sch=C3=BCtze=22?= <Torsten.Schuetze@gmx.net>
To: "D. J. Bernstein" <djb@cr.yp.to>
Content-Type: text/plain; charset=UTF-8
Date: Mon, 3 Nov 2014 22:54:29 +0100
Importance: normal
Sensitivity: Normal
In-Reply-To: <20141103082743.10445.qmail@cr.yp.to>
References: <20141103082743.10445.qmail@cr.yp.to>
Content-Transfer-Encoding: quoted-printable
X-UI-Message-Type: mail
X-Priority: 3
X-Provags-ID: V03:K0:zwDC67c9hl1dy+hZOVbMlkrL65ccbOGuWc/wfGVX8K5 c1qphRWE2KoSWarBfT1IYU8bryWK5Fyhxv7NmVltGMEQqgLG58 WpvYbQisOBfTlVCnH3Iy3OdfAF5vak0tG42mXHkm6/MkT19FrO Um9Xa6rRyP0hJo8vcLIc/OVQk1q9AlZ6LXGW4g5+6q4agjQEaV kKiWXxuXWjL5sHqxD/fL/Zm5y+LtoXj3D6SMSYlVX0Uz3oSOnw vOhKomctIf860Z7lM9jifTfzzAvSkp2qbr1Q/Y/unW040Q280s M8PGc4=
X-UI-Out-Filterresults: notjunk:1;
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/otgYl69l9hXMLPZYozYPKjpvw9E
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 21:54:35 -0000

Dan,

D.J. Bernstein wrote:
> Gesendet: Montag, 03. November 2014 um 09:27 Uhr
> Von: "D. J. Bernstein" <djb@cr.yp.to>
> An: cfrg@irtf.org
> Betreff: Re: [Cfrg] new curves or old (was: Actual security levels for I=
ETF crypto)
>
> Paterson, Kenny writes:
> > - Who on the list would be in favour of using a to-be-agreed procedure
> > to generate new curves
>=20
> There's an important ambiguity here:
>=20
>    * Is the idea to throw away all of the current curve proposals, such
>      as Curve25519 and E-521 and Microsoft's "NUMS" curves?
>=20
>      This is clearly what Torsten Sch=C3=BCtze's "yes" means. He says th=
at
>      the disadvantage of having to "wait" for new curves is outweighed
>      by the need for "TRUST" in "the selected curves". Evidently he's
>      claiming that CFRG can't trust any of the existing proposals. (If
>      CFRG _does_ trust one of the proposals, then it can simply take
>      that one without having to wait, so the argument makes no sense.)

It's always fun if one gets explained what was the meaning of one's own ma=
il ;-)

No. I do not say that we should throw away all current curve proposals suc=
h as Curve25519,=20
E-521 and MS's NUMS. What I do say: Let us define a clear requirements cat=
alog and only=20
then check if the proposed (and existing) curves match ALL/MOST of these r=
equirements.

As far as I understood, it is up to now not yet clear if we consider only =
software=20
implementations in a secured environment (or software for short) or if we =
consider in=20
addition implementations in a hostile environment (software and/or "old, r=
usty"=20
hardware, hardware for short).

It could well be that one of the special primes proposals wins the race fo=
r the "software=20
in a secured environment" category. For "hardware or software in hostile e=
nvironments" the=20
outcome is not so clear to me. In this category, I would like to see a ver=
ifiable pseudo-random=20
prime for reasons explained earlier. And, yes, this would probably (hopefu=
lly) lead to some=20
Brainpool-like curve.=20

Dan, can you provide ONE example where one of your favorites, e.g. Curve25=
519, has been=20
implemented and evaluated/certified against ALL of the usual side-channel =
attacks with=20
high assurance level? Especially, not only global timing attacks. We all k=
now that you=20
don't like CC or similar schemes, but at least they are better than nothin=
g.

Regarding trust: I'm really surprised. Who wrote the paper/gave the talks,=
 with paragraphs like

"In the same vein the German ECC Brainpool [4] consortium raised scepticis=
m and suggested using
natural constants in place of random seeds. They coined the term "verifiab=
ly pseudorandom" for this
method of generating seeds. Others speak of "nothing-up-my-sleeves numbers=
"...
We comment that "nothing-up-my-sleeves numbers" also appear in other areas=
 of cryptography and
CAN BE MANIPULATED IN SIMILAR WAYS [highlighting by TS], but this paper fo=
cuses on manipulation=20
of elliptic curves."

The question is not if I (or we as a cryptographic community) trust the CF=
RG, the question is=20
if the consumers of cryptography, i.e., not the specialists in ECC, re-gai=
n trust in Elliptic=20
Curve Cryptography.=20

Or what do you think is the effect on an average crypto user which reads t=
he following from=20
an interview with Tanja from a German IT online security magazine?
"Lange empfahl der CFRG dabei, auf jeden Fall auf neuere Kurvenvarianten z=
u setzen.=20

...
Ein Kernproblem vieler verf=C3=BCgbarer Standardkurven =E2=80=93 darunter =
neben den NIST-Kurven auch die von Frankreichs Agence Nationale de la S=C3=
=A9curit=C3=A9 des Syst=C3=A8mes d'Information und die vom Bundesamt f=C3=
=BCr Sicherheit in der Informationstechnik vorgeschlagenen Brainpool-Kurven=
 =E2=80=93 ist, dass sich zu leicht Fehler im Betrieb einschleichen."
http://www.heise.de/security/artikel/Nach-Snowden-Wenig-Schlaf-fuer-Krypto=
forscher-2392236.html

In your talks you always argue with the difficulty/complexity of using aff=
ine points for addition/doubling. But who really uses affine points? I've n=
ever seen this for years, most of the implementations I've seen (high-assur=
ance and/or smartcards) use some kind of projective coordinates with Montgo=
mery ladder/Lucas chain. Yes, they are slower than your Edwards curves, but=
 that doesn't mean they are insecure or not safe.

>=20
>    * Or is the idea to have CFRG pick a new curve _and_ one of the
>      current curves?

I, personally, could live with

a) either Brainpool curves or new Brainpool-like curves for both categorie=
s

b) special prime curves with cofactor 1 and twist security (for high perfo=
rmance=20
software in secured environments) AND verifiably pseudo-random primes, i.e=
., Brainpool=20
curves or Brainpool-like curves for the other category (high-assurance in =
hostile environments)

The new Brainpool-like curves would be an offer to improve / document the =
curve selection=20
process to (re-)gain trust (This doesn't mean, of course, that I distrust =
the current BP-like curves).

> Apparently the motivation for some people to ask for "new curves" is
> that they want some sort of "randomness", but they can't even agree on
> what the desired "randomness" actually is (prime? curve? hashing? ...),
> and whether the resulting "random" curve is supposed to be the sole CFRG
> output or merely an extra option.

Of course, it's easier to say "no randomness at all" than to define the ex=
act=20
degree of randomness. For me it would be at least vpr primes. I am realist=
ic and do not believe
that a random curve would be the sole CFRG output. But saying, CFRG specif=
ies a new special
prime curve, for the rest you could take Brainpool curves is not quite the=
 same as scenario b) above=20
after all the "Brainpool bashing".

> Many arguments have already been given in favor of the current
> proposals, and I won't repeat those arguments here, but let me add a
> suggestion for people who think that it's possible to do better: please
> _first_ generate your curves and _then_ ask CFRG to consider them. This
> is particularly important for "random" curves:
>=20
>    * Decades of successful attacks show that it's much, much, much
>      easier to say "generate a random number" than to actually do it in
>      a secure way---and that's in the easy situation of generating
>      random numbers for oneself, whereas CFRG is facing the tougher
>      problem of convincing third parties years later that the results
>      weren't manipulated.
>=20
>    * Brainpool claimed to have "verifiably pseudo-random curves" from
>      hashing "seeds that are generated in a systematic and comprehensive
>      way" as a substitute for true randomness, but we showed that more
>      than a million curves could be generated with similar explanations
>      (and Johannes Merkle has already admitted several bits of this
>      flexibility---we can discuss the other bits if necessary).

For example, we, the CFRG, could define in a documented way the curve=20
generation process. For example, lets use e and Pi, lets use SHA-3 with=20
512-bit output, define the seed procedure, etc. And then let's generate=20
the curve and live with that. Maybe it's not the fastest curve, but Moore'=
s=20
law works for us.

Of course, in 10 or 15 years someone may accuse the CFRG of conspiracy. So=
,=20
full rigidity is not possible!=20

And no, it's not the same if we _first_ generate the curves and _then_ dis=
cuss=20
the requirements (even if later generally agreed).

Torsten


From nobody Mon Nov  3 15:46:48 2014
Return-Path: <mike@shiftleft.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D18D1A1A9C for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 15:46:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.856
X-Spam-Level: *
X-Spam-Status: No, score=1.856 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
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 kSsNjcvOQJFo for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 15:46:41 -0800 (PST)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 229A71A1A8C for <cfrg@irtf.org>; Mon,  3 Nov 2014 15:46:40 -0800 (PST)
Received: from [10.184.148.249] (unknown [209.36.6.242]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 68B9E3AC24; Mon,  3 Nov 2014 15:46:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1415058389; bh=JYHPt3rBjfafnhHv1e2kwGSlvBjOouZ7PD1Ei5NFPa4=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=M/YMGc9XT+/NJ/Hl3WkpSNHKaTsM1wO7QSQwq0q3UYyNPs3Fm0nbSnbyk+DW/E1OW Bq81FdsZ7sAADJ1hGhsujd69heqF8cdQVD3Dzwn6n/3XQ1P7O02TuM8KhXfRrv8+4v Vya5aCkQCgUvTDQqc8MHfAhUO4zZGamW71af+Eb4=
Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\))
Content-Type: multipart/alternative; boundary="Apple-Mail=_CA2723A8-D337-468B-9C65-EEC4D96B8788"
From: Michael Hamburg <mike@shiftleft.org>
X-Priority: 3
In-Reply-To: <trinity-0ed4ba58-b29c-4a1f-89ff-89dbc894374c-1415051669783@3capp-gmx-bs15>
Date: Mon, 3 Nov 2014 15:46:35 -0800
Message-Id: <10A7F005-0E10-45FF-A1A9-69887B963EC1@shiftleft.org>
References: <20141103082743.10445.qmail@cr.yp.to> <trinity-0ed4ba58-b29c-4a1f-89ff-89dbc894374c-1415051669783@3capp-gmx-bs15>
To: =?utf-8?Q?Torsten_Sch=C3=BCtze?= <Torsten.Schuetze@gmx.net>
X-Mailer: Apple Mail (2.1990.1)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/5Mx9YfH_UmWKo8MPca8j3Km5x94
Cc: cfrg@irtf.org, "D. J. Bernstein" <djb@cr.yp.to>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 23:46:43 -0000

--Apple-Mail=_CA2723A8-D337-468B-9C65-EEC4D96B8788
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Nov 3, 2014, at 1:54 PM, Torsten Sch=C3=BCtze =
<Torsten.Schuetze@gmx.net> wrote:
>=20
> Or what do you think is the effect on an average crypto user which =
reads the following from=20
> an interview with Tanja from a German IT online security magazine?
> "Lange empfahl der CFRG dabei, auf jeden Fall auf neuere =
Kurvenvarianten zu setzen.=20
>=20
> ...
> Ein Kernproblem vieler verf=C3=BCgbarer Standardkurven =E2=80=93 =
darunter neben den NIST-Kurven auch die von Frankreichs Agence Nationale =
de la S=C3=A9curit=C3=A9 des Syst=C3=A8mes d'Information und die vom =
Bundesamt f=C3=BCr Sicherheit in der Informationstechnik vorgeschlagenen =
Brainpool-Kurven =E2=80=93 ist, dass sich zu leicht Fehler im Betrieb =
einschleichen."
> =
http://www.heise.de/security/artikel/Nach-Snowden-Wenig-Schlaf-fuer-Krypto=
forscher-2392236.html =
<http://www.heise.de/security/artikel/Nach-Snowden-Wenig-Schlaf-fuer-Krypt=
oforscher-2392236.html>

This warning is about cofactor-1 curves, not about VPR issues.

> In your talks you always argue with the difficulty/complexity of using =
affine points for addition/doubling. But who really uses affine points? =
I've never seen this for years, most of the implementations I've seen =
(high-assurance and/or smartcards) use some kind of projective =
coordinates with Montgomery ladder/Lucas chain. Yes, they are slower =
than your Edwards curves, but that doesn't mean they are insecure or not =
safe.

The incompleteness problems with the formulas appear in projective / =
Jacobian form in pretty much the same ways that they do in affine.  For =
example, if you try to add a point to itself, you'll get 0 : 0 : 0 =
instead of the doubled point.

In some applications, either this can=E2=80=99t happen for structural =
reasons, or it happens only with negligible probability.  But in some =
applications (eg, MQV) the attacker can force it to happen and can =
exploit the result.

Working around this disadvantage is a pain.  See, for example, the =
innovative solution in Appendix C.1 of Microsoft=E2=80=99s NUMS paper =
(they deal with Weierstrass curves in that paper in addition to =
Edwards).

> I, personally, could live with
>=20
> a) either Brainpool curves or new Brainpool-like curves for both =
categories
>=20
> b) special prime curves with cofactor 1 and twist security (for high =
performance=20
> software in secured environments) AND verifiably pseudo-random primes, =
i.e., Brainpool=20
> curves or Brainpool-like curves for the other category (high-assurance =
in hostile environments)

Many contributors to this forum feel that cofactor 4 is superior to =
cofactor 1, because it=E2=80=99s easier to deal with small-subgroup =
attacks than it is to deal with incompleteness problems, especially if =
side channels are a concern.  Also, we all know cofactor-4 curves are =
faster.

> For example, we, the CFRG, could define in a documented way the curve=20=

> generation process. For example, lets use e and Pi, lets use SHA-3 =
with=20
> 512-bit output, define the seed procedure, etc. And then let's =
generate=20
> the curve and live with that. Maybe it's not the fastest curve, but =
Moore's=20
> law works for us.

I, for one, don=E2=80=99t think that =E2=80=9Cverifiably pseudorandom=E2=80=
=9D is possible.  I think that instead we would need actual =
randomization and a collaborative process.  Perhaps we could agree on a =
generation and verification script; commit to subseeds; reveal our =
commitments; concatenate the seeds in a fixed order and SHA them.  The =
generation script would generate a curve, and create a certificate that =
the (much simpler) verification script can use to check that the =
procedure has been carried out faithfully.

This would take a lot of work to do correctly, and as you said would not =
give a proof to later conspiracy theorists that it had=E2=80=99n been =
monkeyed with.

Cheers,
=E2=80=94 Mike


--Apple-Mail=_CA2723A8-D337-468B-9C65-EEC4D96B8788
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Nov 3, 2014, at 1:54 PM, Torsten Sch=C3=BCtze &lt;<a =
href=3D"mailto:Torsten.Schuetze@gmx.net" =
class=3D"">Torsten.Schuetze@gmx.net</a>&gt; wrote:</div><div =
class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">Or what do you think is =
the effect on an average crypto user which reads the following from<span =
class=3D"Apple-converted-space">&nbsp;</span></span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">an interview with Tanja from a German IT online =
security magazine?</span><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">"Lange empfahl der CFRG =
dabei, auf jeden Fall auf neuere Kurvenvarianten zu setzen.<span =
class=3D"Apple-converted-space">&nbsp;</span></span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family:=
 Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">...</span><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">Ein Kernproblem vieler =
verf=C3=BCgbarer Standardkurven =E2=80=93 darunter neben den NIST-Kurven =
auch die von Frankreichs Agence Nationale de la S=C3=A9curit=C3=A9 des =
Syst=C3=A8mes d'Information und die vom Bundesamt f=C3=BCr Sicherheit in =
der Informationstechnik vorgeschlagenen Brainpool-Kurven =E2=80=93 ist, =
dass sich zu leicht Fehler im Betrieb einschleichen."</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><a =
href=3D"http://www.heise.de/security/artikel/Nach-Snowden-Wenig-Schlaf-fue=
r-Kryptoforscher-2392236.html" =
class=3D"">http://www.heise.de/security/artikel/Nach-Snowden-Wenig-Schlaf-=
fuer-Kryptoforscher-2392236.html</a><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""></div></blockquote><div><br class=3D""></div><div>This =
warning is about cofactor-1 curves, not about VPR issues.</div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">In your talks you always argue with the =
difficulty/complexity of using affine points for addition/doubling. But =
who really uses affine points? I've never seen this for years, most of =
the implementations I've seen (high-assurance and/or smartcards) use =
some kind of projective coordinates with Montgomery ladder/Lucas chain. =
Yes, they are slower than your Edwards curves, but that doesn't mean =
they are insecure or not safe.</span></div></blockquote><br =
class=3D""><div>The incompleteness problems with the formulas appear in =
projective / Jacobian form in pretty much the same ways that they do in =
affine. &nbsp;For example, if you try to add a point to itself, you'll =
get 0 : 0 : 0 instead of the doubled point.</div><div><br =
class=3D""></div><div>In some applications, either this can=E2=80=99t =
happen for structural reasons, or it happens only with negligible =
probability. &nbsp;But in some applications (eg, MQV) the attacker can =
force it to happen and can exploit the result.</div><div><br =
class=3D""></div><div>Working around this disadvantage is a pain. =
&nbsp;See, for example, the innovative solution in Appendix C.1 of =
Microsoft=E2=80=99s NUMS paper (they deal with Weierstrass curves in =
that paper in addition to Edwards).</div><div><br =
class=3D""></div><blockquote type=3D"cite" class=3D""><div =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">I, personally, could live =
with</span><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">a) either Brainpool curves =
or new Brainpool-like curves for both categories</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family:=
 Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">b) special prime curves with cofactor 1 and =
twist security (for high performance<span =
class=3D"Apple-converted-space">&nbsp;</span></span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">software in secured environments) AND verifiably =
pseudo-random primes, i.e., Brainpool<span =
class=3D"Apple-converted-space">&nbsp;</span></span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">curves or Brainpool-like curves for the other =
category (high-assurance in hostile environments)</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" =
class=3D""></div></blockquote><div><br class=3D""></div><div>Many =
contributors to this forum feel that cofactor 4 is superior to cofactor =
1, because it=E2=80=99s easier to deal with small-subgroup attacks than =
it is to deal with incompleteness problems, especially if side channels =
are a concern. &nbsp;Also, we all know cofactor-4 curves are =
faster.</div><div><br class=3D""></div><blockquote type=3D"cite" =
class=3D""><div class=3D""><span style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
float: none; display: inline !important;" class=3D"">For example, we, =
the CFRG, could define in a documented way the curve<span =
class=3D"Apple-converted-space">&nbsp;</span></span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">generation process. For example, lets use e and =
Pi, lets use SHA-3 with<span =
class=3D"Apple-converted-space">&nbsp;</span></span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">512-bit output, define the seed procedure, etc. =
And then let's generate<span =
class=3D"Apple-converted-space">&nbsp;</span></span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">the curve and live with that. Maybe it's not the =
fastest curve, but Moore's<span =
class=3D"Apple-converted-space">&nbsp;</span></span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">law works for us.</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""></div></blockquote><div><br =
class=3D""></div><div>I, for one, don=E2=80=99t think that =E2=80=9Cverifi=
ably pseudorandom=E2=80=9D is possible. &nbsp;I think that instead we =
would need actual randomization and a collaborative process. =
&nbsp;Perhaps we could agree on a generation and verification script; =
commit to subseeds; reveal our commitments; concatenate the seeds in a =
fixed order and SHA them. &nbsp;The generation script would generate a =
curve, and create a certificate that the (much simpler) verification =
script can use to check that the procedure has been carried out =
faithfully.</div><div><br class=3D""></div><div>This would take a lot of =
work to do correctly, and as you said would not give a proof to later =
conspiracy theorists that it had=E2=80=99n been monkeyed =
with.</div><div><br class=3D""></div><div>Cheers,</div><div>=E2=80=94 =
Mike</div><blockquote type=3D"cite" class=3D""><div =
class=3D""></div></blockquote></div><br class=3D""></body></html>=

--Apple-Mail=_CA2723A8-D337-468B-9C65-EEC4D96B8788--


From nobody Mon Nov  3 16:07:11 2014
Return-Path: <bascule@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D1DC01A1AA1 for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 16:07:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
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 80XzQWUSAGyp for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 16:07:00 -0800 (PST)
Received: from mail-ob0-x22a.google.com (mail-ob0-x22a.google.com [IPv6:2607:f8b0:4003:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 64EE41A1AD2 for <cfrg@irtf.org>; Mon,  3 Nov 2014 16:06:59 -0800 (PST)
Received: by mail-ob0-f170.google.com with SMTP id nt9so11115647obb.1 for <cfrg@irtf.org>; Mon, 03 Nov 2014 16:06:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=L69W5dZZC3qRngm81coG+mKuWdcf85Kyydnx927isFY=; b=ifHxFyiuuMJ3/pH4BEushlMEucjZBioTnIXrPKFIk3/y+6D6h3LNmwqzPYDdZqe5if wTLj9ZkPCz25l6tzuhp5o9Uaqjz78BW3cVsE82dkm79f1nY/Dh06zokXhhvuloppGXSs JxMiFFkJNnsCK7yxvt68OJrQvSZR9iPbvb15wnTPdv9LyFGijALLSe7QcoljG1GPKBL7 i4d0WDdMGMiVnTuk3SuS9BNpW0SFAHlwui6lLndWtloerL2zfvg4hZksjfYXP1q6b1Bb kTwnWj+Gggx2bcjIAM2CPLhD6bjixcWhUVy6Not26iHmtYnOd5bqa2bwlBZdNgg3qtfZ SmrQ==
X-Received: by 10.202.7.21 with SMTP id 21mr37132429oih.6.1415059618783; Mon, 03 Nov 2014 16:06:58 -0800 (PST)
MIME-Version: 1.0
Received: by 10.60.57.202 with HTTP; Mon, 3 Nov 2014 16:06:38 -0800 (PST)
In-Reply-To: <D079777B.324B4%kenny.paterson@rhul.ac.uk>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk>
From: Tony Arcieri <bascule@gmail.com>
Date: Mon, 3 Nov 2014 16:06:38 -0800
Message-ID: <CAHOTMVKkwFK2kBWsArhQZ2rcRvUu28br0zXZgNXrC7QfLPQACQ@mail.gmail.com>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
Content-Type: multipart/alternative; boundary=001a113d1046e9e7690506fd3d86
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/2HK9XOsHstanauPVBNyXlXr6cdg
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 00:07:05 -0000

--001a113d1046e9e7690506fd3d86
Content-Type: text/plain; charset=UTF-8

No.

The process has been dragging on for quite awhile as-is. There are many
good options already on the table, and this change sounds like it would
further slow down the process.

-- 
Tony Arcieri

--001a113d1046e9e7690506fd3d86
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div>No.</div><div><br></div><d=
iv>The process has been dragging on for quite awhile as-is. There are many =
good options already on the table, and this change sounds like it would fur=
ther slow down the process.</div><div><br></div>-- <br><div class=3D"gmail_=
signature">Tony Arcieri<br></div>
</div></div>

--001a113d1046e9e7690506fd3d86--


From nobody Mon Nov  3 19:25:08 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4DE4D1A3B9D for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 19:25:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.101
X-Spam-Level: 
X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 EW0xm4nkHRZY for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 19:25:02 -0800 (PST)
Received: from mail-yh0-x229.google.com (mail-yh0-x229.google.com [IPv6:2607:f8b0:4002:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4EF571A1B79 for <cfrg@irtf.org>; Mon,  3 Nov 2014 19:25:02 -0800 (PST)
Received: by mail-yh0-f41.google.com with SMTP id a41so617164yho.14 for <cfrg@irtf.org>; Mon, 03 Nov 2014 19:25:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=luky3J9kE1q1QnuKtJ7vYM4OuCFCPqE81T6N/t44BZQ=; b=fKb9qvu2Z/a8ijcp2ClcOHEK1O1GxTOssuoUo3TfXddPC+ptcgJzNwhjLvhclYHVJo Ij/gX9JPSAk4oLgP2zMwNhWa9PWtWNUYt0B910ojukdtCjq52OZmdslmHN2ZKG6nZuCG p8bFxyULhf91D52tMHuMNBY3e09ST2QX9VBdf2p/gOpL2bLg2TU83dCoVR8gF0jURP75 xjnGGHi9DdMW/FWTWSkBeA7a24xNTjGLb0Libbvj6NdoHL/QT8pbm6wCMkIVE+9DJt0h zWb+3mOdEVXxhJQYKYkewxBSMuxkS5d0jBM+WNXl0EGgOfxElGgbaWzt6XTc4IdZwNLH LzVA==
MIME-Version: 1.0
X-Received: by 10.170.100.215 with SMTP id r206mr19894303yka.19.1415071501554;  Mon, 03 Nov 2014 19:25:01 -0800 (PST)
Received: by 10.170.195.203 with HTTP; Mon, 3 Nov 2014 19:25:01 -0800 (PST)
In-Reply-To: <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com>
Date: Mon, 3 Nov 2014 19:25:01 -0800
Message-ID: <CACsn0cm+gyoPessHJOBhZZ0HYuGjr2bQ0hqurtGP1b-BNH3Gdw@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/LBksQDFySv0oWsoCe_B_8aZmsd8
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 03:25:05 -0000

On Nov 3, 2014 10:05 AM, "Phillip Hallam-Baker" <phill@hallambaker.com> wrote:
>
> The problem here is not to find curves we are confident in. It is
> finding curves that we can make other people confident in.
>
> If it was just about convincing ourselves and people willing to engage
> in abstract mathematical discussions, the problem would be
> straightforward.

But that is the problem. We're tasked with using our expertise to help
the IETF make better decisions about cryptography, not to make the
decisions they could make. As DJB so succinctly put it, "threa

>
> Remember that every one of the curves we are considering is to the
> best of our knowledge secure for the foreseeable future. Think of the
> way a bank building is constructed with neoclassical pillars and stone
> walls, none of which add to the security of the vault in the
> slightest. The point of that fancy stonework is not to make the bank
> secure, it is to show that the bankers can afford the security.

This is oversimplifying the state of play significantly: the
advantages of performance curves in completely masking operations as
mentioned by DJB, the errors in implementations of Weierstrass curves
which the lack of a complete addition formula worsens, the
vulnerability of software to off-curve attacks which the Montgomery
ladder eliminates. What is true is that the discrete log problem is
hard on all the curves.


It's completely wrong about banking. Banks do not spend money on
marble to advertise the security of the vaults. They do it to
advertise their wealth. This is because bank deposits are bearer
bonds: whoever comes first gets paid in full, whoever comes last gets
nothing when the bank goes down. If you suspect that the owners of a
bank can't pay, there will be a run. Showing wealth reduces that risk.

>
>
> The arguments for P256 and P512 are very simple. I can convince
> someone that Curve P256 is a acceptably secure and not likely to have
> been sabotaged to the satisfaction of the typical IETF attendee or a
> customer or come to that a judge sitting in chambers in a few minutes.
> I can convince someone that P512 puts the security of the crypto
> beyond dispute unless there is a development (e.g. practical QM) that
> is so powerful that it puts all options in dispute.

Why is this the case? You've asserted this point repeatedly, and I can
see why it's easier than Brainpool. But I don't see why 1 out of 40
possible primes, and then the minimal coefficient, is much harder to
explain as not being backdoored. Repetition is not argument. Nor is
dressing up the assertion with an analogy that presupposes the
validity of the assertion.

>
> Every step away from those positions makes the task of explanation
> harder. Curve 25519 is a harder sell than P256 but the argument is not
> too difficult to make. The alternatives to P512 are a much harder
> sell.

E-521 was discovered by three teams independently. It's the only
Mersenne prime in the ranges we are interested in. Why isn't this an
easier sell than Curve25519?

>
>
> If we re-open the door to random curves then the explanation challenge
> becomes orders of magnitude greater because it is not a single point
> in a mathematical space I have to justify, it is the entire process
> under which the curves were created.

But if the process is truly unpredictable, by depending on closing
prices of the S&P 500 for instance, how could an attacker manipulate
the process to get a curve they want? Of course, they could provide an
obfuscated program for accepting the curve, but this would be
suspicious.

To make this concrete, why don't we use the SEC1 process but with a
starting seed consisting of a SHA256 hash of the closing prices of all
S&P 500 components on some day in the future, each on a line, in
decimal form with no extra characters that gets incremented each time
we want a new output? What's the way in which that can be manipulated?

If what you want is to know the superiority of one choice over another
in a way that's easily explainable, performance works. If you want to
know why one curve, and not another, performance is an excellent,
quantifiable answer. But if you want to know why a curve wasn't
sabotaged, being picked from a list of 40 primes, independently
discovered by 3 teams, or dependent on the S&P 500 closing prices on a
day in the future is an excellent answer.

I'm not saying being close to a power of 2 wouldn't work. What I am
saying is that the differences you make such a big deal out of are far
less significant than you think and are unlikely to affect public
acceptability.

>
> I know how to develop a cryptographic ceremony that provides a very
> high degree of assurance that there was no subterfuge. In fact I once
> taught a (very expensive) two week course. But I know that any process
> we develop is going to be sufficiently complex for Roswell and moon
> landing conspiracy theorists to dispute the circumstances.

Likewise, there are cranks who say all sorts of things about powers of
2. Is this really the problem here?

>
>
> The PKI industry is currently building an infrastructure that is
> likely to end up costing of the order of $5-25 million/year to build
> and operate. The reason we are having to do that is the DigiNotar
> incident. Which might seem reasonable to people because the risk that
> a non-authorized CA might issue a cert for your domain, yada yada.
> Meanwhile we have a revocation infrastructure which is far more
> critical to the operation of the WebPKI that is being pared back and
> de-activated. End entity keys get stolen by crooks every single day,
> the failure rate for CA keys is once a decade. [Note that TRANS is
> only motivated by DigiNotar, CAA is sufficient for the minor
> breaches].

If by CAA you mean RFC 6844, it doesn't address compromise of CAs or
end certificates at all. It does address a CA being told to issue a
certificate by someone who isn't the person who controls the DNS entry
for the website.

As for revocation infrastructure being pared back and deactivated, I
think that OCSP stapling and provisioning of CRLs to clients as
described in https://www.imperialviolet.org/2012/02/05/crlsets.html is
expanding the usefulness of this infrastructure, not paring it back. I
also think that the externalities of end cert compromise are more
easily dealt with, then CA compromise.

I still don't understand the relevance of this to our discussion: this
isn't PKIX, and it has little to nothing to do with changing elliptic
curves.

>
>
> The reason for this situation is that confidence is more than simply a
> 'marketing concern'. Confidence is the product.

If the milkman sells milk, who sells confidence? We should make our
judgements based on what will actually improve security, not what will
look like it improves security. Part of that is performance. The
danger with any other method is that the customer finds out.

>
> Trust is the degree of confidence a party has in being able to predict
> the outcome of an action.

?? Again, I question the relevance.

Sincerely,
Watson Ladd


From nobody Mon Nov  3 22:57:39 2014
Return-Path: <ynir.ietf@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9AA7D1A88D4 for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 22:57:37 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 q6p4luzf6d8V for <cfrg@ietfa.amsl.com>; Mon,  3 Nov 2014 22:57:36 -0800 (PST)
Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D135D1A88BD for <cfrg@irtf.org>; Mon,  3 Nov 2014 22:57:35 -0800 (PST)
Received: by mail-wg0-f41.google.com with SMTP id k14so14228310wgh.0 for <cfrg@irtf.org>; Mon, 03 Nov 2014 22:57:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=NEMkq6pVD4o0S82c563+IODBwKsvgSEZpzG3f3PpboE=; b=qjaojipgyEDfOgszkPlgwBmg+HbYPdpY7dV94AN3shn49HOZZSLM2p7UDan4DWaJut /fFFSJfbb7wnirjYZNLDmf1ykmJex1PjTe+WX/+rFI7+hUZ6e1mN7aQiW9V69pKH7Uf3 gVd/ZMU4bEy33H3VfWA/PtfHGkDx0jf6SKnWwYi4LVqKNUVBmgP0yQvaxRZxj1jR8LnV f2/SAefctqydt68oQUucEWo8OeKPpL9MNLr9oDXnbrrimDwIsF92TH8FFJDvWVmAY/3Z zJLVhoC0mPbG7i90t2XoDHv3DYxsagbzKPp/OA7wfZFuHm4PYj3dG9CFLc6SX2LVh9Ze jRKQ==
X-Received: by 10.180.198.145 with SMTP id jc17mr21736533wic.67.1415084254309;  Mon, 03 Nov 2014 22:57:34 -0800 (PST)
Received: from yoavs-mbp.mshome.net ([176.12.148.191]) by mx.google.com with ESMTPSA id cu9sm99720wjb.0.2014.11.03.22.57.32 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Nov 2014 22:57:33 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com>
Date: Tue, 4 Nov 2014 08:57:29 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
X-Mailer: Apple Mail (2.1990.1)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/5qAMfiz6MaXjKk9_W7nSJgDli_s
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 06:57:37 -0000

> On Nov 3, 2014, at 8:05 PM, Phillip Hallam-Baker =
<phill@hallambaker.com> wrote:
>=20
> The problem here is not to find curves we are confident in. It is
> finding curves that we can make other people confident in.

Who are these other people that we need to explain this to?  The people =
who participate in the TLS and IPsecME working groups are almost =
indistinguishable from the people who participate in CFRG, and even if =
they=E2=80=99ve never learned advanced algebra, they can all use a =
search engine well enough to find out that Curve25519 (as an example) is =
currently considered secure by practitioners in the field. Could this be =
wrong? Sure, but just as (most of us) assume that climate change is =
actually happening and that it is caused by human activity, those of us =
who are not cryptographers are going to trust the consensus.

Implementers are much the same. Are you referring to policy-makers? The =
people who work for governments and write conformance documents?  They =
tend to be a more conservative bunch, but ultimately they tend to be =
reasonable (and they really like randomization). If we choose Curve25519 =
or have a coin-flipping session and NIST doesn=E2=80=99t =E2=80=9Cbless=E2=
=80=9D the curve, it=E2=80=99s not going to be because they don=E2=80=99t =
trust the procedure enough. It might be because they didn=E2=80=99t =
invent it.

So who are these people who can=E2=80=99t be confident in this process =
and yet can see through the argument that Cuve25519 is better than P-256 =
because 25519>256 ?

Yoav


From nobody Tue Nov  4 05:30:53 2014
Return-Path: <hallam@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9D5471A1B0F for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 05:30:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 LKmAjNlJwb6x for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 05:30:50 -0800 (PST)
Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com [IPv6:2a00:1450:4010:c04::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 804EE1A1B0D for <cfrg@irtf.org>; Tue,  4 Nov 2014 05:30:49 -0800 (PST)
Received: by mail-lb0-f175.google.com with SMTP id n15so3226120lbi.34 for <cfrg@irtf.org>; Tue, 04 Nov 2014 05:30:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=d0T5ZzIGqbahh4SsTRjcTCOxZk+XvO9LVc5YWvjJE1s=; b=Xzw/Q/IooMmq1AC2K0PwameRtAQ4pYWDaNmqiuYR/OCTFU3kAH1G67EDDomixcdvHT vLpJMiau+iHgNqKuC5RrRN70QBn4JO0RxeMVxgkoj6jlyaWP4anbgYPGEl3Qav6N8Bv8 s3qYLpnPrwD5GGxsAwHeH/M/UOFM/clQ0GBAWvJhv9/E4ZRZVbGadvm84HEsoJFbG00Z OSdtUm21t0BK5S5AKiJkvL0n2qK4L2bzmj2QdCIcZSJm3WAlxJGWGe4gm7a7dkzuNbMF QGYHfHBVIh1yHVIjIVQaOYrqNePHb/E0jl1mT262eKKdq8pm/+pa8ReGI+lBPo5W9N5O t1ng==
MIME-Version: 1.0
X-Received: by 10.152.37.69 with SMTP id w5mr46211340laj.84.1415107847306; Tue, 04 Nov 2014 05:30:47 -0800 (PST)
Sender: hallam@gmail.com
Received: by 10.112.214.163 with HTTP; Tue, 4 Nov 2014 05:30:46 -0800 (PST)
In-Reply-To: <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com> <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com>
Date: Tue, 4 Nov 2014 08:30:46 -0500
X-Google-Sender-Auth: ofcyKgYbmcwOP4BhVUkptTq8ubc
Message-ID: <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: Yoav Nir <ynir.ietf@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/XK9aY2aJUkAaIDHA8sjJHl_abBo
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 13:30:51 -0000

On Tue, Nov 4, 2014 at 1:57 AM, Yoav Nir <ynir.ietf@gmail.com> wrote:
>
>> On Nov 3, 2014, at 8:05 PM, Phillip Hallam-Baker <phill@hallambaker.com>=
 wrote:
>>
>> The problem here is not to find curves we are confident in. It is
>> finding curves that we can make other people confident in.
>
> Who are these other people that we need to explain this to?

The people who use the Internet and Web.


> So who are these people who can=E2=80=99t be confident in this process an=
d yet can see through the argument that Cuve25519 is better than P-256 beca=
use 25519>256 ?

The topic of this thread is the random part rather than that choice.

P-256 and P512 are the easiest to explain.
Curve 25519 requires a little more explanation.
P521 requires quite a bit more explanation

These are all cases that can be made in an elevator pitch. the first
only takes a few floors, P521 requires a taller building.

The problem with randomness is that the explanation is going to be too
long even for the Sears tower. And there isn't any way to take the
'trust me' part out of the equation. No matter what the controls that
are proposed, folk looking at the curves after they have been cut are
going to have to rely on the assurances that the process was followed.

Take the example Watson gave of the closing price of the stock market.
That is actually very easy to game, just pick a day in the past that
meets the criteria. There is also a slightly harder attack which is to
manipulate the market to get the desired result. It certainly isn't
inconceivable that the NSA would order the wall street traders to
close the market at a given price if you are a Roswell class
conspiracy nut. But even if you don't go that far, the SEC just fined
a bunch of banks billions for manipulating the LIBOR rate.


NOMCON is a very poor example to draw analogies from here. The reward
to the attacker of biasing the NOMCON simply isn't great enough for an
attack to be worth while. The community interested in the decision is
going to check the results (I usually do) before the NOMCON is seated.

We are proposing to use ECC to secure the global e-commerce
infrastructure worth several trillion dollars a year. It is going to
be very hard to suggest that an attack isn't worth bothering about.

No matter how many controls you try to throw in, the explanation of
the randomness approach isn't going to be feasible until we have a
space elevator to give us enough time for the explanation.

And that is assuming that we can agree on a randomness process in the
first place. Which I think is highly unlikely.


The elevator pitch criteria is decisive for randomness. Whether it is
decisive for P256/P512 or not is a different matter and probably
depends on the part of the country you are in. DJB is in Chicago with
the Sears Tower. The West coast folk have rather shorter buildings due
to the San Andreas fault.


From nobody Tue Nov  4 06:35:40 2014
Return-Path: <ynir.ietf@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 287441A88FC for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 06:35:39 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 WFLcURkJm0Np for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 06:35:37 -0800 (PST)
Received: from mail-lb0-x232.google.com (mail-lb0-x232.google.com [IPv6:2a00:1450:4010:c04::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7B4411A88EC for <cfrg@irtf.org>; Tue,  4 Nov 2014 06:35:36 -0800 (PST)
Received: by mail-lb0-f178.google.com with SMTP id f15so12622498lbj.9 for <cfrg@irtf.org>; Tue, 04 Nov 2014 06:35:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=3VWtJ+xO/IMVuVLefkZMY77bNGTa69Ghm6hbQ86Yeqk=; b=O8e8PzxGzUpdqRVU/BByaH3AOuJ2y0BokOFBhhOxMH3Ck4r8CP+c8+RmLxmkbiB8XE DCV3+7HVhCWO4uaN7wxc7uVy+WGtHCqR0WUZmAU4onBXL8HgoZ6eytH/ot+X7wTBqJxH hIHut6WTB6JVdojpKd5nCxpbb9KsqhVNjFEl/L93EI8u5LVdsI7xNWJpyH18vTE1FkJo AEoNv6l1vwEGZQC70AHBmmK2kVS/+oZ+UNPzFgsIvQ5TstB4oa6uh/Fq1PbqGzDwuv3k j5XIaN8aRZqHxT1mVJr7lam6MfZrM9sQqENvhTxvFyW0QzJZaObXYswffkkhuouq3ks3 Q2UQ==
X-Received: by 10.152.203.164 with SMTP id kr4mr56565784lac.31.1415111733960;  Tue, 04 Nov 2014 06:35:33 -0800 (PST)
Received: from [172.24.250.114] (dyn32-131.checkpoint.com. [194.29.32.131]) by mx.google.com with ESMTPSA id o10sm223110lal.37.2014.11.04.06.35.32 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Nov 2014 06:35:32 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com>
Date: Tue, 4 Nov 2014 16:35:29 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com> <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com> <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
X-Mailer: Apple Mail (2.1990.1)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/te0bti08MC4AP-Ocg1PJZWaRMOY
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 14:35:39 -0000

> On Nov 4, 2014, at 3:30 PM, Phillip Hallam-Baker =
<phill@hallambaker.com> wrote:
>=20
> On Tue, Nov 4, 2014 at 1:57 AM, Yoav Nir <ynir.ietf@gmail.com> wrote:
>>=20
>>> On Nov 3, 2014, at 8:05 PM, Phillip Hallam-Baker =
<phill@hallambaker.com> wrote:
>>>=20
>>> The problem here is not to find curves we are confident in. It is
>>> finding curves that we can make other people confident in.
>>=20
>> Who are these other people that we need to explain this to?
>=20
> The people who use the Internet and Web.=20

I really don=E2=80=99t want to be flip, but that group includes my =
80-year-old mother and 10-year-old daughter. Neither of them deals with =
choosing curves. There is a group of people who know what TLS is, what =
PFS is, why group size matters, and that traditionally sizes of security =
elements were measured in powers of two. These people use the web, but =
within the big group of web users, their fraction is vanishingly small.  =
And I think these people are able to use google and find out why P-521 =
was chosen, same as you and I.

>> So who are these people who can=E2=80=99t be confident in this =
process and yet can see through the argument that Cuve25519 is better =
than P-256 because 25519>256 ?
>=20
> The topic of this thread is the random part rather than that choice.
>=20
> P-256 and P512 are the easiest to explain.
> Curve 25519 requires a little more explanation.
> P521 requires quite a bit more explanation
>=20
> These are all cases that can be made in an elevator pitch. the first
> only takes a few floors, P521 requires a taller building.

Why? 521 > 512, and bigger is better. The fact that we chose to go that =
extra mile because of performance rather than to get that extra few bits =
of security doesn=E2=80=99t change that.

> The problem with randomness is that the explanation is going to be too
> long even for the Sears tower.

I don=E2=80=99t think so. The idea that randomization prevents =
manipulation and targeting is pretty much accepted among anyone in the =
security field.

> And there isn't any way to take the
> 'trust me' part out of the equation.

That=E2=80=99s the big one. Unless your target audience is =
cryptographers, you can=E2=80=99t take the =E2=80=9Ctrust me=E2=80=9D =
part out of the equation anyway. Even having a degrees in computer =
science and/or mathematics does not allow people to analyze your choice =
of curves. Randomization evens the playing field because even =
cryptographers have to trust you if they weren=E2=80=99t there to verify =
that the procedure was followed. But most of the web users will have to =
trust us in any case.

> No matter what the controls that
> are proposed, folk looking at the curves after they have been cut are
> going to have to rely on the assurances that the process was followed.
>=20
> Take the example Watson gave of the closing price of the stock market.
> That is actually very easy to game, just pick a day in the past that
> meets the criteria. There is also a slightly harder attack which is to
> manipulate the market to get the desired result. It certainly isn't
> inconceivable that the NSA would order the wall street traders to
> close the market at a given price if you are a Roswell class
> conspiracy nut. But even if you don't go that far, the SEC just fined
> a bunch of banks billions for manipulating the LIBOR rate.

There are better sources of randomness - coin flipping sessions. Enough =
of them can be audited to be free from manipulation.
>=20
> NOMCON is a very poor example to draw analogies from here. The reward
> to the attacker of biasing the NOMCON simply isn't great enough for an
> attack to be worth while. The community interested in the decision is
> going to check the results (I usually do) before the NOMCON is seated.
>=20
> We are proposing to use ECC to secure the global e-commerce
> infrastructure worth several trillion dollars a year. It is going to
> be very hard to suggest that an attack isn't worth bothering about.
>=20
> No matter how many controls you try to throw in, the explanation of
> the randomness approach isn't going to be feasible until we have a
> space elevator to give us enough time for the explanation.

Former IETFers are hard at work: http://lunarelevator.com

> And that is assuming that we can agree on a randomness process in the
> first place. Which I think is highly unlikely.

On this, I=E2=80=99m with you.

> The elevator pitch criteria is decisive for randomness. Whether it is
> decisive for P256/P512 or not is a different matter and probably
> depends on the part of the country you are in. DJB is in Chicago with
> the Sears Tower. The West coast folk have rather shorter buildings due
> to the San Andreas fault.

Californians pitch ideas at the espresso machine, not in an elevator.

Yoav


From nobody Tue Nov  4 07:10:51 2014
Return-Path: <hallam@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 668911A8973 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 07:10:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.58
X-Spam-Level: **
X-Spam-Status: No, score=2.58 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, FRT_PROFIT1=3.858, SPF_PASS=-0.001] autolearn=no
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 142U6dVPfCdU for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 07:10:46 -0800 (PST)
Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com [IPv6:2a00:1450:4010:c04::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C72581A894D for <cfrg@irtf.org>; Tue,  4 Nov 2014 07:10:45 -0800 (PST)
Received: by mail-lb0-f179.google.com with SMTP id l4so4559258lbv.24 for <cfrg@irtf.org>; Tue, 04 Nov 2014 07:10:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=bCkoXbIUJljLSwEzgN3LxFPewJbTE7jYnNm6QPVG92M=; b=FYEvUQb7N+YAp6E2wY43nJcMn+o2QH1Z3aBw9mYrOGekZM6pp5Rfx6l+KXNU7h4ST5 RpscNAi1YDlIB0n4CdHPwf3QVKAEoVwi5Ch/ExbohyWwO+dzIxfWHSN5HOLWulX1AAn3 RIuRreE+UMkt4tMsX8Hj6q5Gqer/VaQe2kKMpIbGaLy/+TDJsD2Y3M4eyeDClIda6ZOb PD7B3fHoiW4hssb9nRMUqpt+2F/j2izLiwPYcg9a8/p8Xux5tD/BIYSphnphsgqg6SGx w7edglOMqpGZHH6gNBN9yiw054oC94jChy7I4Cd/gSNp0j118qBHuIgZ/+0JJBNYpEUg 4Flw==
MIME-Version: 1.0
X-Received: by 10.152.45.98 with SMTP id l2mr23345011lam.85.1415113843833; Tue, 04 Nov 2014 07:10:43 -0800 (PST)
Sender: hallam@gmail.com
Received: by 10.112.214.163 with HTTP; Tue, 4 Nov 2014 07:10:43 -0800 (PST)
In-Reply-To: <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com> <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com> <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com> <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com>
Date: Tue, 4 Nov 2014 10:10:43 -0500
X-Google-Sender-Auth: wZlBRQOvrD0sDJlXkLwC35hxxJM
Message-ID: <CAMm+Lwi9x8JMM2UJCxHL2K5esj9+tRJEefi3e=L7PaBFBjxYGA@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: Yoav Nir <ynir.ietf@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/hz-lqFhSs3wzVQsFhcWlrJX-Ku8
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 15:10:48 -0000

On Tue, Nov 4, 2014 at 9:35 AM, Yoav Nir <ynir.ietf@gmail.com> wrote:
>
>> On Nov 4, 2014, at 3:30 PM, Phillip Hallam-Baker <phill@hallambaker.com>=
 wrote:

>> The problem with randomness is that the explanation is going to be too
>> long even for the Sears tower.
>
> I don=E2=80=99t think so. The idea that randomization prevents manipulati=
on and targeting is pretty much accepted among anyone in the security field=
.


But are they random?

http://dilbert.com/dyn/str_strip/000000000/00000000/0000000/000000/00000/20=
00/300/2318/2318.strip.gif


>> And there isn't any way to take the
>> 'trust me' part out of the equation.
>
> That=E2=80=99s the big one. Unless your target audience is cryptographers=
, you can=E2=80=99t take the =E2=80=9Ctrust me=E2=80=9D part out of the equ=
ation anyway.


I can explain the rigidity argument to high school students and they
can check it with high school math.


> There are better sources of randomness - coin flipping sessions. Enough o=
f them can be audited to be free from manipulation.

But you end up having to trust the auditor. The audit is a one time
event and cannot be repeated in the future.

Transparency means that anyone can audit using publicly available informati=
on.


>> And that is assuming that we can agree on a randomness process in the
>> first place. Which I think is highly unlikely.
>
> On this, I=E2=80=99m with you.

It would take an infinite amount of time because anyone can bike shed
the process with a way to corrupt the process.

We had a long discussion on this on Perry's Cryptography list. I can
provide a process that provides the participants with an assurance
that it is free from interference. But I can't provide a mechanism
that allows them to provide absolute proof it wasn't interfered with
after the fact.


From nobody Tue Nov  4 07:20:56 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 006791A89E1 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 07:20:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
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 nJJfjHZKTou3 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 07:20:53 -0800 (PST)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id 389AF1A89A7 for <cfrg@irtf.org>; Tue,  4 Nov 2014 07:20:52 -0800 (PST)
Received: from smtp-pop.rim.net (HELO XCT103CNC.rim.net) ([10.65.161.203]) by mhs213cnc.rim.net with ESMTP/TLS/AES128-SHA; 04 Nov 2014 10:03:28 -0500
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT103CNC.rim.net ([fe80::b8:d5e:26a5:f4d6%17]) with mapi id 14.03.0174.001; Tue, 4 Nov 2014 10:03:05 -0500
From: Dan Brown <dbrown@certicom.com>
To: "'phill@hallambaker.com'" <phill@hallambaker.com>
Thread-Topic: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
Thread-Index: AQHP9ur4osEkK4lK2kWDbv4M83W3HpxOSBuAgACp5QCAAHd/gIAABXKAgAAFcYCAABMBAIAA18uAgABt4QD//8L+8A==
Date: Tue, 4 Nov 2014 15:03:05 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5CFAF86@XMB116CNC.rim.net>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com> <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com> <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com>
In-Reply-To: <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.251]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0090_01CFF816.86641A70"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/RB6O2ooUxteTsart5amgBVwACzI
Cc: "'cfrg@irtf.org'" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 15:20:55 -0000

------=_NextPart_000_0090_01CFF816.86641A70
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: 7bit

> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Phillip Hallam-Baker
> >
> > Who are these other people that we need to explain this to?
>
> The people who use the Internet and Web.
>
> ...
>
> These are all cases that can be made in an elevator pitch. the first only 
> takes a
> few floors, P521 requires a taller building.
>
> The problem with randomness is that the explanation is going to be too long
> even for the Sears tower. And there isn't any way to take the 'trust me' 
> part

[DB] Wouldn't you need a wider building to fit all the people who use the 
Internet and Web?  Inverting the metaphors, the width of elevator might 
correspond to some different source of trust than verification of argument, 
perhaps some kind of accountability, instead, maybe?


------=_NextPart_000_0090_01CFF816.86641A70
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICCm2p3UcABAAABWowDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAy
WUtGMB4XDTE0MDUxNDE0MzYzOFoXDTE1MDUxNDE0MzYzOFowgaQxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xDTALBgNVBAsTBEFNRVIxCzAJBgNVBAsTAkNBMRQwEgYD
VQQLEwtNaXNzaXNzYXVnYTEOMAwGA1UECxMFVXNlcnMxEjAQBgNVBAMTCURhbiBCcm93bjEiMCAG
CSqGSIb3DQEJARYTZGJyb3duQGNlcnRpY29tLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
gYEA54YaBOai2UDS89LoHMbDcC4+c8dEl5TpkJWz0muqjnXP6xpSYqBzotsw9SpPD3/0wF8Dz77Z
hkYN8BDSF0RAdtmfXKXe40tQkHoplN4pos9jnBZW5e8HuTZUkEVC/q7bf399cskpxMt9MA934gvB
rSk1QNbR3D7Hq34t4bOHXSUCAwEAAaOCA5gwggOUMAsGA1UdDwQEAwIFoDBEBgkqhkiG9w0BCQ8E
NzA1MA4GCCqGSIb3DQMCAgIAgDAOBggqhkiG9w0DBAICAIAwBwYFKw4DAgcwCgYIKoZIhvcNAwcw
FwYJKwYBBAGCNxQCBAoeCABVAHMAZQByMCkGA1UdJQQiMCAGCisGAQQBgjcKAwQGCCsGAQUFBwME
BggrBgEFBQcDAjBBBgNVHREEOjA4oCEGCisGAQQBgjcUAg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MTEwNDE1MDMwNFowIwYJKoZIhvcNAQkEMRYEFGKx
5KFjnI/0t32O062TDg2cMZOOMG0GCSsGAQQBgjcQBDFgMF4wUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAy
WUtGAgptqd1HAAQAAAVqMG8GCyqGSIb3DQEJEAILMWCgXjBQMRMwEQYKCZImiZPyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDJZ
S0YCCm2p3UcABAAABWowgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYBMlyK41qjzpEmr0iy/u7oeFD1X/h1b
a3prpbmeTDzy72IPrvvFPzI09PeGcmO1X1wvSYrVxFMog4j59bQnhYNWtHBu32Evtv1Utpe+EwS7
JzEj2mECAc1VDVo4FAPlsZcLhn178E7Pf/QPG+rzPoJUxRnHsrLbKKbrznXFuYJELQAAAAAAAA==

------=_NextPart_000_0090_01CFF816.86641A70--


From nobody Tue Nov  4 07:36:50 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DCEC31A8A41 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 07:36:47 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 VrwrJm6gtD2L for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 07:36:46 -0800 (PST)
Received: from mail-yh0-x235.google.com (mail-yh0-x235.google.com [IPv6:2607:f8b0:4002:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 004271A8A3C for <cfrg@irtf.org>; Tue,  4 Nov 2014 07:36:45 -0800 (PST)
Received: by mail-yh0-f53.google.com with SMTP id i57so3180131yha.12 for <cfrg@irtf.org>; Tue, 04 Nov 2014 07:36:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=7cq76hhAfyxx4rme/aJon0AxytUiAetX6veEcpbovzk=; b=aJoTfHJ9HOFKPc4mPOyiKed/gTiqfwgS5Tvc3B7RnU0Uuavwu3LpTMuesWlRWQhbGJ cVg9qo6mpYfMhNujsuSFQYtkQj/OkYPR4UcqhnePfiSK0h4rffTUNhVN+o6y7s7vMxyp +9B5W7PsEKAFPLOb1M9r7P/bYVlYR2J8Z9rjCrK+0lZzPl08PWX/ZINO8xl8tK55I/na pBW00JMZq6Igm1Ydq/NdELeK48Nbze6YMpCgU0rUI4kg+D/GSGQg0SxRe52L39NH3aSY xrcIMnPKvki1i2dZ/qiINCvmBeJOrd3CT8r6pLSbRk8GrnDuN15HAwHfhVeHqRTZpHC+ 8lPw==
MIME-Version: 1.0
X-Received: by 10.236.22.36 with SMTP id s24mr9368594yhs.138.1415115405039; Tue, 04 Nov 2014 07:36:45 -0800 (PST)
Received: by 10.170.195.203 with HTTP; Tue, 4 Nov 2014 07:36:44 -0800 (PST)
In-Reply-To: <CAMm+Lwi9x8JMM2UJCxHL2K5esj9+tRJEefi3e=L7PaBFBjxYGA@mail.gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com> <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com> <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com> <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com> <CAMm+Lwi9x8JMM2UJCxHL2K5esj9+tRJEefi3e=L7PaBFBjxYGA@mail.gmail.com>
Date: Tue, 4 Nov 2014 07:36:44 -0800
Message-ID: <CACsn0c=0LdMkCW6t81iFqFLE6o+Xk-pXNdUy9WEvdknMHrWQbg@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/C-kYAVAN7JiqAA_l3WgYzWjZFRQ
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 15:36:48 -0000

On Tue, Nov 4, 2014 at 7:10 AM, Phillip Hallam-Baker
<phill@hallambaker.com> wrote:
> On Tue, Nov 4, 2014 at 9:35 AM, Yoav Nir <ynir.ietf@gmail.com> wrote:
>>
>>> On Nov 4, 2014, at 3:30 PM, Phillip Hallam-Baker <phill@hallambaker.com=
> wrote:
>
>>> The problem with randomness is that the explanation is going to be too
>>> long even for the Sears tower.
>>
>> I don=E2=80=99t think so. The idea that randomization prevents manipulat=
ion and targeting is pretty much accepted among anyone in the security fiel=
d.
>
>
> But are they random?
>
> http://dilbert.com/dyn/str_strip/000000000/00000000/0000000/000000/00000/=
2000/300/2318/2318.strip.gif

This is exactly right.

>
>
>>> And there isn't any way to take the
>>> 'trust me' part out of the equation.
>>
>> That=E2=80=99s the big one. Unless your target audience is cryptographer=
s, you can=E2=80=99t take the =E2=80=9Ctrust me=E2=80=9D part out of the eq=
uation anyway.
>
>
> I can explain the rigidity argument to high school students and they
> can check it with high school math.

What exactly is "the rigidity argument"? Is it that there is only 1
smallest prime greater than 2^256? Because there is also one prime
equal to 2^255-19. Does this help with security? No: you need to know
that the coefficient is correct, and showing minimality of the
coefficient is a considerable PITA computationally.

(How do they know the numbers you claim are prime are in fact prime?
For 2^521-1 it's somewhat easier, but still hours of computation by
hand)

The fact that you can't explain this argument to us is not convincing
me you can explain it to high school students.

Sincerely,
Watson Ladd
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg



--=20
"Those who would give up Essential Liberty to purchase a little
Temporary Safety deserve neither  Liberty nor Safety."
-- Benjamin Franklin


From nobody Tue Nov  4 07:44:17 2014
Return-Path: <mpg@elzevir.fr>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B90C01A8A67 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 07:44:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.844
X-Spam-Level: 
X-Spam-Status: No, score=-1.844 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3, RP_MATCHES_RCVD=-0.594] autolearn=ham
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 gX7PhXRYtYmo for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 07:44:13 -0800 (PST)
Received: from mordell.elzevir.fr (mordell.elzevir.fr [IPv6:2001:4b98:dc0:41:216:3eff:feeb:c406]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 920A51A8A62 for <cfrg@irtf.org>; Tue,  4 Nov 2014 07:44:13 -0800 (PST)
Received: from thue.elzevir.fr (thue.elzevir.fr [88.165.216.11]) by mordell.elzevir.fr (Postfix) with ESMTPS id B9BF6161CE; Tue,  4 Nov 2014 16:44:11 +0100 (CET)
Received: from [IPv6:2a01:e35:8a5d:80b0:caf7:33ff:fe89:5d50] (unknown [IPv6:2a01:e35:8a5d:80b0:caf7:33ff:fe89:5d50]) by thue.elzevir.fr (Postfix) with ESMTPSA id 45E262908D; Tue,  4 Nov 2014 16:44:11 +0100 (CET)
Message-ID: <5458F44A.9060904@elzevir.fr>
Date: Tue, 04 Nov 2014 16:44:10 +0100
From: =?windows-1252?Q?Manuel_P=E9gouri=E9-Gonnard?= <mpg@elzevir.fr>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: Watson Ladd <watsonbladd@gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <5457D125.5030901@akr.io> <145897BB-5E6E-4EF7-BEE1-69A66A6F5CAA@ll.mit.edu> <CACsn0c=QUU_-SgmuoCbEjAZS0ACDpViAE0e3sE31+ESJi3vHcQ@mail.gmail.com>
In-Reply-To: <CACsn0c=QUU_-SgmuoCbEjAZS0ACDpViAE0e3sE31+ESJi3vHcQ@mail.gmail.com>
OpenPGP: id=98EED379; url=https://elzevir.fr/gpg/mpg.asc
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/-Mr84bQgrEDnKyBoLOXda3CS1KA
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 15:44:15 -0000

On 03/11/2014 21:12, Watson Ladd wrote:
> How is this different from picking Brainpool then? And Brainpool is not
> perfectly fine: massive performance slowdowns, gratuitous use of
> endomorphisms, and some really dodgy generation choices.
> 
Sorry if this is obvious, but what do you mean by use of endomorphisms? Are you
refering to the fact that they give 2 isomorphic representations of each curve,
one with a = -3 and the other with a pseudorandom? Or is it something else?

Thanks,
Manuel.


From nobody Tue Nov  4 07:53:08 2014
Return-Path: <hallam@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 246441A89B5 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 07:53:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 fI3jh5fdY69X for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 07:53:04 -0800 (PST)
Received: from mail-lb0-x234.google.com (mail-lb0-x234.google.com [IPv6:2a00:1450:4010:c04::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7D8061A8A07 for <cfrg@irtf.org>; Tue,  4 Nov 2014 07:53:04 -0800 (PST)
Received: by mail-lb0-f180.google.com with SMTP id u10so2889796lbd.25 for <cfrg@irtf.org>; Tue, 04 Nov 2014 07:53:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=lYtS3MGqDyUFGKCGv8Ice+xgnwYUQCAIfCHVrtsUpas=; b=r3lnrGVShBUQwbeyObW2aGfDoesDPvIlVt5q8v0AH13p5ul2ND7OWJsXZIOEdLU9hw BsqHdhJV0nc3oUDuEZZBwiFNE70zWsJU9wuP4zB7xKyTbkMYoRfuXjaH0iDjJvq3m5Ef CMvkRx0vFMKW7lBaPReo58OyT6gqfX44pm7j5auT0Y/fWjJf6gF3GKWC702HlWL4L2s2 SXFl6UNZFbohP6zxYATRdjULxSy3dJ6+stjiRziP4Qzzzc1i6USDZDCD51/owN87FCYr YujK7Ezf8nJYI35QJ8r/4uIET5Q2X0RYVMq2x/XLGA+FpfQdWmOqSPaSWkKWq/iAghR0 WzxQ==
MIME-Version: 1.0
X-Received: by 10.152.234.136 with SMTP id ue8mr60213743lac.21.1415116382167;  Tue, 04 Nov 2014 07:53:02 -0800 (PST)
Sender: hallam@gmail.com
Received: by 10.112.214.163 with HTTP; Tue, 4 Nov 2014 07:53:01 -0800 (PST)
In-Reply-To: <CACsn0c=0LdMkCW6t81iFqFLE6o+Xk-pXNdUy9WEvdknMHrWQbg@mail.gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com> <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com> <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com> <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com> <CAMm+Lwi9x8JMM2UJCxHL2K5esj9+tRJEefi3e=L7PaBFBjxYGA@mail.gmail.com> <CACsn0c=0LdMkCW6t81iFqFLE6o+Xk-pXNdUy9WEvdknMHrWQbg@mail.gmail.com>
Date: Tue, 4 Nov 2014 10:53:01 -0500
X-Google-Sender-Auth: uV8WMcAf9BrKuUOWWDMsMbPkv0M
Message-ID: <CAMm+Lwg0DYUXsjBd1kjErpyckGKHovGbGiUpOC589RfVhqMn7w@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Z2-7WXoQYRe_SmCjhwuNTTTpPCI
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 15:53:06 -0000

On Tue, Nov 4, 2014 at 10:36 AM, Watson Ladd <watsonbladd@gmail.com> wrote:
> On Tue, Nov 4, 2014 at 7:10 AM, Phillip Hallam-Baker
> <phill@hallambaker.com> wrote:
>> On Tue, Nov 4, 2014 at 9:35 AM, Yoav Nir <ynir.ietf@gmail.com> wrote:
>>>
>>>> On Nov 4, 2014, at 3:30 PM, Phillip Hallam-Baker <phill@hallambaker.co=
m> wrote:
>>
>>>> The problem with randomness is that the explanation is going to be too
>>>> long even for the Sears tower.
>>>
>>> I don=E2=80=99t think so. The idea that randomization prevents manipula=
tion and targeting is pretty much accepted among anyone in the security fie=
ld.
>>
>>
>> But are they random?
>>
>> http://dilbert.com/dyn/str_strip/000000000/00000000/0000000/000000/00000=
/2000/300/2318/2318.strip.gif
>
> This is exactly right.
>
>>
>>
>>>> And there isn't any way to take the
>>>> 'trust me' part out of the equation.
>>>
>>> That=E2=80=99s the big one. Unless your target audience is cryptographe=
rs, you can=E2=80=99t take the =E2=80=9Ctrust me=E2=80=9D part out of the e=
quation anyway.
>>
>>
>> I can explain the rigidity argument to high school students and they
>> can check it with high school math.
>
> What exactly is "the rigidity argument"? Is it that there is only 1
> smallest prime greater than 2^256? Because there is also one prime
> equal to 2^255-19. Does this help with security? No: you need to know
> that the coefficient is correct, and showing minimality of the
> coefficient is a considerable PITA computationally.

I think you mean greatest prime smaller than 2^256. And as I pointed
out, I think the arguments for ~256 and ~512 are different and I am
quite happy to take 2^255-19. Its ~512 where the rule isn't so clear.


> (How do they know the numbers you claim are prime are in fact prime?
> For 2^521-1 it's somewhat easier, but still hours of computation by
> hand)

Same way we do it for RSA keys, use the probaballistic algorithm.
Anyone can check to a very high degree of assurance within a minute.
As in the probability that the probability of getting the wrong result
as a result of machine failure is much higher than the uncertainty due
to the test procedure.


> The fact that you can't explain this argument to us is not convincing
> me you can explain it to high school students.

Oh so your argument is that failing to convince you is not convincing you?


As with quantum mechanics, the more you know, the more complex the
explanations get. But you have to get to a fairly high level of
sophistication to understand the difference between P521 and P512.

The proposition that the NUMS curves are not rigid according to their
selection criteria is falsifiable by anyone who does the math.

The proposition that a random seed was generated in an unbiased
fashion is not falsifiable. There is no test I can propose after the
fact that allows me to prove that it was honest.


From nobody Tue Nov  4 08:15:18 2014
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0E0111A8FD3 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 08:15:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.101
X-Spam-Level: 
X-Spam-Status: No, score=0.101 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7, UNPARSEABLE_RELAY=0.001] autolearn=ham
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 Nq6cCvPSuSS8 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 08:15:14 -0800 (PST)
Received: from mace.cs.uic.edu (mace.cs.uic.edu [131.193.32.224]) by ietfa.amsl.com (Postfix) with SMTP id 63DAA1A8F45 for <cfrg@irtf.org>; Tue,  4 Nov 2014 08:15:14 -0800 (PST)
Received: (qmail 25726 invoked by uid 1011); 4 Nov 2014 16:15:07 -0000
Received: from unknown (unknown) by unknown with QMTP; 4 Nov 2014 16:15:07 -0000
Received: (qmail 28382 invoked by uid 1001); 4 Nov 2014 16:14:59 -0000
Date: 4 Nov 2014 16:14:59 -0000
Message-ID: <20141104161459.28380.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
In-Reply-To: <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/a0NJPaoLBNoTXMlT1mKkN8HJ17U
Subject: [Cfrg] the "tradition" of powers of 2
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 16:15:17 -0000

Yoav Nir writes:
> traditionally sizes of security elements were measured in powers of two.

No.

The original DES used 56-bit keys. Triple DES, in the form standardized
for (and widely deployed in) the financial industry, uses 112-bit keys.

NSA's Skipjack (1998) uses 80-bit keys. The PRESENT cipher---much newer,
and standardized by ISO a few years ago---normally uses an 80-bit key.

All AES candidates were required to, and do, support key sizes of not
just 128 bits and 256 bits but also 192 bits.

NIST's standard hash output sizes are 160 bits, 224 bits, 256 bits, 384
bits, and 512 bits. Yes, 160 is deprecated now, but that's because 160
is too small, not because of some weird "power of 2" rule.

You meant public keys? NIST's SP 800-57 recommends RSA key sizes of
1024, 2048, 3072, 7680, and 15360 with 112-bit Triple DES, 168-bit
Triple DES, AES-128, AES-192, and AES-256 for security levels 80, 112,
128, 192, and 256 respectively.

IETF's recommendations for RSA key sizes in DNSSEC over the past fifteen
years, as I mentioned earlier in this thread, have included 704 bits,
"about" 924 bits, 1024 bits, "about" 1200 bits, 1300 bits, "about" 1900
bits, and 2048 bits. DNSSEC TLDs today mostly use 1024 or 1280.

You meant ECC? Let's try the NIST curves: 163 bits, 192 bits, 224 bits,
233 bits, 256 bits, 283 bits, 384 bits, 409 bits, 521 bits, 571 bits.

Or the ANSI curves: 163 bits, 176 bits, 191 bits, 192 bits, 208 bits,
239 bits, 256 bits, 272 bits, 304 bits, 359 bits, 368 bits, 431 bits. 

Or SEC 2 version 1.0: 112 bits (seriously!), 113 bits, 128 bits, 131
bits, 160 bits, 163 bits, 192 bits, 224 bits, 233 bits, 239 bits, 256
bits, 283 bits, 384 bits, 409 bits, 521 bits, 571 bits.  

Or the Brainpool curves: 160 bits, 192 bits, 224 bits, 256 bits, 320
bits, 384 bits, 512 bits.

Or NSA's Suite B curves: 256 bits, 384 bits.

---Dan


From nobody Tue Nov  4 08:17:50 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E97841A8AE3 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 08:17:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.7
X-Spam-Level: 
X-Spam-Status: No, score=-1.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001] autolearn=no
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 C64VHGLuKB2A for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 08:17:48 -0800 (PST)
Received: from mail-yh0-x22b.google.com (mail-yh0-x22b.google.com [IPv6:2607:f8b0:4002:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E4A1E1A03C7 for <cfrg@irtf.org>; Tue,  4 Nov 2014 08:17:47 -0800 (PST)
Received: by mail-yh0-f43.google.com with SMTP id f73so3269503yha.16 for <cfrg@irtf.org>; Tue, 04 Nov 2014 08:17:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=b914dlD40DA0Lzi+6PQdptDQwo6kqqh2bVakW2sNNXo=; b=viFcV7zXr9vw3KMkon8bT/bcdUXHnX/1HKd91RZvyxLvOBRJScxhMEWk6cHvGjBQW3 wA75DVLVE0HaFi4vhQNyooSmH5t0y+dghmkFQeQ5dgRag1wWO35ZdOw5qbIWH6syA7OJ gO3XsGTfpaDiwU7vYpOTKPUIjHqjejh9tnVI41XBvFDi9jG/K5o+13SDfahvU1s6vAwc uSnuT0GblqcFI1Ar47i3F4GodvnRjMKmeWmXnbAHnj2W3s1cMJkKyAMeAcX21qTtqHa8 7AGU+82djB7TkWQAHOlw8In5jmOD2SmYRppHBfFSwSxVac+YlmYvLx2sgBUmGTQOdALx 5w2w==
MIME-Version: 1.0
X-Received: by 10.170.111.142 with SMTP id d136mr45465369ykb.20.1415117867016;  Tue, 04 Nov 2014 08:17:47 -0800 (PST)
Received: by 10.170.195.203 with HTTP; Tue, 4 Nov 2014 08:17:46 -0800 (PST)
In-Reply-To: <5458F44A.9060904@elzevir.fr>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <5457D125.5030901@akr.io> <145897BB-5E6E-4EF7-BEE1-69A66A6F5CAA@ll.mit.edu> <CACsn0c=QUU_-SgmuoCbEjAZS0ACDpViAE0e3sE31+ESJi3vHcQ@mail.gmail.com> <5458F44A.9060904@elzevir.fr>
Date: Tue, 4 Nov 2014 08:17:46 -0800
Message-ID: <CACsn0cm+_GGp06BZKCcVcOYCSuMf6101ySHyPPXQNofRrNGVzA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: =?UTF-8?Q?Manuel_P=C3=A9gouri=C3=A9=2DGonnard?= <mpg@elzevir.fr>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/0daBp60SipPBafgs1wTCiE8LaWc
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 16:17:49 -0000

On Tue, Nov 4, 2014 at 7:44 AM, Manuel P=C3=A9gouri=C3=A9-Gonnard <mpg@elze=
vir.fr> wrote:
> On 03/11/2014 21:12, Watson Ladd wrote:
>> How is this different from picking Brainpool then? And Brainpool is not
>> perfectly fine: massive performance slowdowns, gratuitous use of
>> endomorphisms, and some really dodgy generation choices.
>>
> Sorry if this is obvious, but what do you mean by use of endomorphisms? A=
re you
> refering to the fact that they give 2 isomorphic representations of each =
curve,
> one with a =3D -3 and the other with a pseudorandom? Or is it something e=
lse?

The point that goes on the wire is the point on the pseudorandom curve
if I understand the specifications correctly, but the point people
want to use is the one on the a=3D-3 curve. Why have 2 choices for the
same thing?

Sincerely,
Watson Ladd

>
> Thanks,
> Manuel.



--=20
"Those who would give up Essential Liberty to purchase a little
Temporary Safety deserve neither  Liberty nor Safety."
-- Benjamin Franklin


From nobody Tue Nov  4 08:24:09 2014
Return-Path: <hallam@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4249B1A902A for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 08:24:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 HJEeFGj1lb68 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 08:24:05 -0800 (PST)
Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com [IPv6:2a00:1450:4010:c04::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7B8281A9029 for <cfrg@irtf.org>; Tue,  4 Nov 2014 08:24:05 -0800 (PST)
Received: by mail-lb0-f179.google.com with SMTP id l4so4738057lbv.10 for <cfrg@irtf.org>; Tue, 04 Nov 2014 08:24:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=B5khMgtcCZ0bdYw0671joNx+AmlQSjOo9+e3ScY87Qg=; b=kezrTZeZsiX0p6qCOd3tEZrNBewimVk6wg7cOh6bSJX/bNswGz5lKF/ekD9RySC+ld kauwMW3loOjv4oIcmv3npA6Q9/bSsimTLUbB/Uyc6N0e1yPuTwoq1uRULr2Gq6Jv1RxG nd2CoQlymJV7cAOi+N6a+Hrc9kW4B/PjP/Jw3WR8088WueNCbIlENEwfoVDH9cXDpAY1 XTQ4ARbBIkSBV9cs6xyN8e7LyK4i3coTM6EX3K/wf/a7wbQyK89tsy6uj6axj1X9SPPY G7vp0Xx7B01AbEVx3VAbBWbSG2WIA5sF+yJIbuZ/GhMmFj2sgr+3Omc2++1dUNDRXa85 G0gA==
MIME-Version: 1.0
X-Received: by 10.112.137.234 with SMTP id ql10mr22697160lbb.91.1415118243534;  Tue, 04 Nov 2014 08:24:03 -0800 (PST)
Sender: hallam@gmail.com
Received: by 10.112.214.163 with HTTP; Tue, 4 Nov 2014 08:24:03 -0800 (PST)
In-Reply-To: <20141104161459.28380.qmail@cr.yp.to>
References: <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com> <20141104161459.28380.qmail@cr.yp.to>
Date: Tue, 4 Nov 2014 11:24:03 -0500
X-Google-Sender-Auth: qSHO230pZGPAdr1R9anEnFNCbzQ
Message-ID: <CAMm+Lwhcy8mA+XjBBkh8c+smOQONj+_rgF7q0ALesSQmUx9yqg@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/hWwsHgH1NhzZD8f1LWt5N1_Ovec
Subject: Re: [Cfrg] the "tradition" of powers of 2
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 16:24:07 -0000

And which of these choices did the community adopt widely?
c
AES 128
AES 256
RSA 512
RSA 1024
RSA 2408
RSA 4096
MD5 (128 bits)
SHA1 (160 bits)
SHA-2 (256 / 512 bits)

The only choice not a power of 2 that was widely used is SHA-1 at
160Bits. But that was largely chosen by default after MD5 was found
wanting.

Use of RSA1280 is limited to DNSSEC which has very peculiar limitations.


Yes, lots of folk have tried lots of different key sizes over the
years. But thats not the point. The point is which key sizes have
become ubiquitous choices.



On Tue, Nov 4, 2014 at 11:14 AM, D. J. Bernstein <djb@cr.yp.to> wrote:
> Yoav Nir writes:
>> traditionally sizes of security elements were measured in powers of two.
>
> No.
>
> The original DES used 56-bit keys. Triple DES, in the form standardized
> for (and widely deployed in) the financial industry, uses 112-bit keys.
>
> NSA's Skipjack (1998) uses 80-bit keys. The PRESENT cipher---much newer,
> and standardized by ISO a few years ago---normally uses an 80-bit key.
>
> All AES candidates were required to, and do, support key sizes of not
> just 128 bits and 256 bits but also 192 bits.
>
> NIST's standard hash output sizes are 160 bits, 224 bits, 256 bits, 384
> bits, and 512 bits. Yes, 160 is deprecated now, but that's because 160
> is too small, not because of some weird "power of 2" rule.
>
> You meant public keys? NIST's SP 800-57 recommends RSA key sizes of
> 1024, 2048, 3072, 7680, and 15360 with 112-bit Triple DES, 168-bit
> Triple DES, AES-128, AES-192, and AES-256 for security levels 80, 112,
> 128, 192, and 256 respectively.
>
> IETF's recommendations for RSA key sizes in DNSSEC over the past fifteen
> years, as I mentioned earlier in this thread, have included 704 bits,
> "about" 924 bits, 1024 bits, "about" 1200 bits, 1300 bits, "about" 1900
> bits, and 2048 bits. DNSSEC TLDs today mostly use 1024 or 1280.
>
> You meant ECC? Let's try the NIST curves: 163 bits, 192 bits, 224 bits,
> 233 bits, 256 bits, 283 bits, 384 bits, 409 bits, 521 bits, 571 bits.
>
> Or the ANSI curves: 163 bits, 176 bits, 191 bits, 192 bits, 208 bits,
> 239 bits, 256 bits, 272 bits, 304 bits, 359 bits, 368 bits, 431 bits.
>
> Or SEC 2 version 1.0: 112 bits (seriously!), 113 bits, 128 bits, 131
> bits, 160 bits, 163 bits, 192 bits, 224 bits, 233 bits, 239 bits, 256
> bits, 283 bits, 384 bits, 409 bits, 521 bits, 571 bits.
>
> Or the Brainpool curves: 160 bits, 192 bits, 224 bits, 256 bits, 320
> bits, 384 bits, 512 bits.
>
> Or NSA's Suite B curves: 256 bits, 384 bits.
>
> ---Dan
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Tue Nov  4 08:26:56 2014
Return-Path: <mpg@elzevir.fr>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6D7291A904D for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 08:26:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.844
X-Spam-Level: 
X-Spam-Status: No, score=-1.844 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3, RP_MATCHES_RCVD=-0.594] autolearn=ham
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 punTlhd1gEal for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 08:26:54 -0800 (PST)
Received: from mordell.elzevir.fr (mordell.elzevir.fr [IPv6:2001:4b98:dc0:41:216:3eff:feeb:c406]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 432A21A9046 for <cfrg@irtf.org>; Tue,  4 Nov 2014 08:26:54 -0800 (PST)
Received: from thue.elzevir.fr (thue.elzevir.fr [88.165.216.11]) by mordell.elzevir.fr (Postfix) with ESMTPS id 5F101160CA; Tue,  4 Nov 2014 17:26:51 +0100 (CET)
Received: from [IPv6:2a01:e35:8a5d:80b0:caf7:33ff:fe89:5d50] (unknown [IPv6:2a01:e35:8a5d:80b0:caf7:33ff:fe89:5d50]) by thue.elzevir.fr (Postfix) with ESMTPSA id DF58D2908C; Tue,  4 Nov 2014 17:26:50 +0100 (CET)
Message-ID: <5458FE4A.7050908@elzevir.fr>
Date: Tue, 04 Nov 2014 17:26:50 +0100
From: =?UTF-8?B?TWFudWVsIFDDqWdvdXJpw6ktR29ubmFyZA==?= <mpg@elzevir.fr>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: Watson Ladd <watsonbladd@gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk>	<CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com>	<CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com>	<E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io>	<D07D59BE.32D25%kenny.paterson@rhul.ac.uk>	<5457D125.5030901@akr.io>	<145897BB-5E6E-4EF7-BEE1-69A66A6F5CAA@ll.mit.edu>	<CACsn0c=QUU_-SgmuoCbEjAZS0ACDpViAE0e3sE31+ESJi3vHcQ@mail.gmail.com>	<5458F44A.9060904@elzevir.fr> <CACsn0cm+_GGp06BZKCcVcOYCSuMf6101ySHyPPXQNofRrNGVzA@mail.gmail.com>
In-Reply-To: <CACsn0cm+_GGp06BZKCcVcOYCSuMf6101ySHyPPXQNofRrNGVzA@mail.gmail.com>
OpenPGP: id=98EED379; url=https://elzevir.fr/gpg/mpg.asc
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/sciLHzVmyUJPZ_khLefObpXrGSE
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 16:26:55 -0000

On 04/11/2014 17:17, Watson Ladd wrote:
> On Tue, Nov 4, 2014 at 7:44 AM, Manuel Pégourié-Gonnard <mpg@elzevir.fr> wrote:
>> On 03/11/2014 21:12, Watson Ladd wrote:
>>> How is this different from picking Brainpool then? And Brainpool is not
>>> perfectly fine: massive performance slowdowns, gratuitous use of
>>> endomorphisms, and some really dodgy generation choices.
>>>
>> Sorry if this is obvious, but what do you mean by use of endomorphisms? Are you
>> refering to the fact that they give 2 isomorphic representations of each curve,
>> one with a = -3 and the other with a pseudorandom? Or is it something else?
> 
> The point that goes on the wire is the point on the pseudorandom curve
> if I understand the specifications correctly, but the point people
> want to use is the one on the a=-3 curve.

Ok. Your wording with "endomorphisms" made me wonder if you meant something else.

> Why have 2 choices for the same thing?
> 
I'm not arguing for (or against) that, I just wanted to make sure I got your
message correctly, or if you were referring to some other problem I wasn't aware of.

Manuel.


From nobody Tue Nov  4 08:32:33 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7793D1A9004 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 08:32:31 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 CsWmBNeZrzYf for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 08:32:29 -0800 (PST)
Received: from mail-yh0-x229.google.com (mail-yh0-x229.google.com [IPv6:2607:f8b0:4002:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E8AE91A010D for <cfrg@irtf.org>; Tue,  4 Nov 2014 08:32:28 -0800 (PST)
Received: by mail-yh0-f41.google.com with SMTP id a41so1664950yho.0 for <cfrg@irtf.org>; Tue, 04 Nov 2014 08:32:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=PhcmSRK7kOFbIUXuDH6mBhx1G6o4p9SQ4i5Wa/F6LvY=; b=Yngg53gzv0PPXrCQddbhB+YBT+mz8gGNAmqdQFiyKqqJqwChSqdYqD+CEgJckDNXKA 4XPjIeQoQlxA40AsM5lQ0p/uzeNhD0/R9zH6Wb5Lc/UmbiNhI/zv/UsrDoCMbyTEDzpo /AfL2hdkxF8p/GJE/aN9oUDkURPI+B70OKs4vZJBClfZarye1HfdIv9K46dx/wZza0R5 mj23N386aQhhbxs158Fi/lkiWGm0QWBrVB5P6PtH7OnJKl9t/goAI1XPFw/SO8Lk467a JjusLp67h6nATJ15wgOxb8KuIqxini5l8hI5aAvXZIa1zw7j9mthFfmF8Glc1aTXDMx5 nmEg==
MIME-Version: 1.0
X-Received: by 10.170.87.7 with SMTP id e7mr9898960yka.126.1415118748148; Tue, 04 Nov 2014 08:32:28 -0800 (PST)
Received: by 10.170.195.203 with HTTP; Tue, 4 Nov 2014 08:32:27 -0800 (PST)
In-Reply-To: <CAMm+Lwg0DYUXsjBd1kjErpyckGKHovGbGiUpOC589RfVhqMn7w@mail.gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com> <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com> <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com> <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com> <CAMm+Lwi9x8JMM2UJCxHL2K5esj9+tRJEefi3e=L7PaBFBjxYGA@mail.gmail.com> <CACsn0c=0LdMkCW6t81iFqFLE6o+Xk-pXNdUy9WEvdknMHrWQbg@mail.gmail.com> <CAMm+Lwg0DYUXsjBd1kjErpyckGKHovGbGiUpOC589RfVhqMn7w@mail.gmail.com>
Date: Tue, 4 Nov 2014 08:32:27 -0800
Message-ID: <CACsn0cnhy61JmAiK_oLrqk6zB=E=z1CeHTxp10hNUJHgYxvCag@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/0i6WR4ng2dH3XFVjdRUeC6p9lL0
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 16:32:31 -0000

On Tue, Nov 4, 2014 at 7:53 AM, Phillip Hallam-Baker
<phill@hallambaker.com> wrote:
> On Tue, Nov 4, 2014 at 10:36 AM, Watson Ladd <watsonbladd@gmail.com> wrot=
e:
>> On Tue, Nov 4, 2014 at 7:10 AM, Phillip Hallam-Baker
>> <phill@hallambaker.com> wrote:
>>> On Tue, Nov 4, 2014 at 9:35 AM, Yoav Nir <ynir.ietf@gmail.com> wrote:
>>>>
>>>>> On Nov 4, 2014, at 3:30 PM, Phillip Hallam-Baker <phill@hallambaker.c=
om> wrote:
>>>
>>>>> The problem with randomness is that the explanation is going to be to=
o
>>>>> long even for the Sears tower.
>>>>
>>>> I don=E2=80=99t think so. The idea that randomization prevents manipul=
ation and targeting is pretty much accepted among anyone in the security fi=
eld.
>>>
>>>
>>> But are they random?
>>>
>>> http://dilbert.com/dyn/str_strip/000000000/00000000/0000000/000000/0000=
0/2000/300/2318/2318.strip.gif
>>
>> This is exactly right.
>>
>>>
>>>
>>>>> And there isn't any way to take the
>>>>> 'trust me' part out of the equation.
>>>>
>>>> That=E2=80=99s the big one. Unless your target audience is cryptograph=
ers, you can=E2=80=99t take the =E2=80=9Ctrust me=E2=80=9D part out of the =
equation anyway.
>>>
>>>
>>> I can explain the rigidity argument to high school students and they
>>> can check it with high school math.
>>
>> What exactly is "the rigidity argument"? Is it that there is only 1
>> smallest prime greater than 2^256? Because there is also one prime
>> equal to 2^255-19. Does this help with security? No: you need to know
>> that the coefficient is correct, and showing minimality of the
>> coefficient is a considerable PITA computationally.
>
> I think you mean greatest prime smaller than 2^256. And as I pointed
> out, I think the arguments for ~256 and ~512 are different and I am
> quite happy to take 2^255-19. Its ~512 where the rule isn't so clear.

Let me make this as concrete as possible: Why do you think that the
only Mersenne prime in the range of exponents we are considering is a
suspicious rule, but primes close to a power of 2 is not? Minimal c is
very constraining: I think we got at most 60 primes. Is that still too
many?
We picked between them on the basis of performance: that seems very
hard to game as performance is very restrictive.

>
>
>> (How do they know the numbers you claim are prime are in fact prime?
>> For 2^521-1 it's somewhat easier, but still hours of computation by
>> hand)
>
> Same way we do it for RSA keys, use the probaballistic algorithm.
> Anyone can check to a very high degree of assurance within a minute.
> As in the probability that the probability of getting the wrong result
> as a result of machine failure is much higher than the uncertainty due
> to the test procedure.
>
>
>> The fact that you can't explain this argument to us is not convincing
>> me you can explain it to high school students.
>
> Oh so your argument is that failing to convince you is not convincing you=
?

Exactly: You are saying that 2^521-1 is much more suspicious than
2^512-whatever, because you can explain the choice of 2^512-whatever
more easily than 2^521-1. But you haven't been able to give me an
explanation, so why should I assume you can give someone else an
explanation?

>
>
> As with quantum mechanics, the more you know, the more complex the
> explanations get. But you have to get to a fairly high level of
> sophistication to understand the difference between P521 and P512.

I don't consider it possible to explain QM to anyone without talking
about Hilbert spaces. But I can explain that the stronger curve goes
faster by pointing them to a benchmark, which they can run themselves.

>
> The proposition that the NUMS curves are not rigid according to their
> selection criteria is falsifiable by anyone who does the math.

So is the proposition that the parameters for the other curves depend
only on the prime. They do. The question comes down to which prime.

>
> The proposition that a random seed was generated in an unbiased
> fashion is not falsifiable. There is no test I can propose after the
> fact that allows me to prove that it was honest.

I agree with you on that point.


--=20
"Those who would give up Essential Liberty to purchase a little
Temporary Safety deserve neither  Liberty nor Safety."
-- Benjamin Franklin


From nobody Tue Nov  4 08:44:18 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7012F1A9085 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 08:44:14 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 uES1zppBgP3S for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 08:44:13 -0800 (PST)
Received: from mail-yh0-x22d.google.com (mail-yh0-x22d.google.com [IPv6:2607:f8b0:4002:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 20FAA1A9081 for <cfrg@irtf.org>; Tue,  4 Nov 2014 08:44:13 -0800 (PST)
Received: by mail-yh0-f45.google.com with SMTP id f10so3686083yha.32 for <cfrg@irtf.org>; Tue, 04 Nov 2014 08:44:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7c6IYwZYKjMMhO0FTOgYVagfvJ97l75gZ1S8eYx9pbE=; b=IjHdhWU8lEdVY2oakCz18TdNBH57WcYIIOtPoBI73tcZWp570NDOEvoLiZ60K7GYTj Bsvt3MzGTxYTAmDTQmFv1fQLP+lq4uNqGaN9yTWBApWk0Qcp+9urwOGm73TrM4glZFLu L7PCxUsLZ3GCjbZKxY4ok3lOrMl2WfCJfg4Wn1+LQsKIpCPDwuvNN0nad9kQSgaruGQN vsUqciBJeJmKU+yby/RmoNJ9JXZBRnhxHVf9R0WFnpj84rKpAWxLs43CGm6FCPpoClSq 3HZ0QOQL9X+AGHij/f9shRhLIjNkFBKkpOoFNATngOTNT52tpVD0MUmiqttJSB28uYyl SYug==
MIME-Version: 1.0
X-Received: by 10.170.213.130 with SMTP id e124mr12035802ykf.24.1415119452213;  Tue, 04 Nov 2014 08:44:12 -0800 (PST)
Received: by 10.170.195.203 with HTTP; Tue, 4 Nov 2014 08:44:12 -0800 (PST)
In-Reply-To: <CAMm+Lwhcy8mA+XjBBkh8c+smOQONj+_rgF7q0ALesSQmUx9yqg@mail.gmail.com>
References: <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com> <20141104161459.28380.qmail@cr.yp.to> <CAMm+Lwhcy8mA+XjBBkh8c+smOQONj+_rgF7q0ALesSQmUx9yqg@mail.gmail.com>
Date: Tue, 4 Nov 2014 08:44:12 -0800
Message-ID: <CACsn0c=Cte0XqzYpzVqyUCmczvQJEu88zpHOWZOdY4DM4Cv9wg@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/nMNWV_v5oyGZCw_2gYn9WCgBIAI
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] the "tradition" of powers of 2
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 16:44:14 -0000

On Tue, Nov 4, 2014 at 8:24 AM, Phillip Hallam-Baker
<phill@hallambaker.com> wrote:
> And which of these choices did the community adopt widely?
> c
> AES 128
> AES 256
> RSA 512
> RSA 1024
> RSA 2408
> RSA 4096
> MD5 (128 bits)
> SHA1 (160 bits)
> SHA-2 (256 / 512 bits)
>
> The only choice not a power of 2 that was widely used is SHA-1 at
> 160Bits. But that was largely chosen by default after MD5 was found
> wanting.

Wrong: Triple-DES was and is used widely in banking. Binary curves are
used widely in hardware.

>
> Use of RSA1280 is limited to DNSSEC which has very peculiar limitations.
>
>
> Yes, lots of folk have tried lots of different key sizes over the
> years. But thats not the point. The point is which key sizes have
> become ubiquitous choices.


From nobody Tue Nov  4 09:01:32 2014
Return-Path: <prvs=638580723b=uri@ll.mit.edu>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2CD121A9149 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 09:01:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.793
X-Spam-Level: 
X-Spam-Status: No, score=-4.793 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.594, UNPARSEABLE_RELAY=0.001] autolearn=ham
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 pl-7BvcKfqWg for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 09:01:29 -0800 (PST)
Received: from mx1.ll.mit.edu (MX1.LL.MIT.EDU [129.55.12.45]) by ietfa.amsl.com (Postfix) with ESMTP id 630441A9163 for <cfrg@irtf.org>; Tue,  4 Nov 2014 09:01:28 -0800 (PST)
Received: from LLE2K10-HUB02.mitll.ad.local (LLE2K10-HUB02.mitll.ad.local) by mx1.ll.mit.edu (unknown) with ESMTP id sA4H1HTE024938; Tue, 4 Nov 2014 12:01:17 -0500
From: "Blumenthal, Uri - 0558 - MITLL" <uri@ll.mit.edu>
To: Watson Ladd <watsonbladd@gmail.com>, Phillip Hallam-Baker <phill@hallambaker.com>
Thread-Topic: [Cfrg] the "tradition" of powers of 2
Thread-Index: AQHP+EqIPtGTNdbIaEaHaDvd/ek6QJxQ+rqAgAAFogD//7DDAA==
Date: Tue, 4 Nov 2014 17:01:17 +0000
Message-ID: <D07E6E38.1C75F%uri@ll.mit.edu>
References: <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com> <20141104161459.28380.qmail@cr.yp.to> <CAMm+Lwhcy8mA+XjBBkh8c+smOQONj+_rgF7q0ALesSQmUx9yqg@mail.gmail.com> <CACsn0c=Cte0XqzYpzVqyUCmczvQJEu88zpHOWZOdY4DM4Cv9wg@mail.gmail.com>
In-Reply-To: <CACsn0c=Cte0XqzYpzVqyUCmczvQJEu88zpHOWZOdY4DM4Cv9wg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.4.140807
x-originating-ip: [172.25.177.187]
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha256; boundary="B_3497947236_37054673"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52, 1.0.28,  0.0.0000 definitions=2014-11-04_07:2014-11-04,2014-11-04,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1411040153
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Y56hOtJf7rSkVQ0Fs53tYZyuXPw
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] the "tradition" of powers of 2
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 17:01:32 -0000

--B_3497947236_37054673
Content-type: text/plain;
	charset="UTF-8"
Content-transfer-encoding: quoted-printable

On 11/4/14, 11:44 , "Watson Ladd" <watsonbladd@gmail.com> wrote:

>On Tue, Nov 4, 2014 at 8:24 AM, Phillip Hallam-Baker
><phill@hallambaker.com> wrote:
>> And which of these choices did the community adopt widely?
>>
>> AES 128, AES 256, RSA 512, RSA 1024, RSA 2408, =E2=80=A6=E2=80=A6.
>>
>> The only choice not a power of 2 that was widely used is SHA-1 at
>> 160Bits. But that was largely chosen by default after MD5 was found
>> wanting.
>
>Wrong: Triple-DES was and is used widely in banking.

IMHO, Triple-DES does not represent community thinking and community
choices. DES had 64 bits for key, of which 8 were fixed as parity -
leaving 56 actual/effective key bits. There was no alternative to DES for
a very long time, so it was Hobson=E2=80=99s choice. Triple-DES does DES three
times. That means 56*2=3D112 or 56*3=3D168 key bits.

Triple-DES is still used, mostly to interoperate with sites too resistant
to change. The number of those goes down every day.

--B_3497947236_37054673
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIIUOAYJKoZIhvcNAQcCoIIUKTCCFCUCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0B
BwGgghIHMIIE6jCCA9KgAwIBAgIKH0XZoAAAAAABzTANBgkqhkiG9w0BAQsFADBRMQswCQYD
VQQGEwJVUzEfMB0GA1UEChMWTUlUIExpbmNvbG4gTGFib3JhdG9yeTEMMAoGA1UECxMDUEtJ
MRMwEQYDVQQDEwpNSVRMTCBDQS0zMB4XDTE0MDQxNjIxNTMwMloXDTE1MDQxNjIxNTMwMlow
YTELMAkGA1UEBhMCVVMxHzAdBgNVBAoTFk1JVCBMaW5jb2xuIExhYm9yYXRvcnkxDzANBgNV
BAsTBlBlb3BsZTEgMB4GA1UEAxMXQmx1bWVudGhhbC5VcmkuNTAwMTA1ODQwggEiMA0GCSqG
SIb3DQEBAQUAA4IBDwAwggEKAoIBAQCx/gK75UYos2g8JavX0BVfe3TCGsmjQY34z9ZVeucP
8dGtqRA8T5i1OKdf++Jd81a0/qQA6mIGyzTW6lOtY+77qKUJtEeLM5URd+iv2EejAwxsa2B5
pMq9L9qWuVokR1rTEfEcuUeKR1Kko6xmRE/y6AzBnUhTvHx2X9F6JSVdR36Lx3R62CNeQqFi
ZDeHuTI8AhRY4UdPkri1FTDxV6gLYaLKxsGIurrL/6EzdlkX8ImTcxKzEmxX1VjTPy9ZRNYj
akDGcJF9clCfcwbq3DI3gAUkVxXf+UbHEjzOCVNQcoga7bYbBUuDpN25Lc86P9RaOiiICtyu
ZZP2P/2kkKYRAgMBAAGjggGyMIIBrjAdBgNVHQ4EFgQUEN9QHIi9GvlGjs9Th46jrfPir+Uw
DgYDVR0PAQH/BAQDAgbAMB8GA1UdIwQYMBaAFNdgZg57SY11TA39z0beyMcSh8q/MDMGA1Ud
HwQsMCowKKAmo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yiKso2aACl9jrkylq39cA/WgvAlS21w9vxVpDGCAfUwggHxAgEBMF8wUTELMAkGA1UE
BhMCVVMxHzAdBgNVBAoTFk1JVCBMaW5jb2xuIExhYm9yYXRvcnkxDDAKBgNVBAsTA1BLSTET
MBEGA1UEAxMKTUlUTEwgQ0EtMwIKH0XZoAAAAAABzTANBglghkgBZQMEAgEFAKBpMC8GCSqG
SIb3DQEJBDEiBCDPv7euB/yCX3eyQclFsyexXI+qy+JW7B7Lgzuuq+y2lzAYBgkqhkiG9w0B
CQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNDExMDQxNzAwMzZaMA0GCSqGSIb3
DQEBAQUABIIBABeqC0Xh6xOju8yf/rQwFWOwS1RvFJmILbq/74fmaHKPoDMOmOJfkJkM0F+t
NAtffSoapwmZvUfk1mLFdDTgBV2J3eRT4TZ0HgIMorKH28grvjUSWBD+J6WKK7/dRgOGlDg5
AHkveEYGlV9MQY0LygbxJFeYiP7Qf4xlcpJAW3vHeoEoDlIlH0Y8pCodQOoskkRnqOPRDHd4
38/SeqgxDAxXgJueqY8HvvX6rl9D5gW0SMxRXl+zyBUISZou+v2hvHYdaiKFx5N6PgyFabv/
kOgSSpvN6jnb9IqREM1sdvniyRanp/5Ua56/+E3pX4VQcJ1T1S1m9vi7ijppQc0RgYk=

--B_3497947236_37054673--


From nobody Tue Nov  4 09:12:59 2014
Return-Path: <Torsten.Schuetze@gmx.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A62951AC3B2 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 09:12:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.194
X-Spam-Level: 
X-Spam-Status: No, score=-2.194 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.594, SPF_PASS=-0.001] autolearn=ham
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 nT8klYGbTMLy for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 09:12:26 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B59291A8ABF for <cfrg@irtf.org>; Tue,  4 Nov 2014 09:12:25 -0800 (PST)
Received: from [80.246.32.33] by 3capp-gmx-bs12.server.lan (via HTTP); Tue, 4 Nov 2014 18:12:20 +0100
MIME-Version: 1.0
Message-ID: <trinity-a5213dd5-2cf4-4773-b351-4d5f9ff42fe6-1415121139885@3capp-gmx-bs12>
From: =?UTF-8?Q?=22Torsten_Sch=C3=BCtze=22?= <Torsten.Schuetze@gmx.net>
To: "Watson Ladd" <watsonbladd@gmail.com>
Content-Type: text/plain; charset=UTF-8
Date: Tue, 4 Nov 2014 18:12:20 +0100
Importance: normal
Sensitivity: Normal
In-Reply-To: <CACsn0c=Cte0XqzYpzVqyUCmczvQJEu88zpHOWZOdY4DM4Cv9wg@mail.gmail.com>
References: <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com> <20141104161459.28380.qmail@cr.yp.to> <CAMm+Lwhcy8mA+XjBBkh8c+smOQONj+_rgF7q0ALesSQmUx9yqg@mail.gmail.com>, <CACsn0c=Cte0XqzYpzVqyUCmczvQJEu88zpHOWZOdY4DM4Cv9wg@mail.gmail.com>
X-UI-Message-Type: mail
X-Priority: 3
X-Provags-ID: V03:K0:ZIM9Pxqlbr5HtQJwaIka/axqAFpIQSX20DlfdC5uxFI YohlBq+j7/BDiugqL/5D5nwcnTcECFOKLYEMif0kfbXmeYJKO1 fRUGbL0G9tiPmyd+S/Eywk2j1+tY/j2b2riATXn7TwuPk1gl9H 0EzJ3A7b0G+C2H7XMTbSOEXSQO5nXeOXflqniGus+phulXtJ1Z uNKTfAG3Ii2EqUUHzxU6A4zSfp8U59vY1MPgMFhTstqbInpL6R dsuc4yvTGYCVNnyyBAY43Pd1SE5XAvkakDDt8jZXHShayViwy5 29wr8E=
X-UI-Out-Filterresults: notjunk:1;
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/fjn5sI5Fgtbu4spwB0QRaNUqT6A
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] the "tradition" of powers of 2
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 17:12:56 -0000

Watson Ladd wrote:
> On Tue, Nov 4, 2014 at 8:24 AM, Phillip Hallam-Baker
> <phill@hallambaker.com> wrote:
> > The only choice not a power of 2 that was widely used is SHA-1 at
> > 160Bits. But that was largely chosen by default after MD5 was found
> > wanting.
> 
> Wrong: ... Binary curves are
> used widely in hardware.

Not in Germany and in Austria. In the late 1990s/the beginning 2000s there were a number of GF(2^n) smart card projects in these countries. They have ALL been replaced by GF(p) curves. Even Car2Car chooses GF(p), although there are HUGE performance requirements. It's not that easy to find high performance hardware implementations for GF(p) with general p. (I was looking for some of them for C2C some years ago.)

So coming back to E-521/P-521. I understand the performance aspects of this special prime quite well. Neglecting for a moment the Mersenne structure and only considering bit length:
Some years ago (>10 y) we did some smart card implementations with NIST and Brainpool curves (256, 384 and 512/521 bit). The unfortunate thing about 521 is that, in this case, and ONLY in this case, the randomization buffer (to the register boundary 540 bit plus some underflow buffer of x-bit) becomes smaller than usual, i.e., with 512 bit (and of course 256/384 bit) we used larger blinding factors than with 521. This was with Crypto@2304 bit, so registers 576/1152/2304 (minus 32 bit underflow). Of course, one could have used the larger registers, but only with some performance drawbacks. So, bit lengths exceeding powers of two matter, in this case security-wise.

Yes, this "old, rusty hardware" again ;-) Alyssa, is there a copyright on this?

Torsten

PS: Before someone asks: Yes, the crypto coprocessor can use variable length of registers, but there is an upper boundary. So you don't have to compute with 512 bit numbers if your number is only 400 bit wide.


From nobody Tue Nov  4 10:03:06 2014
Return-Path: <hallam@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 04BDD1ACD2C for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 10:03:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 mN6lKgnUJeEY for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 10:03:04 -0800 (PST)
Received: from mail-la0-x233.google.com (mail-la0-x233.google.com [IPv6:2a00:1450:4010:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 33AD11ACD3D for <cfrg@irtf.org>; Tue,  4 Nov 2014 10:02:44 -0800 (PST)
Received: by mail-la0-f51.google.com with SMTP id q1so1366763lam.38 for <cfrg@irtf.org>; Tue, 04 Nov 2014 10:02:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Jv1f+0JHp5V3bU9ZEjdbWMBfMy04Hx0W9er5L1W3fCw=; b=PJ3Cms9iN4fioi1XBdJ6BBIFMFskHCR8WAtOJLwKsXGa+YbfLGjucUJIZ3BUGFBxYg krN5bLTjIu6YfJ8khjtZexw/NVh4+D8EDJQFndVOF2uwqC75v21e4BoPn1FhkwTNGMNL vTcD48bFMJ31r18uUtXC4ySamaOigLxzGfx12sZnzq87WTkgVdyVFnKC431+pDcvjQQh dOFtSDhmUU/y5NHLlRlH/wM1CGa9vfZXD5bVBhvL2O9CdApny2g0fE0zy0WGJxFX1a/+ 6G/8K+iPQgDOKZMhaAzp69pZGnzeFW2AKZ82kbEM33QP1IvqsRAl3sVIvLfN//Jb02aP eE+Q==
MIME-Version: 1.0
X-Received: by 10.152.45.98 with SMTP id l2mr24462573lam.85.1415124160886; Tue, 04 Nov 2014 10:02:40 -0800 (PST)
Sender: hallam@gmail.com
Received: by 10.112.214.163 with HTTP; Tue, 4 Nov 2014 10:02:40 -0800 (PST)
In-Reply-To: <CACsn0cnhy61JmAiK_oLrqk6zB=E=z1CeHTxp10hNUJHgYxvCag@mail.gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com> <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com> <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com> <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com> <CAMm+Lwi9x8JMM2UJCxHL2K5esj9+tRJEefi3e=L7PaBFBjxYGA@mail.gmail.com> <CACsn0c=0LdMkCW6t81iFqFLE6o+Xk-pXNdUy9WEvdknMHrWQbg@mail.gmail.com> <CAMm+Lwg0DYUXsjBd1kjErpyckGKHovGbGiUpOC589RfVhqMn7w@mail.gmail.com> <CACsn0cnhy61JmAiK_oLrqk6zB=E=z1CeHTxp10hNUJHgYxvCag@mail.gmail.com>
Date: Tue, 4 Nov 2014 13:02:40 -0500
X-Google-Sender-Auth: lP9YQ9yNli08TCPU1_m8-qEoH44
Message-ID: <CAMm+LwiVFTOFaJNUbhrc5ASb4Dt2gw8O33ywfbkUDw0vMs5gPw@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/rPmyNQm_zHK3z26BSJcynMjdHTE
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 18:03:05 -0000

On Tue, Nov 4, 2014 at 11:32 AM, Watson Ladd <watsonbladd@gmail.com> wrote:

> Let me make this as concrete as possible: Why do you think that the
> only Mersenne prime in the range of exponents we are considering is a
> suspicious rule, but primes close to a power of 2 is not? Minimal c is
> very constraining: I think we got at most 60 primes. Is that still too
> many?

I think we both agree that the argument I made does exclude the random
curves which was the main point I was making.

I don't think that there is one clear decisive approach for ~512.



> We picked between them on the basis of performance: that seems very
> hard to game as performance is very restrictive.

But thats the problem, the hand picking part. I understand you aren't
trying to pull something but others have to have some explanation.


> Exactly: You are saying that 2^521-1 is much more suspicious than
> 2^512-whatever, because you can explain the choice of 2^512-whatever
> more easily than 2^521-1. But you haven't been able to give me an
> explanation, so why should I assume you can give someone else an
> explanation?

You are demanding an explanation for 'best'. What I am looking for is
to prove to someone that there isn't any jiggery going on. Its a
different criteria.



>> The proposition that the NUMS curves are not rigid according to their
>> selection criteria is falsifiable by anyone who does the math.
>
> So is the proposition that the parameters for the other curves depend
> only on the prime. They do. The question comes down to which prime.

Exactly. And we need a decision procedure for the decision procedure.


I think the decision space comes down to:

1) Curve 25519 versus P256
2) P512 or P521

At this point I think Curve25519 looks like the better choice at ~256.
We are going to have to deal with it anyway. Its the Performance
curve.

~512 is a harder decision because there are two possible decision
criteria that can be applied.


We could throw it out to a poll on Boing Boing.


From nobody Tue Nov  4 11:21:15 2014
Return-Path: <ynir.ietf@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 125901A6FF5 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 11:21:14 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 z4RDJ0_paAMn for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 11:21:13 -0800 (PST)
Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AA2861A6FF8 for <cfrg@irtf.org>; Tue,  4 Nov 2014 11:21:12 -0800 (PST)
Received: by mail-wi0-f171.google.com with SMTP id q5so10377640wiv.10 for <cfrg@irtf.org>; Tue, 04 Nov 2014 11:21:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=F8WasKHJ2TOsnX4gIDZcpJ+07u3kHbO2jf4CUDzE3g8=; b=vdEBW+xtVwbYfiwsu8cBk4NZkfUtToIpZY6rlMFemWvAxC79r9D0NwNgVfalH2qkTu x2bkfY8O+c1du1Bvf39NZEgCmiR6tv8WEG8h54/kCojFHO9FKxYEfi+UusRTP4Vmx9WS hwnrGNOsyZphMVsQVKX2c61PowhrYrRPIUOQjAPHhTrXD8F+e4iSPcGwTrBr8BJpiRap D7t7Tepj0qQeXN+qUVmXDsuPdYqUMc+Uaf314U6a0nPMFYrSpbeEn+FOkd9AeUcBoX6e D6LI9pAS49DdFWxXTLDWcrprcZz/mccYSo4TBEEJfOnwtYRyDmnQmUiGYSv5h/aGQtkc JIxg==
X-Received: by 10.180.87.33 with SMTP id u1mr44944wiz.20.1415128871221; Tue, 04 Nov 2014 11:21:11 -0800 (PST)
Received: from [192.168.1.103] (IGLD-84-228-87-161.inter.net.il. [84.228.87.161]) by mx.google.com with ESMTPSA id hk9sm1506615wjb.46.2014.11.04.11.21.10 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Nov 2014 11:21:10 -0800 (PST)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <CAMm+LwiVFTOFaJNUbhrc5ASb4Dt2gw8O33ywfbkUDw0vMs5gPw@mail.gmail.com>
Date: Tue, 4 Nov 2014 21:21:08 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <3DA3F2F4-DDDF-4E2B-AC24-2AA5052DEABF@gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com> <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com> <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com> <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com> <CAMm+Lwi9x8JMM2UJCxHL2K5esj9+tRJEefi3e=L7PaBFBjxYGA@mail.gmail.com> <CACsn0c=0LdMkCW6t81iFqFLE6o+Xk-pXNdUy9WEvdknMHrWQbg@mail.gmail.com> <CAMm+Lwg0DYUXsjBd1kjErpyckGKHovGbGiUpOC589RfVhqMn7w@mail.gmail.com> <CACsn0cnhy61JmAiK_oLrqk6zB=E=z1CeHTxp10hNUJHgYxvCag@mail.gmail.com> <CAMm+LwiVFTOFaJNUbhrc5ASb4Dt2gw8O33ywfbkUDw0vMs5gPw@mail.gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
X-Mailer: Apple Mail (2.1990.1)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/RZlwfc7ugfqhTS4kWp9N-9mUqPc
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 19:21:14 -0000

>>> The proposition that the NUMS curves are not rigid according to =
their
>>> selection criteria is falsifiable by anyone who does the math.
>>=20
>> So is the proposition that the parameters for the other curves depend
>> only on the prime. They do. The question comes down to which prime.
>=20
> Exactly. And we need a decision procedure for the decision procedure.
>=20
>=20
> I think the decision space comes down to:
>=20
> 1) Curve 25519 versus P256
> 2) P512 or P521
>=20
> At this point I think Curve25519 looks like the better choice at ~256.
> We are going to have to deal with it anyway. Its the Performance
> curve.
>=20
> ~512 is a harder decision because there are two possible decision
> criteria that can be applied.

That assumes that there has been a decision to select a ~512 curve. Many =
of us prefer that we select goldilocks for the performance gain vs both =
P512 and E-521.


From nobody Tue Nov  4 11:37:13 2014
Return-Path: <hallam@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D41E1A7020 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 11:37:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 AX6BzWZ4N2lZ for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 11:37:08 -0800 (PST)
Received: from mail-lb0-x232.google.com (mail-lb0-x232.google.com [IPv6:2a00:1450:4010:c04::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 71A721A70E1 for <cfrg@irtf.org>; Tue,  4 Nov 2014 11:37:08 -0800 (PST)
Received: by mail-lb0-f178.google.com with SMTP id f15so13031600lbj.37 for <cfrg@irtf.org>; Tue, 04 Nov 2014 11:37:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=tbqI54w2jRHF5wp17OF1nU3NL+QOJm8cXJzkfGSXgcE=; b=dIdwqd1KzNHiNEitU4vXjBzjpApsET+ZypDV5Uv/RQCkv4cuK4Ce+SZybq1Yv4+cee vAdjZ/tmcMk9sORvaQyYKy7Y90Ef7BSMu06RGWcdRU/SLvfslHXpRYQMLvfIYML948ly kdh83cYr/AyI/NOWiDYoda/36QN6CC/vR4PWaMQNH0BeZDatx0ddekZ9JHZAFehaThrr kuKQM7qlI4I2aDDYdEGB3DwBZeBoCm6viidHsd4705QcqigxtWkhOEAST2qZUXTjbcOq B5uvv55izj+BlHbrMwDNdzclGBShOlg+yhNl7YlqM9jD5AMe7621yrnqktshnNcZMOuw az5A==
MIME-Version: 1.0
X-Received: by 10.152.87.131 with SMTP id ay3mr23242722lab.97.1415129826483; Tue, 04 Nov 2014 11:37:06 -0800 (PST)
Sender: hallam@gmail.com
Received: by 10.112.214.163 with HTTP; Tue, 4 Nov 2014 11:37:06 -0800 (PST)
In-Reply-To: <3DA3F2F4-DDDF-4E2B-AC24-2AA5052DEABF@gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com> <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com> <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com> <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com> <CAMm+Lwi9x8JMM2UJCxHL2K5esj9+tRJEefi3e=L7PaBFBjxYGA@mail.gmail.com> <CACsn0c=0LdMkCW6t81iFqFLE6o+Xk-pXNdUy9WEvdknMHrWQbg@mail.gmail.com> <CAMm+Lwg0DYUXsjBd1kjErpyckGKHovGbGiUpOC589RfVhqMn7w@mail.gmail.com> <CACsn0cnhy61JmAiK_oLrqk6zB=E=z1CeHTxp10hNUJHgYxvCag@mail.gmail.com> <CAMm+LwiVFTOFaJNUbhrc5ASb4Dt2gw8O33ywfbkUDw0vMs5gPw@mail.gmail.com> <3DA3F2F4-DDDF-4E2B-AC24-2AA5052DEABF@gmail.com>
Date: Tue, 4 Nov 2014 14:37:06 -0500
X-Google-Sender-Auth: HU-DoNjoCSyPsCcPdGmAAIfzxik
Message-ID: <CAMm+Lwjbpv2k-ajmNz-DkAb27Sbf=8sJ9B=-XZBZK7Ci1US4jw@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: Yoav Nir <ynir.ietf@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/CFbgftPP2-4M5LPV8r5owUGN1bI
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 19:37:10 -0000

On Tue, Nov 4, 2014 at 2:21 PM, Yoav Nir <ynir.ietf@gmail.com> wrote:
>>>> The proposition that the NUMS curves are not rigid according to their
>>>> selection criteria is falsifiable by anyone who does the math.
>>>
>>> So is the proposition that the parameters for the other curves depend
>>> only on the prime. They do. The question comes down to which prime.
>>
>> Exactly. And we need a decision procedure for the decision procedure.
>>
>>
>> I think the decision space comes down to:
>>
>> 1) Curve 25519 versus P256
>> 2) P512 or P521
>>
>> At this point I think Curve25519 looks like the better choice at ~256.
>> We are going to have to deal with it anyway. Its the Performance
>> curve.
>>
>> ~512 is a harder decision because there are two possible decision
>> criteria that can be applied.
>
> That assumes that there has been a decision to select a ~512 curve. Many =
of us prefer that we select goldilocks for the performance gain vs both P51=
2 and E-521.

OK so we add P448 and P480 back in, happy?


While I was looking up the security level, I found this:
http://sourceforge.net/p/ed448goldilocks/wiki/Home/

Ed448-Goldilocks is the elliptic curve:

x2 + y2 =E2=89=A3 1 - 39081x2y2 mod 2448 - 2224 - 1

This is a 448-bit Edwards curve with a 223-bit conjectured security
level. It is designed for spinal tap grade security.


I think the term 'spinal tap grade security' describes the criteria
here. The main problem with ED448 is that it does not meet the naive
'double the key size' criteria to make the 2^256 Work Factor criteria
even though some folk have argued that the work factor is considerably
better than 2^256.

>From a decision point of view I think Watson's approach of taking the
fastest curve of 512 bits or more is easier to defend than going
lower.


From nobody Tue Nov  4 12:14:19 2014
Return-Path: <ynir.ietf@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 08F241ACE55 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 12:14:19 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 WAG6Fk8cI2py for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 12:14:17 -0800 (PST)
Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DA74E1ACE53 for <cfrg@irtf.org>; Tue,  4 Nov 2014 12:14:16 -0800 (PST)
Received: by mail-wi0-f181.google.com with SMTP id n3so143549wiv.2 for <cfrg@irtf.org>; Tue, 04 Nov 2014 12:14:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=pAhAx62NTCuVrKY21F6AdZ52oAeE6ya+zpWyB+uTigE=; b=rSGOuUicAXS4ljdzOs94ao/PiwkDkudQmMoLjmNuVevGQExtUR03xV6lZOE2GdieGx XBbYMQy1TqZs3gFs9MOfQLMKuGSd1u7I853Nv0qBMfbHXdK+u+5CtPMv3MZDW9Unv+Oj qH0jT2+yJHpnUFZUtdR4Do1iB5JIrTZ8+7G5LykCWOvrKk1e12L+NmqbIRWhGMmc/Stm 8E49sGA/N7uyZvzY1d2lhicTJBt3SikkT9rBw5QhDOXyQO7J8yl9KQYw9wAkg16+pdDe zi8zuIcjzFUkCB6SATbLeoMgRlg/hhP/TUMkaHl0hfNfkm24JPEagqqnwN2kDNlrgvrU LRgg==
X-Received: by 10.180.107.136 with SMTP id hc8mr26302322wib.78.1415132055468;  Tue, 04 Nov 2014 12:14:15 -0800 (PST)
Received: from [192.168.1.103] (IGLD-84-228-87-161.inter.net.il. [84.228.87.161]) by mx.google.com with ESMTPSA id m6sm2173449wiy.16.2014.11.04.12.14.14 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Nov 2014 12:14:14 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <CAMm+Lwjbpv2k-ajmNz-DkAb27Sbf=8sJ9B=-XZBZK7Ci1US4jw@mail.gmail.com>
Date: Tue, 4 Nov 2014 22:14:12 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <0ACD2A10-BFFE-4F6A-B925-E948F99FFA4A@gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com> <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com> <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com> <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com> <CAMm+Lwi9x8JMM2UJCxHL2K5esj9+tRJEefi3e=L7PaBFBjxYGA@mail.gmail.com> <CACsn0c=0LdMkCW6t81iFqFLE6o+Xk-pXNdUy9WEvdknMHrWQbg@mail.gmail.com> <CAMm+Lwg0DYUXsjBd1kjErpyckGKHovGbGiUpOC589RfVhqMn7w@mail.gmail.com> <CACsn0cnhy61JmAiK_oLrqk6zB=E=z1CeHTxp10hNUJHgYxvCag@mail.gmail.com> <CAMm+LwiVFTOFaJNUbhrc5ASb4Dt2gw8O33ywfbkUDw0vMs5gPw@mail.gmail.com> <3DA3F2F4-DDDF-4E2B-AC24-2AA5052DEABF@gmail.com> <CAMm+Lwjbpv2k-ajmNz-DkAb27Sbf=8sJ9B=-XZBZK7Ci1US4jw@mail.gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
X-Mailer: Apple Mail (2.1990.1)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/gquStFXHRufPAIvqWkY4SDWBIuo
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 20:14:19 -0000

> On Nov 4, 2014, at 9:37 PM, Phillip Hallam-Baker =
<phill@hallambaker.com> wrote:
>=20
> On Tue, Nov 4, 2014 at 2:21 PM, Yoav Nir <ynir.ietf@gmail.com> wrote:
>>>>> The proposition that the NUMS curves are not rigid according to =
their
>>>>> selection criteria is falsifiable by anyone who does the math.
>>>>=20
>>>> So is the proposition that the parameters for the other curves =
depend
>>>> only on the prime. They do. The question comes down to which prime.
>>>=20
>>> Exactly. And we need a decision procedure for the decision =
procedure.
>>>=20
>>>=20
>>> I think the decision space comes down to:
>>>=20
>>> 1) Curve 25519 versus P256
>>> 2) P512 or P521
>>>=20
>>> At this point I think Curve25519 looks like the better choice at =
~256.
>>> We are going to have to deal with it anyway. Its the Performance
>>> curve.
>>>=20
>>> ~512 is a harder decision because there are two possible decision
>>> criteria that can be applied.
>>=20
>> That assumes that there has been a decision to select a ~512 curve. =
Many of us prefer that we select goldilocks for the performance gain vs =
both P512 and E-521.
>=20
> OK so we add P448 and P480 back in, happy?

Ecstatic.

> While I was looking up the security level, I found this:
> http://sourceforge.net/p/ed448goldilocks/wiki/Home/
>=20
> Ed448-Goldilocks is the elliptic curve:
>=20
> x2 + y2 =E2=89=A3 1 - 39081x2y2 mod 2448 - 2224 - 1
>=20
> This is a 448-bit Edwards curve with a 223-bit conjectured security
> level. It is designed for spinal tap grade security.

If 223-bit is turning the dial to 11, then what is 256-bit? Does your =
dial go to 12?

> I think the term 'spinal tap grade security' describes the criteria
> here. The main problem with ED448 is that it does not meet the naive
> 'double the key size' criteria to make the 2^256 Work Factor criteria
> even though some folk have argued that the work factor is considerably
> better than 2^256.

So who=E2=80=99s criterion is it that we need 2^256 work factor? Only =
you are arguing for it, and even you are speaking on behalf of some =
unnamed other people.

> =46rom a decision point of view I think Watson's approach of taking =
the
> fastest curve of 512 bits or more is easier to defend than going
> lower.

My concern is that if we=E2=80=99re specifying two curves, most =
implementations will implement both, and set the faster one as default =
or preferred. At some point, two things might happen.

First, some flaw could be found in the lower curve that necessitates =
switching, but does not invalidate the whole class of curves. Because =
everyone implemented the stronger curve, everyone switches to using it. =
I think it=E2=80=99s important to have the stronger curve have good =
enough performance that server operators are not left with the choice of =
using a broken curve or having their servers crumble under the load of =
handshakes. IOW we should get as much work factor as we can without =
impacting the performance too much.

Second, some government agency in some country or some group of auditors =
might decide to =E2=80=9Cturn the dial all the way to 11=E2=80=9D, and =
mandate the stronger curve. This is not far-fetched. We=E2=80=99re =
already seeing auditors requiring AES-256, NIST P-384, and on occasion, =
RSA 4096 and IKE Diffie-Hellman group 18 (that=E2=80=99s 8192-bit FF =
DHE). For the unfortunate souls who have to deal with such auditors, we =
should treat the choice of the stronger curve as something that is =
likely to see actual use, not as some doomsday device that we keep =
locked away in the basement. Watson=E2=80=99s approach is along those =
lines, but doesn=E2=80=99t IMO go far enough.

Yoav=


From nobody Tue Nov  4 12:38:13 2014
Return-Path: <b@b3k.us>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7290B1ACED4 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 12:38:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 SFy6AQS7-xD8 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 12:38:09 -0800 (PST)
Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 82B441A8737 for <cfrg@irtf.org>; Tue,  4 Nov 2014 12:38:08 -0800 (PST)
Received: by mail-wi0-f170.google.com with SMTP id q5so9725116wiv.3 for <cfrg@irtf.org>; Tue, 04 Nov 2014 12:38:07 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=e64gGDFn9oTPwjazsVoN1xaF1lAAz9OZ8EIQhike5fc=; b=FiM/7QLoY2CZXxfBsYy7PaFnAzFw3LmXNzKrdU2sEBpzfmGB28ify9ELapHeitAIX3 GIMDoa5YDZoafuNfuH/W/umGPbR39nPtx48TLGcUGyJT3TLYulJZltt39ccLLGf4KLc3 80V7ieKh3hWv1sEk5cmPoaIzVRhwp66qQoFcosVy/ONrkRCbQdFWjvYztzIPxAbgqMfA fyz6HuwfLs9Y+y8pCgsI0ah8NJF0KLcAVRsuxxDtUtpQFYbmMp53/qFB9AbqWE+KGEJc k4XnA0BaeI78KFbelvcfRiICQhPXSMYrYCqEEVLeXsm9XifkHExzE3yXfy6o5w2a/hu3 qV3Q==
X-Gm-Message-State: ALoCoQkG7113pQ4zdHA1SUtjAMAbYr2dnPk+uCXOeI76jKU3+9S/tqn35tr5sdwaMiCpJZlpJz4S
X-Received: by 10.194.242.4 with SMTP id wm4mr57845767wjc.61.1415133487112; Tue, 04 Nov 2014 12:38:07 -0800 (PST)
MIME-Version: 1.0
Received: by 10.216.197.194 with HTTP; Tue, 4 Nov 2014 12:37:46 -0800 (PST)
In-Reply-To: <CAMm+Lwjbpv2k-ajmNz-DkAb27Sbf=8sJ9B=-XZBZK7Ci1US4jw@mail.gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com> <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com> <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com> <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com> <CAMm+Lwi9x8JMM2UJCxHL2K5esj9+tRJEefi3e=L7PaBFBjxYGA@mail.gmail.com> <CACsn0c=0LdMkCW6t81iFqFLE6o+Xk-pXNdUy9WEvdknMHrWQbg@mail.gmail.com> <CAMm+Lwg0DYUXsjBd1kjErpyckGKHovGbGiUpOC589RfVhqMn7w@mail.gmail.com> <CACsn0cnhy61JmAiK_oLrqk6zB=E=z1CeHTxp10hNUJHgYxvCag@mail.gmail.com> <CAMm+LwiVFTOFaJNUbhrc5ASb4Dt2gw8O33ywfbkUDw0vMs5gPw@mail.gmail.com> <3DA3F2F4-DDDF-4E2B-AC24-2AA5052DEABF@gmail.com> <CAMm+Lwjbpv2k-ajmNz-DkAb27Sbf=8sJ9B=-XZBZK7Ci1US4jw@mail.gmail.com>
From: Benjamin Black <b@b3k.us>
Date: Tue, 4 Nov 2014 12:37:46 -0800
Message-ID: <CA+Vbu7w_sFfQj4k9HE-h36SNeyDj6y=-2=hKLpv68zpv+kxFgQ@mail.gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Content-Type: multipart/alternative; boundary=089e01419af6cf372805070e7098
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/jzk_I6VB98JoZB7uYFvf1wZg30g
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 20:38:11 -0000

--089e01419af6cf372805070e7098
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Speed of a specific implementation, even the fastest available today for a
given curve on a given platform, is not rigid. Where is the formal
performance model by which curves will be judged? Where is the evidence
that sacrificing some security for small performance gains for some
implementations on some benchmarks on some platforms is a reasonable
trade-off? If you want to argue cycles per bit of security, even assuming a
performance model, then what evidence is there that 25519, which you
suggest, is the most efficient near the 128-bit level?

There are some odd arguments being made here that powers of 2 are arbitrary
but "about" 128-bit as the "right" security level is not. If you accept the
argument made previously that AES-128 is only 80-bit secure and that
performance is paramount, then one conclusion is we only need an 80-bit
secure curve, which will be far faster than anything being discussed near
128-bits. If, instead, you argue that 128(ish)-bits of security is the
"right" level, and the symmetric cipher strength should be increased to
meet or exceed it, then you get AES-256 which gets you a 25%+ performance
hit.

I have trouble reconciling these arguments for performance and rigidity
when they are so contradictory, arbitrary, and informal.


b



On Tue, Nov 4, 2014 at 11:37 AM, Phillip Hallam-Baker <phill@hallambaker.co=
m
> wrote:

> On Tue, Nov 4, 2014 at 2:21 PM, Yoav Nir <ynir.ietf@gmail.com> wrote:
> >>>> The proposition that the NUMS curves are not rigid according to thei=
r
> >>>> selection criteria is falsifiable by anyone who does the math.
> >>>
> >>> So is the proposition that the parameters for the other curves depend
> >>> only on the prime. They do. The question comes down to which prime.
> >>
> >> Exactly. And we need a decision procedure for the decision procedure.
> >>
> >>
> >> I think the decision space comes down to:
> >>
> >> 1) Curve 25519 versus P256
> >> 2) P512 or P521
> >>
> >> At this point I think Curve25519 looks like the better choice at ~256.
> >> We are going to have to deal with it anyway. Its the Performance
> >> curve.
> >>
> >> ~512 is a harder decision because there are two possible decision
> >> criteria that can be applied.
> >
> > That assumes that there has been a decision to select a ~512 curve. Man=
y
> of us prefer that we select goldilocks for the performance gain vs both
> P512 and E-521.
>
> OK so we add P448 and P480 back in, happy?
>
>
> While I was looking up the security level, I found this:
> http://sourceforge.net/p/ed448goldilocks/wiki/Home/
>
> Ed448-Goldilocks is the elliptic curve:
>
> x2 + y2 =E2=89=A3 1 - 39081x2y2 mod 2448 - 2224 - 1
>
> This is a 448-bit Edwards curve with a 223-bit conjectured security
> level. It is designed for spinal tap grade security.
>
>
> I think the term 'spinal tap grade security' describes the criteria
> here. The main problem with ED448 is that it does not meet the naive
> 'double the key size' criteria to make the 2^256 Work Factor criteria
> even though some folk have argued that the work factor is considerably
> better than 2^256.
>
> >From a decision point of view I think Watson's approach of taking the
> fastest curve of 512 bits or more is easier to defend than going
> lower.
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>

--089e01419af6cf372805070e7098
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Speed of a specific implementation, even the fastest =
available today for a given curve on a given platform, is not rigid.=C2=A0W=
here is the formal performance model by which curves will be judged? Where =
is the evidence that sacrificing some security for small performance gains =
for some implementations on some benchmarks on some platforms is a reasonab=
le trade-off? If you want to argue cycles per bit of security, even assumin=
g a performance model, then what evidence is there that 25519, which you su=
ggest, is the most efficient near the 128-bit level?<br></div><div><br><div=
><div>There are some odd arguments being made here that powers of 2 are arb=
itrary but &quot;about&quot; 128-bit as the &quot;right&quot; security leve=
l is not. If you accept the argument made previously that AES-128 is only 8=
0-bit secure and that performance is paramount, then one conclusion is we o=
nly need an 80-bit secure curve, which will be far faster than anything bei=
ng discussed near 128-bits. If, instead, you argue that 128(ish)-bits of se=
curity is the &quot;right&quot; level, and the symmetric cipher strength sh=
ould be increased to meet or exceed it, then you get AES-256 which gets you=
 a 25%+ performance hit.</div></div><div><br></div><div>I have trouble reco=
nciling these arguments for performance and rigidity when they are so contr=
adictory, arbitrary, and informal.</div><div><br></div><div><br></div><div>=
b</div><div><br></div><div><br></div></div></div><div class=3D"gmail_extra"=
><br><div class=3D"gmail_quote">On Tue, Nov 4, 2014 at 11:37 AM, Phillip Ha=
llam-Baker <span dir=3D"ltr">&lt;<a href=3D"mailto:phill@hallambaker.com" t=
arget=3D"_blank">phill@hallambaker.com</a>&gt;</span> wrote:<br><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex"><span class=3D"">On Tue, Nov 4, 2014 at 2:21 PM, Yoav N=
ir &lt;<a href=3D"mailto:ynir.ietf@gmail.com">ynir.ietf@gmail.com</a>&gt; w=
rote:<br>
&gt;&gt;&gt;&gt; The proposition that the NUMS curves are not rigid accordi=
ng to their<br>
&gt;&gt;&gt;&gt; selection criteria is falsifiable by anyone who does the m=
ath.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; So is the proposition that the parameters for the other curves=
 depend<br>
&gt;&gt;&gt; only on the prime. They do. The question comes down to which p=
rime.<br>
&gt;&gt;<br>
&gt;&gt; Exactly. And we need a decision procedure for the decision procedu=
re.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I think the decision space comes down to:<br>
&gt;&gt;<br>
&gt;&gt; 1) Curve 25519 versus P256<br>
&gt;&gt; 2) P512 or P521<br>
&gt;&gt;<br>
&gt;&gt; At this point I think Curve25519 looks like the better choice at ~=
256.<br>
&gt;&gt; We are going to have to deal with it anyway. Its the Performance<b=
r>
&gt;&gt; curve.<br>
&gt;&gt;<br>
&gt;&gt; ~512 is a harder decision because there are two possible decision<=
br>
&gt;&gt; criteria that can be applied.<br>
&gt;<br>
&gt; That assumes that there has been a decision to select a ~512 curve. Ma=
ny of us prefer that we select goldilocks for the performance gain vs both =
P512 and E-521.<br>
<br>
</span>OK so we add P448 and P480 back in, happy?<br>
<br>
<br>
While I was looking up the security level, I found this:<br>
<a href=3D"http://sourceforge.net/p/ed448goldilocks/wiki/Home/" target=3D"_=
blank">http://sourceforge.net/p/ed448goldilocks/wiki/Home/</a><br>
<br>
Ed448-Goldilocks is the elliptic curve:<br>
<br>
x2 + y2 =E2=89=A3 1 - 39081x2y2 mod 2448 - 2224 - 1<br>
<br>
This is a 448-bit Edwards curve with a 223-bit conjectured security<br>
level. It is designed for spinal tap grade security.<br>
<br>
<br>
I think the term &#39;spinal tap grade security&#39; describes the criteria=
<br>
here. The main problem with ED448 is that it does not meet the naive<br>
&#39;double the key size&#39; criteria to make the 2^256 Work Factor criter=
ia<br>
even though some folk have argued that the work factor is considerably<br>
better than 2^256.<br>
<br>
&gt;From a decision point of view I think Watson&#39;s approach of taking t=
he<br>
fastest curve of 512 bits or more is easier to defend than going<br>
lower.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
_______________________________________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
<a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" target=3D"_blank">htt=
p://www.irtf.org/mailman/listinfo/cfrg</a><br>
</div></div></blockquote></div><br></div>

--089e01419af6cf372805070e7098--


From nobody Tue Nov  4 12:51:54 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8772F1ACEF3 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 12:51:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.699
X-Spam-Level: 
X-Spam-Status: No, score=-1.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001] autolearn=no
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 Q-IkxsakMKww for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 12:51:50 -0800 (PST)
Received: from mail-yh0-x233.google.com (mail-yh0-x233.google.com [IPv6:2607:f8b0:4002:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 14B501ACEF0 for <cfrg@irtf.org>; Tue,  4 Nov 2014 12:51:50 -0800 (PST)
Received: by mail-yh0-f51.google.com with SMTP id z6so4595806yhz.10 for <cfrg@irtf.org>; Tue, 04 Nov 2014 12:51:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VIJnHXc2ziBLNorh99O1o5PP/q6wPaBhwV6SjlrAIvo=; b=I8SR3S9nUs2LPRCSFZMl8lnHpre1zDa75GWxGK/oPI4+VfvqgpjzwXY4skBaYx8uhu 2V1RpX8ydR+lbNFrtw44c8fynETrWb4Nb+h0AkVQfJSzhKyiBhgn43QEBbnXhaGtg3HW g2i8+/nlEkjdLGxDIsfx+UiJ9qw2FTwMBa60Xe0joDPwCmkIHRqp2h6bNpBeFxt2kL3x 5SNozg6FNMTmx0NrjaJU4AUmMHFvnpjYlh+imbGnTi3M16TSVuBWCpwMcjQA8RjbOsnI hZSZJ9hRz2PN2JfihGMMXp+o2sgaddm4pt/pzyNsZrKHp0UbDAGfJwxy09ZldcMJLLiq Izkw==
MIME-Version: 1.0
X-Received: by 10.236.104.197 with SMTP id i45mr36335765yhg.99.1415134309365;  Tue, 04 Nov 2014 12:51:49 -0800 (PST)
Received: by 10.170.195.203 with HTTP; Tue, 4 Nov 2014 12:51:49 -0800 (PST)
Received: by 10.170.195.203 with HTTP; Tue, 4 Nov 2014 12:51:49 -0800 (PST)
In-Reply-To: <trinity-a5213dd5-2cf4-4773-b351-4d5f9ff42fe6-1415121139885@3capp-gmx-bs12>
References: <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com> <20141104161459.28380.qmail@cr.yp.to> <CAMm+Lwhcy8mA+XjBBkh8c+smOQONj+_rgF7q0ALesSQmUx9yqg@mail.gmail.com> <CACsn0c=Cte0XqzYpzVqyUCmczvQJEu88zpHOWZOdY4DM4Cv9wg@mail.gmail.com> <trinity-a5213dd5-2cf4-4773-b351-4d5f9ff42fe6-1415121139885@3capp-gmx-bs12>
Date: Tue, 4 Nov 2014 12:51:49 -0800
Message-ID: <CACsn0cm1JY_caa2Myr5m2oxpNHgJUBM+=uzwHpaGw+PRcL0CRA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: =?UTF-8?Q?Torsten_Sch=C3=BCtze?= <Torsten.Schuetze@gmx.net>
Content-Type: multipart/alternative; boundary=001a11c2c58ed1c0d805070ea18e
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/gv4g8Fy-g485gLhI6C45VgRk5Oc
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] the "tradition" of powers of 2
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 20:51:52 -0000

--001a11c2c58ed1c0d805070ea18e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Nov 4, 2014 9:12 AM, Torsten Sch=C3=BCtze <Torsten.Schuetze@gmx.net> wro=
te:
>
> Watson Ladd wrote:
> > On Tue, Nov 4, 2014 at 8:24 AM, Phillip Hallam-Baker
> > <phill@hallambaker.com> wrote:
> > > The only choice not a power of 2 that was widely used is SHA-1 at
> > > 160Bits. But that was largely chosen by default after MD5 was found
> > > wanting.
> >
> > Wrong: ... Binary curves are
> > used widely in hardware.
>
> Not in Germany and in Austria. In the late 1990s/the beginning 2000s
there were a number of GF(2^n) smart card projects in these countries. They
have ALL been replaced by GF(p) curves. Even Car2Car chooses GF(p),
although there are HUGE performance requirements. It's not that easy to
find high performance hardware implementations for GF(p) with general p. (I
was looking for some of them for C2C some years ago.)

I'd love to know more about this, probably offlist. Why is C2C not using
endomorphisms? Why was GF(p) liked more: I could guess some reasons but
they would be wrong.

>
> So coming back to E-521/P-521. I understand the performance aspects of
this special prime quite well. Neglecting for a moment the Mersenne
structure and only considering bit length:
> Some years ago (>10 y) we did some smart card implementations with NIST
and Brainpool curves (256, 384 and 512/521 bit). The unfortunate thing
about 521 is that, in this case, and ONLY in this case, the randomization
buffer (to the register boundary 540 bit plus some underflow buffer of
x-bit) becomes smaller than usual, i.e., with 512 bit (and of course
256/384 bit) we used larger blinding factors than with 521. This was with
Crypto@2304 bit, so registers 576/1152/2304 (minus 32 bit underflow). Of
course, one could have used the larger registers, but only with some
performance drawbacks. So, bit lengths exceeding powers of two matter, in
this case security-wise.

If the hardware had ten extra bits, it would have fit fine, unless I'm
missing something. Why should we worry about one particular unfortunate set
of choices?

Furthermore,  in software faster field arithmetic permits the use of
projective blinding. Brainpool's choice of random primes makes additive
blinding somewhat attractive.

But most users don't care about this sort of attack environment. Why should
we force a 2x slowdown on everyone for benefit of some hardware
implementations?

>
> Yes, this "old, rusty hardware" again ;-) Alyssa, is there a copyright on
this?
>
> Torsten
>
> PS: Before someone asks: Yes, the crypto coprocessor can use variable
length of registers, but there is an upper boundary. So you don't have to
compute with 512 bit numbers if your number is only 400 bit wide.

--001a11c2c58ed1c0d805070ea18e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On Nov 4, 2014 9:12 AM, Torsten Sch=C3=BCtze &lt;<a href=3D"mailto:Torsten.=
Schuetze@gmx.net">Torsten.Schuetze@gmx.net</a>&gt; wrote:<br>
&gt;<br>
&gt; Watson Ladd wrote:<br>
&gt; &gt; On Tue, Nov 4, 2014 at 8:24 AM, Phillip Hallam-Baker<br>
&gt; &gt; &lt;<a href=3D"mailto:phill@hallambaker.com">phill@hallambaker.co=
m</a>&gt; wrote:<br>
&gt; &gt; &gt; The only choice not a power of 2 that was widely used is SHA=
-1 at<br>
&gt; &gt; &gt; 160Bits. But that was largely chosen by default after MD5 wa=
s found<br>
&gt; &gt; &gt; wanting.<br>
&gt; &gt;<br>
&gt; &gt; Wrong: ... Binary curves are<br>
&gt; &gt; used widely in hardware.<br>
&gt;<br>
&gt; Not in Germany and in Austria. In the late 1990s/the beginning 2000s t=
here were a number of GF(2^n) smart card projects in these countries. They =
have ALL been replaced by GF(p) curves. Even Car2Car chooses GF(p), althoug=
h there are HUGE performance requirements. It&#39;s not that easy to find h=
igh performance hardware implementations for GF(p) with general p. (I was l=
ooking for some of them for C2C some years ago.)</p>
<p dir=3D"ltr">I&#39;d love to know more about this, probably offlist. Why =
is C2C not using endomorphisms? Why was GF(p) liked more: I could guess som=
e reasons but they would be wrong.</p>
<p dir=3D"ltr">&gt;<br>
&gt; So coming back to E-521/P-521. I understand the performance aspects of=
 this special prime quite well. Neglecting for a moment the Mersenne struct=
ure and only considering bit length:<br>
&gt; Some years ago (&gt;10 y) we did some smart card implementations with =
NIST and Brainpool curves (256, 384 and 512/521 bit). The unfortunate thing=
 about 521 is that, in this case, and ONLY in this case, the randomization =
buffer (to the register boundary 540 bit plus some underflow buffer of x-bi=
t) becomes smaller than usual, i.e., with 512 bit (and of course 256/384 bi=
t) we used larger blinding factors than with 521. This was with Crypto@2304=
 bit, so registers 576/1152/2304 (minus 32 bit underflow). Of course, one c=
ould have used the larger registers, but only with some performance drawbac=
ks. So, bit lengths exceeding powers of two matter, in this case security-w=
ise.</p>
<p dir=3D"ltr">If the hardware had ten extra bits, it would have fit fine, =
unless I&#39;m missing something. Why should we worry about one particular =
unfortunate set of choices?</p>
<p dir=3D"ltr">Furthermore,=C2=A0 in software faster field arithmetic permi=
ts the use of projective blinding. Brainpool&#39;s choice of random primes =
makes additive blinding somewhat attractive. </p>
<p dir=3D"ltr">But most users don&#39;t care about this sort of attack envi=
ronment. Why should we force a 2x slowdown on everyone for benefit of some =
hardware implementations? </p>
<p dir=3D"ltr">&gt;<br>
&gt; Yes, this &quot;old, rusty hardware&quot; again ;-) Alyssa, is there a=
 copyright on this?<br>
&gt;<br>
&gt; Torsten<br>
&gt;<br>
&gt; PS: Before someone asks: Yes, the crypto coprocessor can use variable =
length of registers, but there is an upper boundary. So you don&#39;t have =
to compute with 512 bit numbers if your number is only 400 bit wide.<br>
</p>

--001a11c2c58ed1c0d805070ea18e--


From nobody Tue Nov  4 14:46:17 2014
Return-Path: <mike@shiftleft.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9882F1A0242 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 14:46:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.365
X-Spam-Level: **
X-Spam-Status: No, score=2.365 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, J_CHICKENPOX_35=0.6, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=no
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 5mOcYmTbKrAs for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 14:46:13 -0800 (PST)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E40291A0231 for <cfrg@irtf.org>; Tue,  4 Nov 2014 14:46:12 -0800 (PST)
Received: from [10.184.148.249] (unknown [209.36.6.242]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 5F7303AC24; Tue,  4 Nov 2014 14:45:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1415141159; bh=uOJfoL80eNCtkAU5oCrfvdNpPPZ+Zlhj5zfqDKv7ykY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=WEm8pfM3GZstFy9knS7E4KpDFXUL+XVhzYVrbPOx3wwRgtPtWHRCY80BEC1BPgX+E gCxA45rwoL0nyuTJofdoa34NvUQSmlRC7Fzs1YNWB6GkFbfoetwY/DakDd41zBL0SH TXbmUEvidkrxR4c0Z0/JMagdoUHTdieeIWEr3uTg=
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <CA+Vbu7w_sFfQj4k9HE-h36SNeyDj6y=-2=hKLpv68zpv+kxFgQ@mail.gmail.com>
Date: Tue, 4 Nov 2014 14:46:08 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <DF656ACF-50E3-4496-8648-2B08A167FF09@shiftleft.org>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com> <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com> <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com> <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com> <CAMm+Lwi9x8JMM2UJCxHL2K5esj9+tRJEefi3e=L7PaBFBjxYGA@mail.gmail.com> <CACsn0c=0LdMkCW6t81iFqFLE6o+Xk-pXNdUy9WEvdknMHrWQbg@mail.gmail.com> <CAMm+Lwg0DYUXsjBd1kjErpyckGKHovGbGiUpOC589RfVhqMn7w@mail.gmail.com> <CACsn0cnhy61JmAiK_oLrqk6zB=E=z1CeHTxp10hNUJHgYxvCag@mail.gmail.com> <CAMm+LwiVFTOFaJNUbhrc5ASb4Dt2gw8O33ywfbkUDw0vMs5gPw@mail.gmail.com> <3DA3F2F4-DDDF-4E2B-AC2 4-2AA5052DEABF@gmail.com> <CAMm+Lwjbpv2k-ajmNz-DkAb27Sbf=8sJ9B=-XZBZK7Ci1US4jw@mail.gmail.com> <CA+Vbu7w_sFfQj4k9HE-h36SNeyDj6y=-2=hKLpv68zpv+kxFgQ@mail.gmail.com>
To: Benjamin Black <b@b3k.us>
X-Mailer: Apple Mail (2.1990.1)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/lXiTQ2H-XV2FufridN-rEZEAtmI
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 22:46:14 -0000

> On Nov 4, 2014, at 12:37 PM, Benjamin Black <b@b3k.us> wrote:
>=20
> Speed of a specific implementation, even the fastest available today =
for a given curve on a given platform, is not rigid.

Do you have a specific disagreement with the argument I presented =
earlier, that only perhaps tens of primes in the interval (2^384, 2^512) =
support close to optimal performance?

> Where is the formal performance model by which curves will be judged? =
Where is the evidence that sacrificing some security for small =
performance gains for some implementations on some benchmarks on some =
platforms is a reasonable trade-off?

There isn=E2=80=99t a formal model.

Consider the AES competition, or the SHA3 competition, or CAESAR or PHC. =
 These were actual formally organized competitions which ran, or are =
running, for years.  They were concerned with performance on a variety =
of platforms, but none of them set a formal standard for the trade-off =
between performance and other metrics.  Just as in those settings, =
performance is just one metric to be used to compare the options.  It is =
not the last or only metric, but it is a useful one.

Likewise, =E2=80=9Crigidity=E2=80=9D is an important metric, but it is =
also somewhat difficult to evaluate.  You certainly know this, having =
waffled from d =3D (1-) 78296 to d =3D 637608 for ed-512-mers; and =
having chosen a different E-521 from the three other groups who searched =
mod that prime; and having chosen the more dangerous incomplete twisted =
Edwards curves over untwisted Edwards for a very small performance gain.

When I designed Ed448-Goldilocks, it was actually as a middle-security =
curve, like so:

* Everyday curve: maximum performance (and/or simplicity) with strong =
resistance to all known and foreseen (non-QC) attacks.  Curve25519, =
Kumfp127g, etc.

* Usable but hedged: still performant enough for most uses, with a large =
hedge against unknown attacks.  This is explicitly a performance vs =
hedge tradeoff.  Curve41417, Ed448-Goldilocks, etc.

* ECC=E2=80=99s last stand: a curve which is very slow and conservative, =
to be deployed but rarely used.  Must have a random prime and =
j-invariant, with no major constraints that aren't known to improve =
security.  If in 20 years somehow all the other curves are broken in a =
surprise announcement, we can switch to this one with a small config =
change and a huge performance drop, to tide TLSv2.7 over until we can =
roll out lattices or McEliece or braids or whatever in v2.8.  Brainpool =
p512 might be enough for this, or we might even want a bigger curve.

Note that NUMSp512 and E-521 are no better than Goldilocks for the =
=E2=80=9CECC=E2=80=99s last stand" category: it=E2=80=99s important that =
the prime and curve be random, with no large constraints other than =
resistance to known attacks, and performance is barely a consideration =
at all.  But that curve will have terrible performance, so it should not =
be expected to be widely used.

> If you want to argue cycles per bit of security, even assuming a =
performance model, then what evidence is there that 25519, which you =
suggest, is the most efficient near the 128-bit level?

It isn=E2=80=99t.  We aren=E2=80=99t looking for the best possible =
curve, just the best choice available.  Curve25519 is nice because =
it=E2=80=99s fast, but also because it=E2=80=99s already trusted, =
implemented on many platforms, and widely deployed.  Otherwise, it might =
work better to use some other curve and some other field, like I dunno, =
2^256 - 2^194 - 1, or GF((2^127-1)^2), or maybe even something crazy =
like 2^250 - 26 * 2^200 - 1.

> There are some odd arguments being made here that powers of 2 are =
arbitrary but "about" 128-bit as the "right" security level is not. If =
you accept the argument made previously that AES-128 is only 80-bit =
secure and that performance is paramount, then one conclusion is we only =
need an 80-bit secure curve, which will be far faster than anything =
being discussed near 128-bits. If, instead, you argue that 128(ish)-bits =
of security is the "right" level, and the symmetric cipher strength =
should be increased to meet or exceed it, then you get AES-256 which =
gets you a 25%+ performance hit.

It=E2=80=99s a matter of threat model.  ECC does not degrade as much =
when stronger threat models are considered.  This means that =
time/memory/data/multikey threat models are a good reason to choose a =
stronger symmetric system, even if the existing one is WF128 secure =
against single-target attacks.  But they aren=E2=80=99t as good a reason =
to choose a stronger elliptic curve.  Just because AES-128 is only WF80 =
secure vs a strong threat model, doesn=E2=80=99t mean it=E2=80=99s OK to =
choose ECC which is only WF80 secure against an ordinary threat model.

It seems likely that WF80 was within the reach of intelligence agencies =
a decade ago or more (see suggestions involving a billion dollar =
factoring machine).  It is possible that in another couple decades, =
WF100 will be within reach.  Given that we are talking about new curves =
partially in reaction to Snowden, I think it should be a clear goal to =
be safely out of range of this sort of predictable progress for at least =
a couple decades.  Perhaps WF110 is enough, but it seems reasonable to =
hedge to WF120+ since the performance cost is reasonable.  Note that the =
same argument doesn=E2=80=99t hold at all for 384 vs 448 vs 512: we =
don=E2=80=99t know what the attacks might look like there.

As for stronger symmetric ciphers, people do this.  For example, NaCl =
pairs Curve25519 with XSalsa20 or AES256GCM.

> I have trouble reconciling these arguments for performance and =
rigidity when they are so contradictory, arbitrary, and informal.
>=20
> b

You are welcome to propose a formal framework if you can argue that it =
accurately reflects reality.  Otherwise, please recognize that 2^512 is =
about as arbitrary as perf * log(curve size) ^ (1 + log2(3)).

Cheers,
=E2=80=94 Mike


From nobody Tue Nov  4 18:20:51 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 128A01A8793 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 18:20:50 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 pLRHteADCYiB for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 18:20:48 -0800 (PST)
Received: from mail-yk0-x230.google.com (mail-yk0-x230.google.com [IPv6:2607:f8b0:4002:c07::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F1A731A8799 for <cfrg@irtf.org>; Tue,  4 Nov 2014 18:20:47 -0800 (PST)
Received: by mail-yk0-f176.google.com with SMTP id 10so142408ykt.21 for <cfrg@irtf.org>; Tue, 04 Nov 2014 18:20:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=cEUFzfqGkH18+5BYQpBCU9XAS1fyo9jpYp9i54yYA/s=; b=gWU5bWbFHzJBgQf7jSz8zHxOEDXyjGGc/9k288Sl0H3YqWqI/N1K0zzNahRIpja97Z pkmAwHy1qQN8S6TqaYaW4aY+O4rc0BDAYAwyEE/etXiZP5cWdzAW7hctWD/iYmCNVJrr n9wF8TUQ6syuwVBw8euHzPzvgbkLHum03oKMeij8fTXVGK2CuMTx61UjI/38rKi+Yi3W hIoghum3/NBN+6hSyTzMkwauY5ySVAn439zMYErnkGvNr0cZdIqywsk6squpHm14L9Pa KiYP8zzBQqz0eHkI3QrmnFY4dThGVl92qCDHPRvrHvw8g8iXrpF4bGORhnB0xHdB9/Q9 XGog==
MIME-Version: 1.0
X-Received: by 10.236.22.36 with SMTP id s24mr11909743yhs.138.1415154047214; Tue, 04 Nov 2014 18:20:47 -0800 (PST)
Received: by 10.170.195.203 with HTTP; Tue, 4 Nov 2014 18:20:46 -0800 (PST)
In-Reply-To: <0ACD2A10-BFFE-4F6A-B925-E948F99FFA4A@gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com> <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com> <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com> <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com> <CAMm+Lwi9x8JMM2UJCxHL2K5esj9+tRJEefi3e=L7PaBFBjxYGA@mail.gmail.com> <CACsn0c=0LdMkCW6t81iFqFLE6o+Xk-pXNdUy9WEvdknMHrWQbg@mail.gmail.com> <CAMm+Lwg0DYUXsjBd1kjErpyckGKHovGbGiUpOC589RfVhqMn7w@mail.gmail.com> <CACsn0cnhy61JmAiK_oLrqk6zB=E=z1CeHTxp10hNUJHgYxvCag@mail.gmail.com> <CAMm+LwiVFTOFaJNUbhrc5ASb4Dt2gw8O33ywfbkUDw0vMs5gPw@mail.gmail.com> <3DA3F2F4-DDDF-4E2B-AC24-2AA5052DEABF@gmail.com> <CAMm+Lwjbpv2k-ajmNz-DkAb27Sbf=8sJ9B=-XZBZK7Ci1US4jw@mail.gmail.com> <0ACD2A10-BFFE-4F6A-B925-E948F99FFA4A@gmail.com>
Date: Tue, 4 Nov 2014 18:20:46 -0800
Message-ID: <CACsn0ckV=Z0wYAGfEf=infOcv9Ajh24zx7f6pBFKjm1AzvW+1A@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Yoav Nir <ynir.ietf@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/-lb9-_mEADJA_C1tZX8ZbyeHKKg
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Nov 2014 02:20:50 -0000

On Tue, Nov 4, 2014 at 12:14 PM, Yoav Nir <ynir.ietf@gmail.com> wrote:
>
>> On Nov 4, 2014, at 9:37 PM, Phillip Hallam-Baker <phill@hallambaker.com>=
 wrote:
>>
>> On Tue, Nov 4, 2014 at 2:21 PM, Yoav Nir <ynir.ietf@gmail.com> wrote:
>>>>>> The proposition that the NUMS curves are not rigid according to thei=
r
>>>>>> selection criteria is falsifiable by anyone who does the math.
>>>>>
>>>>> So is the proposition that the parameters for the other curves depend
>>>>> only on the prime. They do. The question comes down to which prime.
>>>>
>>>> Exactly. And we need a decision procedure for the decision procedure.
>>>>
>>>>
>>>> I think the decision space comes down to:
>>>>
>>>> 1) Curve 25519 versus P256
>>>> 2) P512 or P521
>>>>
>>>> At this point I think Curve25519 looks like the better choice at ~256.
>>>> We are going to have to deal with it anyway. Its the Performance
>>>> curve.
>>>>
>>>> ~512 is a harder decision because there are two possible decision
>>>> criteria that can be applied.
>>>
>>> That assumes that there has been a decision to select a ~512 curve. Man=
y of us prefer that we select goldilocks for the performance gain vs both P=
512 and E-521.
>>
>> OK so we add P448 and P480 back in, happy?
>
> Ecstatic.
>
>> While I was looking up the security level, I found this:
>> http://sourceforge.net/p/ed448goldilocks/wiki/Home/
>>
>> Ed448-Goldilocks is the elliptic curve:
>>
>> x2 + y2 =E2=89=A3 1 - 39081x2y2 mod 2448 - 2224 - 1
>>
>> This is a 448-bit Edwards curve with a 223-bit conjectured security
>> level. It is designed for spinal tap grade security.
>
> If 223-bit is turning the dial to 11, then what is 256-bit? Does your dia=
l go to 12?
>
>> I think the term 'spinal tap grade security' describes the criteria
>> here. The main problem with ED448 is that it does not meet the naive
>> 'double the key size' criteria to make the 2^256 Work Factor criteria
>> even though some folk have argued that the work factor is considerably
>> better than 2^256.
>
> So who=E2=80=99s criterion is it that we need 2^256 work factor? Only you=
 are arguing for it, and even you are speaking on behalf of some unnamed ot=
her people.
>
>> From a decision point of view I think Watson's approach of taking the
>> fastest curve of 512 bits or more is easier to defend than going
>> lower.
>
> My concern is that if we=E2=80=99re specifying two curves, most implement=
ations will implement both, and set the faster one as default or preferred.=
 At some point, two things might happen.
>
> First, some flaw could be found in the lower curve that necessitates swit=
ching, but does not invalidate the whole class of curves. Because everyone =
implemented the stronger curve, everyone switches to using it. I think it=
=E2=80=99s important to have the stronger curve have good enough performanc=
e that server operators are not left with the choice of using a broken curv=
e or having their servers crumble under the load of handshakes. IOW we shou=
ld get as much work factor as we can without impacting the performance too =
much.
>
> Second, some government agency in some country or some group of auditors =
might decide to =E2=80=9Cturn the dial all the way to 11=E2=80=9D, and mand=
ate the stronger curve. This is not far-fetched. We=E2=80=99re already seei=
ng auditors requiring AES-256, NIST P-384, and on occasion, RSA 4096 and IK=
E Diffie-Hellman group 18 (that=E2=80=99s 8192-bit FF DHE). For the unfortu=
nate souls who have to deal with such auditors, we should treat the choice =
of the stronger curve as something that is likely to see actual use, not as=
 some doomsday device that we keep locked away in the basement. Watson=E2=
=80=99s approach is along those lines, but doesn=E2=80=99t IMO go far enoug=
h.

NIST does have a bigger curve that could be called for.  But I'd like
to clarify my thinking. I'm not attached to any particular number of
curves: I do think that a curve less expensive than E-521 and more
secure than Curve25519 would be useful. I think it should be Ed448
Goldilocks, but I can see why NUMS-384 (after fixing the idiotic twist
issue) would be useful: the tradeoff goes either way depending on
priorities: a lot more security for a little more time.

I feel much more strongly about E-521 vs NUMS-512 as both security and
performance favor the larger curve. But I see no reason why we need to
argue between E-521 and Goldilocks: we can specify three curves
easily.

Sincerely,
Watson Ladd
>
> Yoav



--=20
"Those who would give up Essential Liberty to purchase a little
Temporary Safety deserve neither  Liberty nor Safety."
-- Benjamin Franklin


From nobody Tue Nov  4 19:31:03 2014
Return-Path: <b@b3k.us>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8F30D1A1BB9 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 19:31:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 2s_FcREKwXPE for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 19:30:58 -0800 (PST)
Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 637F11A1B92 for <cfrg@irtf.org>; Tue,  4 Nov 2014 19:30:58 -0800 (PST)
Received: by mail-wg0-f47.google.com with SMTP id a1so15020068wgh.20 for <cfrg@irtf.org>; Tue, 04 Nov 2014 19:30:57 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=rcCP35PSTsG191O6+5lwTPr6U3AVy1dAxrIg6JitqN0=; b=BmcxEPoQgfnff7Ig/uq6wASZ9qFNXDP/cMv0zG/hbt+1g35C7bxzJ5pkdIASaq8bkg u/4Ua+SDPGNy3pyOughnf4j5F/ciRzuomKh4O+ND/yTOYqXYPTRJnnt03Guokrgk9DME PI6e6QZKnCe2SuSpTOMdrrJ7ZHDCQM4rszEWG3zS7wJJ6yWhXkWZpOCw+3jWs2O/lGZK gm2Y+s4pNdvs95lnKNwDm4HCRiV/QDYkjyxXoZxnsNNmqfegVs2MfPUVmVQVxXvVm8ES hUZwtE9PSks58sybaPiWcQXNa/VZuToZ7aILuxRCWRqYfJr3G7gIsRf2NM3wo/P0OHha I9Ww==
X-Gm-Message-State: ALoCoQlURz92NBywSh9xiwFaTP/xw2yOyVzLcMemZ1MgEOOxbd2RIfPAUkyQ16b35F5HBrLBdBli
X-Received: by 10.180.97.65 with SMTP id dy1mr16326575wib.76.1415158256872; Tue, 04 Nov 2014 19:30:56 -0800 (PST)
MIME-Version: 1.0
Received: by 10.216.197.194 with HTTP; Tue, 4 Nov 2014 19:30:35 -0800 (PST)
In-Reply-To: <CACsn0ckV=Z0wYAGfEf=infOcv9Ajh24zx7f6pBFKjm1AzvW+1A@mail.gmail.com>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com> <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com> <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com> <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com> <CAMm+Lwi9x8JMM2UJCxHL2K5esj9+tRJEefi3e=L7PaBFBjxYGA@mail.gmail.com> <CACsn0c=0LdMkCW6t81iFqFLE6o+Xk-pXNdUy9WEvdknMHrWQbg@mail.gmail.com> <CAMm+Lwg0DYUXsjBd1kjErpyckGKHovGbGiUpOC589RfVhqMn7w@mail.gmail.com> <CACsn0cnhy61JmAiK_oLrqk6zB=E=z1CeHTxp10hNUJHgYxvCag@mail.gmail.com> <CAMm+LwiVFTOFaJNUbhrc5ASb4Dt2gw8O33ywfbkUDw0vMs5gPw@mail.gmail.com> <3DA3F2F4-DDDF-4E2B-AC24-2AA5052DEABF@gmail.com> <CAMm+Lwjbpv2k-ajmNz-DkAb27Sbf=8sJ9B=-XZBZK7Ci1US4jw@mail.gmail.com> <0ACD2A10-BFFE-4F6A-B925-E948F99FFA4A@gmail.com> <CACsn0ckV=Z0wYAGfEf=infOcv9Ajh24zx7f6pBFKjm1AzvW+1A@mail.gmail.com>
From: Benjamin Black <b@b3k.us>
Date: Tue, 4 Nov 2014 19:30:35 -0800
Message-ID: <CA+Vbu7ydaSAqTnpKcg-kfx=LYzp1g77XvB68DSEcJ-su0+ahjA@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: multipart/alternative; boundary=f46d0442824c33c2820507143583
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/V1tcWg6abULn8B_S27iWcA0aU24
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Nov 2014 03:31:01 -0000

--f46d0442824c33c2820507143583
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Please refrain from calling decisions with which you disagree "idiotic" or
similar.

On Tue, Nov 4, 2014 at 6:20 PM, Watson Ladd <watsonbladd@gmail.com> wrote:

> On Tue, Nov 4, 2014 at 12:14 PM, Yoav Nir <ynir.ietf@gmail.com> wrote:
> >
> >> On Nov 4, 2014, at 9:37 PM, Phillip Hallam-Baker <phill@hallambaker.co=
m>
> wrote:
> >>
> >> On Tue, Nov 4, 2014 at 2:21 PM, Yoav Nir <ynir.ietf@gmail.com> wrote:
> >>>>>> The proposition that the NUMS curves are not rigid according to
> their
> >>>>>> selection criteria is falsifiable by anyone who does the math.
> >>>>>
> >>>>> So is the proposition that the parameters for the other curves depe=
nd
> >>>>> only on the prime. They do. The question comes down to which prime.
> >>>>
> >>>> Exactly. And we need a decision procedure for the decision procedure=
.
> >>>>
> >>>>
> >>>> I think the decision space comes down to:
> >>>>
> >>>> 1) Curve 25519 versus P256
> >>>> 2) P512 or P521
> >>>>
> >>>> At this point I think Curve25519 looks like the better choice at ~25=
6.
> >>>> We are going to have to deal with it anyway. Its the Performance
> >>>> curve.
> >>>>
> >>>> ~512 is a harder decision because there are two possible decision
> >>>> criteria that can be applied.
> >>>
> >>> That assumes that there has been a decision to select a ~512 curve.
> Many of us prefer that we select goldilocks for the performance gain vs
> both P512 and E-521.
> >>
> >> OK so we add P448 and P480 back in, happy?
> >
> > Ecstatic.
> >
> >> While I was looking up the security level, I found this:
> >> http://sourceforge.net/p/ed448goldilocks/wiki/Home/
> >>
> >> Ed448-Goldilocks is the elliptic curve:
> >>
> >> x2 + y2 =E2=89=A3 1 - 39081x2y2 mod 2448 - 2224 - 1
> >>
> >> This is a 448-bit Edwards curve with a 223-bit conjectured security
> >> level. It is designed for spinal tap grade security.
> >
> > If 223-bit is turning the dial to 11, then what is 256-bit? Does your
> dial go to 12?
> >
> >> I think the term 'spinal tap grade security' describes the criteria
> >> here. The main problem with ED448 is that it does not meet the naive
> >> 'double the key size' criteria to make the 2^256 Work Factor criteria
> >> even though some folk have argued that the work factor is considerably
> >> better than 2^256.
> >
> > So who=E2=80=99s criterion is it that we need 2^256 work factor? Only y=
ou are
> arguing for it, and even you are speaking on behalf of some unnamed other
> people.
> >
> >> From a decision point of view I think Watson's approach of taking the
> >> fastest curve of 512 bits or more is easier to defend than going
> >> lower.
> >
> > My concern is that if we=E2=80=99re specifying two curves, most impleme=
ntations
> will implement both, and set the faster one as default or preferred. At
> some point, two things might happen.
> >
> > First, some flaw could be found in the lower curve that necessitates
> switching, but does not invalidate the whole class of curves. Because
> everyone implemented the stronger curve, everyone switches to using it. I
> think it=E2=80=99s important to have the stronger curve have good enough
> performance that server operators are not left with the choice of using a
> broken curve or having their servers crumble under the load of handshakes=
.
> IOW we should get as much work factor as we can without impacting the
> performance too much.
> >
> > Second, some government agency in some country or some group of auditor=
s
> might decide to =E2=80=9Cturn the dial all the way to 11=E2=80=9D, and ma=
ndate the stronger
> curve. This is not far-fetched. We=E2=80=99re already seeing auditors req=
uiring
> AES-256, NIST P-384, and on occasion, RSA 4096 and IKE Diffie-Hellman gro=
up
> 18 (that=E2=80=99s 8192-bit FF DHE). For the unfortunate souls who have t=
o deal
> with such auditors, we should treat the choice of the stronger curve as
> something that is likely to see actual use, not as some doomsday device
> that we keep locked away in the basement. Watson=E2=80=99s approach is al=
ong those
> lines, but doesn=E2=80=99t IMO go far enough.
>
> NIST does have a bigger curve that could be called for.  But I'd like
> to clarify my thinking. I'm not attached to any particular number of
> curves: I do think that a curve less expensive than E-521 and more
> secure than Curve25519 would be useful. I think it should be Ed448
> Goldilocks, but I can see why NUMS-384 (after fixing the idiotic twist
> issue) would be useful: the tradeoff goes either way depending on
> priorities: a lot more security for a little more time.
>
> I feel much more strongly about E-521 vs NUMS-512 as both security and
> performance favor the larger curve. But I see no reason why we need to
> argue between E-521 and Goldilocks: we can specify three curves
> easily.
>
> Sincerely,
> Watson Ladd
> >
> > Yoav
>
>
>
> --
> "Those who would give up Essential Liberty to purchase a little
> Temporary Safety deserve neither  Liberty nor Safety."
> -- Benjamin Franklin
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>

--f46d0442824c33c2820507143583
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Please refrain from calling decisions with which you disag=
ree &quot;idiotic&quot; or similar.</div><div class=3D"gmail_extra"><br><di=
v class=3D"gmail_quote">On Tue, Nov 4, 2014 at 6:20 PM, Watson Ladd <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:watsonbladd@gmail.com" target=3D"_blank">w=
atsonbladd@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
"><div class=3D"HOEnZb"><div class=3D"h5">On Tue, Nov 4, 2014 at 12:14 PM, =
Yoav Nir &lt;<a href=3D"mailto:ynir.ietf@gmail.com">ynir.ietf@gmail.com</a>=
&gt; wrote:<br>
&gt;<br>
&gt;&gt; On Nov 4, 2014, at 9:37 PM, Phillip Hallam-Baker &lt;<a href=3D"ma=
ilto:phill@hallambaker.com">phill@hallambaker.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Nov 4, 2014 at 2:21 PM, Yoav Nir &lt;<a href=3D"mailto:yni=
r.ietf@gmail.com">ynir.ietf@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt; The proposition that the NUMS curves are not rigid=
 according to their<br>
&gt;&gt;&gt;&gt;&gt;&gt; selection criteria is falsifiable by anyone who do=
es the math.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; So is the proposition that the parameters for the othe=
r curves depend<br>
&gt;&gt;&gt;&gt;&gt; only on the prime. They do. The question comes down to=
 which prime.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Exactly. And we need a decision procedure for the decision=
 procedure.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I think the decision space comes down to:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; 1) Curve 25519 versus P256<br>
&gt;&gt;&gt;&gt; 2) P512 or P521<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; At this point I think Curve25519 looks like the better cho=
ice at ~256.<br>
&gt;&gt;&gt;&gt; We are going to have to deal with it anyway. Its the Perfo=
rmance<br>
&gt;&gt;&gt;&gt; curve.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ~512 is a harder decision because there are two possible d=
ecision<br>
&gt;&gt;&gt;&gt; criteria that can be applied.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; That assumes that there has been a decision to select a ~512 c=
urve. Many of us prefer that we select goldilocks for the performance gain =
vs both P512 and E-521.<br>
&gt;&gt;<br>
&gt;&gt; OK so we add P448 and P480 back in, happy?<br>
&gt;<br>
&gt; Ecstatic.<br>
&gt;<br>
&gt;&gt; While I was looking up the security level, I found this:<br>
&gt;&gt; <a href=3D"http://sourceforge.net/p/ed448goldilocks/wiki/Home/" ta=
rget=3D"_blank">http://sourceforge.net/p/ed448goldilocks/wiki/Home/</a><br>
&gt;&gt;<br>
&gt;&gt; Ed448-Goldilocks is the elliptic curve:<br>
&gt;&gt;<br>
&gt;&gt; x2 + y2 =E2=89=A3 1 - 39081x2y2 mod 2448 - 2224 - 1<br>
&gt;&gt;<br>
&gt;&gt; This is a 448-bit Edwards curve with a 223-bit conjectured securit=
y<br>
&gt;&gt; level. It is designed for spinal tap grade security.<br>
&gt;<br>
&gt; If 223-bit is turning the dial to 11, then what is 256-bit? Does your =
dial go to 12?<br>
&gt;<br>
&gt;&gt; I think the term &#39;spinal tap grade security&#39; describes the=
 criteria<br>
&gt;&gt; here. The main problem with ED448 is that it does not meet the nai=
ve<br>
&gt;&gt; &#39;double the key size&#39; criteria to make the 2^256 Work Fact=
or criteria<br>
&gt;&gt; even though some folk have argued that the work factor is consider=
ably<br>
&gt;&gt; better than 2^256.<br>
&gt;<br>
&gt; So who=E2=80=99s criterion is it that we need 2^256 work factor? Only =
you are arguing for it, and even you are speaking on behalf of some unnamed=
 other people.<br>
&gt;<br>
&gt;&gt; From a decision point of view I think Watson&#39;s approach of tak=
ing the<br>
&gt;&gt; fastest curve of 512 bits or more is easier to defend than going<b=
r>
&gt;&gt; lower.<br>
&gt;<br>
&gt; My concern is that if we=E2=80=99re specifying two curves, most implem=
entations will implement both, and set the faster one as default or preferr=
ed. At some point, two things might happen.<br>
&gt;<br>
&gt; First, some flaw could be found in the lower curve that necessitates s=
witching, but does not invalidate the whole class of curves. Because everyo=
ne implemented the stronger curve, everyone switches to using it. I think i=
t=E2=80=99s important to have the stronger curve have good enough performan=
ce that server operators are not left with the choice of using a broken cur=
ve or having their servers crumble under the load of handshakes. IOW we sho=
uld get as much work factor as we can without impacting the performance too=
 much.<br>
&gt;<br>
&gt; Second, some government agency in some country or some group of audito=
rs might decide to =E2=80=9Cturn the dial all the way to 11=E2=80=9D, and m=
andate the stronger curve. This is not far-fetched. We=E2=80=99re already s=
eeing auditors requiring AES-256, NIST P-384, and on occasion, RSA 4096 and=
 IKE Diffie-Hellman group 18 (that=E2=80=99s 8192-bit FF DHE). For the unfo=
rtunate souls who have to deal with such auditors, we should treat the choi=
ce of the stronger curve as something that is likely to see actual use, not=
 as some doomsday device that we keep locked away in the basement. Watson=
=E2=80=99s approach is along those lines, but doesn=E2=80=99t IMO go far en=
ough.<br>
<br>
</div></div>NIST does have a bigger curve that could be called for.=C2=A0 B=
ut I&#39;d like<br>
to clarify my thinking. I&#39;m not attached to any particular number of<br=
>
curves: I do think that a curve less expensive than E-521 and more<br>
secure than Curve25519 would be useful. I think it should be Ed448<br>
Goldilocks, but I can see why NUMS-384 (after fixing the idiotic twist<br>
issue) would be useful: the tradeoff goes either way depending on<br>
priorities: a lot more security for a little more time.<br>
<br>
I feel much more strongly about E-521 vs NUMS-512 as both security and<br>
performance favor the larger curve. But I see no reason why we need to<br>
argue between E-521 and Goldilocks: we can specify three curves<br>
easily.<br>
<br>
Sincerely,<br>
Watson Ladd<br>
&gt;<br>
&gt; Yoav<br>
<span class=3D"im HOEnZb"><br>
<br>
<br>
--<br>
&quot;Those who would give up Essential Liberty to purchase a little<br>
Temporary Safety deserve neither=C2=A0 Liberty nor Safety.&quot;<br>
-- Benjamin Franklin<br>
<br>
</span><div class=3D"HOEnZb"><div class=3D"h5">____________________________=
___________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
<a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" target=3D"_blank">htt=
p://www.irtf.org/mailman/listinfo/cfrg</a><br>
</div></div></blockquote></div><br></div>

--f46d0442824c33c2820507143583--


From nobody Tue Nov  4 20:11:16 2014
Return-Path: <b@b3k.us>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F32551A87A8 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 20:11:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.377
X-Spam-Level: 
X-Spam-Status: No, score=-1.377 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_35=0.6, RCVD_IN_DNSWL_LOW=-0.7] autolearn=no
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 08DuKqtXpsiY for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 20:11:05 -0800 (PST)
Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EBBA71A1BF2 for <cfrg@irtf.org>; Tue,  4 Nov 2014 20:11:04 -0800 (PST)
Received: by mail-wi0-f180.google.com with SMTP id hi2so868958wib.1 for <cfrg@irtf.org>; Tue, 04 Nov 2014 20:11:03 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=R/Hkj4KNgacdBH5ue1nXusEry54MKyEWBDXpiPEwmWo=; b=ENl1XLgs2vdYex5xi8Du6GJeNt82Hnt8Drp4mDlU/kAFCFZPOLgA/0Ee8oKMpSNtvS XU4/TwvG7csuXOBiVAob66obR6BMMJAQU9bPHQ+H/cVETDlGB435XaUvRqbjeyXBlkRX U1SyRC3tJhSWEJsVPlAJSZGat4mhX6nbtp2aO5Y3lZymKHWW/kPD4oxBFDByQHO9G9p8 mOtnQUXlCJAs4YE1assRUzUQ1fM91BCPQu9vfz5hXoxVKx8zqOyGO9NVP0tkf7jG8uHT 44jqqOYgHPJz1CtRimVdSrNYgKB3mDu6ov3/CKPtihAwG4FXXIxPq4Bsmx5noTQBwRpW kFEQ==
X-Gm-Message-State: ALoCoQmD+wx3sVFcOdxcJ5ifas4cjmpaOH4PPXPT4ipR/Og2qAQEeQr/VITUcEMmnUCyaj6T6Awc
X-Received: by 10.194.158.4 with SMTP id wq4mr62745989wjb.58.1415160663258; Tue, 04 Nov 2014 20:11:03 -0800 (PST)
MIME-Version: 1.0
Received: by 10.216.197.194 with HTTP; Tue, 4 Nov 2014 20:10:42 -0800 (PST)
In-Reply-To: <DF656ACF-50E3-4496-8648-2B08A167FF09@shiftleft.org>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io> <D07D59BE.32D25%kenny.paterson@rhul.ac.uk> <CACsn0ckku3cg3QGv-x8_L5gGpkx1eoLTjhSgTuJkUqTTCnOqVA@mail.gmail.com> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com> <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com> <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com> <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com> <CAMm+Lwi9x8JMM2UJCxHL2K5esj9+tRJEefi3e=L7PaBFBjxYGA@mail.gmail.com> <CACsn0c=0LdMkCW6t81iFqFLE6o+Xk-pXNdUy9WEvdknMHrWQbg@mail.gmail.com> <CAMm+Lwg0DYUXsjBd1kjErpyckGKHovGbGiUpOC589RfVhqMn7w@mail.gmail.com> <CACsn0cnhy61JmAiK_oLrqk6zB=E=z1CeHTxp10hNUJHgYxvCag@mail.gmail.com> <CAMm+LwiVFTOFaJNUbhrc5ASb4Dt2gw8O33ywfbkUDw0vMs5gPw@mail.gmail.com> <CAMm+Lwjbpv2k-ajmNz-DkAb27Sbf=8sJ9B=-XZBZK7Ci1US4jw@mail.gmail.com> <CA+Vbu7w_sFfQj4k9HE-h36SNeyDj6y=-2=hKLpv68zpv+kxFgQ@mail.gmail.com> <DF656ACF-50E3-4496-8648-2B08A167FF09@shiftleft.org>
From: Benjamin Black <b@b3k.us>
Date: Tue, 4 Nov 2014 20:10:42 -0800
Message-ID: <CA+Vbu7yr2MwSfqbRQBjuJwhqdrLZAsryWxwdu2R8Q6bONpaTdA@mail.gmail.com>
To: Michael Hamburg <mike@shiftleft.org>
Content-Type: multipart/alternative; boundary=089e0112bec8a24e1a050714c4d9
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/kyIUkqc1vVMbgvmdNXtp9WGb8F4
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Nov 2014 04:11:13 -0000

--089e0112bec8a24e1a050714c4d9
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 4, 2014 at 2:46 PM, Michael Hamburg <mike@shiftleft.org> wrote:

>
> > On Nov 4, 2014, at 12:37 PM, Benjamin Black <b@b3k.us> wrote:
> >
> > Where is the formal performance model by which curves will be judged?
> Where is the evidence that sacrificing some security for small performanc=
e
> gains for some implementations on some benchmarks on some platforms is a
> reasonable trade-off?
>
> There isn=E2=80=99t a formal model.
>
> Consider the AES competition, or the SHA3 competition, or CAESAR or PHC.
> These were actual formally organized competitions which ran, or are
> running, for years.  They were concerned with performance on a variety of
> platforms, but none of them set a formal standard for the trade-off betwe=
en
> performance and other metrics.  Just as in those settings, performance is
> just one metric to be used to compare the options.  It is not the last or
> only metric, but it is a useful one.
>
>
As I have argued from the start.


> Likewise, =E2=80=9Crigidity=E2=80=9D is an important metric, but it is al=
so somewhat
> difficult to evaluate.  You certainly know this, having waffled from d =
=3D
> (1-) 78296 to d =3D 637608 for ed-512-mers; and having chosen a different
> E-521 from the three other groups who searched mod that prime; and having
> chosen the more dangerous incomplete twisted Edwards curves over untwiste=
d
> Edwards for a very small performance gain.
>
>
"More dangerous" is a bit of hyperbole and I suggest whether a potential
reduction in security (and "more dangerous" here does not imply any such
reduction) in exchange for some performance is subjective, as we have
discussed for some time in the context of other candidates.


> > If you want to argue cycles per bit of security, even assuming a
> performance model, then what evidence is there that 25519, which you
> suggest, is the most efficient near the 128-bit level?
>

> It isn=E2=80=99t.  We aren=E2=80=99t looking for the best possible curve,=
 just the best
> choice available.  Curve25519 is nice because it=E2=80=99s fast, but also=
 because
> it=E2=80=99s already trusted, implemented on many platforms, and widely d=
eployed.
> Otherwise, it might work better to use some other curve and some other
> field, like I dunno, 2^256 - 2^194 - 1, or GF((2^127-1)^2), or maybe even
> something crazy like 2^250 - 26 * 2^200 - 1.
>
>
I've seen only presumption that the point of this process was to merely
select between a few existing curves. The request I read was for new curves
with no mention whatsoever of existing options. In this context, broad
implementation and "widely deployed", a vague term on which we disagree,
would point to continuing to use the NIST curves. If the NIST curves
falling short on trust is reason we are doing this, then that seems a very
important requirement which shouldn't be swept aside because it is
difficult to quantify.


>
> It=E2=80=99s a matter of threat model.  ECC does not degrade as much when=
 stronger
> threat models are considered.  This means that time/memory/data/multikey
> threat models are a good reason to choose a stronger symmetric system, ev=
en
> if the existing one is WF128 secure against single-target attacks.  But
> they aren=E2=80=99t as good a reason to choose a stronger elliptic curve.=
  Just
> because AES-128 is only WF80 secure vs a strong threat model, doesn=E2=80=
=99t mean
> it=E2=80=99s OK to choose ECC which is only WF80 secure against an ordina=
ry threat
> model.
>
>
I'm not actually arguing in favor of a WF80 curve, only pointing out the
absurdity of demanding performance dominate the decision process.


> It seems likely that WF80 was within the reach of intelligence agencies a
> decade ago or more (see suggestions involving a billion dollar factoring
> machine).  It is possible that in another couple decades, WF100 will be
> within reach.  Given that we are talking about new curves partially in
> reaction to Snowden, I think it should be a clear goal to be safely out o=
f
> range of this sort of predictable progress for at least a couple decades.
> Perhaps WF110 is enough, but it seems reasonable to hedge to WF120+ since
> the performance cost is reasonable.  Note that the same argument doesn=E2=
=80=99t
> hold at all for 384 vs 448 vs 512: we don=E2=80=99t know what the attacks=
 might
> look like there.
>
>
Again, good arguments in favor of finding something faster than 25519 to
minimize the performance impact of achieving the WF120 target you suggest.


> As for stronger symmetric ciphers, people do this.  For example, NaCl
> pairs Curve25519 with XSalsa20 or AES256GCM.
>
>
Both djb and djb do this? ;)


> > I have trouble reconciling these arguments for performance and rigidity
> when they are so contradictory, arbitrary, and informal.
> >
> > b
>
> You are welcome to propose a formal framework if you can argue that it
> accurately reflects reality.  Otherwise, please recognize that 2^512 is
> about as arbitrary as perf * log(curve size) ^ (1 + log2(3)).
>
>
A 3rd option is to recognize that matching the sizes of the most commonly
deployed curves (P256 and P384) is more rigid exactly because it is an
arbitrary choice made by others with no ability to directly manipulate this
process rather than an argument based on attacks which may or may not be
the best possible.


b

--089e0112bec8a24e1a050714c4d9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On T=
ue, Nov 4, 2014 at 2:46 PM, Michael Hamburg <span dir=3D"ltr">&lt;<a href=
=3D"mailto:mike@shiftleft.org" target=3D"_blank">mike@shiftleft.org</a>&gt;=
</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""><br>
&gt; On Nov 4, 2014, at 12:37 PM, Benjamin Black &lt;<a href=3D"mailto:b@b3=
k.us">b@b3k.us</a>&gt; wrote:<br>
&gt;</span><span class=3D""><br>
&gt; Where is the formal performance model by which curves will be judged? =
Where is the evidence that sacrificing some security for small performance =
gains for some implementations on some benchmarks on some platforms is a re=
asonable trade-off?<br>
<br>
</span>There isn=E2=80=99t a formal model.<br>
<br>
Consider the AES competition, or the SHA3 competition, or CAESAR or PHC.=C2=
=A0 These were actual formally organized competitions which ran, or are run=
ning, for years.=C2=A0 They were concerned with performance on a variety of=
 platforms, but none of them set a formal standard for the trade-off betwee=
n performance and other metrics.=C2=A0 Just as in those settings, performan=
ce is just one metric to be used to compare the options.=C2=A0 It is not th=
e last or only metric, but it is a useful one.<br>
<br></blockquote><div><br></div><div>As I have argued from the start.</div>=
<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
Likewise, =E2=80=9Crigidity=E2=80=9D is an important metric, but it is also=
 somewhat difficult to evaluate.=C2=A0 You certainly know this, having waff=
led from d =3D (1-) 78296 to d =3D 637608 for ed-512-mers; and having chose=
n a different E-521 from the three other groups who searched mod that prime=
; and having chosen the more dangerous incomplete twisted Edwards curves ov=
er untwisted Edwards for a very small performance gain.<br>
<br></blockquote><div><br></div><div>&quot;More dangerous&quot; is a bit of=
 hyperbole and I suggest whether a potential reduction in security (and &qu=
ot;more dangerous&quot; here does not imply any such reduction) in exchange=
 for some performance is subjective, as we have discussed for some time in =
the context of other candidates.=C2=A0</div><div>=C2=A0</div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex">&gt; If you want to argue cycles per bit of security, even=
 assuming a performance model, then what evidence is there that 25519, whic=
h you suggest, is the most efficient near the 128-bit level?<br></blockquot=
e><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex"><span class=3D"">
<br>
</span>It isn=E2=80=99t.=C2=A0 We aren=E2=80=99t looking for the best possi=
ble curve, just the best choice available.=C2=A0 Curve25519 is nice because=
 it=E2=80=99s fast, but also because it=E2=80=99s already trusted, implemen=
ted on many platforms, and widely deployed.=C2=A0 Otherwise, it might work =
better to use some other curve and some other field, like I dunno, 2^256 - =
2^194 - 1, or GF((2^127-1)^2), or maybe even something crazy like 2^250 - 2=
6 * 2^200 - 1.<br>
<span class=3D""><br></span></blockquote><div><br></div><div>I&#39;ve seen =
only presumption that the point of this process was to merely select betwee=
n a few existing curves. The request I read was for new curves with no ment=
ion whatsoever of existing options. In this context, broad implementation a=
nd &quot;widely deployed&quot;, a vague term on which we disagree, would po=
int to continuing to use the NIST curves. If the NIST curves falling short =
on trust is reason we are doing this, then that seems a very important requ=
irement which shouldn&#39;t be swept aside because it is difficult to quant=
ify.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">=
<br>
</span>It=E2=80=99s a matter of threat model.=C2=A0 ECC does not degrade as=
 much when stronger threat models are considered.=C2=A0 This means that tim=
e/memory/data/multikey threat models are a good reason to choose a stronger=
 symmetric system, even if the existing one is WF128 secure against single-=
target attacks.=C2=A0 But they aren=E2=80=99t as good a reason to choose a =
stronger elliptic curve.=C2=A0 Just because AES-128 is only WF80 secure vs =
a strong threat model, doesn=E2=80=99t mean it=E2=80=99s OK to choose ECC w=
hich is only WF80 secure against an ordinary threat model.<br>
<br></blockquote><div><br></div><div>I&#39;m not actually arguing in favor =
of a WF80 curve, only pointing out the absurdity of demanding performance d=
ominate the decision process.</div><div>=C2=A0</div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">
It seems likely that WF80 was within the reach of intelligence agencies a d=
ecade ago or more (see suggestions involving a billion dollar factoring mac=
hine).=C2=A0 It is possible that in another couple decades, WF100 will be w=
ithin reach.=C2=A0 Given that we are talking about new curves partially in =
reaction to Snowden, I think it should be a clear goal to be safely out of =
range of this sort of predictable progress for at least a couple decades.=
=C2=A0 Perhaps WF110 is enough, but it seems reasonable to hedge to WF120+ =
since the performance cost is reasonable.=C2=A0 Note that the same argument=
 doesn=E2=80=99t hold at all for 384 vs 448 vs 512: we don=E2=80=99t know w=
hat the attacks might look like there.<br>
<br></blockquote><div><br></div><div>Again, good arguments in favor of find=
ing something faster than 25519 to minimize the performance impact of achie=
ving the WF120 target you suggest.</div><div>=C2=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
As for stronger symmetric ciphers, people do this.=C2=A0 For example, NaCl =
pairs Curve25519 with XSalsa20 or AES256GCM.<br>
<span class=3D""><br></span></blockquote><div><br></div><div>Both djb and d=
jb do this? ;)</div><div>=C2=A0<br></div><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><sp=
an class=3D"">
&gt; I have trouble reconciling these arguments for performance and rigidit=
y when they are so contradictory, arbitrary, and informal.<br>
&gt;<br>
&gt; b<br>
<br>
</span>You are welcome to propose a formal framework if you can argue that =
it accurately reflects reality.=C2=A0 Otherwise, please recognize that 2^51=
2 is about as arbitrary as perf * log(curve size) ^ (1 + log2(3)).<br>
<br></blockquote><div><br></div><div>A 3rd option is to recognize that matc=
hing the sizes of the most commonly deployed curves (P256 and P384) is more=
 rigid exactly because it is an arbitrary choice made by others with no abi=
lity to directly manipulate this process rather than an argument based on a=
ttacks which may or may not be the best possible.</div><div><br></div><div>=
<br></div><div>b</div><div><br></div></div></div></div>

--089e0112bec8a24e1a050714c4d9--


From nobody Tue Nov  4 22:15:43 2014
Return-Path: <mike@shiftleft.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 774011A87C1 for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 22:15:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.156
X-Spam-Level: **
X-Spam-Status: No, score=2.156 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, HTML_MESSAGE=0.001, J_CHICKENPOX_35=0.6, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
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 vamZfAO6agex for <cfrg@ietfa.amsl.com>; Tue,  4 Nov 2014 22:15:39 -0800 (PST)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 229981A87BB for <cfrg@irtf.org>; Tue,  4 Nov 2014 22:15:38 -0800 (PST)
Received: from [192.168.1.124] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 3B00F3AC24; Tue,  4 Nov 2014 22:15:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1415168124; bh=4h40/sRbICsU/EPV7sLeNduD9y3PSUYrifwvfl6EY3g=; h=Date:From:To:CC:Subject:References:In-Reply-To:From; b=KCQPVNIKmNPdWldKLoOhsAeWGmI3pb9IqLGazUboRAn+d2kfAT9eHmSnLBre7aG/N lW0e2mxdEybvLVOg09TJ8RDZXhqYzYAt5oO54O0cLTfvo3w0jVg5sljh1Guonc1knd DzJW8Ire3k1lRRxq8Nx8vUpcP80UWWG9eUfMzqxg=
Message-ID: <5459C089.4000405@shiftleft.org>
Date: Tue, 04 Nov 2014 22:15:37 -0800
From: Mike Hamburg <mike@shiftleft.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: Benjamin Black <b@b3k.us>
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <D07D6167.32DC3%kenny.paterson@rhul.ac.uk> <CAMm+LwhsyeknT5oxdKOSeHJ7ocZV6dpVXtfgDvqCOtbpeWJM7Q@mail.gmail.com> <741551F1-13CF-4DA1-980F-94E1DCC7AA4A@gmail.com> <CAMm+Lwh5CuSPhO8bYBMftMCWevA7USS-xt_V990m4Y5Mg7M50A@mail.gmail.com> <1D6CD35D-0A3E-4F52-869A-F23A77465CCC@gmail.com> <CAMm+Lwi9x8JMM2UJCxHL2K5esj9+tRJEefi3e=L7PaBFBjxYGA@mail.gmail.com> <CACsn0c=0LdMkCW6t81iFqFLE6o+Xk-pXNdUy9WEvdknMHrWQbg@mail.gmail.com> <CAMm+Lwg0DYUXsjBd1kjErpyckGKHovGbGiUpOC589RfVhqMn7w@mail.gmail.com> <CACsn0cnhy61JmAiK_oLrqk6zB=E=z1CeHTxp10hNUJHgYxvCag@mail.gmail.com> <CAMm+LwiVFTOFaJNUbhrc5ASb4Dt2gw8O33ywfbkUDw0vMs5gPw@mail.gmail.com> <CAMm+Lwjbpv2k-ajmNz-DkAb27Sbf=8sJ9B=-XZBZK7Ci1US4jw@mail.gmail.com> <CA+Vbu7w_sFfQj4k9HE-h36SNeyDj6y=-2=hKLpv68zpv+kxFgQ@mail.gmail.com> <DF656ACF-50E3-4496-8648-2B08A167FF09@shiftleft.org> <CA+Vbu7yr2MwSfqbRQBjuJwhqdrLZAsryWxwdu2R8Q6bONpaTdA@mail.gmail.com>
In-Reply-To: <CA+Vbu7yr2MwSfqbRQBjuJwhqdrLZAsryWxwdu2R8Q6bONpaTdA@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------010701090503050203080804"
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/jLyjftkW3vwlc0n_yzrhfR2XIHs
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Nov 2014 06:15:41 -0000

This is a multi-part message in MIME format.
--------------010701090503050203080804
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit


On 11/04/2014 08:10 PM, Benjamin Black wrote:
> On Tue, Nov 4, 2014 at 2:46 PM, Michael Hamburg <mike@shiftleft.org 
> <mailto:mike@shiftleft.org>> wrote:
>
>     It isn’t.  We aren’t looking for the best possible curve, just the
>     best choice available.  Curve25519 is nice because it’s fast, but
>     also because it’s already trusted, implemented on many platforms,
>     and widely deployed. Otherwise, it might work better to use some
>     other curve and some other field, like I dunno, 2^256 - 2^194 - 1,
>     or GF((2^127-1)^2), or maybe even something crazy like 2^250 - 26
>     * 2^200 - 1.
>
>
> I've seen only presumption that the point of this process was to 
> merely select between a few existing curves.  The request I read was 
> for new curves with no mention whatsoever of existing options.
Oh, I see!  I read that as "new to TLS", not necessarily "newly 
generated".  I don't see any advantage to requiring the curve not to 
have been known before.  Is that actually the intention of this exercise?

We can, of course, choose requirements instead of curves.  But since at 
least 4 teams went and generated curves based on their favored 
requirements, whatever requirements we choose will probably have a 
proposed curve that satisfies them pretty well.  So it's pretty much the 
same thing.

Still, you may be right.  Maybe we'll pick requirements that an existing 
curve satisfies, but some other yet-ungenerated curve satisfies better, 
and some other team will find it.  I'm fine with that outcome, so long 
as we do all this in a reasonable amount of time.  Ideally this year.  
Generating curves with specific properties is usually a pretty quick 
exercise, so a time limit of a week or two after requirements should be 
fine, right?
> In this context, broad implementation and "widely deployed", a vague 
> term on which we disagree, would point to continuing to use the NIST 
> curves.  If the NIST curves falling short on trust is reason we are 
> doing this, then that seems a very important requirement which 
> shouldn't be swept aside because it is difficult to quantify.
I think that most of the community trusts Curve25519, and trusts at 
least some of its implementations.   I don't understand how being 
trusted can be a disadvantage.
>
>     ... it seems reasonable to hedge to WF120+ since the performance
>     cost is reasonable.
>
>
> Again, good arguments in favor of finding something faster than 25519 
> to minimize the performance impact of achieving the WF120 target you 
> suggest.
Go for it.  You might start with http://bench.cr.yp.to/results-dh.html.

WF128 curves are a very well-trodden area of research.  This is why I -- 
and I'm guessing DJB et al and Barreto et al -- didn't generate any 
WF128 curves for this round.  There are dozens of curves out there by 
dozens of authors, and Curve25519 is still regarded as generally a solid 
choice on pretty much any platform.  I suspect that if the requirements 
allow Curve25519, it will be a strong contender if not actually the best.

For example, a few years ago I benchmarked curves mod 2^252 - 2^232 - 1 
and 2^256 - 2^194 - 1.  They were a bit faster than 25519 on x86-64 and 
vectorless Cortex A9, but rather slower on NEON.  And there are 
definitely faster curves if you allow genus-2 or composite fields or 
endomorphisms.
>
>     You are welcome to propose a formal framework if you can argue
>     that it accurately reflects reality. Otherwise, please recognize
>     that 2^512 is about as arbitrary as perf * log(curve size) ^ (1 +
>     log2(3)).
>
>
> A 3rd option is to recognize that matching the sizes of the most 
> commonly deployed curves (P256 and P384) is more rigid exactly because 
> it is an arbitrary choice made by others with no ability to directly 
> manipulate this process rather than an argument based on attacks which 
> may or may not be the best possible.
>
> b
... and P521 too, right? Or is it not broadly-enough deployed to remove 
suspicion from the Mersenne prime?

-- Mike


--------------010701090503050203080804
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 11/04/2014 08:10 PM, Benjamin Black
      wrote:<br>
    </div>
    <blockquote
cite="mid:CA+Vbu7yr2MwSfqbRQBjuJwhqdrLZAsryWxwdu2R8Q6bONpaTdA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Tue, Nov 4, 2014 at 2:46 PM,
            Michael Hamburg <span dir="ltr">&lt;<a
                moz-do-not-send="true" href="mailto:mike@shiftleft.org"
                target="_blank">mike@shiftleft.org</a>&gt;</span> wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
                class="">
              </span>It isn’t.  We aren’t looking for the best possible
              curve, just the best choice available.  Curve25519 is nice
              because it’s fast, but also because it’s already trusted,
              implemented on many platforms, and widely deployed. 
              Otherwise, it might work better to use some other curve
              and some other field, like I dunno, 2^256 - 2^194 - 1, or
              GF((2^127-1)^2), or maybe even something crazy like 2^250
              - 26 * 2^200 - 1.<br>
              <span class=""><br>
              </span></blockquote>
            <div><br>
            </div>
            <div>I've seen only presumption that the point of this
              process was to merely select between a few existing
              curves.  The request I read was for new curves with no
              mention whatsoever of existing options.</div>
          </div>
        </div>
      </div>
    </blockquote>
    Oh, I see!  I read that as "new to TLS", not necessarily "newly
    generated".  I don't see any advantage to requiring the curve not to
    have been known before.  Is that actually the intention of this
    exercise?<br>
    <br>
    We can, of course, choose requirements instead of curves.  But since
    at least 4 teams went and generated curves based on their favored
    requirements, whatever requirements we choose will probably have a
    proposed curve that satisfies them pretty well.  So it's pretty much
    the same thing.<br>
    <br>
    Still, you may be right.  Maybe we'll pick requirements that an
    existing curve satisfies, but some other yet-ungenerated curve
    satisfies better, and some other team will find it.  I'm fine with
    that outcome, so long as we do all this in a reasonable amount of
    time.  Ideally this year.  Generating curves with specific
    properties is usually a pretty quick exercise, so a time limit of a
    week or two after requirements should be fine, right?<br>
    <blockquote
cite="mid:CA+Vbu7yr2MwSfqbRQBjuJwhqdrLZAsryWxwdu2R8Q6bONpaTdA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div> In this context, broad implementation and "widely
              deployed", a vague term on which we disagree, would point
              to continuing to use the NIST curves.  If the NIST curves
              falling short on trust is reason we are doing this, then
              that seems a very important requirement which shouldn't be
              swept aside because it is difficult to quantify.</div>
          </div>
        </div>
      </div>
    </blockquote>
    I think that most of the community trusts Curve25519, and trusts at
    least some of its implementations.   I don't understand how being
    trusted can be a disadvantage.
    <blockquote
cite="mid:CA+Vbu7yr2MwSfqbRQBjuJwhqdrLZAsryWxwdu2R8Q6bONpaTdA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">... it
              seems reasonable to hedge to WF120+ since the performance
              cost is reasonable.  <br>
            </blockquote>
            <div><br>
            </div>
            <div>Again, good arguments in favor of finding something
              faster than 25519 to minimize the performance impact of
              achieving the WF120 target you suggest.</div>
          </div>
        </div>
      </div>
    </blockquote>
    Go for it.  You might start with
    <a class="moz-txt-link-freetext" href="http://bench.cr.yp.to/results-dh.html">http://bench.cr.yp.to/results-dh.html</a>. <br>
    <br>
    WF128 curves are a very well-trodden area of research.  This is why
    I -- and I'm guessing DJB et al and Barreto et al -- didn't generate
    any WF128 curves for this round.  There are dozens of curves out
    there by dozens of authors, and Curve25519 is still regarded as
    generally a solid choice on pretty much any platform.  I suspect
    that if the requirements allow Curve25519, it will be a strong
    contender if not actually the best.<br>
    <br>
    For example, a few years ago I benchmarked curves mod 2^252 - 2^232
    - 1 and 2^256 - 2^194 - 1.  They were a bit faster than 25519 on
    x86-64 and vectorless Cortex A9, but rather slower on NEON.  And
    there are definitely faster curves if you allow genus-2 or composite
    fields or endomorphisms.<br>
    <blockquote
cite="mid:CA+Vbu7yr2MwSfqbRQBjuJwhqdrLZAsryWxwdu2R8Q6bONpaTdA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div> <br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
                class="">
              </span>You are welcome to propose a formal framework if
              you can argue that it accurately reflects reality. 
              Otherwise, please recognize that 2^512 is about as
              arbitrary as perf * log(curve size) ^ (1 + log2(3)).<br>
              <br>
            </blockquote>
            <div><br>
            </div>
            <div>A 3rd option is to recognize that matching the sizes of
              the most commonly deployed curves (P256 and P384) is more
              rigid exactly because it is an arbitrary choice made by
              others with no ability to directly manipulate this process
              rather than an argument based on attacks which may or may
              not be the best possible.</div>
            <div><br>
            </div>
            <div>b</div>
          </div>
        </div>
      </div>
    </blockquote>
    ... and P521 too, right? Or is it not broadly-enough deployed to
    remove suspicion from the Mersenne prime?<br>
    <br>
    -- Mike<br>
    <br>
  </body>
</html>

--------------010701090503050203080804--


From nobody Thu Nov  6 13:31:25 2014
Return-Path: <akr@akr.io>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CA4E41A9032 for <cfrg@ietfa.amsl.com>; Thu,  6 Nov 2014 13:31:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.798
X-Spam-Level: 
X-Spam-Status: No, score=0.798 tagged_above=-999 required=5 tests=[BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 CmE3Kw8bjrEp for <cfrg@ietfa.amsl.com>; Thu,  6 Nov 2014 13:31:23 -0800 (PST)
Received: from entima.net (entima.net [78.129.143.175]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0F5DA1A9033 for <cfrg@irtf.org>; Thu,  6 Nov 2014 13:31:23 -0800 (PST)
Message-ID: <545BE8AD.5050800@akr.io>
Date: Thu, 06 Nov 2014 21:31:25 +0000
From: Alyssa Rowan <akr@akr.io>
MIME-Version: 1.0
To: cfrg@irtf.org
References: <D079777B.324B4%kenny.paterson@rhul.ac.uk> <CAMm+Lwgw3tGHQNwywZjbUxYiS4cTkmHdX54nH0RVaY+kwdRcuA@mail.gmail.com> <CA+Vbu7xgPGtoirG1Ou6H+3upKnRev83uwtyquZuTpTRHb2Gyhw@mail.gmail.com> <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io>
In-Reply-To: <E38071E0-7833-4491-970D-CBE3E53BE1A9@akr.io>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/crEvBwXQmIZrNSl9_kbTPGssXAY
Subject: Re: [Cfrg] new curves or old (was: Actual security levels for IETF crypto)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Nov 2014 21:31:24 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 03/11/2014 09:10, Alyssa Rowan wrote:

> If we cannot make very clear choices, if we cannot make them very
> soon (e.g., early December/*before* Christmas), or if the choices
> we make aren't very good ones, implementers will just go and make
> their own choices.

A quick update along these lines: As you may have seen, GnuPG 2.1.0
just added the NIST curves, the Brainpool curves - and Ed25519.

If we do have any pertinent recommendations regarding elliptic curves,
then I really do think we ought to make them while they are relevant.

Or we could just wait for everyone else to pick Curve25519 as the
de-facto winner of ≈WF128 for us - that works too, and is in my view
the best choice in its class anyway.

- -- 
/akr
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJUW+isAAoJEOyEjtkWi2t6h90QAKd+EnFwIxBglFM427V5EhAX
oQDYbcueIvwu9FnfS0wgcJguRsuyr7fkD9Hu07ezM3rygHmRYmjd0mHPjKwGKPDv
c7vkzNBNyMKkB8QCBHOaezLPSCldk7UkDKXmMFpJCHFB9W67yaztftznD9LmPj7W
39b5JdPrtXQ98gdeFpXJJscoZsm6k/9EULBo1NR17+pKhWqZBOnDsM0rvSEfKpF+
lZUNCSmvtHWd8Mb55OV3tyDDiHn9Vu2p1EX6U+UYy7aFbNZnnPKMWNtu4//5n/mP
BcNSIEMsGYPZOQ+cutc5QHKNUbpNfZ+++5zKq6ziKDAAp//Ot/65n1L8mhVWl36r
yWr4FGUSmZajwFUMgT2SIV+tharGjrVjoNuJwKHmhcpiMMhsbc2XlZV+uN/EI1TN
Q4+Iz5hWpGqfKCEN6+kI6Ct3dhG6bv8quhxb7GQoEacgF/m2eI1ftXT8R/s1h+xw
8i/ihEXFoYqiFIEiuUZWRxXuCVhIut+LVse3iJbmioBb2N9/N9YRmHAWS35mFHuh
P5kTF7uuuhGHwWOHwW3FIPAbKzHxjsE6fN6MmHiXwK3mTQ53c8k6OjR/l2FhPm5o
BayBgXEYVh0y67cunAT9oomV/fCHt9GknzHUNmK+Iv/79s5dpnD8v2Sm9JLuYDRR
xAiACwrZ9xaoOO46uDbk
=oTgm
-----END PGP SIGNATURE-----


From nobody Thu Nov  6 21:37:51 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 280C11ACEE8 for <cfrg@ietfa.amsl.com>; Thu,  6 Nov 2014 21:37:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.6
X-Spam-Level: 
X-Spam-Status: No, score=-0.6 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 zAd2siR_5rqq for <cfrg@ietfa.amsl.com>; Thu,  6 Nov 2014 21:37:46 -0800 (PST)
Received: from mail-yk0-x231.google.com (mail-yk0-x231.google.com [IPv6:2607:f8b0:4002:c07::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 69D621ACEE7 for <cfrg@irtf.org>; Thu,  6 Nov 2014 21:37:46 -0800 (PST)
Received: by mail-yk0-f177.google.com with SMTP id 142so1842233ykq.8 for <cfrg@irtf.org>; Thu, 06 Nov 2014 21:37:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:date:message-id:subject:from:to:content-type; bh=mEKdzoCa3ZXZ7vwxK2UE6ADC1eGEqplVGnYdXQZ7MeA=; b=LxRQyLwbNMqGetqX63imBmi2c2myXiVR0VfPcifV5j4ej3GwSR5rfXJQML28s+6/g1 y2tcB/n+3Nr1VzhMpIdalHXiMG8f53/fLqfLEu1Lxf0ozjEALnXszZFRLRx9pZaxuUno Y7lDVOO3gMihPniRYywNUuIDMrpCnCR68c2y7o/+2KVLmbZW+ISnrRjvuZEwOwp+nmdg D+aPx4Al2/UGUYpAyjlFDKSEIMUgTTdHozA+wUiCRiaVYPKDVYAQSS+qfrZGi3aVxNOk 4tHIQo0LJAtz32i2o3Ua6femjWEpVKY7de4HLAaykS8if+CnelC3J5zHYk5HOqQeCr5T wdAA==
MIME-Version: 1.0
X-Received: by 10.236.30.197 with SMTP id k45mr8608408yha.163.1415338665496; Thu, 06 Nov 2014 21:37:45 -0800 (PST)
Received: by 10.170.195.203 with HTTP; Thu, 6 Nov 2014 21:37:45 -0800 (PST)
Date: Thu, 6 Nov 2014 21:37:45 -0800
Message-ID: <CACsn0ckdtmcZ9BsPwVCYJVSFSEe-O73qP=kQgTGfkFH7gP91bQ@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/wu21OZeLxr-RjaT7TZkjmU8szN8
Subject: [Cfrg] GPG and the way forward
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Nov 2014 05:37:48 -0000

Dear all,

GPG has just added Curve25519. It may be worth considering getting
some sort of document describing Curve25519 out there, and waiting for
someone to get convinced of something on the TLS recommendations. (I
know I promised to write the best argument I could for NUMS by now,
but I'm still thinking about how to defend the twist choice)

Even if we recommend the NUMS curves in some form, Curve25519 and
Ed25519 will not be going away. I doubt that the GPG authors will be
willing to remove support so soon after adding it. If we recommend
NUMS in the twisted, originally specified form, implementors will not
implement this but instead implement Curve25519, because it's
significantly easier to avoid mistakes and much simpler. Even in the
untwisted form tweetnacl.c has wormed its way into hearts everywhere,
and has been translated into a dozen languages.

Between GPG, SSH, and half-a-dozen other projects there will be
demands to add Curve25519 to standards to describe existing practice.
Are we going to say no to that? If we specify short Weierstrass form
for backwards compatibility with HSMs, do we then force applications
without that constraint to use a point format that is less convenient
for them?

I think the answer to both these questions is no. So I would recommend
we do the following:
- Advance a draft describing the current Curve25519 and Ed25519
- Separately decide what we want to recommend should be used in TLS
- Write and work on the draft for that recommendation

This doesn't make our recommendation problem any easier, but it does
remove one of the barriers to picking NUMS, namely the existing
adoption of Curve25519. That's not going away: being the only fast
alternative to P256 for 8 years has lead to adoption, unsurprisingly.

Sincerely,
Watson Ladd


From nobody Fri Nov  7 11:37:44 2014
Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 80E651A0439 for <cfrg@ietfa.amsl.com>; Fri,  7 Nov 2014 11:37:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.647
X-Spam-Level: 
X-Spam-Status: No, score=-3.647 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
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 CsdDbWVV7uQm for <cfrg@ietfa.amsl.com>; Fri,  7 Nov 2014 11:37:40 -0800 (PST)
Received: from proper.com (Hoffman.Proper.COM [207.182.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3E4021A03A9 for <cfrg@irtf.org>; Fri,  7 Nov 2014 11:37:40 -0800 (PST)
Received: from [10.20.30.90] (142-254-17-6.dsl.dynamic.fusionbroadband.com [142.254.17.6]) (authenticated bits=0) by proper.com (8.14.9/8.14.7) with ESMTP id sA7Jbc6F018075 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <cfrg@irtf.org>; Fri, 7 Nov 2014 12:37:39 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 142-254-17-6.dsl.dynamic.fusionbroadband.com [142.254.17.6] claimed to be [10.20.30.90]
From: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Message-Id: <FE12FCFB-298D-462C-AAE6-36CD2031CF34@vpnc.org>
Date: Fri, 7 Nov 2014 11:37:38 -0800
To: "cfrg@irtf.org CFRG" <cfrg@irtf.org>
Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\))
X-Mailer: Apple Mail (2.1990.1)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/MdSQpiKV8yGHXF6MoG6wtzDkjDc
Subject: [Cfrg] A nudge on revising RFC 6090
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Nov 2014 19:37:42 -0000

[[ Only Watson replied on the earlier message about this. I would still =
like to get specific wording on point compression for the new RFC. I =
don't know if there is any value to forking this document to cover =
things that are within the normal patent aging restrictions, but that =
could still be discussed. ]]

Greetings again. RFC 6090, "Fundamental Elliptic Curve Cryptography =
Algorithms", was published a few years ago, with the purpose of laying =
down which parts of elliptic curve cryptography had been described long =
enough ago to avoid any patent issues. A fair number of technical errata =
have been reported on RFC 6090. Also, the point compression patent is =
expiring later this month, and therefore point compression might be =
added to a new version of the RFC.

This seems like a good time to revisit RFC 6090 to incorporate the =
errata and to start to consider what else can be added to the document. =
I have started a new draft, listed below. The errata have been marked in =
the document; those marks will come out in future drafts.

To start off, it would be grand if people would read through the draft =
carefully for technical accuracy. I say this because the drafts leading =
to RFC 6090 had been reviewed here in CFRG, and yet some significant =
mistakes made it through the process.

At the same time, it would be useful to hear what people think additions =
to the document should be. RFC 6090 focused on the Suite B curves, but =
if additional curves and concepts can be added (while maintaining the =
design goal of things described fully early enough to avoid patent =
encumbrance), that could be interesting as well.

--Paul Hoffman


A new version of I-D, draft-hoffman-rfc6090bis-00.txt
has been successfully submitted by Paul Hoffman and posted to the
IETF repository.

Name:		draft-hoffman-rfc6090bis
Revision:	00
Title:		Fundamental Elliptic Curve Cryptography Algorithms
Document date:	2014-07-04
Group:		Individual Submission
Pages:		34
URL:            =
http://www.ietf.org/internet-drafts/draft-hoffman-rfc6090bis-00.txt
Status:         =
https://datatracker.ietf.org/doc/draft-hoffman-rfc6090bis/
Htmlized:       http://tools.ietf.org/html/draft-hoffman-rfc6090bis-00


Abstract:
 This note describes the fundamental algorithms of Elliptic Curve
 Cryptography (ECC) as they were defined in some seminal references
 from 1994 and earlier.  These descriptions may be useful for
 implementing the fundamental algorithms without using any of the
 specialized methods that were developed in following years.  Only
 elliptic curves defined over fields of characteristic greater than
 three are in scope; these curves are those used in Suite B.

 This version of the note incorporates errata that were reported on
 RFC 6090 [RFC6090].

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg


From nobody Fri Nov  7 13:43:41 2014
Return-Path: <crypto@brainhub.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A440C1A1B3F for <cfrg@ietfa.amsl.com>; Fri,  7 Nov 2014 13:43:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_PASS=-0.001] autolearn=ham
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 ZPkSkOB6tlkM for <cfrg@ietfa.amsl.com>; Fri,  7 Nov 2014 13:43:36 -0800 (PST)
Received: from resqmta-ch2-03v.sys.comcast.net (resqmta-ch2-03v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:35]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2887A1A00EB for <cfrg@irtf.org>; Fri,  7 Nov 2014 13:43:36 -0800 (PST)
Received: from resomta-ch2-18v.sys.comcast.net ([69.252.207.114]) by resqmta-ch2-03v.sys.comcast.net with comcast id CljF1p0062Udklx01lja4r; Fri, 07 Nov 2014 21:43:34 +0000
Received: from [IPv6:::1] ([71.202.164.227]) by resomta-ch2-18v.sys.comcast.net with comcast id CljZ1p00T4uhcbK01ljavN; Fri, 07 Nov 2014 21:43:34 +0000
Message-ID: <545D3D05.6010303@brainhub.org>
Date: Fri, 07 Nov 2014 13:43:33 -0800
From: Andrey Jivsov <crypto@brainhub.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
MIME-Version: 1.0
To: cfrg@irtf.org
References: <CACsn0ckdtmcZ9BsPwVCYJVSFSEe-O73qP=kQgTGfkFH7gP91bQ@mail.gmail.com>
In-Reply-To: <CACsn0ckdtmcZ9BsPwVCYJVSFSEe-O73qP=kQgTGfkFH7gP91bQ@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1415396614; bh=pMWI+2nNqmsXmfaiv/YmdUsNTx6NFAdz10d2xYQnF1U=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=PwzocRzHZ5dj/ot7kaIDnPyd+Nqz7v0Y5hXuU3287sHNCm/dkohHQJVme+YLiJFGh 3HANjCqUfasroYLVhCAHmhWhP8qAnglVy9Alpn+6GexSFdOumW216IONTXbrYrkQS3 v02dpJFHQZhp38x1xtacSyapD6jUZMRT+Yq6GKTfTnLFuJgw2uqo+CHYraPaJkH4/c 3GV2V8nSIqPiBO6tK5c/GiH9VgdoQ0GNcpM9tHs7nUgmIZcD2X1q6E/WRDtwtcKTWV 7d8NYkHaJNPmtdjhSU//HGrP1KAg8AkMH3hEt1BPdxCvcaT/+GAW2+ffpVPmngT1ge ZCvbOeIqazKhA==
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/eGSgYpws-BA12di_79-1aiM6J-E
Subject: Re: [Cfrg] GPG and the way forward
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Nov 2014 21:43:38 -0000

On 11/06/2014 09:37 PM, Watson Ladd wrote:
> Dear all,
>
> GPG has just added Curve25519.

Just to provide some context,

the main developer of GnuPG announced that he wrote code for Ed25519 in 
Nov 2013. Curve25519 was added earlier in 2014.

Note that ECC support is disabled in gnupg2 and is only available in the 
dev. version that one compiles himself.

  gpg2 --expert --gen-key

doesn't offer any ECC choices I believe it used to have (did this on 
Fedora core 20).

( I believe gpg2 used to offer them, but this was removed soon after 
Snowden ).

It may be worth considering getting
> some sort of document describing Curve25519 out there, and waiting for
> someone to get convinced of something on the TLS recommendations. (I
> know I promised to write the best argument I could for NUMS by now,
> but I'm still thinking about how to defend the twist choice)
>
> Even if we recommend the NUMS curves in some form, Curve25519 and
> Ed25519 will not be going away. I doubt that the GPG authors will be
> willing to remove support so soon after adding it. If we recommend
> NUMS in the twisted, originally specified form, implementors will not
> implement this but instead implement Curve25519, because it's
> significantly easier to avoid mistakes and much simpler. Even in the
> untwisted form tweetnacl.c has wormed its way into hearts everywhere,
> and has been translated into a dozen languages.
>
> Between GPG, SSH, and half-a-dozen other projects there will be
> demands to add Curve25519 to standards to describe existing practice.
> Are we going to say no to that? If we specify short Weierstrass form
> for backwards compatibility with HSMs, do we then force applications
> without that constraint to use a point format that is less convenient
> for them?

he interoperability base is a major concern for OpenPGP. Unlike TLS, 
there is no real-time negotiation in the OpenPGP protocol regarding 
algorithms involved in signing (e.g. public key, hashes). So, less is 
more for adoption of signing algorithms in OpenPGP, and encryption 
algorithms to some extent as well.

Given that P-256 had troubles gaining traction in its golden years prior 
to Snowden, OpenPGP will benefit from one blessed standard for non-NIST 
ECC. GnuPG also had Brainpool curves, with probably ~ zero adoption 
outside of Germany. The new reality is that if one wants to to 
interoperate with ECC in OpenPGP in the next 5 years, one will need 
P-256 and the second to-be-selected curve. The main benefit of the 
second curve, which unfortunately splits the interoperability base, is 
user demand for a trusted non-NIST choice. Performance arguments, 
simplicity of implementation, side channels, etc are not really a 
concern driving the demand for the non-NIST choice.

> I think the answer to both these questions is no. So I would recommend
> we do the following:
> - Advance a draft describing the current Curve25519 and Ed25519
> - Separately decide what we want to recommend should be used in TLS
> - Write and work on the draft for that recommendation
>
> This doesn't make our recommendation problem any easier, but it does
> remove one of the barriers to picking NUMS, namely the existing
> adoption of Curve25519. That's not going away: being the only fast
> alternative to P256 for 8 years has lead to adoption, unsurprisingly.
>
> Sincerely,
> Watson Ladd

Speaking for OpenPGP implementations in general, in my opinion the right 
thing for OpenPGP community is to wait for CFRG recommendation and then 
prioritize the implementation of this choice. Given the past experience, 
this will take years in the best-case scenario.

Note that OpenPGP was friendly with 4K RSA keys for a decade. ECC is 
disabled in gpg2 and is completely absent in the codebase of gpg, which 
caused some dissatisfaction of users, but apparently users feel good 
about RSA. The OpenPGP community can wait for a few months for a CFRG 
recommendation.

( Past that, there are other technical issues to sort out for OpenPGP 
such as point compression and the desire to have a public key that can 
be used for both encryption and signing, which was traditionally a 
capability of any public key algorithm in OpenPGP. )

>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>


From nobody Fri Nov  7 13:57:55 2014
Return-Path: <dkg@fifthhorseman.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B154B1A1B49 for <cfrg@ietfa.amsl.com>; Fri,  7 Nov 2014 13:57:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
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 rYvrpWHWkN9b for <cfrg@ietfa.amsl.com>; Fri,  7 Nov 2014 13:57:52 -0800 (PST)
Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108]) by ietfa.amsl.com (Postfix) with ESMTP id E13E51A0006 for <cfrg@irtf.org>; Fri,  7 Nov 2014 13:57:51 -0800 (PST)
Received: from [10.70.10.71] (unknown [38.109.115.130]) by che.mayfirst.org (Postfix) with ESMTPSA id 1FC3DF986; Fri,  7 Nov 2014 16:57:48 -0500 (EST)
Message-ID: <545D4050.3070403@fifthhorseman.net>
Date: Fri, 07 Nov 2014 16:57:36 -0500
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Icedove/33.0
MIME-Version: 1.0
To: Andrey Jivsov <crypto@brainhub.org>, cfrg@irtf.org
References: <CACsn0ckdtmcZ9BsPwVCYJVSFSEe-O73qP=kQgTGfkFH7gP91bQ@mail.gmail.com> <545D3D05.6010303@brainhub.org>
In-Reply-To: <545D3D05.6010303@brainhub.org>
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UN8L6pTOTL6rkr7dLldMjwGgsPE88kVOk"
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/o1Zbmfzez4dk-m-b1LeObbaiEAE
Subject: Re: [Cfrg] GPG and the way forward
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Nov 2014 21:57:53 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--UN8L6pTOTL6rkr7dLldMjwGgsPE88kVOk
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 11/07/2014 04:43 PM, Andrey Jivsov wrote:
>=20
> Note that ECC support is disabled in gnupg2 and is only available in th=
e
> dev. version that one compiles himself.
>=20
>  gpg2 --expert --gen-key

A couple clarifications:

The release of gnupg 2.1.0 ("modern") earlier this week makes it
available to anyone running that version of gpg, which is available
pre-built in at least in debian's experimental repository, maybe
elsewhere too.

While generation of ECC keys is hidden behind the --expert flag, support
for the use of ECC keys is *not* disabled in gnupg 2.1.0.

so if you already have such a key, or if your correspondent has such a
key, gpg 2.1.0 should "just work" with it.

This supports NIST curves, and Ed25519.

I don't think that any released branch of gpg2 has offered ECC in the pas=
t.

I agree with Andrey's general point about the OpenPGP community being
likely to be willing to adopt whatever stronger curve CFRG recommends,
if such a recommendation is forthcoming.

	--dkg


--UN8L6pTOTL6rkr7dLldMjwGgsPE88kVOk
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJUXUBQXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAw
MDAwMDAwMDAwMDAwMDAwAAoJEKUkAbEb/fpcv5oP/ijPA+miYPaDMvvLjXVz/Nii
SDqfpPUeR//9nQAjtt2tfccipqw0iAolr4YhFRh0B0wYhQgRq3e1Z0Z1gOQGOCR4
3npyjoVL2cDN5LYVQL+PS1jGPco2iczeXQqORev4uZE0eGHa8PExtMDrCX3yGV22
MVREJQH6dr4QVvIPd8k/gMjsTjjZaZ3/M9ubsktGBN1o3Ev03+7ni8GP24eqd1eb
4ATWSuOiXqbjvDwVeshmlVS8Ik1PbTTPTVpxNYdLALQ1dA4THCVHCrMDLiAXAgz4
kBNTBcbYzYqvGsJ/i3OGVZE22X+EHzPn924g61en0CU7AIv+Vo6ThmjGV/wm7MMe
du5dLhql0qfXVQtY+ymHXJt1vRKqPkzbMVC3BotBTaAcBZgsbTfnpQPDGAAMl1fV
Mensoyifg9PEFB3wX2K3FfQmxrWXcMU90zz3tETRUlOc1llM1bbr/oXqNlQC6l6B
03v/Lgs0DFm1cm/ylBWwf0ApHmCEb8l3Q8+5NZQv3nFWNQpICQck3gpCE5k7Gy08
OxK1SuELyoLYM3KiQdh4yUE/3LvbqqdSNnaaxKJCfrbi47bJaW/82mWHbdfiipKZ
OnITECNiTDJWjeainx4wCo7CKnMrnd2dMsYdlZ8h+qjXOhQ3/BDMis/LX8YuWjli
PPIdL46Ad3gSL9XEhztJ
=1KlO
-----END PGP SIGNATURE-----

--UN8L6pTOTL6rkr7dLldMjwGgsPE88kVOk--


From nobody Fri Nov  7 16:40:56 2014
Return-Path: <todd@lana.io>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 358641A008F for <cfrg@ietfa.amsl.com>; Fri,  7 Nov 2014 16:40:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.078
X-Spam-Level: 
X-Spam-Status: No, score=-0.078 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 eQK0mISMa2Kz for <cfrg@ietfa.amsl.com>; Fri,  7 Nov 2014 16:40:51 -0800 (PST)
Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C1A71A0060 for <cfrg@irtf.org>; Fri,  7 Nov 2014 16:40:51 -0800 (PST)
Received: by mail-pa0-f45.google.com with SMTP id lf10so4540633pab.4 for <cfrg@irtf.org>; Fri, 07 Nov 2014 16:40:51 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=jziDZ3kB/2E+dLt1nX3V7RM9c1aT3AYAJoS0Wt1Cy7o=; b=RTmxVHVtux28rXXUGjUn0kU7k+NzG6B0AoTydJM8oP/i/eivXgtoL8ElFseuFgEHO+ 6FLVQnQN22S44scxm08pBzI+eUJVoD62Ui7B4gOk81lgqnlV68H8sEquN2q1R2pWCiYM taLb05Lc5mK53qtraapP/fH+YHdAliX1pkRfjbBdWWOieZ+IlzsRI3D98MXxIQP8yIL3 16xSa0x2URbBTIUHiVtP3EnzoCKfQBCkQl57thnlvpCY9CtMwJIUFSymfjg/d/NrR+lZ nC2OzO5kDLeJ7Y/qjCKI1SmfsGKrZqGfJq4Z1s9e/TAtC5+kND4Sgk2SvJTqXkT9SNgN wiAA==
X-Gm-Message-State: ALoCoQl289r6Vqnjco0amr/rr1sj6gT422s0VZij+9ydRxzhCKx7unUMDrpwuB0hrzwkQbfvtq+2
MIME-Version: 1.0
X-Received: by 10.68.134.197 with SMTP id pm5mr15631149pbb.123.1415407251188;  Fri, 07 Nov 2014 16:40:51 -0800 (PST)
Received: by 10.70.127.42 with HTTP; Fri, 7 Nov 2014 16:40:51 -0800 (PST)
X-Originating-IP: [107.201.128.213]
Date: Fri, 7 Nov 2014 16:40:51 -0800
Message-ID: <CAPyoUqUp90ggapn4QHDSPMQJhbdmjfvWL35Q30kzZPf-3AP0Sg@mail.gmail.com>
From: Todd Blose <todd@lana.io>
To: cfrg@irtf.org
Content-Type: multipart/alternative; boundary=047d7b10cf1f6b89a905074e2eb1
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/5EcR564DaDoh28x4bcv55HY_WpY
Subject: [Cfrg] Mailman version
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Nov 2014 00:40:54 -0000

--047d7b10cf1f6b89a905074e2eb1
Content-Type: text/plain; charset=UTF-8

Why is the IETF using < Mailman 3 for its mailing lists?

Here's a refresher from 2002 why it has bad security "features"
http://www.jwz.org/doc/mailman.html

And a Google query:
https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=%22you%20must%20know%20your%20password%20to%20change%20your%20options%20(including%20changing%20the%20password%2c%20itself)%20or%20to%20unsubscribe%20without%20confirmation.%22

Just curious :)

Thanks,
Todd

--047d7b10cf1f6b89a905074e2eb1
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Why is the IETF using &lt; Mailman 3 for its mailing lists=
? <br>
<br>
Here&#39;s a refresher from 2002 why it has bad security &quot;features&quo=
t; <a href=3D"http://www.jwz.org/doc/mailman.html">http://www.jwz.org/doc/m=
ailman.html</a><br>
<br>
And a Google query:=20
<a href=3D"https://www.google.com/webhp?sourceid=3Dchrome-instant&amp;ion=
=3D1&amp;espv=3D2&amp;ie=3DUTF-8#q=3D%22you%20must%20know%20your%20password=
%20to%20change%20your%20options%20(including%20changing%20the%20password%2c=
%20itself)%20or%20to%20unsubscribe%20without%20confirmation.%22">https://ww=
w.google.com/webhp?sourceid=3Dchrome-instant&amp;ion=3D1&amp;espv=3D2&amp;i=
e=3DUTF-8#q=3D%22you%20must%20know%20your%20password%20to%20change%20your%2=
0options%20(including%20changing%20the%20password%2c%20itself)%20or%20to%20=
unsubscribe%20without%20confirmation.%22</a><br>
<br>
Just curious :)<br>
<br>
Thanks,<br>
Todd<br></div>

--047d7b10cf1f6b89a905074e2eb1--


From nobody Fri Nov  7 16:41:28 2014
Return-Path: <todd@lana.io>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AC1E21A00A6 for <cfrg@ietfa.amsl.com>; Fri,  7 Nov 2014 16:41:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 vhAbYxVIrzs9 for <cfrg@ietfa.amsl.com>; Fri,  7 Nov 2014 16:41:26 -0800 (PST)
Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4DE2F1A0081 for <cfrg@irtf.org>; Fri,  7 Nov 2014 16:41:26 -0800 (PST)
Received: by mail-pa0-f51.google.com with SMTP id kq14so4574649pab.10 for <cfrg@irtf.org>; Fri, 07 Nov 2014 16:41:26 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=lELfLUzZgUU3+gzSGfNAgKmEI9zKsShjo6tfMx1LALk=; b=afsvVrSGmbATpJVDv2RR0lQ4sI33+7UqMxQxEesMoPy0O1umApzPZmWTJCrHwY+tTM 2gIWgtqHUR/kDqqdPXhcWYeKRbDySSoVTDgSbD2SKaW3bkfZs+Ecpge0wB7VZZmUlHIM iXb7lMhoY3gz1CgppcWG1BV8Tt4XxcvDuvk4b2vInYk+4TYJCio7KHwWJyoT1+nSOaYn F9uO4CXjFt6+tvsGHT4jNeUFnvrKFCBicLdjs5eyYWseU9ens9UmFnND8Cbr3C94Ze4A lZ9qK2HXNpNfgcg+Dn6iFB6Ufa0xErtG7/CDqzWY7Jknml+61s0FQlKokiwjzrvRxtfH 5IYQ==
X-Gm-Message-State: ALoCoQkG2NBlLIBBP2zdJRldYRtsSvh/Pp4e4weAvmKGQUwUdckbzK88A9H8BhlyrTb8+e6Xz6ih
MIME-Version: 1.0
X-Received: by 10.67.30.162 with SMTP id kf2mr16125590pad.102.1415407285811; Fri, 07 Nov 2014 16:41:25 -0800 (PST)
Received: by 10.70.127.42 with HTTP; Fri, 7 Nov 2014 16:41:25 -0800 (PST)
X-Originating-IP: [107.201.128.213]
In-Reply-To: <CAPyoUqUp90ggapn4QHDSPMQJhbdmjfvWL35Q30kzZPf-3AP0Sg@mail.gmail.com>
References: <CAPyoUqUp90ggapn4QHDSPMQJhbdmjfvWL35Q30kzZPf-3AP0Sg@mail.gmail.com>
Date: Fri, 7 Nov 2014 16:41:25 -0800
Message-ID: <CAPyoUqXuPdv=GdPLB9Cu+POOVpAMqdKrLtoX-h6eA73A-B2hSA@mail.gmail.com>
From: Todd Blose <todd@lana.io>
To: cfrg@irtf.org
Content-Type: multipart/alternative; boundary=001a11343da07bcfa905074e3044
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/5aKpr4eS66GzxtQ3_iV-KsBjwM8
Subject: Re: [Cfrg] Mailman version
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Nov 2014 00:41:27 -0000

--001a11343da07bcfa905074e3044
Content-Type: text/plain; charset=UTF-8

Woops. Apologies for sending that twice.

On Fri, Nov 7, 2014 at 4:40 PM, Todd Blose <todd@lana.io> wrote:

> Why is the IETF using < Mailman 3 for its mailing lists?
>
> Here's a refresher from 2002 why it has bad security "features"
> http://www.jwz.org/doc/mailman.html
>
> And a Google query:
> https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=%22you%20must%20know%20your%20password%20to%20change%20your%20options%20(including%20changing%20the%20password%2c%20itself)%20or%20to%20unsubscribe%20without%20confirmation.%22
>
> Just curious :)
>
> Thanks,
> Todd
>

--001a11343da07bcfa905074e3044
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Woops. Apologies for sending that twice.</div><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri, Nov 7, 2014 at 4:40=
 PM, Todd Blose <span dir=3D"ltr">&lt;<a href=3D"mailto:todd@lana.io" targe=
t=3D"_blank">todd@lana.io</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex"><div dir=3D"ltr">Why is the IETF using &lt; Mailman 3 for its mailin=
g lists? <br><div><div class=3D"h5">
<br>
Here&#39;s a refresher from 2002 why it has bad security &quot;features&quo=
t; <a href=3D"http://www.jwz.org/doc/mailman.html" target=3D"_blank">http:/=
/www.jwz.org/doc/mailman.html</a><br>
<br>
And a Google query:=20
<a href=3D"https://www.google.com/webhp?sourceid=3Dchrome-instant&amp;ion=
=3D1&amp;espv=3D2&amp;ie=3DUTF-8#q=3D%22you%20must%20know%20your%20password=
%20to%20change%20your%20options%20(including%20changing%20the%20password%2c=
%20itself)%20or%20to%20unsubscribe%20without%20confirmation.%22" target=3D"=
_blank">https://www.google.com/webhp?sourceid=3Dchrome-instant&amp;ion=3D1&=
amp;espv=3D2&amp;ie=3DUTF-8#q=3D%22you%20must%20know%20your%20password%20to=
%20change%20your%20options%20(including%20changing%20the%20password%2c%20it=
self)%20or%20to%20unsubscribe%20without%20confirmation.%22</a><br>
<br>
Just curious :)<br>
<br>
Thanks,<br>
Todd<br></div></div></div>
</blockquote></div><br></div>

--001a11343da07bcfa905074e3044--


From nobody Fri Nov  7 21:54:57 2014
Return-Path: <derek@ihtfp.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 23E391A0398 for <cfrg@ietfa.amsl.com>; Fri,  7 Nov 2014 21:54:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.851
X-Spam-Level: 
X-Spam-Status: No, score=-0.851 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049] autolearn=no
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 dxdN4QhDkULL for <cfrg@ietfa.amsl.com>; Fri,  7 Nov 2014 21:54:53 -0800 (PST)
Received: from mail2.ihtfp.org (mail2.ihtfp.org [IPv6:2001:4830:143:1::3a11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B6E251A0393 for <cfrg@irtf.org>; Fri,  7 Nov 2014 21:54:53 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 794F3E2036; Sat,  8 Nov 2014 00:54:51 -0500 (EST)
Received: from mail2.ihtfp.org ([127.0.0.1]) by localhost (mail2.ihtfp.org [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 30146-07; Sat,  8 Nov 2014 00:54:49 -0500 (EST)
Received: from securerf.ihtfp.org (unknown [174.47.67.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mocana.ihtfp.org", Issuer "IHTFP Consulting Certification Authority" (verified OK)) by mail2.ihtfp.org (Postfix) with ESMTPS id 1ECDEE2031; Sat,  8 Nov 2014 00:54:48 -0500 (EST)
Received: (from warlord@localhost) by securerf.ihtfp.org (8.14.8/8.14.8/Submit) id sA7HsNWn022908; Fri, 7 Nov 2014 12:54:23 -0500
From: Derek Atkins <derek@ihtfp.com>
To: Watson Ladd <watsonbladd@gmail.com>
References: <CACsn0ckdtmcZ9BsPwVCYJVSFSEe-O73qP=kQgTGfkFH7gP91bQ@mail.gmail.com>
Date: Fri, 07 Nov 2014 12:54:23 -0500
In-Reply-To: <CACsn0ckdtmcZ9BsPwVCYJVSFSEe-O73qP=kQgTGfkFH7gP91bQ@mail.gmail.com> (Watson Ladd's message of "Thu, 6 Nov 2014 21:37:45 -0800")
Message-ID: <sjmd28yyjzk.fsf@securerf.ihtfp.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/YnFN-13TgBU6-hFfr5W3g8S2yBg
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] GPG and the way forward
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 08 Nov 2014 05:54:55 -0000

Watson Ladd <watsonbladd@gmail.com> writes:

> Dear all,
>
> GPG has just added Curve25519. It may be worth considering getting
> some sort of document describing Curve25519 out there, and waiting for
> someone to get convinced of something on the TLS recommendations. (I
> know I promised to write the best argument I could for NUMS by now,
> but I'm still thinking about how to defend the twist choice)

There is a draft on using 25519 (Ed form, IIRC) in OpenPGP, written by
Werner Koch.  Are you looking for some other, more general draft?

[snip]
> This doesn't make our recommendation problem any easier, but it does
> remove one of the barriers to picking NUMS, namely the existing
> adoption of Curve25519. That's not going away: being the only fast
> alternative to P256 for 8 years has lead to adoption, unsurprisingly.
>
> Sincerely,
> Watson Ladd

-derek
-- 
       Derek Atkins                 617-623-3745
       derek@ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant


From nobody Sat Nov  8 18:46:24 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B69431A0123 for <cfrg@ietfa.amsl.com>; Sat,  8 Nov 2014 18:46:21 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 vPnFdD3T4P-e for <cfrg@ietfa.amsl.com>; Sat,  8 Nov 2014 18:46:20 -0800 (PST)
Received: from mail-yh0-x22f.google.com (mail-yh0-x22f.google.com [IPv6:2607:f8b0:4002:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 133A81A00FE for <cfrg@irtf.org>; Sat,  8 Nov 2014 18:46:20 -0800 (PST)
Received: by mail-yh0-f47.google.com with SMTP id z6so3469683yhz.34 for <cfrg@irtf.org>; Sat, 08 Nov 2014 18:46:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CJoMoej2P0zStkt5j81l1mqpz/bIWZqT8uBirqbPI+s=; b=gDi9CrD/1mcsFO5N2XZD5hn3B1/zTDHO4Y6BzvWQHKmKwRSbT8CvtF+PdZoetOmQ7L VWRJiLCmXZvOuXqQ7A8ZJWbjn+/z/1N8eT06/zBO8RHZzHMVjhf7W8besmBEOdUnMav2 nXVZg+n7VBU8ZOx5EKZH+6CqCaGbCnkGEbA/rcQd3Y+LWnW+NJhEQ4AYIT7nh3q4+c05 HS6iKhtlldGs0N4Wkqf6a62o6tDBMXiPibd/Bo+NgtksQvKW2pL8NNlfKCFF913FVnB5 4Bm3VBDKfgAsIEmBucsiMtyJAotS2HCiGFHnIV1UEtdL6HetL2mkla2zQKPd6eaufA7T kF8A==
MIME-Version: 1.0
X-Received: by 10.236.17.166 with SMTP id j26mr21311858yhj.8.1415501179325; Sat, 08 Nov 2014 18:46:19 -0800 (PST)
Received: by 10.170.195.203 with HTTP; Sat, 8 Nov 2014 18:46:19 -0800 (PST)
In-Reply-To: <sjmd28yyjzk.fsf@securerf.ihtfp.org>
References: <CACsn0ckdtmcZ9BsPwVCYJVSFSEe-O73qP=kQgTGfkFH7gP91bQ@mail.gmail.com> <sjmd28yyjzk.fsf@securerf.ihtfp.org>
Date: Sat, 8 Nov 2014 18:46:19 -0800
Message-ID: <CACsn0cnshZfrvBa0YZngY=3yvSrTzALWni3imAcEcR--x7pdhw@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Derek Atkins <derek@ihtfp.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ZJrFah5M_aPa9Us4o7ZsfZpddkQ
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] GPG and the way forward
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Nov 2014 02:46:22 -0000

On Fri, Nov 7, 2014 at 9:54 AM, Derek Atkins <derek@ihtfp.com> wrote:
> Watson Ladd <watsonbladd@gmail.com> writes:
>
>> Dear all,
>>
>> GPG has just added Curve25519. It may be worth considering getting
>> some sort of document describing Curve25519 out there, and waiting for
>> someone to get convinced of something on the TLS recommendations. (I
>> know I promised to write the best argument I could for NUMS by now,
>> but I'm still thinking about how to defend the twist choice)
>
> There is a draft on using 25519 (Ed form, IIRC) in OpenPGP, written by
> Werner Koch.  Are you looking for some other, more general draft?

The Koch draft is similar to the original Turner draft. There were
several objections to the Turner draft that would carry over:

1: The least serious one is that the paper isn't a description
adequate for implementation.

2: More serious is that we don't want to depend on a paper that isn't
a standard. I have no idea how serious this objection actually is.

3: The crosscutting issue, and the reason we didn't say "yes, use
Curve25519" is that apparently CFRG is supposed to choose curves. As
far I know, this is new: I don't recall discussion of Brainpool
security in this forum.

We can finesse issue 3 by making our recommendations TLS only, and
ignore issues 1 and 2. But this cuts across a lot of early emails in
which people complained about these two points and wanted us to make
IETF wide recommendations. It also should be noted that putting the
curves into Weierstrass form wasn't considered, even if it would make
coding easier and reuse of smartcards easier.

Sincerely,
Watson Ladd

>
> [snip]
>> This doesn't make our recommendation problem any easier, but it does
>> remove one of the barriers to picking NUMS, namely the existing
>> adoption of Curve25519. That's not going away: being the only fast
>> alternative to P256 for 8 years has lead to adoption, unsurprisingly.
>>
>> Sincerely,
>> Watson Ladd
>
> -derek
> --
>        Derek Atkins                 617-623-3745
>        derek@ihtfp.com             www.ihtfp.com
>        Computer and Internet Security Consultant



-- 
"Those who would give up Essential Liberty to purchase a little
Temporary Safety deserve neither  Liberty nor Safety."
-- Benjamin Franklin


From nobody Sun Nov  9 23:06:35 2014
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0D1851A8938; Sun,  9 Nov 2014 23:06:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
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 l73C8P5TrruV; Sun,  9 Nov 2014 23:06:24 -0800 (PST)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 7D1D11A892C; Sun,  9 Nov 2014 23:06:24 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 5.7.2.p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20141110070624.22860.64975.idtracker@ietfa.amsl.com>
Date: Sun, 09 Nov 2014 23:06:24 -0800
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ospZpBwLjKX-mDkG-VtFrW0q69w
Cc: cfrg@ietf.org
Subject: [Cfrg] I-D Action: draft-irtf-cfrg-chacha20-poly1305-03.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Nov 2014 07:06:27 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
 This draft is a work item of the Crypto Forum Research Group Working Group of the IETF.

        Title           : ChaCha20 and Poly1305 for IETF protocols
        Authors         : Yoav Nir
                          Adam Langley
	Filename        : draft-irtf-cfrg-chacha20-poly1305-03.txt
	Pages           : 42
	Date            : 2014-11-09

Abstract:
   This document defines the ChaCha20 stream cipher, as well as the use
   of the Poly1305 authenticator, both as stand-alone algorithms, and as
   a "combined mode", or Authenticated Encryption with Additional Data
   (AEAD) algorithm.

   This document does not introduce any new crypto, but is meant to
   serve as a stable reference and an implementation guide.  It is a
   product of the Crypto Forum Research Group (CFRG)


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-irtf-cfrg-chacha20-poly1305/

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-irtf-cfrg-chacha20-poly1305-03

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=draft-irtf-cfrg-chacha20-poly1305-03


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Mon Nov 10 00:00:18 2014
Return-Path: <wk@gnupg.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 31DD91A8947 for <cfrg@ietfa.amsl.com>; Mon, 10 Nov 2014 00:00:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_HI=-5] autolearn=ham
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 Ps8yfMhDB7dU for <cfrg@ietfa.amsl.com>; Mon, 10 Nov 2014 00:00:15 -0800 (PST)
Received: from kerckhoffs.g10code.com (kerckhoffs.g10code.com [217.69.77.222]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5DAC11A88CE for <cfrg@irtf.org>; Mon, 10 Nov 2014 00:00:15 -0800 (PST)
Received: from uucp by kerckhoffs.g10code.com with local-rmail (Exim 4.80 #2 (Debian)) id 1XnjtU-0008S5-NW for <cfrg@irtf.org>; Mon, 10 Nov 2014 09:00:12 +0100
Received: from wk by vigenere.g10code.de with local (Exim 4.84 #3 (Debian)) id 1Xnjqs-0001FD-Gl; Mon, 10 Nov 2014 08:57:30 +0100
From: Werner Koch <wk@gnupg.org>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
References: <CACsn0ckdtmcZ9BsPwVCYJVSFSEe-O73qP=kQgTGfkFH7gP91bQ@mail.gmail.com> <545D3D05.6010303@brainhub.org> <545D4050.3070403@fifthhorseman.net>
Organisation: g10 Code GmbH
X-message-flag: Mails containing HTML will not be read! Please send only plain text.
OpenPGP: id=1E42B367; url=finger:wk@g10code.com
Date: Mon, 10 Nov 2014 08:57:30 +0100
In-Reply-To: <545D4050.3070403@fifthhorseman.net> (Daniel Kahn Gillmor's message of "Fri, 07 Nov 2014 16:57:36 -0500")
Message-ID: <87y4rjbi8l.fsf@vigenere.g10code.de>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ZUnBTLRj_dBNhTYniSTCjNUoCgA
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] GPG and the way forward
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Nov 2014 08:00:17 -0000

On Fri,  7 Nov 2014 22:57, dkg@fifthhorseman.net said:

> While generation of ECC keys is hidden behind the --expert flag, support
> for the use of ECC keys is *not* disabled in gnupg 2.1.0.

To add on this: This is a general strategy when we introduce a new
algorithm.  We first implement it in a kind of read-only way until the
deployment is wide enough to allow creating data using this new
algorithm.  Only then we make this algorithm more visible.  Prime
example for this is the introduction of DSA > 1024.  It would have been
useless to allow people to create keys with 2048 DSA if only a few
deployed implementations were able to use them.

BTW, ECDH using Curve25519 is not yet implemented because we have no
usable specs for this and in OpenPGP it is more important to have a
signing algorithm available - it is easy to add or change an encryption
subkey at any time later.

> I don't think that any released branch of gpg2 has offered ECC in the past.

Except for a Andrey's first implementation which is not widely known and
not maintained.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


From nobody Tue Nov 11 15:13:42 2014
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3F43D1A1B6B; Tue, 11 Nov 2014 15:13:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
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 xKsofhnMjTgy; Tue, 11 Nov 2014 15:13:39 -0800 (PST)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 191BE1A1B0C; Tue, 11 Nov 2014 15:13:39 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 5.7.2.p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20141111231339.11025.21374.idtracker@ietfa.amsl.com>
Date: Tue, 11 Nov 2014 15:13:39 -0800
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/bAjePbaX6symT3RezMXMmxH0x_c
Cc: cfrg@ietf.org
Subject: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-05.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Nov 2014 23:13:40 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
 This draft is a work item of the Crypto Forum Research Group Working Group of the IETF.

        Title           : Dragonfly Key Exchange
        Author          : Dan Harkins
	Filename        : draft-irtf-cfrg-dragonfly-05.txt
	Pages           : 17
	Date            : 2014-11-11

Abstract:
   This document specifies a key exchange using discrete logarithm
   cryptography that is authenticated using a password or passphrase.
   It is resistant to active attack, passive attack, and off-line
   dictionary attack.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-irtf-cfrg-dragonfly/

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-irtf-cfrg-dragonfly-05

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=draft-irtf-cfrg-dragonfly-05


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Mon Nov 17 07:56:53 2014
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 44A341A7010 for <cfrg@ietfa.amsl.com>; Mon, 17 Nov 2014 07:56:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.494
X-Spam-Level: 
X-Spam-Status: No, score=-2.494 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.594] autolearn=ham
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 p14Uh8MDoNfT for <cfrg@ietfa.amsl.com>; Mon, 17 Nov 2014 07:56:48 -0800 (PST)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) by ietfa.amsl.com (Postfix) with ESMTP id 3D1CC1A700B for <Cfrg@irtf.org>; Mon, 17 Nov 2014 07:56:45 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 341F3BE49; Mon, 17 Nov 2014 15:56:44 +0000 (GMT)
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 nDPuG_Ka2YsC; Mon, 17 Nov 2014 15:56:44 +0000 (GMT)
Received: from [134.226.36.180] (stephen-think.dsg.cs.tcd.ie [134.226.36.180]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 14FAEBE38; Mon, 17 Nov 2014 15:56:44 +0000 (GMT)
Message-ID: <546A1ABC.2010505@cs.tcd.ie>
Date: Mon, 17 Nov 2014 15:56:44 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: "cfrg@irtf.org" <Cfrg@irtf.org>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/rlo4nJkqio4HnVzS9_OIq9__byQ
Subject: [Cfrg] IBE checking...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Nov 2014 15:56:52 -0000

Hiya,

This IBE draft [1] is on next week's IESG telechat. Since
IBE ain't my thang really, I figured I'd check see if
someone here wanted to give it a read from a crypto POV.

There's not too much to this over and above RFC6507 [2] (I
think:-) but this seems to be the first case of a standards
track document making use of 6507 so there's a bit of process
novelty here, even if not much cryptographic novelty.

If you can review, sending comments here, or to the secdir
list, or the IETF list or just to Kathleen and I are all fine
things to do. If you might get to it but aren't sure please
drop me a note.

Oh, and it's not that long: just 16 pages incl. examples:-)

Thanks in advance,
S.

[1] https://datatracker.ietf.org/doc/draft-ietf-manet-ibs/
[2] https://tools.ietf.org/html/rfc6507


From nobody Mon Nov 17 13:46:06 2014
Return-Path: <ietf@augustcellars.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 601A71ACCFF for <cfrg@ietfa.amsl.com>; Mon, 17 Nov 2014 13:46:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 ODnZP1zhFEvK for <cfrg@ietfa.amsl.com>; Mon, 17 Nov 2014 13:46:02 -0800 (PST)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 55CE91ACD1F for <Cfrg@irtf.org>; Mon, 17 Nov 2014 13:46:02 -0800 (PST)
Received: from Philemon (173-8-216-38-Oregon.hfc.comcastbusiness.net [173.8.216.38]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp3.pacifier.net (Postfix) with ESMTPSA id 8E44A38F47; Mon, 17 Nov 2014 13:46:01 -0800 (PST)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Stephen Farrell'" <stephen.farrell@cs.tcd.ie>, "'cfrg@irtf.org'" <Cfrg@irtf.org>
References: <546A1ABC.2010505@cs.tcd.ie>
In-Reply-To: <546A1ABC.2010505@cs.tcd.ie>
Date: Mon, 17 Nov 2014 13:45:37 -0800
Message-ID: <038101d002af$d3b1c680$7b155380$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
Thread-Index: AQGTAM1Hw5fkAa0vMPkgWF9/9+MPH5zfXd8A
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/yY-UaUGOUgi_WucuY-XQgE2nfT4
Subject: Re: [Cfrg] IBE checking...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Nov 2014 21:46:04 -0000

My first reaction is to wonder if the group discussed the IPR issues and why
the IPR disclosures were not propagated forward to this document.

Jim

> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Stephen Farrell
> Sent: Monday, November 17, 2014 7:57 AM
> To: cfrg@irtf.org
> Subject: [Cfrg] IBE checking...
> 
> 
> Hiya,
> 
> This IBE draft [1] is on next week's IESG telechat. Since IBE ain't my
thang
> really, I figured I'd check see if someone here wanted to give it a read
from a
> crypto POV.
> 
> There's not too much to this over and above RFC6507 [2] (I
> think:-) but this seems to be the first case of a standards track document
> making use of 6507 so there's a bit of process novelty here, even if not
much
> cryptographic novelty.
> 
> If you can review, sending comments here, or to the secdir list, or the
IETF list
> or just to Kathleen and I are all fine things to do. If you might get to
it but aren't
> sure please drop me a note.
> 
> Oh, and it's not that long: just 16 pages incl. examples:-)
> 
> Thanks in advance,
> S.
> 
> [1] https://datatracker.ietf.org/doc/draft-ietf-manet-ibs/
> [2] https://tools.ietf.org/html/rfc6507
> 
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Mon Nov 17 21:32:08 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 47F1F1A00D0 for <cfrg@ietfa.amsl.com>; Mon, 17 Nov 2014 21:32: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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 Szo-qtrNjk_p for <cfrg@ietfa.amsl.com>; Mon, 17 Nov 2014 21:32:05 -0800 (PST)
Received: from mail-yk0-x230.google.com (mail-yk0-x230.google.com [IPv6:2607:f8b0:4002:c07::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A936A1A00BA for <Cfrg@irtf.org>; Mon, 17 Nov 2014 21:32:05 -0800 (PST)
Received: by mail-yk0-f176.google.com with SMTP id q200so5073092ykb.7 for <Cfrg@irtf.org>; Mon, 17 Nov 2014 21:32:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=z5RhEG5ogIJFpfRXC2xBY25bvaIbBG+50ufndrZKnpU=; b=xwDdDxScrJKJj46GYhSC7ku8kTPECSZR/fKyPXF3b0y+0t5UaLOE6JP9n9AzPwtpcR 053Mr2BIreC9gQfuUbB5pn3VsfBac3EwQCGLk/1D/XXIHKJvvjB1D1BnuiBbe9jCdtCK O5jrtB7OOwVdZtNOvFVKrBGNrxsFXSWYwfBR1fiy06C//q/bpvwGuSdf328qUpbu1AI5 eUH6OU/o1fSRdn8r2qX/nk1k23YbcFQWlunsM00D3p8XE9skzBkoZUBm/8h5HLI3Tia3 LZmBCgUal/h+eHlWBfuT45UV7O2/NIOX7Eg4DF5N3b0uxgvdZzyd512hDV9q+Jo41moy v7oA==
MIME-Version: 1.0
X-Received: by 10.236.15.103 with SMTP id e67mr28619333yhe.22.1416288724985; Mon, 17 Nov 2014 21:32:04 -0800 (PST)
Received: by 10.170.195.203 with HTTP; Mon, 17 Nov 2014 21:32:04 -0800 (PST)
In-Reply-To: <546A1ABC.2010505@cs.tcd.ie>
References: <546A1ABC.2010505@cs.tcd.ie>
Date: Mon, 17 Nov 2014 21:32:04 -0800
Message-ID: <CACsn0cnYFjM1cB4KUZo=DcZtSwExWz9GEiR6TFuTsSxeC5xUxg@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/UvpjwwhG0YeXV0P_eq3bQf47LtM
Cc: "cfrg@irtf.org" <Cfrg@irtf.org>
Subject: Re: [Cfrg] IBE checking...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Nov 2014 05:32:07 -0000

Someone more familiar with the byte-level formats of RFC 5444 needs to
check that the various ID spaces are nonoverlapping over the space
they need to be. It's the only problem I could see, assuming RFC 6507
is a secure scheme.

Sadly, RFC 6507 has no references to a security analysis or
publication describing the scheme. The security argument isn't
actually a security argument. My attempts at finding such an analysis
have come up dry.

I also found a patent application WO2001043341A2 which seems to cover
this method in claim 4. I can't figure out if it was granted or not:
my guess is no, because I haven't found patents, just applications.

Anyway, this doesn't directly answer the question presented.

Sincerely,
Watson Ladd


From nobody Wed Nov 19 08:07:59 2014
Return-Path: <F.RONDEPIERRE@oberthur.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C7B061AD16B for <cfrg@ietfa.amsl.com>; Wed, 19 Nov 2014 08:07:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.801
X-Spam-Level: 
X-Spam-Status: No, score=0.801 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
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 iq4eQAjiu6bV for <cfrg@ietfa.amsl.com>; Wed, 19 Nov 2014 08:07:51 -0800 (PST)
Received: from smtp7.mail.completel.net (smtp7.mail.completel.net [213.245.2.38]) by ietfa.amsl.com (Postfix) with ESMTP id 2D1AA1AD0B5 for <cfrg@irtf.org>; Wed, 19 Nov 2014 08:06:43 -0800 (PST)
Received: from FRPAVSERV103.oberthurcs.com (unknown [46.218.221.37]) by smtp7.mail.completel.net (Postfix) with ESMTP id 8AE195C40E for <cfrg@irtf.org>; Wed, 19 Nov 2014 17:06:42 +0100 (CET)
Received: from FRPASERV0087.emea.oberthurcs.com ([10.200.128.157]) by FRPAVSERV103.oberthurcs.com with Microsoft SMTPSVC(6.0.3790.4675);  Wed, 19 Nov 2014 17:06:41 +0100
Received: from FRPASERV0088.emea.oberthurcs.com ([10.200.128.158]) by FRPASERV0087.emea.oberthurcs.com ([10.200.128.157]) with mapi id 14.03.0210.002; Wed, 19 Nov 2014 17:06:41 +0100
From: RONDEPIERRE Franck <F.RONDEPIERRE@oberthur.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Requirements for elliptic curves with a view towards constrained devices
Thread-Index: AdAEEs5MtREHuut+R2eLj0cfl46SiA==
Date: Wed, 19 Nov 2014 16:06:40 +0000
Message-ID: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.200.225.106]
Content-Type: multipart/alternative; boundary="_000_8FBEB0194016E64D9DF7E7855CD88E0C073A6DFRPASERV0088emeao_"
MIME-Version: 1.0
X-OriginalArrivalTime: 19 Nov 2014 16:06:41.0475 (UTC) FILETIME=[CE88F930:01D00412]
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/N1z5VN5Laa6okMCtJVwUCV__bf0
Subject: [Cfrg] Requirements for elliptic curves with a view towards constrained devices
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Nov 2014 16:07:56 -0000

--_000_8FBEB0194016E64D9DF7E7855CD88E0C073A6DFRPASERV0088emeao_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Dear all,

Please find below the Oberthur Technologies position in the current CFRG cu=
rve selection.

It seems that the current CFRG discussion quickly swiped the "hardware" poi=
nt of view, qualifying it as out of the topic.
We think that all the points raised by Joppe Bos are relevant about the har=
dware context and may deserve a second thought if we take into account the =
range of possible devices that will implement the new TLS curves. Indeed, m=
ore and more devices are connected via the Internet and all those devices d=
on't share the characteristics of a PC. For instance, embedded constrained =
devices such as secure elements in smartphones may have to process TLS auth=
entication/key agreement in the future.
In what follows, we investigate the impact of migrating to Edwards curves, =
the performances needs, and finally we suggest some new security considerat=
ions in the curve selection/generation.

For some devices, the code size is the main limitation and hence has to be =
taken into account prior to speed performances. We analyze hereafter the im=
pact of switching to Edwards curves while keeping Short-Weierstrass ones fo=
r backward compatibility.
The efficient implementations of Short-Weierstrass and Twisted Edwards (or =
Montgomery) formulae are quite different. Not only the group law operation =
is different but also the precomputations and the internal point representa=
tions are different. It thus doubles all the multiplication implementations=
: fixed-base case, variable-base case, double-scalar case.
Hence being compliant with all these implementations has a high impact on t=
he code size, which may become impractical for some devices.
Besides, it also has a huge impact on the required time to develop in assem=
bly language the corresponding code. To ensure up to date security and perf=
ormances, hardware is constantly changing and so must be the drivers. Howev=
er the development has to be as short as possible to respect the time to ma=
rket strong constraints which cannot afford a double development period.

For us, it still remains unclear whether the performances are the main limi=
tation of the TLS deployment or not. It is unclear too if the performances =
of the cryptography layer (especially the asymmetric part) is/would be the =
bottleneck in communications over the Internet. Indeed, best current latenc=
y values are around few milliseconds [1] while a Signature and a Key Agreem=
ent on a Short-Weierstrass 256-bit curve is around 250 =B5s (according to t=
he Microsoft publication [2] and taking a 2GHz CPU). Stated like this, it s=
eems that the network is the main limitation rather than cryptography. Furt=
hermore, google.com, which is by far the most consulted website, currently =
processes around 10^5 requests per second (according to 2013 figures in [3]=
 and assuming that 80% of the daily requests are made in 12 hours). It mean=
s that only 25 2GHz CPUs are needed for Google to open secure channels with=
 their customers in the world. Hence performances may not be the overwhelmi=
ng criteria in a curve selection for the internet use.
However when performances matters, why not taking Short Weierstrass curves =
with a=3D0? Indeed, in such a case doublings are evaluated roughly as fast =
as in the Twisted Edwards case (2M+5S+12A against 3M+4S+6A) especially in a=
 PC context (where S<M and A<<M). Hence, by using the large amount of memor=
y available in such a context to decrease the number of point additions in =
a scalar multiplication, one can obtain faster implementations compared to =
what is currently possible with a=3D-3 curves. The gap between such curves =
and Twisted Edwards ones would not be that large (about 5-10%, Edwards curv=
es remaining best). The choice a=3D0 may hence benefit to both software and=
 hardware worlds.

For the sake of simplicity, the twist security is viewed as mandatory. Inde=
ed, this allows to get rid of attacks without relying on the implementation=
. Without this requirement, a point on curve test is needed to thwart the a=
ttacks.
At the opposite, the cofactor=3D1 is not viewed as mandatory. So in this ca=
se, thwarting the attacks (here, small subgroup attacks) would rely on the =
implementation. Several countermeasures exist which often imply an addition=
al scalar multiplication.
We think that this situation is not coherent, especially since the counterm=
easure for the twist security is insignificant compared to the ones for the=
 small subgroup.
Also for convenience, we think that the new curves should keep p=3D3 mod 4 =
as it is the case for most NIST and Brainpool curves: it allows simpler imp=
lementations and backward compatibility.

Eventually, it would be greatly appreciated that a curve design takes into =
account side-channel attacks against Short Weierstrass curve format such as=
 the attack in [4] (even in the selection of Twisted Edwards curves in case=
 those are used with their Short Weierstrass form).
This side-channel attack uses the fact that a zero value may appear in an i=
ntermediate result in the computation of the scalar multiplication, and tha=
t zero-value cannot be randomized with classical countermeasures. However, =
selecting a curve with cofactor equals to 1 avoids points such as (x,0) and=
 having b a quadratic non-residue avoids the points (0,y). Furthermore, hav=
ing a=3D0 and either 5 a QR value or 4.5^{-1}.b a non-cubic residue also pr=
events zero-values to appear in any doubling operations.
Even in the context of PCs, it seems that side-channel security should be m=
ore and more of concern as shown at the CHES conference last September and =
especially for this kind of attack.

In conclusion, we consider this curve selection as very important since it =
fits the needs of two different worlds. Reaching a consensus will greatly b=
enefit to the development of EC cryptography for the best of our everyday l=
ife. In order to reach this goal, we propose the following curve characteri=
stics to obtain good security, performances and backward compatibility:
    - Short-Weierstrass curve with a=3D0 (good performances with backward c=
ompatibility)
    - b being a QNR value and either 5 being a QR value or 4.5^{-1}.b being=
 a non-cubic residue (resistance against some side-channel attacks)
    - Cofactor =3D 1 (resistance against some side-channel attacks and easy=
 implementation)
    - p=3D3[4] (easy square roots, classical requirement)
    - p a random value (security)


[1] https://www.igvita.com/2012/07/19/latency-the-new-web-performance-bottl=
eneck/
[2] https://eprint.iacr.org/2014/130.pdf
[3] http://www.statisticbrain.com/google-searches/
[4] Zero-Value Point Attacks : https://www-old.cdc.informatik.tu-darmstadt.=
de/reports/TR/TI-03-01.zvp.pdf

Franck RONDEPIERRE
Oberthur Technologies
Technology & Innovation , R&D Cryptography Engineer
420 rue d'Estienne d'Orves | 92700 Colombes | France
Phone: +33 (0)1 78 14 73 64   | Fax : +33 (0)1 78 14 70 20
E-mail : f.rondepierre@oberthur.com <mailto:f.rondepierre@oberthur.com> | W=
eb : www.oberthur.com <http://www.oberthur.com>
P Please consider your Environmental Responsibility: Before printing this e=
-mail or any other document, ask yourself if you need a hard copy

--_000_8FBEB0194016E64D9DF7E7855CD88E0C073A6DFRPASERV0088emeao_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"Arial Narrow";
	panose-1:2 11 6 6 2 2 2 3 2 4;}
@font-face
	{font-family:Webdings;
	panose-1:5 3 1 2 1 5 9 6 7 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"FR" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span lang=3D"EN-US">Dear all,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Please find below the Oberthur =
Technologies position in the current CFRG curve selection.<o:p></o:p></span=
></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">It seems that the current CFRG =
discussion quickly swiped the &quot;hardware&quot; point of view, qualifyin=
g it as out of the topic.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">We think that all the points ra=
ised by Joppe Bos are relevant about the hardware context and may deserve a=
 second thought if we take into account the range of possible devices that =
will implement the new TLS curves. Indeed,
 more and more devices are connected via the Internet and all those devices=
 don't share the characteristics of a PC. For instance, embedded constraine=
d devices such as secure elements in smartphones may have to process TLS au=
thentication/key agreement in the
 future.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">In what follows, we investigate=
 the impact of migrating to Edwards curves, the performances needs, and fin=
ally we suggest some new security considerations in the curve selection/gen=
eration.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">For some devices, the code size=
 is the main limitation and hence has to be taken into account prior to spe=
ed performances. We analyze hereafter the impact of switching to Edwards cu=
rves while keeping Short-Weierstrass
 ones for backward compatibility.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">The efficient implementations o=
f Short-Weierstrass and Twisted Edwards (or Montgomery) formulae are quite =
different. Not only the group law operation is different but also the preco=
mputations and the internal point representations
 are different. It thus doubles all the multiplication implementations: fix=
ed-base case, variable-base case, double-scalar case.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Hence being compliant with all =
these implementations has a high impact on the code size, which may become =
impractical for some devices.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Besides, it also has a huge imp=
act on the required time to develop in assembly language the corresponding =
code. To ensure up to date security and performances, hardware is constantl=
y changing and so must be the drivers.
 However the development has to be as short as possible to respect the time=
 to market strong constraints which cannot afford a double development peri=
od.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">For us, it still remains unclea=
r whether the performances are the main limitation of the TLS deployment or=
 not. It is unclear too if the performances of the cryptography layer (espe=
cially the asymmetric part) is/would
 be the bottleneck in communications over the Internet. Indeed, best curren=
t latency values are around few milliseconds [1] while a Signature and a Ke=
y Agreement on a Short-Weierstrass 256-bit curve is around 250 =B5s (accord=
ing to the Microsoft publication [2]
 and taking a 2GHz CPU). Stated like this, it seems that the network is the=
 main limitation rather than cryptography. Furthermore, google.com, which i=
s by far the most consulted website, currently processes around 10^5 reques=
ts per second (according to 2013
 figures in [3] and assuming that 80% of the daily requests are made in 12 =
hours). It means that only 25 2GHz CPUs are needed for Google to open secur=
e channels with their customers in the world. Hence performances may not be=
 the overwhelming criteria in a
 curve selection for the internet use.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">However when performances matte=
rs, why not taking Short Weierstrass curves with a=3D0? Indeed, in such a c=
ase doublings are evaluated roughly as fast as in the Twisted Edwards case =
(2M&#43;5S&#43;12A against 3M&#43;4S&#43;6A) especially
 in a PC context (where S&lt;M and A&lt;&lt;M). Hence, by using the large a=
mount of memory available in such a context to decrease the number of point=
 additions in a scalar multiplication, one can obtain faster implementation=
s compared to what is currently possible
 with a=3D-3 curves. The gap between such curves and Twisted Edwards ones w=
ould not be that large (about 5-10%, Edwards curves remaining best). The ch=
oice a=3D0 may hence benefit to both software and hardware worlds.<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">For the sake of simplicity, the=
 twist security is viewed as mandatory. Indeed, this allows to get rid of a=
ttacks without relying on the implementation. Without this requirement, a p=
oint on curve test is needed to thwart
 the attacks.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">At the opposite, the cofactor=
=3D1 is not viewed as mandatory. So in this case, thwarting the attacks (he=
re, small subgroup attacks) would rely on the implementation. Several count=
ermeasures exist which often imply an additional
 scalar multiplication.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">We think that this situation is=
 not coherent, especially since the countermeasure for the twist security i=
s insignificant compared to the ones for the small subgroup.<o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Also for convenience, we think =
that the new curves should keep p=3D3 mod 4 as it is the case for most NIST=
 and Brainpool curves: it allows simpler implementations and backward compa=
tibility.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Eventually, it would be greatly=
 appreciated that a curve design takes into account side-channel attacks ag=
ainst Short Weierstrass curve format such as the attack in [4] (even in the=
 selection of Twisted Edwards curves
 in case those are used with their Short Weierstrass form).<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">This side-channel attack uses t=
he fact that a zero value may appear in an intermediate result in the compu=
tation of the scalar multiplication, and that zero-value cannot be randomiz=
ed with classical countermeasures. However,
 selecting a curve with cofactor equals to 1 avoids points such as (x,0) an=
d having b a quadratic non-residue avoids the points (0,y). Furthermore, ha=
ving a=3D0 and either 5 a QR value or 4.5^{-1}.b a non-cubic residue also p=
revents zero-values to appear in any
 doubling operations.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Even in the context of PCs, it =
seems that side-channel security should be more and more of concern as show=
n at the CHES conference last September and especially for this kind of att=
ack.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">In conclusion, we consider this=
 curve selection as very important since it fits the needs of two different=
 worlds. Reaching a consensus will greatly benefit to the development of EC=
 cryptography for the best of our everyday
 life. In order to reach this goal, we propose the following curve characte=
ristics to obtain good security, performances and backward compatibility:<o=
:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">&nbsp;&nbsp;&nbsp; - Short-Weie=
rstrass curve with a=3D0 (good performances with backward compatibility)<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">&nbsp;&nbsp;&nbsp; - b being a =
QNR value and either 5 being a QR value or 4.5^{-1}.b being a non-cubic res=
idue (resistance against some side-channel attacks)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">&nbsp;&nbsp;&nbsp; - Cofactor =
=3D 1 (resistance against some side-channel attacks and easy implementation=
)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">&nbsp;&nbsp;&nbsp; - p=3D3[4] (=
easy square roots, classical requirement)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">&nbsp;&nbsp;&nbsp; - p a random=
 value (security)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[1] https://www.igvita.com/2012=
/07/19/latency-the-new-web-performance-bottleneck/<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[2] https://eprint.iacr.org/201=
4/130.pdf<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[3] http://www.statisticbrain.c=
om/google-searches/<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">[4] Zero-Value Point Attacks : =
https://www-old.cdc.informatik.tu-darmstadt.de/reports/TR/TI-03-01.zvp.pdf<=
o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Arial Narrow&quot;,&quot;sans-serif&quot;;color:gray">Franck RONDEPIERRE
</span></b><span style=3D"font-size:12.0pt;font-family:&quot;Times New Roma=
n&quot;,&quot;serif&quot;"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Arial Narrow&quot;,&quot;sans-serif&quot;;color:gray">Oberthur Technologie=
s
</span></b><span style=3D"font-size:12.0pt;font-family:&quot;Times New Roma=
n&quot;,&quot;serif&quot;"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial Narrow&quot;,&quot;sans-serif&quot;;color:gray">Technology &amp; Innova=
tion , R&amp;D Cryptography&nbsp;Engineer
</span><span style=3D"font-size:12.0pt;font-family:&quot;Times New Roman&qu=
ot;,&quot;serif&quot;"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial Narrow&quot;,&quot;sans-serif&quot;;color:gray">420&nbsp;rue d'Estienne=
 d'Orves | 92700 Colombes | France
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray">Phone: &#43;33 (=
0)1 78&nbsp;14 73 64&nbsp;&nbsp; | Fax : &#43;33 (0)1 78 14&nbsp;70 20</spa=
n><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-family:&quot;Times Ne=
w Roman&quot;,&quot;serif&quot;"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:8.0pt;font-f=
amily:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray">E-mail&nbsp;:
</span><span style=3D"font-size:8.0pt;font-family:&quot;Times New Roman&quo=
t;,&quot;serif&quot;"><a href=3D"mailto:f.rondepierre@oberthur.com" title=
=3D"mailto:f.rondepierre@oberthur.com"><span lang=3D"EN-US" style=3D"font-f=
amily:&quot;Arial&quot;,&quot;sans-serif&quot;;color:blue">f.rondepierre@ob=
erthur.com
</span></a></span><span lang=3D"EN-US" style=3D"font-size:8.0pt;font-family=
:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray">| Web&nbsp;:
</span><span style=3D"font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;"><a href=3D"http://www.oberthur.com" title=3D"http://www.ob=
erthurcs.com/"><span lang=3D"EN-US" style=3D"color:blue">www.oberthur.com
</span></a></span><span lang=3D"EN-US" style=3D"font-size:12.0pt;font-famil=
y:&quot;Times New Roman&quot;,&quot;serif&quot;"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:24.0pt;font-family:Webdings=
;color:green">P</span><i><span style=3D"font-size:7.5pt;font-family:&quot;A=
rial&quot;,&quot;sans-serif&quot;;color:green">
</span></i><i><span lang=3D"EN-US" style=3D"font-size:7.5pt;font-family:&qu=
ot;Arial&quot;,&quot;sans-serif&quot;;color:green">Please</span></i><i><spa=
n lang=3D"EN-US" style=3D"font-size:7.5pt;font-family:&quot;Arial&quot;,&qu=
ot;sans-serif&quot;;color:green"> consider your Environmental Responsibilit=
y: Before
 printing this e-mail or any other document, ask yourself if you need a har=
d copy</span></i><span lang=3D"EN-US"><o:p></o:p></span></p>
</div>
</body>
</html>

--_000_8FBEB0194016E64D9DF7E7855CD88E0C073A6DFRPASERV0088emeao_--


From nobody Wed Nov 19 10:21:07 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4727D1A1B9A for <cfrg@ietfa.amsl.com>; Wed, 19 Nov 2014 10:21:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_40=-0.001] autolearn=ham
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 HEoe1x5tNO3E for <cfrg@ietfa.amsl.com>; Wed, 19 Nov 2014 10:21:04 -0800 (PST)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id EE7E21AD428 for <cfrg@irtf.org>; Wed, 19 Nov 2014 10:21:03 -0800 (PST)
Received: from xct105cnc.rim.net ([10.65.161.205]) by mhs211cnc.rim.net with ESMTP/TLS/AES128-SHA; 19 Nov 2014 13:20:58 -0500
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT105CNC.rim.net ([fe80::d13d:b7a2:ae5e:db06%16]) with mapi id 14.03.0174.001; Wed, 19 Nov 2014 13:20:57 -0500
From: Dan Brown <dbrown@certicom.com>
To: "'F.RONDEPIERRE@oberthur.com'" <F.RONDEPIERRE@oberthur.com>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Requirements for elliptic curves with a view towards constrained devices
Thread-Index: AdAEEs5MtREHuut+R2eLj0cfl46SiAAEKXyQ
Date: Wed, 19 Nov 2014 18:20:57 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5D03C53@XMB116CNC.rim.net>
References: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com>
In-Reply-To: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0124_01D003FB.A7EEE3F0"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/7hUvC1GObt6bVBE9RcLy7RCgg2k
Subject: Re: [Cfrg] Requirements for elliptic curves with a view towards constrained devices
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Nov 2014 18:21:06 -0000

------=_NextPart_000_0124_01D003FB.A7EEE3F0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit



>From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of RONDEPIERRE Franck
>However when performances matters, why not taking Short Weierstrass curves
with a=0? Indeed, in such a case doublings 

Using a=0 seems to result in j=0 and a complex multiplication curve with
discriminant -3, which is arguably a rather special curve, and conjecturally
a greater risk than random j invariant. A complex multiplication
endomorphism by the cube root w of unity is (x,y) -> (wx,7). 

A precedent for an a=0 curve is secp256k1, which has apparently been used in
BitCoin.  In theory, the GLV method can speed-up ECC operations using the
endomorphism above, although I'm not personally aware of the practical gain.

Perhaps others in CFRG may agree that the risk of CM is worth the
performance gain, at least as an option.
 
 (Aside: also, the MOV test will rule half the prime field sizes because
they are supersingular when a=0.) 



------=_NextPart_000_0124_01D003FB.A7EEE3F0
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICCm2p3UcABAAABWowDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAy
WUtGMB4XDTE0MDUxNDE0MzYzOFoXDTE1MDUxNDE0MzYzOFowgaQ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BnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYCv5W4adfQ8+WsLDdejuzFiZyUnpfwR
tjBQnqnCsorYki9Gl6IhQkZ81uVNfquY6qvuX6GvU9hFRPRDcCQUo4rCrjh4p4XLhGPhVVawcV35
w7t6XOPr989LY1bKNMalIPMZrCaNHGDSg+FNaX39IcXewsftg7qCBOD++aMXpOD/dgAAAAAAAA==

------=_NextPart_000_0124_01D003FB.A7EEE3F0--


From nobody Wed Nov 19 20:34:06 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F073B1A0040 for <cfrg@ietfa.amsl.com>; Wed, 19 Nov 2014 20:34:04 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 I7M7A1cq_i7l for <cfrg@ietfa.amsl.com>; Wed, 19 Nov 2014 20:34:01 -0800 (PST)
Received: from mail-yk0-x236.google.com (mail-yk0-x236.google.com [IPv6:2607:f8b0:4002:c07::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9296C1A003A for <cfrg@irtf.org>; Wed, 19 Nov 2014 20:34:00 -0800 (PST)
Received: by mail-yk0-f182.google.com with SMTP id 131so958360ykp.13 for <cfrg@irtf.org>; Wed, 19 Nov 2014 20:33:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=LzQ2x5KNrkx0zHD081fC7DVVz+892NOCTRFkcdmE2YI=; b=nZCeZcDh6v/jygdBYG8Y7BoPHMtivyjVlsDNNh35ANuJhdZP1iBtzTabbuiDegA4Hr cGkh7scfTQ3G6agBLGjTXSSWVOnaNyUuvrj3OiyDu6MPJdCXvSG63F50Vx98wyEeEjWm v9RKCjElHxqcE8sz5hT0ThTnQkIu/IfKwf6u4IwlLqIi88g6TuW5czVaSbIK7s5lN841 OE5STlVwGYWSSWJ0gdu53T6P8Erfx5d0ImkyR6HF9ywv3WHz6iHcCql7Sd0eVmr/9L26 YvlUU7oLydG45ezsgmpBajD8ql12G8qQmoOZjAZRAX2c1kcx+J2qwiAJbgGsUjx/105o gkdw==
MIME-Version: 1.0
X-Received: by 10.170.205.87 with SMTP id w84mr364232yke.62.1416458039629; Wed, 19 Nov 2014 20:33:59 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Wed, 19 Nov 2014 20:33:59 -0800 (PST)
In-Reply-To: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com>
References: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com>
Date: Wed, 19 Nov 2014 20:33:59 -0800
Message-ID: <CACsn0ckxtztdnBYEF3jtXFizAjkX5mbeciVz=+7dRYjjvNhf0A@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: RONDEPIERRE Franck <F.RONDEPIERRE@oberthur.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Zj6oooqvde08wNx1SLWt7ct9fHA
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Requirements for elliptic curves with a view towards constrained devices
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 04:34:05 -0000

On Wed, Nov 19, 2014 at 8:06 AM, RONDEPIERRE Franck
<F.RONDEPIERRE@oberthur.com> wrote:
> Dear all,
>
>
>
> Please find below the Oberthur Technologies position in the current CFRG
> curve selection.
>
>
>
> It seems that the current CFRG discussion quickly swiped the "hardware"
> point of view, qualifying it as out of the topic.
>
> We think that all the points raised by Joppe Bos are relevant about the
> hardware context and may deserve a second thought if we take into account
> the range of possible devices that will implement the new TLS curves.
> Indeed, more and more devices are connected via the Internet and all thos=
e
> devices don't share the characteristics of a PC. For instance, embedded
> constrained devices such as secure elements in smartphones may have to
> process TLS authentication/key agreement in the future.
>
> In what follows, we investigate the impact of migrating to Edwards curves=
,
> the performances needs, and finally we suggest some new security
> considerations in the curve selection/generation.
>
>
>
> For some devices, the code size is the main limitation and hence has to b=
e
> taken into account prior to speed performances. We analyze hereafter the
> impact of switching to Edwards curves while keeping Short-Weierstrass one=
s
> for backward compatibility.
>
> The efficient implementations of Short-Weierstrass and Twisted Edwards (o=
r
> Montgomery) formulae are quite different. Not only the group law operatio=
n
> is different but also the precomputations and the internal point
> representations are different. It thus doubles all the multiplication
> implementations: fixed-base case, variable-base case, double-scalar case.

The code to compute a map from one model to another is quite short.
This means that whatever algorithm is used to compute on short
Weierstrass can be used to compute on Edwards curves: the additional
cost is a few extra calculations. The efficiency of doing this is
obviously only slightly less than for the "native" form.

>
> Hence being compliant with all these implementations has a high impact on
> the code size, which may become impractical for some devices.
>
> Besides, it also has a huge impact on the required time to develop in
> assembly language the corresponding code. To ensure up to date security a=
nd
> performances, hardware is constantly changing and so must be the drivers.
> However the development has to be as short as possible to respect the tim=
e
> to market strong constraints which cannot afford a double development
> period.
>
>
>
> For us, it still remains unclear whether the performances are the main
> limitation of the TLS deployment or not. It is unclear too if the
> performances of the cryptography layer (especially the asymmetric part)
> is/would be the bottleneck in communications over the Internet. Indeed, b=
est
> current latency values are around few milliseconds [1] while a Signature =
and
> a Key Agreement on a Short-Weierstrass 256-bit curve is around 250 =C2=B5=
s
> (according to the Microsoft publication [2] and taking a 2GHz CPU). State=
d
> like this, it seems that the network is the main limitation rather than
> cryptography. Furthermore, google.com, which is by far the most consulted
> website, currently processes around 10^5 requests per second (according t=
o
> 2013 figures in [3] and assuming that 80% of the daily requests are made =
in
> 12 hours). It means that only 25 2GHz CPUs are needed for Google to open
> secure channels with their customers in the world. Hence performances may
> not be the overwhelming criteria in a curve selection for the internet us=
e.

The latencies you quote are serial, not simultaneous. Furthermore,
some applications may be more constrained than others, or have power
requirements more stringent than a desktop or laptop computer.

Of course, you don't need to take my word for it: Cloudflare was very
clear that widespread ECDSA support was essential to making TLS free.
Mobile devices are having issues with verification times for NIST
P384. V2V proposals involves a staggering number of verifications a
second, but oddly enough don't use batching or efficient signatures,
thus forcing larger, more expensive hardware.

>
> However when performances matters, why not taking Short Weierstrass curve=
s
> with a=3D0? Indeed, in such a case doublings are evaluated roughly as fas=
t as
> in the Twisted Edwards case (2M+5S+12A against 3M+4S+6A) especially in a =
PC
> context (where S<M and A<<M). Hence, by using the large amount of memory
> available in such a context to decrease the number of point additions in =
a
> scalar multiplication, one can obtain faster implementations compared to
> what is currently possible with a=3D-3 curves. The gap between such curve=
s and
> Twisted Edwards ones would not be that large (about 5-10%, Edwards curves
> remaining best). The choice a=3D0 may hence benefit to both software and
> hardware worlds.

As mentioned by Dan Harkins, these are special. I don't see any real
security concern: they've been around for a long time, and there is a
speedup. The extent of that speedup is unclear: I don't know of any
eBATS results using them. If we are willing to increase End(E),
GLV/GLS is
the current, patented champion. I guess old fashioned Koblitz isn't
that fast in comparison, but don't know for sure. Of course, this can
be combined with Edwards form, to get even more speedup.

But in general when it comes to performance, the easiest way to get
believeable results is to submit to eBATS.

>
>
>
> For the sake of simplicity, the twist security is viewed as mandatory.
> Indeed, this allows to get rid of attacks without relying on the
> implementation. Without this requirement, a point on curve test is needed=
 to
> thwart the attacks.
>
> At the opposite, the cofactor=3D1 is not viewed as mandatory. So in this =
case,
> thwarting the attacks (here, small subgroup attacks) would rely on the
> implementation. Several countermeasures exist which often imply an
> additional scalar multiplication.
>
> We think that this situation is not coherent, especially since the
> countermeasure for the twist security is insignificant compared to the on=
es
> for the small subgroup.

The impact of a small subgroup confinement attack vs. a wrong curve or
twist attack is very different. A small subgroup confinement attack
reveals a limited number of key bits. A twist attack or wrong curve
attack gives away the store. Attacks based on manipulation of key
exchange algorithms are stopped by standard measures like hashing
transcripts. The absence of such measures is a weakness in the key
exchange protocol.


>
> Also for convenience, we think that the new curves should keep p=3D3 mod =
4 as
> it is the case for most NIST and Brainpool curves: it allows simpler
> implementations and backward compatibility.
>
>
>
> Eventually, it would be greatly appreciated that a curve design takes int=
o
> account side-channel attacks against Short Weierstrass curve format such =
as
> the attack in [4] (even in the selection of Twisted Edwards curves in cas=
e
> those are used with their Short Weierstrass form).
>
> This side-channel attack uses the fact that a zero value may appear in an
> intermediate result in the computation of the scalar multiplication, and
> that zero-value cannot be randomized with classical countermeasures.
> However, selecting a curve with cofactor equals to 1 avoids points such a=
s
> (x,0) and having b a quadratic non-residue avoids the points (0,y).
> Furthermore, having a=3D0 and either 5 a QR value or 4.5^{-1}.b a non-cub=
ic
> residue also prevents zero-values to appear in any doubling operations.
>
> Even in the context of PCs, it seems that side-channel security should be
> more and more of concern as shown at the CHES conference last September a=
nd
> especially for this kind of attack.

Which paper at CHES in particular? The Tromar-Pipman-Genkin one seems
to have exploited data-dependent execution, rather than arithmetic
paths.

>
>
>
> In conclusion, we consider this curve selection as very important since i=
t
> fits the needs of two different worlds. Reaching a consensus will greatly
> benefit to the development of EC cryptography for the best of our everyda=
y
> life. In order to reach this goal, we propose the following curve
> characteristics to obtain good security, performances and backward
> compatibility:
>
>     - Short-Weierstrass curve with a=3D0 (good performances with backward
> compatibility)
>
>     - b being a QNR value and either 5 being a QR value or 4.5^{-1}.b bei=
ng
> a non-cubic residue (resistance against some side-channel attacks)
>
>     - Cofactor =3D 1 (resistance against some side-channel attacks and ea=
sy
> implementation)
>
>     - p=3D3[4] (easy square roots, classical requirement)
>
>     - p a random value (security)

I have never seen an adequate explanation of why p random is needed
for security. What I have seen is an explanation of particular
blinding measures that only work with p random. But there are blinding
measures that don't depend on random p, that are more efficient.
Furthermore, if hardware already deals with the NIST curves, it has to
deal with nonrandom p already.

Sincerely,
Watson Ladd
>
>
>
>
>
> [1]
> https://www.igvita.com/2012/07/19/latency-the-new-web-performance-bottlen=
eck/
>
> [2] https://eprint.iacr.org/2014/130.pdf
>
> [3] http://www.statisticbrain.com/google-searches/
>
> [4] Zero-Value Point Attacks :
> https://www-old.cdc.informatik.tu-darmstadt.de/reports/TR/TI-03-01.zvp.pd=
f
>
>
>
> Franck RONDEPIERRE
>
> Oberthur Technologies
>
> Technology & Innovation , R&D Cryptography Engineer
>
> 420 rue d'Estienne d'Orves | 92700 Colombes | France
>
> Phone: +33 (0)1 78 14 73 64   | Fax : +33 (0)1 78 14 70 20
>
> E-mail : f.rondepierre@oberthur.com | Web : www.oberthur.com
>
> P Please consider your Environmental Responsibility: Before printing this
> e-mail or any other document, ask yourself if you need a hard copy
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>



--=20
"Those who would give up Essential Liberty to purchase a little
Temporary Safety deserve neither  Liberty nor Safety."
-- Benjamin Franklin


From nobody Thu Nov 20 00:02:23 2014
Return-Path: <manfred.lochter@bsi.bund.de>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DD4C11A00BE for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 00:02:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.143
X-Spam-Level: 
X-Spam-Status: No, score=-7.143 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.594, UNPARSEABLE_RELAY=0.001] autolearn=ham
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 R-8eBzuurRD0 for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 00:02:17 -0800 (PST)
Received: from m3-bn.bund.de (m3-bn.bund.de [77.87.228.75]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 599C11A00A8 for <cfrg@irtf.org>; Thu, 20 Nov 2014 00:02:16 -0800 (PST)
Received: from m3.mfw.bn.ivbb.bund.de (localhost.mfw.bn.ivbb.bund.de [127.0.0.1]) by m3-bn.bund.de (8.14.5/8.14.5) with ESMTP id sAK82Ec7011907 for <cfrg@irtf.org>; Thu, 20 Nov 2014 09:02:14 +0100 (CET)
Received: (from localhost) by m3.mfw.bn.ivbb.bund.de (MSCAN) id 5/m3.mfw.bn.ivbb.bund.de/smtp-gw/mscan; Thu Nov 20 09:02:14 2014
X-P350-Id: 236cfff239e062dc
X-Virus-Scanned: by amavisd-new at bsi.bund.de
From: "Lochter, Manfred" <manfred.lochter@bsi.bund.de>
Organization: BSI Bonn
To: cfrg@irtf.org
Date: Thu, 20 Nov 2014 09:01:53 +0100
User-Agent: KMail/1.9.10 (enterprise35 20140205.23bb19c)
References: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com> <CACsn0ckxtztdnBYEF3jtXFizAjkX5mbeciVz=+7dRYjjvNhf0A@mail.gmail.com>
In-Reply-To: <CACsn0ckxtztdnBYEF3jtXFizAjkX5mbeciVz=+7dRYjjvNhf0A@mail.gmail.com>
X-KMail-QuotePrefix: > 
MIME-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-ID: <201411200901.53517.manfred.lochter@bsi.bund.de>
X-AntiVirus: checked by Avira MailGate (version: 3.2.1.26; AVE: 8.3.26.16; VDF: 7.11.187.176; host: sgasmtp2.bsi.de); id=17826-sC9atf
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/9aucYc1EIfTXJlisUbs3QD2UM8k
Subject: Re: [Cfrg] Requirements for elliptic curves with a view towards constrained devices
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 08:02:21 -0000

> Of course, you don't need to take my word for it: Cloudflare was very
> clear that widespread ECDSA support was essential to making TLS free.
> Mobile devices are having issues with verification times for NIST
> P384. V2V proposals involves a staggering number of verifications a
> second, but oddly enough don't use batching or efficient signatures,
> thus forcing larger, more expensive hardware.
>

Is there really a requirement for mobile devices to use a 384 bit curve? Wh=
y=20
is 256 not sufficient? In which scenarios do you see the neccessity to use=
=20
P-384? Which specific mobile devices are having issues with verification=20
times? Are they having these problems only in connection with the proposed=
=20
protocols you mention?
>
> I have never seen an adequate explanation of why p random is needed
> for security. What I have seen is an explanation of particular
> blinding measures that only work with p random. But there are blinding
> measures that don't depend on random p, that are more efficient.
> Furthermore, if hardware already deals with the NIST curves, it has to
> deal with nonrandom p already.

Which specific more efficient blinding measures are you addressing? Could y=
ou=20
provide sources?
What does efficient mean for these countermeasures? A better protection=20
against SCA or higher speed? Or lower cost?
How is the patent situation for theses countermeasures?

Manfred

>
> Sincerely,
> Watson Ladd
>
> > [1]
> > https://www.igvita.com/2012/07/19/latency-the-new-web-performance-bottl=
en
> >eck/
> >
> > [2] https://eprint.iacr.org/2014/130.pdf
> >
> > [3] http://www.statisticbrain.com/google-searches/
> >
> > [4] Zero-Value Point Attacks :
> > https://www-old.cdc.informatik.tu-darmstadt.de/reports/TR/TI-03-01.zvp.=
pd
> >f
> >
> >
> >
> > Franck RONDEPIERRE
> >
> > Oberthur Technologies
> >
> > Technology & Innovation , R&D Cryptography Engineer
> >
> > 420 rue d'Estienne d'Orves | 92700 Colombes | France
> >
> > Phone: +33 (0)1 78 14 73 64   | Fax : +33 (0)1 78 14 70 20
> >
> > E-mail : f.rondepierre@oberthur.com | Web : www.oberthur.com
> >
> > P Please consider your Environmental Responsibility: Before printing th=
is
> > e-mail or any other document, ask yourself if you need a hard copy
> >
> >
> > _______________________________________________
> > Cfrg mailing list
> > Cfrg@irtf.org
> > http://www.irtf.org/mailman/listinfo/cfrg

=2D-=20
Lochter, Manfred
=2D-------------------------------------------
Bundesamt f=C3=BCr Sicherheit in der Informationstechnik (BSI)
Referat K21
Godesberger Allee 185 -189
53175 Bonn

Postfach 20 03 63
53133 Bonn

Telefon: +49 (0)228 99 9582 5643
Telefax: +49 (0)228 99 10 9582 5643
E-Mail: manfred.lochter@bsi.bund.de
Internet:
www.bsi.bund.de
www.bsi-fuer-buerger.de


From nobody Thu Nov 20 00:56:51 2014
Return-Path: <mpg@elzevir.fr>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 647CD1A010A for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 00:56:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.844
X-Spam-Level: 
X-Spam-Status: No, score=-1.844 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3, RP_MATCHES_RCVD=-0.594] autolearn=ham
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 5g9JMm-6cjBu for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 00:56:46 -0800 (PST)
Received: from mordell.elzevir.fr (mordell.elzevir.fr [IPv6:2001:4b98:dc0:41:216:3eff:feeb:c406]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E8A221A00C0 for <cfrg@irtf.org>; Thu, 20 Nov 2014 00:56:45 -0800 (PST)
Received: from thue.elzevir.fr (thue.elzevir.fr [88.165.216.11]) by mordell.elzevir.fr (Postfix) with ESMTPS id C65A116155; Thu, 20 Nov 2014 09:56:43 +0100 (CET)
Received: from [IPv6:2a01:e35:8a5d:80b0:caf7:33ff:fe89:5d50] (unknown [IPv6:2a01:e35:8a5d:80b0:caf7:33ff:fe89:5d50]) by thue.elzevir.fr (Postfix) with ESMTPSA id 8CE7A216E7; Thu, 20 Nov 2014 09:56:42 +0100 (CET)
Message-ID: <546DACCA.9040706@elzevir.fr>
Date: Thu, 20 Nov 2014 09:56:42 +0100
From: =?windows-1252?Q?Manuel_P=E9gouri=E9-Gonnard?= <mpg@elzevir.fr>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: RONDEPIERRE Franck <F.RONDEPIERRE@oberthur.com>,  "cfrg@irtf.org" <cfrg@irtf.org>
References: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com>
In-Reply-To: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com>
OpenPGP: id=98EED379; url=https://elzevir.fr/gpg/mpg.asc
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/bRptZ39JJRQEmtTX17yCbj3QJJo
Subject: Re: [Cfrg] Requirements for elliptic curves with a view towards constrained devices
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 08:56:49 -0000

On 19/11/2014 17:06, RONDEPIERRE Franck wrote:
> For the sake of simplicity, the twist security is viewed as mandatory.
> Indeed, this allows to get rid of attacks without relying on the
> implementation. Without this requirement, a point on curve test is needed to
> thwart the attacks.

I'd just like to emphasise that in many situations (including TLS with
uncompressed points and implementations using "standard" short Weierstrass
formulas, ie formulas that don't involve b) the point-on-curve test *is* needed
anyway, regardless of whether the curve is twist secure or not.

I'm sure you're already aware of that, but I think we should always be extremely
clear when speaking about it, since there are already people out there making
misinterpretations of what exactly twist security buys us and more importantly
what it doesn't. I really do not want to see, in a few month/years,
implementations skipping the point-on-curve test in a context where it is needed
just because they think using a twist secure curve protects them.

(Don't get me wrong: I think twist security is nice to have, and I'd like any
curve selected by the CFRG to have this property. I just don't want it to be
seen (by people outside this group) as a silver bullet.)

Manuel.


From nobody Thu Nov 20 01:29:44 2014
Return-Path: <manfred.lochter@bsi.bund.de>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2081F1A011F for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 01:29:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.143
X-Spam-Level: 
X-Spam-Status: No, score=-7.143 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.594, UNPARSEABLE_RELAY=0.001] autolearn=ham
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 Cn605XFmQ_QG for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 01:29:41 -0800 (PST)
Received: from m1-bn.bund.de (m1-bn.bund.de [77.87.228.73]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A8DDC1A010F for <cfrg@irtf.org>; Thu, 20 Nov 2014 01:29:40 -0800 (PST)
Received: from m1.mfw.bn.ivbb.bund.de (localhost.mfw.bn.ivbb.bund.de [127.0.0.1]) by m1-bn.bund.de (8.14.5/8.14.5) with ESMTP id sAK9TcUE029641 for <cfrg@irtf.org>; Thu, 20 Nov 2014 10:29:38 +0100 (CET)
Received: (from localhost) by m1.mfw.bn.ivbb.bund.de (MSCAN) id 5/m1.mfw.bn.ivbb.bund.de/smtp-gw/mscan; Thu Nov 20 10:29:38 2014
X-P350-Id: 236da3f240325bf0
X-Virus-Scanned: by amavisd-new at bsi.bund.de
From: "Lochter, Manfred" <manfred.lochter@bsi.bund.de>
Organization: BSI Bonn
To: cfrg@irtf.org
Date: Thu, 20 Nov 2014 10:29:27 +0100
User-Agent: KMail/1.9.10 (enterprise35 20140205.23bb19c)
References: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com> <546DACCA.9040706@elzevir.fr>
In-Reply-To: <546DACCA.9040706@elzevir.fr>
X-KMail-QuotePrefix: > 
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-ID: <201411201029.28092.manfred.lochter@bsi.bund.de>
X-AntiVirus: checked by Avira MailGate (version: 3.2.1.26; AVE: 8.3.26.16; VDF: 7.11.187.176; host: sgasmtp2.bsi.de); id=19591-6C0uHl
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Z9w3YQCUWD60c9f0d53EjZAjxDM
Cc: Manuel =?iso-8859-1?q?P=E9gouri=E9-Gonnard?= <mpg@elzevir.fr>
Subject: Re: [Cfrg] Requirements for elliptic curves with a view towards constrained devices
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 09:29:43 -0000

__________ urspr=FCngliche Nachricht __________

Von:		"Manuel P=E9gouri=E9-Gonnard" <mpg@elzevir.fr>
Datum:	Donnerstag, 20. November 2014, 09:56:42
An:		RONDEPIERRE Franck <F.RONDEPIERRE@oberthur.com>, "cfrg@irtf.org"=20
<cfrg@irtf.org>
Kopie:=09
Betr.:	Re: [Cfrg] Requirements for elliptic curves with a view towards=20
constrained devices

> On 19/11/2014 17:06, RONDEPIERRE Franck wrote:
> > For the sake of simplicity, the twist security is viewed as mandatory.
> > Indeed, this allows to get rid of attacks without relying on the
> > implementation. Without this requirement, a point on curve test is need=
ed
> > to thwart the attacks.
>
> I'd just like to emphasise that in many situations (including TLS with
> uncompressed points and implementations using "standard" short Weierstrass
> formulas, ie formulas that don't involve b) the point-on-curve test *is*
> needed anyway, regardless of whether the curve is twist secure or not.
>
> I'm sure you're already aware of that, but I think we should always be
> extremely clear when speaking about it, since there are already people out
> there making misinterpretations of what exactly twist security buys us and
> more importantly what it doesn't. I really do not want to see, in a few
> month/years, implementations skipping the point-on-curve test in a context
> where it is needed just because they think using a twist secure curve
> protects them.
>
> (Don't get me wrong: I think twist security is nice to have, and I'd like
> any curve selected by the CFRG to have this property. I just don't want it
> to be seen (by people outside this group) as a silver bullet.)
>
I would like to add another aspect. Having  a twist secure curve E means th=
at=20
E and its twist E' provide the same degree of security against purely=20
mathematical attacks. However, if one takes SCA into accout the situation m=
ay=20
change. One of the two curves will contain a point with x-coordinate zero.=
=20
=46or this point projective randomisation will not work properly.=20

Manfred=20

> Manuel.
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg

=2D-=20
Lochter, Manfred
=2D-------------------------------------------
Bundesamt f=FCr Sicherheit in der Informationstechnik (BSI)
Referat K21
Godesberger Allee 185 -189
53175 Bonn

Postfach 20 03 63
53133 Bonn

Telefon: +49 (0)228 99 9582 5643
Telefax: +49 (0)228 99 10 9582 5643
E-Mail: manfred.lochter@bsi.bund.de
Internet:
www.bsi.bund.de
www.bsi-fuer-buerger.de


From nobody Thu Nov 20 07:21:59 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 150651A1A79 for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 07:21:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.4
X-Spam-Level: 
X-Spam-Status: No, score=-1.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, J_CHICKENPOX_21=0.6, SPF_PASS=-0.001] autolearn=no
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 tZFrkXQawCwN for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 07:21:51 -0800 (PST)
Received: from mail-yh0-x22d.google.com (mail-yh0-x22d.google.com [IPv6:2607:f8b0:4002:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 29BBE1A1A67 for <cfrg@irtf.org>; Thu, 20 Nov 2014 07:21:51 -0800 (PST)
Received: by mail-yh0-f45.google.com with SMTP id f10so1409989yha.4 for <cfrg@irtf.org>; Thu, 20 Nov 2014 07:21:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Tx0cwLuabSmS1QtQjGYNlj4l4Cx9q/oC+Oqch3EqpLI=; b=Qw2jp9ayI65bj+SBj0pujpRErUBaIKeKurTp5lZ3yZIUPPthAC2DUseBmbbL+nfxht LMwcA4Qn/ED/Z5c1onUyBl3uoJwYf3ZoVKQoELpj49czWdFhLqyj35G/DQiSs+1AF5jh +h/uGBq45Oh160DmgiKgt0A48fr6muP4W+RQdp41j3nbIEvkfjWFes37OFCl0eff0pQZ h2KMCsn1/Su21eAcwkpe0z+jU3GXU11urEAHMwrjtiEbdlpOVyTC1/GQCo4A/yQQoEuY PQ7AqSUGOpikWnMSs+6om3bTqdla1TTQ4YbaxP1xFp2PMgEn8UJwI9AWsyoj0aFJLs0U idlg==
MIME-Version: 1.0
X-Received: by 10.236.11.19 with SMTP id 19mr44093665yhw.4.1416496910349; Thu, 20 Nov 2014 07:21:50 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Thu, 20 Nov 2014 07:21:50 -0800 (PST)
In-Reply-To: <201411200901.53517.manfred.lochter@bsi.bund.de>
References: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com> <CACsn0ckxtztdnBYEF3jtXFizAjkX5mbeciVz=+7dRYjjvNhf0A@mail.gmail.com> <201411200901.53517.manfred.lochter@bsi.bund.de>
Date: Thu, 20 Nov 2014 07:21:50 -0800
Message-ID: <CACsn0cmV6aOMx+eiLa0iP7rYiU4ZVmeDbNPhTSz_a6oU1=kWjA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: "Lochter, Manfred" <manfred.lochter@bsi.bund.de>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/IGdxWW39iqXKhTI0Dp_pU_2g61o
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Requirements for elliptic curves with a view towards constrained devices
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 15:21:57 -0000

On Thu, Nov 20, 2014 at 12:01 AM, Lochter, Manfred
<manfred.lochter@bsi.bund.de> wrote:
>
>
>
>
>
>
>> Of course, you don't need to take my word for it: Cloudflare was very
>> clear that widespread ECDSA support was essential to making TLS free.
>> Mobile devices are having issues with verification times for NIST
>> P384. V2V proposals involves a staggering number of verifications a
>> second, but oddly enough don't use batching or efficient signatures,
>> thus forcing larger, more expensive hardware.
>>
>
> Is there really a requirement for mobile devices to use a 384 bit curve? =
Why
> is 256 not sufficient? In which scenarios do you see the neccessity to us=
e
> P-384? Which specific mobile devices are having issues with verification
> times? Are they having these problems only in connection with the propose=
d
> protocols you mention?

When my mobile phone's browser connects to a website whose certificate
is signed by P384, a P384 verification better take place. Not
supporting P384 introduces an interoperability problem.

>>
>> I have never seen an adequate explanation of why p random is needed
>> for security. What I have seen is an explanation of particular
>> blinding measures that only work with p random. But there are blinding
>> measures that don't depend on random p, that are more efficient.
>> Furthermore, if hardware already deals with the NIST curves, it has to
>> deal with nonrandom p already.
>
> Which specific more efficient blinding measures are you addressing? Could=
 you
> provide sources?
> What does efficient mean for these countermeasures? A better protection
> against SCA or higher speed? Or lower cost?
> How is the patent situation for theses countermeasures?

Most devices randomizing exponents compute xP as [aq+x]P where a is
some random number and q is the order. Random primes apparently permit
q, and thus aq+x to be smaller. But each arithmetic operation, and
thus each point addition or doubling, is twice as fast for a special
prime, and thus a can be the size of q, and we have equal performance
to an unblinded multiplication on a random prime curve. This is better
protection and it's faster. It's identical to the protection you
described, except we've increased the size of a.

This was described by DJB in an email to the list, titled "Primes vs.
hardware side channels", sent October 16th.

Of course, one can always continue to use brainpool. I don't see why
the new curves have to force a 50% slowdown on everyone for benefit of
a very restricted, largely unused class of devices.

Sincerelu.
Watson Ladd

>
> Manfred
>
>>
>> Sincerely,
>> Watson Ladd
>>
>> > [1]
>> > https://www.igvita.com/2012/07/19/latency-the-new-web-performance-bott=
len
>> >eck/
>> >
>> > [2] https://eprint.iacr.org/2014/130.pdf
>> >
>> > [3] http://www.statisticbrain.com/google-searches/
>> >
>> > [4] Zero-Value Point Attacks :
>> > https://www-old.cdc.informatik.tu-darmstadt.de/reports/TR/TI-03-01.zvp=
.pd
>> >f
>> >
>> >
>> >
>> > Franck RONDEPIERRE
>> >
>> > Oberthur Technologies
>> >
>> > Technology & Innovation , R&D Cryptography Engineer
>> >
>> > 420 rue d'Estienne d'Orves | 92700 Colombes | France
>> >
>> > Phone: +33 (0)1 78 14 73 64   | Fax : +33 (0)1 78 14 70 20
>> >
>> > E-mail : f.rondepierre@oberthur.com | Web : www.oberthur.com
>> >
>> > P Please consider your Environmental Responsibility: Before printing t=
his
>> > e-mail or any other document, ask yourself if you need a hard copy
>> >
>> >
>> > _______________________________________________
>> > Cfrg mailing list
>> > Cfrg@irtf.org
>> > http://www.irtf.org/mailman/listinfo/cfrg
>
> --
> Lochter, Manfred
> --------------------------------------------
> Bundesamt f=C3=BCr Sicherheit in der Informationstechnik (BSI)
> Referat K21
> Godesberger Allee 185 -189
> 53175 Bonn
>
> Postfach 20 03 63
> 53133 Bonn
>
> Telefon: +49 (0)228 99 9582 5643
> Telefax: +49 (0)228 99 10 9582 5643
> E-Mail: manfred.lochter@bsi.bund.de
> Internet:
> www.bsi.bund.de
> www.bsi-fuer-buerger.de



--=20
"Those who would give up Essential Liberty to purchase a little
Temporary Safety deserve neither  Liberty nor Safety."
-- Benjamin Franklin


From nobody Thu Nov 20 07:38:47 2014
Return-Path: <hhalpin@w3.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B20E21A1A70 for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 07:38:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.338
X-Spam-Level: 
X-Spam-Status: No, score=-0.338 tagged_above=-999 required=5 tests=[BAYES_50=0.8, FRT_PROFIT1=3.858, J_CHICKENPOX_75=0.6, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.594, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 qTDYRWPWB4Bg for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 07:38:30 -0800 (PST)
Received: from jay.w3.org (ssh.w3.org [128.30.52.60]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3426F1A1A6B for <cfrg@irtf.org>; Thu, 20 Nov 2014 07:38:22 -0800 (PST)
Received: from men75-11-88-175-104-179.fbx.proxad.net ([88.175.104.179] helo=[192.168.1.48]) by jay.w3.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <hhalpin@w3.org>) id 1XrToK-0005ZI-K2 for cfrg@irtf.org; Thu, 20 Nov 2014 10:38:21 -0500
Message-ID: <546E0AE5.3040601@w3.org>
Date: Thu, 20 Nov 2014 16:38:13 +0100
From: Harry Halpin <hhalpin@w3.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0
MIME-Version: 1.0
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/hMakmj8-_VGrG3-GIBCqjkFaYgc
Subject: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 15:38:43 -0000

Everyone,

As the W3C Web Cryptography API gets ready to move to Candidate
Recommendation, we wanted to address the concerns brought up by Rich
Salz and others for better security guidelines for developers, given
that the API exposes a variety of algorithms. I've taken Graham Steel's
excellent write-up, which is in a large part based on Smart et al.'s
magisterial ENISA report,  and have turned it into a draft CFRG note.

We'd like to see the security guidelines below discussed here, and if
there's no objections after discussion, move this onwards. W3C commits
to maintaining this note as much as possible.

Links to draft:

TXT:
http://www.w3.org/2012/webcrypto/draft-irtf-cfrg-webcrypto-algorithms-00.txt
HTML:
http://www.w3.org/2012/webcrypto/draft-irtf-cfrg-webcrypto-algorithms-00.html

cheers,
    harry

----

Crypto Forum Research Group                               H. Halpin, Ed.
Internet-Draft                                                   W3C/MIT
Intended status: Informational                                  G. Steel
Expires: May 23, 2016                                  Cryptosense/INRIA
                                                       November 20, 2015


    Security Guidelines for Cryptographic Algorithms in the W3C Web
                            Cryptography API
                draft-irtf-cfrg-webcrypto-algorithms-00

Abstract

   This overview document provides information on the current state of
   algorithms made available by the W3C Web Cryptography API, including
   whether protocols have security proofs or known weaknesses.

Status of this Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on May 23, 2016.

Copyright Notice

   Copyright (c) 2015 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.



Halpin & Steel            Expires May 23, 2016                  [Page 1]

Internet-Draft    W3C WebCrypto Security Considerations    November 2015


Table of Contents

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  3
   2.  Overview . . . . . . . . . . . . . . . . . . . . . . . . . . .  4
   3.  Document Conventions . . . . . . . . . . . . . . . . . . . . .  5
   4.  Conformance Criteria . . . . . . . . . . . . . . . . . . . . .  5
   5.  Algorithm Review . . . . . . . . . . . . . . . . . . . . . . .  5
     5.1.  RSAES-PKCS1-v1_5 . . . . . . . . . . . . . . . . . . . . .  5
     5.2.  RSA-OAEP . . . . . . . . . . . . . . . . . . . . . . . . .  6
     5.3.  RSASSA-PKCS1-v1_5  . . . . . . . . . . . . . . . . . . . .  6
     5.4.  RSA-PSS  . . . . . . . . . . . . . . . . . . . . . . . . .  6
     5.5.  ECDSA  . . . . . . . . . . . . . . . . . . . . . . . . . .  6
     5.6.  ECDH . . . . . . . . . . . . . . . . . . . . . . . . . . .  6
     5.7.  AES-CBC, AES-CFB, AES-CTR  . . . . . . . . . . . . . . . .  6
     5.8.  AES-GCM  . . . . . . . . . . . . . . . . . . . . . . . . .  7
     5.9.  AES-CMAC . . . . . . . . . . . . . . . . . . . . . . . . .  8
     5.10. AES-KW . . . . . . . . . . . . . . . . . . . . . . . . . .  8
     5.11. HMAC . . . . . . . . . . . . . . . . . . . . . . . . . . .  8
     5.12. DH . . . . . . . . . . . . . . . . . . . . . . . . . . . .  8
     5.13. SHA1 . . . . . . . . . . . . . . . . . . . . . . . . . . .  8
     5.14. SHA-256, SHA-384, SHA-512  . . . . . . . . . . . . . . . .  9
     5.15. HKDF-CTR . . . . . . . . . . . . . . . . . . . . . . . . .  9
     5.16. PBKDF2 . . . . . . . . . . . . . . . . . . . . . . . . . .  9
     5.17. CONCAT . . . . . . . . . . . . . . . . . . . . . . . . . .  9
   6.  Security Considerations  . . . . . . . . . . . . . . . . . . .  9
   7.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . .  9
   8.  References . . . . . . . . . . . . . . . . . . . . . . . . . . 10
     8.1.  Normative References . . . . . . . . . . . . . . . . . . . 10
     8.2.  Informative References . . . . . . . . . . . . . . . . . . 10
   Appendix A.  Acknowledgments . . . . . . . . . . . . . . . . . . . 14
   Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 14




















Halpin & Steel            Expires May 23, 2016                  [Page 2]

Internet-Draft    W3C WebCrypto Security Considerations    November 2015


1.  Introduction

   Cryptography is a small but important part of security, and choosing
   the right cryptographic algorithm is a small but important part of
   deploying cryptography.  Many developers find it difficult to follow
   the current state of cryptanalytic research regarding particular
   algorithms.  This document gives a concise overview of known
   weaknesses and the state of security proofs in standard developer-
   facing APIs such as the W3C Web Cryptography API [W3CWebCryptoLC].
   This analysis may also be useful in analyzing the properties of
   protocols given in the algorithms used by the IETF JSON Web
   Algorithms [JWA].

   This overview provides no substitute for a detailed analysis of a
   particular protocol: when deploying cryptographic algorithms in Web
   and Internet applications, developers should strictly follow the
   instructions given by the cryptographic protocol and avoid creating
   new protocols.  Developers should also be aware of the intended
   threat models of the cryptographic protocols they are implementing
   and note that some aspects of deploying a protocol in the context of
   an internet application, such as the use of Javascript and the Web,
   may change some of its security properties.  For example, Javascript
   code is always ultimately controlled by the origin, thus making end-
   to-end encryption without a trusted origin of the code impossible.
   Questions about and proposals to improve the Web Security Model
   should be sent to the W3C Web Security Interest Group at
   "public-web-security@w3.org"

   In this review, we limit ourselves to peer-reviewed results on the
   algorithms which have been included in the latest public draft of the
   W3C Crypto API [W3CWebCryptoLC].  Where appropriate we also comment
   on the status of the algorithm in other standards.  Note that this
   represents a point-in-time snapshot of the state of the art in
   cryptanalysis and provable security results, which is a complex area
   subject to (sometimes rapid) change.  There is at least one annual
   publication, the ENISA Algorithms, Key Size and Parameters Report,
   whose aim is to track these developments [enisa13].  That document
   discusses a much larger set of algorithms in much greater depth that
   we do here.

   Please discuss this draft on the mailing list "cfrg@ietf.org".  Note
   that draft, while attempting to gather consensus of the cryptographic
   literature, may not be complete and there may be disagreement, so
   that readers should view the archives of the CFRG mailing list to be
   aware of debates and ongoing analysis.






Halpin & Steel            Expires May 23, 2016                  [Page 3]

Internet-Draft    W3C WebCrypto Security Considerations    November 2015


2.  Overview

   This following table summarizes the results.  The marks for legacy
   and future applications are the same as in the 2013 ENISA report
   [enisa13], except for those algorithms (PBKDF2 and AES-KW) which are
   not covered by the report where the marks represent interpretation of
   the available literature.

   +-------------------+----------+----------+-------------------------+
   |   Algorithm/Mode  |    OK    |    OK    |           Note          |
   |                   |  Legacy  |  Future  |                         |
   +-------------------+----------+----------+-------------------------+
   |  RSAES-PKCS1-v1_5 |    YES   |    NO    |                         |
   |      RSA-OAEP     |    YES   |    YES   |                         |
   | RSASSA-PKCS1-v1_5 |    YES   |    NO    |    No security proof    |
   |      RSA-PSS      |    YES   |    YES   |                         |
   |       ECDSA       |    YES   |    NO    |  Weak provable security |
   |                   |          |          |         results         |
   |        ECDH       |    YES   |    YES   |                         |
   |      AES-CBC      |    YES   |    YES   |    NB not CCA secure    |
   |      AES-CFB      |    YES   |    YES   |    NB not CCA secure    |
   |      AES-CTR      |    YES   |    YES   |    NB not CCA secure    |
   |      AES-GCM      |    YES   |    YES   |                         |
   |      AES-CMAC     |    YES   |    YES   |                         |
   |       AES-KW      |    YES   |    NO    |    No public security   |
   |                   |          |          |          proof          |
   |        HMAC       |    YES   |    YES   |                         |
   |         DH        |    YES   |    YES   |                         |
   |       SHA-1       |    YES   |    NO    |  Known weaknesses (see  |
   |                   |          |          |          text)          |
   |      SHA-256      |    YES   |    YES   |                         |
   |      SHA-384      |    YES   |    YES   |                         |
   |      SHA-512      |    YES   |    YES   |                         |
   |       CONCAT      |    YES   |    YES   |                         |
   |      HKDF-CTR     |    YES   |    YES   |                         |
   |       PBKDF2      |    YES   |    NO    |  Known weaknesses (see  |
   |                   |          |          |          text))         |
   +-------------------+----------+----------+-------------------------+

      The Algorithm/Mode is the title by the W3C Web Cryptography API
    [W3CWebCryptoCR].  Whether or not the protocol is considered secure
     for legacy use or for future protocols is given next, followed by
    notes regarding its security properties (such as security proofs).

                     Table 1: Algorithm Summary Table






Halpin & Steel            Expires May 23, 2016                  [Page 4]

Internet-Draft    W3C WebCrypto Security Considerations    November 2015


3.  Document Conventions


4.  Conformance Criteria

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [RFC2119].


5.  Algorithm Review

   In this review, we overview the following algorithms listed in the
   table.  They are all currently given in the W3C Web Cryptography API,
   although RSAES-PKCS1-v1_5 (present in an earlier version of the Web
   Cryptography API [W3CWebCryptoLC].) was withdrawn from the W3C Web
   Cryptography API [W3CWebCryptoCR].  This analysis originates in work
   done by Graham Steel [SteelChoice].  If algorithms are added, we will
   attempt to add them to this analysis in due course.

5.1.  RSAES-PKCS1-v1_5

   This encryption scheme has been known to be vulnerable to a chosen
   ciphertext attack (CCA) since 1998 [bleichenbacher98].  The attack
   has recently been improved to require a median of less than 15,000
   chosen ciphertexts on the standard oracle [bardou12padding].
   Instances of the attack in widely-deployed real-world systems
   continue to be found [jager12bleichenbacher].

   Since version 2.0 (September 1998), the RSA PKCS#11 standard contains
   the text: "RSAES-PKCS1-v1_5 is included only for compatibility with
   existing applications, and is not recommended for new applications"
   [PKCS11].

   TLS up to version 1.2. supports RSAES-PKCS1-v1_5, but using specific
   countermeasures that 1) substitute a message with a random value in
   the event of a padding error and 2) require the client to display
   knowledge of the plaintext before proceeding with the protocol.
   These countermeasures are not trivially transposable to other
   applications.  Finally, note also that as of version 1.3, RSAES-
   PKCS1-v1_5 will be dropped from the TLS standard.

   The RSAES-PKCS1-v1_5 scheme was removed from the draft during the
   Last Call review period of the W3C Web Cryptography API.  Despite
   this, it is still to be found in the Trusted Platform Module (TPM)
   standard, PKCS#11, Java JCE/JCA, MS-CAPI all support it.  TPM 1.2 did
   not support it, favouring OAEP (below), but it may be included in TPM
   2.0 (see section 14.2.1, Level 00 Revision 01.07).



Halpin & Steel            Expires May 23, 2016                  [Page 5]

Internet-Draft    W3C WebCrypto Security Considerations    November 2015


5.2.  RSA-OAEP

   Has a security proof of preservation of indistinguishability under
   chosen ciphertext attacks (IND-CCA, the standard desirable notion of
   security for an encryption scheme) [fujisaki04OAEP].  Indeed, the
   proof has been formalised in the Coq proof assistant
   [barthe2009POPL].  These proofs assume that a well-known
   implementation pitfall leading to an efficient attack [manger01] is
   avoided.

   Using OAEP implies using a hash function.  A recent report recommends
   using SHA-1 inside OAEP for legacy applications only and using
   SHA-2/3 for future applications [enisa13].

5.3.  RSASSA-PKCS1-v1_5

   There are no publicly known attacks on this scheme.  However, there
   are also no security proofs and no advantages compared to other RSA-
   based schemes such as PSS (below) [enisa13].

   An RSA Laboratories memo by Burt Kaliski, dated February 26 2003,
   states "'While the traditional and widely deployed PKCS#1 v1.5
   signature scheme is still appropriate to use, RSA Laboratories
   encourages a gradual transition to RSA-PSS as new applications are
   developed" [email].

5.4.  RSA-PSS

   Has a security proof due to Bellare and Rogaway [bellare96eurocrypt]
   in the random oracle model.

5.5.  ECDSA

   ECDSA schemes have some provable security results but only in weak
   models [enisa13].  Further it may be possible to maliciously choose
   an elliptic curve for ECDSA despite the standard validation scheme
   [vaudenay03PKC].

5.6.  ECDH

   ECDH has provable security results [boneh01crypto].  Like other plain
   DH modes it offers no authenticity, this must be taken care of
   separately.

5.7.  AES-CBC, AES-CFB, AES-CTR

   There are known cryptanalytic attacks on AES that are not currently
   believed to pose a practical threat [kaminsky10].  The following



Halpin & Steel            Expires May 23, 2016                  [Page 6]

Internet-Draft    W3C WebCrypto Security Considerations    November 2015


   results assume that AES is a secure block cipher.

   AES-CBC mode is not CCA secure.  It is secure against chosen
   plaintext attacks (CPA-secure) if the IV is random, but not if the IV
   is a nonce [rogaway11evaluation].

   It does not tolerate a padding oracle [vaudenay02] - indeed, in
   practice, padding oracle attacks are common
   [paterson04padding][mitchell05cbc][rizzo10USENIX] and the padding
   mode suggested in the current draft is exactly that which gives rise
   to most of these attacks.

   AES-CFB is not CCA secure.  It is CPA-secure if the IV is random, but
   not if the IV is a nonce [rogaway11evaluation].

   AES-CTR is not CCA secure.  It is CPA-secure but not CCA-secure
   [rogaway11evaluation].

   For a summary of the properties of these modes and the dangers of
   using ciphers with only CPA-security, the following excerpt from
   Rogaway's review [rogaway11evaluation] is apposite:

   "I am unable to think of any cryptographic design problem where,
   absent major legacy considerations, any of CBC, CFB, or OFB would
   represent the mode of choice.  I regard CTR as easily the "best"
   choice among the set of the confidentiality modes (meaning the set of
   schemes aiming only for message privacy, as classically understood).
   It has unsurpassed performance characteristics and provable-security
   guarantees that are at least as good as any of the "basic four" modes
   with respect to classical notions of privacy.  The simplicity,
   efficiency, and obvious correctness of CTR make it a mandatory member
   in any modern portfolio of SemCPA-secure schemes.  The only
   substantial criticisms of CTR center on its ease of misuse.  First,
   it is imperative that the counter-values that are enciphered are
   never reused.  What is more, these values are 'exposed' to the user
   of CTR, offering ample opportunity to disregard the instructions.
   Second, the mode offers absolutely no authenticity, nonmalleability,
   or chosen-ciphertext-attack (CCA) security.  Users of a symmetric
   scheme who implicitly assume such properties of their
   confidentiality-providing mode are, with CTR, almost certain to get
   caught in their error."

5.8.  AES-GCM

   GCM mode has a security proof - the security notion is AEAD
   (Authenticated Encyrption with Associated Data), which (loosely
   speaking) means that the encryption part is CCA-secure and the
   message and associated data are unforgeable.  There are some



Halpin & Steel            Expires May 23, 2016                  [Page 7]

Internet-Draft    W3C WebCrypto Security Considerations    November 2015


   cryptanalytic results on certain instantiations of the scheme, those
   these are not currently thought to pose a practical threat [enisa13].

   Standardised by NIST, GCM is gaining traction in standards such as
   IPsec, MACSec, P1619.1, and TLS [rogaway11evaluation].

5.9.  AES-CMAC

   AES-CMAC has good security proofs (i.e. it has well studied proofs
   with reasonable bounds under standard assumptions)
   [rogaway11evaluation].

5.10.  AES-KW

   AES-KW has received various criticisms, for example being
   inconsistent in its notions of security (requiring IND-CCA from a
   deterministic mode), but though it has no public security proof, it
   has no known attacks either [rogaway06deterministic].  There are
   alternative standards with security proofs such as SIV mode (RFC
   5297)[RFC5297].

5.11.  HMAC

   HMAC has well-studied security proofs, even if the underlying hash
   function is not (weak) collision resistant [bellare06HMAC].

5.12.  DH

   The security of Diffie-Hellman key agreement maps closely to the
   difficulty of the Diffie-Hellman problem.  More than 35 years after
   publication of the DH protocol and despite progress on the discrete
   log problem, there are no publicly known attacks.  Like other plain
   DH modes it offers no authenticity, this must be taken care of
   separately.

5.13.  SHA1

   A procedure is known to obtain SHA-1 collisions in less than 2^62
   operations [wang2005] (since SHA-1 has a fixed 160 bit output, the
   theoretical lower bound is 2^80).  A talk by Marc Stevens outlines a
   procedure requiring 2^60 operations [stevens].  Speculation about
   when practical collisions will be seen ranges from 2018-21
   [schneier].

   Preimage calculation attacks on reduced round SHA-1 currently require
   2^146.2 steps on 44 round SHA-1 and 2^150.6 steps on 48 round (full
   SHA-1 has 80 rounds) and Simon Knellwolf, who worked on these latest
   attacks, notes that given the current rate of progress, efficient



Halpin & Steel            Expires May 23, 2016                  [Page 8]

Internet-Draft    W3C WebCrypto Security Considerations    November 2015


   preimage attacks will be seen in 2020 [knellwolf12].

   Finally, some authors consider even the theoretical lower bound on
   collision attacks (2^80) to be too low a security parameter for
   future applications [enisa13].

5.14.  SHA-256, SHA-384, SHA-512

   There are collision and preimage attacks reported on reduced-round
   versions of the SHA-2 family, but currently no practical attacks
   [enisa13].

5.15.  HKDF-CTR

   Security models for password-based key derivation functions are still
   in a state of flux [wen12framework].  However, we note that HKDF has
   security proofs [krawczyk10HKDF].

5.16.  PBKDF2

   PBKDF2 has known weaknesses [yao05kdf].

5.17.  CONCAT

   CONCAT (which refers to the key derivation function defined in
   Section 5.8.1 of NIST SP 800-56A) does not appear to have any
   independent analysis, but is simple and receives approval in the
   ENISA report [enisa13].


6.  Security Considerations

   This informational overview lists some well-known security
   considerations for algorithms in the W3C Web Cryptographic API.  We
   expect these algorithms to be used in particular applications with a
   wide variety of differing threat models for various attacks.  Thus,
   the attacks in-scope and out-of-scope depend on the particular
   protocol, as well as the attacks a protocol is susceptible to and
   those which it protects against.  This note documents per algorithm
   known attacks that are generic to an algorithm, but does not deal
   with the particular level.


7.  IANA Considerations

   This memo includes no request to IANA.  For the algorithms inspected
   in this review, the central authority governing their identifiers is
   the W3C Web Cryptography Working API [W3CWebCryptoCR].  Note that the



Halpin & Steel            Expires May 23, 2016                  [Page 9]

Internet-Draft    W3C WebCrypto Security Considerations    November 2015


   W3C Web Cryptography API does map a subset of these algorithm
   identifiers (with additional parameters for the ciphersuites) to the
   IANA registry of JOSE identifiers for algorithms [JWA].


8.  References

8.1.  Normative References

   [JWA]      Jones, M., "JSON Web Algorithms (JWA)", IETF Internet
              Draft, October 2014,
              <http://www.w3.org/TR/2014/WD-WebCryptoAPI-20140325/>.

   [PKCS11]   Gleeson, S. and C. Zimman, "OASIS PKCS 11", OASIS Working
              Draft draft, November 2014, <https://www.oasis-open.org/
              committees/download.php/54455/pkcs11-base-v2.40-wd11.pdf>.

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119, March 1997.

   [RFC5297]  Harkins, D., "Synthetic Initialization Vector (SIV)
              Authenticated Encryption Using the Advanced Encryption
              Standard (AES)", RFC 5297, October 2008.

   [W3CWebCryptoCR]
              Sleevi, R. and M. Watson, "Web Cryptography API", W3C
              Candidate Recommendation , November 2014,
              <http://www.w3.org/TR/WebCryptoAPI>.

   [W3CWebCryptoLC]
              Sleevi, R. and M. Watson, "Web Cryptography API", W3C Last
              Call Working Draft , March 2014,
              <http://www.w3.org/TR/2014/WD-WebCryptoAPI-20140325/>.

8.2.  Informative References

   [SteelChoice]
              Steel, G., "Choice of Algorithms in the W3C Crypto API",
              Accessed: 20-Nov-2014, <http://cryptosense.com/
              choice-of-algorithms-in-the-w3c-crypto-api/>.

   [bardou12padding]
              Bardou, R., Focardi, R., Kawamoto, Y., Simionato, L.,
              Steel, G., and Joe-Kai-Tsay, "Efficient padding oracle
              attacks on cryptographic hardware", In Advances in
              Cryptology: Proceedings of CRYPTO '12, volume 7417 of
              LNCS, pages 608-625. Springer, 2012. , 2012.




Halpin & Steel            Expires May 23, 2016                 [Page 10]

Internet-Draft    W3C WebCrypto Security Considerations    November 2015


   [barthe2009POPL]
              Barthe, G., Gregoire, B., and S. Zanella-Beguelin, "Formal
              certification of code-based cryptographic proofs", In 36th
              ACM SIGPLAN-SIGACT Symposium on Principles of Programming
              Languages, POPL 2009, pages 90-101. ACM, 2009. , 2009,
              <http://dx.doi.org/10.1145/1480881.1480894>.

   [bellare06HMAC]
              Bellare, M., "New proofs for MAC and HMAC: security
              without collision-resistance", In Cynthia Dwork, editor,
              CRYPTO, volume 4117 of Lecture Notes in Computer Science,
              pages 602-619. Springer, 2006 , 2006.

   [bellare96eurocrypt]
              Bellare, M. and P. Rogaway, "The exact security of digital
              signatures-how to sign with rsa and rabin", In Proceedings
              of the 15th Annual International Conference on Theory and
              Application of Cryptographic Techniques, EUROCRYPT'96,
              pages 399-416, Berlin, Heidelberg, 1996. Springer-
              Verlag. , 1996,
              <http://dl.acm.org/citation.cfm?id=1754495.1754541>.

   [bleichenbacher98]
              Bleichenbacher, D., "Chosen ciphertext attacks against
              protocols based on the RSA encryption standard", In
              Advances in Cryptology: Proceedings of CRYPTO '98, volume
              1462 of Lecture Notes in Computer Science,pages 1-12,
              1998. , 1998.

   [boneh01crypto]
              Boneh, D. and I. Shparlinski, "On the unpredictability of
              bits of the elliptic curve diffie-hellman scheme", In Joe
              Kilian, editor, Advances in Cryptology - CRYPTO 2001,
              volume 2139 of Lecture Notes in Computer Science, pages
              201-212. Springer Berlin Heidelberg, 2001. , 2001,
              <http://dx.doi.org/10.1007/3-540-44647-8_12>.

   [email]    Kaliski, B., "Raising the Standard for RSA Signatures:
              RSA-PSS", Accessed: 11-Nov-2014, <https://web.archive.org/
              web/20130523004555/http://www.rsa.com/rsalabs/
              node.asp?id=2005>.

   [enisa13]  Smart, N., Rijmen, V., Warinschi, B., and G. Watson,
              "Algorithms, key sizes and parameters report: 2013
              recommendations", Technical report, October 2013. ENISA
              Report. Version 1.0.  , 2013.

   [fujisaki04OAEP]



Halpin & Steel            Expires May 23, 2016                 [Page 11]

Internet-Draft    W3C WebCrypto Security Considerations    November 2015


              Fujisaki, E., Okamoto, T., Pointcheval, D., and J. Stern,
              "RSA-OAEP is secure under the RSA assumption", Journal.
              Cryptol., 17(2):81-104, March 2004 , 2004,
              <http://dx.doi.org/10.1007/s00145-002-0204-y>.

   [jager12bleichenbacher]
              Jager, T., Schinzel, S., and J. Somorovsky,
              "Bleichenbacher's attack strikes again: breaking PKCS#1
              v1.5 in XML encryption", In Sara Foresti, Moti Yung, and
              Fabio Martinelli, editors, Computer Security - ESORICS
              2012, volume 7459 of Lecture Notes in Computer Science,
              pages 752-769. Springer Berlin Heidelberg, 2012. , 2012,
              <http://dx.doi.org/10.1007/978-3-642-33167-1_43>.

   [kaminsky10]
              Kaminsky, A., Kurdziel, M., and S. Radziszowski, "An
              overview of cryptanalysis research for the advanced
              encryption standard", In Military Communications
              Conference, 2010 - MILCOM 2010. , 2010.

   [knellwolf12]
              Knellwolf, S. and D. Khovratovich, "New Preimage Attacks
              against Reduced SHA-1", In Advances in Cryptology - CRYPTO
              2012, volume 7417 of Lecture Notes in Computer Science,
              pages 367-383. Springer Berlin Heidelberg, 2012. , 2012,
              <http://www.iacr.org/cryptodb/data/
              paper.php?pubkey=24323>.

   [krawczyk10HKDF]
              Krawczyk, H., "Cryptographic extraction and key
              derivation: the HKDF scheme", In Tal Rabin, editor,
              CRYPTO, volume 6223 of Lecture Notes in Computer Science,
              pages 631-648. Springer, 2010.  , 2010.

   [manger01]
              Manger, J., "A chosen ciphertext attack on rsa optimal
              asymmetric encryption padding (OAEP) as standardized in
              PKCS #1 v2.0", In Joe Kilian, editor, Advances in
              Cryptology CRYPTO 2001, volume 2139 of Lecture Notes in
              Computer Science, pages 230-238. Springer Berlin /
              Heidelberg, 2001 , 2001.

   [mitchell05cbc]
              Mitchell, C., "Error oracle attacks on CBC mode: is there
              a future for CBC mode encryption?", In J. et al. Zhou,
              editor, ISC 2005, volume 3650 in Lecture Notes in Computer
              Science, pages 244-258, 2005. , 2005.




Halpin & Steel            Expires May 23, 2016                 [Page 12]

Internet-Draft    W3C WebCrypto Security Considerations    November 2015


   [paterson04padding]
              Paterson, K. and A. Yau, "Padding oracle attacks on the
              ISO CBC mode encryption standard", In T. Okamoto, editor,
              RSA '04 Cryptography Track, number 2964 in LNCS, pages
              305-323. Springer, 2004. , 2004.

   [rizzo10USENIX]
              Rizzo, J. and T. Duong, "Practical padding oracle
              attacks", WOOT'10, pages 1-8, Berkeley, CA, USA, 2010.
              USENIX Association , 2010,
              <http://portal.acm.org/citation.cfm?id=1925004.1925008>.

   [rogaway06deterministic]
              Rogaway, P. and T. Shrimpton, "Deterministic
              authenticated-encryption: a provable-security treatment of
              the key-wrap problem", In Advances in Cryptology
              (EUROCRYPT '06), volume 4004 of LNCS, pages 373-390,
              2006. , 2006, <https://eprint.iacr.org/2006/221.pdf>.

   [rogaway11evaluation]
              Rogaway, P., "Evaluation of some blockcipher modes of
              operation", Technical report, University of California,
              Davis, February 2011. Evaluation carried out for the
              Cryptography Research and Evaluation Committees (CRYPTREC)
              for the Government of Japan. , 2011.

   [schneier]
              Schneier, B., "When Will We See Collisions for SHA-1?",
              Accessed: 11-Nov-2014, <https://www.schneier.com/blog/
              archives/2012/10/when_will_we_se.html>.

   [stevens]  Stevens, M., "Cryptanalysis of MD5 and SHA-1", Accessed:
               11-Nov-2014, <http://2012.sharcs.org/slides/stevens.pdf>.

   [vaudenay02]
              Vaudenay, S., "Security flaws induced by CBC padding -
              applications to SSL, IPSEC, WTLS ...", In Lars R. Knudsen,
              editor, EUROCRYPT, volume 2332 of Lecture Notes in
              Computer Science, pages 534-546. Springer, 2002. , 2002.

   [vaudenay03PKC]
              Vaudenay, S., "The security of DSA and ECDSA", In Yvo G.
              Desmedt, editor, Public Key Cryptography - PKC 2003,
              volume 2567 of Lecture Notes in Computer Science, pages
              309-323. Springer Berlin Heidelberg, 2002 , 2002,
              <http://dx.doi.org/10.1007/3-540-36288-6_23>.

   [wang2005]



Halpin & Steel            Expires May 23, 2016                 [Page 13]

Internet-Draft    W3C WebCrypto Security Considerations    November 2015


              Wang, X., Yin, Y., and H. Yu, "Finding collisions in the
              full SHA-1", In Proceedings of the 25th Annual
              International Conference on Advances in Cryptology,
              CRYPTO'05, pages 17-36, Berlin, Heidelberg, 2005.
              Springer-Verlag , 2005,
              <http://dx.doi.org/10.1007/11535218_2>.

   [wen12framework]
              Wen, C., Dawson, E., Nieto, J., and L. Simpson, "A
              framework for security analysis of key derivation
              functions", In Mark Dermot Ryan, Ben Smyth, and Guilin
              Wang, editors, ISPEC, volume 7232 of Lecture Notes in
              Computer Science, pages 199-216. Springer, 2012 , 2012.

   [yao05kdf]
              Yao, F. and Y. Yin, "Design and analysis of password-based
              key derivation functions", In Alfred Menezes, editor, CT-
              RSA, volume 3376 of Lecture Notes in Computer Science,
              pages 245-261. Springer, 2005 , 2005.


Appendix A.  Acknowledgments

   Special thanks to Ryan Sleevi and Mark Watson for their work on the
   Web Cryptography API, as well as Rich Salz for bringing up the issue
   of algorithm-specific security considerations.  Thanks to Kelsey
   Cairns for helping with the formal analysis.  Graham Steel authored
   the original version of this report [SteelChoice], and Harry Halpin
   from W3C/MIT agreed to edit and keep the document up to date.


Authors' Addresses

   Harry Halpin (editor)
   W3C/MIT

   Email: harry@w3c.org
   URI:   http://www.ibiblio.org/hhalpin/


   Graham Steel
   Cryptosense/INRIA

   Email: Graham.Steel@inria.fr
   URI:   http://www.lsv.ens-cachan.fr/~steel/






Halpin & Steel            Expires May 23, 2016                 [Page 14]



From nobody Thu Nov 20 07:59:56 2014
Return-Path: <rsalz@akamai.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 95E521A0A6A for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 07:59:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.194
X-Spam-Level: 
X-Spam-Status: No, score=-3.194 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.594] autolearn=ham
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 6MBHIPA-xsul for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 07:59:48 -0800 (PST)
Received: from prod-mail-xrelay07.akamai.com (prod-mail-xrelay07.akamai.com [72.246.2.115]) by ietfa.amsl.com (Postfix) with ESMTP id 174B31A1AAB for <cfrg@irtf.org>; Thu, 20 Nov 2014 07:59:47 -0800 (PST)
Received: from prod-mail-xrelay07.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 222E647EED; Thu, 20 Nov 2014 15:59:47 +0000 (GMT)
Received: from prod-mail-relay07.akamai.com (prod-mail-relay07.akamai.com [172.17.121.112]) by prod-mail-xrelay07.akamai.com (Postfix) with ESMTP id 167CE47EE8; Thu, 20 Nov 2014 15:59:47 +0000 (GMT)
Received: from email.msg.corp.akamai.com (usma1ex-cas2.msg.corp.akamai.com [172.27.123.31]) by prod-mail-relay07.akamai.com (Postfix) with ESMTP id 1262F80074; Thu, 20 Nov 2014 15:59:47 +0000 (GMT)
Received: from USMA1EX-CASHUB4.kendall.corp.akamai.com (172.27.105.20) by usma1ex-dag1mb3.msg.corp.akamai.com (172.27.123.103) with Microsoft SMTP Server (TLS) id 15.0.913.22; Thu, 20 Nov 2014 10:59:29 -0500
Received: from USMBX1.msg.corp.akamai.com ([169.254.1.19]) by USMA1EX-CASHUB4.kendall.corp.akamai.com ([172.27.105.20]) with mapi; Thu, 20 Nov 2014 10:59:28 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Harry Halpin <hhalpin@w3.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Date: Thu, 20 Nov 2014 10:59:27 -0500
Thread-Topic: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
Thread-Index: AdAE2BnzNGQquWiKTeyXeXPBziKSfAAAbDcA
Message-ID: <2A0EFB9C05D0164E98F19BB0AF3708C71D5211CE6D@USMBX1.msg.corp.akamai.com>
References: <546E0AE5.3040601@w3.org>
In-Reply-To: <546E0AE5.3040601@w3.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ujqXB9MY4IW_4uRRiUYJJ8yVfQk
Subject: Re: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 15:59:53 -0000

Great, this is good progress.

> Note that draft, while attempting

I think you mean "Note that /this/ draft"
=20
If this document is intended to be stand-alone, you need to describe the co=
lumns in Table 1.  Last line of that table has an extra close-paren.

Shouldn't sec4 be right after 1?

I think you should either do just-webcrypto, or explicitly say 'many/most i=
etf rfcs'  My pref is just webcrypto.  Drop pkcs1.5 et al.  Or move it and =
the non-WebCrypto ones to an appendix.

I think you need a table of acronyms near the beginning; CCA is used in tab=
le 1 for example.  And redefined in Rogaways' quote in 5.7

This is a very useful document, thanks.
-- =20
Principal Security Engineer, Akamai Technologies
IM: rsalz@jabber.me Twitter: RichSalz


From nobody Thu Nov 20 08:00:26 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 68C0C1A1AC7 for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 08:00:23 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 XAxbro7vzUe6 for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 08:00:19 -0800 (PST)
Received: from mail-yh0-x231.google.com (mail-yh0-x231.google.com [IPv6:2607:f8b0:4002:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0385C1A0A6A for <cfrg@irtf.org>; Thu, 20 Nov 2014 08:00:19 -0800 (PST)
Received: by mail-yh0-f49.google.com with SMTP id f10so1460450yha.36 for <cfrg@irtf.org>; Thu, 20 Nov 2014 08:00:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rnvKUwpeiwgvUC5NNizMTst4gwa/oSIXp0+5D9gzvFE=; b=B/izbqgErgPvF/TUnqFl8Ja8PSnLCkKSUYLGtBWqdpKJS3tQkZNUBGY73Vii8W8/6A nC4t7DUPmJBhzcemCTOOEvs1FyeqGgIG9rwbzI3k344YICG6CQy6Tz9ddpE/EbKMaq2R 673yJDkx33GH57lTtALHQLda6KdfM/V4TLEUYxS8zE/KibNTantEljKPqQJcIMw4J4fF 3uoclunHqR8WioeSJsPMnqEuhG4HVfSX7pvB2/Lc+CLbUFKNUBV1IwDzMZ/wWgauAN0u tRlHCx4T39rfD/XZCFEZbcoQuijBLcJ4ORuOGh1RdiuZuG3lyKWjlk/6WCnpKML8bpNy 7byA==
MIME-Version: 1.0
X-Received: by 10.236.17.197 with SMTP id j45mr21565839yhj.49.1416499218080; Thu, 20 Nov 2014 08:00:18 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Thu, 20 Nov 2014 08:00:18 -0800 (PST)
In-Reply-To: <546E0AE5.3040601@w3.org>
References: <546E0AE5.3040601@w3.org>
Date: Thu, 20 Nov 2014 08:00:18 -0800
Message-ID: <CACsn0cn+KX9J1NSUFhKV32iWL4KLHEPOKcXea3cD20QK2YeeaA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Harry Halpin <hhalpin@w3.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/VAhgDoDaci8iSn8h7wzCBLzcUNk
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 16:00:23 -0000

On Thu, Nov 20, 2014 at 7:38 AM, Harry Halpin <hhalpin@w3.org> wrote:
> Everyone,
>
> As the W3C Web Cryptography API gets ready to move to Candidate
> Recommendation, we wanted to address the concerns brought up by Rich
> Salz and others for better security guidelines for developers, given
> that the API exposes a variety of algorithms. I've taken Graham Steel's
> excellent write-up, which is in a large part based on Smart et al.'s
> magisterial ENISA report,  and have turned it into a draft CFRG note.
>
> We'd like to see the security guidelines below discussed here, and if
> there's no objections after discussion, move this onwards. W3C commits
> to maintaining this note as much as possible.
>
> Links to draft:
>
> TXT:
> http://www.w3.org/2012/webcrypto/draft-irtf-cfrg-webcrypto-algorithms-00.txt
> HTML:
> http://www.w3.org/2012/webcrypto/draft-irtf-cfrg-webcrypto-algorithms-00.html
>
> cheers,
>     harry
>

This says ECDSA is weak, and doesn't recommend future use Huh? MACs
are necessary for use with anything not AES-GCM, and this isn't
mentioned, nor is the correct way to compose described. The DH
description is just wrong: NFS has made a tremendous dent in the
security of genus 0 Diffie-Hellman. The security results for ECDH
cited aren't ones that actually matter.

There is no guidance on key size, which can make even the strongest scheme weak.

One might think HKDF2 is the right way to store a hashed password from
reading this. They would be wrong, as it's easy to search all
possibilities. PBKDF2 isn't much better, but you have a fighting
chance.

Other then that I didn't find any problems.

Sincerely,
Watson Ladd


From nobody Thu Nov 20 08:25:28 2014
Return-Path: <jonathan.berliner@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3310C1A1AAC for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 08:25:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 eGGwwI1_g9Jc for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 08:25:14 -0800 (PST)
Received: from mail-pa0-x236.google.com (mail-pa0-x236.google.com [IPv6:2607:f8b0:400e:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F03BD1A1ABB for <cfrg@irtf.org>; Thu, 20 Nov 2014 08:25:13 -0800 (PST)
Received: by mail-pa0-f54.google.com with SMTP id fb1so2822285pad.41 for <cfrg@irtf.org>; Thu, 20 Nov 2014 08:25:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:reply-to:sender:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=0KZa6GWP18QVVbs9Ii6BzD2MChcxwJPsUWf7U7G3zDc=; b=ba1EzYh6+2LXk+fVV3vIAijELA06VZQkCWpoxkgn+pvQZ9eWQ1jH2MIdOdLM9VMR12 RVAhVLtM5wPrQ/2KKGiFXMUzWwRXVzYvizGhT4jjBS+BhxbEQoj0TwRj498R4K9wNlCu hDuuGNFwrpSoWQNAOVYfyfrHj4K93xNrDStjw1cS1h2LNobUgi8G4uP7Sid4FWOAeNPD tx5HmiXhl3kNzkDY9EkqsTzuAKvvk7juN1Whh7i6lMKKlHB4Wes1ltB9jp2eKtfcUm4m Oh5BRpduPQ6Q9Y+PcUiFZuSid5HVsKyliZazbgOorvrvSAwr769Yb+cn3hIHGTqxJUJo io1A==
X-Received: by 10.68.220.39 with SMTP id pt7mr56484430pbc.37.1416500712213; Thu, 20 Nov 2014 08:25:12 -0800 (PST)
MIME-Version: 1.0
Sender: jonathan.berliner@gmail.com
Received: by 10.70.53.9 with HTTP; Thu, 20 Nov 2014 08:24:42 -0800 (PST)
In-Reply-To: <CACsn0cn+KX9J1NSUFhKV32iWL4KLHEPOKcXea3cD20QK2YeeaA@mail.gmail.com>
References: <546E0AE5.3040601@w3.org> <CACsn0cn+KX9J1NSUFhKV32iWL4KLHEPOKcXea3cD20QK2YeeaA@mail.gmail.com>
From: Jonathan Berliner <jberliner@caa.columbia.edu>
Date: Thu, 20 Nov 2014 11:24:42 -0500
X-Google-Sender-Auth: 7A5UVCxhHQjUiCl74GQFCkJkngA
Message-ID: <CAP4fkhhBs1QHj5OFoukJdBt2L=EL0PEZ8yefC8S-JRFM=4WX=Q@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Uv-kQMLBdFxeQ2ZAm_3QcC0sk6g
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: jberliner@caa.columbia.edu
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 16:25:23 -0000

I'm relatively new to this group so take this with some salt, but this
bothered me:

I don't like the usage of "nonce" and "random" in these sentences:
"AES-CBC mode is not CCA secure. It is secure against chosen plaintext
attacks (CPA-secure) if the IV is random, but not if the IV is a
nonce[rogaway11evaluation]."

"AES-CFB is not CCA secure. It is CPA-secure if the IV is random, but
not if the IV is a nonce [rogaway11evaluation]."

I read Rogaway's paper
(http://web.cs.ucdavis.edu/~rogaway/papers/modes.pdf), but I think we
can define this better:

"Nonce" - a value/number/string used only once.
"Random number" - a value/number/string that doesn't follow a pattern
(or what-have-you).

This doesn't mean that "nonces" are insecure. "Non-random nonces" are
insecure, but "random nonces" are secure. According to the flow of the
document, "random IVs" are also insecure, because they may be used
more than once.

I think I understood Rogaway's intent here, that non-randomness is the
problem, not one-timeness. Based on a cursory survey of parlance used
on the Internet, I think others would be confused by this, because
"nonces" can also be "random."

Jonathan


On Thu, Nov 20, 2014 at 11:00 AM, Watson Ladd <watsonbladd@gmail.com> wrote:
> On Thu, Nov 20, 2014 at 7:38 AM, Harry Halpin <hhalpin@w3.org> wrote:
>> Everyone,
>>
>> As the W3C Web Cryptography API gets ready to move to Candidate
>> Recommendation, we wanted to address the concerns brought up by Rich
>> Salz and others for better security guidelines for developers, given
>> that the API exposes a variety of algorithms. I've taken Graham Steel's
>> excellent write-up, which is in a large part based on Smart et al.'s
>> magisterial ENISA report,  and have turned it into a draft CFRG note.
>>
>> We'd like to see the security guidelines below discussed here, and if
>> there's no objections after discussion, move this onwards. W3C commits
>> to maintaining this note as much as possible.
>>
>> Links to draft:
>>
>> TXT:
>> http://www.w3.org/2012/webcrypto/draft-irtf-cfrg-webcrypto-algorithms-00.txt
>> HTML:
>> http://www.w3.org/2012/webcrypto/draft-irtf-cfrg-webcrypto-algorithms-00.html
>>
>> cheers,
>>     harry
>>
>
> This says ECDSA is weak, and doesn't recommend future use Huh? MACs
> are necessary for use with anything not AES-GCM, and this isn't
> mentioned, nor is the correct way to compose described. The DH
> description is just wrong: NFS has made a tremendous dent in the
> security of genus 0 Diffie-Hellman. The security results for ECDH
> cited aren't ones that actually matter.
>
> There is no guidance on key size, which can make even the strongest scheme weak.
>
> One might think HKDF2 is the right way to store a hashed password from
> reading this. They would be wrong, as it's easy to search all
> possibilities. PBKDF2 isn't much better, but you have a fighting
> chance.
>
> Other then that I didn't find any problems.
>
> Sincerely,
> Watson Ladd
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Thu Nov 20 08:57:49 2014
Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1EAF41A1AA6 for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 08:57:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.647
X-Spam-Level: 
X-Spam-Status: No, score=-3.647 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
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 tatFF_eGBNtK for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 08:57:46 -0800 (PST)
Received: from proper.com (Hoffman.Proper.COM [207.182.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9BC941A1A11 for <cfrg@irtf.org>; Thu, 20 Nov 2014 08:57:45 -0800 (PST)
Received: from [10.20.30.90] (142-254-17-111.dsl.dynamic.fusionbroadband.com [142.254.17.111]) (authenticated bits=0) by proper.com (8.14.9/8.14.7) with ESMTP id sAKGvhaD032536 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Nov 2014 09:57:44 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 142-254-17-111.dsl.dynamic.fusionbroadband.com [142.254.17.111] claimed to be [10.20.30.90]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <546E0AE5.3040601@w3.org>
Date: Thu, 20 Nov 2014 08:57:43 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <B041D850-2A7D-4B0E-A234-27A4A9D5031B@vpnc.org>
References: <546E0AE5.3040601@w3.org>
To: Harry Halpin <hhalpin@w3.org>
X-Mailer: Apple Mail (2.1990.1)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/iMltbWpP3lJa7GNVGwWmCkeVxUw
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 16:57:48 -0000

If you want this to be a CFRG-edited draft, that's great. As a few =
people have pointed out, it has some deep flaws, and having lots of eyes =
on it with regular updates would be valuable.

--Paul Hoffman=


From nobody Thu Nov 20 08:58:54 2014
Return-Path: <sfluhrer@cisco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C83C91A0318 for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 08:58:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.095
X-Spam-Level: 
X-Spam-Status: No, score=-15.095 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.594, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 1AuFuz0t0FG9 for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 08:58:47 -0800 (PST)
Received: from alln-iport-8.cisco.com (alln-iport-8.cisco.com [173.37.142.95]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 247091A1A1F for <cfrg@irtf.org>; Thu, 20 Nov 2014 08:58:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2250; q=dns/txt; s=iport; t=1416502727; x=1417712327; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=GaEmk1n2F4xALrmCvQrROXyt0EsIpgYQRCTuxlfYT/c=; b=RS6JpRIdIXcABK7qFq7NXHCXLInuMFpvhQPitQlRrsBI6OLLY5YdVEB4 Yw77bkRELmgv5mPGZT0VaBaDQVi9dnqMKxbQLubLyf601v0rI+lQUMxTg JZsZcbBJEQpUskUMIuMJ7k3DkPX8pMArUscXOcCEJQ5xXSnDfwPEdBUnK 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AisFAO8cblStJA2B/2dsb2JhbABaDgiCeFVZBMtVh0kCgQcWAQEBAQF9hAIBAQECAQEYIj8FBwQCAQgRBAEBCxQFBAcyFAkIAgQBDQUIiDAJDdUgAQEBAQEBAQEBAQEBAQEBAQEBAQEBF5BXMQcGgyeBHgWSV4ReiF+HCY4/gjaBBUBtAQGBRoEDAQEB
X-IronPort-AV: E=Sophos;i="5.07,425,1413244800"; d="scan'208";a="98581699"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by alln-iport-8.cisco.com with ESMTP; 20 Nov 2014 16:58:46 +0000
Received: from xhc-aln-x14.cisco.com (xhc-aln-x14.cisco.com [173.36.12.88]) by alln-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id sAKGwkWv000360 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 20 Nov 2014 16:58:46 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.11]) by xhc-aln-x14.cisco.com ([173.36.12.88]) with mapi id 14.03.0195.001; Thu, 20 Nov 2014 10:58:46 -0600
From: "Scott Fluhrer (sfluhrer)" <sfluhrer@cisco.com>
To: "jberliner@caa.columbia.edu" <jberliner@caa.columbia.edu>, Watson Ladd <watsonbladd@gmail.com>
Thread-Topic: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
Thread-Index: AQHQBNgy+hai7H1VaUOeV292N6fTXZxqEQ0AgAAG0QD//6LhEA==
Date: Thu, 20 Nov 2014 16:58:45 +0000
Message-ID: <A113ACFD9DF8B04F96395BDEACB340420BE7E5EA@xmb-rcd-x04.cisco.com>
References: <546E0AE5.3040601@w3.org> <CACsn0cn+KX9J1NSUFhKV32iWL4KLHEPOKcXea3cD20QK2YeeaA@mail.gmail.com> <CAP4fkhhBs1QHj5OFoukJdBt2L=EL0PEZ8yefC8S-JRFM=4WX=Q@mail.gmail.com>
In-Reply-To: <CAP4fkhhBs1QHj5OFoukJdBt2L=EL0PEZ8yefC8S-JRFM=4WX=Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.89.1.67]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/qrIA7rnyFu0IYRTHHsIFQtEVWT8
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 16:58:52 -0000

>  -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Jonathan Berliner
> Sent: Thursday, November 20, 2014 11:25 AM
> To: Watson Ladd
> Cc: cfrg@irtf.org
> Subject: Re: [Cfrg] Proposed Informational Note: Security Guidelines for
> Cryptographic Algorithms in the W3C Web Cryptography API
>=20
> I'm relatively new to this group so take this with some salt, but this bo=
thered
> me:
>=20
> I don't like the usage of "nonce" and "random" in these sentences:
> "AES-CBC mode is not CCA secure. It is secure against chosen plaintext
> attacks (CPA-secure) if the IV is random, but not if the IV is a
> nonce[rogaway11evaluation]."
>=20
> "AES-CFB is not CCA secure. It is CPA-secure if the IV is random, but not=
 if the
> IV is a nonce [rogaway11evaluation]."
>=20
> I read Rogaway's paper
> (http://web.cs.ucdavis.edu/~rogaway/papers/modes.pdf), but I think we
> can define this better:
>=20
> "Nonce" - a value/number/string used only once.
> "Random number" - a value/number/string that doesn't follow a pattern (or
> what-have-you).
>=20
> This doesn't mean that "nonces" are insecure. "Non-random nonces" are
> insecure, but "random nonces" are secure.

I don't think that Rogaway wants to imply that using nonces necessarily imp=
ly insecurity; instead, what he is saying is that if we assume that we use =
nonces (and make no other assumption beyond that), that does not imply secu=
rity.  That is, we're not looking for things we know will lead to weakness;=
 we're looking for the necessary assumptions we need to make to know that t=
he cryptography is strong.

> According to the flow of the
> document, "random IVs" are also insecure, because they may be used more
> than once.

Actually, if the IV's are actually chosen at random, we can show that the p=
robability of selecting the same IV twice is negligible.

>=20
> I think I understood Rogaway's intent here, that non-randomness is the
> problem, not one-timeness. Based on a cursory survey of parlance used on
> the Internet, I think others would be confused by this, because "nonces" =
can
> also be "random."

Just because others use terminology is an imprecise way doesn't mean we sho=
uld.



From nobody Thu Nov 20 09:27:51 2014
Return-Path: <mpg@elzevir.fr>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 39E611A1BD1 for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 09:27:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.844
X-Spam-Level: 
X-Spam-Status: No, score=-1.844 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_FR=0.35, MIME_8BIT_HEADER=0.3, RP_MATCHES_RCVD=-0.594] autolearn=ham
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 vYceEcGVHQUx for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 09:27:45 -0800 (PST)
Received: from mordell.elzevir.fr (mordell.elzevir.fr [IPv6:2001:4b98:dc0:41:216:3eff:feeb:c406]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8DC161A1BCA for <cfrg@irtf.org>; Thu, 20 Nov 2014 09:27:45 -0800 (PST)
Received: from thue.elzevir.fr (thue.elzevir.fr [88.165.216.11]) by mordell.elzevir.fr (Postfix) with ESMTPS id C8A97160B3; Thu, 20 Nov 2014 18:27:43 +0100 (CET)
Received: from [IPv6:2a01:e35:8a5d:80b0:caf7:33ff:fe89:5d50] (unknown [IPv6:2a01:e35:8a5d:80b0:caf7:33ff:fe89:5d50]) by thue.elzevir.fr (Postfix) with ESMTPSA id 0E3E4216E5; Thu, 20 Nov 2014 18:27:43 +0100 (CET)
Message-ID: <546E248E.8020305@elzevir.fr>
Date: Thu, 20 Nov 2014 18:27:42 +0100
From: =?windows-1252?Q?Manuel_P=E9gouri=E9-Gonnard?= <mpg@elzevir.fr>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: "Scott Fluhrer (sfluhrer)" <sfluhrer@cisco.com>,  "jberliner@caa.columbia.edu" <jberliner@caa.columbia.edu>, Watson Ladd <watsonbladd@gmail.com>
References: <546E0AE5.3040601@w3.org> <CACsn0cn+KX9J1NSUFhKV32iWL4KLHEPOKcXea3cD20QK2YeeaA@mail.gmail.com> <CAP4fkhhBs1QHj5OFoukJdBt2L=EL0PEZ8yefC8S-JRFM=4WX=Q@mail.gmail.com> <A113ACFD9DF8B04F96395BDEACB340420BE7E5EA@xmb-rcd-x04.cisco.com>
In-Reply-To: <A113ACFD9DF8B04F96395BDEACB340420BE7E5EA@xmb-rcd-x04.cisco.com>
OpenPGP: id=98EED379; url=https://elzevir.fr/gpg/mpg.asc
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/v0HkwDqCdrkrM_Z6UuzEXR4_LKQ
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 17:27:48 -0000

On 20/11/2014 17:58, Scott Fluhrer (sfluhrer) wrote:
>> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Jonathan Berliner
>> "AES-CFB is not CCA secure. It is CPA-secure if the IV is random, but not if the
>> IV is a nonce [rogaway11evaluation]."
>> [...]
>> This doesn't mean that "nonces" are insecure. "Non-random nonces" are
>> insecure, but "random nonces" are secure.
> 
> I don't think that Rogaway wants to imply that using nonces necessarily imply
> insecurity; instead, what he is saying is that if we assume that we use
> nonces (and make no other assumption beyond that), that does not imply
> security.  That is, we're not looking for things we know will lead to
> weakness; we're looking for the necessary assumptions we need to make to know
> that the cryptography is strong.
> 
I agree, but I think the sentence quoted above would be clearer this way:

"AES-CFB is not CCA secure. It is CPA-secure if the IV is random, but it is not
enough for the IV be be a nonce [rogaway11evaluation]."

>> According to the flow of the document, "random IVs" are also insecure,
>> because they may be used more than once.
> 
> Actually, if the IV's are actually chosen at random, we can show that the
> probability of selecting the same IV twice is negligible.
> 
It depends on the length of the IV and how many packets you encrypt with the
same keys. For example, with GCM as used in TLS, only 64 bits of IV are possibly
random. This means, with random IVs, you can expect collisions if you send more
than 2^32 records, which can totally happen in some usages of TLS.

Manuel.


From nobody Thu Nov 20 09:48:54 2014
Return-Path: <yaronf.ietf@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E38631A07BC for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 09:48:51 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 5gBxdLPfui7x for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 09:48:49 -0800 (PST)
Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 666111A1A78 for <cfrg@irtf.org>; Thu, 20 Nov 2014 09:48:49 -0800 (PST)
Received: by mail-wi0-f171.google.com with SMTP id bs8so9518622wib.10 for <cfrg@irtf.org>; Thu, 20 Nov 2014 09:48:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=4QnDoXqjBHuEWaoTInwrg6LVGQLLmd6AT3x5rlkGOF4=; b=agVlCXcVrhS6Ndv56XYe0KVpRqk5KNY4nT1bV/onvtfrjKPGWhmwHRR8QR3hiUGjVt /6dzJpH5k9tjB/j2bCmMi/xUDRR8tCsLSFmphpU+TvIz4QEyFHH8aPC/AcDud+o5T8eD uMclJ1/1IBUT3why9/cjn+lPUm5WF+BVplBJLi3AC7fQvoEsn8oQRiYcYbLme0PM46jk RMHGDHc7abLmmX1snafPXTxnCOk51fzW3lXG3UC26bI1VIQ/GYTQMOtUyN6pXmzMVNgN eLof7snBARb3lAigU3qw98nDKLRJclGt42jOz5FF1wZ2HflAKSInKPvf66Hb3Dd5jQ1Z 6fXw==
X-Received: by 10.180.211.166 with SMTP id nd6mr6254492wic.81.1416505728156; Thu, 20 Nov 2014 09:48:48 -0800 (PST)
Received: from [10.2.0.130] (93-172-142-150.bb.netvision.net.il. [93.172.142.150]) by mx.google.com with ESMTPSA id cm18sm4347363wjb.25.2014.11.20.09.48.47 for <cfrg@irtf.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Nov 2014 09:48:47 -0800 (PST)
Message-ID: <546E297D.5040405@gmail.com>
Date: Thu, 20 Nov 2014 19:48:45 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: cfrg@irtf.org
References: <mailman.2305.1416497925.5552.cfrg@irtf.org>
In-Reply-To: <mailman.2305.1416497925.5552.cfrg@irtf.org>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/p_bj2yttk_U34jISU4fALtNalHk
Subject: Re: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 17:48:52 -0000

Hi Harry,

The draft makes for fascinating reading for CFRG folks, as can be seen 
by the mailing list discussion. But I think it does not make any sense 
to "developers" (programmers who typically have next to no understanding 
of crypto, and certainly none at all of formal security models/proofs). 
They simply would not understand 90% of the text.

So it may be fine as a rationale for the selected list of algorithms. It 
may be fine for a few star crypto developers. But IMHO, not for the 
general population of people who'll be coding to your API.

I am a co-author of the TLS BCP 
(http://tools.ietf.org/html/draft-ietf-uta-tls-bcp-06). It certainly has 
its share of flaws, but what we did right is to clearly mark 
recommendations vs. rationale, and to simplify recommendations as much 
as we could.

Thanks,
	Yaron


>
> Everyone,
>
> As the W3C Web Cryptography API gets ready to move to Candidate
> Recommendation, we wanted to address the concerns brought up by Rich
> Salz and others for better security guidelines for developers, given
> that the API exposes a variety of algorithms. I've taken Graham Steel's
> excellent write-up, which is in a large part based on Smart et al.'s
> magisterial ENISA report,  and have turned it into a draft CFRG note.
>
> We'd like to see the security guidelines below discussed here, and if
> there's no objections after discussion, move this onwards. W3C commits
> to maintaining this note as much as possible.
>
> Links to draft:
>
> TXT:
> http://www.w3.org/2012/webcrypto/draft-irtf-cfrg-webcrypto-algorithms-00.txt
> HTML:
> http://www.w3.org/2012/webcrypto/draft-irtf-cfrg-webcrypto-algorithms-00.html
>
> cheers,
>      harry
>


From nobody Thu Nov 20 09:51:34 2014
Return-Path: <dgil@yahoo-inc.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6C5D91A1A17 for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 09:51:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.021
X-Spam-Level: 
X-Spam-Status: No, score=-16.021 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, J_CHICKENPOX_66=0.6, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, SPF_NEUTRAL=0.779, USER_IN_DEF_WHITELIST=-15] autolearn=no
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 I_8CwhamKDcx for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 09:51:28 -0800 (PST)
Received: from mrout2.yahoo.com (mrout2.yahoo.com [216.145.54.172]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D2B461A1B8E for <cfrg@irtf.org>; Thu, 20 Nov 2014 09:51:26 -0800 (PST)
Received: from omp1002.mail.ne1.yahoo.com (omp1002.mail.ne1.yahoo.com [98.138.87.2]) by mrout2.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id sAKHoNA4011181 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <cfrg@irtf.org>; Thu, 20 Nov 2014 09:50:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1416505823; bh=vLelbmWDCmDGHaDvtrJoZ87iyZ5aaZOWlRa8oGVfi74=; h=References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To; b=HK6UA5pQfDlWw5u3QPA5zYayiR394mIh+mapoDegeBwYtVVWdyPnVa01tiRQlGdWu 9dEh1RLL1UifnorAxUD89B3oGTOZtmCA+4kHA6duq+yx+siPAHr+IbGtc8KkbIAGKk KAh1MpX8tMT1o1x90V7Dw+OgBfu/6SKmSdPPOQSA=
Received: (qmail 35501 invoked by uid 1000); 20 Nov 2014 17:50:22 -0000
Received: (qmail 36459 invoked by uid 60001); 20 Nov 2014 17:50:22 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo-inc.com; s=ginc1024; t=1416505822; bh=5waVKP0UNiecq1w6PRkNpFsMyjQ5R4dGvIntsHfByhE=; h=References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Uksh0TG9k+PsNf4NIsLmON0bfVGjsx1JqiIfDkPXp9rtGX5dbbkze9HoPTopXam209Zb6zc0tCCZ0fYSbAK6Vlz0P1g+WKQaR10xhKrXbPuNfOTf/wsCJBHFgmbzwfEcrRIcfTSSfZNcYqRZniR8ifP0eRE6aIvr6DbWco/AOKo=
X-YMail-OSG: CWSp2_YVM1kSeHQhjPnKHJIjGgb8F5IWeP2xUpXUu7PhPH9 ZeL2Z6NdV3uHkiPk825Lrv2IVWGh71b8U6pLl_xR4GQRDeGtEvkXUKdtpPU1 n6eXDWDSzt6bb52qTzUx.KiPowxTF61g_1C6qETXZnMEUTPOnO9EPUoiJuUj mOtDnj8BxZ8nO2NaxixaDkEGo8FBvd47kuBRmEHi8aPm2JXmDwl1ELsdr8bx XrblLW1AlnfbWxtGzw9cs1nmEJpiEEU1wze0jUq6N_1emWBap0TdenjXMkWz J_En2EBYX_0O9YRarpE4D7nWw9q0-
Received: from [209.131.50.54] by web310003.mail.ne1.yahoo.com via HTTP; Thu, 20 Nov 2014 09:50:22 PST
X-Rocket-MIMEInfo: 002.001, Pk9uIDIwLzExLzIwMTQgMTc6NTgsIFNjb3R0IEZsdWhyZXIgKHNmbHVocmVyKSB3cm90ZToKPj4.IEZyb206IENmcmcgW21haWx0bzpjZnJnLWJvdW5jZXNAaXJ0Zi5vcmddIE9uIEJlaGFsZiBPZiBKb25hdGhhbiBCZXJsaW5lcgo.Pj4gIkFFUy1DRkIgaXMgbm90IENDQSBzZWN1cmUuIEl0IGlzIENQQS1zZWN1cmUgaWYgdGhlIElWIGlzIHJhbmRvbSwgYnV0IG5vdCBpZiB0aGUKPj4.IElWIGlzIGEgbm9uY2UgW3JvZ2F3YXkxMWV2YWx1YXRpb25dLiIKPj4.IFsuLi5dCj4.PiBUaGlzIGRvZXNuJ3QgbWVhbiABMAEBAQE-
X-Mailer: YahooMailWebService/0.8.203.740
References: <546E0AE5.3040601@w3.org> <CACsn0cn+KX9J1NSUFhKV32iWL4KLHEPOKcXea3cD20QK2YeeaA@mail.gmail.com> <CAP4fkhhBs1QHj5OFoukJdBt2L=EL0PEZ8yefC8S-JRFM=4WX=Q@mail.gmail.com> <A113ACFD9DF8B04F96395BDEACB340420BE7E5EA@xmb-rcd-x04.cisco.com> <546E248E.8020305@elzevir.fr>
Message-ID: <1416505822.31934.YahooMailNeo@web310003.mail.ne1.yahoo.com>
Date: Thu, 20 Nov 2014 09:50:22 -0800
From: David Gil <dgil@yahoo-inc.com>
To: =?iso-8859-1?Q?Manuel_P=E9gouri=E9-Gonnard?= <mpg@elzevir.fr>, "Scott Fluhrer \(sfluhrer\)" <sfluhrer@cisco.com>, "jberliner@caa.columbia.edu" <jberliner@caa.columbia.edu>, Watson Ladd <watsonbladd@gmail.com>
In-Reply-To: <546E248E.8020305@elzevir.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/xlrTCKvxcnx8p-K62XY8oam3AQs
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: David Gil <dgil@yahoo-inc.com>
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 17:51:30 -0000

>On 20/11/2014 17:58, Scott Fluhrer (sfluhrer) wrote:=0A>>> From: Cfrg [mai=
lto:cfrg-bounces@irtf.org] On Behalf Of Jonathan Berliner=0A>>> "AES-CFB is=
 not CCA secure. It is CPA-secure if the IV is random, but not if the=0A>>>=
 IV is a nonce [rogaway11evaluation]."=0A>>> [...]=0A>>> This doesn't mean =
that "nonces" are insecure. "Non-random nonces" are=0A>>> insecure, but "ra=
ndom nonces" are secure.=0A>> =0A>> I don't think that Rogaway wants to imp=
ly that using nonces necessarily imply=0A>> insecurity; instead, what he is=
 saying is that if we assume that we use=0A>> nonces (and make no other ass=
umption beyond that), that does not imply=0A>> security.  That is, we're no=
t looking for things we know will lead to=0A>> weakness; we're looking for =
the necessary assumptions we need to make to know=0A>> that the cryptograph=
y is strong.=0A>=0A> I agree, but I think the sentence quoted above would b=
e clearer this way:=0A> =0A> "AES-CFB is not CCA secure. It is CPA-secure i=
f the IV is random, but it is not=0A> enough for the IV be be a nonce [roga=
way11evaluation]."=0A=0ACould we please just use the terminology that every=
 paper on crypto uses?=0A=0AStandard jargon: IVs are always uniform (comput=
ationally hard =0Apseudo)random strings. Nonces are strings that are used o=
nly once.=0A=0AAs Watson noted, an IV of sufficient length is with high pro=
bability=0Aa nonce; best is to set len(IV) =3D 2*s, where s is the target s=
ecurity=0Astrength.


From nobody Thu Nov 20 10:09:28 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B996C1A1B55 for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 10:09:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
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 eGG2GCk2I81k for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 10:09:17 -0800 (PST)
Received: from mail-yk0-x229.google.com (mail-yk0-x229.google.com [IPv6:2607:f8b0:4002:c07::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 11C091A1B2A for <cfrg@irtf.org>; Thu, 20 Nov 2014 10:09:13 -0800 (PST)
Received: by mail-yk0-f169.google.com with SMTP id 79so1539540ykr.14 for <cfrg@irtf.org>; Thu, 20 Nov 2014 10:09:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kaUieAEw7hy8BZEmFZ3T0WYS13RJ6CFgiYn4FKu0l9k=; b=Mk73AUdyIu/E0cerLxHt+09oa6Sj7H5F9wj/GW1+ycgpSPl7gP6rzgcj1Xy9wYMcLF iPdAw2kHNlACspxQ+Z0XJnW/il5OdCbmvEcGvETyLUq8/fJ2Q6npOBrKL5axFQmIKETs 4XJ9ZHZU+PkapLmMjNZMsOOhUi56OnTmnt23v0a7BeuWTkJifWFAdPRofHmtWN+xkBdX AirKBASBJ0GgJSwQAiiJ2Hd2yZzamTqycXOjsl/B5LbeznhJb+OVAsX/4yLNCCX+mian pL/NzrL4ADLSHNTAgPJ6yqvNHme4CZrae6H4FWFIlMtKs6H1m0kBXlYVdCjpb6RTB7n2 QGJw==
MIME-Version: 1.0
X-Received: by 10.170.111.210 with SMTP id d201mr36741ykb.126.1416506952167; Thu, 20 Nov 2014 10:09:12 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Thu, 20 Nov 2014 10:09:11 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Thu, 20 Nov 2014 10:09:11 -0800 (PST)
In-Reply-To: <546E297D.5040405@gmail.com>
References: <mailman.2305.1416497925.5552.cfrg@irtf.org> <546E297D.5040405@gmail.com>
Date: Thu, 20 Nov 2014 10:09:11 -0800
Message-ID: <CACsn0cmXqSQv74obdxvkp8M_U4JF_h64ZBF5A_aG6QLWUzQAQQ@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Yaron Sheffer <yaronf.ietf@gmail.com>
Content-Type: multipart/alternative; boundary=001a11379d68b4b75405084e39bf
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/CvOy-kMN1KoIpwa1Nd1PuSaZaFc
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 18:09:23 -0000

--001a11379d68b4b75405084e39bf
Content-Type: text/plain; charset=UTF-8

On Nov 20, 2014 9:49 AM, "Yaron Sheffer" <yaronf.ietf@gmail.com> wrote:
>
> Hi Harry,
>
> The draft makes for fascinating reading for CFRG folks, as can be seen by
the mailing list discussion. But I think it does not make any sense to
"developers" (programmers who typically have next to no understanding of
crypto, and certainly none at all of formal security models/proofs). They
simply would not understand 90% of the text.

>
> So it may be fine as a rationale for the selected list of algorithms. It
may be fine for a few star crypto developers. But IMHO, not for the general
population of people who'll be coding to your API.

Should people who don't know anything about cryptography write code that
uses it? We've already mentioned that protocol design is hard, but that
will force a lot of other choices, so it's not clear what is actually
addressed by these recommendations.

Unlike TLS this is not about properly configuring an implementation.  It's
a case where the developers have unbounded creativity, and so can mess it
up in unexpected ways, which no list of negative commandments can cover.

The right approach is to design misuse resistant primitives on top of the
ones in Webcrypto, and tell programmers to use them.

Sincerely,
Watson Ladd

>
> I am a co-author of the TLS BCP (
http://tools.ietf.org/html/draft-ietf-uta-tls-bcp-06). It certainly has its
share of flaws, but what we did right is to clearly mark recommendations
vs. rationale, and to simplify recommendations as much as we could.
>
> Thanks,
>         Yaron
>
>
>
>>
>> Everyone,
>>
>> As the W3C Web Cryptography API gets ready to move to Candidate
>> Recommendation, we wanted to address the concerns brought up by Rich
>> Salz and others for better security guidelines for developers, given
>> that the API exposes a variety of algorithms. I've taken Graham Steel's
>> excellent write-up, which is in a large part based on Smart et al.'s
>> magisterial ENISA report,  and have turned it into a draft CFRG note.
>>
>> We'd like to see the security guidelines below discussed here, and if
>> there's no objections after discussion, move this onwards. W3C commits
>> to maintaining this note as much as possible.
>>
>> Links to draft:
>>
>> TXT:
>>
http://www.w3.org/2012/webcrypto/draft-irtf-cfrg-webcrypto-algorithms-00.txt
>> HTML:
>>
http://www.w3.org/2012/webcrypto/draft-irtf-cfrg-webcrypto-algorithms-00.html
>>
>> cheers,
>>      harry
>>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg

--001a11379d68b4b75405084e39bf
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On Nov 20, 2014 9:49 AM, &quot;Yaron Sheffer&quot; &lt;<a href=3D"mailto:ya=
ronf.ietf@gmail.com">yaronf.ietf@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Harry,<br>
&gt;<br>
&gt; The draft makes for fascinating reading for CFRG folks, as can be seen=
 by the mailing list discussion. But I think it does not make any sense to =
&quot;developers&quot; (programmers who typically have next to no understan=
ding of crypto, and certainly none at all of formal security models/proofs)=
. They simply would not understand 90% of the text.</p>
<p dir=3D"ltr">&gt;<br>
&gt; So it may be fine as a rationale for the selected list of algorithms. =
It may be fine for a few star crypto developers. But IMHO, not for the gene=
ral population of people who&#39;ll be coding to your API.</p>
<p dir=3D"ltr">Should people who don&#39;t know anything about cryptography=
 write code that uses it? We&#39;ve already mentioned that protocol design =
is hard, but that will force a lot of other choices, so it&#39;s not clear =
what is actually addressed by these recommendations. </p>
<p dir=3D"ltr">Unlike TLS this is not about properly configuring an impleme=
ntation.=C2=A0 It&#39;s a case where the developers have unbounded creativi=
ty, and so can mess it up in unexpected ways, which no list of negative com=
mandments can cover.</p>
<p dir=3D"ltr">The right approach is to design misuse resistant primitives =
on top of the ones in Webcrypto, and tell programmers to use them.</p>
<p dir=3D"ltr">Sincerely, <br>
Watson Ladd</p>
<p dir=3D"ltr">&gt;<br>
&gt; I am a co-author of the TLS BCP (<a href=3D"http://tools.ietf.org/html=
/draft-ietf-uta-tls-bcp-06">http://tools.ietf.org/html/draft-ietf-uta-tls-b=
cp-06</a>). It certainly has its share of flaws, but what we did right is t=
o clearly mark recommendations vs. rationale, and to simplify recommendatio=
ns as much as we could.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 Yaron<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; Everyone,<br>
&gt;&gt;<br>
&gt;&gt; As the W3C Web Cryptography API gets ready to move to Candidate<br=
>
&gt;&gt; Recommendation, we wanted to address the concerns brought up by Ri=
ch<br>
&gt;&gt; Salz and others for better security guidelines for developers, giv=
en<br>
&gt;&gt; that the API exposes a variety of algorithms. I&#39;ve taken Graha=
m Steel&#39;s<br>
&gt;&gt; excellent write-up, which is in a large part based on Smart et al.=
&#39;s<br>
&gt;&gt; magisterial ENISA report,=C2=A0 and have turned it into a draft CF=
RG note.<br>
&gt;&gt;<br>
&gt;&gt; We&#39;d like to see the security guidelines below discussed here,=
 and if<br>
&gt;&gt; there&#39;s no objections after discussion, move this onwards. W3C=
 commits<br>
&gt;&gt; to maintaining this note as much as possible.<br>
&gt;&gt;<br>
&gt;&gt; Links to draft:<br>
&gt;&gt;<br>
&gt;&gt; TXT:<br>
&gt;&gt; <a href=3D"http://www.w3.org/2012/webcrypto/draft-irtf-cfrg-webcry=
pto-algorithms-00.txt">http://www.w3.org/2012/webcrypto/draft-irtf-cfrg-web=
crypto-algorithms-00.txt</a><br>
&gt;&gt; HTML:<br>
&gt;&gt; <a href=3D"http://www.w3.org/2012/webcrypto/draft-irtf-cfrg-webcry=
pto-algorithms-00.html">http://www.w3.org/2012/webcrypto/draft-irtf-cfrg-we=
bcrypto-algorithms-00.html</a><br>
&gt;&gt;<br>
&gt;&gt; cheers,<br>
&gt;&gt; =C2=A0 =C2=A0 =C2=A0harry<br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Cfrg mailing list<br>
&gt; <a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
&gt; <a href=3D"http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.=
org/mailman/listinfo/cfrg</a><br>
</p>

--001a11379d68b4b75405084e39bf--


From nobody Thu Nov 20 10:17:58 2014
Return-Path: <hhalpin@w3.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F149D1A1A8C for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 10:17:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.496
X-Spam-Level: 
X-Spam-Status: No, score=-7.496 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.594, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 9gsxKC1Nn7k6 for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 10:17:52 -0800 (PST)
Received: from jay.w3.org (ssh.w3.org [128.30.52.60]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D2E7B1A1B6D for <cfrg@irtf.org>; Thu, 20 Nov 2014 10:17:48 -0800 (PST)
Received: from [81.80.203.35] (helo=[172.17.2.197]) by jay.w3.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <hhalpin@w3.org>) id 1XrWId-0002Ew-Mr; Thu, 20 Nov 2014 13:17:47 -0500
Message-ID: <546E3044.6010403@w3.org>
Date: Thu, 20 Nov 2014 19:17:40 +0100
From: Harry Halpin <hhalpin@w3.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0
MIME-Version: 1.0
To: Watson Ladd <watsonbladd@gmail.com>, Yaron Sheffer <yaronf.ietf@gmail.com>
References: <mailman.2305.1416497925.5552.cfrg@irtf.org> <546E297D.5040405@gmail.com> <CACsn0cmXqSQv74obdxvkp8M_U4JF_h64ZBF5A_aG6QLWUzQAQQ@mail.gmail.com>
In-Reply-To: <CACsn0cmXqSQv74obdxvkp8M_U4JF_h64ZBF5A_aG6QLWUzQAQQ@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/4Dv8LLc3ncx1-699yW-tx9NXE-I
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 18:17:56 -0000

On 11/20/2014 07:09 PM, Watson Ladd wrote:
> On Nov 20, 2014 9:49 AM, "Yaron Sheffer" <yaronf.ietf@gmail.com> wrote:
>>
>> Hi Harry,
>>
>> The draft makes for fascinating reading for CFRG folks, as can be seen by
> the mailing list discussion. But I think it does not make any sense to
> "developers" (programmers who typically have next to no understanding of
> crypto, and certainly none at all of formal security models/proofs). They
> simply would not understand 90% of the text.

Agreed. However, we do hope they look at the table that has simple
"YES/NO" recommendations when choosing algorithms. We also need to keep
that table reasonably up to date in the future.

We initially thought we should keep such a table in the spec, but the
editor and others rightfully noted that this advice belongs somewhere
else as spec will stabilize and should focus on JS-specific concerns,
not keeping up with the crypto research landscape (which seems more CFRG
territory).

> 
>>
>> So it may be fine as a rationale for the selected list of algorithms. It
> may be fine for a few star crypto developers. But IMHO, not for the general
> population of people who'll be coding to your API.
> 
> Should people who don't know anything about cryptography write code that
> uses it? We've already mentioned that protocol design is hard, but that
> will force a lot of other choices, so it's not clear what is actually
> addressed by these recommendations.

We try to address this in the "introduction", encouraging people not to
write new protocols. What is addressed is algorithms that we should
encourage for future use. For example, many web developers may just want
a "hash" and thus default to SHA-1 unless we tell them otherwise.

> 
> Unlike TLS this is not about properly configuring an implementation.  It's
> a case where the developers have unbounded creativity, and so can mess it
> up in unexpected ways, which no list of negative commandments can cover.
> 
> The right approach is to design misuse resistant primitives on top of the
> ones in Webcrypto, and tell programmers to use them.

That is also a separable and equally difficult problem the WebCrypto WG
discussed. Instead, we released a "kitchen sink" approach of low-level
primitives and are hoping "the market" produces some good easy-to-use JS
libraries. If that doesn't happen in short order, I'm sure the W3C would
be interested in helping, and we'd want CFRG's advice in that matter as
well.

   cheers,
       hary

> 
> Sincerely,
> Watson Ladd
> 
>>
>> I am a co-author of the TLS BCP (
> http://tools.ietf.org/html/draft-ietf-uta-tls-bcp-06). It certainly has its
> share of flaws, but what we did right is to clearly mark recommendations
> vs. rationale, and to simplify recommendations as much as we could.
>>
>> Thanks,
>>         Yaron
>>
>>
>>
>>>
>>> Everyone,
>>>
>>> As the W3C Web Cryptography API gets ready to move to Candidate
>>> Recommendation, we wanted to address the concerns brought up by Rich
>>> Salz and others for better security guidelines for developers, given
>>> that the API exposes a variety of algorithms. I've taken Graham Steel's
>>> excellent write-up, which is in a large part based on Smart et al.'s
>>> magisterial ENISA report,  and have turned it into a draft CFRG note.
>>>
>>> We'd like to see the security guidelines below discussed here, and if
>>> there's no objections after discussion, move this onwards. W3C commits
>>> to maintaining this note as much as possible.
>>>
>>> Links to draft:
>>>
>>> TXT:
>>>
> http://www.w3.org/2012/webcrypto/draft-irtf-cfrg-webcrypto-algorithms-00.txt
>>> HTML:
>>>
> http://www.w3.org/2012/webcrypto/draft-irtf-cfrg-webcrypto-algorithms-00.html
>>>
>>> cheers,
>>>      harry
>>>
>>
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> http://www.irtf.org/mailman/listinfo/cfrg
> 
> 
> 
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
> 


From nobody Thu Nov 20 10:20:48 2014
Return-Path: <yaronf.ietf@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8BEA01A1AD5 for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 10:20:41 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 0Eg7ouIq6oVk for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 10:20:39 -0800 (PST)
Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2A0551A1AE8 for <cfrg@irtf.org>; Thu, 20 Nov 2014 10:20:32 -0800 (PST)
Received: by mail-wi0-f176.google.com with SMTP id ex7so9599577wid.15 for <cfrg@irtf.org>; Thu, 20 Nov 2014 10:20:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=lhy0oQ2R76hH90uIB3bBjXhhIpRJryT39TYB3U5MoUI=; b=Ib9xlsdzbOWNbzXJWKZEuwK2su6bbP8evVH0LtcA0AOLm8hI08uAoRox1yxCXZUfv0 ETg/lQELloswSY1hD6xiVhZC1pamdXw4CMKmGjxNuRyf4ZEACdyJfIo2acRj9VXv2tlP whDAcowZyI5MJM7g18r4whcvL96C8gfRvLE9BP5faMF5JdW7m1Fcp118+zP0EeSSS2qB 0DEY0K94+52vlc4J/I+0+NnzrXiVyys1bQj6bivvi1VH+33sx879owxCtYC4VYjsJMt1 qa3/AwrgRsB1qYnDMgaM6pCA/tiDRwO/qjFQjugEjA+wAl1BAqH0uG6BrdbwnINtIuBx NzQA==
X-Received: by 10.180.208.8 with SMTP id ma8mr18075024wic.53.1416507630910; Thu, 20 Nov 2014 10:20:30 -0800 (PST)
Received: from [10.2.0.130] (93-172-142-150.bb.netvision.net.il. [93.172.142.150]) by mx.google.com with ESMTPSA id gs9sm4431478wjc.47.2014.11.20.10.20.29 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Nov 2014 10:20:30 -0800 (PST)
Message-ID: <546E30EC.6060104@gmail.com>
Date: Thu, 20 Nov 2014 20:20:28 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: Watson Ladd <watsonbladd@gmail.com>
References: <mailman.2305.1416497925.5552.cfrg@irtf.org>	<546E297D.5040405@gmail.com> <CACsn0cmXqSQv74obdxvkp8M_U4JF_h64ZBF5A_aG6QLWUzQAQQ@mail.gmail.com>
In-Reply-To: <CACsn0cmXqSQv74obdxvkp8M_U4JF_h64ZBF5A_aG6QLWUzQAQQ@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/fuJQkF4o9LBkTvI_pHup2FqEEeQ
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 18:20:41 -0000

On 11/20/2014 08:09 PM, Watson Ladd wrote:
>
> On Nov 20, 2014 9:49 AM, "Yaron Sheffer" <yaronf.ietf@gmail.com
> <mailto:yaronf.ietf@gmail.com>> wrote:
>  >
>  > Hi Harry,
>  >
>  > The draft makes for fascinating reading for CFRG folks, as can be
> seen by the mailing list discussion. But I think it does not make any
> sense to "developers" (programmers who typically have next to no
> understanding of crypto, and certainly none at all of formal security
> models/proofs). They simply would not understand 90% of the text.
>
>  >
>  > So it may be fine as a rationale for the selected list of algorithms.
> It may be fine for a few star crypto developers. But IMHO, not for the
> general population of people who'll be coding to your API.
>
> Should people who don't know anything about cryptography write code that
> uses it? We've already mentioned that protocol design is hard, but that
> will force a lot of other choices, so it's not clear what is actually
> addressed by these recommendations.
>
> Unlike TLS this is not about properly configuring an implementation.
> It's a case where the developers have unbounded creativity, and so can
> mess it up in unexpected ways, which no list of negative commandments
> can cover.
>
> The right approach is to design misuse resistant primitives on top of
> the ones in Webcrypto, and tell programmers to use them.
>
> Sincerely,
> Watson Ladd
>

I mostly agree with you, but this document was introduced to the group 
as "better security guidelines for developers". I'm afraid it is not.

Thanks,
	Yaron


From nobody Thu Nov 20 10:23:50 2014
Return-Path: <hhalpin@w3.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DCD871A1B64 for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 10:23:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.496
X-Spam-Level: 
X-Spam-Status: No, score=-7.496 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.594, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 dMywmrUpdQrw for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 10:23:45 -0800 (PST)
Received: from jay.w3.org (ssh.w3.org [128.30.52.60]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B5ED51A19F2 for <cfrg@irtf.org>; Thu, 20 Nov 2014 10:23:45 -0800 (PST)
Received: from [81.80.203.35] (helo=[172.17.2.197]) by jay.w3.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <hhalpin@w3.org>) id 1XrWON-0002ZY-Ll; Thu, 20 Nov 2014 13:23:43 -0500
Message-ID: <546E31A8.3080909@w3.org>
Date: Thu, 20 Nov 2014 19:23:36 +0100
From: Harry Halpin <hhalpin@w3.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0
MIME-Version: 1.0
To: Paul Hoffman <paul.hoffman@vpnc.org>
References: <546E0AE5.3040601@w3.org> <B041D850-2A7D-4B0E-A234-27A4A9D5031B@vpnc.org>
In-Reply-To: <B041D850-2A7D-4B0E-A234-27A4A9D5031B@vpnc.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/D2TVnJLn9GgFnXvL-r87lEnQ9ZE
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 18:23:48 -0000

On 11/20/2014 05:57 PM, Paul Hoffman wrote:
> If you want this to be a CFRG-edited draft, that's great. As a few people have pointed out, it has some deep flaws, and having lots of eyes on it with regular updates would be valuable.
> 

Yes, that's the plan, as W3C will need the eyes of CFRG on it in the
future as well as new attacks and proofs are discovered.

We'll just watch the discussions on the preliminary version come in and
revise within a week or two unless there is serious disagreement between
members of CFRG. If theres is more or less agreement, I'll make the
edits and then formally submit this to be a CFRG edited draft.

   cheers,
        harry

> --Paul Hoffman
> 


From nobody Thu Nov 20 10:31:09 2014
Return-Path: <hhalpin@w3.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 75CC71A1A88 for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 10:31:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.496
X-Spam-Level: 
X-Spam-Status: No, score=-7.496 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.594, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 VDvyH6ml7tlo for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 10:31:05 -0800 (PST)
Received: from jay.w3.org (ssh.w3.org [128.30.52.60]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 506E81A19F2 for <cfrg@irtf.org>; Thu, 20 Nov 2014 10:31:05 -0800 (PST)
Received: from [81.80.203.35] (helo=[172.17.2.197]) by jay.w3.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <hhalpin@w3.org>) id 1XrWVT-00038x-Ry for cfrg@irtf.org; Thu, 20 Nov 2014 13:31:04 -0500
Message-ID: <546E3360.2020909@w3.org>
Date: Thu, 20 Nov 2014 19:30:56 +0100
From: Harry Halpin <hhalpin@w3.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0
MIME-Version: 1.0
To: cfrg@irtf.org
References: <mailman.2305.1416497925.5552.cfrg@irtf.org> <546E297D.5040405@gmail.com>
In-Reply-To: <546E297D.5040405@gmail.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/VcNk0AhjiI_EwC44l5ZrKpoQOAM
Subject: Re: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 18:31:07 -0000

On 11/20/2014 06:48 PM, Yaron Sheffer wrote:
> Hi Harry,
> 
> The draft makes for fascinating reading for CFRG folks, as can be seen
> by the mailing list discussion. But I think it does not make any sense
> to "developers" (programmers who typically have next to no understanding
> of crypto, and certainly none at all of formal security models/proofs).
> They simply would not understand 90% of the text.
> 
> So it may be fine as a rationale for the selected list of algorithms. It
> may be fine for a few star crypto developers. But IMHO, not for the
> general population of people who'll be coding to your API.
> 
> I am a co-author of the TLS BCP
> (http://tools.ietf.org/html/draft-ietf-uta-tls-bcp-06). It certainly has
> its share of flaws, but what we did right is to clearly mark
> recommendations vs. rationale, and to simplify recommendations as much
> as we could.

Yaron,

For developers, I imagine the important part will be the table, so we
want extra eyes on that.

We of course cannot fit in a course in cryptography and protocol design
in an informational document, but we do need to cite the right sources.
We're also looking for important attacks and proofs we may have missed.

I do agree some kind of "warning, possible hard to understand
justifications" before we go into per-algorithm justifications, so
developers are warned. However, if you have any way to justify or
simplify any of the justifications or the more developer-facing table,
we'd be very appreciative.

However, I would note the first few uses of Web Crypto did use AES-CBC
with RSAES-PKCS1-v1_5  :)

   cheers,
      harry


> 
> Thanks,
>     Yaron
> 
> 
>>
>> Everyone,
>>
>> As the W3C Web Cryptography API gets ready to move to Candidate
>> Recommendation, we wanted to address the concerns brought up by Rich
>> Salz and others for better security guidelines for developers, given
>> that the API exposes a variety of algorithms. I've taken Graham Steel's
>> excellent write-up, which is in a large part based on Smart et al.'s
>> magisterial ENISA report,  and have turned it into a draft CFRG note.
>>
>> We'd like to see the security guidelines below discussed here, and if
>> there's no objections after discussion, move this onwards. W3C commits
>> to maintaining this note as much as possible.
>>
>> Links to draft:
>>
>> TXT:
>> http://www.w3.org/2012/webcrypto/draft-irtf-cfrg-webcrypto-algorithms-00.txt
>>
>> HTML:
>> http://www.w3.org/2012/webcrypto/draft-irtf-cfrg-webcrypto-algorithms-00.html
>>
>>
>> cheers,
>>      harry
>>
> 
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Thu Nov 20 12:12:34 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2890B1AC43D for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 12:12:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
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 pRnuTI7g40x8 for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 12:12:18 -0800 (PST)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id C9D6E1AC3E5 for <cfrg@irtf.org>; Thu, 20 Nov 2014 12:11:38 -0800 (PST)
Received: from xct108cnc.rim.net ([10.65.161.208]) by mhs213cnc.rim.net with ESMTP/TLS/AES128-SHA; 20 Nov 2014 15:11:33 -0500
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT108CNC.rim.net ([fe80::8dc1:9551:6ed8:c618%17]) with mapi id 14.03.0174.001; Thu, 20 Nov 2014 15:11:33 -0500
From: Dan Brown <dbrown@certicom.com>
To: "'hhalpin@w3.org'" <hhalpin@w3.org>
Thread-Topic: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
Thread-Index: AQHQBNgdANpERMBI5UKMAwsjS8vT9ZxqEFSAgAAX/wD//7xIAA==
Date: Thu, 20 Nov 2014 20:11:32 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5D0433C@XMB116CNC.rim.net>
References: <546E0AE5.3040601@w3.org> <B041D850-2A7D-4B0E-A234-27A4A9D5031B@vpnc.org> <546E31A8.3080909@w3.org>
In-Reply-To: <546E31A8.3080909@w3.org>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_013E_01D004D4.44829210"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/e3-yakCca9jNqRm3DFbBmEQXCAc
Cc: "'cfrg@irtf.org'" <cfrg@irtf.org>
Subject: Re: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 20:12:24 -0000

------=_NextPart_000_013E_01D004D4.44829210
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Harry Halpin
> 
> We'll just watch the discussions on the preliminary version come in and
revise
> within a week or two unless there is serious disagreement between members
> of CFRG. If theres is more or less agreement, I'll make the edits and then
> formally submit this to be a CFRG edited draft.
> 

I disagree with the "NO" for ECDSA for future use..  The larger reason is
that only alternative signature algorithms in the document are RSA-based,
whereas, by contrast, TLS is moving from RSA to ECC.  The smaller reason is
that ECDSA seems, to me, quite secure for future use if used properly.

I disagree with the rationale against ECDSA about the "weakness" of the
provable security results. Here, I may be biased, being an author of such
works.  

I disagree with the claims regarding Vaudenay's domain parameter attack.
For prime fields: first, as Vaudenay himself writes, the attack is not known
to be effective in the case of prime fields; second, CFRG is now undertaking
a recommendation for new curves.  For binary fields: first, they are being
used much less; second, the usual representations are chosen from a rather
"rigid" list, rather than an arbitrary list as described in the attack.
Specifically, SEC1 defaults a unique representation per field, using
trinomial if possible, else pentanomial, with degrees of the middle terms of
minimized.  For conveying elliptic curve parameters using ASN.1, usually one
just uses an OID which requires the default representation, or alternatively
one can specify the curve details which requires a normal basis, a
trinomial, or a pentanomial.  It seems that ANSI X9.62-2005 now has similar
requirements for the field representations.  Therefore, I think the claim
that the field representation can be chosen maliciously is inconsistent with
the SECG and ANSI standards.

I can elaborate and discuss the points above further, if needed. I believe
that CFRG now has a focus on recommending a new elliptic curve, so I have
tried to be brief here.

------=_NextPart_000_013E_01D004D4.44829210
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICCm2p3UcABAAABWowDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZG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0gU3Vib3JkaW5hdGUgQ0EgTUNBMDJZ
S0YCCm2p3UcABAAABWowgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYAPs59OcOguoeMjjoBSSMg9hMNlZFBZ
r6scdfiir0prZW4XIzRtosHem3verzSOscY4UeqFxPpb9opwaPjNKwI+pv5jOEtJJnZCMywAFlPx
zJkyzkZTOU6m8IPYTgK+DSS6pPwH6qerEWGl3FckYw4cLEzrWa5nhzxjSJG/IzoryAAAAAAAAA==

------=_NextPart_000_013E_01D004D4.44829210--


From nobody Thu Nov 20 13:00:45 2014
Return-Path: <yaronf.ietf@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6B83F1ACE3B for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 13:00:43 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 g_ga18hZzbak for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 13:00:41 -0800 (PST)
Received: from mail-wg0-x230.google.com (mail-wg0-x230.google.com [IPv6:2a00:1450:400c:c00::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5AB451ACE39 for <cfrg@irtf.org>; Thu, 20 Nov 2014 13:00:41 -0800 (PST)
Received: by mail-wg0-f48.google.com with SMTP id y19so4827358wgg.35 for <cfrg@irtf.org>; Thu, 20 Nov 2014 13:00:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=ZxZuWqFtpHl05xONRPi26oJROz2X5d/EBNXceV3fhmk=; b=ytwKKMKAEARZJ+xi6s1VaIDZT6yabBpd8MEgAaQtZCIXS+fovgBhVVV5ytMkjQLC3c PlfIFsIkrjZvNVkKrcqp1czQ7CMBB3oOgJfk9Q8K4aLNWQnMBqmvhSjlKjekivQR33Be MM2n1sAj06rfr+Y9vUcpeFdtFxca2Qh3/3YS4RXy18VajZnbabS3sy+85Cc3/Tsu578U j4Y3eK9zNyjqxpKxTK+OiDBPnwlD3NHNP2cLEJFM/IVPXytKJD2m+HmW7eiTD4VTJ+e8 TyMvM1OINphExip7pKV4JK7D0OGjzEp6pYA7NIrGfPIPTxPhgR1ihec0zpg1828Nf+DS 5weg==
X-Received: by 10.180.73.143 with SMTP id l15mr1495598wiv.24.1416517240133; Thu, 20 Nov 2014 13:00:40 -0800 (PST)
Received: from [10.0.0.4] (bzq-79-176-2-1.red.bezeqint.net. [79.176.2.1]) by mx.google.com with ESMTPSA id e7sm5004980wjx.31.2014.11.20.13.00.39 for <cfrg@irtf.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Nov 2014 13:00:39 -0800 (PST)
Message-ID: <546E5676.1090500@gmail.com>
Date: Thu, 20 Nov 2014 23:00:38 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: cfrg@irtf.org
References: <mailman.23.1416513612.22880.cfrg@irtf.org>
In-Reply-To: <mailman.23.1416513612.22880.cfrg@irtf.org>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/TZv135HLKGMWqI61Lt_5OyToJPA
Subject: Re: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 21:00:43 -0000

>
> Yaron,
>
> For developers, I imagine the important part will be the table, so we
> want extra eyes on that.
>
> We of course cannot fit in a course in cryptography and protocol design
> in an informational document, but we do need to cite the right sources.
> We're also looking for important attacks and proofs we may have missed.
>
> I do agree some kind of "warning, possible hard to understand
> justifications" before we go into per-algorithm justifications, so
> developers are warned. However, if you have any way to justify or
> simplify any of the justifications or the more developer-facing table,
> we'd be very appreciative.
>
> However, I would note the first few uses of Web Crypto did use AES-CBC
> with RSAES-PKCS1-v1_5  :)
>

I actually missed the table on first reading, sorry about that. I think 
the table in general is fine, but I would add to the three AES-xxx a 
comment right there, "MUST be used with a keyed MAC, see sec. yyy" (a 
section that explains what's the proper way of composing encryption and 
integrity protection).

Thanks,
	Yaron


From nobody Thu Nov 20 13:09:26 2014
Return-Path: <dharkins@lounge.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 057981A700E for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 13:09:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.267
X-Spam-Level: 
X-Spam-Status: No, score=-3.267 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, J_CHICKENPOX_75=0.6, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001] autolearn=ham
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 bweJ_VmFESYZ for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 13:09:15 -0800 (PST)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id F3B241A6F99 for <cfrg@irtf.org>; Thu, 20 Nov 2014 13:09:14 -0800 (PST)
Received: from www.trepanning.net (localhost [127.0.0.1]) by colo.trepanning.net (Postfix) with ESMTP id 885AA1022400A; Thu, 20 Nov 2014 13:09:14 -0800 (PST)
Received: from 104.36.248.10 (SquirrelMail authenticated user dharkins@lounge.org) by www.trepanning.net with HTTP; Thu, 20 Nov 2014 13:09:14 -0800 (PST)
Message-ID: <3c4ed9ea116bb31a4041a974838922ff.squirrel@www.trepanning.net>
In-Reply-To: <546E0AE5.3040601@w3.org>
References: <546E0AE5.3040601@w3.org>
Date: Thu, 20 Nov 2014 13:09:14 -0800 (PST)
From: "Dan Harkins" <dharkins@lounge.org>
To: "Harry Halpin" <hhalpin@w3.org>
User-Agent: SquirrelMail/1.4.14 [SVN]
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/I_8PBZpVJqu_gTgW9IFl0HaTvsc
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 21:09:21 -0000

  Hello,

On Thu, November 20, 2014 7:38 am, Harry Halpin wrote:
> Everyone,
>
> As the W3C Web Cryptography API gets ready to move to Candidate
> Recommendation, we wanted to address the concerns brought up by Rich
> Salz and others for better security guidelines for developers, given
> that the API exposes a variety of algorithms. I've taken Graham Steel's
> excellent write-up, which is in a large part based on Smart et al.'s
> magisterial ENISA report,  and have turned it into a draft CFRG note.
>
> We'd like to see the security guidelines below discussed here, and if
> there's no objections after discussion, move this onwards. W3C commits
> to maintaining this note as much as possible.

[snip]

> 5.10.  AES-KW
>
>    AES-KW has received various criticisms, for example being
>    inconsistent in its notions of security (requiring IND-CCA from a
>    deterministic mode), but though it has no public security proof, it
>    has no known attacks either [rogaway06deterministic].  There are
>    alternative standards with security proofs such as SIV mode (RFC
>    5297)[RFC5297].

  This is very puzzling. Why recommend AES-KW if you acknowledge
there is a better alternative?

  Not only is there no security proof for AES-KW, it is also clunky to
use because it imposes restrictions on the size of the input data to
be wrapped. SIV imposes no restrictions on size and does not require
any kind of padding. And the whole discussion of nonces in this thread,
and the used-once issue with using a randomly selected nonce, doesn't
apply to SIV in its deterministic mode. No nonce? No problem.

  When making suggestions to developers to choose the right
cryptographic algorithm (which this draft intends to do) you should
ensure that to the fullest extent possible that misuse resistant options
are favored over their fragile alternatives. SIV requires less from the
developer than its alternative.

  As a bulk data encrypter SIV is a solid 2nd place to something like
GCM but as a tool for key exchange where selected portions of a
message need protection and the requirement for injection of good
randomness isn't strictly necessary, SIV excels. It works as a secure
AEAD scheme in its deterministic mode (with a slight qualification
when the same data and same AAD are protected by the same key)
and also works if you can supply a good nonce. It's the Swiss Army
Knife of crypto protocol development.

  I strongly suggest you swap AES-SIV for AES-KW in your table and
in your recommendations.

  regards,

  Dan.

>
> 5.11.  HMAC
>
>    HMAC has well-studied security proofs, even if the underlying hash
>    function is not (weak) collision resistant [bellare06HMAC].
>
> 5.12.  DH
>
>    The security of Diffie-Hellman key agreement maps closely to the
>    difficulty of the Diffie-Hellman problem.  More than 35 years after
>    publication of the DH protocol and despite progress on the discrete
>    log problem, there are no publicly known attacks.  Like other plain
>    DH modes it offers no authenticity, this must be taken care of
>    separately.
>
> 5.13.  SHA1
>
>    A procedure is known to obtain SHA-1 collisions in less than 2^62
>    operations [wang2005] (since SHA-1 has a fixed 160 bit output, the
>    theoretical lower bound is 2^80).  A talk by Marc Stevens outlines a
>    procedure requiring 2^60 operations [stevens].  Speculation about
>    when practical collisions will be seen ranges from 2018-21
>    [schneier].
>
>    Preimage calculation attacks on reduced round SHA-1 currently require
>    2^146.2 steps on 44 round SHA-1 and 2^150.6 steps on 48 round (full
>    SHA-1 has 80 rounds) and Simon Knellwolf, who worked on these latest
>    attacks, notes that given the current rate of progress, efficient
>
>
>
> Halpin & Steel            Expires May 23, 2016                  [Page 8]
> 
> Internet-Draft    W3C WebCrypto Security Considerations    November 2015
>
>
>    preimage attacks will be seen in 2020 [knellwolf12].
>
>    Finally, some authors consider even the theoretical lower bound on
>    collision attacks (2^80) to be too low a security parameter for
>    future applications [enisa13].
>
> 5.14.  SHA-256, SHA-384, SHA-512
>
>    There are collision and preimage attacks reported on reduced-round
>    versions of the SHA-2 family, but currently no practical attacks
>    [enisa13].
>
> 5.15.  HKDF-CTR
>
>    Security models for password-based key derivation functions are still
>    in a state of flux [wen12framework].  However, we note that HKDF has
>    security proofs [krawczyk10HKDF].
>
> 5.16.  PBKDF2
>
>    PBKDF2 has known weaknesses [yao05kdf].
>
> 5.17.  CONCAT
>
>    CONCAT (which refers to the key derivation function defined in
>    Section 5.8.1 of NIST SP 800-56A) does not appear to have any
>    independent analysis, but is simple and receives approval in the
>    ENISA report [enisa13].
>
>
> 6.  Security Considerations
>
>    This informational overview lists some well-known security
>    considerations for algorithms in the W3C Web Cryptographic API.  We
>    expect these algorithms to be used in particular applications with a
>    wide variety of differing threat models for various attacks.  Thus,
>    the attacks in-scope and out-of-scope depend on the particular
>    protocol, as well as the attacks a protocol is susceptible to and
>    those which it protects against.  This note documents per algorithm
>    known attacks that are generic to an algorithm, but does not deal
>    with the particular level.
>
>
> 7.  IANA Considerations
>
>    This memo includes no request to IANA.  For the algorithms inspected
>    in this review, the central authority governing their identifiers is
>    the W3C Web Cryptography Working API [W3CWebCryptoCR].  Note that the
>
>
>
> Halpin & Steel            Expires May 23, 2016                  [Page 9]
> 
> Internet-Draft    W3C WebCrypto Security Considerations    November 2015
>
>
>    W3C Web Cryptography API does map a subset of these algorithm
>    identifiers (with additional parameters for the ciphersuites) to the
>    IANA registry of JOSE identifiers for algorithms [JWA].
>
>
> 8.  References
>
> 8.1.  Normative References
>
>    [JWA]      Jones, M., "JSON Web Algorithms (JWA)", IETF Internet
>               Draft, October 2014,
>               <http://www.w3.org/TR/2014/WD-WebCryptoAPI-20140325/>.
>
>    [PKCS11]   Gleeson, S. and C. Zimman, "OASIS PKCS 11", OASIS Working
>               Draft draft, November 2014, <https://www.oasis-open.org/
>               committees/download.php/54455/pkcs11-base-v2.40-wd11.pdf>.
>
>    [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
>               Requirement Levels", BCP 14, RFC 2119, March 1997.
>
>    [RFC5297]  Harkins, D., "Synthetic Initialization Vector (SIV)
>               Authenticated Encryption Using the Advanced Encryption
>               Standard (AES)", RFC 5297, October 2008.
>
>    [W3CWebCryptoCR]
>               Sleevi, R. and M. Watson, "Web Cryptography API", W3C
>               Candidate Recommendation , November 2014,
>               <http://www.w3.org/TR/WebCryptoAPI>.
>
>    [W3CWebCryptoLC]
>               Sleevi, R. and M. Watson, "Web Cryptography API", W3C Last
>               Call Working Draft , March 2014,
>               <http://www.w3.org/TR/2014/WD-WebCryptoAPI-20140325/>.
>
> 8.2.  Informative References
>
>    [SteelChoice]
>               Steel, G., "Choice of Algorithms in the W3C Crypto API",
>               Accessed: 20-Nov-2014, <http://cryptosense.com/
>               choice-of-algorithms-in-the-w3c-crypto-api/>.
>
>    [bardou12padding]
>               Bardou, R., Focardi, R., Kawamoto, Y., Simionato, L.,
>               Steel, G., and Joe-Kai-Tsay, "Efficient padding oracle
>               attacks on cryptographic hardware", In Advances in
>               Cryptology: Proceedings of CRYPTO '12, volume 7417 of
>               LNCS, pages 608-625. Springer, 2012. , 2012.
>
>
>
>
> Halpin & Steel            Expires May 23, 2016                 [Page 10]
> 
> Internet-Draft    W3C WebCrypto Security Considerations    November 2015
>
>
>    [barthe2009POPL]
>               Barthe, G., Gregoire, B., and S. Zanella-Beguelin, "Formal
>               certification of code-based cryptographic proofs", In 36th
>               ACM SIGPLAN-SIGACT Symposium on Principles of Programming
>               Languages, POPL 2009, pages 90-101. ACM, 2009. , 2009,
>               <http://dx.doi.org/10.1145/1480881.1480894>.
>
>    [bellare06HMAC]
>               Bellare, M., "New proofs for MAC and HMAC: security
>               without collision-resistance", In Cynthia Dwork, editor,
>               CRYPTO, volume 4117 of Lecture Notes in Computer Science,
>               pages 602-619. Springer, 2006 , 2006.
>
>    [bellare96eurocrypt]
>               Bellare, M. and P. Rogaway, "The exact security of digital
>               signatures-how to sign with rsa and rabin", In Proceedings
>               of the 15th Annual International Conference on Theory and
>               Application of Cryptographic Techniques, EUROCRYPT'96,
>               pages 399-416, Berlin, Heidelberg, 1996. Springer-
>               Verlag. , 1996,
>               <http://dl.acm.org/citation.cfm?id=1754495.1754541>.
>
>    [bleichenbacher98]
>               Bleichenbacher, D., "Chosen ciphertext attacks against
>               protocols based on the RSA encryption standard", In
>               Advances in Cryptology: Proceedings of CRYPTO '98, volume
>               1462 of Lecture Notes in Computer Science,pages 1-12,
>               1998. , 1998.
>
>    [boneh01crypto]
>               Boneh, D. and I. Shparlinski, "On the unpredictability of
>               bits of the elliptic curve diffie-hellman scheme", In Joe
>               Kilian, editor, Advances in Cryptology - CRYPTO 2001,
>               volume 2139 of Lecture Notes in Computer Science, pages
>               201-212. Springer Berlin Heidelberg, 2001. , 2001,
>               <http://dx.doi.org/10.1007/3-540-44647-8_12>.
>
>    [email]    Kaliski, B., "Raising the Standard for RSA Signatures:
>               RSA-PSS", Accessed: 11-Nov-2014, <https://web.archive.org/
>               web/20130523004555/http://www.rsa.com/rsalabs/
>               node.asp?id=2005>.
>
>    [enisa13]  Smart, N., Rijmen, V., Warinschi, B., and G. Watson,
>               "Algorithms, key sizes and parameters report: 2013
>               recommendations", Technical report, October 2013. ENISA
>               Report. Version 1.0.  , 2013.
>
>    [fujisaki04OAEP]
>
>
>
> Halpin & Steel            Expires May 23, 2016                 [Page 11]
> 
> Internet-Draft    W3C WebCrypto Security Considerations    November 2015
>
>
>               Fujisaki, E., Okamoto, T., Pointcheval, D., and J. Stern,
>               "RSA-OAEP is secure under the RSA assumption", Journal.
>               Cryptol., 17(2):81-104, March 2004 , 2004,
>               <http://dx.doi.org/10.1007/s00145-002-0204-y>.
>
>    [jager12bleichenbacher]
>               Jager, T., Schinzel, S., and J. Somorovsky,
>               "Bleichenbacher's attack strikes again: breaking PKCS#1
>               v1.5 in XML encryption", In Sara Foresti, Moti Yung, and
>               Fabio Martinelli, editors, Computer Security - ESORICS
>               2012, volume 7459 of Lecture Notes in Computer Science,
>               pages 752-769. Springer Berlin Heidelberg, 2012. , 2012,
>               <http://dx.doi.org/10.1007/978-3-642-33167-1_43>.
>
>    [kaminsky10]
>               Kaminsky, A., Kurdziel, M., and S. Radziszowski, "An
>               overview of cryptanalysis research for the advanced
>               encryption standard", In Military Communications
>               Conference, 2010 - MILCOM 2010. , 2010.
>
>    [knellwolf12]
>               Knellwolf, S. and D. Khovratovich, "New Preimage Attacks
>               against Reduced SHA-1", In Advances in Cryptology - CRYPTO
>               2012, volume 7417 of Lecture Notes in Computer Science,
>               pages 367-383. Springer Berlin Heidelberg, 2012. , 2012,
>               <http://www.iacr.org/cryptodb/data/
>               paper.php?pubkey=24323>.
>
>    [krawczyk10HKDF]
>               Krawczyk, H., "Cryptographic extraction and key
>               derivation: the HKDF scheme", In Tal Rabin, editor,
>               CRYPTO, volume 6223 of Lecture Notes in Computer Science,
>               pages 631-648. Springer, 2010.  , 2010.
>
>    [manger01]
>               Manger, J., "A chosen ciphertext attack on rsa optimal
>               asymmetric encryption padding (OAEP) as standardized in
>               PKCS #1 v2.0", In Joe Kilian, editor, Advances in
>               Cryptology CRYPTO 2001, volume 2139 of Lecture Notes in
>               Computer Science, pages 230-238. Springer Berlin /
>               Heidelberg, 2001 , 2001.
>
>    [mitchell05cbc]
>               Mitchell, C., "Error oracle attacks on CBC mode: is there
>               a future for CBC mode encryption?", In J. et al. Zhou,
>               editor, ISC 2005, volume 3650 in Lecture Notes in Computer
>               Science, pages 244-258, 2005. , 2005.
>
>
>
>
> Halpin & Steel            Expires May 23, 2016                 [Page 12]
> 
> Internet-Draft    W3C WebCrypto Security Considerations    November 2015
>
>
>    [paterson04padding]
>               Paterson, K. and A. Yau, "Padding oracle attacks on the
>               ISO CBC mode encryption standard", In T. Okamoto, editor,
>               RSA '04 Cryptography Track, number 2964 in LNCS, pages
>               305-323. Springer, 2004. , 2004.
>
>    [rizzo10USENIX]
>               Rizzo, J. and T. Duong, "Practical padding oracle
>               attacks", WOOT'10, pages 1-8, Berkeley, CA, USA, 2010.
>               USENIX Association , 2010,
>               <http://portal.acm.org/citation.cfm?id=1925004.1925008>.
>
>    [rogaway06deterministic]
>               Rogaway, P. and T. Shrimpton, "Deterministic
>               authenticated-encryption: a provable-security treatment of
>               the key-wrap problem", In Advances in Cryptology
>               (EUROCRYPT '06), volume 4004 of LNCS, pages 373-390,
>               2006. , 2006, <https://eprint.iacr.org/2006/221.pdf>.
>
>    [rogaway11evaluation]
>               Rogaway, P., "Evaluation of some blockcipher modes of
>               operation", Technical report, University of California,
>               Davis, February 2011. Evaluation carried out for the
>               Cryptography Research and Evaluation Committees (CRYPTREC)
>               for the Government of Japan. , 2011.
>
>    [schneier]
>               Schneier, B., "When Will We See Collisions for SHA-1?",
>               Accessed: 11-Nov-2014, <https://www.schneier.com/blog/
>               archives/2012/10/when_will_we_se.html>.
>
>    [stevens]  Stevens, M., "Cryptanalysis of MD5 and SHA-1", Accessed:
>                11-Nov-2014, <http://2012.sharcs.org/slides/stevens.pdf>.
>
>    [vaudenay02]
>               Vaudenay, S., "Security flaws induced by CBC padding -
>               applications to SSL, IPSEC, WTLS ...", In Lars R. Knudsen,
>               editor, EUROCRYPT, volume 2332 of Lecture Notes in
>               Computer Science, pages 534-546. Springer, 2002. , 2002.
>
>    [vaudenay03PKC]
>               Vaudenay, S., "The security of DSA and ECDSA", In Yvo G.
>               Desmedt, editor, Public Key Cryptography - PKC 2003,
>               volume 2567 of Lecture Notes in Computer Science, pages
>               309-323. Springer Berlin Heidelberg, 2002 , 2002,
>               <http://dx.doi.org/10.1007/3-540-36288-6_23>.
>
>    [wang2005]
>
>
>
> Halpin & Steel            Expires May 23, 2016                 [Page 13]
> 
> Internet-Draft    W3C WebCrypto Security Considerations    November 2015
>
>
>               Wang, X., Yin, Y., and H. Yu, "Finding collisions in the
>               full SHA-1", In Proceedings of the 25th Annual
>               International Conference on Advances in Cryptology,
>               CRYPTO'05, pages 17-36, Berlin, Heidelberg, 2005.
>               Springer-Verlag , 2005,
>               <http://dx.doi.org/10.1007/11535218_2>.
>
>    [wen12framework]
>               Wen, C., Dawson, E., Nieto, J., and L. Simpson, "A
>               framework for security analysis of key derivation
>               functions", In Mark Dermot Ryan, Ben Smyth, and Guilin
>               Wang, editors, ISPEC, volume 7232 of Lecture Notes in
>               Computer Science, pages 199-216. Springer, 2012 , 2012.
>
>    [yao05kdf]
>               Yao, F. and Y. Yin, "Design and analysis of password-based
>               key derivation functions", In Alfred Menezes, editor, CT-
>               RSA, volume 3376 of Lecture Notes in Computer Science,
>               pages 245-261. Springer, 2005 , 2005.
>
>
> Appendix A.  Acknowledgments
>
>    Special thanks to Ryan Sleevi and Mark Watson for their work on the
>    Web Cryptography API, as well as Rich Salz for bringing up the issue
>    of algorithm-specific security considerations.  Thanks to Kelsey
>    Cairns for helping with the formal analysis.  Graham Steel authored
>    the original version of this report [SteelChoice], and Harry Halpin
>    from W3C/MIT agreed to edit and keep the document up to date.
>
>
> Authors' Addresses
>
>    Harry Halpin (editor)
>    W3C/MIT
>
>    Email: harry@w3c.org
>    URI:   http://www.ibiblio.org/hhalpin/
>
>
>    Graham Steel
>    Cryptosense/INRIA
>
>    Email: Graham.Steel@inria.fr
>    URI:   http://www.lsv.ens-cachan.fr/~steel/
>
>
>
>
>
>
> Halpin & Steel            Expires May 23, 2016                 [Page 14]
> 
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>


From nobody Thu Nov 20 23:55:58 2014
Return-Path: <mpg@elzevir.fr>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1A011AD291 for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 23:55:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.244
X-Spam-Level: 
X-Spam-Status: No, score=-1.244 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_FR=0.35, J_CHICKENPOX_66=0.6, MIME_8BIT_HEADER=0.3, RP_MATCHES_RCVD=-0.594] autolearn=no
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 MQcIghUfldCc for <cfrg@ietfa.amsl.com>; Thu, 20 Nov 2014 23:55:53 -0800 (PST)
Received: from mordell.elzevir.fr (mordell.elzevir.fr [92.243.3.74]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A0E5F1A1A3F for <cfrg@irtf.org>; Thu, 20 Nov 2014 23:55:53 -0800 (PST)
Received: from thue.elzevir.fr (unknown [IPv6:2a01:e35:8a5d:80b0:be5f:f4ff:fe2c:95bc]) by mordell.elzevir.fr (Postfix) with ESMTPS id A932D16142; Fri, 21 Nov 2014 08:55:51 +0100 (CET)
Received: from [IPv6:2a01:e35:8a5d:80b0:caf7:33ff:fe89:5d50] (unknown [IPv6:2a01:e35:8a5d:80b0:caf7:33ff:fe89:5d50]) by thue.elzevir.fr (Postfix) with ESMTPSA id 09E77216EE; Fri, 21 Nov 2014 08:55:51 +0100 (CET)
Message-ID: <546EF006.1060205@elzevir.fr>
Date: Fri, 21 Nov 2014 08:55:50 +0100
From: =?windows-1252?Q?Manuel_P=E9gouri=E9-Gonnard?= <mpg@elzevir.fr>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: David Gil <dgil@yahoo-inc.com>,  "Scott Fluhrer (sfluhrer)" <sfluhrer@cisco.com>, "jberliner@caa.columbia.edu" <jberliner@caa.columbia.edu>,  Watson Ladd <watsonbladd@gmail.com>
References: <546E0AE5.3040601@w3.org> <CACsn0cn+KX9J1NSUFhKV32iWL4KLHEPOKcXea3cD20QK2YeeaA@mail.gmail.com> <CAP4fkhhBs1QHj5OFoukJdBt2L=EL0PEZ8yefC8S-JRFM=4WX=Q@mail.gmail.com> <A113ACFD9DF8B04F96395BDEACB340420BE7E5EA@xmb-rcd-x04.cisco.com> <546E248E.8020305@elzevir.fr> <1416505822.31934.YahooMailNeo@web310003.mail.ne1.yahoo.com>
In-Reply-To: <1416505822.31934.YahooMailNeo@web310003.mail.ne1.yahoo.com>
OpenPGP: id=98EED379; url=https://elzevir.fr/gpg/mpg.asc
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/8KjSN-rjU09n6fmbIBHTxiV3y_A
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Proposed Informational Note: Security Guidelines for Cryptographic Algorithms in the W3C Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Nov 2014 07:55:55 -0000

On 20/11/2014 18:50, David Gil wrote:
>> "AES-CFB is not CCA secure. It is CPA-secure if the IV is random, but it is not
>> enough for the IV be be a nonce [rogaway11evaluation]."
> 
> Could we please just use the terminology that every paper on crypto uses?
> 
> Standard jargon: IVs are always uniform (computationally hard 
> pseudo)random strings. Nonces are strings that are used only once.
> 
Sure. How would you word the above sentence?

> As Watson noted, an IV of sufficient length is with high probability
> a nonce; best is to set len(IV) = 2*s, where s is the target security
> strength.
> 
Yes, and as I noted, there are existing cases where this length condition is not
satisfied.

Manuel.


From nobody Fri Nov 21 04:53:26 2014
Return-Path: <manfred.lochter@bsi.bund.de>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C12B01A0273 for <cfrg@ietfa.amsl.com>; Fri, 21 Nov 2014 04:53:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.644
X-Spam-Level: 
X-Spam-Status: No, score=-4.644 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HELO_EQ_DE=0.35, J_CHICKENPOX_21=0.6, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.594, UNPARSEABLE_RELAY=0.001] autolearn=ham
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 3DIOMtJpxUiF for <cfrg@ietfa.amsl.com>; Fri, 21 Nov 2014 04:53:18 -0800 (PST)
Received: from m1-bn.bund.de (m1-bn.bund.de [77.87.228.73]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BE3641AD44B for <cfrg@irtf.org>; Fri, 21 Nov 2014 04:51:30 -0800 (PST)
Received: from m1.mfw.bn.ivbb.bund.de (localhost.mfw.bn.ivbb.bund.de [127.0.0.1]) by m1-bn.bund.de (8.14.5/8.14.5) with ESMTP id sALCpSX1001804 for <cfrg@irtf.org>; Fri, 21 Nov 2014 13:51:29 +0100 (CET)
Received: (from localhost) by m1.mfw.bn.ivbb.bund.de (MSCAN) id 5/m1.mfw.bn.ivbb.bund.de/smtp-gw/mscan; Fri Nov 21 13:51:28 2014
X-P350-Id: 2379aa3a37ec1ff6
X-Virus-Scanned: by amavisd-new at bsi.bund.de
From: "Lochter, Manfred" <manfred.lochter@bsi.bund.de>
Organization: BSI Bonn
To: Watson Ladd <watsonbladd@gmail.com>
Date: Fri, 21 Nov 2014 13:51:04 +0100
User-Agent: KMail/1.9.10 (enterprise35 20140205.23bb19c)
References: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com> <201411200901.53517.manfred.lochter@bsi.bund.de> <CACsn0cmV6aOMx+eiLa0iP7rYiU4ZVmeDbNPhTSz_a6oU1=kWjA@mail.gmail.com>
In-Reply-To: <CACsn0cmV6aOMx+eiLa0iP7rYiU4ZVmeDbNPhTSz_a6oU1=kWjA@mail.gmail.com>
X-KMail-QuotePrefix: > 
MIME-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-ID: <201411211351.04473.manfred.lochter@bsi.bund.de>
X-AntiVirus: checked by Avira MailGate (version: 3.2.1.26; AVE: 8.3.26.18; VDF: 7.11.188.4; host: sgasmtp2.bsi.de); id=16327-sRWbPv
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ABqdBNWuleC1Pyu2xApTPPNyLbQ
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Requirements for elliptic curves with a view towards constrained devices
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Nov 2014 12:53:23 -0000

__________ urspr=C3=BCngliche Nachricht __________

Von:		Watson Ladd <watsonbladd@gmail.com>
Datum:	Donnerstag, 20. November 2014, 16:21:50
An:		"Lochter, Manfred" <manfred.lochter@bsi.bund.de>
Kopie:	"cfrg@irtf.org" <cfrg@irtf.org>
Betr.:	Re: [Cfrg] Requirements for elliptic curves with a view towards=20
constrained devices

> On Thu, Nov 20, 2014 at 12:01 AM, Lochter, Manfred
>
> <manfred.lochter@bsi.bund.de> wrote:
> >> Of course, you don't need to take my word for it: Cloudflare was very
> >> clear that widespread ECDSA support was essential to making TLS free.
> >> Mobile devices are having issues with verification times for NIST
> >> P384. V2V proposals involves a staggering number of verifications a
> >> second, but oddly enough don't use batching or efficient signatures,
> >> thus forcing larger, more expensive hardware.
> >
> > Is there really a requirement for mobile devices to use a 384 bit curve?
> > Why is 256 not sufficient? In which scenarios do you see the neccessity
> > to use P-384? Which specific mobile devices are having issues with
> > verification times? Are they having these problems only in connection
> > with the proposed protocols you mention?
>
> When my mobile phone's browser connects to a website whose certificate
> is signed by P384, a P384 verification better take place. Not
> supporting P384 introduces an interoperability problem.

I'm glad that you agree with my previously stated position that 384-bit cur=
ves=20
are needed. Following your reasoning 256/384/512(521) bit curves have to be=
=20
supported. In this case I would rather see performance problems on the=20
512/521 end.=20
I would very much appreciate if you could also answer my other questions=20
above.
You seem to say that car-to-car communication will use the curves proposed =
by=20
the cfrg. This supports the inital position we took in the Brainpool positi=
on=20
paper (eprint 832/2014). I'm glad that we seem to agree on that.

>
> >> I have never seen an adequate explanation of why p random is needed
> >> for security. What I have seen is an explanation of particular
> >> blinding measures that only work with p random. But there are blinding
> >> measures that don't depend on random p, that are more efficient.
> >> Furthermore, if hardware already deals with the NIST curves, it has to
> >> deal with nonrandom p already.
> >
> > Which specific more efficient blinding measures are you addressing? Cou=
ld
> > you provide sources?
> > What does efficient mean for these countermeasures? A better protection
> > against SCA or higher speed? Or lower cost?
> > How is the patent situation for theses countermeasures?
>
> Most devices randomizing exponents compute xP as [aq+x]P where a is
> some random number and q is the order. Random primes apparently permit
> q, and thus aq+x to be smaller. But each arithmetic operation, and
> thus each point addition or doubling, is twice as fast for a special
> prime, and thus a can be the size of q, and we have equal performance
> to an unblinded multiplication on a random prime curve. This is better
> protection and it's faster. It's identical to the protection you
> described, except we've increased the size of a.
>
> This was described by DJB in an email to the list, titled "Primes vs.
> hardware side channels", sent October 16th.
>
> Of course, one can always continue to use brainpool. I don't see why
> the new curves have to force a 50% slowdown on everyone for benefit of
> a very restricted, largely unused class of devices.

Also thanks for this clarification. so, we both are talking about the same=
=20
randomisation method but with different sizes of a. From the SCA perspectiv=
e=20
it is obvious that you have to use larger a for special primes than for=20
random primes. Of course I've read Dan's posting. From your statement I was=
=20
led to believe  you were talking about a new and different method.

Manfred
>
> Sincerelu.
> Watson Ladd
>
> > Manfred
> >
> >> Sincerely,
> >> Watson Ladd
> >>
> >> > [1]
> >> > https://www.igvita.com/2012/07/19/latency-the-new-web-performance-bo=
tt
> >> >len eck/
> >> >
> >> > [2] https://eprint.iacr.org/2014/130.pdf
> >> >
> >> > [3] http://www.statisticbrain.com/google-searches/
> >> >
> >> > [4] Zero-Value Point Attacks :
> >> > https://www-old.cdc.informatik.tu-darmstadt.de/reports/TR/TI-03-01.z=
vp
> >> >.pd f
> >> >
> >> >
> >> >
> >> > Franck RONDEPIERRE
> >> >
> >> > Oberthur Technologies
> >> >
> >> > Technology & Innovation , R&D Cryptography Engineer
> >> >
> >> > 420 rue d'Estienne d'Orves | 92700 Colombes | France
> >> >
> >> > Phone: +33 (0)1 78 14 73 64   | Fax : +33 (0)1 78 14 70 20
> >> >
> >> > E-mail : f.rondepierre@oberthur.com | Web : www.oberthur.com
> >> >
> >> > P Please consider your Environmental Responsibility: Before printing
> >> > this e-mail or any other document, ask yourself if you need a hard
> >> > copy
> >> >
> >> >
> >> > _______________________________________________
> >> > Cfrg mailing list
> >> > Cfrg@irtf.org
> >> > http://www.irtf.org/mailman/listinfo/cfrg
> >
> > --
> > Lochter, Manfred
> > --------------------------------------------
> > Bundesamt f=C3=BCr Sicherheit in der Informationstechnik (BSI)
> > Referat K21
> > Godesberger Allee 185 -189
> > 53175 Bonn
> >
> > Postfach 20 03 63
> > 53133 Bonn
> >
> > Telefon: +49 (0)228 99 9582 5643
> > Telefax: +49 (0)228 99 10 9582 5643
> > E-Mail: manfred.lochter@bsi.bund.de
> > Internet:
> > www.bsi.bund.de
> > www.bsi-fuer-buerger.de

=2D-=20
Lochter, Manfred
=2D-------------------------------------------
Bundesamt f=C3=BCr Sicherheit in der Informationstechnik (BSI)
Referat K21
Godesberger Allee 185 -189
53175 Bonn

Postfach 20 03 63
53133 Bonn

Telefon: +49 (0)228 99 9582 5643
Telefax: +49 (0)228 99 10 9582 5643
E-Mail: manfred.lochter@bsi.bund.de
Internet:
www.bsi.bund.de
www.bsi-fuer-buerger.de


From nobody Fri Nov 21 05:43:40 2014
Return-Path: <akr@akr.io>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 504601A026C for <cfrg@ietfa.amsl.com>; Fri, 21 Nov 2014 05:43:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.502
X-Spam-Level: 
X-Spam-Status: No, score=-0.502 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 iZ1x8G5L8gW3 for <cfrg@ietfa.amsl.com>; Fri, 21 Nov 2014 05:43:35 -0800 (PST)
Received: from entima.net (entima.net [78.129.143.175]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C164E1A0169 for <cfrg@irtf.org>; Fri, 21 Nov 2014 05:43:35 -0800 (PST)
In-Reply-To: <201411211351.04473.manfred.lochter@bsi.bund.de>
References: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com> <201411200901.53517.manfred.lochter@bsi.bund.de> <CACsn0cmV6aOMx+eiLa0iP7rYiU4ZVmeDbNPhTSz_a6oU1=kWjA@mail.gmail.com> <201411211351.04473.manfred.lochter@bsi.bund.de>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
From: Alyssa Rowan <akr@akr.io>
Date: Fri, 21 Nov 2014 13:43:29 +0000
To: "Lochter, Manfred" <manfred.lochter@bsi.bund.de>, Watson Ladd <watsonbladd@gmail.com>
Message-ID: <06AAD770-F7E8-48CD-A9D4-B008E59A4F59@akr.io>
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/D3WSahjlLY4dg6jNSD7dhJ441ig
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Requirements for elliptic curves with a view towards constrained devices
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Nov 2014 13:43:38 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 21 November 2014 12:51:04 GMT+00:00, "Lochter, Manfred" <manfred.lochter@bsi.bund.de> wrote:

>> [Watson Ladd] When my mobile phone's browser connects to a website whose certificate is signed by P384, a P384 verification better take place. Not supporting P384 introduces an interoperability problem.
> [Manfred Lochter] I'm glad that you agree with my previously stated position that 384-bit curves are needed.

No, with respect, I think perhaps you may have simply misunderstood what he's saying here.

What Watson is talking about is simply the practical requirement that many TLS-supporting peers will have to continue to support the NIST curves in existing deployments - because existing ECC root CAs in the PKIX tree, such as Comodo's, are apparently all using ECDSA_P384_SHA384 (i.e., the NIST curve secp384r1), and naturally they will need to verify that chain of trust to remain secure.

However, the NIST curves are of course firmly outside the scope of our recommendations here; such a legacy consideration regarding the NIST curves has no bearing at all on what curves we may choose, or not, to recommend.

secp384r1 appears to have particularly unfortunate performance in software, and this can have some impact on mobile devices forced to use it for interoperability (they almost always have no hardware acceleration for it). That is the context of Watson's post, I believe?

As discussed previously, there are no particuarly efficient special primes in the immediate area of 2^384, and as a result there are several curves such as Curve41417 and Ed448-Goldilocks which are both faster (in software) and stronger than secp384r1.


Regarding side channel defences, I refer you to my previous replies and reference above. I note again that the NIST curves are themselves special primes, and are quite widely deployed with plenty of 'high-assurance' implementations of them already: clearly therefore, most competent vendors have had no insurmountable problems producing implementations with effective side-channel defenses for special prime fields.

- --
/akr
-----BEGIN PGP SIGNATURE-----
Version: APG v1.1.1

iQI3BAEBCgAhBQJUb0GBGhxBbHlzc2EgUm93YW4gPGFrckBha3IuaW8+AAoJEOyE
jtkWi2t6Gc4QAL7Q1BiytPBO84yeVMtOoioipnDiLJfQEatl7tWinARiHJT6evPC
1E3Wdm6JIfHERJEjNmcMr0TR4YH9Fn7NWXsKgZIqWX+uwo+rS3cnfDwSMUVK+tVK
5kJIF/CJAoOOwwugZ7KDFYZSDLErEMXexxAmABrBYe6y5zmVBTzudhO020MGiGiM
bGJlt2FLri4u4Yez4tmj8Ky2yIciGZa6zNJroooH/VUudcWZmk2hnloJTfEqSvHT
oeNQ7a7wHd3UlVkg4u4gvGxeCxH+ikeNmNfMA6cJ1lm8uglBrE5+alRKlUwtVxtL
R7y3bPK+0h7Hq1D+jqMUyDLQsp/65yX2cOvPMlSStJk6/AnaBm19XU63JN04sZ7y
z3z6huJ9WEEsdGs8kzJ+2jKHIMvvSmObqNg+Wd6hwKz3pYjY+9nCd3bO3ORV/pOz
S6H9X1sPye+laqphw5/wBTtM7FcawqdFGNit7qNf/Ne0cVxD4jbvugqfuwDV/xtO
4xHORPZjcBj2I6i6EgQhTrUs5wMNSIPfF5uT/RgA1UDgFNNlYjJ5ZhIurBbmtBRq
kFCWSlrODtYPpoZ4xoOtthu/DGlm8dkbb79HQaCuRUziEUm7y5lKPluqbUms7ewM
g6xXGTOTO+u+v8dEknimvpxnd8xxZ3/sof/nQBZeo18a3ZK2CReFbkZQ
=a5/K
-----END PGP SIGNATURE-----


From nobody Fri Nov 21 08:58:52 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F22091AD572 for <cfrg@ietfa.amsl.com>; Fri, 21 Nov 2014 08:58:48 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 bY_zJ6aoZ9ya for <cfrg@ietfa.amsl.com>; Fri, 21 Nov 2014 08:58:41 -0800 (PST)
Received: from mail-yh0-x231.google.com (mail-yh0-x231.google.com [IPv6:2607:f8b0:4002:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0E58B1AD56E for <cfrg@irtf.org>; Fri, 21 Nov 2014 08:58:41 -0800 (PST)
Received: by mail-yh0-f49.google.com with SMTP id f10so2558341yha.36 for <cfrg@irtf.org>; Fri, 21 Nov 2014 08:58:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=PUd78iETE7D+DYTllLx8auqS1KzmKd7PpzHGRtvO/q8=; b=qp85EZmKANm8hQueMlDbEfoHpV2yG4l7G+hIzx0+s4q4mX8INY3NC81dW9f6JndOq6 HT6gNUoHlJb1ssOW2OM82o0DhjsMOZItQaFf2dz/JTovPXzaRYLm8kzRePoBk5UWx38i vjbxNV455lj94vp6FQxeFdrBB13k52v8Kw2/J5iTJRE9tXnXJ1GvMEe5UDhQq3J/t39H 1E9dnA87LAM021jGYvweqpFL2weDZmSr9jhMZHGijjwBLLHQDogEwcTuQpcSZhcmv/VB WhU45tvH9P6t3kYN7CAYZkgRY/DtH72Mr76D2KYupCOisI3Ntwd+uoobPgdQJYlAjQeh +nNQ==
MIME-Version: 1.0
X-Received: by 10.236.30.197 with SMTP id k45mr3067330yha.163.1416589120098; Fri, 21 Nov 2014 08:58:40 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Fri, 21 Nov 2014 08:58:39 -0800 (PST)
In-Reply-To: <201411211351.04473.manfred.lochter@bsi.bund.de>
References: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com> <201411200901.53517.manfred.lochter@bsi.bund.de> <CACsn0cmV6aOMx+eiLa0iP7rYiU4ZVmeDbNPhTSz_a6oU1=kWjA@mail.gmail.com> <201411211351.04473.manfred.lochter@bsi.bund.de>
Date: Fri, 21 Nov 2014 08:58:39 -0800
Message-ID: <CACsn0ckUoijv-uD3yksOQpRW9E-smF1wg9=+L2BVrN1+wRv0tw@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: "Lochter, Manfred" <manfred.lochter@bsi.bund.de>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/QwBqF4b0FRJSYkL11IJ9LBWNYGQ
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Requirements for elliptic curves with a view towards constrained devices
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Nov 2014 16:58:49 -0000

On Fri, Nov 21, 2014 at 4:51 AM, Lochter, Manfred
<manfred.lochter@bsi.bund.de> wrote:
>
>
>
>
>
> __________ urspr=C3=BCngliche Nachricht __________
>
> Von:            Watson Ladd <watsonbladd@gmail.com>
> Datum:  Donnerstag, 20. November 2014, 16:21:50
> An:             "Lochter, Manfred" <manfred.lochter@bsi.bund.de>
> Kopie:  "cfrg@irtf.org" <cfrg@irtf.org>
> Betr.:  Re: [Cfrg] Requirements for elliptic curves with a view towards
> constrained devices
>
>> On Thu, Nov 20, 2014 at 12:01 AM, Lochter, Manfred
>>
>> <manfred.lochter@bsi.bund.de> wrote:
>> >> Of course, you don't need to take my word for it: Cloudflare was very
>> >> clear that widespread ECDSA support was essential to making TLS free.
>> >> Mobile devices are having issues with verification times for NIST
>> >> P384. V2V proposals involves a staggering number of verifications a
>> >> second, but oddly enough don't use batching or efficient signatures,
>> >> thus forcing larger, more expensive hardware.
>> >
>> > Is there really a requirement for mobile devices to use a 384 bit curv=
e?
>> > Why is 256 not sufficient? In which scenarios do you see the neccessit=
y
>> > to use P-384? Which specific mobile devices are having issues with
>> > verification times? Are they having these problems only in connection
>> > with the proposed protocols you mention?
>>
>> When my mobile phone's browser connects to a website whose certificate
>> is signed by P384, a P384 verification better take place. Not
>> supporting P384 introduces an interoperability problem.
>
> I'm glad that you agree with my previously stated position that 384-bit c=
urves
> are needed. Following your reasoning 256/384/512(521) bit curves have to =
be
> supported. In this case I would rather see performance problems on the
> 512/521 end.
> I would very much appreciate if you could also answer my other questions
> above.
> You seem to say that car-to-car communication will use the curves propose=
d by
> the cfrg. This supports the inital position we took in the Brainpool posi=
tion
> paper (eprint 832/2014). I'm glad that we seem to agree on that.

The V2V projects aren't. Despite high performance constraints they are
not making optimal choices. Batch signatures would seem a natural fit,
and yet ECDSA is still being used. P256 seems to be selected, despite
Koblitz curves existing. But blinding won't be used: the performance
hit is too much, and the security model doesn't require it. It doesn't
seem like they will switch to Curve25519 if the CFRG recommends it.

Performance problems don't show up where you want them to. Any time
the fastest implementation isn't fast enough, there is a performance
problem. I don't see why users who want to use more secure curves
wouldn't care about performance, or why users who care about
performance wouldn't want the option to use larger curves. I also
don't see why random primes are good from a security perspective: they
permit a smaller multiplier, but the speed advantage of a nonrandom
curve permits a much bigger multiplier at the same cost.

Users don't care if we give them extra security. They do care if their
performance requirements aren't met by curves with adequate security,
or vice versa.

The Brainpool position paper equates hardware with high-assurance
hardware designed to resist side channel attacks, arguing that because
we can't write echo servers correctly, more people will put keys in
hardware. But this doesn't mean they need to resist side channel
attacks with large amounts of physical access to the hardware, and
certainly doesn't mean they are willing to suffer a massive
performance loss for that benefit.

Most of the applications which Brainpool inexplicably calls "hardware"
aren't. They use off the shelf microcontrollers, which don't have
bignum acceleration, and likely can't make it faster than built in
arithmetic. (There is nothing magical about doing the same
computations in a hard-coded circuit). They are much closer to
yesterday's software. This includes several "HSMs".

Sincerely,
Watson Ladd


From nobody Fri Nov 21 09:27:26 2014
Return-Path: <luto@amacapital.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6658A1AD590 for <cfrg@ietfa.amsl.com>; Fri, 21 Nov 2014 09:27:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.979
X-Spam-Level: 
X-Spam-Status: No, score=-1.979 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
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 9fxf2DoHxHTh for <cfrg@ietfa.amsl.com>; Fri, 21 Nov 2014 09:27:19 -0800 (PST)
Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3A38A1AD585 for <cfrg@irtf.org>; Fri, 21 Nov 2014 09:27:19 -0800 (PST)
Received: by mail-lb0-f171.google.com with SMTP id b6so4455484lbj.2 for <cfrg@irtf.org>; Fri, 21 Nov 2014 09:27:11 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=vUfgG+nWP1i/Mm+bR2g9Dhc+sDJ/PA1uf9ULR+DymSU=; b=DZcavwZ4fUZWoHaZohxPCJIiXPBV/2CDudEBJw8JWargvs64hyixmLF/UgS/QtBFU6 3uySxPDbCnnQWWaKcuQQcxIZWALoB5RJDuSDtGmIoV3U/35PXjM6/c9KRSuxMBprFPi0 DbxRv9iBoCaYivZCSzkg6YtBMTicdRBr0kJJJCr8OAEMDelwOFzlpdCZhcnEQix7UGZM QaSZZWHFYbHqXS0vg1E+PpNdEe4wNHNvF328weVAl7widktKYop1ns+ApkyRqjGwTKxv DTJ50jrfmAwHfMgzWYC7mEqOgc+Jgx1ZIoTgkcFD7NqPdzgc2ljiCKi7VhjTQQ6ya/52 ZhMg==
X-Gm-Message-State: ALoCoQm6N4249MVKlUuuq8rK7y9qA93/Gm4VGhAfzMPqw92OxshlutrNA2+OARZoEO85kAAd7THe
X-Received: by 10.112.219.3 with SMTP id pk3mr6593994lbc.18.1416590829109; Fri, 21 Nov 2014 09:27:09 -0800 (PST)
MIME-Version: 1.0
Received: by 10.152.7.170 with HTTP; Fri, 21 Nov 2014 09:26:48 -0800 (PST)
In-Reply-To: <CACsn0ckUoijv-uD3yksOQpRW9E-smF1wg9=+L2BVrN1+wRv0tw@mail.gmail.com>
References: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com> <201411200901.53517.manfred.lochter@bsi.bund.de> <CACsn0cmV6aOMx+eiLa0iP7rYiU4ZVmeDbNPhTSz_a6oU1=kWjA@mail.gmail.com> <201411211351.04473.manfred.lochter@bsi.bund.de> <CACsn0ckUoijv-uD3yksOQpRW9E-smF1wg9=+L2BVrN1+wRv0tw@mail.gmail.com>
From: Andy Lutomirski <luto@amacapital.net>
Date: Fri, 21 Nov 2014 09:26:48 -0800
Message-ID: <CALCETrWMd53RyX=2aVRxzX-4x9oe=WmiCv91beK7KCXiXMOhkA@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/q9AZyjjwvyDyacTGFzQqR3xIGzQ
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Requirements for elliptic curves with a view towards constrained devices
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Nov 2014 17:27:24 -0000

On Fri, Nov 21, 2014 at 8:58 AM, Watson Ladd <watsonbladd@gmail.com> wrote:
> On Fri, Nov 21, 2014 at 4:51 AM, Lochter, Manfred
> <manfred.lochter@bsi.bund.de> wrote:
>>
>>
>>
>>
>>
>> __________ urspr=C3=BCngliche Nachricht __________
>>
>> Von:            Watson Ladd <watsonbladd@gmail.com>
>> Datum:  Donnerstag, 20. November 2014, 16:21:50
>> An:             "Lochter, Manfred" <manfred.lochter@bsi.bund.de>
>> Kopie:  "cfrg@irtf.org" <cfrg@irtf.org>
>> Betr.:  Re: [Cfrg] Requirements for elliptic curves with a view towards
>> constrained devices
>>
>>> On Thu, Nov 20, 2014 at 12:01 AM, Lochter, Manfred
>>>
>>> <manfred.lochter@bsi.bund.de> wrote:
>>> >> Of course, you don't need to take my word for it: Cloudflare was ver=
y
>>> >> clear that widespread ECDSA support was essential to making TLS free=
.
>>> >> Mobile devices are having issues with verification times for NIST
>>> >> P384. V2V proposals involves a staggering number of verifications a
>>> >> second, but oddly enough don't use batching or efficient signatures,
>>> >> thus forcing larger, more expensive hardware.
>>> >
>>> > Is there really a requirement for mobile devices to use a 384 bit cur=
ve?
>>> > Why is 256 not sufficient? In which scenarios do you see the neccessi=
ty
>>> > to use P-384? Which specific mobile devices are having issues with
>>> > verification times? Are they having these problems only in connection
>>> > with the proposed protocols you mention?
>>>
>>> When my mobile phone's browser connects to a website whose certificate
>>> is signed by P384, a P384 verification better take place. Not
>>> supporting P384 introduces an interoperability problem.
>>
>> I'm glad that you agree with my previously stated position that 384-bit =
curves
>> are needed. Following your reasoning 256/384/512(521) bit curves have to=
 be
>> supported. In this case I would rather see performance problems on the
>> 512/521 end.
>> I would very much appreciate if you could also answer my other questions
>> above.
>> You seem to say that car-to-car communication will use the curves propos=
ed by
>> the cfrg. This supports the inital position we took in the Brainpool pos=
ition
>> paper (eprint 832/2014). I'm glad that we seem to agree on that.
>
> The V2V projects aren't. Despite high performance constraints they are
> not making optimal choices. Batch signatures would seem a natural fit,
> and yet ECDSA is still being used. P256 seems to be selected, despite
> Koblitz curves existing. But blinding won't be used: the performance
> hit is too much, and the security model doesn't require it. It doesn't
> seem like they will switch to Curve25519 if the CFRG recommends it.

Don't the V2V things need high *real-time* performance contraints?  To
me, that would seem to rule out batch signatures entirely, unless
there's a magic verifier that can retain good performance even in the
presence of an invalid signature.

--Andy


From nobody Fri Nov 21 15:12:58 2014
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 832B51A8F3D for <cfrg@ietfa.amsl.com>; Fri, 21 Nov 2014 15:12:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.896
X-Spam-Level: **
X-Spam-Status: No, score=2.896 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, UNPARSEABLE_RELAY=0.001] autolearn=no
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 gYJbvrIE_A4V for <cfrg@ietfa.amsl.com>; Fri, 21 Nov 2014 15:12:42 -0800 (PST)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id B61D81A8F4A for <cfrg@irtf.org>; Fri, 21 Nov 2014 15:12:41 -0800 (PST)
Received: (qmail 24510 invoked by uid 1017); 21 Nov 2014 23:13:00 -0000
Received: from unknown (unknown) by unknown with QMTP; 21 Nov 2014 23:13:00 -0000
Received: (qmail 18475 invoked by uid 1001); 21 Nov 2014 23:12:33 -0000
Date: 21 Nov 2014 23:12:33 -0000
Message-ID: <20141121231233.18473.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
In-Reply-To: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/3co2iEaaeKRDixtML3OKo9aV9cU
Subject: [Cfrg] Handling invalid points
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Nov 2014 23:12:46 -0000

My goal for curve selection, as I explained in Toronto, is to minimize
tensions between speed, simplicity, and security. My impression is that
there's consensus on at least one part of this: choosing a curve that
can be expressed in Edwards form, i.e., a curve that has a point of
order 4.

Microsoft has made a broader spectrum of proposals, apparently to be
prepared in case CFRG instead wants a curve of cofactor 1, but hasn't
actually been arguing that cofactor 1 is preferable. Nigel Smart claimed
at one point that cofactor 1 is "vital to avoid mistakes" but has never
given details. Meanwhile many people have pointed to the undisputed
benefits of Edwards curves, such as a very fast complete addition law.
I think CFRG could reasonably declare that a point of order 4 is a
requirement, simplifying subsequent discussion.

However, http://eprint.iacr.org/2014/832.pdf claims that cofactor 1 is
desirable because cofactors larger than 1 create "an additional
overhead" and "a source for implementation weaknesses" if a certain
"check is omitted or just forgotten". Similarly, a recent Oberthur
message claims that cofactor 1 should be "mandatory" to avoid "small
subgroup attacks" in careless implementations.

I find these claims quite puzzling, for several reasons:

   * Cofactors are already allowed by all of the usual ECC standards
     from IEEE, ANSI, and NIST. FIPS 186-4 sets the cofactor limit at
     2^14 for 255-bit primes. Certicom's pet SEC 1 standard has always
     allowed cofactor 4, and in 2009 started allowing even more.

   * Small-subgroup attacks were a big issue for pre-ECC discrete-log
     systems because those systems typically have huge cofactors---but
     for ECC everybody uses curves with vastly smaller cofactors, so the
     small-subgroup attacks learn almost nothing, even if nobody bothers
     defending against them. Invalid-curve attacks are a different
     story, but they have nothing to do with the minor difference
     between, e.g., cofactor 1 and cofactor 8 for the original curve.

   * The major ECC standards already eliminate _all_ of the information
     leakage from small-subgroup attacks. For example, ECDH in ANSI
     X9.63 computes a shared secret as "P=hdQ", where h is the cofactor
     and d is the secret key.

Notice that the cofactor multiplication in ANSI X9.63 etc. isn't a
"check" that can be "forgotten" by a careless implementation: such an
implementation would flunk every normal test vector for shared-secret
generation.

For comparison, a static-ECDH (or reused-ephemeral-ECDH) implementation
that doesn't check an incoming (x,y) against the curve equation will
leak its _entire_ secret key to a very fast attack. This huge security
problem _won't_ be caught by typical test vectors. This is vastly more
important than small-subgroup attacks.

Oberthur claims that checking the curve equation to stop these attacks
is "insignificant" compared to cofactor multiplication, but this is
exaggerating a tiny performance issue while ignoring the likelihood of
an omitted test and the security damage caused by the omission. We have
enough trouble getting crypto right without adding unnecessary traps!

The right way to eliminate the invalid-curve problem has two steps:

   (1) Require compressed points in protocols. This syntactically limits
       the input point to two curves: the original curve and its twist.

   (2) Choose twist-secure curves.

This also has many further benefits. Compressed points on curves with
points of order 4 also allow unmatched ECDH simplicity, at an excellent
performance level, via the Montgomery ladder. Serious hardware analyses
such as

   http://mhutter.org/papers/Wenger2011HardwareProcessorSupporting.pdf

consistently praise the Montgomery ladder---using compressed inputs and
outputs---for its simplicity, speed, and small resource consumption in
hardware. Of course, compressed points also reduce network traffic.

Why would anyone talk about small-subgroup attacks as being stopped by a
"check" that might be "forgotten", the same way that a curve-equation
check can stop invalid-curve attacks but might be forgotten? Answer:
What I've described so far is

   * a computational (robust) defense against small-subgroup attacks,
   * a verifying (not robust) defense against invalid-curve attacks, and
   * a computational (robust) defense against invalid-curve attacks,

but there's also

   * a verifying (not robust) defense against small-subgroup attacks.

Specifically, instead of multiplying the incoming point Q by h, one can
check whether hQ = 0. This check runs a serious risk of being omitted,
the same way that a curve-equation check runs a serious risk of being
omitted, although the resulting damage is much less severe.

Note that Certicom's dwindling patent portfolio has a not-quite-dead-yet
patent 6563928 on this inferior method ("determining whether said public
information ... lies within a subgroup ... having less than a
predetermined number of elements and rejecting messages utilizing said
public information if said public information lies within such a
subgroup"), which makes it particularly strange that anyone would talk
about this as the normal thing to do. Does Oberthur have a license for
this patent?

Anyway, if there really are reasons that CFRG should seriously consider
curve proposals with cofactor 1 then I think it's important for those
reasons to be made clear.

---Dan


From nobody Fri Nov 21 16:57:14 2014
Return-Path: <mike@shiftleft.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 470491A9128 for <cfrg@ietfa.amsl.com>; Fri, 21 Nov 2014 16:57:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.255
X-Spam-Level: ****
X-Spam-Status: No, score=4.255 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
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 1Fq2ptQWbPc5 for <cfrg@ietfa.amsl.com>; Fri, 21 Nov 2014 16:57:10 -0800 (PST)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B7EBC1A9127 for <cfrg@irtf.org>; Fri, 21 Nov 2014 16:57:08 -0800 (PST)
Received: from [10.184.148.249] (unknown [209.36.6.242]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 8C3AC3ABAF; Fri, 21 Nov 2014 16:55:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1416617747; bh=Xws8UIS9YxoTyo/CSViePbgDCMEVLVXEPWq4WhEbW7I=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=acPvhjy3qjO5ci/xDnFbWEnGKPs4+FbG6TPH2Iomesaldoed7VW8wwEAcvryCD22g AdVfl4QFM4neYvA41xonnC7w5AnammQOj927Y2dvtvisAnAKof+es5mp7MXOLeRNfd vG7oifHf9doxR0PBFFC5DTh0QEuEhHhwmotDKuFs=
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <20141121231233.18473.qmail@cr.yp.to>
Date: Fri, 21 Nov 2014 16:57:02 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <5C83990C-D144-44AC-A5F9-944E499A6F2E@shiftleft.org>
References: <20141121231233.18473.qmail@cr.yp.to>
To: "D. J. Bernstein" <djb@cr.yp.to>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/2qmD1CAkqhLk0IhiO3IIIDOVfGs
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Handling invalid points
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Nov 2014 00:57:13 -0000

Hi DJB,

To play devil=E2=80=99s advocate here, there are other sorts of =
=E2=80=9Cattacks" against
curves with cofactors.  They=E2=80=99re fairly narrow, but they should =
be noted.

In general, these attacks do not exist against properly defined =
protocols,
but the protocol may have suboptimal properties when used with a
cofactor, or it may require checks that are tempting to skip, or it may
require jumping through some hoops.  Three issues come to mind.

1)

With a prime-order short Weierstrass curve, (x,y) points transmitted on
the wire (compressed or otherwise) cannot be the identity, nor can they
have small order.  As a result, if the secret key is valid (and nonzero, =
and
not equal to the group order), then the output of ECDH cannot be the
identity.  Furthermore, the output is a 1:1 function of the input, at =
least if
the input is checked for reduction.

But with an Edwards curve, (x,y) points transmitted on the wire can be =
the
identity, and can have small order.  Likewise, if a curve with a =
cofactor
is used in short Weierstrass form, (x,y) cannot be the identity, but can
have small order.  Therefore, ECDH can output the identity, and a =
malicious
actor can cause ECDH to output the identity with non-negligible =
probability
(if your ECDH protocol clears the cofactor, then with probability 1.)  =
This
could cause an exception or error, or it might cause the system to =
output
a predictable value.

You documented this family of attacks on Curve25519 at =
cr.yp.to/ecdh.html:

=E2=80=9C=E2=80=9D=E2=80=9D
There are some unusual non-Diffie-Hellman elliptic-curve protocols that =
need
to ensure ``contributory'' behavior. In those protocols, you should =
reject the
32-byte strings that, in little-endian form, represent 0, 1, [several =
large
numbers].
=E2=80=9C=E2=80=9D=E2=80=9D

As this quote says, most protocols don=E2=80=99t need to worry about =
this because
they do not need to ensure =E2=80=9Ccontributory=E2=80=9D behavior.

The Goldilocks encoding reduces the complexity of dealing with this sort =
of
attack: the identity is encoded as 0, and no other low-order points can =
be
encoded.



2)

For curves with a cofactor, ECDH is not 1:1.  This affects Trevor =
Perrin=E2=80=99s
TripleDH protocol, which attempts to work around concerns about patents =
on
session-hashing (don=E2=80=99t ask me what those are, I haven=E2=80=99t =
studied them).  As
a result, TripleDH implementations are forbidden to clear the cofactor, =
and
secret keys must be invertible mod the cofactor (i.e. odd).  If this =
requirement
were violated, it probably wouldn=E2=80=99t lead to an attack, but it =
wouldn=E2=80=99t guarantee
that the sessions seen by both sides were exactly the same.



3)

Another form of =E2=80=9Cattack=E2=80=9D would be to cause two =
implementations to produce
different results for a supposedly deterministic computation, eg a =
signature
check.  For example, in the Ed25519 paper, you specify:
""
The verifier is /permitted/ to check this stronger equation and to =
reject signatures
where the stronger equation does not hold.  However, this is not =
/required/;
checking that 8SB =3D 8R + 8H(_R_, _A_, M)A is enough for security.
=E2=80=9C=E2=80=9D=E2=80=9D

A similar warning is given in goldilocks.h for goldilocks_verify:
=E2=80=9C=E2=80=9D=E2=80=9D
/**
 * @brief Verify a signature.
 *...
 * Currently this function does not detect when the public key is weird,
 * eg 0, has cofactor, etc.  As a result, a party with a bogus public
 * key could create signatures that succeed on some systems and fail on
 * others.
 * ...
 */
=E2=80=9C=E2=80=9D=E2=80=9D
The implemented behavior will accept public keys with 2-torsion =
components or
which are the identity, but not ones which are incorrectly encoded or =
are on the
twist. It does not permit any laxity in the signature itself.  But there =
would be some
incentive to be lax about cofactor in the signature during a batch =
verify.

In both these systems, implementations are allowed to differ when given =
inputs
that are wrong by a small-order amount.  There are more ways to specify =
this
sort of laxness with cofactored curves, though behavior should be =
testable by
vectors if the specification goes one way or the other.

Again, it=E2=80=99s not clear that this constitutes an attack, but it is =
something to
consider when deploying such a system.

Cheers,
=E2=80=94 Mike

> On Nov 21, 2014, at 3:12 PM, D. J. Bernstein <djb@cr.yp.to> wrote:
>=20
> My goal for curve selection, as I explained in Toronto, is to minimize
> tensions between speed, simplicity, and security. My impression is =
that
> there's consensus on at least one part of this: choosing a curve that
> can be expressed in Edwards form, i.e., a curve that has a point of
> order 4.
>=20
> Microsoft has made a broader spectrum of proposals, apparently to be
> prepared in case CFRG instead wants a curve of cofactor 1, but hasn't
> actually been arguing that cofactor 1 is preferable. Nigel Smart =
claimed
> at one point that cofactor 1 is "vital to avoid mistakes" but has =
never
> given details. Meanwhile many people have pointed to the undisputed
> benefits of Edwards curves, such as a very fast complete addition law.
> I think CFRG could reasonably declare that a point of order 4 is a
> requirement, simplifying subsequent discussion.
>=20
> However, http://eprint.iacr.org/2014/832.pdf claims that cofactor 1 is
> desirable because cofactors larger than 1 create "an additional
> overhead" and "a source for implementation weaknesses" if a certain
> "check is omitted or just forgotten". Similarly, a recent Oberthur
> message claims that cofactor 1 should be "mandatory" to avoid "small
> subgroup attacks" in careless implementations.
>=20
> I find these claims quite puzzling, for several reasons:
>=20
>   * Cofactors are already allowed by all of the usual ECC standards
>     from IEEE, ANSI, and NIST. FIPS 186-4 sets the cofactor limit at
>     2^14 for 255-bit primes. Certicom's pet SEC 1 standard has always
>     allowed cofactor 4, and in 2009 started allowing even more.
>=20
>   * Small-subgroup attacks were a big issue for pre-ECC discrete-log
>     systems because those systems typically have huge cofactors---but
>     for ECC everybody uses curves with vastly smaller cofactors, so =
the
>     small-subgroup attacks learn almost nothing, even if nobody =
bothers
>     defending against them. Invalid-curve attacks are a different
>     story, but they have nothing to do with the minor difference
>     between, e.g., cofactor 1 and cofactor 8 for the original curve.
>=20
>   * The major ECC standards already eliminate _all_ of the information
>     leakage from small-subgroup attacks. For example, ECDH in ANSI
>     X9.63 computes a shared secret as "P=3DhdQ", where h is the =
cofactor
>     and d is the secret key.
>=20
> Notice that the cofactor multiplication in ANSI X9.63 etc. isn't a
> "check" that can be "forgotten" by a careless implementation: such an
> implementation would flunk every normal test vector for shared-secret
> generation.
>=20
> For comparison, a static-ECDH (or reused-ephemeral-ECDH) =
implementation
> that doesn't check an incoming (x,y) against the curve equation will
> leak its _entire_ secret key to a very fast attack. This huge security
> problem _won't_ be caught by typical test vectors. This is vastly more
> important than small-subgroup attacks.
>=20
> Oberthur claims that checking the curve equation to stop these attacks
> is "insignificant" compared to cofactor multiplication, but this is
> exaggerating a tiny performance issue while ignoring the likelihood of
> an omitted test and the security damage caused by the omission. We =
have
> enough trouble getting crypto right without adding unnecessary traps!
>=20
> The right way to eliminate the invalid-curve problem has two steps:
>=20
>   (1) Require compressed points in protocols. This syntactically =
limits
>       the input point to two curves: the original curve and its twist.
>=20
>   (2) Choose twist-secure curves.
>=20
> This also has many further benefits. Compressed points on curves with
> points of order 4 also allow unmatched ECDH simplicity, at an =
excellent
> performance level, via the Montgomery ladder. Serious hardware =
analyses
> such as
>=20
>   http://mhutter.org/papers/Wenger2011HardwareProcessorSupporting.pdf
>=20
> consistently praise the Montgomery ladder---using compressed inputs =
and
> outputs---for its simplicity, speed, and small resource consumption in
> hardware. Of course, compressed points also reduce network traffic.
>=20
> Why would anyone talk about small-subgroup attacks as being stopped by =
a
> "check" that might be "forgotten", the same way that a curve-equation
> check can stop invalid-curve attacks but might be forgotten? Answer:
> What I've described so far is
>=20
>   * a computational (robust) defense against small-subgroup attacks,
>   * a verifying (not robust) defense against invalid-curve attacks, =
and
>   * a computational (robust) defense against invalid-curve attacks,
>=20
> but there's also
>=20
>   * a verifying (not robust) defense against small-subgroup attacks.
>=20
> Specifically, instead of multiplying the incoming point Q by h, one =
can
> check whether hQ =3D 0. This check runs a serious risk of being =
omitted,
> the same way that a curve-equation check runs a serious risk of being
> omitted, although the resulting damage is much less severe.
>=20
> Note that Certicom's dwindling patent portfolio has a =
not-quite-dead-yet
> patent 6563928 on this inferior method ("determining whether said =
public
> information ... lies within a subgroup ... having less than a
> predetermined number of elements and rejecting messages utilizing said
> public information if said public information lies within such a
> subgroup"), which makes it particularly strange that anyone would talk
> about this as the normal thing to do. Does Oberthur have a license for
> this patent?
>=20
> Anyway, if there really are reasons that CFRG should seriously =
consider
> curve proposals with cofactor 1 then I think it's important for those
> reasons to be made clear.
>=20
> ---Dan
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Fri Nov 21 18:35:01 2014
Return-Path: <mike@shiftleft.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A9E971AC3A5 for <cfrg@ietfa.amsl.com>; Fri, 21 Nov 2014 18:34:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.955
X-Spam-Level: **
X-Spam-Status: No, score=2.955 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
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 VMSPsw8hVdAv for <cfrg@ietfa.amsl.com>; Fri, 21 Nov 2014 18:34:57 -0800 (PST)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6BA5F1AC3A1 for <cfrg@irtf.org>; Fri, 21 Nov 2014 18:34:57 -0800 (PST)
Received: from [10.184.148.249] (unknown [209.36.6.242]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 0D4163ABAF; Fri, 21 Nov 2014 18:33:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1416623615; bh=iP/5yq0dqS+GY/sgh7ykl+FKe99tPmAK1p5RQL/aR8Q=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=brnOCswy349oz8Yq7X3AgFrWBHLjS9ESAbdVLiC73Ny3JkXxJu/kNs2WrjIYFmz8+ lU/oX+qcbydD/DGUXlTidpAoRIjRgoCKcHfm1m0fDy0+Pbijx9DQT+7pTpd5KERMfs EnjTc2ppGOY4qoAgauw+Vd7L4g1W9UXCgJk90xHU=
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <5C83990C-D144-44AC-A5F9-944E499A6F2E@shiftleft.org>
Date: Fri, 21 Nov 2014 18:34:54 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <A2BB5C20-A638-4DC2-A091-998F146BA3E8@shiftleft.org>
References: <20141121231233.18473.qmail@cr.yp.to> <5C83990C-D144-44AC-A5F9-944E499A6F2E@shiftleft.org>
To: "D. J. Bernstein" <djb@cr.yp.to>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/nSTsgVm_B09Cx7kj_EKNgzqCkis
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Handling invalid points
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Nov 2014 02:34:58 -0000

> On Nov 21, 2014, at 4:57 PM, Michael Hamburg <mike@shiftleft.org> =
wrote:
>=20
> 2)
>=20
> For curves with a cofactor, ECDH is not 1:1.  This affects Trevor =
Perrin=E2=80=99s
> TripleDH protocol, which attempts to work around concerns about =
patents on
> session-hashing (don=E2=80=99t ask me what those are, I haven=E2=80=99t =
studied them).  As
> a result, TripleDH implementations are forbidden to clear the =
cofactor, and
> secret keys must be invertible mod the cofactor (i.e. odd).  If this =
requirement
> were violated, it probably wouldn=E2=80=99t lead to an attack, but it =
wouldn=E2=80=99t guarantee
> that the sessions seen by both sides were exactly the same.

Trevor has corrected me: TripleDH no longer forbids clearing the =
cofactor, because
that=E2=80=99s weird.  Instead it deals with this issue in a different =
way.

=E2=80=94 Mike


From nobody Fri Nov 21 22:00:26 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 89CAF1A004D for <cfrg@ietfa.amsl.com>; Fri, 21 Nov 2014 22:00:25 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 JYc4pTFn0rCl for <cfrg@ietfa.amsl.com>; Fri, 21 Nov 2014 22:00:23 -0800 (PST)
Received: from mail-yh0-x22d.google.com (mail-yh0-x22d.google.com [IPv6:2607:f8b0:4002:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1375C1A004B for <cfrg@irtf.org>; Fri, 21 Nov 2014 22:00:23 -0800 (PST)
Received: by mail-yh0-f45.google.com with SMTP id f10so2998699yha.18 for <cfrg@irtf.org>; Fri, 21 Nov 2014 22:00:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=LUKcVwjzsLscgIErf/Ft5KC4otZUlL3OzYHfFVAOx9Q=; b=KS3C4CFajKF9R816diwXTf9/yyVgI/fAtSgWDGlAN6PzWw6kVWlT3M6J1/orFVl44N bko90WCMcqOPisHrKSpgUDWkx+r75PswXlRrnapW6jB9QaMWDe/GQJoH+gtnvaObyYU3 pc/O9c9SyW/3OFX/PeUUkwpMFdAZV2uVhLOYDbTOG+QLb81tPH8TbAmHBIx0SP2M8s27 0GxFJcQmvjoKHXEMe8u/RXubczUqx1FAuyJ8xxkyCbBxPQEKrMePxOjBWWmz7pPysfW2 9ccphEcgCjIIyAaqQvOPbO5FqzJ1eLshZwjyoxOKhgmthG2jm0it8yx6WXCHRXQSe+os gkSA==
MIME-Version: 1.0
X-Received: by 10.236.7.52 with SMTP id 40mr5995705yho.172.1416636022341; Fri, 21 Nov 2014 22:00:22 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Fri, 21 Nov 2014 22:00:22 -0800 (PST)
In-Reply-To: <CALCETrWMd53RyX=2aVRxzX-4x9oe=WmiCv91beK7KCXiXMOhkA@mail.gmail.com>
References: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com> <201411200901.53517.manfred.lochter@bsi.bund.de> <CACsn0cmV6aOMx+eiLa0iP7rYiU4ZVmeDbNPhTSz_a6oU1=kWjA@mail.gmail.com> <201411211351.04473.manfred.lochter@bsi.bund.de> <CACsn0ckUoijv-uD3yksOQpRW9E-smF1wg9=+L2BVrN1+wRv0tw@mail.gmail.com> <CALCETrWMd53RyX=2aVRxzX-4x9oe=WmiCv91beK7KCXiXMOhkA@mail.gmail.com>
Date: Fri, 21 Nov 2014 22:00:22 -0800
Message-ID: <CACsn0ckBXG+pXiQm_r1DyDUd1DxnNpR124h5Yz1X7LDskmJD+g@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Andy Lutomirski <luto@amacapital.net>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Yf488SIst1JmmotaFNN1BzT6JPM
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Requirements for elliptic curves with a view towards constrained devices
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Nov 2014 06:00:25 -0000

On Fri, Nov 21, 2014 at 9:26 AM, Andy Lutomirski <luto@amacapital.net> wrot=
e:
> On Fri, Nov 21, 2014 at 8:58 AM, Watson Ladd <watsonbladd@gmail.com> wrot=
e:
>> On Fri, Nov 21, 2014 at 4:51 AM, Lochter, Manfred
>> <manfred.lochter@bsi.bund.de> wrote:
>>>
>>>
>>>
>>>
>>>
>>> __________ urspr=C3=BCngliche Nachricht __________
>>>
>>> Von:            Watson Ladd <watsonbladd@gmail.com>
>>> Datum:  Donnerstag, 20. November 2014, 16:21:50
>>> An:             "Lochter, Manfred" <manfred.lochter@bsi.bund.de>
>>> Kopie:  "cfrg@irtf.org" <cfrg@irtf.org>
>>> Betr.:  Re: [Cfrg] Requirements for elliptic curves with a view towards
>>> constrained devices
>>>
>>>> On Thu, Nov 20, 2014 at 12:01 AM, Lochter, Manfred
>>>>
>>>> <manfred.lochter@bsi.bund.de> wrote:
>>>> >> Of course, you don't need to take my word for it: Cloudflare was ve=
ry
>>>> >> clear that widespread ECDSA support was essential to making TLS fre=
e.
>>>> >> Mobile devices are having issues with verification times for NIST
>>>> >> P384. V2V proposals involves a staggering number of verifications a
>>>> >> second, but oddly enough don't use batching or efficient signatures=
,
>>>> >> thus forcing larger, more expensive hardware.
>>>> >
>>>> > Is there really a requirement for mobile devices to use a 384 bit cu=
rve?
>>>> > Why is 256 not sufficient? In which scenarios do you see the neccess=
ity
>>>> > to use P-384? Which specific mobile devices are having issues with
>>>> > verification times? Are they having these problems only in connectio=
n
>>>> > with the proposed protocols you mention?
>>>>
>>>> When my mobile phone's browser connects to a website whose certificate
>>>> is signed by P384, a P384 verification better take place. Not
>>>> supporting P384 introduces an interoperability problem.
>>>
>>> I'm glad that you agree with my previously stated position that 384-bit=
 curves
>>> are needed. Following your reasoning 256/384/512(521) bit curves have t=
o be
>>> supported. In this case I would rather see performance problems on the
>>> 512/521 end.
>>> I would very much appreciate if you could also answer my other question=
s
>>> above.
>>> You seem to say that car-to-car communication will use the curves propo=
sed by
>>> the cfrg. This supports the inital position we took in the Brainpool po=
sition
>>> paper (eprint 832/2014). I'm glad that we seem to agree on that.
>>
>> The V2V projects aren't. Despite high performance constraints they are
>> not making optimal choices. Batch signatures would seem a natural fit,
>> and yet ECDSA is still being used. P256 seems to be selected, despite
>> Koblitz curves existing. But blinding won't be used: the performance
>> hit is too much, and the security model doesn't require it. It doesn't
>> seem like they will switch to Curve25519 if the CFRG recommends it.
>
> Don't the V2V things need high *real-time* performance contraints?  To
> me, that would seem to rule out batch signatures entirely, unless
> there's a magic verifier that can retain good performance even in the
> presence of an invalid signature.

Most signatures are valid: while its true that a significant number of
bad signatures will slow batch verification, that number can be quite
large. For example, http://cr.yp.to/badbatch/badbatch-20120919.pdf
claims that 10 bad signatures out of 64 can be identified faster then
separate verification for each signature. It's clear that no matter if
verification or bandwidth is the limiting factor, malicious attackers
can carry out a denial of service.

Of course, there are several more predictable and simpler
optimizations that can be done, even if one has to stick with
NIST-approved curves. Amusingly, while Bitcoin uses a Koblitz curve,
it is only recently that bitcoin-core has been modified to take
advantage of this, due to verification becoming quite time consuming.

The gold standard for verification speed is e=3D3 RSA. But signing is
very, very slow.

Sincerely,
Watson Ladd
>
> --Andy



--=20
"Those who would give up Essential Liberty to purchase a little
Temporary Safety deserve neither  Liberty nor Safety."
-- Benjamin Franklin


From nobody Sat Nov 22 00:01:02 2014
Return-Path: <natanael.l@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 890F31A00B6 for <cfrg@ietfa.amsl.com>; Sat, 22 Nov 2014 00:00:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.1
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
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 kleTa9QXOTrk for <cfrg@ietfa.amsl.com>; Sat, 22 Nov 2014 00:00:57 -0800 (PST)
Received: from mail-wg0-x232.google.com (mail-wg0-x232.google.com [IPv6:2a00:1450:400c:c00::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 06CBA1A00B1 for <cfrg@irtf.org>; Sat, 22 Nov 2014 00:00:57 -0800 (PST)
Received: by mail-wg0-f50.google.com with SMTP id k14so8239982wgh.23 for <cfrg@irtf.org>; Sat, 22 Nov 2014 00:00:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PcYVaYm344xhnUzNDIY1ATUnxl7jHV7oQuQKFi6F6BY=; b=Guxeuk7gUrJxIvZmbW/YwCogBkpAT3QYaXqrxP6tPUQH/nHtopSATci6t7loL9ptq5 U9FFclZUKThygMd2O3RyU6vv5bmRL4t58duPseU7hPdYQM/fXYAZTxp5jD87nopdhx5B f1/93YDA8Y92beWI2UeBAqyfpjOhb4/Xx3xvZWC1QIPeyc0XQnDly5ARDY8wnl9bVxK3 ZHvnDs9bDhnGnISSIkVfpgT8jHnWs3PtJDYrw796kW3Fldo15Rrd2hYMKX3tk4PcF535 qda31leW8l7VfMjXYjN4YkijhsB+kwdiSAfnbJpuiXpZcaEEIzb047okOePv6UnLF7cH XRqg==
MIME-Version: 1.0
X-Received: by 10.180.187.67 with SMTP id fq3mr3704133wic.37.1416643255541; Sat, 22 Nov 2014 00:00:55 -0800 (PST)
Received: by 10.194.92.176 with HTTP; Sat, 22 Nov 2014 00:00:55 -0800 (PST)
Received: by 10.194.92.176 with HTTP; Sat, 22 Nov 2014 00:00:55 -0800 (PST)
In-Reply-To: <5C83990C-D144-44AC-A5F9-944E499A6F2E@shiftleft.org>
References: <20141121231233.18473.qmail@cr.yp.to> <5C83990C-D144-44AC-A5F9-944E499A6F2E@shiftleft.org>
Date: Sat, 22 Nov 2014 09:00:55 +0100
Message-ID: <CAAt2M1_J3mVxFCd44kg4dcprb3NANdE6W+mg6AycZHd0HicAgQ@mail.gmail.com>
From: Natanael <natanael.l@gmail.com>
To: Michael Hamburg <mike@shiftleft.org>
Content-Type: multipart/alternative; boundary=001a11c38070052b4605086df612
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/1T4o4_UEKxUdG-PL3v1ale76IJA
Cc: cfrg@irtf.org, "D. J. Bernstein" <djb@cr.yp.to>
Subject: Re: [Cfrg] Handling invalid points
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Nov 2014 08:00:59 -0000

--001a11c38070052b4605086df612
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Den 22 nov 2014 01:57 skrev "Michael Hamburg" <mike@shiftleft.org>:

> 3)
>
> Another form of =E2=80=9Cattack=E2=80=9D would be to cause two implementa=
tions to produce
> different results for a supposedly deterministic computation, eg a
signature
> check.  For example, in the Ed25519 paper, you specify:

[...]

> In both these systems, implementations are allowed to differ when given
inputs
> that are wrong by a small-order amount.  There are more ways to specify
this
> sort of laxness with cofactored curves, though behavior should be
testable by
> vectors if the specification goes one way or the other.
>
> Again, it=E2=80=99s not clear that this constitutes an attack, but it is
something to
> consider when deploying such a system.

The type of attacks that come to mind are consensus breaking attacks,
rather than pure cryptographic attacks.

Making some people believe everybody had received a valid order while some
will believe they were sent a bogus one which they reject (insider
sabotage?) over some broadcast medium. Would be detectable after the fact,
but could cause enough damage to be worth it for the attacker before then.

In the worst case scenario you could frame somebody this way if you know
the implementation they use right now will respond in one way but will soon
be updated/replaced to behave in the other way, and in which his superiors
already use the latter method. This provides for a very slim attack window,
but the risk is real.
You can make the verification fail, which he later would be unable to prove
after the change when he is asked why he didn't follow orders.
Or vice versa, make him follow an order that the software used by the
superiors will reject the signature on. Again, a claim he can't prove after
the change.

Also, for cryptocurrencies you could cause a fork between clients using
different signature verification implementations, making one side believe
the blockchain with a certain transaction to be invalid while the other
side doesn't.

--001a11c38070052b4605086df612
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Den 22 nov 2014 01:57 skrev &quot;Michael Hamburg&quot; &lt;=
<a href=3D"mailto:mike@shiftleft.org">mike@shiftleft.org</a>&gt;:</p>
<p dir=3D"ltr">&gt; 3)<br>
&gt;<br>
&gt; Another form of =E2=80=9Cattack=E2=80=9D would be to cause two impleme=
ntations to produce<br>
&gt; different results for a supposedly deterministic computation, eg a sig=
nature<br>
&gt; check.=C2=A0 For example, in the Ed25519 paper, you specify:</p>
<p dir=3D"ltr">[...] </p>
<p dir=3D"ltr">&gt; In both these systems, implementations are allowed to d=
iffer when given inputs<br>
&gt; that are wrong by a small-order amount.=C2=A0 There are more ways to s=
pecify this<br>
&gt; sort of laxness with cofactored curves, though behavior should be test=
able by<br>
&gt; vectors if the specification goes one way or the other.<br>
&gt;<br>
&gt; Again, it=E2=80=99s not clear that this constitutes an attack, but it =
is something to<br>
&gt; consider when deploying such a system.</p>
<p dir=3D"ltr">The type of attacks that come to mind are consensus breaking=
 attacks, rather than pure cryptographic attacks. </p>
<p dir=3D"ltr">Making some people believe everybody had received a valid or=
der while some will believe they were sent a bogus one which they reject (i=
nsider sabotage?) over some broadcast medium. Would be detectable after the=
 fact, but could cause enough damage to be worth it for the attacker before=
 then. </p>
<p dir=3D"ltr">In the worst case scenario you could frame somebody this way=
 if you know the implementation they use right now will respond in one way =
but will soon be updated/replaced to behave in the other way, and in which =
his superiors already use the latter method. This provides for a very slim =
attack window, but the risk is real. <br>
You can make the verification fail, which he later would be unable to prove=
 after the change when he is asked why he didn&#39;t follow orders.<br>
Or vice versa, make him follow an order that the software used by the super=
iors will reject the signature on. Again, a claim he can&#39;t prove after =
the change. </p>
<p dir=3D"ltr">Also, for cryptocurrencies you could cause a fork between cl=
ients using different signature verification implementations, making one si=
de believe the blockchain with a certain transaction to be invalid while th=
e other side doesn&#39;t. </p>

--001a11c38070052b4605086df612--


From nobody Sat Nov 22 04:13:20 2014
Return-Path: <wwhyte@securityinnovation.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 62DCB1A1B0F for <cfrg@ietfa.amsl.com>; Sat, 22 Nov 2014 04:13:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Level: 
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
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 OzM_CKA_Y3jW for <cfrg@ietfa.amsl.com>; Sat, 22 Nov 2014 04:13:15 -0800 (PST)
Received: from mail-qa0-x22a.google.com (mail-qa0-x22a.google.com [IPv6:2607:f8b0:400d:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A1A681A1B07 for <cfrg@irtf.org>; Sat, 22 Nov 2014 04:13:15 -0800 (PST)
Received: by mail-qa0-f42.google.com with SMTP id j7so4626374qaq.1 for <cfrg@irtf.org>; Sat, 22 Nov 2014 04:13:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=securityinnovation.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0LnAE6a8us++J59641tF5aoIvMK6OrrMCgLYBJHklT8=; b=Qlv87bQcgvN9SQ3erpiXLdvQ1wg1fei0VJvkmZst9L1zRP4MoOAZZhDANhE4hq3Ns4 aP0s4NIC/wCvV5FBNMaWAEUSuC3oOjSbZ+YqTNPI3+BzsGg+DXIWdteSXKiSaMnIk5iG TCCpJk9kLWLti4LY2s8XoDsmd17am5aTKvTHE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=0LnAE6a8us++J59641tF5aoIvMK6OrrMCgLYBJHklT8=; b=fBD5MDZ+TF1hvUfHPDsaLYf5tAdxWLivEUVxCf8wMxt3Issyn4bfzMqJSnSQrFp9yK OUo95aSW4LZ22cG4yaMER9LDfQbsQjn+zNo+r2RWKpHj9VC8IKmsKNUrc2RO2Qx0TQzk jaGFrs+p+PNm+i14LTw6f9wMyQ0t0x/ImtJ2k1dUvL8wVaH9qmF7ip/3F7k1BpXliGUf ND2RsbsPEszQnoahraxxrdiDzudfN9j5DCSIOE2fpi9efXyESW13s+O2Cpdpvds3QjFN W/RyCMIwILnmVCWpuO5H8UGt38dNqlAjeSbaEXZnPh8D/78G9aq4sKSVmrEJNeGHGWPL zYyA==
X-Gm-Message-State: ALoCoQliY30AmI2zDhWYZ3MX3BSmrhd80h564IYl724RW97gYITo6ItnwJKtqoPF19Bf+VDdJNwE
MIME-Version: 1.0
X-Received: by 10.224.148.18 with SMTP id n18mr14055310qav.100.1416658394340;  Sat, 22 Nov 2014 04:13:14 -0800 (PST)
Received: by 10.96.104.202 with HTTP; Sat, 22 Nov 2014 04:13:14 -0800 (PST)
In-Reply-To: <CACsn0ckUoijv-uD3yksOQpRW9E-smF1wg9=+L2BVrN1+wRv0tw@mail.gmail.com>
References: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com> <201411200901.53517.manfred.lochter@bsi.bund.de> <CACsn0cmV6aOMx+eiLa0iP7rYiU4ZVmeDbNPhTSz_a6oU1=kWjA@mail.gmail.com> <201411211351.04473.manfred.lochter@bsi.bund.de> <CACsn0ckUoijv-uD3yksOQpRW9E-smF1wg9=+L2BVrN1+wRv0tw@mail.gmail.com>
Date: Sat, 22 Nov 2014 07:13:14 -0500
Message-ID: <CACz1E9oS-CRsFAe2Yj82emoO7jic=59NtBDFq72M-8Msi7UOPw@mail.gmail.com>
From: William Whyte <wwhyte@securityinnovation.com>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: multipart/alternative; boundary=089e0153838e5cf9800508717c66
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/1QmSv_o3gkLtUU0XvzXdLefK2_0
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Requirements for elliptic curves with a view towards constrained devices
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Nov 2014 12:13:18 -0000

--089e0153838e5cf9800508717c66
Content-Type: text/plain; charset=UTF-8

On Fri, Nov 21, 2014 at 11:58 AM, Watson Ladd <watsonbladd@gmail.com> wrote:

> The V2V projects aren't. Despite high performance constraints they are
> not making optimal choices. Batch signatures would seem a natural fit,
> and yet ECDSA is still being used. P256 seems to be selected, despite
> Koblitz curves existing. But blinding won't be used: the performance
> hit is too much, and the security model doesn't require it. It doesn't
> seem like they will switch to Curve25519 if the CFRG recommends it.
>


Given the scale of the V2V projects and the difficulty of upgrading devices
in the field, there's a strong argument that the risk-minimizing approach
in V2V is to use the flavor of ECC that's had widespread deployment for the
longest and which has best availability in hardware. Performance isn't the
only consideration. The auto industry isn't particularly interested in
being the first mover in adoption of a newer curve, and there's already
been significant product development work focused on the NIST curves.

There are also regulatory concerns. In the US, it's not clear that devices
that implement a curve other than the NIST curves would be
FIPS-certifiable, should this turn out to be a requirement (which also
isn't clear). In Europe, BSI are strongly lobbying for the use of random
curves. In an industry that's more heavily regulated than the internet, it
makes sense to be biased towards solutions we already know the regulators
will accept.

I agree that ed25519 has very nice properties and all other things being
equal it would be good to see it used in V2V. (I also feel that until we're
told where the seeds came from, any continued use of the NIST curves is
rewarding bad practice). The batching in particular seems like it could
result in actual reductions in hardware cost for the verify-everything
approach. (Not all incoming signatures need to be verified, though
obviously if you do verify everything it gives you more flexibility in
processing after reception). I will say though that I haven't heard crypto
hardware suppliers in the V2V space making the argument that they could
reduce costs and prices by moving to ed25519 and batching, and unless we do
hear that it'll be very hard to make a change.

Cheers,

William

--089e0153838e5cf9800508717c66
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Fri, Nov 21, 2014 at 11:58 AM, Watson Ladd <span dir=3D"ltr">&lt;<a href=
=3D"mailto:watsonbladd@gmail.com" target=3D"_blank">watsonbladd@gmail.com</=
a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=3D":1wc" cla=
ss=3D"a3s" style=3D"overflow:hidden">The V2V projects aren&#39;t. Despite h=
igh performance constraints they are<br>
not making optimal choices. Batch signatures would seem a natural fit,<br>
and yet ECDSA is still being used. P256 seems to be selected, despite<br>
Koblitz curves existing. But blinding won&#39;t be used: the performance<br=
>
hit is too much, and the security model doesn&#39;t require it. It doesn&#3=
9;t<br>
seem like they will switch to Curve25519 if the CFRG recommends it.</div></=
blockquote></div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_e=
xtra"><br></div>Given the scale of the V2V projects and the difficulty of u=
pgrading devices in the field, there&#39;s a strong argument that the risk-=
minimizing approach in V2V is to use the flavor of ECC that&#39;s had wides=
pread deployment for the longest and which has best availability in hardwar=
e. Performance isn&#39;t the only consideration. The auto industry isn&#39;=
t particularly interested in being the first mover in adoption of a newer c=
urve, and there&#39;s already been significant product development work foc=
used on the NIST curves.</div><div class=3D"gmail_extra"><br></div><div cla=
ss=3D"gmail_extra">There are also regulatory concerns. In the US, it&#39;s =
not clear that devices that implement a curve other than the NIST curves wo=
uld be FIPS-certifiable, should this turn out to be a requirement (which al=
so isn&#39;t clear). In Europe, BSI are strongly lobbying for the use of ra=
ndom curves. In an industry that&#39;s more heavily regulated than the inte=
rnet, it makes sense to be biased towards solutions we already know the reg=
ulators will accept.</div><div class=3D"gmail_extra"><br></div><div class=
=3D"gmail_extra">I agree that ed25519 has very nice properties and all othe=
r things being equal it would be good to see it used in V2V. (I also feel t=
hat until we&#39;re told where the seeds came from, any continued use of th=
e NIST curves is rewarding bad practice). The batching in particular seems =
like it could result in actual reductions in hardware cost for the verify-e=
verything approach. (Not all incoming signatures need to be verified, thoug=
h obviously if you do verify everything it gives you more flexibility in pr=
ocessing after reception). I will say though that I haven&#39;t heard crypt=
o hardware suppliers in the V2V space making the argument that they could r=
educe costs and prices by moving to ed25519 and batching, and unless we do =
hear that it&#39;ll be very hard to make a change.</div><div class=3D"gmail=
_extra"><br></div><div class=3D"gmail_extra">Cheers,</div><div class=3D"gma=
il_extra"><br></div><div class=3D"gmail_extra">William</div><div class=3D"g=
mail_extra"><br></div><div class=3D"gmail_extra"><br></div><div class=3D"gm=
ail_extra"><br></div><div class=3D"gmail_extra"><br></div><div class=3D"gma=
il_extra"><br></div><div class=3D"gmail_extra"><br><br></div></div>

--089e0153838e5cf9800508717c66--


From nobody Sat Nov 22 04:51:57 2014
Return-Path: <ilari.liusvaara@elisanet.fi>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DFA7C1A6EE4 for <cfrg@ietfa.amsl.com>; Sat, 22 Nov 2014 04:51:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham
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 F41YwQpsYMz7 for <cfrg@ietfa.amsl.com>; Sat, 22 Nov 2014 04:51:53 -0800 (PST)
Received: from emh01.mail.saunalahti.fi (emh01.mail.saunalahti.fi [62.142.5.107]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6E6591A0117 for <cfrg@irtf.org>; Sat, 22 Nov 2014 04:51:53 -0800 (PST)
Received: from LK-Perkele-VII (a88-112-44-140.elisa-laajakaista.fi [88.112.44.140]) by emh01.mail.saunalahti.fi (Postfix) with ESMTP id 1A3EF90071 for <cfrg@irtf.org>; Sat, 22 Nov 2014 14:51:50 +0200 (EET)
Date: Sat, 22 Nov 2014 14:51:50 +0200
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: cfrg@irtf.org
Message-ID: <20141122125150.GA16596@LK-Perkele-VII>
References: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com> <20141121231233.18473.qmail@cr.yp.to>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20141121231233.18473.qmail@cr.yp.to>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/KFklvfCkwy2K84nFbVPqmNxdpqk
Subject: Re: [Cfrg] Handling invalid points
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Nov 2014 12:51:56 -0000

On Fri, Nov 21, 2014 at 11:12:33PM -0000, D. J. Bernstein wrote:
> 
> Why would anyone talk about small-subgroup attacks as being stopped by a
> "check" that might be "forgotten", the same way that a curve-equation
> check can stop invalid-curve attacks but might be forgotten? Answer:
> What I've described so far is
> 
>    * a computational (robust) defense against small-subgroup attacks,
>    * a verifying (not robust) defense against invalid-curve attacks, and
>    * a computational (robust) defense against invalid-curve attacks,
> 
> but there's also
> 
>    * a verifying (not robust) defense against small-subgroup attacks.
> 
> Specifically, instead of multiplying the incoming point Q by h, one can
> check whether hQ = 0. This check runs a serious risk of being omitted,
> the same way that a curve-equation check runs a serious risk of being
> omitted, although the resulting damage is much less severe.

Also keep in mind for what CFRG is giving recommendations.

Small subgroup attacks: TLS can easily deal with small-subgroup attacks
without extra checks.

Invalid-curve attacks: The only realistic way of avoiding checks there
is to pick complete twist-secure Montgomery curve.

Implementation environment: Software-only uses of ECC in TLS utterly
dwarf any hardware implementations (embedded does not mean hardware).

And number of software implementations that need serious timing attack
protections dwards hardware implementations that need advanced side
channel protections (and those software protections are very nasty to
implement unless curve is complete).


-Ilari


From nobody Sat Nov 22 05:50:24 2014
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5688E1A908F for <cfrg@ietfa.amsl.com>; Sat, 22 Nov 2014 05:50:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.494
X-Spam-Level: 
X-Spam-Status: No, score=-2.494 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.594] autolearn=ham
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 VY9hflfqfA52 for <cfrg@ietfa.amsl.com>; Sat, 22 Nov 2014 05:50:21 -0800 (PST)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) by ietfa.amsl.com (Postfix) with ESMTP id 392AB1A912F for <cfrg@irtf.org>; Sat, 22 Nov 2014 05:50:21 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 0FDDFBE7C for <cfrg@irtf.org>; Sat, 22 Nov 2014 13:50:20 +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 qYMWbofs-LGf for <cfrg@irtf.org>; Sat, 22 Nov 2014 13:50:19 +0000 (GMT)
Received: from [10.87.48.12] (unknown [86.41.54.61]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id F19F8BE09 for <cfrg@irtf.org>; Sat, 22 Nov 2014 13:50:18 +0000 (GMT)
Message-ID: <5470949A.4040006@cs.tcd.ie>
Date: Sat, 22 Nov 2014 13:50:18 +0000
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: cfrg@irtf.org
References: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com> <20141121231233.18473.qmail@cr.yp.to> <20141122125150.GA16596@LK-Perkele-VII>
In-Reply-To: <20141122125150.GA16596@LK-Perkele-VII>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/LaNBj_LBssC3WinAMJd5_563g50
Subject: Re: [Cfrg] Handling invalid points
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Nov 2014 13:50:23 -0000

On 22/11/14 12:51, Ilari Liusvaara wrote:
> Also keep in mind for what CFRG is giving recommendations.

>From the point of view of someone (still!) waiting on CFRG to
pick some curves, this thread seems a bit odd.

I would hope CFRG would first pick something and then document
the inevitable corner cases, not argue in such detail about a set
of corner cases that don't really distinguish anything usefully
different about the different options.

So... please pick. If that doesn't happen soon, I am concerned
that implementers will just go ahead and use whatever they prefer
and the IETF will just have to deal with that.

I'm also not seeing really new arguments on the list recently,
and am seeing some repetition, so isn't it now time to just get
the selections done and move on to the next good bit of work (and
I also do see those starting to queue up.)

Thanks,
S.


From nobody Sat Nov 22 16:52:45 2014
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 259B71A1A06 for <cfrg@ietfa.amsl.com>; Sat, 22 Nov 2014 16:52:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.896
X-Spam-Level: **
X-Spam-Status: No, score=2.896 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, UNPARSEABLE_RELAY=0.001] autolearn=no
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 SClfIwFV81iN for <cfrg@ietfa.amsl.com>; Sat, 22 Nov 2014 16:52:40 -0800 (PST)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id 4E73F1A19F2 for <cfrg@irtf.org>; Sat, 22 Nov 2014 16:52:40 -0800 (PST)
Received: (qmail 27874 invoked by uid 1017); 23 Nov 2014 00:52:58 -0000
Received: from unknown (unknown) by unknown with QMTP; 23 Nov 2014 00:52:58 -0000
Received: (qmail 6122 invoked by uid 1001); 23 Nov 2014 00:52:33 -0000
Date: 23 Nov 2014 00:52:33 -0000
Message-ID: <20141123005233.6120.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
In-Reply-To: <8FBEB0194016E64D9DF7E7855CD88E0C073A6D@FRPASERV0088.emea.oberthurcs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/j-iTwwzdlcs4nZna2YHpJRhHnIY
Subject: Re: [Cfrg] Requirements for elliptic curves with a view towards constrained devices
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 23 Nov 2014 00:52:43 -0000

RONDEPIERRE Franck writes:
> It seems that the current CFRG discussion quickly swiped the
> "hardware" point of view, qualifying it as out of the topic.

Many people here consider hardware important. Fortunately, within the
scope that CFRG is considering (elliptic curves over big prime fields),
the best curves for software are also the best curves for hardware.

> For some devices, the code size is the main limitation and hence has
> to be taken into account prior to speed performances.

This isn't a software-vs.-hardware issue. Unnecessarily complex crypto
(the NIST P-256 prime, Weierstrass failure cases, ECDSA inversion, etc.;
see http://blog.cr.yp.to/20140323-ecdsa.html for many details) produces
crypto software that's hard to write, even harder to get right, a royal
pain to audit, and a huge source of security failures.

Fortunately, we know how to make ECC much simpler. This doesn't cause
trouble for the people who care about speed; it even improves speed.

I realize that IETF has historically done a very bad job of managing
migrations---people seem to think that the primary goal is to add new
options (e.g., TLS 1.3) rather than to eliminate the code for the bad
options (e.g., SSLv3); that "agility" means waving your arms rather than
getting your feet out of the tar pit. But some migrations do succeed.
There are many Internet protocols that haven't even started using ECC
yet, and it's easy to envision a path towards future implementations
that don't have to suffer through NIST's obsolete version of ECC.

> We analyze hereafter the impact of switching to Edwards curves while
> keeping Short-Weierstrass ones for backward compatibility.

Obviously, until a migration is complete, there's a certain minimum
level of code complexity required to handle the obsolete options. Adding
support for the new options costs very little code---even if new point
formats are used on the wire, as I recommend; the conversions are easy.

> The efficient implementations of Short-Weierstrass and Twisted Edwards (or
> Montgomery) formulae are quite different. Not only the group law operation is
> different but also the precomputations and the internal point representations
> are different. It thus doubles all the multiplication implementations:
> fixed-base case, variable-base case, double-scalar case.

No.

It's true that people _who want top speed_ will write separate code for
the fast new options (to the extent that it isn't written already), the
same way that they've already written separate code for, e.g., NIST
P-256 reduction.

It's obviously not true that people will write separate code if "the
code size is the main limitation". In that case they'll stick to a
merged code base using the obsolete Weierstrass approach to scalar
multiplication, because that's the only thing that the old curves
support. The new curves support this option too.

Obviously the reuse-old-code implementation option isn't the fast
implementation option---but if we stick to cofactor 1, as you recommend,
then we're _eliminating_ the fast option. What's the advantage supposed
to be? This is bad for all of the people who want more speed; it also
destroys the possibility of eventually migrating to a simpler code base
that throws away the obsolete Weierstrass approach.

> Furthermore, google.com, which is by far the most consulted website,
> currently processes around 10^5 requests per second

Searches are not connections; connections are not ECC operations; and,
most importantly, clients are not servers---often they're rather slow
smartphones. Google has already shown many times that it's willing to
sacrifice server performance for the sake of reduced client latency.

The bottom line, in any case, is that Google has already stated that it
cares about curve speed: "We're looking for a replacement [for P-256]
because we think that we can get something much faster and simpler."

> However when performances matters, why not taking Short Weierstrass
> curves with a=0?

That's an extremely special type of curve called a "GLV curve", adding
extra structure (an "endomorphism") for speed---but the main GLV speedup
is subject to Certicom patents 7100538 and 7995752. There are also nice
speeds from "GLV+GLS curves", including GLV+GLS Edwards curves, but all
of this is subject to the same patents. (Side question to Dan Brown:
Weren't you required to mention these patents when you suggested that
CFRG might be interested in these speeds?)

In the patent-free world, scalar multiplication for a=0 ends up being
slower than Montgomery and Edwards. The curve shape is also incompatible
with most primes (even if CFRG doesn't require twist-security), creating
larger gaps from powers of 2 and causing further slowdowns.

> Also for convenience, we think that the new curves should keep p=3 mod
> 4 as it is the case for most NIST and Brainpool curves: it allows
> simpler implementations and backward compatibility.

A moment ago you were insisting on measuring the code size for an
implementation that can handle the old options; now you're suddenly
advocating a requirement that eliminates, e.g., NIST P-224. This is a
strange notion of "backward compatibility".

Anyway, your underlying assessment of code size is incorrect. There's a
considerable cost in code size to handling NIST P-224 efficiently (see
http://cr.yp.to/papers/sqroot.pdf for the fastest options), but it's
very easy to handle primes that are 5 mod 8, such as Curve25519.

> This side-channel attack uses the fact that a zero value may appear in an
> intermediate result in the computation of the scalar multiplication, and that
> zero-value cannot be randomized with classical countermeasures.

False. For example, Coron's second countermeasure (more than 15 years
old now!) converts the input point into a random point, so the zero
disappears. There are many other important countermeasures against
side-channel attacks; would you rather have your resources devoted to
those countermeasures, or to unnecessarily slow curve computations?

---Dan


From nobody Sun Nov 23 05:54:22 2014
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 04E051A0278 for <cfrg@ietfa.amsl.com>; Sun, 23 Nov 2014 05:54:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.593
X-Spam-Level: 
X-Spam-Status: No, score=-2.593 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.594] autolearn=ham
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 Uks8IczuFRw2 for <cfrg@ietfa.amsl.com>; Sun, 23 Nov 2014 05:54:19 -0800 (PST)
Received: from waldorf.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id 8F91D1A0267 for <cfrg@irtf.org>; Sun, 23 Nov 2014 05:54:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1416750857; d=isode.com; s=selector; i=@isode.com; bh=sh4jwdpPhMBkFRZ7mbsh2O0dTYVrm0LHHDDxUiRcTGw=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=HaJ83IkD8x2lBBkOxeS6XajveU8lmsbpruCMQYFgDXPDrDgcVIdgkfY2G0ODQB1tfrpM39 qMKFjSTPzmSqPloMIJVra+GkQhByPFmBQTE+CJauq9x9bscDUw/P/50CPa68bcShZBXLCy ll82MBmzYHJPj7f1ywAZRJrbEZxZr9o=;
Received: from [192.168.0.4] (cpc5-nmal20-2-0-cust24.19-2.cable.virginm.net [92.234.84.25])  by waldorf.isode.com (submission channel) via TCP with ESMTPA  id <VHHnBgBH1aeH@waldorf.isode.com>; Sun, 23 Nov 2014 13:54:17 +0000
Message-ID: <5471E703.8010508@isode.com>
Date: Sun, 23 Nov 2014 13:54:11 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
To: "cfrg@irtf.org" <cfrg@irtf.org>
References: <5471E41D.5020909@isode.com>
In-Reply-To: <5471E41D.5020909@isode.com>
X-Forwarded-Message-Id: <5471E41D.5020909@isode.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------080507000601070606000908"
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/RmOkUcVYKUjTZkSfkPPG8tdhofM
Subject: [Cfrg] Fwd: [irsg] IRSG review request: CFRG document draft-irtf-cfrg-chacha20-poly1305-03.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 23 Nov 2014 13:54:21 -0000

This is a multi-part message in MIME format.
--------------080507000601070606000908
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

FYI.

-------- Original Message --------
Subject: 	[irsg] IRSG review request: CFRG document 
draft-irtf-cfrg-chacha20-poly1305-03.txt
Date: 	Sun, 23 Nov 2014 13:41:49 +0000
From: 	Alexey Melnikov <alexey.melnikov@isode.com>
To: 	Internet Research Steering Group (irsg@irtf.org) <irsg@irtf.org>


CFRG chairs would like to have the CFRG document
draft-irtf-cfrg-chacha20-poly1305-03.txt ("ChaCha20 and Poly1305 for
IETF protocols") reviewed by the IRSG. The document is available at:

https://datatracker.ietf.org/doc/draft-irtf-cfrg-chacha20-poly1305/

Is there anyone that would like to volunteer to review this one?




--------------080507000601070606000908
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    FYI.<br>
    <div class="moz-forward-container"><br>
      -------- Original Message --------
      <table class="moz-email-headers-table" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
          <tr>
            <th valign="BASELINE" align="RIGHT" nowrap="nowrap">Subject:
            </th>
            <td>[irsg] IRSG review request: CFRG document
              draft-irtf-cfrg-chacha20-poly1305-03.txt</td>
          </tr>
          <tr>
            <th valign="BASELINE" align="RIGHT" nowrap="nowrap">Date: </th>
            <td>Sun, 23 Nov 2014 13:41:49 +0000</td>
          </tr>
          <tr>
            <th valign="BASELINE" align="RIGHT" nowrap="nowrap">From: </th>
            <td>Alexey Melnikov <a class="moz-txt-link-rfc2396E" href="mailto:alexey.melnikov@isode.com">&lt;alexey.melnikov@isode.com&gt;</a></td>
          </tr>
          <tr>
            <th valign="BASELINE" align="RIGHT" nowrap="nowrap">To: </th>
            <td>Internet Research Steering Group (<a class="moz-txt-link-abbreviated" href="mailto:irsg@irtf.org">irsg@irtf.org</a>)
              <a class="moz-txt-link-rfc2396E" href="mailto:irsg@irtf.org">&lt;irsg@irtf.org&gt;</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <pre>CFRG chairs would like to have the CFRG document 
draft-irtf-cfrg-chacha20-poly1305-03.txt ("ChaCha20 and Poly1305 for 
IETF protocols") reviewed by the IRSG. The document is available at:

<a class="moz-txt-link-freetext" href="https://datatracker.ietf.org/doc/draft-irtf-cfrg-chacha20-poly1305/">https://datatracker.ietf.org/doc/draft-irtf-cfrg-chacha20-poly1305/</a>

Is there anyone that would like to volunteer to review this one?

</pre>
      <br>
    </div>
    <br>
  </body>
</html>

--------------080507000601070606000908--


From nobody Mon Nov 24 23:56:31 2014
Return-Path: <sean.parkinson@rsa.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B2C0F1A002C for <cfrg@ietfa.amsl.com>; Mon, 24 Nov 2014 23:56:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.401
X-Spam-Level: 
X-Spam-Status: No, score=-2.401 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
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 il1uxeVALhIv for <cfrg@ietfa.amsl.com>; Mon, 24 Nov 2014 23:56:27 -0800 (PST)
Received: from mailuogwdur.emc.com (mailuogwdur.emc.com [128.221.224.79]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 421C61A0025 for <cfrg@irtf.org>; Mon, 24 Nov 2014 23:56:27 -0800 (PST)
Received: from maildlpprd56.lss.emc.com (maildlpprd56.lss.emc.com [10.106.48.160]) by mailuogwprd54.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id sAP7uPkg008082 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <cfrg@irtf.org>; Tue, 25 Nov 2014 02:56:25 -0500
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd54.lss.emc.com sAP7uPkg008082
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=rsa.com; s=jan2013; t=1416902185; bh=YbrJMMKzUA7KFV0TCwZM77//fnU=; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; b=wqRG9TkQ0TuNamVOjRaonjRiTcW1VZT1kgD8Io/R20i+05ZAUZ+zKl0qcVencfRyq FGQ2LGOKNlXtLizomr4yA0oPnvg8KUX5YSSrkaxjGn/wvYjlbMQ+qTdwHjMKRskKki TKbIh/FI7M4MSlWyNnZC6XaXrSS3753blKrztkPo=
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd54.lss.emc.com sAP7uPkg008082
Received: from mailusrhubprd03.lss.emc.com (mailusrhubprd03.lss.emc.com [10.253.24.21]) by maildlpprd56.lss.emc.com (RSA Interceptor) for <cfrg@irtf.org>; Tue, 25 Nov 2014 02:55:43 -0500
Received: from mxhub25.corp.emc.com (mxhub25.corp.emc.com [10.254.110.181]) by mailusrhubprd03.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id sAP7u9NI013539 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for <cfrg@irtf.org>; Tue, 25 Nov 2014 02:56:09 -0500
Received: from mx17a.corp.emc.com ([169.254.1.228]) by mxhub25.corp.emc.com ([10.254.110.181]) with mapi; Tue, 25 Nov 2014 02:56:09 -0500
From: "Parkinson, Sean" <sean.parkinson@rsa.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Date: Tue, 25 Nov 2014 02:56:06 -0500
Thread-Topic: Elliptic curve evaluation truths
Thread-Index: AdAIhUScn/JQkG3QSJOURMsxShDNUw==
Message-ID: <2FBC676C3BBFBB4AA82945763B361DE60BF9B858@MX17A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_2FBC676C3BBFBB4AA82945763B361DE60BF9B858MX17Acorpemccom_"
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd03.lss.emc.com
X-RSA-Classifications: public
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/oYTLav5IDMEBHWcmtUXZOqIZjRU
Subject: [Cfrg] Elliptic curve evaluation truths
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Nov 2014 07:56:29 -0000

--_000_2FBC676C3BBFBB4AA82945763B361DE60BF9B858MX17Acorpemccom_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

In hopes of reaching consensus, I thought I might start a list of known tru=
ths.
Please don't just argue against each point but instead look to refine the s=
tatements where possible.


1.       Only curves over prime fields are being considered.

2.       Good, efficient implementations of Twisted Edwards curves will fas=
ter than good, efficient implementations of short Weierstrass with the same=
 prime.

3.       Good, efficient Montgomery curve implementations are simpler than =
good, efficient Twisted Edwards and short Weierstrass curve implementations=
.

4.       Montgomery curves cannot be used for signing/verification operatio=
ns.

5.       Small co-factor curves are no weaker, in terms of small subgroup a=
ttacks, than co-factor 1 curves.

6.       Twisted Edwards and short Weierstrass but not Montgomery curves su=
pport pools of points for ephemeral DH.

7.       NIST curves are going to be in use for some time.

8.       One curve at about WF-128 is required.

9.       At least one curve with WF greater than 128 is required.

10.   Good, efficient implementations of curves using special primes are si=
gnificantly faster than good, efficient implementations using random primes=
.

11.   There are steps in performance based on the number of words used.

12.   There are a few special primes that are significantly faster than the=
 step they are on.

13.   The curves chosen will be used for ECDH and ECDSA.

14.   The curves will be used in TLS and certificates.

If you have more truths then please add to this list.

Sean
--
Sean Parkinson | Consultant Software Engineer | RSA, The Security Division =
of EMC
Office +61 7 3032 5232 | Fax +61 7 3032 5299
www.rsa.com<http://www.rsa.com>


--_000_2FBC676C3BBFBB4AA82945763B361DE60BF9B858MX17Acorpemccom_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:36.0pt;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:536966379;
	mso-list-type:hybrid;
	mso-list-template-ids:1339294662 67698703 67698713 67698715 67698703 67698=
713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli=
nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>In hopes of reac=
hing consensus, I thought I might start a list of known truths.<o:p></o:p><=
/p><p class=3DMsoNormal>Please don&#8217;t just argue against each point bu=
t instead look to refine the statements where possible.<o:p></o:p></p><p cl=
ass=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoListParagraph style=3D't=
ext-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span styl=
e=3D'mso-list:Ignore'>1.<span style=3D'font:7.0pt "Times New Roman"'>&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Only curves over pri=
me fields are being considered.<o:p></o:p></p><p class=3DMsoListParagraph s=
tyle=3D'text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><=
span style=3D'mso-list:Ignore'>2.<span style=3D'font:7.0pt "Times New Roman=
"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Good, effic=
ient implementations of Twisted Edwards curves will faster than good, effic=
ient implementations of short Weierstrass with the same prime.<o:p></o:p></=
p><p class=3DMsoListParagraph style=3D'text-indent:-18.0pt;mso-list:l0 leve=
l1 lfo1'><![if !supportLists]><span style=3D'mso-list:Ignore'>3.<span style=
=3D'font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </sp=
an></span><![endif]>Good, efficient Montgomery curve implementations are si=
mpler than good, efficient Twisted Edwards and short Weierstrass curve impl=
ementations.<o:p></o:p></p><p class=3DMsoListParagraph style=3D'text-indent=
:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style=3D'mso-l=
ist:Ignore'>4.<span style=3D'font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Montgomery curves cannot be us=
ed for signing/verification operations.<o:p></o:p></p><p class=3DMsoListPar=
agraph style=3D'text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !support=
Lists]><span style=3D'mso-list:Ignore'>5.<span style=3D'font:7.0pt "Times N=
ew Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Sma=
ll co-factor curves are no weaker, in terms of small subgroup attacks, than=
 co-factor 1 curves.<o:p></o:p></p><p class=3DMsoListParagraph style=3D'tex=
t-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style=
=3D'mso-list:Ignore'>6.<span style=3D'font:7.0pt "Times New Roman"'>&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Twisted Edwards and s=
hort Weierstrass but not Montgomery curves support pools of points for ephe=
meral DH.<o:p></o:p></p><p class=3DMsoListParagraph style=3D'text-indent:-1=
8.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style=3D'mso-list=
:Ignore'>7.<span style=3D'font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; </span></span><![endif]>NIST curves are going to be in us=
e for some time.<o:p></o:p></p><p class=3DMsoListParagraph style=3D'text-in=
dent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style=3D'm=
so-list:Ignore'>8.<span style=3D'font:7.0pt "Times New Roman"'>&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>One curve at about WF-128 =
is required.<o:p></o:p></p><p class=3DMsoListParagraph style=3D'text-indent=
:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style=3D'mso-l=
ist:Ignore'>9.<span style=3D'font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; </span></span><![endif]>At least one curve with WF gre=
ater than 128 is required.<o:p></o:p></p><p class=3DMsoListParagraph style=
=3D'text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span=
 style=3D'mso-list:Ignore'>10.<span style=3D'font:7.0pt "Times New Roman"'>=
&nbsp;&nbsp; </span></span><![endif]>Good, efficient implementations of cur=
ves using special primes are significantly faster than good, efficient impl=
ementations using random primes.<o:p></o:p></p><p class=3DMsoListParagraph =
style=3D'text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]>=
<span style=3D'mso-list:Ignore'>11.<span style=3D'font:7.0pt "Times New Rom=
an"'>&nbsp;&nbsp; </span></span><![endif]>There are steps in performance ba=
sed on the number of words used.<o:p></o:p></p><p class=3DMsoListParagraph =
style=3D'text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]>=
<span style=3D'mso-list:Ignore'>12.<span style=3D'font:7.0pt "Times New Rom=
an"'>&nbsp;&nbsp; </span></span><![endif]>There are a few special primes th=
at are significantly faster than the step they are on.<o:p></o:p></p><p cla=
ss=3DMsoListParagraph style=3D'text-indent:-18.0pt;mso-list:l0 level1 lfo1'=
><![if !supportLists]><span style=3D'mso-list:Ignore'>13.<span style=3D'fon=
t:7.0pt "Times New Roman"'>&nbsp;&nbsp; </span></span><![endif]>The curves =
chosen will be used for ECDH and ECDSA.<o:p></o:p></p><p class=3DMsoListPar=
agraph style=3D'text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !support=
Lists]><span style=3D'mso-list:Ignore'>14.<span style=3D'font:7.0pt "Times =
New Roman"'>&nbsp;&nbsp; </span></span><![endif]>The curves will be used in=
 TLS and certificates.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p>=
</p><p class=3DMsoNormal>If you have more truths then please add to this li=
st.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoN=
ormal>Sean<o:p></o:p></p><p class=3DMsoNormal><span style=3D'font-size:9.0p=
t;font-family:Consolas;color:black'>--</span><span style=3D'font-size:10.5p=
t;font-family:Consolas;color:black'><o:p></o:p></span></p><p class=3DMsoNor=
mal><span style=3D'font-size:9.0pt;font-family:Consolas;color:black'>Sean P=
arkinson | Consultant Software Engineer | RSA, The Security Division&nbsp;o=
f EMC</span><span style=3D'font-size:10.5pt;font-family:Consolas;color:blac=
k'><o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:9.0p=
t;font-family:Consolas;color:black'>Office +61 7 3032 5232 | Fax +61 7 3032=
 5299</span><span style=3D'font-size:10.5pt;font-family:Consolas;color:blac=
k'><o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:9.0p=
t;font-family:Consolas;color:black'><a href=3D"http://www.rsa.com"><span st=
yle=3D'color:blue'>www.rsa.com</span></a></span><span style=3D'font-size:10=
.5pt;font-family:Consolas;color:black'><o:p></o:p></span></p><p class=3DMso=
Normal><o:p>&nbsp;</o:p></p></div></body></html>=

--_000_2FBC676C3BBFBB4AA82945763B361DE60BF9B858MX17Acorpemccom_--


From nobody Tue Nov 25 05:09:15 2014
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 060481A037B for <cfrg@ietfa.amsl.com>; Tue, 25 Nov 2014 05:08:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.896
X-Spam-Level: **
X-Spam-Status: No, score=2.896 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, UNPARSEABLE_RELAY=0.001] autolearn=no
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 3zr7EZSuQYlN for <cfrg@ietfa.amsl.com>; Tue, 25 Nov 2014 05:08:56 -0800 (PST)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id E44181A036E for <cfrg@irtf.org>; Tue, 25 Nov 2014 05:08:39 -0800 (PST)
Received: (qmail 20327 invoked by uid 1017); 25 Nov 2014 13:08:58 -0000
Received: from unknown (unknown) by unknown with QMTP; 25 Nov 2014 13:08:58 -0000
Received: (qmail 24008 invoked by uid 1001); 25 Nov 2014 13:08:33 -0000
Date: 25 Nov 2014 13:08:33 -0000
Message-ID: <20141125130833.24007.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
In-Reply-To: <5C83990C-D144-44AC-A5F9-944E499A6F2E@shiftleft.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/hu4U0TV8ytzz7CEZNvTuYr_7KQw
Subject: Re: [Cfrg] Handling invalid points
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Nov 2014 13:09:09 -0000

Michael Hamburg writes:
> With a prime-order short Weierstrass curve, (x,y) points transmitted on
> the wire (compressed or otherwise) cannot be the identity

No, it's not that simple. As I wrote earlier: "For cofactor 1 the
implementor has to go digging through obscure, poorly tested code to
figure out how the point at infinity might end up being communicated
(e.g., does the implementation treat input points off the curve as
infinity?) and then represented internally. Isn't TLS actually moving to
something much more confidence-inspiring than such patches, namely
hashing more inputs?"

> The Goldilocks encoding reduces the complexity of dealing with this

No. Checking for output 0 from the Montgomery ladder is guaranteed to
catch all non-contributory inputs for X25519, and is the simplest
imaginable check. (The local factor 8 clears all of those inputs, and
the main theorem says that the ladder always multiplies correctly.)

Further compression---e.g., specifying a constant top byte, avoiding the
top bytes of non-contributory inputs---would move the check inescapably
into the syntax, although it would slow down key generation somewhat.

> behavior should be testable by vectors

Sure. On the other hand, people often put together test vectors that
cover only "normal" cases and not unusual cases. Protocols should be
designed to be robust against likely implementation errors.

---Dan


From nobody Tue Nov 25 07:01:46 2014
Return-Path: <alangley@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 69BEE1A6F60 for <cfrg@ietfa.amsl.com>; Tue, 25 Nov 2014 07:01:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.621
X-Spam-Level: 
X-Spam-Status: No, score=0.621 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 ZO8IgniNc93X for <cfrg@ietfa.amsl.com>; Tue, 25 Nov 2014 07:01:43 -0800 (PST)
Received: from mail-lb0-x232.google.com (mail-lb0-x232.google.com [IPv6:2a00:1450:4010:c04::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C74201A6F67 for <cfrg@irtf.org>; Tue, 25 Nov 2014 07:01:40 -0800 (PST)
Received: by mail-lb0-f178.google.com with SMTP id f15so766072lbj.9 for <cfrg@irtf.org>; Tue, 25 Nov 2014 07:01:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=65TTj1hDRp00YE3ySlPwSf+K6rUZGiWjfrRG1VOsuuQ=; b=C1dZgrP13iO0BWaWbYHtfAQdTfyE/T2XHJ4R4XHcR6Ki28KVy4+EV7AmsGQiBgyrGf JW3gkQsE/J2egdvSQ67NUoRhPlA9I0I4l5c9xwulRzZ1M1IXNYEmcNpoyBDZppOCFP4s duPjzXydoRwqKa+GNG6J1/kDba6K/ky8uys1cl5abSm7ySSjkx3alcd+kCxlpfeANpY2 UniC5KhR2y/avVwOZ9N+eMqPUwwWPY19aaE9DJEGmN3Gq3hexlmKVtdt7nC3y0NI50T2 Cz2J7frpXR+OHLCcUWmEiVh2+QteH1PqrG6iqfcD1ibEosvD/y4h40e8YOHxM6Kybb3F Q7Hw==
MIME-Version: 1.0
X-Received: by 10.112.135.229 with SMTP id pv5mr27512837lbb.52.1416927699187;  Tue, 25 Nov 2014 07:01:39 -0800 (PST)
Sender: alangley@gmail.com
Received: by 10.112.241.103 with HTTP; Tue, 25 Nov 2014 07:01:39 -0800 (PST)
In-Reply-To: <20141125130833.24007.qmail@cr.yp.to>
References: <5C83990C-D144-44AC-A5F9-944E499A6F2E@shiftleft.org> <20141125130833.24007.qmail@cr.yp.to>
Date: Tue, 25 Nov 2014 07:01:39 -0800
X-Google-Sender-Auth: gZCbuvWgwtvcNSNeYjpJLAgm-8U
Message-ID: <CAMfhd9XD2sftMo7x1vrM9F+V4q+ZKRZJ0nrvEGxzBmDzRA4Wkw@mail.gmail.com>
From: Adam Langley <agl@imperialviolet.org>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/0Fl-SxtxRbQdmO2yBmor6Qfs-EU
Subject: Re: [Cfrg] Handling invalid points
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Nov 2014 15:01:44 -0000

On Tue, Nov 25, 2014 at 5:08 AM, D. J. Bernstein <djb@cr.yp.to> wrote:
> Isn't TLS actually moving to
> something much more confidence-inspiring than such patches, namely
> hashing more inputs?"

Yes, the extended-master-secret draft[1] (i.e. what the master secret
should always have been) is in last call at the moment.

I believe this requires less thinking than worrying about requiring
contributory behaviour in the DH operation.

[1] https://tools.ietf.org/html/draft-ietf-tls-session-hash-03


Cheers

AGL


From nobody Tue Nov 25 08:35:03 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C7E031ACDD0 for <cfrg@ietfa.amsl.com>; Tue, 25 Nov 2014 08:34:59 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 k07gSxyOknZ4 for <cfrg@ietfa.amsl.com>; Tue, 25 Nov 2014 08:34:56 -0800 (PST)
Received: from mail-yh0-x22e.google.com (mail-yh0-x22e.google.com [IPv6:2607:f8b0:4002:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CBDE51ACDC7 for <cfrg@irtf.org>; Tue, 25 Nov 2014 08:34:55 -0800 (PST)
Received: by mail-yh0-f46.google.com with SMTP id t59so439097yho.19 for <cfrg@irtf.org>; Tue, 25 Nov 2014 08:34:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=gpCNb7iFky4QHIQNPsiy+uzkyFGCrKlvY6923aAZiYw=; b=DEvpEgGUECIG2dCGDEx9JEqOHa/H1LAmqi3/+kunKEF9d8NcQ6dbBNzPe/Vo5aWKSe I5cmGVa63eylx8JbZLNUGFrY3IQ21S8CFvLLx/CkEJNFvRtnALumKVeKL88otB8HsG3O DLhS1sZdDDmI5PDUDhxahtrvWiEdh+SdgjMleHaKMWwrw8lXZ1wCjK3/EqCZ6KIqKvmd JP/v1CayndeiCsTYTqD0xqcBt4T6uYXzs09WdHDrF7WUvwea6Vswkdad11BiOi6UUuW3 QXedA4as7iDbj8LCFAzrRnmPldbEO1/PIkbAb7pxydpWaPh6+1mdRU6Z7SMDRHWE7rPb Ak+w==
MIME-Version: 1.0
X-Received: by 10.236.63.66 with SMTP id z42mr10932487yhc.49.1416933295033; Tue, 25 Nov 2014 08:34:55 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Tue, 25 Nov 2014 08:34:54 -0800 (PST)
In-Reply-To: <2FBC676C3BBFBB4AA82945763B361DE60BF9B858@MX17A.corp.emc.com>
References: <2FBC676C3BBFBB4AA82945763B361DE60BF9B858@MX17A.corp.emc.com>
Date: Tue, 25 Nov 2014 08:34:54 -0800
Message-ID: <CACsn0ck=0meRduRi7gCpX=Lp2NffKjQJQhY-QR+erEg2WbKkZg@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: "Parkinson, Sean" <sean.parkinson@rsa.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/0miM0FgKeN8-tztsWi5R0_flXDk
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Elliptic curve evaluation truths
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Nov 2014 16:35:00 -0000

On Mon, Nov 24, 2014 at 11:56 PM, Parkinson, Sean
<sean.parkinson@rsa.com> wrote:
> In hopes of reaching consensus, I thought I might start a list of known
> truths.
>
> Please don=E2=80=99t just argue against each point but instead look to re=
fine the
> statements where possible.
>
>
>
> 1.       Only curves over prime fields are being considered.
>
> 2.       Good, efficient implementations of Twisted Edwards curves will
> faster than good, efficient implementations of short Weierstrass with the
> same prime.
>
> 3.       Good, efficient Montgomery curve implementations are simpler tha=
n
> good, efficient Twisted Edwards and short Weierstrass curve implementatio=
ns.
>
> 4.       Montgomery curves cannot be used for signing/verification
> operations.

This is incorrect: see DJB's "Curves, Coordinates and Computation
emails". One can retrieve y-coordinates from the Montgomery ladder.
In fact, 2 and 3 both need to be reworked in light of this email.

The correct statement is that curves with a complete addition law are
easy to work with, and that the Montgomery ladder is also very simple.
Curves have a complete addition law if they are isomorphic to Edwards
curves, which is almost the same as having a point of order 4. The
Montgomery ladder works for curves with a point of order 4. (I may
have gotten the conditions somewhat wrong: this is morally correct)

How the curve is presented on the wire doesn't change this: one does a
few fast calculations to put the point retrieved from the wire in the
preferred form for calculation, and a few fast ones at the end to put
it back in the form on the wire.

This is also missing security considerations: it's easy to get
multiplication correct with a complete addition law, much harder
without one. Edwards curves always have a complete addition law, while
Twisted Edwards may or may not, depending on the value $a$ being a
quadratic residue or not.

>
> 5.       Small co-factor curves are no weaker, in terms of small subgroup
> attacks, than co-factor 1 curves.
>
> 6.       Twisted Edwards and short Weierstrass but not Montgomery curves
> support pools of points for ephemeral DH.

What do you mean by pools of points? Do you mean fast fixed-based
exponentiation? In that case one can do a fast fixed-based
exponentiation on the isomorphic or isogenous Edwards curve, and use a
few fast computations to get the point on the Montgomery curve.

>
> 7.       NIST curves are going to be in use for some time.
>
> 8.       One curve at about WF-128 is required.
>
> 9.       At least one curve with WF greater than 128 is required.
>
> 10.   Good, efficient implementations of curves using special primes are
> significantly faster than good, efficient implementations using random
> primes.
>
> 11.   There are steps in performance based on the number of words used.
>
> 12.   There are a few special primes that are significantly faster than t=
he
> step they are on.
>
> 13.   The curves chosen will be used for ECDH and ECDSA.
>
> 14.   The curves will be used in TLS and certificates.
>
>
>
> If you have more truths then please add to this list.
>
>
> Sean
>
> --
>
> Sean Parkinson | Consultant Software Engineer | RSA, The Security Divisio=
n
> of EMC
>
> Office +61 7 3032 5232 | Fax +61 7 3032 5299
>
> www.rsa.com
>
>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>



--=20
"Those who would give up Essential Liberty to purchase a little
Temporary Safety deserve neither  Liberty nor Safety."
-- Benjamin Franklin


From nobody Tue Nov 25 16:02:44 2014
Return-Path: <sean.parkinson@rsa.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A8501A89A7 for <cfrg@ietfa.amsl.com>; Tue, 25 Nov 2014 16:02:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.301
X-Spam-Level: 
X-Spam-Status: No, score=-4.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
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 2AbCWddJp8JC for <cfrg@ietfa.amsl.com>; Tue, 25 Nov 2014 16:02:38 -0800 (PST)
Received: from mailuogwdur.emc.com (mailuogwdur.emc.com [128.221.224.79]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B64E81A8942 for <cfrg@irtf.org>; Tue, 25 Nov 2014 16:02:37 -0800 (PST)
Received: from maildlpprd53.lss.emc.com (maildlpprd53.lss.emc.com [10.106.48.157]) by mailuogwprd52.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id sAQ02XjN020609 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Nov 2014 19:02:34 -0500
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd52.lss.emc.com sAQ02XjN020609
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=rsa.com; s=jan2013; t=1416960154; bh=fci9CoVWtxrvdmw+lL5jq8/87F8=; h=From:To:CC:Date:Subject:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=jg3s16NA+pFY79D3iigO7Z/0kZ3GZtoip0A9/HTHkL92huCXhCCO1fo9Une518Yo5 VLnKmJZ2adFy5xkkejkVEbmOwG/q7SQZcbLiHL2ndAYZKZa5UU7ZsFI5AAq1xS3Dtk O5bHQYYnV+c+lvybyFnG87BsIn+12ei0LfVAQS48=
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd52.lss.emc.com sAQ02XjN020609
Received: from mailusrhubprd53.lss.emc.com (mailusrhubprd53.lss.emc.com [10.106.48.18]) by maildlpprd53.lss.emc.com (RSA Interceptor); Tue, 25 Nov 2014 19:01:38 -0500
Received: from mxhub26.corp.emc.com (mxhub26.corp.emc.com [10.254.110.182]) by mailusrhubprd53.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id sAQ02Ods017839 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 25 Nov 2014 19:02:24 -0500
Received: from mx17a.corp.emc.com ([169.254.1.228]) by mxhub26.corp.emc.com ([10.254.110.182]) with mapi; Tue, 25 Nov 2014 19:02:24 -0500
From: "Parkinson, Sean" <sean.parkinson@rsa.com>
To: Watson Ladd <watsonbladd@gmail.com>
Date: Tue, 25 Nov 2014 19:02:22 -0500
Thread-Topic: [Cfrg] Elliptic curve evaluation truths
Thread-Index: AdAIzcOh2lHX+uWARnKdo/DiaqlEHAAPVsKA
Message-ID: <2FBC676C3BBFBB4AA82945763B361DE60BF9B8A4@MX17A.corp.emc.com>
References: <2FBC676C3BBFBB4AA82945763B361DE60BF9B858@MX17A.corp.emc.com> <CACsn0ck=0meRduRi7gCpX=Lp2NffKjQJQhY-QR+erEg2WbKkZg@mail.gmail.com>
In-Reply-To: <CACsn0ck=0meRduRi7gCpX=Lp2NffKjQJQhY-QR+erEg2WbKkZg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd53.lss.emc.com
X-RSA-Classifications: DLM_1, public
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Zm_Oe3jP8JHkxtnK5etuV1l31wk
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Elliptic curve evaluation truths
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Nov 2014 00:02:42 -0000

TXkgdW5kZXJzdGFuZGluZyBpcyB0aGF0IGJlY2F1c2UgeW91IGNhbid0IGVmZmljaWVudGx5IHBl
cmZvcm0gYSBwb2ludCBhZGQgb3BlcmF0aW9uIG9mIHR3byByYW5kb20gcG9pbnRzIHdpdGggTW9u
dGdvbWVyeSBjdXJ2ZXMgdGhlbiBzaWduYXR1cmUgc2NoZW1lcyBhcmUgb3V0Lg0KSXMgdGhlcmUg
aW5lZmZpY2llbnQgYWxnb3JpdGhtcyBmb3IgcGVyZm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WQgZm9yIEVDREggYW5kIEVDRFNBLg0KPg0KPiAxNC4gICBUaGUgY3Vy
dmVzIHdpbGwgYmUgdXNlZCBpbiBUTFMgYW5kIGNlcnRpZmljYXRlcy4NCj4NCj4NCj4NCj4gSWYg
eW91IGhhdmUgbW9yZSB0cnV0aHMgdGhlbiBwbGVhc2UgYWRkIHRvIHRoaXMgbGlzdC4NCj4NCj4N
Cj4gU2Vhbg0KPg0KPiAtLQ0KPg0KPiBTZWFuIFBhcmtpbnNvbiB8IENvbnN1bHRhbnQgU29mdHdh
cmUgRW5naW5lZXIgfCBSU0EsIFRoZSBTZWN1cml0eSANCj4gRGl2aXNpb24gb2YgRU1DDQo+DQo+
IE9mZmljZSArNjEgNyAzMDMyIDUyMzIgfCBGYXggKzYxIDcgMzAzMiA1Mjk5DQo+DQo+IHd3dy5y
c2EuY29tDQo+DQo+DQo+DQo+DQo+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fDQo+IENmcmcgbWFpbGluZyBsaXN0DQo+IENmcmdAaXJ0Zi5vcmcNCj4gaHR0
cDovL3d3dy5pcnRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2NmcmcNCj4NCg0KDQoNCi0tDQoiVGhv
c2Ugd2hvIHdvdWxkIGdpdmUgdXAgRXNzZW50aWFsIExpYmVydHkgdG8gcHVyY2hhc2UgYSBsaXR0
bGUgVGVtcG9yYXJ5IFNhZmV0eSBkZXNlcnZlIG5laXRoZXIgIExpYmVydHkgbm9yIFNhZmV0eS4i
DQotLSBCZW5qYW1pbiBGcmFua2xpbg0K


From nobody Tue Nov 25 17:59:26 2014
Return-Path: <sean.parkinson@rsa.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EF6A51A1EEA for <cfrg@ietfa.amsl.com>; Tue, 25 Nov 2014 17:59:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.301
X-Spam-Level: 
X-Spam-Status: No, score=-4.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
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 DezNDgPlLq1F for <cfrg@ietfa.amsl.com>; Tue, 25 Nov 2014 17:59:22 -0800 (PST)
Received: from mailuogwhop.emc.com (mailuogwhop.emc.com [168.159.213.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 31A251A1EE8 for <cfrg@irtf.org>; Tue, 25 Nov 2014 17:59:21 -0800 (PST)
Received: from maildlpprd04.lss.emc.com (maildlpprd04.lss.emc.com [10.253.24.36]) by mailuogwprd04.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id sAQ1xIth008694 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Nov 2014 20:59:18 -0500
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd04.lss.emc.com sAQ1xIth008694
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=rsa.com; s=jan2013; t=1416967158; bh=kJaWr039a2yenyucSTMos0RrR6o=; h=From:To:CC:Date:Subject:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=m61I9A4NRiHUvMaCuqA0xS5hoLRwyDAfjWWksnHsNQdM3mKDxw44ysX47lCEBFEBD JR/4GZx+V7flUbDp68cTJHL2sJhN2kW9aSdPEfUjy7XK42YqRrTa3wbvqDj2GPPx59 90ANEWYWUo0jSBikZgVcCPXIo9mP1M+Bvh7C4HXQ=
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd04.lss.emc.com sAQ1xIth008694
Received: from mailusrhubprd54.lss.emc.com (mailusrhubprd54.lss.emc.com [10.106.48.19]) by maildlpprd04.lss.emc.com (RSA Interceptor); Tue, 25 Nov 2014 20:58:34 -0500
Received: from mxhub04.corp.emc.com (mxhub04.corp.emc.com [10.254.141.106]) by mailusrhubprd54.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id sAQ1x4uW019379 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 25 Nov 2014 20:59:04 -0500
Received: from mx17a.corp.emc.com ([169.254.1.228]) by mxhub04.corp.emc.com ([10.254.141.106]) with mapi; Tue, 25 Nov 2014 20:59:04 -0500
From: "Parkinson, Sean" <sean.parkinson@rsa.com>
To: Watson Ladd <watsonbladd@gmail.com>
Date: Tue, 25 Nov 2014 20:59:02 -0500
Thread-Topic: [Cfrg] Elliptic curve evaluation truths
Thread-Index: AdAIzcOh2lHX+uWARnKdo/DiaqlEHAAPVsKAAARPh0A=
Message-ID: <2FBC676C3BBFBB4AA82945763B361DE60BF9B8B6@MX17A.corp.emc.com>
References: <2FBC676C3BBFBB4AA82945763B361DE60BF9B858@MX17A.corp.emc.com> <CACsn0ck=0meRduRi7gCpX=Lp2NffKjQJQhY-QR+erEg2WbKkZg@mail.gmail.com> <2FBC676C3BBFBB4AA82945763B361DE60BF9B8A4@MX17A.corp.emc.com>
In-Reply-To: <2FBC676C3BBFBB4AA82945763B361DE60BF9B8A4@MX17A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd54.lss.emc.com
X-RSA-Classifications: DLM_1, public
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/jIOv29T1crNTf31ZN2vdqe2DXv0
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Elliptic curve evaluation truths
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Nov 2014 01:59:25 -0000

SSBjYW4ndCBzYXkgSSd2ZSBzZWVuIHRoZSBwb2ludCBhZGRpdGlvbiBkZXNjcmliZWQgaW4gdGhl
IGxpdGVyYXR1cmUsIGJ1dCBhbHdheXMgYXNzdW1lZCB0aGF0IHRoZXJlIGFyZSwgYW5kIEkndmUg
YmVlbiBhc3N1cmVkIHRoZXJlIGFyZSBlcXVhdGlvbnMuDQoNCkhvdyBhYm91dDoNCjQuIFNpZ25p
bmcgYW5kIHZlcmlmaWNhdGlvbiBvcGVyYXRpb25zIG9uIE1vbnRnb21lcnkgY3VydmVzIGlzIGxl
c3MgZWZmaWNpZW50IHRoYW4gb24gVHdpc3RlZCBFZHdhcmRzIGFuZCBzaG9ydCBXZWllcnN0cmFz
cyBjdXJ2ZXMuDQoNClNlYW4NCi0tDQpTZWFuIFBhcmtpbnNvbiB8IENvbnN1bHRhbnQgU29mdHdh
cmUgRW5naW5lZXIgfCBSU0EsIFRoZSBTZWN1cml0eSBEaXZpc2lvbsKgb2YgRU1DDQpPZmZpY2Ug
KzYxIDcgMzAzMiA1MjMyIHwgRmF4ICs2MSA3IDMwMzIgNTI5OQ0Kd3d3LnJzYS5jb20NCg0KDQot
LS0tLU9yaWdpbmFsIE1lc3NhZ2U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PiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fXw0KPiBDZnJnIG1haWxpbmcgbGlzdA0KPiBDZnJnQGlydGYub3JnDQo+
IGh0dHA6Ly93d3cuaXJ0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9jZnJnDQo+DQoNCg0KDQotLQ0K
IlRob3NlIHdobyB3b3VsZCBnaXZlIHVwIEVzc2VudGlhbCBMaWJlcnR5IHRvIHB1cmNoYXNlIGEg
bGl0dGxlIFRlbXBvcmFyeSBTYWZldHkgZGVzZXJ2ZSBuZWl0aGVyICBMaWJlcnR5IG5vciBTYWZl
dHkuIg0KLS0gQmVuamFtaW4gRnJhbmtsaW4NCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fDQpDZnJnIG1haWxpbmcgbGlzdA0KQ2ZyZ0BpcnRmLm9yZw0KaHR0
cDovL3d3dy5pcnRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2NmcmcNCg==


From nobody Tue Nov 25 18:02:19 2014
Return-Path: <mike@shiftleft.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B43DA1A86E2 for <cfrg@ietfa.amsl.com>; Tue, 25 Nov 2014 18:02:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.555
X-Spam-Level: *
X-Spam-Status: No, score=1.555 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
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 PlKGhcOP_Qgk for <cfrg@ietfa.amsl.com>; Tue, 25 Nov 2014 18:02:16 -0800 (PST)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 578081A86E0 for <cfrg@irtf.org>; Tue, 25 Nov 2014 18:02:16 -0800 (PST)
Received: from [10.184.148.249] (unknown [209.36.6.242]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id C81503ABAF; Tue, 25 Nov 2014 18:00:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1416967238; bh=3Y/yzqUzDIjx9nVVeE6LKhzNGVU3zM8lis+QKXxLPM0=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=D2xlmgP0nukJVsT5CGi+s0jVUD8SocFJeo9RHNYvBsXtaYfMQ3uave0awtLUxvUtL +zE0mCkmb6ZFBkPmv4fm4xvZIMJpP/4sjcdexGPCpJCDyCjuxyECNED4mSEsqc4TR2 7m+gWsTAjtp1+47NJmEPjEWjb9SkPrkd/nuB5HqU=
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <2FBC676C3BBFBB4AA82945763B361DE60BF9B8A4@MX17A.corp.emc.com>
Date: Tue, 25 Nov 2014 18:02:10 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <85CC278A-E032-4748-BC8F-DEF4C058C6DB@shiftleft.org>
References: <2FBC676C3BBFBB4AA82945763B361DE60BF9B858@MX17A.corp.emc.com> <CACsn0ck=0meRduRi7gCpX=Lp2NffKjQJQhY-QR+erEg2WbKkZg@mail.gmail.com> <2FBC676C3BBFBB4AA82945763B361DE60BF9B8A4@MX17A.corp.emc.com>
To: "Parkinson, Sean" <sean.parkinson@rsa.com>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/HsARFRQJp541C0o6W2sMiqdwpG4
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Elliptic curve evaluation truths
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Nov 2014 02:02:18 -0000

Usually Montgomery curves are used because they have a very simple and =
efficient x-only Montgomery ladder implementation, where the y =
coordinate is not computed, at least not in the inner loop.

It is not possible to add two points without some information about the =
y-coordinate.  However, if the y-coordinate is given (compressed on the =
wire, but uncompressed internally), then it possible to add points on a =
Montgomery curve.  That=E2=80=99s not what people will do, though.  =
Instead they=E2=80=99ll convert to (twisted) Edwards, where all the math =
is much simpler.  Depending on the signature form, it may be possible to =
verify without adding, but people probably won=E2=80=99t do that either.

Likewise, it is possible but not practical to use =E2=80=9Cpools of =
points=E2=80=9D on a Montgomery curve.  Instead people will use Edwards =
form.

So I would state:

def) =E2=80=9CTwisted Edwards=E2=80=9D includes traditional Edwards =
curves with a =3D 1.

0) Every Montgomery curve is equivalent (isomorphic) to a Twisted =
Edwards curve.  Every Twisted Edwards curve is equivalent to a =
Montgomery or twisted Montgomery curve.  Every elliptic curve is =
equivalent to a short Weierstrass curve.

4) Signing and verification on a Montgomery curve practically requires =
using Twisted Edwards form.

6) Twisted Edwards and short Weierstrass curves support precomputed =
tables to speed up ephemeral DH.  Supporting this for Montgomery curves =
practically requires using Twisted Edwards form.

Nitpicking Watson=E2=80=99s claims:

Every curve supports the Montgomery ladder, often in several flavors.  =
Montgomery curves are used because they have a particularly simple and =
efficient Montgomery ladder.  A curve with a point of order 4 in some =
other form may have a somewhat slower or more complex Montgomery ladder =
than Montgomery curves.

Cheers,
=E2=80=94 Mike


> On Nov 25, 2014, at 4:02 PM, Parkinson, Sean <sean.parkinson@rsa.com> =
wrote:
>=20
> My understanding is that because you can't efficiently perform a point =
add operation of two random points with Montgomery curves then signature =
schemes are out.
> Is there inefficient algorithms for performing point add on the =
Montgomery curve?
> I intended to not include transforming points to other curve types. So =
maybe,
>  4. Signing and verification operations on Montgomery curves is not =
possible.
>=20
> I'm intentionally not talking about simplicity of implementations. =
That is making things more complicated and hiding the 'truths'.
>=20
> Sorry, 'Pools of points' was my name for the technique of having a =
number of pre-generated points that are then added to each other to =
quickly generate new points for TLS PFS.
>=20
>=20
> Sean
> --
> Sean Parkinson | Consultant Software Engineer | RSA, The Security =
Division of EMC
> Office +61 7 3032 5232 | Fax +61 7 3032 5299
> www.rsa.com
>=20
>=20
> -----Original Message-----
> From: Watson Ladd [mailto:watsonbladd@gmail.com]=20
> Sent: Wednesday, 26 November 2014 2:35 AM
> To: Parkinson, Sean
> Cc: cfrg@irtf.org
> Subject: Re: [Cfrg] Elliptic curve evaluation truths
>=20
> On Mon, Nov 24, 2014 at 11:56 PM, Parkinson, Sean =
<sean.parkinson@rsa.com> wrote:
>> In hopes of reaching consensus, I thought I might start a list of=20
>> known truths.
>>=20
>> Please don=E2=80=99t just argue against each point but instead look =
to refine=20
>> the statements where possible.
>>=20
>>=20
>>=20
>> 1.       Only curves over prime fields are being considered.
>>=20
>> 2.       Good, efficient implementations of Twisted Edwards curves =
will
>> faster than good, efficient implementations of short Weierstrass with=20=

>> the same prime.
>>=20
>> 3.       Good, efficient Montgomery curve implementations are simpler =
than
>> good, efficient Twisted Edwards and short Weierstrass curve =
implementations.
>>=20
>> 4.       Montgomery curves cannot be used for signing/verification
>> operations.
>=20
> This is incorrect: see DJB's "Curves, Coordinates and Computation =
emails". One can retrieve y-coordinates from the Montgomery ladder.
> In fact, 2 and 3 both need to be reworked in light of this email.
>=20
> The correct statement is that curves with a complete addition law are =
easy to work with, and that the Montgomery ladder is also very simple.
> Curves have a complete addition law if they are isomorphic to Edwards =
curves, which is almost the same as having a point of order 4. The =
Montgomery ladder works for curves with a point of order 4. (I may have =
gotten the conditions somewhat wrong: this is morally correct)
>=20
> How the curve is presented on the wire doesn't change this: one does a =
few fast calculations to put the point retrieved from the wire in the =
preferred form for calculation, and a few fast ones at the end to put it =
back in the form on the wire.
>=20
> This is also missing security considerations: it's easy to get =
multiplication correct with a complete addition law, much harder without =
one. Edwards curves always have a complete addition law, while Twisted =
Edwards may or may not, depending on the value $a$ being a quadratic =
residue or not.
>=20
>>=20
>> 5.       Small co-factor curves are no weaker, in terms of small =
subgroup
>> attacks, than co-factor 1 curves.
>>=20
>> 6.       Twisted Edwards and short Weierstrass but not Montgomery =
curves
>> support pools of points for ephemeral DH.
>=20
> What do you mean by pools of points? Do you mean fast fixed-based =
exponentiation? In that case one can do a fast fixed-based =
exponentiation on the isomorphic or isogenous Edwards curve, and use a =
few fast computations to get the point on the Montgomery curve.
>=20
>>=20
>> 7.       NIST curves are going to be in use for some time.
>>=20
>> 8.       One curve at about WF-128 is required.
>>=20
>> 9.       At least one curve with WF greater than 128 is required.
>>=20
>> 10.   Good, efficient implementations of curves using special primes =
are
>> significantly faster than good, efficient implementations using =
random=20
>> primes.
>>=20
>> 11.   There are steps in performance based on the number of words =
used.
>>=20
>> 12.   There are a few special primes that are significantly faster =
than the
>> step they are on.
>>=20
>> 13.   The curves chosen will be used for ECDH and ECDSA.
>>=20
>> 14.   The curves will be used in TLS and certificates.
>>=20
>>=20
>>=20
>> If you have more truths then please add to this list.
>>=20
>>=20
>> Sean
>>=20
>> --
>>=20
>> Sean Parkinson | Consultant Software Engineer | RSA, The Security=20
>> Division of EMC
>>=20
>> Office +61 7 3032 5232 | Fax +61 7 3032 5299
>>=20
>> www.rsa.com
>>=20
>>=20
>>=20
>>=20
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> http://www.irtf.org/mailman/listinfo/cfrg
>>=20
>=20
>=20
>=20
> --
> "Those who would give up Essential Liberty to purchase a little =
Temporary Safety deserve neither  Liberty nor Safety."
> -- Benjamin Franklin
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Wed Nov 26 01:39:35 2014
Return-Path: <Kenny.Paterson@rhul.ac.uk>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A82E51A86EE for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 01:39:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 KUdMWXdhtO_c for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 01:39:30 -0800 (PST)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0661.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::661]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3AFFA1A6FFD for <cfrg@irtf.org>; Wed, 26 Nov 2014 01:39:30 -0800 (PST)
Received: from DBXPR03MB384.eurprd03.prod.outlook.com (10.141.10.20) by DBXPR03MB013.eurprd03.prod.outlook.com (10.242.145.142) with Microsoft SMTP Server (TLS) id 15.1.26.15; Wed, 26 Nov 2014 09:39:06 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by DBXPR03MB384.eurprd03.prod.outlook.com (10.141.10.20) with Microsoft SMTP Server (TLS) id 15.1.26.15; Wed, 26 Nov 2014 09:39:05 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) by DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) with mapi id 15.01.0026.003; Wed, 26 Nov 2014 09:39:05 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Michael Hamburg <mike@shiftleft.org>, "Parkinson, Sean" <sean.parkinson@rsa.com>
Thread-Topic: [Cfrg] Elliptic curve evaluation truths
Thread-Index: AdAIhUScn/JQkG3QSJOURMsxShDNUwASHk4AAA+gqgAABC8YAAAP9B0A
Date: Wed, 26 Nov 2014 09:39:05 +0000
Message-ID: <D09B4E4F.37B2B%kenny.paterson@rhul.ac.uk>
References: <2FBC676C3BBFBB4AA82945763B361DE60BF9B858@MX17A.corp.emc.com> <CACsn0ck=0meRduRi7gCpX=Lp2NffKjQJQhY-QR+erEg2WbKkZg@mail.gmail.com> <2FBC676C3BBFBB4AA82945763B361DE60BF9B8A4@MX17A.corp.emc.com> <85CC278A-E032-4748-BC8F-DEF4C058C6DB@shiftleft.org>
In-Reply-To: <85CC278A-E032-4748-BC8F-DEF4C058C6DB@shiftleft.org>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.4.140807
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [81.133.122.38]
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB384;UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB384;
x-forefront-prvs: 04073E895A
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(51704005)(479174003)(189002)(53754006)(13464003)(52604005)(377454003)(199003)(24454002)(86362001)(74482002)(15202345003)(92566001)(4396001)(20776003)(66066001)(64706001)(1720100001)(77156002)(46102003)(62966003)(36756003)(2656002)(87936001)(120916001)(15974865002)(122556002)(19580395003)(19580405001)(83506001)(40100003)(99396003)(15975445006)(97736003)(76176999)(50986999)(54356999)(31966008)(107046002)(95666004)(93886004)(101416001)(106356001)(92726001)(21056001)(19273905006)(105586002)(7059030)(563064011); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR03MB384; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <D58C288A46849148A1EA0ABA6892D586@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB013;
X-OriginatorOrg: rhul.ac.uk
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/oPuby2ZwMOts8MsmNybTHf6kDTI
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Elliptic curve evaluation truths
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Nov 2014 09:39:33 -0000

Hi Everyone,

Thanks for contributing to this thread. It's helpful in establishing some
facts that will help to inform our decision-making for people who are not
so aware of the basic issues. But, please, let's not get into huge amounts
of details here, as it will distract us from our main business.

On that front, I'm hoping we'll have some significant developments in the
next couple of days that will help us move forward with that main work of
selecting curves to recommend to the TLS WG.

Cheers

Kenny

On 26/11/2014 02:02, "Michael Hamburg" <mike@shiftleft.org> wrote:

>Usually Montgomery curves are used because they have a very simple and
>efficient x-only Montgomery ladder implementation, where the y coordinate
>is not computed, at least not in the inner loop.
>
>It is not possible to add two points without some information about the
>y-coordinate.  However, if the y-coordinate is given (compressed on the
>wire, but uncompressed internally), then it possible to add points on a
>Montgomery curve.  That=B9s not what people will do, though.  Instead
>they=B9ll convert to (twisted) Edwards, where all the math is much simpler=
.
> Depending on the signature form, it may be possible to verify without
>adding, but people probably won=B9t do that either.
>
>Likewise, it is possible but not practical to use =B3pools of points=B2 on=
 a
>Montgomery curve.  Instead people will use Edwards form.
>
>So I would state:
>
>def) =B3Twisted Edwards=B2 includes traditional Edwards curves with a =3D =
1.
>
>0) Every Montgomery curve is equivalent (isomorphic) to a Twisted Edwards
>curve.  Every Twisted Edwards curve is equivalent to a Montgomery or
>twisted Montgomery curve.  Every elliptic curve is equivalent to a short
>Weierstrass curve.
>
>4) Signing and verification on a Montgomery curve practically requires
>using Twisted Edwards form.
>
>6) Twisted Edwards and short Weierstrass curves support precomputed
>tables to speed up ephemeral DH.  Supporting this for Montgomery curves
>practically requires using Twisted Edwards form.
>
>Nitpicking Watson=B9s claims:
>
>Every curve supports the Montgomery ladder, often in several flavors.
>Montgomery curves are used because they have a particularly simple and
>efficient Montgomery ladder.  A curve with a point of order 4 in some
>other form may have a somewhat slower or more complex Montgomery ladder
>than Montgomery curves.
>
>Cheers,
>=8B Mike
>
>
>> On Nov 25, 2014, at 4:02 PM, Parkinson, Sean <sean.parkinson@rsa.com>
>>wrote:
>>=20
>> My understanding is that because you can't efficiently perform a point
>>add operation of two random points with Montgomery curves then signature
>>schemes are out.
>> Is there inefficient algorithms for performing point add on the
>>Montgomery curve?
>> I intended to not include transforming points to other curve types. So
>>maybe,
>>  4. Signing and verification operations on Montgomery curves is not
>>possible.
>>=20
>> I'm intentionally not talking about simplicity of implementations. That
>>is making things more complicated and hiding the 'truths'.
>>=20
>> Sorry, 'Pools of points' was my name for the technique of having a
>>number of pre-generated points that are then added to each other to
>>quickly generate new points for TLS PFS.
>>=20
>>=20
>> Sean
>> --
>> Sean Parkinson | Consultant Software Engineer | RSA, The Security
>>Division of EMC
>> Office +61 7 3032 5232 | Fax +61 7 3032 5299
>> www.rsa.com
>>=20
>>=20
>> -----Original Message-----
>> From: Watson Ladd [mailto:watsonbladd@gmail.com]
>> Sent: Wednesday, 26 November 2014 2:35 AM
>> To: Parkinson, Sean
>> Cc: cfrg@irtf.org
>> Subject: Re: [Cfrg] Elliptic curve evaluation truths
>>=20
>> On Mon, Nov 24, 2014 at 11:56 PM, Parkinson, Sean
>><sean.parkinson@rsa.com> wrote:
>>> In hopes of reaching consensus, I thought I might start a list of
>>> known truths.
>>>=20
>>> Please don=B9t just argue against each point but instead look to refine
>>> the statements where possible.
>>>=20
>>>=20
>>>=20
>>> 1.       Only curves over prime fields are being considered.
>>>=20
>>> 2.       Good, efficient implementations of Twisted Edwards curves will
>>> faster than good, efficient implementations of short Weierstrass with
>>> the same prime.
>>>=20
>>> 3.       Good, efficient Montgomery curve implementations are simpler
>>>than
>>> good, efficient Twisted Edwards and short Weierstrass curve
>>>implementations.
>>>=20
>>> 4.       Montgomery curves cannot be used for signing/verification
>>> operations.
>>=20
>> This is incorrect: see DJB's "Curves, Coordinates and Computation
>>emails". One can retrieve y-coordinates from the Montgomery ladder.
>> In fact, 2 and 3 both need to be reworked in light of this email.
>>=20
>> The correct statement is that curves with a complete addition law are
>>easy to work with, and that the Montgomery ladder is also very simple.
>> Curves have a complete addition law if they are isomorphic to Edwards
>>curves, which is almost the same as having a point of order 4. The
>>Montgomery ladder works for curves with a point of order 4. (I may have
>>gotten the conditions somewhat wrong: this is morally correct)
>>=20
>> How the curve is presented on the wire doesn't change this: one does a
>>few fast calculations to put the point retrieved from the wire in the
>>preferred form for calculation, and a few fast ones at the end to put it
>>back in the form on the wire.
>>=20
>> This is also missing security considerations: it's easy to get
>>multiplication correct with a complete addition law, much harder without
>>one. Edwards curves always have a complete addition law, while Twisted
>>Edwards may or may not, depending on the value $a$ being a quadratic
>>residue or not.
>>=20
>>>=20
>>> 5.       Small co-factor curves are no weaker, in terms of small
>>>subgroup
>>> attacks, than co-factor 1 curves.
>>>=20
>>> 6.       Twisted Edwards and short Weierstrass but not Montgomery
>>>curves
>>> support pools of points for ephemeral DH.
>>=20
>> What do you mean by pools of points? Do you mean fast fixed-based
>>exponentiation? In that case one can do a fast fixed-based
>>exponentiation on the isomorphic or isogenous Edwards curve, and use a
>>few fast computations to get the point on the Montgomery curve.
>>=20
>>>=20
>>> 7.       NIST curves are going to be in use for some time.
>>>=20
>>> 8.       One curve at about WF-128 is required.
>>>=20
>>> 9.       At least one curve with WF greater than 128 is required.
>>>=20
>>> 10.   Good, efficient implementations of curves using special primes
>>>are
>>> significantly faster than good, efficient implementations using random
>>> primes.
>>>=20
>>> 11.   There are steps in performance based on the number of words used.
>>>=20
>>> 12.   There are a few special primes that are significantly faster
>>>than the
>>> step they are on.
>>>=20
>>> 13.   The curves chosen will be used for ECDH and ECDSA.
>>>=20
>>> 14.   The curves will be used in TLS and certificates.
>>>=20
>>>=20
>>>=20
>>> If you have more truths then please add to this list.
>>>=20
>>>=20
>>> Sean
>>>=20
>>> --
>>>=20
>>> Sean Parkinson | Consultant Software Engineer | RSA, The Security
>>> Division of EMC
>>>=20
>>> Office +61 7 3032 5232 | Fax +61 7 3032 5299
>>>=20
>>> www.rsa.com
>>>=20
>>>=20
>>>=20
>>>=20
>>> _______________________________________________
>>> Cfrg mailing list
>>> Cfrg@irtf.org
>>> http://www.irtf.org/mailman/listinfo/cfrg
>>>=20
>>=20
>>=20
>>=20
>> --
>> "Those who would give up Essential Liberty to purchase a little
>>Temporary Safety deserve neither  Liberty nor Safety."
>> -- Benjamin Franklin
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> http://www.irtf.org/mailman/listinfo/cfrg
>
>_______________________________________________
>Cfrg mailing list
>Cfrg@irtf.org
>http://www.irtf.org/mailman/listinfo/cfrg


From nobody Wed Nov 26 07:35:24 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B90AE1A01AA for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 07:35:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.8
X-Spam-Level: 
X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8] autolearn=ham
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 utIs64fa0bJ4 for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 07:35:21 -0800 (PST)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id 58EA51A01A8 for <cfrg@irtf.org>; Wed, 26 Nov 2014 07:35:21 -0800 (PST)
Received: from xct105cnc.rim.net ([10.65.161.205]) by mhs214cnc.rim.net with ESMTP/TLS/AES128-SHA; 26 Nov 2014 10:35:15 -0500
Received: from XCT111CNC.rim.net (10.65.161.211) by XCT105CNC.rim.net (10.65.161.205) with Microsoft SMTP Server (TLS) id 14.3.174.1; Wed, 26 Nov 2014 10:35:15 -0500
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT111CNC.rim.net ([::1]) with mapi id 14.03.0174.001; Wed, 26 Nov 2014 10:35:14 -0500
From: Dan Brown <dbrown@certicom.com>
To: "'djb@cr.yp.to'" <djb@cr.yp.to>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: Preliminary disclosure on twist security ...
Thread-Index: AdAJieU4Ye2dd7TATPKiXX6Walzfrw==
Date: Wed, 26 Nov 2014 15:35:14 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5D072C5@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: application/pkcs7-mime; smime-type=signed-data; name="smime.p7m"
Content-Disposition: attachment; filename="smime.p7m"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/EaJqcWpVNQsk_YdU2uHR3-wdXdc
Subject: [Cfrg] Preliminary disclosure on twist security ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Nov 2014 15:35:22 -0000

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAaCAJIAEggPHQ29u
dGVudC1UeXBlOiB0ZXh0L3BsYWluOw0KCWNoYXJzZXQ9InVzLWFzY2lpIg0KQ29udGVudC1UcmFu
c2Zlci1FbmNvZGluZzogN2JpdA0KDQpSRkMgMzk3OSAic3Ryb25nbHkgZW5jb3VyYWdlcyIgYSAi
cHJlbGltaW5hcnkgZGlzY2xvc3VyZSIgZm9yIGFueSB0ZWNobm9sb2d5IA0KYmVpbmcgInNlcmlv
dXN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sZAEZFgNuZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xJDAiBgNVBAMTG1JJTSBTdWJvcmRpbmF0
ZSBDQSBNQ0EwMllLRgIKbandRwAEAAAFajBvBgsqhkiG9w0BCRACCzFgoF4wUDETMBEGCgmSJomT
8ixkARkWA25ldDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRl
IENBIE1DQTAyWUtGAgptqd1HAAQAAAVqMIGrBgkqhkiG9w0BCQ8xgZ0wgZowCwYJYIZIAWUDBAEq
MAsGCWCGSAFlAwQBFjAKBggqhkiG9w0DBzALBglghkgBZQMEAQIwDgYIKoZIhvcNAwICAgCAMAcG
BSsOAwIHMA0GCCqGSIb3DQMCAgFAMA0GCCqGSIb3DQMCAgEoMAcGBSsOAwIaMAsGCWCGSAFlAwQC
AzALBglghkgBZQMEAgIwCwYJYIZIAWUDBAIBMA0GCSqGSIb3DQEBAQUABIGAUqHHgaWLActiUaKl
xPz6FIdpC9oDwnD2L7c9LIRjXe4y9kv+3Hw7mMAVPZP0Xl/UGvlUwjA4pHRYcBlh3CntzZgbZsmd
LAdqXCoWCM91VbF1FcpEL1/Fs0pGIpH1/yrHEiBcfhP6U1nUvTrwv7zQL0sjYmTQhCHl1z2erRUB
7rYAAAAAAAA=


From nobody Wed Nov 26 07:51:10 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5643C1A0318 for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 07:51:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
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 P0Nf-22E0dtT for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 07:51:02 -0800 (PST)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 39D051A0273 for <cfrg@irtf.org>; Wed, 26 Nov 2014 07:51:01 -0800 (PST)
Received: from xct106cnc.rim.net ([10.65.161.206]) by mhs210cnc.rim.net with ESMTP/TLS/AES128-SHA; 26 Nov 2014 10:51:00 -0500
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT106CNC.rim.net ([fe80::d824:6c98:60dc:3918%16]) with mapi id 14.03.0174.001; Wed, 26 Nov 2014 10:50:59 -0500
From: Dan Brown <dbrown@certicom.com>
To: "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: Preliminary disclosure on twist security ...
Thread-Index: AdAJieU4Ye2dd7TATPKiXX6WalzfrwABn2cQ
Date: Wed, 26 Nov 2014 15:50:59 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5D07388@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5D072C5@XMB116CNC.rim.net>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5D072C5@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_017C_01D00966.DD188430"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/oD1LPTwXiwF11peHt_LrzhQITTg
Subject: Re: [Cfrg] Preliminary disclosure on twist security ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Nov 2014 15:51:08 -0000

------=_NextPart_000_017C_01D00966.DD188430
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Not sure why this first appeared as blank, sorry about that.  I've pasted
the text below for a 2nd try:

> -----Original Message-----
> From: Dan Brown

RFC 3979 "strongly encourages" a "preliminary disclosure" for any technology

being "seriously considered".

I am not sure which of this RG list or if 
http://www.ietf.org/ipr/file-disclosure.html is the correct place to make
such 
a preliminary disclosure. The RG list is more convenient for me, so here it 
goes.

Upon review today, I noticed that US Patent 6,563,928 B1, Claim 59,
supported 
in interpretation by reference to the patent specification's Column 5, lines

37-46 (which describes the case Zp*, but carries over, per the claim, to the

elliptic curve case) seems to anticipate some aspects of twist security that

are, arguably, exactly those aspects critical to avoiding an attack.  As
such, 
the patent holder may try to assert this against implementations of twist 
security.   Accordingly, I am disclosing this possibility.

Best regards,

Dan


 


------=_NextPart_000_017C_01D00966.DD188430
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICCm2p3UcABAAABWowDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAy
WUtGMB4XDTE0MDUxNDE0MzYzOFoXDTE1MDUxNDE0MzYzOFowgaQxEzARBgoJkiaJk/Is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BZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYBl0G9GUIYjkRfvs3OhLJ+oO9rTIqFT
HVDKZmnERYG1tbDuBXImLu/QlfQdmugq07w3SyzTZ9vQypJlbrdRJfPLG1cpmLNamc/oDd1k+6Ph
N/jtAmX8Xd/DV+taL/IZCpcFw9PkfvOvK9F0QRnr1TihpPyH1+L5a3DYu7jquOvPBgAAAAAAAA==

------=_NextPart_000_017C_01D00966.DD188430--


From nobody Wed Nov 26 07:55:25 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6D81F1A034F for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 07:55:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, LOTS_OF_MONEY=0.001, SPF_PASS=-0.001] autolearn=ham
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 r6iunctdbR43 for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 07:55:22 -0800 (PST)
Received: from mail-yk0-x235.google.com (mail-yk0-x235.google.com [IPv6:2607:f8b0:4002:c07::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DA0EE1A0363 for <cfrg@irtf.org>; Wed, 26 Nov 2014 07:55:21 -0800 (PST)
Received: by mail-yk0-f181.google.com with SMTP id 142so1380223ykq.40 for <cfrg@irtf.org>; Wed, 26 Nov 2014 07:55:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=1QSqHIvxh2qJA0r7ky7JRbL7Yk7csz9H2ak+dDl2ppc=; b=cpk1O83eZywV6YHBz0jXjrfCkgeExvx/qzEbz5jLE02J6QyNChpNafnmwKXecD4NCq 742fCrmfMHBi6+SNI4thH5ULEoNAzYrB3yhKRvYUwI8u1K4UaQN6bgpbeGFMsYp9Acd6 DRlwGC8vW7jqJFvRcYft+v+CeOclzydgajYS2bN1692aYY1edwQ14sAeXMNe6d4PGy3H eGVqJpWeVp2G0klp1n5tMRP5uQISbuthqMgLASDD3qDmkCs4XlGzs2soINc4y9M/gKey qdAmg7DiNgtGKH7P5DGZcy5cvXusSpGuolDqQEtG8lb505zr/0pv4yM0rSTztPrnvJ+L ZUag==
MIME-Version: 1.0
X-Received: by 10.170.89.130 with SMTP id g124mr22378167yka.24.1417017321078;  Wed, 26 Nov 2014 07:55:21 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Wed, 26 Nov 2014 07:55:21 -0800 (PST)
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5D072C5@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5D072C5@XMB116CNC.rim.net>
Date: Wed, 26 Nov 2014 07:55:21 -0800
Message-ID: <CACsn0ck5vgB5qojL2o38Vb=mt9ZFNres+EVXBsBK=VRjrpwLzw@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Dan Brown <dbrown@certicom.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/CMesUt2LhRc_6n8q7umLdIUw84Y
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "djb@cr.yp.to" <djb@cr.yp.to>
Subject: Re: [Cfrg] Preliminary disclosure on twist security ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Nov 2014 15:55:23 -0000

The patent in question is US6563928.

The claim cited reads as follows:

"53. A method of establishing a session key for encryption of data
between a pair of correspondents comprising the steps of one of said
correspondents selecting a finite group G, establishing a subgroup S
having an order q of the group G, determining an element =CE=B1 of the
subgroup S to generate greater than a predetermined number of the q
elements of the subgroup S and utilising said element =CE=B1 to generate a
session key at said one correspondent."

"59: 58. A method according to claim 53 wherein said order of said
subgroup is of the form utilising an integral number of a product of a
plurality of large primes.
59. A method according to claim 58 wherein the order of said subgroup
is of the form nrr=E2=80=B2 where n, r and r=E2=80=B2 are each integers and=
 r and r=E2=80=B2
are each prime numbers."

This doesn't appear to have anything to do that directly with twist
security. It does appear to cover the algorithm Microsoft proposed for
dealing with points of low order on NUMS curves in claim 15.  The
claim above would seem to cover any implementation of discrete
logarithm based cryptography that uses subgroup membership checks as a
means to ensure contributory behavior.

Sincerely,
Watson Ladd


2014-11-26 7:35 GMT-08:00 Dan Brown <dbrown@certicom.com>:
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg



--=20
"Those who would give up Essential Liberty to purchase a little
Temporary Safety deserve neither  Liberty nor Safety."
-- Benjamin Franklin


From nobody Wed Nov 26 07:56:10 2014
Return-Path: <akr@akr.io>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C793C1A0191 for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 07:56:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.003
X-Spam-Level: 
X-Spam-Status: No, score=-0.003 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 2fR0JO1I9qW6 for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 07:56:02 -0800 (PST)
Received: from entima.net (entima.net [78.129.143.175]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4AAB71A034F for <cfrg@irtf.org>; Wed, 26 Nov 2014 07:56:02 -0800 (PST)
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5D07388@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5D072C5@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF5D07388@XMB116CNC.rim.net>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
From: Alyssa Rowan <akr@akr.io>
Date: Wed, 26 Nov 2014 15:55:57 +0000
To: Dan Brown <dbrown@certicom.com>,"'cfrg@irtf.org'" <cfrg@irtf.org>
Message-ID: <717FA0AE-81B5-475A-849E-D4716595EEAF@akr.io>
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/0pWxek1OvaLeF3u4J8TwIIewGw4
Subject: Re: [Cfrg] Preliminary disclosure on twist security ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Nov 2014 15:56:09 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 26 November 2014 15:50:59 GMT+00:00, Dan Brown <dbrown@certicom.com> wrote:
>Not sure why this first appeared as blank, sorry about that.

Blame S/MIME. :)

>US Patent 6,563,928 B1

Priority date 18 May 1995, so (disregarding for a moment its validity, applicability or otherwise) it expires in less than six months: is that correct?

- --
/akr
-----BEGIN PGP SIGNATURE-----
Version: APG v1.1.1

iQI3BAEBCgAhBQJUdfgMGhxBbHlzc2EgUm93YW4gPGFrckBha3IuaW8+AAoJEOyE
jtkWi2t6Uw8P+gKklRh57g2cH6tMziYHBqXZ/6ucs1hntAe51zuzGCdIMM0joIkZ
pkvRKVDAX2zdaCNNwHGg75jOz3IE0l8nEIhnWVeh3GH301kjveC4dNz+6hcZqmwy
ueD4yPusXQQwK5VpJJkKKLgCAc+j/RUqrbkYzYaKMj9MqBNba33fSh9i0PIGe6SX
O9gipq7lAW/Vi6Aak6rJlLOamI79tADVjkY9ODIzBvuqCcFQWFHtPI9aNrezly8x
MsIdN1naV7d17epF8YlXU05xFqap/mT3oc5MUSnWGKOlPxQTp9d3HZOf/wIHOW8a
dCEN7JaIxiEQrzMGi8kGbm//KtXqK7M1fjpK7Ch6ZkvtYKAHpadB8PMZxc/RWDUl
CjY1LBSBx1fTErzoTyCj8pUwhpxjWWKeqQ+CL2BoBUS9nMqAVW/Kgs8wGELiyd5j
jhSrwMvmTuvhxSEcZV4t7eHsqW1H3hG46RDCy8IyKk0ymnkji2oLsw1LKr4qV8/T
hXi2B5iItVDuCUiY45ePIxgSMUPxkGCVkwW8Xjcg2dSkhFcl/m1tbq1QRUQ3hdzp
rIJk236BdUBhgqYmkeG5TvbO4WxRBplsAwk4umQFlvR1pxFmzUrkEnbldjo2kU3M
TcnjCEFiYVyDvInlw5tVioZHLL5SnhUen8++j1C401ztWDB6PC9sGcCb
=cDpL
-----END PGP SIGNATURE-----


From nobody Wed Nov 26 08:50:06 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 163571A014C for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 08:50:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.299
X-Spam-Level: 
X-Spam-Status: No, score=-1.299 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_22=0.6, LOTS_OF_MONEY=0.001] autolearn=no
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 fBsJYJrcxKl1 for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 08:50:01 -0800 (PST)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 41DCE1A0143 for <cfrg@irtf.org>; Wed, 26 Nov 2014 08:50:00 -0800 (PST)
Received: from xct106cnc.rim.net ([10.65.161.206]) by mhs210cnc.rim.net with ESMTP/TLS/AES128-SHA; 26 Nov 2014 11:49:56 -0500
Received: from XCT115CNC.rim.net (10.65.161.215) by XCT106CNC.rim.net (10.65.161.206) with Microsoft SMTP Server (TLS) id 14.3.174.1; Wed, 26 Nov 2014 11:49:55 -0500
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT115CNC.rim.net ([::1]) with mapi id 14.03.0174.001; Wed, 26 Nov 2014 11:49:54 -0500
From: Dan Brown <dbrown@certicom.com>
To: "'watsonbladd@gmail.com'" <watsonbladd@gmail.com>
Thread-Topic: [Cfrg] Preliminary disclosure on twist security ...
Thread-Index: AdAJieU4Ye2dd7TATPKiXX6WalzfrwAMWVyAAAkAiPA=
Date: Wed, 26 Nov 2014 16:49:54 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5D0742B@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5D072C5@XMB116CNC.rim.net> <CACsn0ck5vgB5qojL2o38Vb=mt9ZFNres+EVXBsBK=VRjrpwLzw@mail.gmail.com>
In-Reply-To: <CACsn0ck5vgB5qojL2o38Vb=mt9ZFNres+EVXBsBK=VRjrpwLzw@mail.gmail.com>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0181_01D0096F.177E5700"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ABJqnm6Z0Y4k9mzaJLYofnq-uZg
Cc: "'cfrg@irtf.org'" <cfrg@irtf.org>, "'djb@cr.yp.to'" <djb@cr.yp.to>
Subject: Re: [Cfrg] Preliminary disclosure on twist security ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Nov 2014 16:50:03 -0000

------=_NextPart_000_0181_01D0096F.177E5700
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable


> -----Original Message-----
> From: Watson Ladd=20
>=20
> The patent in question is US6563928.
>=20
> The claim cited reads as follows:
>=20
> "53. A method of establishing a session key for encryption of data =
between a
> pair of correspondents comprising the steps of one of said =
correspondents
> selecting a finite group G, establishing a subgroup S having an order =
q of the
> group G, determining an element =CE=B1 of the subgroup S to generate =
greater than
> a predetermined number of the q elements of the subgroup S and =
utilising said
> element =CE=B1 to generate a session key at said one correspondent."
>=20
> "59: 58. A method according to claim 53 wherein said order of said =
subgroup is
> of the form utilising an integral number of a product of a plurality =
of large
> primes.
> 59. A method according to claim 58 wherein the order of said subgroup =
is of
> the form nrr=E2=80=B2 where n, r and r=E2=80=B2 are each integers and =
r and r=E2=80=B2 are each prime
> numbers."
>=20
> This doesn't appear to have anything to do that directly with twist =
security.=20

Well, this is what I was thinking:

Let F_p be the underlying field.

Let E be the twist-secure curve, with size #E(F_p) =3D hr, where h is a =
small cofactor and r a large prime.  Its twist E' has size h'r' where h' =
to the another small cofactor and r' is another large prime.

Now G be the group of F_p^2 rational points, which is a group of size =
hh'rr', right?  Then let S be the subgroup with of G of size q =3D rr'.

Let alpha be the element of S used to generate the yet smaller subgroup =
of size, i.e. the conventional DH prime-order subgroup of E(F_p).  Now =
alpha generates r elements, which is greater than a predetermined =
number, e.g. 2^250.

This means putting n =3D1 in Claim 59.

Best regards,

Dan

------=_NextPart_000_0181_01D0096F.177E5700
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIU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luYXRlIENBIE1DQTAy
WUtGAgptqd1HAAQAAAVqMG8GCyqGSIb3DQEJEAILMWCgXjBQMRMwEQYKCZImiZPyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDJZ
S0YCCm2p3UcABAAABWowgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYC0LmLeUHZCt6FW/QDBDk2uTbxs3A90
d78mIR63h6EzfCqoRR3fJEF/7ib5ls6IRf3Lu9PfZospf8OUI2lsb5gdeaG/ASc4vS4JmY12thlP
hRSol/0xG0x1UFzI1tjeXqo+7OI6uXb5ZLBUoLGc8QvvOLLSHghOsH6w11AWPoxq5wAAAAAAAA==

------=_NextPart_000_0181_01D0096F.177E5700--


From nobody Wed Nov 26 09:14:11 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 423121A037C for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 09:14:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
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 OWoQiSmsFCvJ for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 09:14:03 -0800 (PST)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 12A101A0173 for <cfrg@irtf.org>; Wed, 26 Nov 2014 09:14:02 -0800 (PST)
Received: from xct108cnc.rim.net ([10.65.161.208]) by mhs212cnc.rim.net with ESMTP/TLS/AES128-SHA; 26 Nov 2014 12:13:25 -0500
Received: from XCT111CNC.rim.net (10.65.161.211) by XCT108CNC.rim.net (10.65.161.208) with Microsoft SMTP Server (TLS) id 14.3.174.1; Wed, 26 Nov 2014 12:13:24 -0500
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT111CNC.rim.net ([::1]) with mapi id 14.03.0174.001; Wed, 26 Nov 2014 12:13:24 -0500
From: Dan Brown <dbrown@certicom.com>
To: "'akr@akr.io'" <akr@akr.io>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Preliminary disclosure on twist security ...
Thread-Index: AdAJieU4Ye2dd7TATPKiXX6WalzfrwABn2cQAAq/U4AACJU5EA==
Date: Wed, 26 Nov 2014 17:13:23 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5D07473@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5D072C5@XMB116CNC.rim.net> <810C31990B57ED40B2062BA10D43FBF5D07388@XMB116CNC.rim.net> <717FA0AE-81B5-475A-849E-D4716595EEAF@akr.io>
In-Reply-To: <717FA0AE-81B5-475A-849E-D4716595EEAF@akr.io>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0185_01D00972.5FAD2990"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/lPKqrk_vxotUlxRVpjddimIidd8
Subject: Re: [Cfrg] Preliminary disclosure on twist security ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Nov 2014 17:14:05 -0000

------=_NextPart_000_0185_01D00972.5FAD2990
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: 7bit



> -----Original Message-----
> From: Alyssa Rowan

> >US Patent 6,563,928 B1
>
> Priority date 18 May 1995, so (disregarding for a moment its validity,
> applicability or otherwise) it expires in less than six months: is that 
> correct?
>
I think so, because it seems to be a continuation, not a continuation-in-part, 
but I am not expert in the area.  Another remotely possible wrinkle is the 
date when the US dropped 17-year-after-issue term rule: I'm guessing that the 
20-year-after-filing rule is the only term applicable here, because the US 
filing date is after the US rule change (but the GB filing date (?) is 
before).

Anyway, I had the feeling that the CFRG might be able to recommend a curve 
with twist-security within 6 months, so it seemed to right to mention this.

------=_NextPart_000_0185_01D00972.5FAD2990
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICCm2p3UcABAAABWowDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAy
WUtGMB4XDTE0MDUxND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JZ
S0YCCm2p3UcABAAABWowgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYCWFq74vvN4H91b420XjKlRwRUud26w
7+MvFgkJ3j7XLGAVKQZBs3U9zEgLhjsJDrF18X6JV5AUbERqKiBD4uVzs4Q7YrXBaRsSO4NUAsja
6tokPvQyJiFGF3V6FsyF5VlDaRrb15ZbbHvBeKBq2f0egJPZckv6o106DwAGSXGLowAAAAAAAA==

------=_NextPart_000_0185_01D00972.5FAD2990--


From nobody Wed Nov 26 10:05:35 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E72C11A0373 for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 10:05:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.399
X-Spam-Level: 
X-Spam-Status: No, score=-1.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, J_CHICKENPOX_22=0.6, LOTS_OF_MONEY=0.001, SPF_PASS=-0.001] autolearn=no
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 ZhOmhuVupKWT for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 10:05:33 -0800 (PST)
Received: from mail-yh0-x231.google.com (mail-yh0-x231.google.com [IPv6:2607:f8b0:4002:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C62A71A0366 for <cfrg@irtf.org>; Wed, 26 Nov 2014 10:05:32 -0800 (PST)
Received: by mail-yh0-f49.google.com with SMTP id f10so1545079yha.8 for <cfrg@irtf.org>; Wed, 26 Nov 2014 10:05:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=IPhIm0lYe3g8uMI/vRVieE2nv4d4OFKviM1CRQJFUKc=; b=xDTlgsjUBuCDNzs2bdIMF5tFfafxbfBJWJl6cOfWecFsFqEyQaPE65iaejoUfkU2CM 5WbDghOkLx+azIWCt4TaAcJDtXDJKuBOvQNQrDsBvGYh9hjo4YeDBBevSyfz7QSaqzuf xXAfM3hbZaX657aQZaDVI8Ovz6kMba2CiciMONjXeg1eMzOO3FwSTCT99kjqo6WGIcMY elssLYF+BORU+biiFKOM3LbJKqrD1+M5O+tVFPPnPbXOA8IibYTybVZBc4LYdNENOnfm ZuX3gS40f98Cxb3ebxb0i67vqKp+wrj9NcxS26ZDmbA94PJVs9nZMi0JTiL2f2trEnH8 Hbfw==
MIME-Version: 1.0
X-Received: by 10.236.7.52 with SMTP id 40mr32484938yho.172.1417025132074; Wed, 26 Nov 2014 10:05:32 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Wed, 26 Nov 2014 10:05:32 -0800 (PST)
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5D0742B@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5D072C5@XMB116CNC.rim.net> <CACsn0ck5vgB5qojL2o38Vb=mt9ZFNres+EVXBsBK=VRjrpwLzw@mail.gmail.com> <810C31990B57ED40B2062BA10D43FBF5D0742B@XMB116CNC.rim.net>
Date: Wed, 26 Nov 2014 10:05:32 -0800
Message-ID: <CACsn0ckthZehQZkYyBBcCmHKrf-DsCk5s95Mr8_kQcNSD+7hPQ@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Dan Brown <dbrown@certicom.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/FoW6g5OtkwVeizeSqReu3lt4_jA
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "djb@cr.yp.to" <djb@cr.yp.to>
Subject: Re: [Cfrg] Preliminary disclosure on twist security ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Nov 2014 18:05:34 -0000

On Wed, Nov 26, 2014 at 8:49 AM, Dan Brown <dbrown@certicom.com> wrote:
>
>> -----Original Message-----
>> From: Watson Ladd
>>
>> The patent in question is US6563928.
>>
>> The claim cited reads as follows:
>>
>> "53. A method of establishing a session key for encryption of data betwe=
en a
>> pair of correspondents comprising the steps of one of said correspondent=
s
>> selecting a finite group G, establishing a subgroup S having an order q =
of the
>> group G, determining an element =CE=B1 of the subgroup S to generate gre=
ater than
>> a predetermined number of the q elements of the subgroup S and utilising=
 said
>> element =CE=B1 to generate a session key at said one correspondent."
>>
>> "59: 58. A method according to claim 53 wherein said order of said subgr=
oup is
>> of the form utilising an integral number of a product of a plurality of =
large
>> primes.
>> 59. A method according to claim 58 wherein the order of said subgroup is=
 of
>> the form nrr=E2=80=B2 where n, r and r=E2=80=B2 are each integers and r =
and r=E2=80=B2 are each prime
>> numbers."
>>
>> This doesn't appear to have anything to do that directly with twist secu=
rity.
>
> Well, this is what I was thinking:
>
> Let F_p be the underlying field.
>
> Let E be the twist-secure curve, with size #E(F_p) =3D hr, where h is a s=
mall cofactor and r a large prime.  Its twist E' has size h'r' where h' to =
the another small cofactor and r' is another large prime.
>
> Now G be the group of F_p^2 rational points, which is a group of size hh'=
rr', right?

Nope: Take t=3Dp+1-hr. t is the trace of a matrix with determinant p,
say diagonal with \alpha and \beta as eigenvalues. |G| =3D p^2+1-t_2,
where t_2=3D\apha^2+\beta^2. Using Viete's formulas, or maybe Newton's,
we write t^2-2p=3Dt_2. So the order of |G| is p^2+2p+1-(p+1-hr)^2. It's
not hh'rr'.

I may have made a typo in the above: check Silverman for the exact details.

>Then let S be the subgroup with of G of size q =3D rr'.
>
> Let alpha be the element of S used to generate the yet smaller subgroup o=
f size, i.e. the conventional DH prime-order subgroup of E(F_p).  Now alpha=
 generates r elements, which is greater than a predetermined number, e.g. 2=
^250.
>
> This means putting n =3D1 in Claim 59.
>
> Best regards,
>
> Dan



--=20
"Those who would give up Essential Liberty to purchase a little
Temporary Safety deserve neither  Liberty nor Safety."
-- Benjamin Franklin


From nobody Wed Nov 26 11:12:21 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5842B1A0125 for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 11:12:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.1
X-Spam-Level: 
X-Spam-Status: No, score=0.1 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, J_CHICKENPOX_22=0.6] autolearn=no
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 k7AH9ueux6ny for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 11:12:16 -0800 (PST)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id F1AFB1A0179 for <cfrg@irtf.org>; Wed, 26 Nov 2014 11:12:15 -0800 (PST)
Received: from xct107cnc.rim.net ([10.65.161.207]) by mhs212cnc.rim.net with ESMTP/TLS/AES128-SHA; 26 Nov 2014 14:12:10 -0500
Received: from XCT114CNC.rim.net (10.65.161.214) by XCT107CNC.rim.net (10.65.161.207) with Microsoft SMTP Server (TLS) id 14.3.174.1; Wed, 26 Nov 2014 14:12:10 -0500
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT114CNC.rim.net ([::1]) with mapi id 14.03.0174.001; Wed, 26 Nov 2014 14:12:09 -0500
From: Dan Brown <dbrown@certicom.com>
To: "'watsonbladd@gmail.com'" <watsonbladd@gmail.com>
Thread-Topic: [Cfrg] Preliminary disclosure on twist security ...
Thread-Index: AdAJieU4Ye2dd7TATPKiXX6WalzfrwAMWVyAAAkAiPD//9xbAIAAQ9Cg
Date: Wed, 26 Nov 2014 19:12:08 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5D0763F@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5D072C5@XMB116CNC.rim.net> <CACsn0ck5vgB5qojL2o38Vb=mt9ZFNres+EVXBsBK=VRjrpwLzw@mail.gmail.com> <810C31990B57ED40B2062BA10D43FBF5D0742B@XMB116CNC.rim.net> <CACsn0ckthZehQZkYyBBcCmHKrf-DsCk5s95Mr8_kQcNSD+7hPQ@mail.gmail.com>
In-Reply-To: <CACsn0ckthZehQZkYyBBcCmHKrf-DsCk5s95Mr8_kQcNSD+7hPQ@mail.gmail.com>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0189_01D00982.F6F90DE0"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/uxNNN6BEQLl0Xi1u99nW3XIMFDI
Cc: "'cfrg@irtf.org'" <cfrg@irtf.org>, "'djb@cr.yp.to'" <djb@cr.yp.to>
Subject: Re: [Cfrg] Preliminary disclosure on twist security ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Nov 2014 19:12:17 -0000

------=_NextPart_000_0189_01D00982.F6F90DE0
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: 7bit


> -----Original Message-----
> From: Watson Ladd
> >
> > Let F_p be the underlying field.
> >
> > Let E be the twist-secure curve, with size #E(F_p) = hr, where h is a 
> > small
> cofactor and r a large prime.  Its twist E' has size h'r' where h' to the 
> another
> small cofactor and r' is another large prime.
> >
> > Now G be the group of F_p^2 rational points, which is a group of size 
> > hh'rr',
> right?
>
> Nope: Take t=p+1-hr. t is the trace of a matrix with determinant p, say 
> diagonal
> with \alpha and \beta as eigenvalues. |G| = p^2+1-t_2, where
> t_2=\apha^2+\beta^2. Using Viete's formulas, or maybe Newton's, we write
> t^2-2p=t_2. So the order of |G| is p^2+2p+1-(p+1-hr)^2. It's not hh'rr'.
>
> I may have made a typo in the above: check Silverman for the exact details.
>
[DB] Ok, as a sanity check, I just checked the Blake--Seroussi--Smart book. 
The order of G is p^2 + 2p + 1 - t^2, just as say.  But this equals (p+1)-t^2 
= (p+1-t)(p+1+t) = (hr)(h'r'), as I claimed, right?

My original reasoning was as follows. If x corresponds to a point outside 
E(F_p), then there exists y in F_p^2, with (x,y) on E(F_p^2), and the same 
addition law applies to this curve - it has the same equation - so surely 
(x,y) would have an order dividing h'r'.  This led me to conclude that 
E(F_p^2) has subgroups of order r and r', and being abelian, has a subgroup of 
order rr'.  I had thought all this part of the twist security story.

Indeed, when I inquired earlier this year about the risk associated not 
rejecting such x, I remember some people answering that this should be as 
secure as doing ECDH in E(F_p^2).

Or, am I really misunderstanding twist security?




------=_NextPart_000_0189_01D00982.F6F90DE0
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICCm2p3UcABAAABWowDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAy
WUtGMB4XDTE0MDUxNDE0MzYzOFoXDTE1MDUxNDE0MzYzOFowgaQxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xDTALBgNVBAsTBEFNRVIxCzAJBgNVBAsTAkNBMRQwEgYD
VQQLEwtNaXNzaXNzYXVnYTEOMAwGA1UECxMFVXNlcnMxEjAQBgNVBAMTCURhbiBCcm93bjEiMCAG
CSqGSIb3DQEJARYTZGJyb3duQGNlcnRpY29tLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
gYEA54YaBOai2UDS89LoHMbDcC4+c8dEl5TpkJWz0muqjnXP6xpSYqBzotsw9SpPD3/0wF8Dz77Z
hkYN8BDSF0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Y
iqJ7BmmoUXQMHazXxfwHYKAvY70ukCb6hsg08tAXVmQQVWLeVe24AQu32YdrTVFwZgAAAAAAAA==

------=_NextPart_000_0189_01D00982.F6F90DE0--


From nobody Wed Nov 26 11:49:36 2014
Return-Path: <mike@shiftleft.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4C7FA1A1B4A for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 11:49:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.855
X-Spam-Level: ****
X-Spam-Status: No, score=4.855 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, J_CHICKENPOX_22=0.6, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
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 kw6JQSfIFJR7 for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 11:49:32 -0800 (PST)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9BD131A19EF for <cfrg@irtf.org>; Wed, 26 Nov 2014 11:49:32 -0800 (PST)
Received: from [10.184.148.249] (unknown [209.36.6.242]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 4CF6A3ABAF; Wed, 26 Nov 2014 11:47:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1417031271; bh=V/xtwwzGrJbNCPyrQ37AyiUNoe5CwV9Z51hdf81YyAY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=hGM4NILBszY9w4ckkacR8zcfNZMqIneyk0ynTF+MVUturelpKf8MxDGNRUpzmBI9h avEeo8ViS8ZV8dYzEhhXK4Ydc4FRSB16ebmSxnL6aMmmUT3Dngl6Ix6YCcr3vk4VDp PNNLQcInPdeZoJOUnQEUxgNCX6kdn/5dJLXIey2w=
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5D0763F@XMB116CNC.rim.net>
Date: Wed, 26 Nov 2014 11:49:28 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <0B11050B-31BF-458A-91EE-7F12AC36E3E2@shiftleft.org>
References: <810C31990B57ED40B2062BA10D43FBF5D072C5@XMB116CNC.rim.net> <CACsn0ck5vgB5qojL2o38Vb=mt9ZFNres+EVXBsBK=VRjrpwLzw@mail.gmail.com> <810C31990B57ED40B2062BA10D43FBF5D0742B@XMB116CNC.rim.net> <CACsn0ckthZehQZkYyBBcCmHKrf-DsCk5s95Mr8_kQcNSD+7hPQ@mail.gmail.com> <810C31990B57ED40B2062BA10D43FBF5D0763F@XMB116CNC.rim.net>
To: Dan Brown <dbrown@certicom.com>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/IEbANixcX595k-nVUKedcz651ys
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "djb@cr.yp.to" <djb@cr.yp.to>
Subject: Re: [Cfrg] Preliminary disclosure on twist security ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Nov 2014 19:49:34 -0000

So, I=E2=80=99m not a lawyer, and I haven=E2=80=99t read the full =
patent, but the applicability of the quoted claims seems like a stretch =
to me.

In the case of a full elliptic curve implementation, the group G =
that=E2=80=99s actually implemented is only the points on the elliptic =
curve, having order hr in your notation.  The formulas will usually be =
completely wrong for the twist, and they of course won=E2=80=99t handle =
general points in F_p^2.  So it doesn=E2=80=99t make sense to say that =
the author implemented a subgroup S of E(F_p^2) with order rr=E2=80=99, =
or hh=E2=80=99rr=E2=80=99, or anything like that, or that it was =
=E2=80=9Cselected=E2=80=9D or =E2=80=9Cutilised" for key agreement.  In =
this case, twist security isn=E2=80=99t very important anyway, because =
if you don=E2=80=99t do a curve membership check (possibly as part of =
decompression) you=E2=80=99ll get the wrong answer and will be exposed =
to attack.

In the case of an x-only implementation like X25519, where twist =
security matters, an algorithm like the Montgomery ladder does not =
implement a group at all.  Instead it implements only a =
powering/scalarmul map on the Kummer surface of the curve union its =
twist, and again not anything like a large subgroup of E(F_p^2).

=E2=80=94 Mike

> On Nov 26, 2014, at 11:12 AM, Dan Brown <dbrown@certicom.com> wrote:
>=20
>=20
>> -----Original Message-----
>> From: Watson Ladd
>>>=20
>>> Let F_p be the underlying field.
>>>=20
>>> Let E be the twist-secure curve, with size #E(F_p) =3D hr, where h =
is a=20
>>> small
>> cofactor and r a large prime.  Its twist E' has size h'r' where h' to =
the=20
>> another
>> small cofactor and r' is another large prime.
>>>=20
>>> Now G be the group of F_p^2 rational points, which is a group of =
size=20
>>> hh'rr',
>> right?
>>=20
>> Nope: Take t=3Dp+1-hr. t is the trace of a matrix with determinant p, =
say=20
>> diagonal
>> with \alpha and \beta as eigenvalues. |G| =3D p^2+1-t_2, where
>> t_2=3D\apha^2+\beta^2. Using Viete's formulas, or maybe Newton's, we =
write
>> t^2-2p=3Dt_2. So the order of |G| is p^2+2p+1-(p+1-hr)^2. It's not =
hh'rr'.
>>=20
>> I may have made a typo in the above: check Silverman for the exact =
details.
>>=20
> [DB] Ok, as a sanity check, I just checked the Blake--Seroussi--Smart =
book.=20
> The order of G is p^2 + 2p + 1 - t^2, just as say.  But this equals =
(p+1)-t^2=20
> =3D (p+1-t)(p+1+t) =3D (hr)(h'r'), as I claimed, right?
>=20
> My original reasoning was as follows. If x corresponds to a point =
outside=20
> E(F_p), then there exists y in F_p^2, with (x,y) on E(F_p^2), and the =
same=20
> addition law applies to this curve - it has the same equation - so =
surely=20
> (x,y) would have an order dividing h'r'.  This led me to conclude that=20=

> E(F_p^2) has subgroups of order r and r', and being abelian, has a =
subgroup of=20
> order rr'.  I had thought all this part of the twist security story.
>=20
> Indeed, when I inquired earlier this year about the risk associated =
not=20
> rejecting such x, I remember some people answering that this should be =
as=20
> secure as doing ECDH in E(F_p^2).
>=20
> Or, am I really misunderstanding twist security?
>=20
>=20
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Wed Nov 26 12:54:25 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BBDF61A1B5F for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 12:54:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
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 2y-COH5t7n_l for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 12:54:23 -0800 (PST)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id C67091A1B47 for <cfrg@irtf.org>; Wed, 26 Nov 2014 12:54:22 -0800 (PST)
Received: from xct102cnc.rim.net ([10.65.161.202]) by mhs214cnc.rim.net with ESMTP/TLS/AES128-SHA; 26 Nov 2014 15:54:17 -0500
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT102CNC.rim.net ([fe80::2066:5d4f:8c45:af55%17]) with mapi id 14.03.0174.001; Wed, 26 Nov 2014 15:54:16 -0500
From: Dan Brown <dbrown@certicom.com>
To: "'mike@shiftleft.org'" <mike@shiftleft.org>
Thread-Topic: [Cfrg] Preliminary disclosure on twist security ...
Thread-Index: AdAJieU4Ye2dd7TATPKiXX6WalzfrwAMWVyAAAkAiPD//9xbAIAAQ9Cg///ZOgCAAErXgA==
Date: Wed, 26 Nov 2014 20:54:16 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5D0775C@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5D072C5@XMB116CNC.rim.net> <CACsn0ck5vgB5qojL2o38Vb=mt9ZFNres+EVXBsBK=VRjrpwLzw@mail.gmail.com> <810C31990B57ED40B2062BA10D43FBF5D0742B@XMB116CNC.rim.net> <CACsn0ckthZehQZkYyBBcCmHKrf-DsCk5s95Mr8_kQcNSD+7hPQ@mail.gmail.com> <810C31990B57ED40B2062BA10D43FBF5D0763F@XMB116CNC.rim.net> <0B11050B-31BF-458A-91EE-7F12AC36E3E2@shiftleft.org>
In-Reply-To: <0B11050B-31BF-458A-91EE-7F12AC36E3E2@shiftleft.org>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_018D_01D00991.3B156470"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/h6Od_dzYGNhJQGsgwGlcn0ZZpDg
Cc: "'cfrg@irtf.org'" <cfrg@irtf.org>, "'djb@cr.yp.to'" <djb@cr.yp.to>
Subject: Re: [Cfrg] Preliminary disclosure on twist security ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Nov 2014 20:54:24 -0000

------=_NextPart_000_018D_01D00991.3B156470
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable



> -----Original Message-----
> From: Michael Hamburg [mailto:mike@shiftleft.org]
>=20
> So, I=E2=80=99m not a lawyer, and I haven=E2=80=99t read the full =
patent, but the applicability of
> the quoted claims seems like a stretch to me.
>=20
> In the case of a full elliptic curve implementation, the group G =
that=E2=80=99s actually
> implemented is only the points on the elliptic curve, having order hr =
in your
> notation.  The formulas will usually be completely wrong for the =
twist, and
> they of course won=E2=80=99t handle general points in F_p^2.  So it =
doesn=E2=80=99t make sense
> to say that the author implemented a subgroup S of E(F_p^2) with order =
rr=E2=80=99, or
> hh=E2=80=99rr=E2=80=99, or anything like that, or that it was =
=E2=80=9Cselected=E2=80=9D or =E2=80=9Cutilised" for key
> agreement.  In this case, twist security isn=E2=80=99t very important =
anyway, because if
> you don=E2=80=99t do a curve membership check (possibly as part of =
decompression)
> you=E2=80=99ll get the wrong answer and will be exposed to attack.
>=20
> In the case of an x-only implementation like X25519, where twist =
security
> matters, an algorithm like the Montgomery ladder does not implement a
> group at all.  Instead it implements only a powering/scalarmul map on =
the
> Kummer surface of the curve union its twist, and again not anything =
like a large
> subgroup of E(F_p^2).
>=20

Well, you raise some interesting arguments.

In patent terms, using twist secure curves, and x-only, can be argued, =
as I do below, to be additional elements, over and above what's in Claim =
59.  In patent law, adding elements does not escape coverage. A turbo =
charger on a car does _not_ make inapplicable any patents on seatbelts =
user in the car.  Of course, if non-obvious, useful, etc., additional =
elements can be used for a new patent.  The additional elements here are =
efficiency: avoiding the use of the big curve E(F_p^2), yet achieving =
some similar, and in sense equivalent.

So, for the x-only Montgomery ladder, would you say it's not even =
implementing Diffie-Hellman?   That seems a stretch to me, but I'll =
elaborate on my notion of equivalence.

I'd argue that the x-only Montgomery ladder without any check on x, is =
equivalent to ECDH over E(F_p^2), with an automatic check for points =
that are not of order hr or h'r' (i.e. the check is that x is in F_p, =
and is implicit), and further the representation of points is ambiguous, =
in that (x,y) and (x,-y) are treated identically.  Yes, you're right =
that a full E(F_p^2) implementation, say uncompressed, would need to =
some traditional public key validation, and in that regard, the x-only =
Montgomery without checking x also adds to security by obviating that =
additional check in a na=C3=AFve E(F_p^2) implementation.  However, it's =
the twist security that still protecting you from the remaining invalid =
x, by a mechanism similar to what is described in Claim 59. (So, maybe a =
more appropriate metaphor than the one above would be an automatic =
seatbelt instead of a turbocharger.)

Side question: Is not twist security also helpful some forms of =
compressed ECDH in addition to laddered ECDH, since a false square y =
computed in decompression of invalid x, corresponds to a point on the =
twist E'(F_p), which, yes, does have a different equation than E(F_p), =
but also has order h'r'.  In other, the twist E' and E are isomorphic, =
with the h'r' points on E'(F_p) mapping to an h'r' sized subgroup of =
E(F_p^2) under the isomorphism, right? =20

You also said the formulas will be completely wrong.  Well, many =
addition formulas are identical for E and E' ... and working over E, =
they are the same, up to the fact that whether you are handling F_p and =
F_p^2 coordinates.  The latter is addressed under the equivalence, and =
explains why the Montgomery works so nicely, even working over F_p when =
y should really be in F_p^2.

Best regards,

Dan

------=_NextPart_000_018D_01D00991.3B156470
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICCm2p3UcABAAABWowDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAy
WUtGMB4XDTE0MDUxNDE0MzYzOFoXDTE1MDUxNDE0MzYzOFowgaQxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xDTALBgNVBAsTBEFNRVIxCzAJBgNVBAsTAkNBMRQwEgYD
VQQLEwtNaXNzaXNzYXVnYTEOMAwGA1UECxMFVXNlcnMxEjAQBgNVBAMTCURhbiBCcm93bjEiMCAG
CSqGSIb3DQEJARYTZGJyb3duQGNlcnRpY29tLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
gYEA54YaBOai2UDS89LoHMbDcC4+c8dEl5TpkJWz0muqjnXP6xpSYqBzotsw9SpPD3/0wF8Dz77Z
hkYN8BDSF0RAdtmfXKXe40tQkHoplN4pos9jnBZW5e8HuTZUkEVC/q7bf399cskpxMt9MA934gvB
rSk1QNbR3D7Hq34t4bOHXSUCAwEAAaOCA5gwggOUMAsGA1UdDwQEAwIFoDBEBgkqhkiG9w0BCQ8E
NzA1MA4GCCqGSIb3DQMCAgIAgDAOBggqhkiG9w0DBAICAIAwBwYFKw4DAgcwCgYIKoZIhvcNAwcw
FwYJKwYBBAGCNxQCBAoeCABVAHMAZQByMCkGA1UdJQQiMCAGCisGAQQBgjcKAwQGCCsGAQUFBw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AzELBgkq
hkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTE0MTEyNjIwNTQxNVowIwYJKoZIhvcNAQkEMRYEFPcW
nSQUaAaymvy5BVR9/wPmbihtMG0GCSsGAQQBgjcQBDFgMF4wUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAy
WUtGAgptqd1HAAQAAAVqMG8GCyqGSIb3DQEJEAILMWCgXjBQMRMwEQYKCZImiZPyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDJZ
S0YCCm2p3UcABAAABWowgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYBD4ZXfVUwJcH7L6owtmwSW1Tw69iCu
eM/2in3EtYsydmDQ7MaXj8sA+yIicNN3abZWMEmq50z+i4M5E+a7wgpBVGg+96umamUhO+hrY8Rf
bS7jqLH8tQzr/58XDkanKc7Qna422LDDj/HvmW682LI/v6DEcirvu4YAgF19ShNAJgAAAAAAAA==

------=_NextPart_000_018D_01D00991.3B156470--


From nobody Wed Nov 26 13:41:53 2014
Return-Path: <mike@shiftleft.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 386721A1EF6 for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 13:41:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.456
X-Spam-Level: ****
X-Spam-Status: No, score=4.456 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, HTML_MESSAGE=0.001, J_CHICKENPOX_55=0.6, MANGLED_OFF=2.3, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
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 MKirRkkelK3P for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 13:41:49 -0800 (PST)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B37E21A1EFC for <cfrg@irtf.org>; Wed, 26 Nov 2014 13:41:46 -0800 (PST)
Received: from [10.184.148.249] (unknown [209.36.6.242]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 3E1803ABAF; Wed, 26 Nov 2014 13:40:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1417038006; bh=z8iRYXGOo6mQpAiVAA7dytMH9g83+4l+YTsDwfTGRgY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=cMBCUhZdyPOF30m7wbs2ch1PmSc3cHynWig1IRf/YKUdb60KJ2VDOFMP3pUxWcMZw EB/ilZ41pXue/0Owl2Eu2vwP5gl1BKqbitk2WOCSfgeeUBRpsx69RxcJ00OeHf9oHY jzGWLq8Ovw2wjSZC0/hHI/R6/wVcbrWyI0xuKf4g=
Content-Type: multipart/alternative; boundary="Apple-Mail=_247973E3-E902-48A8-A121-63B6DD9B8598"
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5D0775C@XMB116CNC.rim.net>
Date: Wed, 26 Nov 2014 13:41:43 -0800
Message-Id: <B7FBD89D-5E55-469D-BE00-CB0E886F7097@shiftleft.org>
References: <810C31990B57ED40B2062BA10D43FBF5D072C5@XMB116CNC.rim.net> <CACsn0ck5vgB5qojL2o38Vb=mt9ZFNres+EVXBsBK=VRjrpwLzw@mail.gmail.com> <810C31990B57ED40B2062BA10D43FBF5D0742B@XMB116CNC.rim.net> <CACsn0ckthZehQZkYyBBcCmHKrf-DsCk5s95Mr8_kQcNSD+7hPQ@mail.gmail.com> <810C31990B57ED40B2062BA10D43FBF5D0763F@XMB116CNC.rim.net> <0B11050B-31BF-458A-91EE-7F12AC36E3E2@shiftleft.org> <810C31990B57ED40B2062BA10D43FBF5D0775C@XMB116CNC.rim.net>
To: Dan Brown <dbrown@certicom.com>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/obhX2rHq3xkys3VLaZCM20EWmz0
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "djb@cr.yp.to" <djb@cr.yp.to>
Subject: Re: [Cfrg] Preliminary disclosure on twist security ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Nov 2014 21:41:51 -0000

--Apple-Mail=_247973E3-E902-48A8-A121-63B6DD9B8598
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Nov 26, 2014, at 12:54 PM, Dan Brown <dbrown@certicom.com> wrote:
>=20
>=20
>=20
>> -----Original Message-----
>> From: Michael Hamburg [mailto:mike@shiftleft.org]
>>=20
>> So, I=E2=80=99m not a lawyer, and I haven=E2=80=99t read the full =
patent, but the applicability of
>> the quoted claims seems like a stretch to me.
>>=20
>> In the case of a full elliptic curve implementation, the group G =
that=E2=80=99s actually
>> implemented is only the points on the elliptic curve, having order hr =
in your
>> notation.  The formulas will usually be completely wrong for the =
twist, and
>> they of course won=E2=80=99t handle general points in F_p^2.  So it =
doesn=E2=80=99t make sense
>> to say that the author implemented a subgroup S of E(F_p^2) with =
order rr=E2=80=99, or
>> hh=E2=80=99rr=E2=80=99, or anything like that, or that it was =
=E2=80=9Cselected=E2=80=9D or =E2=80=9Cutilised" for key
>> agreement.  In this case, twist security isn=E2=80=99t very important =
anyway, because if
>> you don=E2=80=99t do a curve membership check (possibly as part of =
decompression)
>> you=E2=80=99ll get the wrong answer and will be exposed to attack.
>>=20
>> In the case of an x-only implementation like X25519, where twist =
security
>> matters, an algorithm like the Montgomery ladder does not implement a
>> group at all.  Instead it implements only a powering/scalarmul map on =
the
>> Kummer surface of the curve union its twist, and again not anything =
like a large
>> subgroup of E(F_p^2).
>>=20
>=20
> Well, you raise some interesting arguments.
>=20
> In patent terms, using twist secure curves, and x-only, can be argued, =
as I do below, to be additional elements, over and above what's in Claim =
59.  In patent law, adding elements does not escape coverage. A turbo =
charger on a car does _not_ make inapplicable any patents on seatbelts =
user in the car.  Of course, if non-obvious, useful, etc., additional =
elements can be used for a new patent.  The additional elements here are =
efficiency: avoiding the use of the big curve E(F_p^2), yet achieving =
some similar, and in sense equivalent.
>=20
> So, for the x-only Montgomery ladder, would you say it's not even =
implementing Diffie-Hellman?   That seems a stretch to me, but I'll =
elaborate on my notion of equivalence.

> I'd argue that the x-only Montgomery ladder without any check on x, is =
equivalent to ECDH over E(F_p^2), with an automatic check for points =
that are not of order hr or h'r' (i.e. the check is that x is in F_p, =
and is implicit), and further the representation of points is ambiguous, =
in that (x,y) and (x,-y) are treated identically.  Yes, you're right =
that a full E(F_p^2) implementation, say uncompressed, would need to =
some traditional public key validation, and in that regard, the x-only =
Montgomery without checking x also adds to security by obviating that =
additional check in a na=C3=AFve E(F_p^2) implementation. However, it's =
the twist security that still protecting you from the remaining invalid =
x, by a mechanism similar to what is described in Claim 59. (So, maybe a =
more appropriate metaphor than the one above would be an automatic =
seatbelt instead of a turbocharger.)

So, this patent will require very tricky arguments, and you should =
consult a lawyer rather than relying on this analysis.  This is just how =
one *might* argue that twist-secure curves are not covered.

The Montgomery ladder mostly implements Diffie-Hellman over E(F(p)), not =
E(F_p^2).  It cannot represent or compute on the vast majority of =
elements of E(F_p^2).  The behavior of the twist is a side-effect.

Prime-field DH may be implemented over the full F*_p, or over a smaller =
(perhaps prime-order) subgroup.  Behavior that this patent describes =
where users intentionally use F*_p or a subgroup whose order is the =
product of large primes clearly does not apply here.  It=E2=80=99s only =
for cases where the users are trying to implement a prime- or =
nearly-prime-order subgroup S of F*_p that could apply, because users of =
twist-secure curves are definitely not intentionally working over =
E(F_p^2).

Even if the intent is to generate only a prime-order subgroup S of F*_p =
and to use the rest to deter small-subgroup attacks, there is an =
important difference from the patented material.  The F*_p DH case will =
actually use the full group F*_p, but the Kummer ECDH code implements =
only the union of E(F_p) and its twist.

That may be enough to prevent it from being covered, or it may not.  On =
the one hand, using different language to describe something doesn=E2=80=99=
t prevent it from being covered.  On the other hand, there really is a =
qualitative difference between an implementation of the full G =3D =
E(F_p^2) and just the curve+twist.  Furthermore, the language of (53) is =
very vague: it doesn=E2=80=99t specify that G or S is used in any way in =
the key generation, only alpha.  So one might say that it doesn=E2=80=99t =
matter whether the full G or S is implemented.  But if interpreted that =
broadly, it=E2=80=99s probably too vague to be valid.

> Side question: Is not twist security also helpful some forms of =
compressed ECDH in addition to laddered ECDH, since a false square y =
computed in decompression of invalid x, corresponds to a point on the =
twist E'(F_p), which, yes, does have a different equation than E(F_p), =
but also has order h'r'.  In other, the twist E' and E are isomorphic, =
with the h'r' points on E'(F_p) mapping to an h'r' sized subgroup of =
E(F_p^2) under the isomorphism, right? =20
>=20
> You also said the formulas will be completely wrong.  Well, many =
addition formulas are identical for E and E' ... and working over E, =
they are the same, up to the fact that whether you are handling F_p and =
F_p^2 coordinates.  The latter is addressed under the equivalence, and =
explains why the Montgomery works so nicely, even working over F_p when =
y should really be in F_p^2.

No, usually xy formulas assume that y^2 =3D f(x), not u f(x) for some =
quadratic nonresidue u.

> Best regards,
>=20
> Dan

Cheers,
=E2=80=94 Mike=

--Apple-Mail=_247973E3-E902-48A8-A121-63B6DD9B8598
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Nov 26, 2014, at 12:54 PM, Dan Brown &lt;<a =
href=3D"mailto:dbrown@certicom.com" class=3D"">dbrown@certicom.com</a>&gt;=
 wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family:=
 Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><blockquote type=3D"cite" =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D"">-----Original =
Message-----<br class=3D"">From: Michael Hamburg [<a =
href=3D"mailto:mike@shiftleft.org" =
class=3D"">mailto:mike@shiftleft.org</a>]<br class=3D""><br class=3D"">So,=
 I=E2=80=99m not a lawyer, and I haven=E2=80=99t read the full patent, =
but the applicability of<br class=3D"">the quoted claims seems like a =
stretch to me.<br class=3D""><br class=3D"">In the case of a full =
elliptic curve implementation, the group G that=E2=80=99s actually<br =
class=3D"">implemented is only the points on the elliptic curve, having =
order hr in your<br class=3D"">notation. &nbsp;The formulas will usually =
be completely wrong for the twist, and<br class=3D"">they of course =
won=E2=80=99t handle general points in F_p^2. &nbsp;So it doesn=E2=80=99t =
make sense<br class=3D"">to say that the author implemented a subgroup S =
of E(F_p^2) with order rr=E2=80=99, or<br class=3D"">hh=E2=80=99rr=E2=80=99=
, or anything like that, or that it was =E2=80=9Cselected=E2=80=9D or =
=E2=80=9Cutilised" for key<br class=3D"">agreement. &nbsp;In this case, =
twist security isn=E2=80=99t very important anyway, because if<br =
class=3D"">you don=E2=80=99t do a curve membership check (possibly as =
part of decompression)<br class=3D"">you=E2=80=99ll get the wrong answer =
and will be exposed to attack.<br class=3D""><br class=3D"">In the case =
of an x-only implementation like X25519, where twist security<br =
class=3D"">matters, an algorithm like the Montgomery ladder does not =
implement a<br class=3D"">group at all. &nbsp;Instead it implements only =
a powering/scalarmul map on the<br class=3D"">Kummer surface of the =
curve union its twist, and again not anything like a large<br =
class=3D"">subgroup of E(F_p^2).<br class=3D""><br =
class=3D""></blockquote><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">Well, you raise some =
interesting arguments.</span><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">In patent terms, using =
twist secure curves, and x-only, can be argued, as I do below, to be =
additional elements, over and above what's in Claim 59. &nbsp;In patent =
law, adding elements does not escape coverage. A turbo charger on a car =
does _not_ make inapplicable any patents on seatbelts user in the car. =
&nbsp;Of course, if non-obvious, useful, etc., additional elements can =
be used for a new patent. &nbsp;The additional elements here are =
efficiency: avoiding the use of the big curve E(F_p^2), yet achieving =
some similar, and in sense equivalent.</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">So, for the x-only Montgomery ladder, would you =
say it's not even implementing Diffie-Hellman? &nbsp;&nbsp;That seems a =
stretch to me, but I'll elaborate on my notion of equivalence.</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" =
class=3D""></div></blockquote><div><br class=3D""></div><blockquote =
type=3D"cite" class=3D""><div class=3D""><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">I'd argue that the x-only Montgomery ladder =
without any check on x, is equivalent to ECDH over E(F_p^2), with an =
automatic check for points that are not of order hr or h'r' (i.e. the =
check is that x is in F_p, and is implicit), and further the =
representation of points is ambiguous, in that (x,y) and (x,-y) are =
treated identically. &nbsp;Yes, you're right that a full E(F_p^2) =
implementation, say uncompressed, would need to some traditional public =
key validation, and in that regard, the x-only Montgomery without =
checking x also adds to security by obviating that additional check in a =
na=C3=AFve E(F_p^2) implementation. However, it's the twist security =
that still protecting you from the remaining invalid x, by a mechanism =
similar to what is described in Claim 59. (So, maybe a more appropriate =
metaphor than the one above would be an automatic seatbelt instead of a =
turbocharger.)</span><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""></div></blockquote><div><br class=3D""></div><div>So, this =
patent will require very tricky arguments, and you should consult a =
lawyer rather than relying on this analysis. &nbsp;This is just how one =
*might* argue that twist-secure curves are not covered.</div><div><br =
class=3D""></div><div><div>The Montgomery ladder mostly implements =
Diffie-Hellman over E(F(p)), not E(F_p^2). &nbsp;It cannot represent or =
compute on the vast majority of elements of E(F_p^2). &nbsp;The behavior =
of the twist is a side-effect.</div><div><br =
class=3D""></div><div>Prime-field DH may be implemented over the full =
F*_p, or over a smaller (perhaps prime-order) subgroup. &nbsp;Behavior =
that this patent describes where users intentionally use F*_p or a =
subgroup whose order is the product of large primes clearly does not =
apply here. &nbsp;It=E2=80=99s only for cases where the users are trying =
to implement a prime- or nearly-prime-order subgroup S of F*_p that =
could apply, because users of twist-secure curves are definitely not =
intentionally working over E(F_p^2).</div><div><br =
class=3D""></div><div>Even if the intent is to generate only a =
prime-order subgroup S of F*_p and to use the rest to deter =
small-subgroup attacks, there is an important difference from the =
patented material. &nbsp;The F*_p DH case will actually use the full =
group F*_p, but the Kummer ECDH code implements only the union of E(F_p) =
and its twist.</div><div><br class=3D""></div><div>That may be enough to =
prevent it from being covered, or it may not. &nbsp;On the one hand, =
using different language to describe something doesn=E2=80=99t prevent =
it from being covered. &nbsp;On the other hand, there really is a =
qualitative difference between an implementation of the full G =3D =
E(F_p^2) and just the curve+twist. &nbsp;Furthermore, the language of =
(53) is very vague: it doesn=E2=80=99t specify that G or S is used in =
any way in the key generation, only alpha. &nbsp;So one might say that =
it doesn=E2=80=99t matter whether the full G or S is implemented. =
&nbsp;But if interpreted that broadly, it=E2=80=99s probably too vague =
to be valid.</div></div><br class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D""><span style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
float: none; display: inline !important;" class=3D"">Side question: Is =
not twist security also helpful some forms of compressed ECDH in =
addition to laddered ECDH, since a false square y computed in =
decompression of invalid x, corresponds to a point on the twist E'(F_p), =
which, yes, does have a different equation than E(F_p), but also has =
order h'r'. &nbsp;In other, the twist E' and E are isomorphic, with the =
h'r' points on E'(F_p) mapping to an h'r' sized subgroup of E(F_p^2) =
under the isomorphism, right? &nbsp;</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">You also said the formulas will be completely =
wrong. &nbsp;Well, many addition formulas are identical for E and E' ... =
and working over E, they are the same, up to the fact that whether you =
are handling F_p and F_p^2 coordinates. &nbsp;The latter is addressed =
under the equivalence, and explains why the Montgomery works so nicely, =
even working over F_p when y should really be in F_p^2.</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" =
class=3D""></div></blockquote><div><br class=3D""></div><div>No, usually =
xy formulas assume that y^2 =3D f(x), not u f(x) for some quadratic =
nonresidue u.</div><br class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D""><span style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
float: none; display: inline !important;" class=3D"">Best =
regards,</span><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" =
class=3D"">Dan</span></div></blockquote></div><br class=3D""><div =
class=3D"">Cheers,</div><div class=3D"">=E2=80=94 =
Mike</div></body></html>=

--Apple-Mail=_247973E3-E902-48A8-A121-63B6DD9B8598--


From nobody Wed Nov 26 15:31:45 2014
Return-Path: <sean.parkinson@rsa.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DEADE1A8796 for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 15:31:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.301
X-Spam-Level: 
X-Spam-Status: No, score=-4.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
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 Y0Fk_AmGNMQR for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 15:31:41 -0800 (PST)
Received: from mailuogwdur.emc.com (mailuogwdur.emc.com [128.221.224.79]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 323A71A878C for <cfrg@irtf.org>; Wed, 26 Nov 2014 15:31:40 -0800 (PST)
Received: from maildlpprd55.lss.emc.com (maildlpprd55.lss.emc.com [10.106.48.159]) by mailuogwprd51.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id sAQNVcCi022340 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 26 Nov 2014 18:31:39 -0500
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com sAQNVcCi022340
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=rsa.com; s=jan2013; t=1417044699; bh=0f1k/spvaNyGmlmoi1TMwga1Ka0=; h=From:To:CC:Date:Subject:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=li1k1gYOJHuiTdn5zbHTeShx1FYvOoq/ceZCn4YdafYoLy6OusBUhpADuUHPJ84V1 8HAj41iCxbhZrH2hyGTn6m5ed7nNOcZvY4VFujoM3IRvukD61g/YKB/3IkfqThPjHL Asd+jAgfosn8RAQ4/Nizv39OHIDWPoPtuXiiestg=
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd51.lss.emc.com sAQNVcCi022340
Received: from mailusrhubprd04.lss.emc.com (mailusrhubprd04.lss.emc.com [10.253.24.22]) by maildlpprd55.lss.emc.com (RSA Interceptor); Wed, 26 Nov 2014 18:30:55 -0500
Received: from mxhub06.corp.emc.com (mxhub06.corp.emc.com [128.222.70.203]) by mailusrhubprd04.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id sAQNVEDk003959 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 26 Nov 2014 18:31:14 -0500
Received: from mx17a.corp.emc.com ([169.254.1.228]) by mxhub06.corp.emc.com ([128.222.70.203]) with mapi; Wed, 26 Nov 2014 18:31:14 -0500
From: "Parkinson, Sean" <sean.parkinson@rsa.com>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
Date: Wed, 26 Nov 2014 18:31:11 -0500
Thread-Topic: [Cfrg] Elliptic curve evaluation truths
Thread-Index: AdAIhUScn/JQkG3QSJOURMsxShDNUwASHk4AAA+gqgAABC8YAAAP9B0AABzRV6A=
Message-ID: <2FBC676C3BBFBB4AA82945763B361DE60BF9B914@MX17A.corp.emc.com>
References: <2FBC676C3BBFBB4AA82945763B361DE60BF9B858@MX17A.corp.emc.com> <CACsn0ck=0meRduRi7gCpX=Lp2NffKjQJQhY-QR+erEg2WbKkZg@mail.gmail.com> <2FBC676C3BBFBB4AA82945763B361DE60BF9B8A4@MX17A.corp.emc.com> <85CC278A-E032-4748-BC8F-DEF4C058C6DB@shiftleft.org> <D09B4E4F.37B2B%kenny.paterson@rhul.ac.uk>
In-Reply-To: <D09B4E4F.37B2B%kenny.paterson@rhul.ac.uk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd04.lss.emc.com
X-RSA-Classifications: DLM_1, public
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/_bQo2l-qgbjMvaB5B02yUe6fN40
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Elliptic curve evaluation truths
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Nov 2014 23:31:44 -0000

Some of the statements are not as simple as they may at first appear.
By teasing out the facts from the disputed statements I was hoping to get c=
larity around where the groups thoughts are at.

Anyway, I am now looking forward to the significant developments!

Thanks Kenny,
Sean
--
Sean Parkinson | Consultant Software Engineer | RSA, The Security Division=
=A0of EMC
Office +61 7 3032 5232 | Fax +61 7 3032 5299
www.rsa.com


-----Original Message-----
From: Paterson, Kenny [mailto:Kenny.Paterson@rhul.ac.uk]=20
Sent: Wednesday, 26 November 2014 7:39 PM
To: Michael Hamburg; Parkinson, Sean
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Elliptic curve evaluation truths

Hi Everyone,

Thanks for contributing to this thread. It's helpful in establishing some f=
acts that will help to inform our decision-making for people who are not so=
 aware of the basic issues. But, please, let's not get into huge amounts of=
 details here, as it will distract us from our main business.

On that front, I'm hoping we'll have some significant developments in the n=
ext couple of days that will help us move forward with that main work of se=
lecting curves to recommend to the TLS WG.

Cheers

Kenny

On 26/11/2014 02:02, "Michael Hamburg" <mike@shiftleft.org> wrote:

>Usually Montgomery curves are used because they have a very simple and=20
>efficient x-only Montgomery ladder implementation, where the y=20
>coordinate is not computed, at least not in the inner loop.
>
>It is not possible to add two points without some information about the=20
>y-coordinate.  However, if the y-coordinate is given (compressed on the=20
>wire, but uncompressed internally), then it possible to add points on a=20
>Montgomery curve.  That=B9s not what people will do, though.  Instead=20
>they=B9ll convert to (twisted) Edwards, where all the math is much simpler=
.
> Depending on the signature form, it may be possible to verify without=20
>adding, but people probably won=B9t do that either.
>
>Likewise, it is possible but not practical to use =B3pools of points=B2 on=
=20
>a Montgomery curve.  Instead people will use Edwards form.
>
>So I would state:
>
>def) =B3Twisted Edwards=B2 includes traditional Edwards curves with a =3D =
1.
>
>0) Every Montgomery curve is equivalent (isomorphic) to a Twisted=20
>Edwards curve.  Every Twisted Edwards curve is equivalent to a=20
>Montgomery or twisted Montgomery curve.  Every elliptic curve is=20
>equivalent to a short Weierstrass curve.
>
>4) Signing and verification on a Montgomery curve practically requires=20
>using Twisted Edwards form.
>
>6) Twisted Edwards and short Weierstrass curves support precomputed=20
>tables to speed up ephemeral DH.  Supporting this for Montgomery curves=20
>practically requires using Twisted Edwards form.
>
>Nitpicking Watson=B9s claims:
>
>Every curve supports the Montgomery ladder, often in several flavors.
>Montgomery curves are used because they have a particularly simple and=20
>efficient Montgomery ladder.  A curve with a point of order 4 in some=20
>other form may have a somewhat slower or more complex Montgomery ladder=20
>than Montgomery curves.
>
>Cheers,
>< Mike
>
>
>> On Nov 25, 2014, at 4:02 PM, Parkinson, Sean <sean.parkinson@rsa.com>
>>wrote:
>>=20
>> My understanding is that because you can't efficiently perform a=20
>>point add operation of two random points with Montgomery curves then=20
>>signature schemes are out.
>> Is there inefficient algorithms for performing point add on the=20
>>Montgomery curve?
>> I intended to not include transforming points to other curve types.=20
>>So maybe,
>>  4. Signing and verification operations on Montgomery curves is not=20
>>possible.
>>=20
>> I'm intentionally not talking about simplicity of implementations.=20
>>That is making things more complicated and hiding the 'truths'.
>>=20
>> Sorry, 'Pools of points' was my name for the technique of having a=20
>>number of pre-generated points that are then added to each other to=20
>>quickly generate new points for TLS PFS.
>>=20
>>=20
>> Sean
>> --
>> Sean Parkinson | Consultant Software Engineer | RSA, The Security=20
>>Division of EMC  Office +61 7 3032 5232 | Fax +61 7 3032 5299 =20
>>www.rsa.com
>>=20
>>=20
>> -----Original Message-----
>> From: Watson Ladd [mailto:watsonbladd@gmail.com]
>> Sent: Wednesday, 26 November 2014 2:35 AM
>> To: Parkinson, Sean
>> Cc: cfrg@irtf.org
>> Subject: Re: [Cfrg] Elliptic curve evaluation truths
>>=20
>> On Mon, Nov 24, 2014 at 11:56 PM, Parkinson, Sean=20
>><sean.parkinson@rsa.com> wrote:
>>> In hopes of reaching consensus, I thought I might start a list of=20
>>> known truths.
>>>=20
>>> Please don=B9t just argue against each point but instead look to=20
>>> refine the statements where possible.
>>>=20
>>>=20
>>>=20
>>> 1.       Only curves over prime fields are being considered.
>>>=20
>>> 2.       Good, efficient implementations of Twisted Edwards curves will
>>> faster than good, efficient implementations of short Weierstrass=20
>>> with the same prime.
>>>=20
>>> 3.       Good, efficient Montgomery curve implementations are simpler
>>>than
>>> good, efficient Twisted Edwards and short Weierstrass curve=20
>>>implementations.
>>>=20
>>> 4.       Montgomery curves cannot be used for signing/verification
>>> operations.
>>=20
>> This is incorrect: see DJB's "Curves, Coordinates and Computation=20
>>emails". One can retrieve y-coordinates from the Montgomery ladder.
>> In fact, 2 and 3 both need to be reworked in light of this email.
>>=20
>> The correct statement is that curves with a complete addition law are=20
>>easy to work with, and that the Montgomery ladder is also very simple.
>> Curves have a complete addition law if they are isomorphic to Edwards=20
>>curves, which is almost the same as having a point of order 4. The=20
>>Montgomery ladder works for curves with a point of order 4. (I may=20
>>have gotten the conditions somewhat wrong: this is morally correct)
>>=20
>> How the curve is presented on the wire doesn't change this: one does=20
>>a few fast calculations to put the point retrieved from the wire in=20
>>the preferred form for calculation, and a few fast ones at the end to=20
>>put it back in the form on the wire.
>>=20
>> This is also missing security considerations: it's easy to get=20
>>multiplication correct with a complete addition law, much harder=20
>>without one. Edwards curves always have a complete addition law, while=20
>>Twisted Edwards may or may not, depending on the value $a$ being a=20
>>quadratic residue or not.
>>=20
>>>=20
>>> 5.       Small co-factor curves are no weaker, in terms of small
>>>subgroup
>>> attacks, than co-factor 1 curves.
>>>=20
>>> 6.       Twisted Edwards and short Weierstrass but not Montgomery
>>>curves
>>> support pools of points for ephemeral DH.
>>=20
>> What do you mean by pools of points? Do you mean fast fixed-based=20
>>exponentiation? In that case one can do a fast fixed-based=20
>>exponentiation on the isomorphic or isogenous Edwards curve, and use a=20
>>few fast computations to get the point on the Montgomery curve.
>>=20
>>>=20
>>> 7.       NIST curves are going to be in use for some time.
>>>=20
>>> 8.       One curve at about WF-128 is required.
>>>=20
>>> 9.       At least one curve with WF greater than 128 is required.
>>>=20
>>> 10.   Good, efficient implementations of curves using special primes
>>>are
>>> significantly faster than good, efficient implementations using=20
>>>random  primes.
>>>=20
>>> 11.   There are steps in performance based on the number of words used.
>>>=20
>>> 12.   There are a few special primes that are significantly faster
>>>than the
>>> step they are on.
>>>=20
>>> 13.   The curves chosen will be used for ECDH and ECDSA.
>>>=20
>>> 14.   The curves will be used in TLS and certificates.
>>>=20
>>>=20
>>>=20
>>> If you have more truths then please add to this list.
>>>=20
>>>=20
>>> Sean
>>>=20
>>> --
>>>=20
>>> Sean Parkinson | Consultant Software Engineer | RSA, The Security=20
>>> Division of EMC
>>>=20
>>> Office +61 7 3032 5232 | Fax +61 7 3032 5299
>>>=20
>>> www.rsa.com
>>>=20
>>>=20
>>>=20
>>>=20
>>> _______________________________________________
>>> Cfrg mailing list
>>> Cfrg@irtf.org
>>> http://www.irtf.org/mailman/listinfo/cfrg
>>>=20
>>=20
>>=20
>>=20
>> --
>> "Those who would give up Essential Liberty to purchase a little=20
>>Temporary Safety deserve neither  Liberty nor Safety."
>> -- Benjamin Franklin
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> http://www.irtf.org/mailman/listinfo/cfrg
>
>_______________________________________________
>Cfrg mailing list
>Cfrg@irtf.org
>http://www.irtf.org/mailman/listinfo/cfrg


From nobody Wed Nov 26 20:25:55 2014
Return-Path: <b@b3k.us>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EC2491A87BA for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 20:25:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.078
X-Spam-Level: 
X-Spam-Status: No, score=-0.078 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 SQMZ4YNfbxPx for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 20:25:51 -0800 (PST)
Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6D2241A87C7 for <cfrg@irtf.org>; Wed, 26 Nov 2014 20:25:51 -0800 (PST)
Received: by mail-wg0-f43.google.com with SMTP id l18so5367731wgh.30 for <cfrg@irtf.org>; Wed, 26 Nov 2014 20:25:50 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=uHM9YmA2+WzBj9j5x9uLejdCbRJ81ONurL4/ZT1YR8I=; b=ay1Hu6la07RxbDv/QLtwlojYfm9CsnAAjaoxRiJB/SS0zYjNmxHOry9iopgYXIIh6q 5ZN832Nh1mBziZMTGbEVKuyCoQFUOnYTeqlcr1Q9BFm3WwKMrbfwQXALP20gMXwdgPid /WusDr5Xt0zbMlexi2pThrqGnsNoY3XF75EfxA1MemlCY1GTAXeClnk/Dw7RLWAfc0sH +pkZxea+NrahaOvfKkrANI87bat4GpJ4rtRAiPKYN0PCddNPIixvgA3TQ7uMeO3VV82Z NcYZ3d7vY71FSoeWwVd+JE/DwPI3oZ6cPzmgeYdNYrCnd0SxSVZk5yhT+wWopMp3CLpY aqNA==
X-Gm-Message-State: ALoCoQk1cwtHNhQVwGzQwtjnZvCmRtZpcLx1EIXNdGKzE4vY/u1fR6hJBaVD/ok9P92S7aiAaQFy
X-Received: by 10.180.100.230 with SMTP id fb6mr26711761wib.73.1417062350169;  Wed, 26 Nov 2014 20:25:50 -0800 (PST)
MIME-Version: 1.0
Received: by 10.217.191.195 with HTTP; Wed, 26 Nov 2014 20:25:29 -0800 (PST)
From: Benjamin Black <b@b3k.us>
Date: Wed, 26 Nov 2014 20:25:29 -0800
Message-ID: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: multipart/alternative; boundary=f46d041824ee01be6c0508cf8aea
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Zf3uWu1EmLh6v3d5T0MN8vImTU4
Subject: [Cfrg] Consensus and a way forward
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 04:25:54 -0000

--f46d041824ee01be6c0508cf8aea
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

All,

Over the past couple of weeks we have been working with Adam Langley to see
if we could find a compromise with which we could all live. I'm pleased to
say we have been successful in accommodating our respective performance and
trustworthy generation concerns, and I hope the resulting proposal will be
attractive to others, as well. The generation procedure is document in a
draft I've just posted that can be found at
http://www.ietf.org/id/draft-black-rpgecc-00.txt .

The simplest summary is that we have combined the prime preferred by Adam
and others at the 128-bit security level with the rigid parameter
generation we view as essential for producing the most trustworthy curves.
We have used the generation procedure to produce a new twisted Edwards
curve based on 2^255 - 19 and a new Edwards curve based on 2^384 - 317.
These new curves are given as test vectors in the draft, and are also given
below.

These 2 curves are sufficient for meeting the request from TLS. However, if
there is strong interest in a 3rd curve for the 256-bit security level, the
generation procedure=E2=80=8B=E2=80=8B gives the same curve with p =3D2^521=
 - 1 as several
teams produced.


b

--

2^255 - 19

   p =3D 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
         FFFFFFFFFFED
   d =3D 0x15E93
   r =3D 0x2000000000000000000000000000000016241E6093B2CE59B6B9
         8FD8849FAF35
x(P) =3D 0x3B7C1D83A0EF56F1355A0B5471E42537C26115EDE4C948391714
         C0F582AA22E2
y(P) =3D 0x775BE0DEC362A16E78EFFE0FF4E35DA7E17B31DC1611475CB4BE
         1DA9A3E5A819
   h =3D 0x4


2^384 - 317

     p =3D 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
           FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEC3
     d =3D 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
           FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD19F
     r =3D 0x3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE2471A1
           CB46BE1CF61E4555AAB35C87920B9DCC4E6A3897D
  x(P) =3D 0x61B111FB45A9266CC0B6A2129AE55DB5B30BF446E5BE4C005763FFA
           8F33163406FF292B16545941350D540E46C206BDE
  y(P) =3D 0x82983E67B9A6EEB08738B1A423B10DD716AD8274F1425F56830F98F
           7F645964B0072B0F946EC48DC9D8D03E1F0729392
     h =3D 0x4

--f46d041824ee01be6c0508cf8aea
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>All,</div><div><br></div><div>Over the past couple of=
 weeks we have been working with Adam Langley to see if we could find a com=
promise with which we could all live. I&#39;m pleased to say we have been s=
uccessful in accommodating our respective performance and trustworthy gener=
ation concerns, and I hope the resulting proposal will be attractive to oth=
ers, as well. The generation procedure is document in a draft I&#39;ve just=
 posted that can be found at <a href=3D"http://www.ietf.org/id/draft-black-=
rpgecc-00.txt">http://www.ietf.org/id/draft-black-rpgecc-00.txt</a> .</div>=
<div><br></div><div>The simplest summary is that we have combined the prime=
 preferred by Adam and others at the 128-bit security level with the rigid =
parameter generation we view as essential for producing the most trustworth=
y curves. We have used the generation procedure to produce a new twisted Ed=
wards curve based on 2^255 - 19 and a new Edwards curve based on 2^384 - 31=
7. These new curves are given as test vectors in the draft, and are also gi=
ven below.</div><div><br></div><div>These 2 curves are sufficient for meeti=
ng the request from TLS. However, if there is strong interest in a 3rd curv=
e for the 256-bit security level, the generation procedure=E2=80=8B=E2=80=
=8B gives the same curve with p =3D2^521 - 1 as several teams produced.</di=
v><div><br></div><div><br></div><div>b</div><div><br></div><div>--</div><di=
v><br></div><div>2^255 - 19</div><div><br></div><div>=C2=A0 =C2=A0p =3D 0x7=
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF</div><div>=C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0FFFFFFFFFFED</div><div>=C2=A0 =C2=A0d =3D 0x15E93</div=
><div>=C2=A0 =C2=A0r =3D 0x2000000000000000000000000000000016241E6093B2CE59=
B6B9</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A08FD8849FAF35</div><div>x(P=
) =3D 0x3B7C1D83A0EF56F1355A0B5471E42537C26115EDE4C948391714</div><div>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0C0F582AA22E2</div><div>y(P) =3D 0x775BE0DEC3=
62A16E78EFFE0FF4E35DA7E17B31DC1611475CB4BE</div><div>=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A01DA9A3E5A819</div><div>=C2=A0 =C2=A0h =3D 0x4</div><div><br></=
div><div><br></div><div>2^384 - 317</div><div><br></div><div>=C2=A0 =C2=A0 =
=C2=A0p =3D 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF</div>=
<div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0FFFFFFFFFFFFFFFFFFFFFFFFFFFFF=
FFFFFFFFFEC3</div><div>=C2=A0 =C2=A0 =C2=A0d =3D 0xFFFFFFFFFFFFFFFFFFFFFFFF=
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD19F</div><div>=C2=A0 =C2=A0=
 =C2=A0r =3D 0x3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE2471A1</div=
><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0CB46BE1CF61E4555AAB35C87920B=
9DCC4E6A3897D</div><div>=C2=A0 x(P) =3D 0x61B111FB45A9266CC0B6A2129AE55DB5B=
30BF446E5BE4C005763FFA</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A08=
F33163406FF292B16545941350D540E46C206BDE</div><div>=C2=A0 y(P) =3D 0x82983E=
67B9A6EEB08738B1A423B10DD716AD8274F1425F56830F98F</div><div>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A07F645964B0072B0F946EC48DC9D8D03E1F0729392</div><=
div>=C2=A0 =C2=A0 =C2=A0h =3D 0x4</div><div><br></div></div>

--f46d041824ee01be6c0508cf8aea--


From nobody Wed Nov 26 21:26:17 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C2C681A8879 for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 21:26:13 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 mJqdfIuycHNI for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 21:26:11 -0800 (PST)
Received: from mail-yk0-x235.google.com (mail-yk0-x235.google.com [IPv6:2607:f8b0:4002:c07::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 553911A8876 for <cfrg@irtf.org>; Wed, 26 Nov 2014 21:26:11 -0800 (PST)
Received: by mail-yk0-f181.google.com with SMTP id 142so1892273ykq.26 for <cfrg@irtf.org>; Wed, 26 Nov 2014 21:26:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RsxJuSnHgy2fFR+4Z6GBK7uUlbaFHWRKWfBFxAfYStI=; b=YUtlYC4izfQ3Uf7+gd068C3K6ng4VZL/0EuXPNYAMSGX2rFvkRlq8EIJVwqAnRrE6n DoVcrsiWDuTkctLsn7O1WtZRLmT0/Q0pEIuMeKq6iMhDHv/xcJ2QGk6KyxjPbDqD1rg2 GPEtxQK4XOFPTh/1jutd3vMaLVbqq66fN2PMkb6/80m6XQDddhlpbmJkMZum5z5t8qhX szvAMPJWaF2q61yZXZ9NFJAs5VXYU/dMUecUiwMWobSv1NAB7JBzj6fUPGpV+DJo858T OYYp3toc+7jwhwkkV3HQ/Ac46AwXMdwefXPHjhnWatv0IX1aHyWgqT4zzg9T403nIeAw MyjQ==
MIME-Version: 1.0
X-Received: by 10.170.214.6 with SMTP id g6mr40592269ykf.34.1417065970522; Wed, 26 Nov 2014 21:26:10 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Wed, 26 Nov 2014 21:26:10 -0800 (PST)
In-Reply-To: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com>
Date: Wed, 26 Nov 2014 21:26:10 -0800
Message-ID: <CACsn0cmcP=9s53kGPUdNjHyJpZMfEbCkWHEGiEwPCzfMWPGPnA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Benjamin Black <b@b3k.us>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/_CgyaULbrYny45oWrYpVAwcMUyw
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Consensus and a way forward
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 05:26:14 -0000

On Wed, Nov 26, 2014 at 8:25 PM, Benjamin Black <b@b3k.us> wrote:
> All,
>
> Over the past couple of weeks we have been working with Adam Langley to see
> if we could find a compromise with which we could all live. I'm pleased to
> say we have been successful in accommodating our respective performance and
> trustworthy generation concerns, and I hope the resulting proposal will be
> attractive to others, as well. The generation procedure is document in a
> draft I've just posted that can be found at
> http://www.ietf.org/id/draft-black-rpgecc-00.txt .

This document doesn't address the most important questions:

1: What goes on the wire for ECDH? Montgomery points, points native to
each curve formula, or Weierstrass points?
2: How are signatures computed?
3: Clear bits, multiply by cofactors, or check group membership?
4: Point compression or no point compression?

Given that generators are recorded for a prime order subgroup, it
would seem that we are checking group membership, which will lead to
the check being omitted and resultant, albeit minor, security issues.

>
> The simplest summary is that we have combined the prime preferred by Adam
> and others at the 128-bit security level with the rigid parameter generation
> we view as essential for producing the most trustworthy curves. We have used
> the generation procedure to produce a new twisted Edwards curve based on
> 2^255 - 19 and a new Edwards curve based on 2^384 - 317. These new curves
> are given as test vectors in the draft, and are also given below.

Why 2^384-317 and not 2^383-31 or 2^389-21? This choice of prime
really pinches the allowable radixes for carry-free multiplication
reduction, and thus hurts efficiency, more than the 2^255-19 vs
2^256-189 decision at the lower security level. Far from being a
simultaneous accommodation of the performance concerns and the
generation concerns, this is clearly horse trading, with performance
being given the choice of the 255 bit prime, and a similar improvement
not happening at the 384 bit prime.

>
> These 2 curves are sufficient for meeting the request from TLS. However, if
> there is strong interest in a 3rd curve for the 256-bit security level, the
> generation procedure gives the same curve with p =2^521 - 1 as several teams
> produced.

Sincerely,
Watson Ladd
>
>
> b
>
> --
>
> 2^255 - 19
>
>    p = 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
>          FFFFFFFFFFED
>    d = 0x15E93
>    r = 0x2000000000000000000000000000000016241E6093B2CE59B6B9
>          8FD8849FAF35
> x(P) = 0x3B7C1D83A0EF56F1355A0B5471E42537C26115EDE4C948391714
>          C0F582AA22E2
> y(P) = 0x775BE0DEC362A16E78EFFE0FF4E35DA7E17B31DC1611475CB4BE
>          1DA9A3E5A819
>    h = 0x4
>
>
> 2^384 - 317
>
>      p = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
>            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEC3
>      d = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
>            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD19F
>      r = 0x3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE2471A1
>            CB46BE1CF61E4555AAB35C87920B9DCC4E6A3897D
>   x(P) = 0x61B111FB45A9266CC0B6A2129AE55DB5B30BF446E5BE4C005763FFA
>            8F33163406FF292B16545941350D540E46C206BDE
>   y(P) = 0x82983E67B9A6EEB08738B1A423B10DD716AD8274F1425F56830F98F
>            7F645964B0072B0F946EC48DC9D8D03E1F0729392
>      h = 0x4
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>



-- 
"Those who would give up Essential Liberty to purchase a little
Temporary Safety deserve neither  Liberty nor Safety."
-- Benjamin Franklin


From nobody Wed Nov 26 22:18:03 2014
Return-Path: <joppe.bos@nxp.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 956B51A212A for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 22:18:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.595
X-Spam-Level: 
X-Spam-Status: No, score=-0.595 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TRACKER_ID=1.306] autolearn=no
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 ii9prLfDcHyl for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 22:17:57 -0800 (PST)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0644.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::644]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EBDBA1A8880 for <cfrg@irtf.org>; Wed, 26 Nov 2014 22:17:56 -0800 (PST)
Received: from AMSPR04MB518.eurprd04.prod.outlook.com (10.242.20.156) by AMSPR04MB520.eurprd04.prod.outlook.com (10.242.20.28) with Microsoft SMTP Server (TLS) id 15.1.26.15; Thu, 27 Nov 2014 06:17:32 +0000
Received: from AMSPR04MB518.eurprd04.prod.outlook.com ([10.242.20.156]) by AMSPR04MB518.eurprd04.prod.outlook.com ([10.242.20.156]) with mapi id 15.01.0026.003; Thu, 27 Nov 2014 06:17:32 +0000
From: Joppe Bos <joppe.bos@nxp.com>
To: "b@b3k.us" <b@b3k.us>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Consensus and a way forward
Thread-Index: AQHQCfpBFBzMOkjI/UKu+7NFaZwcV5xz+owA
Date: Thu, 27 Nov 2014 06:17:32 +0000
Message-ID: <AMSPR04MB518798182EA8BE512AD75C4E3710@AMSPR04MB518.eurprd04.prod.outlook.com>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com>
In-Reply-To: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [2a02:1811:288b:9000:f9c9:602d:3054:7244]
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:AMSPR04MB520;
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:AMSPR04MB520;
x-forefront-prvs: 040866B734
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(377454003)(189002)(199003)(46102003)(2501002)(97736003)(87936001)(106356001)(2656002)(107046002)(107886001)(19617315012)(15975445006)(105586002)(106116001)(19300405004)(4396001)(95666004)(99936001)(54606007)(54206007)(122556002)(77156002)(54356999)(62966003)(99396003)(120916001)(33656002)(101416001)(561944003)(19625215002)(31966008)(16236675004)(575784001)(19580405001)(64706001)(86362001)(92726001)(50986999)(74316001)(76176999)(19580395003)(76576001)(40100003)(20776003)(92566001)(15202345003)(21056001)(781001)(3826002); DIR:OUT; SFP:1101; SCL:1; SRVR:AMSPR04MB520; H:AMSPR04MB518.eurprd04.prod.outlook.com; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_00A3_01D00A12.31E2F170"
MIME-Version: 1.0
X-OriginatorOrg: nxp.com
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/EBqA2KqoNi5U7lmyyV_z46pIdmA
Subject: Re: [Cfrg] Consensus and a way forward
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 06:18:00 -0000

------=_NextPart_000_00A3_01D00A12.31E2F170
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_00A4_01D00A12.31E2F170"


------=_NextPart_001_00A4_01D00A12.31E2F170
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

This draft presents algorithms to =E2=80=9Cgenerate domain parameters at =
any security level for modern (twisted) Edwards curves=E2=80=9D given as =
input prime. In the Test Vectors section curves defined over primes of a =
special shape are given. Please note that one can also use this draft to =
select curves which are defined over primes which do not have a special =
shape: something which has been requested by different people on this =
list. I hope that we will use this draft to (also) select curves over =
primes which do not have a special shape to accommodate all the needs in =
the cryptographic (and wider security) community.=20

Best regards,

Joppe

=20

From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Benjamin Black
Sent: Thursday, November 27, 2014 5:25 AM
To: cfrg@irtf.org
Subject: [Cfrg] Consensus and a way forward

=20

All,

=20

Over the past couple of weeks we have been working with Adam Langley to =
see if we could find a compromise with which we could all live. I'm =
pleased to say we have been successful in accommodating our respective =
performance and trustworthy generation concerns, and I hope the =
resulting proposal will be attractive to others, as well. The generation =
procedure is document in a draft I've just posted that can be found at =
http://www.ietf.org/id/draft-black-rpgecc-00.txt .

=20

The simplest summary is that we have combined the prime preferred by =
Adam and others at the 128-bit security level with the rigid parameter =
generation we view as essential for producing the most trustworthy =
curves. We have used the generation procedure to produce a new twisted =
Edwards curve based on 2^255 - 19 and a new Edwards curve based on 2^384 =
- 317. These new curves are given as test vectors in the draft, and are =
also given below.

=20

These 2 curves are sufficient for meeting the request from TLS. However, =
if there is strong interest in a 3rd curve for the 256-bit security =
level, the generation procedure=E2=80=8B=E2=80=8B gives the same curve =
with p =3D2^521 - 1 as several teams produced.

=20

=20

b

=20

--

=20

2^255 - 19

=20

   p =3D 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

         FFFFFFFFFFED

   d =3D 0x15E93

   r =3D 0x2000000000000000000000000000000016241E6093B2CE59B6B9

         8FD8849FAF35

x(P) =3D 0x3B7C1D83A0EF56F1355A0B5471E42537C26115EDE4C948391714

         C0F582AA22E2

y(P) =3D 0x775BE0DEC362A16E78EFFE0FF4E35DA7E17B31DC1611475CB4BE

         1DA9A3E5A819

   h =3D 0x4

=20

=20

2^384 - 317

=20

     p =3D 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

           FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEC3

     d =3D 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

           FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD19F

     r =3D 0x3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE2471A1

           CB46BE1CF61E4555AAB35C87920B9DCC4E6A3897D

  x(P) =3D 0x61B111FB45A9266CC0B6A2129AE55DB5B30BF446E5BE4C005763FFA

           8F33163406FF292B16545941350D540E46C206BDE

  y(P) =3D 0x82983E67B9A6EEB08738B1A423B10DD716AD8274F1425F56830F98F

           7F645964B0072B0F946EC48DC9D8D03E1F0729392

     h =3D 0x4

=20


------=_NextPart_001_00A4_01D00A12.31E2F170
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta =
name=3DGenerator content=3D"Microsoft Word 15 (filtered =
medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Courier New";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>This draft presents algorithms to =E2=80=9Cgenerate domain parameters =
at any security level for modern (twisted) Edwards curves=E2=80=9D given =
as input prime. In the Test Vectors section curves defined over primes =
of a special shape are given. Please note that one can also use this =
draft to select curves which are defined over primes which do not have a =
special shape: something which has been requested by different people on =
this list. I hope that we will use this draft to (also) select curves =
over primes which do not have a special shape to accommodate all the =
needs in the cryptographic (and wider security) community. <br><br>Best =
regards,<br><br>Joppe<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><b><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span><=
/b><span style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> =
Cfrg [mailto:cfrg-bounces@irtf.org] <b>On Behalf Of </b>Benjamin =
Black<br><b>Sent:</b> Thursday, November 27, 2014 5:25 AM<br><b>To:</b> =
cfrg@irtf.org<br><b>Subject:</b> [Cfrg] Consensus and a way =
forward<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><div><p =
class=3DMsoNormal>All,<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>Over the past couple of weeks we have been working =
with Adam Langley to see if we could find a compromise with which we =
could all live. I'm pleased to say we have been successful in =
accommodating our respective performance and trustworthy generation =
concerns, and I hope the resulting proposal will be attractive to =
others, as well. The generation procedure is document in a draft I've =
just posted that can be found at <a =
href=3D"http://www.ietf.org/id/draft-black-rpgecc-00.txt">http://www.ietf=
.org/id/draft-black-rpgecc-00.txt</a> .<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>The simplest summary is that we have combined the =
prime preferred by Adam and others at the 128-bit security level with =
the rigid parameter generation we view as essential for producing the =
most trustworthy curves. We have used the generation procedure to =
produce a new twisted Edwards curve based on 2^255 - 19 and a new =
Edwards curve based on 2^384 - 317. These new curves are given as test =
vectors in the draft, and are also given =
below.<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>These 2 curves are sufficient for meeting the request =
from TLS. However, if there is strong interest in a 3rd curve for the =
256-bit security level, the generation procedure=E2=80=8B=E2=80=8B gives =
the same curve with p =3D2^521 - 1 as several teams =
produced.<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>b<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>--<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>2^255 - 19<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>&nbsp; &nbsp;p =3D =
0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF<o:p></o:p></p></di=
v><div><p class=3DMsoNormal>&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;FFFFFFFFFFED<o:p></o:p></p></div><div><p class=3DMsoNormal>&nbsp; =
&nbsp;d =3D 0x15E93<o:p></o:p></p></div><div><p class=3DMsoNormal>&nbsp; =
&nbsp;r =3D =
0x2000000000000000000000000000000016241E6093B2CE59B6B9<o:p></o:p></p></di=
v><div><p class=3DMsoNormal>&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;8FD8849FAF35<o:p></o:p></p></div><div><p class=3DMsoNormal>x(P) =
=3D =
0x3B7C1D83A0EF56F1355A0B5471E42537C26115EDE4C948391714<o:p></o:p></p></di=
v><div><p class=3DMsoNormal>&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;C0F582AA22E2<o:p></o:p></p></div><div><p class=3DMsoNormal>y(P) =
=3D =
0x775BE0DEC362A16E78EFFE0FF4E35DA7E17B31DC1611475CB4BE<o:p></o:p></p></di=
v><div><p class=3DMsoNormal>&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;1DA9A3E5A819<o:p></o:p></p></div><div><p class=3DMsoNormal>&nbsp; =
&nbsp;h =3D 0x4<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>2^384 - 317<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>&nbsp; &nbsp; &nbsp;p =3D =
0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF<o:p></o:p></p><=
/div><div><p class=3DMsoNormal>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEC3<o:p></o:p></p></div><div>=
<p class=3DMsoNormal>&nbsp; &nbsp; &nbsp;d =3D =
0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF<o:p></o:p></p><=
/div><div><p class=3DMsoNormal>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD19F<o:p></o:p></p></div><div>=
<p class=3DMsoNormal>&nbsp; &nbsp; &nbsp;r =3D =
0x3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE2471A1<o:p></o:p></p><=
/div><div><p class=3DMsoNormal>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;CB46BE1CF61E4555AAB35C87920B9DCC4E6A3897D<o:p></o:p></p></div><div>=
<p class=3DMsoNormal>&nbsp; x(P) =3D =
0x61B111FB45A9266CC0B6A2129AE55DB5B30BF446E5BE4C005763FFA<o:p></o:p></p><=
/div><div><p class=3DMsoNormal>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;8F33163406FF292B16545941350D540E46C206BDE<o:p></o:p></p></div><div>=
<p class=3DMsoNormal>&nbsp; y(P) =3D =
0x82983E67B9A6EEB08738B1A423B10DD716AD8274F1425F56830F98F<o:p></o:p></p><=
/div><div><p class=3DMsoNormal>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;7F645964B0072B0F946EC48DC9D8D03E1F0729392<o:p></o:p></p></div><div>=
<p class=3DMsoNormal>&nbsp; &nbsp; &nbsp;h =3D =
0x4<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></div></body></html>
------=_NextPart_001_00A4_01D00A12.31E2F170--

------=_NextPart_000_00A3_01D00A12.31E2F170
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIkPDCCBJ4w
ggOGoAMCAQICCmEDaZgAAAAAAAwwDQYJKoZIhvcNAQEFBQAwcTELMAkGA1UEBhMCTkwxFjAUBgNV
BAgTDU5vb3JkLUJyYWJhbnQxEjAQBgNVBAcTCUVpbmRob3ZlbjERMA8GA1UEChMITlhQIEIuVi4x
CzAJBgNVBAsTAklUMRYwFAYDVQQDEw1OWFAgUE9MSUNZIENBMB4XDTEzMDExNjE1MTkyOFoXDTE4
MDExNjE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ClQYJ5QAAQAI
y/4wgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUDBAEWMAoGCCqGSIb3
DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYIKoZIhvcNAwICAUAw
DQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFlAwQCAjALBglghkgB
ZQMEAgEwDQYJKoZIhvcNAQEBBQAEggEADpV+XgDWsUmL3gp3nk2PQjgcGMaBVWcIDzE+VwD/jrgG
5yX2AsCcX4PcZvrFBUaosKQtqazsz9tMgK5lRdhD7LMlX5XwfKCA0aCu8cgLbliKFHKK41JkbVbg
lKyO9ddtzQAAsaXoJ3GGm+00UTwjPRYjbgiV1KQuV/x0UpzrpDajzYo0fph4i0WxYhEWMU2CJWyg
1dPGxlWqWX1YcQXxRQi314Ano/8JKix2ocVpjTKyruonJZqUj2WEFjzikGhaODou3rXCtpkkd8Ux
l0vE+GeSS4Cuz9mRTNzQt04b7Sni44gpxNE5k3HiKzcfBtlxccJ8AKeKSdfN4pScgAONGwAAAAAA
AA==

------=_NextPart_000_00A3_01D00A12.31E2F170--


From nobody Wed Nov 26 22:51:18 2014
Return-Path: <hannes.tschofenig@gmx.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 473AE1A888A for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 22:51:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level: 
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 EEeipHjcP4JR for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 22:51:15 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 505BC1A8883 for <cfrg@irtf.org>; Wed, 26 Nov 2014 22:51:15 -0800 (PST)
Received: from [192.168.131.133] ([80.92.115.84]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MXIov-1XOFPR2r6z-00WG00; Thu, 27 Nov 2014 07:51:13 +0100
Message-ID: <5476C9DF.1060208@gmx.net>
Date: Thu, 27 Nov 2014 07:51:11 +0100
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: Benjamin Black <b@b3k.us>, "cfrg@irtf.org" <cfrg@irtf.org>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com>
In-Reply-To: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com>
OpenPGP: id=4D776BC9
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BKsUt7c9CwKAW4UkotrHgmxq90ewNMKVx"
X-Provags-ID: V03:K0:Ut/+GC9cQDcizkElN7SKkz5CApoO52Xv5ni4m7QzXyVlSR/K5lW STnCIX7jAhbkawkvRkVLxCv8TZVs7aXLh5Pq5SvmPKQtwF4DRL9ZEQ1k3/lvs7235MnDw9R 9EOHAzWkAP05Wu7/VKpKW/WHx1SrB+xWuk1GaUPZVZBJGjdbzkB2j0nCb8TedtA09UbYian +kATC1G426F5oCaS4ceAA==
X-UI-Out-Filterresults: notjunk:1;
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/hue0hCgqvx0yLV5-4QG8sihBEWg
Subject: Re: [Cfrg] Consensus and a way forward
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 06:51:17 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--BKsUt7c9CwKAW4UkotrHgmxq90ewNMKVx
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Benjamin,

while I applaud that you are trying to find a way forward your mail
almost sounds like you are acting is one of the chairs of the group.

=46rom a process point of view only the chairs can call for consensus; I
am sure it is just unfortunate wording and you are providing another
proposal for the group to consider.

Ciao
Hannes

On 11/27/2014 05:25 AM, Benjamin Black wrote:
> All,
>=20
> Over the past couple of weeks we have been working with Adam Langley to=

> see if we could find a compromise with which we could all live. I'm
> pleased to say we have been successful in accommodating our respective
> performance and trustworthy generation concerns, and I hope the
> resulting proposal will be attractive to others, as well. The generatio=
n
> procedure is document in a draft I've just posted that can be found at
> http://www.ietf.org/id/draft-black-rpgecc-00.txt .
>=20
> The simplest summary is that we have combined the prime preferred by
> Adam and others at the 128-bit security level with the rigid parameter
> generation we view as essential for producing the most trustworthy
> curves. We have used the generation procedure to produce a new twisted
> Edwards curve based on 2^255 - 19 and a new Edwards curve based on 2^38=
4
> - 317. These new curves are given as test vectors in the draft, and are=

> also given below.
>=20
> These 2 curves are sufficient for meeting the request from TLS. However=
,
> if there is strong interest in a 3rd curve for the 256-bit security
> level, the generation procedure=E2=80=8B=E2=80=8B gives the same curve =
with p =3D2^521 - 1
> as several teams produced.
>=20
>=20
> b
>=20
> --
>=20
> 2^255 - 19
>=20
>    p =3D 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
>          FFFFFFFFFFED
>    d =3D 0x15E93
>    r =3D 0x2000000000000000000000000000000016241E6093B2CE59B6B9
>          8FD8849FAF35
> x(P) =3D 0x3B7C1D83A0EF56F1355A0B5471E42537C26115EDE4C948391714
>          C0F582AA22E2
> y(P) =3D 0x775BE0DEC362A16E78EFFE0FF4E35DA7E17B31DC1611475CB4BE
>          1DA9A3E5A819
>    h =3D 0x4
>=20
>=20
> 2^384 - 317
>=20
>      p =3D 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
>            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEC3
>      d =3D 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
>            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD19F
>      r =3D 0x3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE2471A1
>            CB46BE1CF61E4555AAB35C87920B9DCC4E6A3897D
>   x(P) =3D 0x61B111FB45A9266CC0B6A2129AE55DB5B30BF446E5BE4C005763FFA
>            8F33163406FF292B16545941350D540E46C206BDE
>   y(P) =3D 0x82983E67B9A6EEB08738B1A423B10DD716AD8274F1425F56830F98F
>            7F645964B0072B0F946EC48DC9D8D03E1F0729392
>      h =3D 0x4
>=20
>=20
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>=20


--BKsUt7c9CwKAW4UkotrHgmxq90ewNMKVx
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQEcBAEBCgAGBQJUdsnfAAoJEGhJURNOOiAtGEQH/034I+mQpfsLfOwvN0kI6Ux+
F18Ogi5Np2WfXohsCH292tR7o02idPn5wK/wl7iNuWRPgaizRSX0TbgbuB26uJQt
+V9Q7zH4S1CgD+/RPB9ES3KUsq6JIbUMlPEiqk1hI/8hT3geTHTlf/OcjaSFQois
eKc43U1jE1TbzPPvpXSrPQcJRUbHZijBMON5rwpSjxmEzjXgoD29VDOCcJ+QvPw0
aumW2N/c2wHnQhaMluUKdIGNrBHbkvsye2rgAb++2a0/D1UDgIcMnQ+OFOnfs3J6
0N0ETkLOtgXWZQwTGPmD6lpm4NblNxYnmQoNkqluVsuKBDIGJj3fn1NEuJnl0BM=
=uCd/
-----END PGP SIGNATURE-----

--BKsUt7c9CwKAW4UkotrHgmxq90ewNMKVx--


From nobody Wed Nov 26 22:57:58 2014
Return-Path: <akr@akr.io>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9D8651A888C for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 22:57:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.003
X-Spam-Level: 
X-Spam-Status: No, score=-0.003 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 4kkXRijRkv3v for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 22:57:55 -0800 (PST)
Received: from entima.net (entima.net [78.129.143.175]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E2F9F1A8893 for <cfrg@irtf.org>; Wed, 26 Nov 2014 22:57:54 -0800 (PST)
Message-ID: <5476CB73.7090206@akr.io>
Date: Thu, 27 Nov 2014 06:57:55 +0000
From: Alyssa Rowan <akr@akr.io>
MIME-Version: 1.0
To: "cfrg@irtf.org" <cfrg@irtf.org>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com>
In-Reply-To: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/xVctADOty969ygipgRRYVtaYj_M
Subject: Re: [Cfrg] draft-black-rpgecc-00-.txt [was: Consensus and a way forward]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 06:57:56 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 27/11/2014 04:25, Benjamin Black wrote:

> Over the past couple of weeks we have been working with Adam
> Langley to see if we could find a compromise with which we could
> all live. I'm pleased to say we have been successful in
> accommodating our respective performance and trustworthy generation
> concerns, and I hope the resulting proposal will be attractive to
> others, as well. The generation procedure is document in a draft
> I've just posted that can be found at 
> http://www.ietf.org/id/draft-black-rpgecc-00.txt .

An interesting proposal (of course, not a consensus as Hannes has
pointed out, only a proposal representing a compromise between the
authors).

The IPR section in that draft is remarkably short: of course you
cannot patent numbers. (That's copyright's job. <g>) In order to
satisfy IP1 and IP2 requirements we're going to need more information
about the status of specific algorithms on those curves which people
will actually use. As Dan Brown's recent message should highlight, we
should evaluate the patent status and can't ignore it (unless we plan
on ignoring them for long enough that they go away, and in that case,
we need to know when!).

In order to evaluate the performance of simple and secure
implementations of algorithms over these curves, of course we are also
going to need safe, efficient implementations for those algorithms,
ideally available under a liberal licence so stakeholders can actually
use it (specifically I'm afraid Apache 2.0 won't do due to its licence
incompatibilities), which also satisfy our patent concerns. Do you
have such an implementation ready to publish that we can plug into
SUPERCOP?

As this is an exercise in transparency, which is the most important
thing that we hope to differentiate anything we produce from, say, the
NIST curves, kindly disclose onto this list all of the technical
discussions which have produced these compromise in criteria between
the authors (or, in the alternative, hold them here afresh and let's
see if they produce the same consensus). That is a discussion that I
feel should be properly held publicly here, and at the very least,
absolutely requires public documentation for posterity.

I note that if you run your algorithm on 2^521-1 you get E-521. If you
ran it on 2^255-19, why didn't you get the twisted Edwards form of
Curve25519? Kindly elucidate your objections to the same.

- -- 
/akr
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJUdstzAAoJEOyEjtkWi2t6PvAQAJ53cc/JJZsFyxkLOiU2VeVw
auM4TmktI85jRY0sytnVtbYKapgoZ4dS4nD3DVBLHNMhToS0M3khB9MuqY40xe4K
/JSm9NriaQhheEaCNzfEqbqMMs2E8Ycs3SLU9TZSbjzzo4vLot2YEWGhlPja0QyN
zQcBaikWzAqjJByCWpjAVd74l299+HS7W74AnbQk2n4J7MgEDzKPnPQ0KfZHp+N/
1GOwkgJ+yuaEIwopioUQ6pqIaQ9C+N17r9O9LtSO3yIK7iPgiS31RgR/zy34cPV8
UP82YO9WhVLJemIt2aQ/O4evl5TvwNgWBh+zQVmMyRDb3KSpnhJ5fmmeTjzRv4I8
aoM9Hg3BwjI2AN8XmGmfETycRFxaLK+pBdRcaJ0UtRmTUyN4n01eqns+cGFWYWnK
zN21G7m1dCSQBMHJwdnJZXAhpSwirMTU+UYE/UKp9dxwhYaN/3pv+eT6wu/rVEuO
IQ4cBvR7GxcreZwOX5X0P65ykYwmOZODphbaPXE54DwWkTl+YZkwzCfg/T8v1voC
TkKNRX//7H43fceqSFuKm0SJZEcyajDYAW50M/1vc7SLfhLS0m66490q0zs4edCj
cnCPjUdTkbDBonu/h8ioV6UBBpoEb1p6LgRs4I7OZc9dPvmG11UpTCSuObY0oKeX
LIVnyjgMv200PQWdVWkZ
=FSc+
-----END PGP SIGNATURE-----


From nobody Wed Nov 26 23:08:00 2014
Return-Path: <ilari.liusvaara@elisanet.fi>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8985C1A889B for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 23:07:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham
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 jQdeml8Sb6PJ for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 23:07:53 -0800 (PST)
Received: from emh03.mail.saunalahti.fi (emh03.mail.saunalahti.fi [62.142.5.109]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8C61C1A8898 for <cfrg@irtf.org>; Wed, 26 Nov 2014 23:07:53 -0800 (PST)
Received: from LK-Perkele-VII (a88-112-44-140.elisa-laajakaista.fi [88.112.44.140]) by emh03.mail.saunalahti.fi (Postfix) with ESMTP id E78A81887F3; Thu, 27 Nov 2014 09:07:49 +0200 (EET)
Date: Thu, 27 Nov 2014 09:07:49 +0200
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Watson Ladd <watsonbladd@gmail.com>
Message-ID: <20141127070749.GA16874@LK-Perkele-VII>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <CACsn0cmcP=9s53kGPUdNjHyJpZMfEbCkWHEGiEwPCzfMWPGPnA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CACsn0cmcP=9s53kGPUdNjHyJpZMfEbCkWHEGiEwPCzfMWPGPnA@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/qHSwpUcNrFccM4qlocQq3i4G-qs
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Consensus and a way forward
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 07:07:57 -0000

On Wed, Nov 26, 2014 at 09:26:10PM -0800, Watson Ladd wrote:
> On Wed, Nov 26, 2014 at 8:25 PM, Benjamin Black <b@b3k.us> wrote:
> > All,
> >
> > Over the past couple of weeks we have been working with Adam Langley to see
> > if we could find a compromise with which we could all live. I'm pleased to
> > say we have been successful in accommodating our respective performance and
> > trustworthy generation concerns, and I hope the resulting proposal will be
> > attractive to others, as well. The generation procedure is document in a
> > draft I've just posted that can be found at
> > http://www.ietf.org/id/draft-black-rpgecc-00.txt .

Theoretically, the following Safecurves criteria could fail, even with p
at 205 bits or above (which guarantees Rho passes):
- Multiplicative transfer
- CM Discriminant
- Twist Multiplicative transfer

But any failure here would be VERY unlikely. I think there actually might
be values of p, which cause the algorithm presented to generate a known-
weak curve (but finding such p would be too hard to do currently).

> This document doesn't address the most important questions:
> 
> 1: What goes on the wire for ECDH? Montgomery points, points native to
> each curve formula, or Weierstrass points?
> 2: How are signatures computed?
> 3: Clear bits, multiply by cofactors, or check group membership?
> 4: Point compression or no point compression?
> 
> Given that generators are recorded for a prime order subgroup, it
> would seem that we are checking group membership, which will lead to
> the check being omitted and resultant, albeit minor, security issues.

Well, many ECC algos assume prime order subgroup.

Complete Edwards curves with h=4 and h=8 have quick check for low-order
points.

Also, I would like to see:

- The inverse Montgomery parameter (1/a24). This can be arranged to be
  small using suitable isomorphism and possibly quadratic twist.
- Conversion from Edwards form to Montgomery form.
- The Montgomery u corresponding to the base point.

For the first curve, those look to be:

1/a24 = -89748
u = (1+y)/(1-y)
u(P) = 11437681968289677273267944528525036915198860913446821942098597381479763892770

The transform has extra cost of 1 addition and 1 substraction (the division
is free, because it would be needed anyway).

> >
> > The simplest summary is that we have combined the prime preferred by Adam
> > and others at the 128-bit security level with the rigid parameter generation
> > we view as essential for producing the most trustworthy curves. We have used
> > the generation procedure to produce a new twisted Edwards curve based on
> > 2^255 - 19 and a new Edwards curve based on 2^384 - 317. These new curves
> > are given as test vectors in the draft, and are also given below.
> 
> Why 2^384-317 and not 2^383-31 or 2^389-21? This choice of prime
> really pinches the allowable radixes for carry-free multiplication
> reduction, and thus hurts efficiency, more than the 2^255-19 vs
> 2^256-189 decision at the lower security level. Far from being a
> simultaneous accommodation of the performance concerns and the
> generation concerns, this is clearly horse trading, with performance
> being given the choice of the 255 bit prime, and a similar improvement
> not happening at the 384 bit prime.

Well, at least 2^383-31 is 1 mod 8, which makes difficult to compute square
roots.

Looks like 2^389-21 saves a word on both 32 and 64 bit compared to
2^384-317 when using minimal-carry rational-base implementation.


-Ilari


From nobody Wed Nov 26 23:22:39 2014
Return-Path: <alangley@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CBA701A0073 for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 23:22:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 tydy1pUdMeQa for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 23:22:36 -0800 (PST)
Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [IPv6:2a00:1450:4010:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 090D71A8030 for <cfrg@irtf.org>; Wed, 26 Nov 2014 23:22:36 -0800 (PST)
Received: by mail-la0-f42.google.com with SMTP id s18so3756974lam.29 for <cfrg@irtf.org>; Wed, 26 Nov 2014 23:22:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Dqf0eYLxsWb0aYCb75FxsYJoJO9e6fRynt+XfZupeyU=; b=oKykTm/sVTkHY9ZBN4aKUFEeJBaO6uqtAKTiUD7HIYovKErtsLHJpA0uFcJUADuUz8 r7l5YL3khZ85vn7nsAvFLwim0uWMPAAVBatjqS5fAmGfuX3W3YZLpY7uJQWxyj4fHYO+ ELgx83VlBWAM+vTCn13+YHSp85lep4VgnnBCjrJT6obKfNePHKxR6T8VbicFrdX92o/t fie5Is1HMHRBZBS86ICBddkcIUGFvT97Uv9onpU3ixf8Oe/hqdQpmBY+EaVf+Kw8xSnw ScK8OkQmrtGAZdtVjel7r3g28rprRs/l5N/+MuCbv9sxVp0RoHKPNZU+ZfBjJJMUDfNW XE0w==
MIME-Version: 1.0
X-Received: by 10.112.63.133 with SMTP id g5mr37542342lbs.33.1417072954297; Wed, 26 Nov 2014 23:22:34 -0800 (PST)
Sender: alangley@gmail.com
Received: by 10.112.241.103 with HTTP; Wed, 26 Nov 2014 23:22:34 -0800 (PST)
In-Reply-To: <5476CB73.7090206@akr.io>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476CB73.7090206@akr.io>
Date: Wed, 26 Nov 2014 23:22:34 -0800
X-Google-Sender-Auth: kqpSGgIqcheoCa4f41GEgu3FKbE
Message-ID: <CAMfhd9XxkZsVPMcevWOgvvqbBK0JqLVCGBYfwWu0QFO5rsfbJQ@mail.gmail.com>
From: Adam Langley <agl@imperialviolet.org>
To: Alyssa Rowan <akr@akr.io>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/YO2H7ob_BtfqlQOsLujkNqCjh98
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] draft-black-rpgecc-00-.txt [was: Consensus and a way forward]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 07:22:38 -0000

On Wed, Nov 26, 2014 at 10:57 PM, Alyssa Rowan <akr@akr.io> wrote:
> In order to evaluate the performance of simple and secure
> implementations of algorithms over these curves, of course we are also
> going to need safe, efficient implementations for those algorithms,
> ideally available under a liberal licence so stakeholders can actually
> use it (specifically I'm afraid Apache 2.0 won't do due to its licence
> incompatibilities), which also satisfy our patent concerns. Do you
> have such an implementation ready to publish that we can plug into
> SUPERCOP?

For the curve over GF(2^255-19), I certainly agree that
implementations are needed but I believe that there's strong evidence
that the performance would be equal to curve25519.

The Edwards curve in question is isogenous to Curve25519 with A=358990
and, while some uses may want to drop the new curves into existing
code, I hope that this RG can recommend that ECDH operations for the
most part transmit the Montgomery X value. Thus curve25519
implementations should just need to change the (A-2)/4 value.

For implementations of the Edwards curve, the smaller d value, if
anything, might allow a slight speedup over Edwards curve25519.
(Although those implementations would need changes to the scalar
reduction function and any precomputed tables.)

> I note that if you run your algorithm on 2^521-1 you get E-521. If you
> ran it on 2^255-19, why didn't you get the twisted Edwards form of
> Curve25519? Kindly elucidate your objections to the same.

As djb noted in the curve25519 paper[1], the A value for curve25519 is
not minimal. draft-black-rpgecc-00 finds a curve isogenous to the
minimal A. The minimal (and second minimal) value was originally
rejected because, when generating private keys, there's a possibility
of generating a multiple of the order. This can be taken care of with
(I think) a single memcmp, although I need to confirm that just one is
sufficient when I'm back home.

[1] http://cr.yp.to/ecdh/curve25519-20060209.pdf, section "Why this curve?".


Cheers

AGL


From nobody Wed Nov 26 23:54:49 2014
Return-Path: <akr@akr.io>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7508D1A879D for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 23:54:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 d8QziukSEqXA for <cfrg@ietfa.amsl.com>; Wed, 26 Nov 2014 23:54:46 -0800 (PST)
Received: from entima.net (entima.net [78.129.143.175]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 024EE1A00F2 for <cfrg@irtf.org>; Wed, 26 Nov 2014 23:54:45 -0800 (PST)
In-Reply-To: <CAMfhd9XxkZsVPMcevWOgvvqbBK0JqLVCGBYfwWu0QFO5rsfbJQ@mail.gmail.com>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476CB73.7090206@akr.io> <CAMfhd9XxkZsVPMcevWOgvvqbBK0JqLVCGBYfwWu0QFO5rsfbJQ@mail.gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
From: Alyssa Rowan <akr@akr.io>
Date: Thu, 27 Nov 2014 07:54:45 +0000
To: Adam Langley <agl@imperialviolet.org>
Message-ID: <68E73FEE-8598-48B3-8A27-50AB63AB9079@akr.io>
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Wo5z3zYvgGLtjpCBTCmQBFYznZc
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] draft-black-rpgecc-00-.txt [was: Consensus and a way forward]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 07:54:47 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 27 November 2014 07:22:34 GMT+00:00, Adam Langley <agl@imperialviolet.org> wrote:

>> I note that if you run your algorithm on 2^521-1 you get E-521. If you ran it on 2^255-19, why didn't you get the twisted Edwards form of Curve25519? Kindly elucidate your objections to the same.
>As djb noted in the curve25519 paper[1], the A value for curve25519 is
>not minimal. draft-black-rpgecc-00 finds a curve isogenous to the
>minimal A. The minimal (and second minimal) value was originally
>rejected because, when generating private keys, there's a possibility
>of generating a multiple of the order. This can be taken care of with
>(I think) a single memcmp, although I need to confirm that just one is
>sufficient when I'm back home.

Yes,  that's just what I thought.

As the greater value of A used in Curve25519 produces a simpler secure implementation with no weak private keys to check for, and that is the only big difference between Curve25519 and this proposal, I should prefer Curve25519 according to our selection criteria. Why *not* that, then?

- --
/akr
-----BEGIN PGP SIGNATURE-----
Version: APG v1.1.1

iQI3BAEBCgAhBQJUdtjFGhxBbHlzc2EgUm93YW4gPGFrckBha3IuaW8+AAoJEOyE
jtkWi2t6tWoQAKSas/6p0zTN5Xr6IDMZCl0Qa48SZCeDJGBa4qhndGMW1ekVsfyN
9jHvNcsI0enX/29RvNV22CVfez4yZ4XlwdL+HRCYh/VlcXzNOfaLluPPM5LUgh7f
L19mUtufBSRblxc3bn0X7f/4hPUUQvDii8pK0kATsYXTa9k2n9d917eS/WE5xXJT
2rkuXuuzIb5mOTeFQVxH1zZdCqz1ZhRjvIFai2m1iNxKjpoVxdGe8QouhFQ3kLdg
x2Znqe3zIxmEy03he1FmU0QCavIp15JiPszaKuoMIvmzp96CnemqCMenUaIXV8pF
Nhnga0IrXMyvSGmK2iu6I5dog1FkhevPzRucUsXfhpvXM1nNOJ5DMubtFrje2HCp
t45BK54idv7nxH+ALOGjvbKrVSo+zxBvku9qLkvOkVSVmViTRKSzMAeu0ii22ZQb
bRy/3iCEUoqUp5RiJdstcrTpMgtwfmqWX1s671J3nj3an/7DEWl186mkPsHtt7Zy
beqNeZAAgpMFQm4j+QDrviwHjurhoghz1QdTahzbIqCyXGT4/hthO43nSujoPxSW
ps3pFrAHTH9/DCB3pcBlp9euIrbvpNPkhPVu4zFNj1wu0oNbvulsPc1i2RB0oBCd
LcofuSTvXeVxixLrHwPVtVoZJDU7syhuIeEECRoJdxk9ohXyH8th8Ner
=+GT/
-----END PGP SIGNATURE-----


From nobody Thu Nov 27 00:15:04 2014
Return-Path: <mike@shiftleft.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 49BB31A01F0 for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 00:15:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.555
X-Spam-Level: *
X-Spam-Status: No, score=1.555 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
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 qNEtiJ22DiBJ for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 00:15:00 -0800 (PST)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 299A71A0166 for <cfrg@irtf.org>; Thu, 27 Nov 2014 00:15:00 -0800 (PST)
Received: from [192.168.1.102] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 75C1B3AC24; Thu, 27 Nov 2014 00:13:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1417075998; bh=ltCyfFIkHxKO+ZYjYV2qmxglkH4AP10ihmVmlcKjIco=; h=Date:From:To:CC:Subject:References:In-Reply-To:From; b=cD+t6QrmXJyQp4N3ceii2/pWwjfI1ugGUQImLiICm0jwsL/OvW9URluWjHV+F4hUj 9EGN5y0fhdNMJjX0/QjvfcG/paMJJ5d4uhJIsUrZ8HDSoKHTbNtHqs/krpAen3zC8v gMIZM6dEmMqg0aHbsFgpsvgQgUPg9pjgC9+0XycM=
Message-ID: <5476DD79.3000509@shiftleft.org>
Date: Thu, 27 Nov 2014 00:14:49 -0800
From: Mike Hamburg <mike@shiftleft.org>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Alyssa Rowan <akr@akr.io>, Adam Langley <agl@imperialviolet.org>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476CB73.7090206@akr.io> <CAMfhd9XxkZsVPMcevWOgvvqbBK0JqLVCGBYfwWu0QFO5rsfbJQ@mail.gmail.com> <68E73FEE-8598-48B3-8A27-50AB63AB9079@akr.io>
In-Reply-To: <68E73FEE-8598-48B3-8A27-50AB63AB9079@akr.io>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/2Ju9jzWG4KYWZXu85YbX4wZGLr4
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] draft-black-rpgecc-00-.txt [was: Consensus and a way forward]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 08:15:01 -0000

On 11/26/2014 11:54 PM, Alyssa Rowan wrote:
> Yes,  that's just what I thought.
>
> As the greater value of A used in Curve25519 produces a simpler secure implementation with no weak private keys to check for, and that is the only big difference between Curve25519 and this proposal, I should prefer Curve25519 according to our selection criteria. Why *not* that, then?
>
Ask anyone who's implemented ECDSA on NIST-P160 :-)

Curve25519 has no weak keys because its order is 2^252+O(2^126), i.e. 
slightly over a power of 2.  Many curve generation procedures specify 
that the order must be slightly under a power of 2 rather than slightly 
over, because that also has advantages.  It permits slightly easier 
Barrett reduction mod the order, avoids special cases involving an extra 
bit, and for a few cases (MQV, I think) avoids having to do an extra 
point op in constant time algorithms just in case that bit might be set.

-- Mike


From nobody Thu Nov 27 01:19:18 2014
Return-Path: <akr@akr.io>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0EE6E1A0065 for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 01:19:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 t9PGf7yFInd7 for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 01:19:13 -0800 (PST)
Received: from entima.net (entima.net [78.129.143.175]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E3C261A0007 for <cfrg@irtf.org>; Thu, 27 Nov 2014 01:19:12 -0800 (PST)
In-Reply-To: <5476DD79.3000509@shiftleft.org>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476CB73.7090206@akr.io> <CAMfhd9XxkZsVPMcevWOgvvqbBK0JqLVCGBYfwWu0QFO5rsfbJQ@mail.gmail.com> <68E73FEE-8598-48B3-8A27-50AB63AB9079@akr.io> <5476DD79.3000509@shiftleft.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
From: Alyssa Rowan <akr@akr.io>
Date: Thu, 27 Nov 2014 09:19:10 +0000
To: Mike Hamburg <mike@shiftleft.org>,Adam Langley <agl@imperialviolet.org>
Message-ID: <32360AA7-C672-41AF-99E8-6487FD0372E1@akr.io>
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/YcTStigoOFxqiAhCbkl7PjeIvgw
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] draft-black-rpgecc-00-.txt [was: Consensus and a way forward]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 09:19:15 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 27 November 2014 08:14:49 GMT+00:00, Mike Hamburg <mike@shiftleft.org> wrote:
>> Why *not* [Curve25519], then?
>Ask anyone who's implemented ECDSA on NIST-P160 :-)

Yes, I think the first question I'd ask anyone who did that would also be: "why?" :)

>Curve25519 has no weak keys because its order is 2^252+O(2^126), i.e. slightly over a power of 2.  Many curve generation procedures specify that the order must be slightly under a power of 2 rather than slightly over, because that also has advantages.

...this curve generation procedure doesn't, so that's a bit of a stretch.

We'll need to weigh advantages (MQV? Not exactly a key-exchange frontrunner anymore... When does the FHMQV patent expire again? I prefer Axolotl's approach) against disadvantages (such as the https://xkcd.com/927/ point, given Curve25519 already achieved pretty wide adoption while we dithered).

It almost matches Curve25519, and the reasoning for it not matching is weak: the value of convergence for consensus and rigidity is far greater than the value of differing for just this reason, in my mind.

It does seem like a sensible way of generating the ultra-strong security curve, certainly, to me. What happens if we constrain 2^x-n to n<32 for efficiency reasons, x=384 and step x upwards until this criteria is met? How similar is that to djb's Curve41417? Is Curve41417 faster than this... I suppose it'd be rpg384r1 curve?

- --
/akr
-----BEGIN PGP SIGNATURE-----
Version: APG v1.1.1

iQI3BAEBCgAhBQJUduyOGhxBbHlzc2EgUm93YW4gPGFrckBha3IuaW8+AAoJEOyE
jtkWi2t6EjUQAJdY20o1n1ZquPNtG9Rq/ImAxIlO+neYOaG98J56yZ+lHTIINM22
Ue2Jnn90MJa4UgN7xEqkpOnAfnsnN35SnRQJAn/px6a3YzMYuPK4RWsT5yGSpwuT
ZhQ9q1sC4IjWPR+nme4iCJZTe+qoWc1BayDqjygqFb7ziBIa1MBZ6TmN1Ib0rpCz
SSH2YWpXJLE8KhL0YY0OfY5KIJnGnRugXsBADlQohuqZ00FLmyUpUw11OMW9JMAH
BtRNb+HILj5J6JJLkqJkI8pCaY+2bMcwdV93jN2tei6w8yI7W496coR/ZxG8mjDw
f3T5ItLA0gLfxDhpCSuPu3Db6yn/IKDY6fWDKyJxjl/aBc71MtmQWClmFpatMxcu
6b02Ne6XvkDRzaKc3Z5ZqYJSvRCKAIQhg8dv9W9mYDUoYjEWDST87EApQW+ObFqC
EQyNVI06aHbHxFzoMIAgxL7ee/BkU/cz6QKvyiXDTiEJovP0WSlG8jhNT/FuyeNP
LVObm0+OYv0n5T9A/5pdyAJ2pO0b3QnZx0qsNy/IppuYOusy/xocezobTvpNaQel
EgicghGmi53SSSmDlxKPumqqKDzabJqVxlu93E8guIi0OU2zIePkRycXqlAa3yy+
NnA7wL+d2ZN/a0DKyFvJWg+QNd331Z0pfUr1LDzyIVDHYEFnQj4wL1FE
=T/wx
-----END PGP SIGNATURE-----


From nobody Thu Nov 27 02:01:54 2014
Return-Path: <Kenny.Paterson@rhul.ac.uk>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BF8F81A871D for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 02:01:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 ZHbfgPxogsuC for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 02:01:49 -0800 (PST)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0698.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::698]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3FE2A1A7008 for <cfrg@irtf.org>; Thu, 27 Nov 2014 02:01:47 -0800 (PST)
Received: from DBXPR03MB382.eurprd03.prod.outlook.com (10.141.10.12) by DBXPR03MB0685.eurprd03.prod.outlook.com (10.255.179.150) with Microsoft SMTP Server (TLS) id 15.1.26.15; Thu, 27 Nov 2014 10:01:23 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by DBXPR03MB382.eurprd03.prod.outlook.com (10.141.10.12) with Microsoft SMTP Server (TLS) id 15.1.26.15; Thu, 27 Nov 2014 10:01:22 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) by DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) with mapi id 15.01.0026.003; Thu, 27 Nov 2014 10:01:22 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Joppe Bos <joppe.bos@nxp.com>, Benjamin Black <b@b3k.us>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Consensus and a way forward
Thread-Index: AQHQCfpEJvmjPqb6m0eCglKXiG8J75xz/7MAgAA+gYA=
Date: Thu, 27 Nov 2014 10:01:22 +0000
Message-ID: <D09CA41C.38236%kenny.paterson@rhul.ac.uk>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <AMSPR04MB518798182EA8BE512AD75C4E3710@AMSPR04MB518.eurprd04.prod.outlook.com>
In-Reply-To: <AMSPR04MB518798182EA8BE512AD75C4E3710@AMSPR04MB518.eurprd04.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.4.140807
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [134.219.148.47]
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB382;UriScan:;
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB382;
x-forefront-prvs: 040866B734
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(24454002)(189002)(377454003)(479174003)(51444003)(51704005)(199003)(4396001)(101416001)(40100003)(36756003)(105586002)(21056001)(19580405001)(106116001)(99396003)(122556002)(19580395003)(106356001)(74482002)(77156002)(62966003)(2656002)(46102003)(120916001)(15975445006)(2501002)(54356999)(50986999)(15202345003)(97736003)(76176999)(31966008)(20776003)(66066001)(561944003)(95666004)(92566001)(92726001)(575784001)(86362001)(83506001)(107046002)(64706001)(87936001)(107886001)(7059030)(781001); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR03MB382; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
Content-Type: text/plain; charset="utf-8"
Content-ID: <8E9C724E2A2C864083BE85632B44DA07@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB0685;
X-OriginatorOrg: rhul.ac.uk
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/QCo3UCzOMGct8fgV2__q2g5HXIY
Subject: Re: [Cfrg] Consensus and a way forward
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 10:01:53 -0000

RGVhciBKb3BwZSwNCg0KWW91ciBwb2ludCBpcyB3ZWxsLW5vdGVkLg0KDQpSZWNlbnRseSwgSSBj
bG9zZWx5IHJlYWQgYWxsIHRoZSBtZXNzYWdlcyBvbiB0aGUgbGlzdCBhYm91dCByYW5kb20gcHJp
bWVzDQp2ZXJzdXMgc3BlY2lhbCBwcmltZXMuIEl0J3MgY2xlYXIgdGhhdCB3ZSBkaWQgbm90IHJl
YWNoIGEgY29uc2Vuc3VzIG9uDQp0aGlzIGlzc3VlIChhbmQgaW5kZWVkIHRoZXJlIHdhcyBubyBw
cm9zcGVjdCBvZiByZWFjaGluZyBvbmUpLg0KDQpIb3dldmVyLCBJIHRoaW5rIHRoYXQgd2Ugc2hv
dWxkIGZvY3VzIGluIHRoZSBpbW1lZGlhdGUgZnV0dXJlIG9uIHNlbGVjdGluZw0KY3VydmVzIGZv
ciBzcGVjaWFsIHByaW1lcyBmb3IgcmVjb21tZW5kYXRpb24gdG8gdGhlIFRMUyBXRy4NCg0KSSB3
b3VsZCBiZSBkZWxpZ2h0ZWQgaWYsIGFmdGVyIHRoYXQgcHJvY2VzcyBpcyBjb21wbGV0ZSwgd2Ug
d291bGQgcmV0dXJuDQp0byB0aGUgcXVlc3Rpb24gb2YgY29taW5nIHVwIHdpdGggYSBzZXQgb2Yg
Y3VydmVzIGZvciByYW5kb20gcHJpbWVzLiBJDQp0aGluayBDRlJHIHNob3VsZCBzcG9uc29yIHN1
Y2ggYW4gZWZmb3J0IGluIGR1ZSBjb3Vyc2UuIE5hd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RkZGRkZGDQo+DQo+ICAgICAgICAgICBGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZG
RkZGRkZGRkVDMw0KPg0KPiAgICAgZCA9IDB4RkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZG
RkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRg0KPg0KPiAgICAgICAgICAgRkZGRkZGRkZGRkZGRkZG
RkZGRkZGRkZGRkZGRkZGRkZGRkZGRkQxOUYNCj4NCj4gICAgIHIgPSAweDNGRkZGRkZGRkZGRkZG
RkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkUyNDcxQTENCj4NCj4gICAgICAgICAg
IENCNDZCRTFDRjYxRTQ1NTVBQUIzNUM4NzkyMEI5RENDNEU2QTM4OTdEDQo+DQo+ICB4KFApID0g
MHg2MUIxMTFGQjQ1QTkyNjZDQzBCNkEyMTI5QUU1NURCNUIzMEJGNDQ2RTVCRTRDMDA1NzYzRkZB
DQo+DQo+ICAgICAgICAgICA4RjMzMTYzNDA2RkYyOTJCMTY1NDU5NDEzNTBENTQwRTQ2QzIwNkJE
RQ0KPg0KPiAgeShQKSA9IDB4ODI5ODNFNjdCOUE2RUVCMDg3MzhCMUE0MjNCMTBERDcxNkFEODI3
NEYxNDI1RjU2ODMwRjk4Rg0KPg0KPiAgICAgICAgICAgN0Y2NDU5NjRCMDA3MkIwRjk0NkVDNDhE
QzlEOEQwM0UxRjA3MjkzOTINCj4NCj4gICAgIGggPSAweDQNCj4NCj4gDQo+DQo+DQo+DQoNCg==


From nobody Thu Nov 27 02:18:44 2014
Return-Path: <Kenny.Paterson@rhul.ac.uk>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D4B3D1A88B8 for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 02:18:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 5o6vk7bLivds for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 02:18:39 -0800 (PST)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0630.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::630]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DDABE1A888E for <cfrg@irtf.org>; Thu, 27 Nov 2014 02:18:38 -0800 (PST)
Received: from DBXPR03MB384.eurprd03.prod.outlook.com (10.141.10.20) by DBXPR03MB512.eurprd03.prod.outlook.com (10.141.232.21) with Microsoft SMTP Server (TLS) id 15.1.26.15; Thu, 27 Nov 2014 10:05:44 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by DBXPR03MB384.eurprd03.prod.outlook.com (10.141.10.20) with Microsoft SMTP Server (TLS) id 15.1.26.15; Thu, 27 Nov 2014 10:05:43 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) by DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) with mapi id 15.01.0026.003; Thu, 27 Nov 2014 10:05:43 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>, Benjamin Black <b@b3k.us>,  "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Consensus and a way forward
Thread-Index: AQHQCfpEJvmjPqb6m0eCglKXiG8J75x0CRqAgAA2SgA=
Date: Thu, 27 Nov 2014 10:05:43 +0000
Message-ID: <D09CA723.38272%kenny.paterson@rhul.ac.uk>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476C9DF.1060208@gmx.net>
In-Reply-To: <5476C9DF.1060208@gmx.net>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.4.140807
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [134.219.148.47]
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB384;UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB384;
x-forefront-prvs: 040866B734
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(51704005)(479174003)(189002)(377454003)(199003)(24454002)(74482002)(15202345003)(561944003)(4396001)(92566001)(86362001)(575784001)(2501002)(20776003)(66066001)(1720100001)(64706001)(2656002)(77156002)(46102003)(62966003)(36756003)(120916001)(122556002)(19580395003)(19580405001)(83506001)(40100003)(99396003)(15975445006)(97736003)(76176999)(50986999)(54356999)(31966008)(107886001)(107046002)(101416001)(95666004)(92726001)(106356001)(87936001)(106116001)(21056001)(105586002)(19273905006)(781001)(563064011); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR03MB384; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
Content-Type: text/plain; charset="utf-8"
Content-ID: <E804989A3BD70C4AA4130EE9B47DA1FD@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB512;
X-OriginatorOrg: rhul.ac.uk
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ex1BDT4NSGT9ZiHAbN9RpitGE-w
Subject: Re: [Cfrg] Consensus and a way forward
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 10:18:42 -0000

SGFubmVzLA0KDQpUbyBiZSBmYWlyIHRvIEJlbiwgdGhlIGNoYWlycyBoYXZlIGJlZW4gZHJhZ2dp
bmcgdGhlaXIgaGVlbHMgaGVyZSwgc28gaXQncw0Kbm90IHN1cnByaXNpbmcgdGhhdCBvdGhlciBw
ZW9wbGUgaGF2ZSBzdGVwcGVkIGluIHRvIGZpbGwgdGhlIGFwcGFyZW50DQp2YWN1dW0uIA0KDQpZ
b3UgYXJlIHRlY2huaWNhbGx5IGNvcnJlY3QgdGhhdCBvbmx5IGNoYWlycyBzaG91bGQgY2FsbCBm
b3IgY29uc2Vuc3VzLiBJDQp0aGluayBCZW4ncyB1c2Ugb2YgdGhlIHdvcmQgcmVmZXJyZWQgdG8g
YSBkaWZmZXJlbnQga2luZCBvZiBjb25zZW5zdXM6IG9uZQ0KYmV0d2VlbiBHb29nbGUgYW5kIE1p
Y3Jvc29mdC4NCg0KTGlrZSB5b3UsIEkgdGhpbmsgaXQncyBoZWxwZnVsIHRoYXQgR29vZ2xlIGFu
ZCBNaWNyb3NvZnQgaGF2ZSBjb21iaW5lZCB0bw0KbWFrZSB0aGlzIHByb3Bvc2FsIGluIGFuIGVm
Zm9ydCB0byBtb3ZlIHRoaW5ncyBmb3J3YXJkLiBJIGhvcGUgd2UgY2FuDQpkaXNjdXNzIGl0IGRp
c3Bhc3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27 02:44:22 2014
Return-Path: <Kenny.Paterson@rhul.ac.uk>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 67AAD1A88CF for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 02:44:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 8uk39objphmZ for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 02:44:17 -0800 (PST)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0648.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::648]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 898B61A88C6 for <cfrg@irtf.org>; Thu, 27 Nov 2014 02:44:16 -0800 (PST)
Received: from DBXPR03MB384.eurprd03.prod.outlook.com (10.141.10.20) by DBXPR03MB541.eurprd03.prod.outlook.com (10.141.232.141) with Microsoft SMTP Server (TLS) id 15.1.26.15; Thu, 27 Nov 2014 10:20:19 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by DBXPR03MB384.eurprd03.prod.outlook.com (10.141.10.20) with Microsoft SMTP Server (TLS) id 15.1.26.15; Thu, 27 Nov 2014 10:20:17 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) by DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) with mapi id 15.01.0026.003; Thu, 27 Nov 2014 10:20:17 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Watson Ladd <watsonbladd@gmail.com>, "b@b3k.us" <b@b3k.us>
Thread-Topic: [Cfrg] Consensus and a way forward
Thread-Index: AQHQCfpEJvmjPqb6m0eCglKXiG8J75xz8VkAgABSIAA=
Date: Thu, 27 Nov 2014 10:20:17 +0000
Message-ID: <D09CA864.3828D%kenny.paterson@rhul.ac.uk>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <CACsn0cmcP=9s53kGPUdNjHyJpZMfEbCkWHEGiEwPCzfMWPGPnA@mail.gmail.com>
In-Reply-To: <CACsn0cmcP=9s53kGPUdNjHyJpZMfEbCkWHEGiEwPCzfMWPGPnA@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.4.140807
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [134.219.148.47]
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB384;UriScan:;
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB384;
x-forefront-prvs: 040866B734
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(24454002)(199003)(52314003)(51704005)(52044002)(377454003)(479174003)(189002)(99396003)(15975445006)(54356999)(31966008)(76176999)(97736003)(50986999)(120916001)(19580405001)(83506001)(40100003)(122556002)(19580395003)(21056001)(105586002)(19273905006)(95666004)(107046002)(101416001)(106116001)(92726001)(106356001)(87936001)(92566001)(4396001)(561944003)(575784001)(86362001)(15202345003)(74482002)(77156002)(64706001)(2656002)(36756003)(62966003)(46102003)(66066001)(20776003)(2501002)(1720100001)(781001)(563064011); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR03MB384; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en; 
Content-Type: text/plain; charset="us-ascii"
Content-ID: <C10869F505DA434D9EFB821F915EC049@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB541;
X-OriginatorOrg: rhul.ac.uk
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/f2W94JAtJ53meEqfGgimg6xMiR8
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Consensus and a way forward
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 10:44:19 -0000

Hi Watson,

On 27/11/2014 05:26, "Watson Ladd" <watsonbladd@gmail.com> wrote:

>On Wed, Nov 26, 2014 at 8:25 PM, Benjamin Black <b@b3k.us> wrote:
>> All,
>>
>> Over the past couple of weeks we have been working with Adam Langley to
>>see
>> if we could find a compromise with which we could all live. I'm pleased
>>to
>> say we have been successful in accommodating our respective performance
>>and
>> trustworthy generation concerns, and I hope the resulting proposal will
>>be
>> attractive to others, as well. The generation procedure is document in a
>> draft I've just posted that can be found at
>> http://www.ietf.org/id/draft-black-rpgecc-00.txt .
>
>This document doesn't address the most important questions:
>
>1: What goes on the wire for ECDH? Montgomery points, points native to
>each curve formula, or Weierstrass points?
>2: How are signatures computed?
>3: Clear bits, multiply by cofactors, or check group membership?
>4: Point compression or no point compression?

These things would all follow in due course, if the proposal were
acceptable to CFRG.

Anyway, as far as I can see, none of these is very hard, given the many
discussion we've had on the list and the education I've thereby received.
Here's some suggestions that we can come back to later (once we've agreed
whether we want to go down this route or not):

1. Points in Montgomery form for ECDH (remember, we are at liberty to
specify new point formats on the wire for these curves for TLS).
2. Using EC-DSA (oh yes!).
3. Multiply by co-factors, as per the EC-DSA standards, IIRC; plus
whatever Montgomery form needs (please feel free to re-inform me).
4. Not relevant for EC-DSA signatures; for Montgomery form, x-coordindate
only would be best, right?

Cheers

Kenny


>
>Given that generators are recorded for a prime order subgroup, it
>would seem that we are checking group membership, which will lead to
>the check being omitted and resultant, albeit minor, security issues.
>
>>
>> The simplest summary is that we have combined the prime preferred by
>>Adam
>> and others at the 128-bit security level with the rigid parameter
>>generation
>> we view as essential for producing the most trustworthy curves. We have
>>used
>> the generation procedure to produce a new twisted Edwards curve based on
>> 2^255 - 19 and a new Edwards curve based on 2^384 - 317. These new
>>curves
>> are given as test vectors in the draft, and are also given below.
>
>Why 2^384-317 and not 2^383-31 or 2^389-21? This choice of prime
>really pinches the allowable radixes for carry-free multiplication
>reduction, and thus hurts efficiency, more than the 2^255-19 vs
>2^256-189 decision at the lower security level. Far from being a
>simultaneous accommodation of the performance concerns and the
>generation concerns, this is clearly horse trading, with performance
>being given the choice of the 255 bit prime, and a similar improvement
>not happening at the 384 bit prime.
>
>>
>> These 2 curves are sufficient for meeting the request from TLS.
>>However, if
>> there is strong interest in a 3rd curve for the 256-bit security level,
>>the
>> generation procedure gives the same curve with p =3D2^521 - 1 as several
>>teams
>> produced.
>
>Sincerely,
>Watson Ladd
>>
>>
>> b
>>
>> --
>>
>> 2^255 - 19
>>
>>    p =3D 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
>>          FFFFFFFFFFED
>>    d =3D 0x15E93
>>    r =3D 0x2000000000000000000000000000000016241E6093B2CE59B6B9
>>          8FD8849FAF35
>> x(P) =3D 0x3B7C1D83A0EF56F1355A0B5471E42537C26115EDE4C948391714
>>          C0F582AA22E2
>> y(P) =3D 0x775BE0DEC362A16E78EFFE0FF4E35DA7E17B31DC1611475CB4BE
>>          1DA9A3E5A819
>>    h =3D 0x4
>>
>>
>> 2^384 - 317
>>
>>      p =3D 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
>>            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEC3
>>      d =3D 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
>>            FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD19F
>>      r =3D 0x3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE2471A1
>>            CB46BE1CF61E4555AAB35C87920B9DCC4E6A3897D
>>   x(P) =3D 0x61B111FB45A9266CC0B6A2129AE55DB5B30BF446E5BE4C005763FFA
>>            8F33163406FF292B16545941350D540E46C206BDE
>>   y(P) =3D 0x82983E67B9A6EEB08738B1A423B10DD716AD8274F1425F56830F98F
>>            7F645964B0072B0F946EC48DC9D8D03E1F0729392
>>      h =3D 0x4
>>
>>
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> http://www.irtf.org/mailman/listinfo/cfrg
>>
>
>
>
>--=20
>"Those who would give up Essential Liberty to purchase a little
>Temporary Safety deserve neither  Liberty nor Safety."
>-- Benjamin Franklin
>
>_______________________________________________
>Cfrg mailing list
>Cfrg@irtf.org
>http://www.irtf.org/mailman/listinfo/cfrg


From nobody Thu Nov 27 10:33:22 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 455F71A00B5 for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 10:33:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
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 F6ULC4xBBYsN for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 10:33:09 -0800 (PST)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id 19F001A0078 for <cfrg@irtf.org>; Thu, 27 Nov 2014 10:33:08 -0800 (PST)
Received: from xct103cnc.rim.net ([10.65.161.203]) by mhs214cnc.rim.net with ESMTP/TLS/AES128-SHA; 27 Nov 2014 13:33:03 -0500
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT103CNC.rim.net ([fe80::b8:d5e:26a5:f4d6%17]) with mapi id 14.03.0174.001; Thu, 27 Nov 2014 13:33:02 -0500
From: Dan Brown <dbrown@certicom.com>
To: "'watsonbladd@gmail.com'" <watsonbladd@gmail.com>
Thread-Topic: invalid compressed point attack ... 
Thread-Index: AdAKb77Hf6qC9j98Q0eovHtP6boGmQ==
Date: Thu, 27 Nov 2014 18:33:02 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5D0AB7B@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.252]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_01DB_01D00A46.AA439A50"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/nzxkGIo97GlIGszJirvS_TFUUio
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: [Cfrg] invalid compressed point attack ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 18:33:15 -0000

------=_NextPart_000_01DB_01D00A46.AA439A50
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: 7bit

I don't know if the compressed version of the invalid-point attack is common 
knowledge - or whether people would think it is unrealistic - or even whether 
there is some drastic error in it.  If so, then sorry for stating the obvious, 
and just skip reading the rest of this message.

>From: Watson Ladd
>Sent: Wednesday, October 22, 2014 12:11 PM
>Cc: tls@ietf.org
>Subject: Re: [TLS] Should we require compressed points

>Yes, but uncompressed points are not a security concern in X509, but they are 
>in ECDH.
>Furthermore, the cost of adding compression support is very small: it's a 
>square root, a check, and potentially flipping the sign.
>The benefit is that invalid point attacks are much harder to carry out.

Minor clarification on the "much harder" part: there is a technical attack 
when invalid compressed points are "used" (as defined below).

I assume short Weierstrass form, but some of this may extend to other curve 
forms.

Review: An uncompressed point (x,y) is invalid if it fails a simple check.
In an invalid point attack, a user applies the secret key to an invalid point 
using certain addition laws, and scalar multiplication algorithms, that have 
an action on uncompressed points that corresponds to the equivalent action on 
another curve in which the invalid point has low order.

Definitions: A compressed point (x,z) is invalid if it is not the compression 
of a valid uncompressed point.
We can technically define an invalid point attack for compression by 
specifying an invalid decompression rule for invalid compressed points.
For example, in prime fields of size p = 3 mod 4, the function z |-> 
z^((p+1)/4) can be used to decompress invalid compressed points, in the place 
where actual square root algorithm is used to decompress a valid compressed 
point.

To me, this invalid decompression rule seems as plausible an implementation 
fault as the fault of not checking for curve membership of an uncompressed 
point.
In fact, a user might reason that an attacker's only approach with compressed 
points is to try random compressed points (x,z) until they have low order.
Under the heuristic that random compressed (x,z) usually have random large 
orders upon invalid decompression, the user might then think it is infeasible 
to find such points, and therefore it is safe to use invalid decompression 
(e.g. saving the error-handling etc.)

Well, here is an invalid compressed point, which on curve NIST P192 
decompresses to invalid uncompressed point of order 11:

02 2f 8c 8c 8a 7c b1 1c 06 aa a3 4b 23 4f 7d 88 cd b9 9f d7 66 4a 00 a4 d7

I presented this point and a method (using division polynomials) to find such 
points in the slides at PKC 2003 (which I almost completely forgot about!).
This method certainly has an additional pre-computation cost, compared to the 
uncompressed invalid-point attack, but I don't think it's too costly.
After that initial cost, the attack is pretty much the same as the one on 
uncompressed points.

Best regards,

Dan


------=_NextPart_000_01DB_01D00A46.AA439A50
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICCm2p3UcABAAABWowDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAy
WUtGMB4XDTE0MDUxNDE0MzYzOFoXDTE1MDUxNDE0MzYzOFowgaQxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xDTALBgNVBAsTBEFNRVIxCzAJBgNVBAsTAkNBMRQwEgYD
VQQLEwtNaXNzaXNzYXVnYTEOMAwGA1UECxMFVXNlcnMxEjAQBgNVBAMTCURhbiBCcm93bjEiMCAG
CSqGSIb3DQEJARYTZGJyb3duQGNlcnRpY29tLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
gYEA54YaBOai2UDS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kFB4oDDaxvMV+z8JBicPed7xKMc2/yZPJzKEcOjtbBQrPHklXc8FnbtTgD5bK3MR8629qdYTJ
mmsfllgtjUO864lweNujjdQ9xBxIjMA6fqGsVx4sfYgloI4svlKI1XqYVnNJoEswywAAAAAAAA==

------=_NextPart_000_01DB_01D00A46.AA439A50--


From nobody Thu Nov 27 12:36:30 2014
Return-Path: <b@b3k.us>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0C8001A0195 for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 12:36:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 8CNCl8kCnxSq for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 12:36:27 -0800 (PST)
Received: from mail-qc0-f175.google.com (mail-qc0-f175.google.com [209.85.216.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 161381A0187 for <cfrg@irtf.org>; Thu, 27 Nov 2014 12:36:27 -0800 (PST)
Received: by mail-qc0-f175.google.com with SMTP id b13so4388227qcw.20 for <cfrg@irtf.org>; Thu, 27 Nov 2014 12:36:26 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=AKCDd0KBttkV6k2Mkt+Kpj6jlCBRuUKa81nQ/iDOhrI=; b=TPfd8tVcrFZQdek4JWOG8xR70MD1au4KlN4QRS+WN2sd8wpsD5xiHi73Wr3F8ApZu+ pFgGRM9nvL9tH/s5tpvTlWVjP3GBT/bscmu7FGwzxpQQKRmv1hoE/n/wiCsippsQnAFA YD63FUnmbxCiz9uoQx6uaUX8xszHn2x8eLSinwyGEJt22ZpcoM1WZYYO8WB1J62ivvDH 93wfOcgf0cyghcOkbcRbEVfMbbpOPBYjEzLDYoyalRwJW+Nw/ISedVjZcO8hEgVOAnj9 VDvTHugr7pgASkENoTdypawfzDAuyX30U32kS6nfymLothceybqBIJpwx7UNsxJEtmff Cp7A==
X-Gm-Message-State: ALoCoQmHmLxndZNvnRipj30tgtbwo2h7tQl+cHLAiywZqquHJ9/KbeQRMT/sCbbnQR/dYTgDNe2m
X-Received: by 10.140.38.102 with SMTP id s93mr55587324qgs.18.1417120586237; Thu, 27 Nov 2014 12:36:26 -0800 (PST)
MIME-Version: 1.0
Received: by 10.140.89.103 with HTTP; Thu, 27 Nov 2014 12:36:06 -0800 (PST)
In-Reply-To: <5476CB73.7090206@akr.io>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476CB73.7090206@akr.io>
From: Benjamin Black <b@b3k.us>
Date: Thu, 27 Nov 2014 12:36:06 -0800
Message-ID: <CA+Vbu7zXbKTehB0APPAqFZYZmyP94U-+oOsGMcO846jhKUdY6Q@mail.gmail.com>
To: Alyssa Rowan <akr@akr.io>
Content-Type: multipart/alternative; boundary=001a11c125ec25a8940508dd1984
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/POYGlcoDsam5Jy7I7vA69bd69ZU
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] draft-black-rpgecc-00-.txt [was: Consensus and a way forward]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 20:36:29 -0000

--001a11c125ec25a8940508dd1984
Content-Type: text/plain; charset=UTF-8

On Wed, Nov 26, 2014 at 10:57 PM, Alyssa Rowan <akr@akr.io> wrote:
>
>
> The IPR section in that draft is remarkably short: of course you
> cannot patent numbers. (That's copyright's job. <g>) In order to
> satisfy IP1 and IP2 requirements we're going to need more information
> about the status of specific algorithms on those curves which people
> will actually use. As Dan Brown's recent message should highlight, we
> should evaluate the patent status and can't ignore it (unless we plan
> on ignoring them for long enough that they go away, and in that case,
> we need to know when!).
>

We are aware of no IP whatsoever covering the contents of the draft. I will
update the IPR statement to be more clear.


b

--001a11c125ec25a8940508dd1984
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On W=
ed, Nov 26, 2014 at 10:57 PM, Alyssa Rowan <span dir=3D"ltr">&lt;<a href=3D=
"mailto:akr@akr.io" target=3D"_blank">akr@akr.io</a>&gt;</span> wrote:<bloc=
kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-=
width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;paddin=
g-left:1ex">
<br>
The IPR section in that draft is remarkably short: of course you<br>
cannot patent numbers. (That&#39;s copyright&#39;s job. &lt;g&gt;) In order=
 to<br>
satisfy IP1 and IP2 requirements we&#39;re going to need more information<b=
r>
about the status of specific algorithms on those curves which people<br>
will actually use. As Dan Brown&#39;s recent message should highlight, we<b=
r>
should evaluate the patent status and can&#39;t ignore it (unless we plan<b=
r>
on ignoring them for long enough that they go away, and in that case,<br>
we need to know when!).<br></blockquote><div><br></div><div>We are aware of=
 no IP whatsoever covering the contents of the draft. I will update the IPR=
 statement to be more clear.</div><div>=C2=A0</div><div><br></div><div>b</d=
iv></div></div></div>

--001a11c125ec25a8940508dd1984--


From nobody Thu Nov 27 12:41:48 2014
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 60E681A01AE for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 12:41:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.009
X-Spam-Level: 
X-Spam-Status: No, score=-2.009 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 esz9U8c28CdD for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 12:41:45 -0800 (PST)
Received: from waldorf.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id 144151A0195 for <cfrg@irtf.org>; Thu, 27 Nov 2014 12:41:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1417120904; d=isode.com; s=selector; i=@isode.com; bh=vfs4BQpJmrv5ohaoN1lR81Zn/3XgTsp9ePRdGDo5XeU=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=Yb52/92OQAs+eOHNpAqbuCnQncvjWdXJbNFR7zqzQXlZQGlV3xPSKD2uhfQCL6LVzdkv5p /9W2mifcNabiworq2OnskcpAudtCKWcC7nk/8feaBKXZzKgPBB81PX4ZN7GxZqxo+TgP/0 rMrOTPdCyMaGY8ANVNq1cxZObekADvQ=;
Received: from [192.168.0.12] (cpc5-nmal20-2-0-cust24.19-2.cable.virginm.net [92.234.84.25])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <VHeMhwBH1bOU@waldorf.isode.com>; Thu, 27 Nov 2014 20:41:44 +0000
X-SMTP-Protocol-Errors: PIPELINING
From: Alexey Melnikov <alexey.melnikov@isode.com>
X-Mailer: iPad Mail (12B435)
In-Reply-To: <5476CB73.7090206@akr.io>
X-Identity-Key: id1
Date: Thu, 27 Nov 2014 20:45:01 +0000
X-Account-Key: account1
X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0; attachmentreminder=0
Message-Id: <92355F08-6319-4382-A87E-8C11D7325695@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476CB73.7090206@akr.io>
To: Alyssa Rowan <akr@akr.io>, "cfrg@irtf.org" <cfrg@irtf.org>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary=Apple-Mail-29574D59-EDB0-4E4C-A693-08927E93A015
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Rk1yrVAQQK_5LQaPInIY1ebFJyw
Subject: Re: [Cfrg] draft-black-rpgecc-00-.txt [was: Consensus and a way forward]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 20:41:47 -0000

--Apple-Mail-29574D59-EDB0-4E4C-A693-08927E93A015
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Hi Alyssa,

> On 27/11/2014 06:57, Alyssa Rowan wrote:
>> On 27/11/2014 04:25, Benjamin Black wrote:
>>=20
>> Over the past couple of weeks we have been working with Adam
>> Langley to see if we could find a compromise with which we could
>> all live. I'm pleased to say we have been successful in
>> accommodating our respective performance and trustworthy generation
>> concerns, and I hope the resulting proposal will be attractive to
>> others, as well. The generation procedure is document in a draft
>> I've just posted that can be found at=20
>> http://www.ietf.org/id/draft-black-rpgecc-00.txt .
> An interesting proposal (of course, not a consensus as Hannes has
> pointed out, only a proposal representing a compromise between the
> authors
Of course. CFRG consensus would be determined by the chairs, after discussio=
n of the proposal.
> ).
> The IPR section in that draft is remarkably short: of course you
> cannot patent numbers. (That's copyright's job. <g>) In order to
> satisfy IP1 and IP2 requirements we're going to need more information
> about the status of specific algorithms on those curves which people
> will actually use. As Dan Brown's recent message should highlight, we
> should evaluate the patent status and can't ignore it (unless we plan
> on ignoring them for long enough that they go away, and in that case,
> we need to know when!).
>=20
> In order to evaluate the performance of simple and secure
> implementations of algorithms over these curves, of course we are also
> going to need safe, efficient implementations for those algorithms,
> ideally available under a liberal licence so stakeholders can actually
> use it (specifically I'm afraid Apache 2.0 won't do due to its licence
> incompatibilities), which also satisfy our patent concerns. Do you
> have such an implementation ready to publish that we can plug into
> SUPERCOP?
While it would be nice to have an open source implementation with a liberal l=
icense, there is no requirement to have an open source implementation to con=
sider this proposal. And IRTF process doesn't require that either.
> As this is an exercise in transparency, which is the most important
> thing that we hope to differentiate anything we produce from, say, the
> NIST curves, kindly disclose onto this list all of the technical
> discussions which have produced these compromise in criteria between
> the authors (or, in the alternative, hold them here afresh and let's
> see if they produce the same consensus). That is a discussion that I
> feel should be properly held publicly here, and at the very least,
> absolutely requires public documentation for posterity.
I don't think asking for a transcript of all such discussions is reasonable.=
 Repeating some of the discussion, in particular in response to clarifying q=
uestions might be. People should treat the draft as any other contribution t=
o the ECC discussion in the RG.

Best Regards,
Alexey, as co-chair
> I note that if you run your algorithm on 2^521-1 you get E-521. If you
> ran it on 2^255-19, why didn't you get the twisted Edwards form of
> Curve25519? Kindly elucidate your objections to the same.



--Apple-Mail-29574D59-EDB0-4E4C-A693-08927E93A015
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: 7bit

<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span></span></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><span></span></div><div>
  
    <meta content="text/html; charset=windows-1252" http-equiv="Content-Type">
  
  
    Hi Alyssa,<br>
    <br>
    <div class="moz-cite-prefix">On 27/11/2014 06:57, Alyssa Rowan
      wrote:<br>
    </div>
    <blockquote cite="mid:5476CB73.7090206@akr.io" type="cite">
      <pre wrap="">On 27/11/2014 04:25, Benjamin Black wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">Over the past couple of weeks we have been working with Adam
Langley to see if we could find a compromise with which we could
all live. I'm pleased to say we have been successful in
accommodating our respective performance and trustworthy generation
concerns, and I hope the resulting proposal will be attractive to
others, as well. The generation procedure is document in a draft
I've just posted that can be found at 
<a class="moz-txt-link-freetext" href="http://www.ietf.org/id/draft-black-rpgecc-00.txt">http://www.ietf.org/id/draft-black-rpgecc-00.txt</a> .
</pre>
      </blockquote>
      <pre wrap="">An interesting proposal (of course, not a consensus as Hannes has
pointed out, only a proposal representing a compromise between the
authors</pre>
    </blockquote>
    Of course. CFRG consensus would be determined by the chairs, after
    discussion of the proposal.<br>
    <blockquote cite="mid:5476CB73.7090206@akr.io" type="cite">
      <pre wrap="">).</pre>
    </blockquote>
    <blockquote cite="mid:5476CB73.7090206@akr.io" type="cite">
      <pre wrap="">The IPR section in that draft is remarkably short: of course you
cannot patent numbers. (That's copyright's job. &lt;g&gt;) In order to
satisfy IP1 and IP2 requirements we're going to need more information
about the status of specific algorithms on those curves which people
will actually use. As Dan Brown's recent message should highlight, we
should evaluate the patent status and can't ignore it (unless we plan
on ignoring them for long enough that they go away, and in that case,
we need to know when!).

In order to evaluate the performance of simple and secure
implementations of algorithms over these curves, of course we are also
going to need safe, efficient implementations for those algorithms,
ideally available under a liberal licence so stakeholders can actually
use it (specifically I'm afraid Apache 2.0 won't do due to its licence
incompatibilities), which also satisfy our patent concerns. Do you
have such an implementation ready to publish that we can plug into
SUPERCOP?</pre>
    </blockquote>
    While it would be nice to have an open source implementation with a
    liberal license, there is no requirement to have an open source implementation to consider this proposal. And IRTF process doesn't require that either.<br>
    <blockquote cite="mid:5476CB73.7090206@akr.io" type="cite">
      <pre wrap="">As this is an exercise in transparency, which is the most important
thing that we hope to differentiate anything we produce from, say, the
NIST curves, kindly disclose onto this list all of the technical
discussions which have produced these compromise in criteria between
the authors (or, in the alternative, hold them here afresh and let's
see if they produce the same consensus). That is a discussion that I
feel should be properly held publicly here, and at the very least,
absolutely requires public documentation for posterity.
</pre></blockquote><div>I don't think asking for a transcript of all such discussions is reasonable. Repeating some of the discussion, in particular in response to clarifying questions might be. People should treat the draft as any other contribution to the ECC discussion in the RG.</div><div><br></div><div>Best Regards,</div><div>Alexey, as co-chair</div><blockquote cite="mid:5476CB73.7090206@akr.io" type="cite"><pre wrap="">I note that if you run your algorithm on 2^521-1 you get E-521. If you
ran it on 2^255-19, why didn't you get the twisted Edwards form of
Curve25519? Kindly elucidate your objections to the same.
</pre>
    </blockquote>
    <br>
    <br>
  

</div></div></body></html>
--Apple-Mail-29574D59-EDB0-4E4C-A693-08927E93A015--


From nobody Thu Nov 27 13:47:34 2014
Return-Path: <mike@shiftleft.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9B6F21A006E for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 13:47:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.556
X-Spam-Level: *
X-Spam-Status: No, score=1.556 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, HTML_MESSAGE=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
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 YlI_VoFvnh1e for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 13:47:31 -0800 (PST)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 353F41A002B for <cfrg@irtf.org>; Thu, 27 Nov 2014 13:47:30 -0800 (PST)
Received: from [172.20.10.9] (mobile-166-171-248-169.mycingular.net [166.171.248.169]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 00D4B3AC24; Thu, 27 Nov 2014 13:45:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1417124746; bh=GqtAqeHTDRKi84M8UInXZDqxTDPcxXMCLr8gbEO4Gu4=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=jacTop6MN+xz3jOR0p2/J08yakJwlSA/ePeJB2xA8kW7tiy31FBVPluNHwtdsuZqc 2ZWTtSwj1E4+AXeSFHguU1luAvHOcZ2dzVnvnh9N909FbrxiGECOSyP+h7i7Eqht0g lrH8ZHblLR+d26sEJL1d+DmixT7UFcM9+/6ZIhrU=
Content-Type: multipart/alternative; boundary="Apple-Mail=_164FE5D3-8468-44C9-A2AA-65917DAFAC1D"
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <CA+Vbu7zXbKTehB0APPAqFZYZmyP94U-+oOsGMcO846jhKUdY6Q@mail.gmail.com>
Date: Thu, 27 Nov 2014 13:47:25 -0800
Message-Id: <FA40B02F-A8BE-4C8A-B012-A527406CBF02@shiftleft.org>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476CB73.7090206@akr.io> <CA+Vbu7zXbKTehB0APPAqFZYZmyP94U-+oOsGMcO846jhKUdY6Q@mail.gmail.com>
To: Benjamin Black <b@b3k.us>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/68voeWp1lkINGhPAmTT-hU50I3g
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] draft-black-rpgecc-00-.txt [was: Consensus and a way forward]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 21:47:32 -0000

--Apple-Mail=_164FE5D3-8468-44C9-A2AA-65917DAFAC1D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi Benjamin,

That reminds me =E2=80=94 not that this has much bearing on the latest =
draft =E2=80=94 but did that Microsoft investigation into the =E2=80=98907=
 patent ever conclude one way or the other?

Thanks,
=E2=80=94 Mike

> On Nov 27, 2014, at 12:36 PM, Benjamin Black <b@b3k.us> wrote:
>=20
> On Wed, Nov 26, 2014 at 10:57 PM, Alyssa Rowan <akr@akr.io =
<mailto:akr@akr.io>> wrote:
>=20
> The IPR section in that draft is remarkably short: of course you
> cannot patent numbers. (That's copyright's job. <g>) In order to
> satisfy IP1 and IP2 requirements we're going to need more information
> about the status of specific algorithms on those curves which people
> will actually use. As Dan Brown's recent message should highlight, we
> should evaluate the patent status and can't ignore it (unless we plan
> on ignoring them for long enough that they go away, and in that case,
> we need to know when!).
>=20
> We are aware of no IP whatsoever covering the contents of the draft. I =
will update the IPR statement to be more clear.
> =20
>=20
> b
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


--Apple-Mail=_164FE5D3-8468-44C9-A2AA-65917DAFAC1D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><div class=3D"">Hi Benjamin,</div><div class=3D""><br =
class=3D""></div><div class=3D"">That reminds me =E2=80=94 not that this =
has much bearing on the latest draft =E2=80=94 but did that Microsoft =
investigation into the =E2=80=98907 patent ever conclude one way or the =
other?</div><div class=3D""><br class=3D""></div><div =
class=3D"">Thanks,</div><div class=3D"">=E2=80=94 Mike</div><br =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
Nov 27, 2014, at 12:36 PM, Benjamin Black &lt;<a href=3D"mailto:b@b3k.us" =
class=3D"">b@b3k.us</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D""><div class=3D"gmail_extra"><div class=3D"gmail_quote">On Wed, =
Nov 26, 2014 at 10:57 PM, Alyssa Rowan <span dir=3D"ltr" class=3D"">&lt;<a=
 href=3D"mailto:akr@akr.io" target=3D"_blank" =
class=3D"">akr@akr.io</a>&gt;</span> wrote:<blockquote =
class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex">
<br class=3D"">
The IPR section in that draft is remarkably short: of course you<br =
class=3D"">
cannot patent numbers. (That's copyright's job. &lt;g&gt;) In order =
to<br class=3D"">
satisfy IP1 and IP2 requirements we're going to need more information<br =
class=3D"">
about the status of specific algorithms on those curves which people<br =
class=3D"">
will actually use. As Dan Brown's recent message should highlight, we<br =
class=3D"">
should evaluate the patent status and can't ignore it (unless we plan<br =
class=3D"">
on ignoring them for long enough that they go away, and in that case,<br =
class=3D"">
we need to know when!).<br class=3D""></blockquote><div class=3D""><br =
class=3D""></div><div class=3D"">We are aware of no IP whatsoever =
covering the contents of the draft. I will update the IPR statement to =
be more clear.</div><div class=3D"">&nbsp;</div><div class=3D""><br =
class=3D""></div><div class=3D"">b</div></div></div></div>
_______________________________________________<br class=3D"">Cfrg =
mailing list<br class=3D""><a href=3D"mailto:Cfrg@irtf.org" =
class=3D"">Cfrg@irtf.org</a><br =
class=3D"">http://www.irtf.org/mailman/listinfo/cfrg<br =
class=3D""></div></blockquote></div><br class=3D""></body></html>=

--Apple-Mail=_164FE5D3-8468-44C9-A2AA-65917DAFAC1D--


From nobody Thu Nov 27 13:49:15 2014
Return-Path: <b@b3k.us>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CCC021A0117 for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 13:49:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 ZggDfVvS6ot1 for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 13:49:13 -0800 (PST)
Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E5EF51A002B for <cfrg@irtf.org>; Thu, 27 Nov 2014 13:49:12 -0800 (PST)
Received: by mail-wg0-f41.google.com with SMTP id y19so7406803wgg.28 for <cfrg@irtf.org>; Thu, 27 Nov 2014 13:49:11 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=XmQqYuDLaplg6hagkHMY+Yep9s4XlfbTZutiDhW+/w8=; b=ilYCTxSJlHFogRgHxOkP+NozUsoh0P8hkQF6iLoOpVjxYSX4ZzdRngrvFXYDuo/nTR gRPMGH9sMazTyw/VlT9FRZTtaWo8QcPeKBheayoC9Hs4AHfocH/NJc26P2aQHic9QN9W i22HzYvBUg4wzhigI+tt8zcAspQUft61W6T4dqcTk4AmO5sxF7Jb+F8yAGoqt7I3jHFm a7AFCQD+dhSmVsREAzXkIK0hZVK7RcF0B/YFh5eUcQq7iMOMVZF4Ft3ccNI6/f19f4b6 I+LldplFE8IG4tW9FI7bHXUahoL09SL1KW7XcbQz4BuexawmbgYR3acOhkeVHyRcXsRm JryA==
X-Gm-Message-State: ALoCoQncfnUa5DKrZD3jm7aR/RfHEZ3KfdXXaAKCVEDr8qOde3FuhOKT0636f0NsR6QOtkxHmY+r
MIME-Version: 1.0
X-Received: by 10.180.211.108 with SMTP id nb12mr55453288wic.76.1417124951592;  Thu, 27 Nov 2014 13:49:11 -0800 (PST)
Received: by 10.217.191.195 with HTTP; Thu, 27 Nov 2014 13:49:11 -0800 (PST)
In-Reply-To: <FA40B02F-A8BE-4C8A-B012-A527406CBF02@shiftleft.org>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476CB73.7090206@akr.io> <CA+Vbu7zXbKTehB0APPAqFZYZmyP94U-+oOsGMcO846jhKUdY6Q@mail.gmail.com> <FA40B02F-A8BE-4C8A-B012-A527406CBF02@shiftleft.org>
Date: Thu, 27 Nov 2014 13:49:11 -0800
Message-ID: <CA+Vbu7zv-JLMjDyqL0PQQTo1TWdiWdvZube0c1seXLBKGsaDmA@mail.gmail.com>
From: Benjamin Black <b@b3k.us>
To: Michael Hamburg <mike@shiftleft.org>
Content-Type: multipart/alternative; boundary=001a11c37d3257a8a20508de1db8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/7-tzm_AFEZk19-hBMEQCjZFP88A
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] draft-black-rpgecc-00-.txt [was: Consensus and a way forward]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 21:49:15 -0000

--001a11c37d3257a8a20508de1db8
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I will follow up with folks after the holiday to see where we are.


b

On Thursday, November 27, 2014, Michael Hamburg <mike@shiftleft.org> wrote:

> Hi Benjamin,
>
> That reminds me =E2=80=94 not that this has much bearing on the latest dr=
aft =E2=80=94 but
> did that Microsoft investigation into the =E2=80=98907 patent ever conclu=
de one way
> or the other?
>
> Thanks,
> =E2=80=94 Mike
>
> On Nov 27, 2014, at 12:36 PM, Benjamin Black <b@b3k.us
> <javascript:_e(%7B%7D,'cvml','b@b3k.us');>> wrote:
>
> On Wed, Nov 26, 2014 at 10:57 PM, Alyssa Rowan <akr@akr.io
> <javascript:_e(%7B%7D,'cvml','akr@akr.io');>> wrote:
>>
>>
>> The IPR section in that draft is remarkably short: of course you
>> cannot patent numbers. (That's copyright's job. <g>) In order to
>> satisfy IP1 and IP2 requirements we're going to need more information
>> about the status of specific algorithms on those curves which people
>> will actually use. As Dan Brown's recent message should highlight, we
>> should evaluate the patent status and can't ignore it (unless we plan
>> on ignoring them for long enough that they go away, and in that case,
>> we need to know when!).
>>
>
> We are aware of no IP whatsoever covering the contents of the draft. I
> will update the IPR statement to be more clear.
>
>
> b
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org <javascript:_e(%7B%7D,'cvml','Cfrg@irtf.org');>
> http://www.irtf.org/mailman/listinfo/cfrg
>
>
>

--001a11c37d3257a8a20508de1db8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I will follow up with folks after the holiday to see where we are.<div><br>=
</div><div><br></div><div>b<span></span><br><br>On Thursday, November 27, 2=
014, Michael Hamburg &lt;<a href=3D"mailto:mike@shiftleft.org">mike@shiftle=
ft.org</a>&gt; wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style=3D"word-=
wrap:break-word"><div>Hi Benjamin,</div><div><br></div><div>That reminds me=
 =E2=80=94 not that this has much bearing on the latest draft =E2=80=94 but=
 did that Microsoft investigation into the =E2=80=98907 patent ever conclud=
e one way or the other?</div><div><br></div><div>Thanks,</div><div>=E2=80=
=94 Mike</div><br><div><blockquote type=3D"cite"><div>On Nov 27, 2014, at 1=
2:36 PM, Benjamin Black &lt;<a href=3D"javascript:_e(%7B%7D,&#39;cvml&#39;,=
&#39;b@b3k.us&#39;);" target=3D"_blank">b@b3k.us</a>&gt; wrote:</div><br><d=
iv><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">O=
n Wed, Nov 26, 2014 at 10:57 PM, Alyssa Rowan <span dir=3D"ltr">&lt;<a href=
=3D"javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;akr@akr.io&#39;);" target=3D"_=
blank">akr@akr.io</a>&gt;</span> wrote:<blockquote class=3D"gmail_quote" st=
yle=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb=
(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
The IPR section in that draft is remarkably short: of course you<br>
cannot patent numbers. (That&#39;s copyright&#39;s job. &lt;g&gt;) In order=
 to<br>
satisfy IP1 and IP2 requirements we&#39;re going to need more information<b=
r>
about the status of specific algorithms on those curves which people<br>
will actually use. As Dan Brown&#39;s recent message should highlight, we<b=
r>
should evaluate the patent status and can&#39;t ignore it (unless we plan<b=
r>
on ignoring them for long enough that they go away, and in that case,<br>
we need to know when!).<br></blockquote><div><br></div><div>We are aware of=
 no IP whatsoever covering the contents of the draft. I will update the IPR=
 statement to be more clear.</div><div>=C2=A0</div><div><br></div><div>b</d=
iv></div></div></div>
_______________________________________________<br>Cfrg mailing list<br><a =
href=3D"javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;Cfrg@irtf.org&#39;);" targ=
et=3D"_blank">Cfrg@irtf.org</a><br><a href=3D"http://www.irtf.org/mailman/l=
istinfo/cfrg" target=3D"_blank">http://www.irtf.org/mailman/listinfo/cfrg</=
a><br></div></blockquote></div><br></div></blockquote></div>

--001a11c37d3257a8a20508de1db8--


From nobody Thu Nov 27 14:13:31 2014
Return-Path: <akr@akr.io>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B0E6B1A00B2 for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 14:13:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 Jax0WNL9hYpW for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 14:13:26 -0800 (PST)
Received: from entima.net (entima.net [78.129.143.175]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 56AAE1A0019 for <cfrg@irtf.org>; Thu, 27 Nov 2014 14:13:26 -0800 (PST)
Message-ID: <5477A208.2030709@akr.io>
Date: Thu, 27 Nov 2014 22:13:28 +0000
From: Alyssa Rowan <akr@akr.io>
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476CB73.7090206@akr.io> <92355F08-6319-4382-A87E-8C11D7325695@isode.com>
In-Reply-To: <92355F08-6319-4382-A87E-8C11D7325695@isode.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/I5_3jH1ukmZZb9HYLe_-wv3vDXc
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] draft-black-rpgecc-00-.txt [was: Consensus and a way forward]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Nov 2014 22:13:30 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 27/11/2014 20:45, Alexey Melnikov wrote:

> While it would be nice to have an open source implementation with
> a liberal license, there is no requirement to have an open source 
> implementation to consider this proposal. And IRTF process doesn't 
> require that either.

Indeed. But given the previous comments about benchmarking, how would
we fairly evaluate it otherwise - and moreover, how attractive would the
resulting proposal actually be to others?

As Adam's pointed out, this proposal has generated something extremely
close to an existing curve that's already on the table. I am not sure
that there is a good clear justification for the only thing
differentiating this proposal from that proposal; I don't currently
think it's an improvement there.

If we added - on the basis of wanting to ensure secure implementations
of many possible things we might use it for (such as ECDH) are as simple
as possible - the pretty reasonable criteria that there should be no
weak keys, it would generate Curve25519, I understand. I would accept
that outcome: and it has been very warmly received by the RG before, I
recall. And then we'd have an equally clear process for a larger curve.
(I bear Mike's comments in mind, of course; it needs discussion.)

If we didn't want to do that, I'd want to be crystal-clear about the
value of why not, and hence why anyone outside would ever want to
choose this proposal above Curve25519. (Because right now, I wouldn't.)

> I don't think asking for a transcript of all such discussions is 
> reasonable. Repeating some of the discussion, in particular in 
> response to clarifying questions might be.

Having reconsidered: perhaps you're right! I simply wish the process to
be as transparently and openly argued as possible, that's all: that is,
after all, the primary value of IRTF making such recommendations, rather
than major players such as Google and Microsoft making them by fiat.

> People should treat the draft as any other contribution to the ECC 
> discussion in the RG.

Indeed; I think it is a very encouraging sign overall, and provides a
very good base narrowing the points (if you'll forgive the pun!) of
technical contention. Hopefully we can converge on curves which are
widely acceptable.

- -- 
/akr
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJUd6IIAAoJEOyEjtkWi2t673EP/0QfqSw3J9bIwNs6lVaP8bcg
YjxqUWxI5XuWvpNtPC8+GQPdA+Tgvv2jcvPOWIDOszX51m8+eXcNXACxaz+olwrL
HKvtWRcY3MEq3GrZuyeBvvzpHhMAiIye+Tv3VcWyAHPYwz4xf9L9CFwWNCUrbO3W
GWUZrQ5l4f0dMfZERlFTSnA8FBEXcbYj2lnLvWnwGbVpvA5vWbXl6R9m/pHEuOOg
XQUz+G64hOw0ItoBTCyv+d2KGCyDqLT2LXBmpTXhkJeAMiT2gXN+FFZvcw+lGEU7
xuDkpGgweVG4IYCHekHap2jq4WNZ9QHVenxRwOngP5tylPjaCYWIH7uyfWlzvehG
9RF+q8WVCTNZO4bccNtdI6sWgfseZWBOiBdMOxgRxIvNUUaErdYAs/4OGizOvNUc
8RHVXIDtYgR+QsMkKCRLrv+f3o+I6EGmBYbY09xQYJ7LXY/m31ABS4NaFzIukFGX
NirLPR5flpyQsdnUbw/U3ZOMQHjgZNLoJZDNEmArzwMU9leFzaFKUgvpI/5RgZf/
CKRSjfAl0qOGwPbUL1JIw09hp+SCPNTFIZYDuwzJplHqmTklr8BNAhRhdZPDrgzA
sc5KriCFdJgAU1abg32ilrvTwLoO7jxW6NENLfsvpmHEshObxl3LiRRxFO2t3aKx
IK6jAAkCdJEMt42zxxCk
=+AJL
-----END PGP SIGNATURE-----


From nobody Thu Nov 27 17:41:14 2014
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ED5A81A038C for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 17:41:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.896
X-Spam-Level: **
X-Spam-Status: No, score=2.896 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, UNPARSEABLE_RELAY=0.001] autolearn=no
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 dP-ik878B492 for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 17:41:08 -0800 (PST)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id 4A9421A0387 for <cfrg@irtf.org>; Thu, 27 Nov 2014 17:41:08 -0800 (PST)
Received: (qmail 6729 invoked by uid 1017); 28 Nov 2014 01:41:27 -0000
Received: from unknown (unknown) by unknown with QMTP; 28 Nov 2014 01:41:27 -0000
Received: (qmail 26624 invoked by uid 1001); 28 Nov 2014 01:40:59 -0000
Date: 28 Nov 2014 01:40:59 -0000
Message-ID: <20141128014059.26622.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/oOY_QNA6QMsTJHLLbUjch6-GLsc
Subject: [Cfrg] Mishandling twist attacks
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Nov 2014 01:41:12 -0000

Two slight variants of Curve25519 were considered and rejected in the
Curve25519 paper. Apparently there's now a proposal to revive one of
those variants. Here are all three curves for comparison, including
names for the two variants so that I can refer to them:

   Curve25519:       y^2 = x^3 + 486662x^2 + x  mod 2^255-19
   FuschiaBikeShed:  y^2 = x^3 + 464586x^2 + x  mod 2^255-19
   PinkBikeShed:     y^2 = x^3 + 358990x^2 + x  mod 2^255-19

The proposal, specifically, is to use PinkBikeShed. The core argument
for this is that 358990 is smaller than 464586 and 486662.

Perhaps I should emphasize that---when security is equal---the ultimate
arbiter is performance, not any preconceived notion of smallness. My
impression is that the ASIC costs of Curve25519 are marginally smaller
than the ASIC costs of PinkBikeShed and FuschiaBikeShed, after careful
optimization, because of the nicer bit pattern in 486662. Larger gaps in
sizes of constants often produce more noticeable slowdowns in software,
but I haven't found any platforms where 358990 is faster than 486662.

But performance isn't the main topic of this message. There are much
more important reasons---security reasons---to reject PinkBikeShed. The
purpose of this message is to carefully explain one of those reasons.

General context first: We've had many years of serious vulnerabilities
in deployed crypto, and we know what makes these vulnerabilities stick
around. The protocol designer (or promoter) takes every possible
opportunity to blame the implementor for security failures---e.g.,

   "This IS an attack against a particular implementation of ECDSA.
   This is NOT an attack against all implementations of ECDSA."

---rather than admitting that the protocol could have and should have
been fixed. The protocol designer evades responsibility by saying that
it's _possible_ to fix every implementation, even though in most cases
it's crystal clear that this is much harder and much more fragile than
fixing the protocol. Similarly, the designer of the underlying crypto
primitive takes every possible opportunity to blame the protocol
designers and implementors for security failures---e.g.,

   "The initial key scheduling component of RC4 should for now be
   routinely amended for new applications to include hashing and/or
   discarding the first 256 bytes of pseudo-random output. (This has in
   any case been RSA's routine recommendation.)"

---rather than admitting that the primitive could have and should have
been fixed.

As an ECC example, consider uncompressed static ECDH using the NIST
curves. The simplest scalarmult procedures that seem to work turn out to
have huge problems: for example,

   * they leak secret keys through timing,
   * they produce dangerously wrong results for some inputs, and
   * they leak secret keys to invalid-curve attacks.

There's a long tradition of blaming the implementor for the resulting
security failures: it's the implementor's fault for not writing
constant-time code, for not checking for exceptional cases, etc.

However, we've known for many years how to _change the crypto_ to avoid
all of these implementation pitfalls. Specifically, we

   * compress points to just one coordinate (as suggested in Miller's
     original ECC paper), forcing attacker-supplied points to be on the
     curve or on the twist;

   * take twist-secure curves to eliminate the damage from attackers
     taking points on the twist;

   * choose curves for which the main theorem of the Curve25519 paper
     applies, showing that the remarkably simple, fast, constant-time
     Montgomery ladder works for all inputs; and

   * always set the top bit of scalars so that an input-length-agnostic
     variant of the Montgomery ladder doesn't create a timing leak.

It's of course still _possible_ for security to be compromised by a
sufficiently determined implementor, but this failure is no longer the
_default_. Similar steps also protect signatures.

But, wait, what about small-subgroup attacks? This has been the main
theme in the occasional objections to choosing a curve that allows
Montgomery coordinates (or Edwards coordinates): these coordinates
require a cofactor of at least 4, and then an attacker can send a point
of order 4 on the curve, easily learning the secret mod 4.

One can say that the _implementor_ should check for points of order 4.
But it's much better to solve this problem in the _protocol_. This is
why every major ECC standard already multiplies scalars by the curve's
cofactor.

Should we have tried to address this problem even earlier, namely in the
choice of _curve_? Unfortunately, we don't know how to achieve the huge
benefits mentioned earlier while taking cofactor 1---there's nothing for
cofactor 1 matching the amazing simplicity of the Montgomery ladder for
DH (or the simplicity of complete Edwards coordinates for signatures).
Fortunately, the attacks prevented by cofactor 1 cause security failures
in far fewer situations than the attacks prevented by taking a larger
cofactor, so the correct choice for the curve designer is clear. By far
the simplest, most robust ECC systems that we know how to build are
systems following the strategy explained above.

So far I haven't said anything that distinguishes Curve25519 from
PinkBikeShed---both of the curves solve the critical problems for the
most important protocols in exactly the same way. However, a closer look
shows that PinkBikeShed has smaller problems that are eliminated by
Curve25519. (FuschiaBikeShed has the same problems.)

I'm not saying that PinkBikeShed is anywhere near as bad as the NIST
curves. For example, unless the RNG is backdoored, standard DH is _not_
noticeably damaged by the particular type of security failure that I'll
focus on for the rest of this message, whereas standard DH with the NIST
curves (or the Brainpool curves) is an implementation nightmare. What
I'm saying is merely that Curve25519 is better---it eliminates the
failures for DH _and_ eliminates further failures for other protocols.

Specifically, consider a protocol that uses PinkBikeShed to multiply its
secret scalar by an attacker-specified point, with all the protections
listed above. PinkBikeShed has cofactor 4, so the protocol multiplies
the secret scalar s by the cofactor 4 exactly as the standards say, and
then uses the Montgomery ladder to multiply 4s by the Montgomery
x-coordinate received from the attacker. Does this protocol leak
information about the secret scalar s?

One might think that the answer is no. Small-subgroup attacks don't
learn anything. Invalid-curve attacks are syntactically prohibited,
except of course for the twist, and PinkBikeShed is twist-secure.

But it's not that simple! Twist-security doesn't mean that the twist
cofactor is 4. (As the Curve25519 paper mentions, for this prime it's
obviously not possible to have curve cofactor 4 and twist cofactor 4
simultaneously.) The twist of PinkBikeShed has points of order 8. If the
attacker sends one of those points Q, then 4sQ will be either 0 or a
particular nonzero point depending on whether s is even or odd. Unless
the protocol takes some unusual step to squash this distinction, the
bottom bit of s will end up directly controlling subsequent outputs that
the attacker can see.

How much damage is caused by having the bottom bit of secret scalars
leaked to the attacker?

As I said, there's no problem for the most important protocols. For
example, in pure DH (again, with a non-malicious RNG), the bottom bit of
s is independent of everything else, and the other bits provide ample
protection. In pure signatures (at least the state-of-the-art systems),
secret scalars are never applied to an attacker-controlled point.

However, there are quite a few protocols that use scalars in more
complicated ways. For example, there are more and more proposals to
share public keys between DH and signatures, and of course those are
reusing scalars. There are more and more proposals to derive DH scalars
from other DH scalars: consider Zooko's "semi-private" keys, for
example, or Tor's proposed replacement for the .onion design.

It seems to me that this bottom-bit leak is enough to completely break,
e.g., HMQV-PinkBikeShed by an adaptation of the Menezes HMQV attack in
http://anotherlook.ca/hmqv.shtml. I haven't worked through the details,
but if you _have_ to work through the details of how a completely
unnecessary ECC information leak affects a higher-level protocol then
you know you've done a bad system design.

One can of course blame the implementors for not checking whether the
input point has order 8. One can blame the standards for not warning
people about twist attacks. One can blame the protocols for multiplying
by 4 for this particular curve rather than 8. But a competent curve
designer, instead of blaming everybody else for a predictable problem,
will simply eliminate the problem by choosing a better curve.

For Curve25519, the twist cofactor divides the curve cofactor, and this
problem disappears. What the standards say to do, namely multiply by the
curve cofactor, is wrong for PinkBikeShed but correct for Curve25519.
The numerical details are spelled out in the "Small-subgroup attacks"
section of the Curve25519 paper.

This wasn't my only reason for rejecting PinkBikeShed. The Curve25519
paper mentions a less important reason that allowed a much shorter
summary and that, as a historical matter, came first. I didn't bother
writing down a comprehensive critique of PinkBikeShed, and didn't
imagine that anyone would ever try to revive that curve.

---Dan

P.S. Apparently Microsoft claims that each of its proposals, now
including PinkBikeShed, is "the most trustworthy curve". But we've now
all seen Microsoft changing from one curve mod 2^521-1 to another curve
mod 2^521-1 by manipulating their generation procedure. Which one of
those curves mod 2^521-1 is "the most trustworthy curve"?

Given the fact that Microsoft's curve-generation procedure is clearly
subject to change, let me suggest a possible way forward. Microsoft adds
further security criteria to its generation procedure, such as requiring
the twist cofactor to divide the curve cofactor. For 2^255-19 it ends up
with Curve25519---what a surprise! Microsoft then switches to proposing
the latest edition of its "most trustworthy curve", namely Curve25519.
This wouldn't resolve everything---I'd have to ask Microsoft to stop
saying "new" for curves that really aren't new, and presumably there
would still be discussion of larger primes---but surely it would help.

P.P.S. Apparently there's also a claim that ECDSA-PinkBikeShed would be
simpler than ECDSA-Curve25519. This claim starts from the Curve25519
paper's observation that _one_ of the primes for PinkBikeShed is
slightly below 2^252; concludes that the _curve order_ is slightly below
2^255; and tries to argue that a curve order slightly below 2^255 has
advantages outweighing the advantages of a curve order slightly above
2^255.

However, the curve order for PinkBikeShed is in fact _above_ 2^255, just
like the curve order for Curve25519; so the intermediate conclusion is
wrong, the subsequent argument is irrelevant, and the claim crumples.
The _twist_ order is below 2^255 (divide by the twist cofactor 8 to
obtain a prime slightly below 2^252, the prime that the paper is
describing) but the twist isn't the curve that's being proposed. I'll
find it richly entertaining if Microsoft now proposes the twist.


From nobody Thu Nov 27 19:38:28 2014
Return-Path: <dmjacobson@sbcglobal.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E4F31A1A0F for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 19:38:27 -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, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
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 P0KH36YXPrKp for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 19:38:24 -0800 (PST)
Received: from nm17-vm6.access.bullet.mail.gq1.yahoo.com (nm17-vm6.access.bullet.mail.gq1.yahoo.com [216.39.63.165]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 33C0D1A1A0C for <cfrg@irtf.org>; Thu, 27 Nov 2014 19:38:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1417145903; bh=3zJaA9q2rWfp/Etl2VEMjl6mcdkT5sKD2YG26BS/pw8=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=H6gFB0XbOSrx4UIsm06Pb+ubRo59bELVzi7963aU7YXl6e7pgym+oRnIOBJrEbJLHIokI4CxrS8LJxdZzBq7XY41HJVZ+04zLYtDaBvFeDONKOYc+TlZx0871JJ7qaDAYx3NHC5J+gfr3Yzk46CcLH5R1c0Lk8O/pLlOm8eqTcA=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; b=DhdFF8ibAByNDtCATE9dTqCKQTSDlcqDgsHoapfwQfY1AqqlqujVf10Md0lqjJCskMSahf750REskIW+KlUrLLDDodIXfEBK1CIJCTdHv5ytBnREYMvGs4zi/dxE8NV6nfZgPzEq6b/eX9oe4bV0brcNsCYqeDsC9SSNCWjHRCQ=;
Received: from [216.39.60.169] by nm17.access.bullet.mail.gq1.yahoo.com with NNFMP; 28 Nov 2014 03:38:23 -0000
Received: from [67.195.22.119] by tm5.access.bullet.mail.gq1.yahoo.com with NNFMP; 28 Nov 2014 03:38:23 -0000
Received: from [127.0.0.1] by smtp114.sbc.mail.gq1.yahoo.com with NNFMP; 28 Nov 2014 03:38:23 -0000
X-Yahoo-Newman-Id: 844000.60127.bm@smtp114.sbc.mail.gq1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: YOk5zDUVM1lpuGoGuNwQirSfTGdzmWVrx8lC6HeuXD0OfDB yfHurESVvpGx3Ft42gQ.SYsfhxdZpmhD1uGZZW749N0uSy9t_6FBpZ6ltlUm 8PabyCcR9tW1LFiVK9lv52IemRgDOWAOERl2JO20dIM36ZOcOcBonVxlRA4n MHAaEE_Bt4rDjaDqTUaBYnkY5uZvDP5UHe.s0c4nAPkXX19Z6Y7LWlsbTy2v WkGm3mSnZBttsSrHBEJsrZaYsZOiiQ70uHHVN9jBmD5jl.wn6JXITFZP20fb nBro3DBwui.qlewm3i22he8zdlllz8fdGMF12MxF.1BTgVMyp3gUzxoVZH8B BlKPRDLA4XNFIpcSbQZbWgj2RRHbYSvj2gTGrZ0XC8cftw25OL0UH6SRxDk. 1HbQu3bsGpZCHz.4a5xdfPkybot0Os_x50BlCHAsjPWAPZ5iChtHZ78F9YUN WNGLisk95mBcB65o8o29WQo78hAG5LIt3ZLAF2apjfpLBQe_KkKPPhb8llnd XPq_b5rMl7z1D1kDyxXCrJAlsE8daj3qTpk2k6z8TLZZDMXjFCXqO5Nbv
X-Yahoo-SMTP: nOrmCa6swBAE50FabWnlVFUpgFVJ9Gbi__8U5mpvhtQq7tTV1g--
Message-ID: <5477EE2E.7040601@sbcglobal.net>
Date: Thu, 27 Nov 2014 19:38:22 -0800
From: David Jacobson <dmjacobson@sbcglobal.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Dan Brown <dbrown@certicom.com>,  "'watsonbladd@gmail.com'" <watsonbladd@gmail.com>
References: <810C31990B57ED40B2062BA10D43FBF5D0AB7B@XMB116CNC.rim.net>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5D0AB7B@XMB116CNC.rim.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/86oY4YflRE4VV9MEMAZMSaK2cQA
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] invalid compressed point attack ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Nov 2014 03:38:27 -0000

On 11/27/14, 10:33 AM, Dan Brown wrote:
> Definitions: A compressed point (x,z) is invalid if it is not the compression
> of a valid uncompressed point.
> We can technically define an invalid point attack for compression by
> specifying an invalid decompression rule for invalid compressed points.
> For example, in prime fields of size p = 3 mod 4, the function z |->
> z^((p+1)/4) can be used to decompress invalid compressed points, in the place
> where actual square root algorithm is used to decompress a valid compressed
> point.
>
> To me, this invalid decompression rule seems as plausible an implementation
> fault as the fault of not checking for curve membership of an uncompressed
> point.
You seem to be saying that using y = z^((p+1)/4) where z is computed 
from x using the curve equation, i.e. for short Weierstrass z = x^2 + a 
* x + b, is not a valid way of computing a valid (x,y) on the curve.  
Well, of course, it is possible that z is not a quadratic residue.  But 
if you check that y^2 == z, is it still unsafe?

Thank you,

     --David


From nobody Thu Nov 27 19:42:41 2014
Return-Path: <dmjacobson@sbcglobal.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CE52F1A1A10 for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 19:42:39 -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, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
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 lyFzNGxS5ktK for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 19:42:38 -0800 (PST)
Received: from nm4-vm8.access.bullet.mail.gq1.yahoo.com (nm4-vm8.access.bullet.mail.gq1.yahoo.com [216.39.63.212]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5FAA31A1A0C for <cfrg@irtf.org>; Thu, 27 Nov 2014 19:42:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1417146158; bh=7xK2xyzEAdZpnvvRGy1oq98PvqFsUGR7RT2f1deZ2d0=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=h2nIQlPZMBdlbWBp1mBE4Fc2gB9nnuMy16vMPlFZmGdijWDm9qdIzXA4oSB3YuyTJs9wVQVezPHxH6PKAa7/3JYjZM2bZAMjZJZWImv/M56N8bLpopqYr2UAVVBorTsjlEjDHtUDVcEVUdMhEPuSr72hRuDXPcb9xynfM7ybMKM=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; b=EpmItNZbac4BObI5Z7kYMI0xA7VKmBP+/9d8bBXZwzxF3LkL028nl7MXNYxkwz57q/DigBCCHS1Q0ajvAb1PS50aIftd2rw6qO9zWHu/lYH1R2KKr/CLiTSOQZVJhO0h4vty8pmgizR30nQQfifdPqkbgj3Vq3hM+rxt4tEU2Gk=;
Received: from [216.39.60.173] by nm4.access.bullet.mail.gq1.yahoo.com with NNFMP; 28 Nov 2014 03:42:38 -0000
Received: from [67.195.23.144] by tm9.access.bullet.mail.gq1.yahoo.com with NNFMP; 28 Nov 2014 03:42:38 -0000
Received: from [127.0.0.1] by smtp116.sbc.mail.gq1.yahoo.com with NNFMP; 28 Nov 2014 03:42:38 -0000
X-Yahoo-Newman-Id: 115781.22864.bm@smtp116.sbc.mail.gq1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: oqwHipQVM1kB_BB64IvqzTJexHNA5ZsftpErdd6Xb5eLaWG iMvpe3zTM4VJZu_7ev.SEsttEGCjBPV.gi94y0o.2FCg1XHaTYkiUTU2NgIr dLNCY1V2.AqTyqfLuzfzeRwmMFiUjOAYX0ii5j0p0PseIi78gANluBBSh9Vn 2aNxfdFe831noBv8H0.tRmv5WKDL4svGDwqKFKyo6UpKXPySvC4eqAm0rshA sw2iQ1WfOz2DaZUw2.wJQauX2oBg2SsXaWySq6oXdYPjsrm94bcju0Cy.kaw uiaTHzcs8wePzf1SXzlsNHTCQs_u8Qzy5FaU4yo6vto1p7Tr.gRYiZ8oVlnq HA39aL7ekcZo.a4niFxdBUYrYTOdfMUyT.dYuWlWkPuaqh39wYlQESpG272F .ybD8kiUgFsPt6VaRFs63YSJLmSEkwtdDX79PAClFLqlFP0ZjoZW0tad_zvv 8j2Fsscoznzzh_ulq0c0MO3G5gM3kGcMLhWmfNwNrN5i1sR3miSJczBEBfU. hQ.nl0DTtwdN7WkD.iO8EdOcUSY89lCDS5xZKNZuVO9Un2CGme97XUEI-
X-Yahoo-SMTP: nOrmCa6swBAE50FabWnlVFUpgFVJ9Gbi__8U5mpvhtQq7tTV1g--
Message-ID: <5477EF2D.50808@sbcglobal.net>
Date: Thu, 27 Nov 2014 19:42:37 -0800
From: David Jacobson <dmjacobson@sbcglobal.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Dan Brown <dbrown@certicom.com>,  "'watsonbladd@gmail.com'" <watsonbladd@gmail.com>
References: <810C31990B57ED40B2062BA10D43FBF5D0AB7B@XMB116CNC.rim.net> <5477EE2E.7040601@sbcglobal.net>
In-Reply-To: <5477EE2E.7040601@sbcglobal.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/bak-FJVY1KhuRlpHwEEW0FZH1ac
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] invalid compressed point attack ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Nov 2014 03:42:40 -0000

On 11/27/14, 7:38 PM, David Jacobson wrote:
> On 11/27/14, 10:33 AM, Dan Brown wrote:
>> Definitions: A compressed point (x,z) is invalid if it is not the 
>> compression
>> of a valid uncompressed point.
>> We can technically define an invalid point attack for compression by
>> specifying an invalid decompression rule for invalid compressed points.
>> For example, in prime fields of size p = 3 mod 4, the function z |->
>> z^((p+1)/4) can be used to decompress invalid compressed points, in 
>> the place
>> where actual square root algorithm is used to decompress a valid 
>> compressed
>> point.
>>
>> To me, this invalid decompression rule seems as plausible an 
>> implementation
>> fault as the fault of not checking for curve membership of an 
>> uncompressed
>> point.
> You seem to be saying that using y = z^((p+1)/4) where z is computed 
> from x using the curve equation, i.e. for short Weierstrass z = x^2 + 
> a * x + b, is not a valid way of computing a valid (x,y) on the 
> curve.  Well, of course, it is possible that z is not a quadratic 
> residue.  But if you check that y^2 == z, is it still unsafe?
>
> Thank you,
>
>     --David
That was supposed to be z = y^3  + a * x + b.  Sorry for the typo. One 
always sees the mistake 3 seconds after clicking "send".

    --David


From nobody Thu Nov 27 22:26:06 2014
Return-Path: <mike@shiftleft.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 19F861A1A3A for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 22:26:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.255
X-Spam-Level: ****
X-Spam-Status: No, score=4.255 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
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 kZpBJOSp9J4a for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 22:26:04 -0800 (PST)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 31AEF1A1A38 for <cfrg@irtf.org>; Thu, 27 Nov 2014 22:26:03 -0800 (PST)
Received: from [192.168.1.117] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 6D4AC3AC24; Thu, 27 Nov 2014 22:24:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1417155859; bh=gCiqocL4a7j15tiW6Ws/FW72RsaJ1SAVwSmVfNqndwE=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=DMUsw9sUZ1iqBy7wQr5VmM1yiliAexdLZ3RdKREXpWYjV6B+u5BDJ45M/uh9azZ7G 2SwD2q5KGHAYMOfQPsbB2pG5O15rSXMxp+0X04+NOsRoyBxlbpXBuN7wfUUqLHU3o7 MEc3BwggN3BkBhg5sTKukqSzp7r9+0OZaFhbzN58=
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <20141128014059.26622.qmail@cr.yp.to>
Date: Thu, 27 Nov 2014 22:26:02 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <61DC51CF-8952-4259-810E-822ED98CCB1A@shiftleft.org>
References: <20141128014059.26622.qmail@cr.yp.to>
To: "D. J. Bernstein" <djb@cr.yp.to>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/0krSgzyICzdQjHP-XEM-nP2FGIg
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Mishandling twist attacks
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Nov 2014 06:26:05 -0000

> On Nov 27, 2014, at 5:40 PM, D. J. Bernstein <djb@cr.yp.to> wrote:
>=20
>=20
> P.P.S. Apparently there's also a claim that ECDSA-PinkBikeShed would =
be
> simpler than ECDSA-Curve25519. This claim starts from the Curve25519
> paper's observation that _one_ of the primes for PinkBikeShed is
> slightly below 2^252; concludes that the _curve order_ is slightly =
below
> 2^255; and tries to argue that a curve order slightly below 2^255 has
> advantages outweighing the advantages of a curve order slightly above
> 2^255.
>=20
> However, the curve order for PinkBikeShed is in fact _above_ 2^255, =
just
> like the curve order for Curve25519; so the intermediate conclusion is
> wrong, the subsequent argument is irrelevant, and the claim crumples.
> The _twist_ order is below 2^255 (divide by the twist cofactor 8 to
> obtain a prime slightly below 2^252, the prime that the paper is
> describing) but the twist isn't the curve that's being proposed. I'll
> find it richly entertaining if Microsoft now proposes the twist.


D=E2=80=99oh.  That=E2=80=99ll teach me to read.

It wasn=E2=80=99t really a claim against Curve25519, but a reason why =
someone might choose differently, and in fact a requirement for the NUMS =
curves, but I guess not for PinkBikeShed.

=E2=80=94 Mike=


From nobody Thu Nov 27 22:37:06 2014
Return-Path: <akr@akr.io>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 072BA1A1A3E for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 22:37:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 0wPKd05zthy8 for <cfrg@ietfa.amsl.com>; Thu, 27 Nov 2014 22:37:03 -0800 (PST)
Received: from entima.net (entima.net [78.129.143.175]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BE36D1A1A2E for <cfrg@irtf.org>; Thu, 27 Nov 2014 22:37:03 -0800 (PST)
Message-ID: <54781812.9000801@akr.io>
Date: Fri, 28 Nov 2014 06:37:06 +0000
From: Alyssa Rowan <akr@akr.io>
MIME-Version: 1.0
To: "cfrg@irtf.org" <cfrg@irtf.org>
References: <20141128014059.26622.qmail@cr.yp.to>
In-Reply-To: <20141128014059.26622.qmail@cr.yp.to>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Ntw5GARzpAh0vfTkiSiapsd-bJo
Subject: Re: [Cfrg] Mishandling twist attacks
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Nov 2014 06:37:05 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 28/11/2014 01:40, D. J. Bernstein wrote:

> Given the fact that Microsoft's curve-generation procedure is
> clearly subject to change, let me suggest a possible way forward.
> Microsoft adds further security criteria to its generation
> procedure, such as requiring the twist cofactor to divide the curve
> cofactor. For 2^255-19 it ends up with Curve25519---what a
> surprise! Microsoft then switches to proposing the latest edition
> of its "most trustworthy curve", namely Curve25519. This wouldn't
> resolve everything---I'd have to ask Microsoft to stop saying "new"
> for curves that really aren't new, and presumably there would still
> be discussion of larger primes---but surely it would help.

+1. This seems like an excellent way forward!

If the rpgecc authors (Microsoft Research/agl, et al) adopt this
approach, then I think we could perhaps (finally) reach consensus
about the choice of the ≈WF128 curve!

We'd then be able to move on to discussion about the "jumbo" curve
(which then would also have this useful security criteria).

Thoughts?

- -- 
/akr
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJUeBgSAAoJEOyEjtkWi2t6S3wQAI+6BpyPaWNb7yh537G7TgTe
s95c6aiPZZj4hlynbccCOgQDsuS2fyUO8VbZoA+6D9CWfsVzVLmPgGr8fE8vbZuj
+p0K+XTepYFzdX2WZqNQcq4KtOH4SeIPRBcFC/zx2VIAUcLX2b36FxJmxnvpPSar
Yl9Dno8S0T9+X+K2iOF+ZC0bKOwowuFf1idEY+9DnH+BIIvyiSNkn2meGSxm56Qf
WqMxnB/JhHfcZo4QT3bMZH8OHsBlVPPu+ohSO0+rt0li4esKM0kX3iQWze28DgrZ
GEBMVrXPk90RzahO1myI37mse1voFCTgHsk8+jYJmPSFVp+2KlkLd0Lw57cf3bQ0
B3/CoFNPhasoUsQSe65CPnbA5OVrWnNfp4OI5zBDxeTEiXMhd8u/2czV6Cro1tKF
owZj2IIWwQ4wC4rm4c+CHXTr4xlY5v+H9pw6Q5OWxvQ2bRkLVbp7M2JY/DOnJhmo
dSXwfFlx8kpF8KPjz3jlH+Y5KrKsjtY3Ul3k0G1T5ksje7vF4wJyh13rbO13gBKq
5OQoM7R2Qdk3z4GycsE9wT1/3VsnF9Vbrmr7iltq2mdxEcXPvWqniGKOmZKAYUj2
TCKpsVJ1lvmsbgZYUNu3784OKG6GPiQKqagwjdXI7gDI9P5GEITnpsiL5VHa808I
sngg6C2/5njrIOOWav9Z
=Dnwm
-----END PGP SIGNATURE-----


From nobody Fri Nov 28 04:43:29 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C3B4B1A1B45 for <cfrg@ietfa.amsl.com>; Fri, 28 Nov 2014 04:43:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham
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 9KNnrkjAmTL7 for <cfrg@ietfa.amsl.com>; Fri, 28 Nov 2014 04:43:26 -0800 (PST)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id 37E701A1B38 for <cfrg@irtf.org>; Fri, 28 Nov 2014 04:43:25 -0800 (PST)
Received: from xct105cnc.rim.net ([10.65.161.205]) by mhs214cnc.rim.net with ESMTP/TLS/AES128-SHA; 28 Nov 2014 07:42:53 -0500
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT105CNC.rim.net ([fe80::d13d:b7a2:ae5e:db06%16]) with mapi id 14.03.0174.001; Fri, 28 Nov 2014 07:42:52 -0500
From: Dan Brown <dbrown@certicom.com>
To: David Jacobson <dmjacobson@sbcglobal.net>
Thread-Topic: [Cfrg] invalid compressed point attack ...
Thread-Index: AdALCNIlCnH673Mb3kC4452B702R2w==
Date: Fri, 28 Nov 2014 12:42:51 +0000
Message-ID: <20141128124249.6660245.30846.23556@certicom.com>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="===============0325512528=="
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/g9bfUjlWXmyXtQYleLJd5EGzhX0
Cc: IRTF CFRG <cfrg@irtf.org>
Subject: Re: [Cfrg] invalid compressed point attack ...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Nov 2014 12:43:28 -0000

--===============0325512528==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

By invalid decompression, I meant skipping the check on the correctness=E2=
=80=8E of y^2=3D=3Dz, which is as bad and as silly as skipping the check y^=
2=3D=3Dx^3+ax+b in an uncompressed invalid-point attack, and actually the s=
ame check.=C2=A0

Yes, checking y^2=3D=3Dz stops the=E2=80=8E attack for sure.

Anyway , i'm seeing the skipped check as nearly equally natural in both cas=
es, and apparently there's even some of incentive to skip these checks call=
ed "simplicity "...

Best regards,=20

-- Dan
=C2=A0 Original Message =C2=A0
From: David Jacobson
Sent: Thursday, November 27, 2014 10:38 PM
To: Dan Brown; 'watsonbladd@gmail.com'
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] invalid compressed point attack ...

On 11/27/14, 10:33 AM, Dan Brown wrote:
> Definitions: A compressed point (x,z) is invalid if it is not the compres=
sion
> of a valid uncompressed point.
> We can technically define an invalid point attack for compression by
> specifying an invalid decompression rule for invalid compressed points.
> For example, in prime fields of size p =3D 3 mod 4, the function z |->
> z^((p+1)/4) can be used to decompress invalid compressed points, in the p=
lace
> where actual square root algorithm is used to decompress a valid compress=
ed
> point.
>
> To me, this invalid decompression rule seems as plausible an implementati=
on
> fault as the fault of not checking for curve membership of an uncompressed
> point.
You seem to be saying that using y =3D z^((p+1)/4) where z is computed=20
from x using the curve equation, i.e. for short Weierstrass z =3D x^2 + a=20
* x + b, is not a valid way of computing a valid (x,y) on the curve.=20
Well, of course, it is possible that z is not a quadratic residue. But=20
if you check that y^2 =3D=3D z, is it still unsafe?

Thank you,

--David

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org=E2=80=8E
http://www.irtf.org/mailman/listinfo/cfrg


--===============0325512528==
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCTAHBgUrDgMCGjCABgkqhkiG9w0BBwEAAKCCDSYwggaPMIIF
d6ADAgECAgptqd1HAAQAAAVqMA0GCSqGSIb3DQEBBQUAMFAxEzARBgoJkiaJk/IsZAEZFgNuZXQx
EzARBgoJkiaJk/IsZAEZFgNyaW0xJDAiBgNVBAMTG1JJTSBTdWJvcmRpbmF0ZSBDQSBNQ0EwMllL
RjAeFw0xNDA1MTQxNDM2MzhaFw0xNTA1MTQxNDM2MzhaMIGkMRMwEQYKCZImiZPyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMQ0wCwYDVQ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3t6rkFN1h0OmHGa9yT9UXO8o++iu4xggFf
MIIBWwIBATBeMFAxEzARBgoJkiaJk/IsZAEZFgNuZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xJDAi
BgNVBAMTG1JJTSBTdWJvcmRpbmF0ZSBDQSBNQ0EwMllLRgIKbandRwAEAAAFajAHBgUrDgMCGqBd
MBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTE0MTEyODEyNDI0Nlow
IwYJKoZIhvcNAQkEMRYEFIoK/1uw0tJNDEDHSsHOvmyM8SvpMAsGCSqGSIb3DQEBBQSBgOP34bx8
amKrA3EDe9UeI7PQxXYJcjhs+uJHSX+kxnUFaT9Q+tH0zlR/Iq+Eo0yq3B8Tvzvvdn2YlotMCnz3
oRXLChq9PztM4f59y3NaIg3rUwiK7+6dCpw+655lmQK5NEX/HwFaHlBvA2RLFASTa2NwpJY5Vl1l
wn7Xn6eJQg9NAAAAAAAA

--===============0325512528==--


From nobody Fri Nov 28 09:22:22 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A04F11A008A for <cfrg@ietfa.amsl.com>; Fri, 28 Nov 2014 09:22:20 -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, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 9wc1i32AtJoz for <cfrg@ietfa.amsl.com>; Fri, 28 Nov 2014 09:22:17 -0800 (PST)
Received: from mail-yk0-x236.google.com (mail-yk0-x236.google.com [IPv6:2607:f8b0:4002:c07::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A0EF11A002F for <cfrg@irtf.org>; Fri, 28 Nov 2014 09:22:17 -0800 (PST)
Received: by mail-yk0-f182.google.com with SMTP id 131so3142351ykp.13 for <cfrg@irtf.org>; Fri, 28 Nov 2014 09:22:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=lKGj6CR3On4GkbV5fogsNWQT+khwKI2D5uklwnN0lTs=; b=mmekLkV5xeSSqRsXvsxYmZIyYTnZVA4mUUMmJ7Jqbs2gz/xkOQqqxTCyUxYbW0iGeD DY0j7hNrp+bashsPAGobkUA2Cb8D5byumPlQ2MTbZC1XrtMZk0m6BaiuIdz/OY0bNXFN mqdytJOocHvfvznICb3dkWG00G/LzzBA0BngPVVFgOVmrbsS5CWa80qA7Do2yJi9ySLs iJjws6dOOyQZzctFA+DpHrqoGGdTHTyMUD814cz3wCOhyYDwSD/5lvDOk1BmcJ3jDeUX yvY43IdtyfCVGnyD9e2wDEwolU9TCc0tabKo9FtXoBrBsIa0k+G7nOQE77rkz4ijQX67 o7Ng==
MIME-Version: 1.0
X-Received: by 10.170.89.130 with SMTP id g124mr37155385yka.24.1417195336894;  Fri, 28 Nov 2014 09:22:16 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Fri, 28 Nov 2014 09:22:16 -0800 (PST)
In-Reply-To: <20141128014059.26622.qmail@cr.yp.to>
References: <20141128014059.26622.qmail@cr.yp.to>
Date: Fri, 28 Nov 2014 09:22:16 -0800
Message-ID: <CACsn0cm4OBZX9RqV0nuT7547h+4e2_X3qgButJ+sdZDvG+65Ww@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/-IgqKzqcMdnzbLpd09u4J892Im8
Subject: Re: [Cfrg] Mishandling twist attacks
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Nov 2014 17:22:20 -0000

On Thu, Nov 27, 2014 at 5:40 PM, D. J. Bernstein <djb@cr.yp.to> wrote:
> Two slight variants of Curve25519 were considered and rejected in the
> Curve25519 paper. Apparently there's now a proposal to revive one of
> those variants. Here are all three curves for comparison, including
> names for the two variants so that I can refer to them:
>
>    Curve25519:       y^2 = x^3 + 486662x^2 + x  mod 2^255-19
>    FuschiaBikeShed:  y^2 = x^3 + 464586x^2 + x  mod 2^255-19
>    PinkBikeShed:     y^2 = x^3 + 358990x^2 + x  mod 2^255-19
>
> The proposal, specifically, is to use PinkBikeShed. The core argument
> for this is that 358990 is smaller than 464586 and 486662.
>
> Perhaps I should emphasize that---when security is equal---the ultimate
> arbiter is performance, not any preconceived notion of smallness. My
> impression is that the ASIC costs of Curve25519 are marginally smaller
> than the ASIC costs of PinkBikeShed and FuschiaBikeShed, after careful
> optimization, because of the nicer bit pattern in 486662. Larger gaps in
> sizes of constants often produce more noticeable slowdowns in software,
> but I haven't found any platforms where 358990 is faster than 486662.
>
> But performance isn't the main topic of this message. There are much
> more important reasons---security reasons---to reject PinkBikeShed. The
> purpose of this message is to carefully explain one of those reasons.
<snip>
>
> One can of course blame the implementors for not checking whether the
> input point has order 8. One can blame the standards for not warning
> people about twist attacks. One can blame the protocols for multiplying
> by 4 for this particular curve rather than 8. But a competent curve
> designer, instead of blaming everybody else for a predictable problem,
> will simply eliminate the problem by choosing a better curve.

What exactly is wrong with telling everyone to multiply by 8, not 4,
even if the cofactor is 4?

>
> For Curve25519, the twist cofactor divides the curve cofactor, and this
> problem disappears. What the standards say to do, namely multiply by the
> curve cofactor, is wrong for PinkBikeShed but correct for Curve25519.
> The numerical details are spelled out in the "Small-subgroup attacks"
> section of the Curve25519 paper.
>
> This wasn't my only reason for rejecting PinkBikeShed. The Curve25519
> paper mentions a less important reason that allowed a much shorter
> summary and that, as a historical matter, came first. I didn't bother
> writing down a comprehensive critique of PinkBikeShed, and didn't
> imagine that anyone would ever try to revive that curve.
>
> ---Dan

So if we add this requirement to have the curve have larger cofactor
then the twist, then we still get E-521, and we will get Curve25519 at
the low end. It seems to me like we should make this change to the
generation method, and run it on 2^389-21 to get the intermediate size
curve.

Sincerely,
Watson Ladd


From nobody Fri Nov 28 17:20:29 2014
Return-Path: <sneves@dei.uc.pt>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C5931A1BB5 for <cfrg@ietfa.amsl.com>; Fri, 28 Nov 2014 17:20:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.312
X-Spam-Level: 
X-Spam-Status: No, score=-2.312 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 4gTzQTHV8xy4 for <cfrg@ietfa.amsl.com>; Fri, 28 Nov 2014 17:20:21 -0800 (PST)
Received: from smtp.dei.uc.pt (smtp.dei.uc.pt [193.137.203.253]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BFA431A1BAF for <cfrg@irtf.org>; Fri, 28 Nov 2014 17:20:20 -0800 (PST)
Received: from [192.168.1.67] (bl16-206-117.dsl.telepac.pt [188.81.206.117]) (authenticated bits=0) by smtp.dei.uc.pt (8.14.4/8.14.4) with ESMTP id sAT1JjMf002009 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <cfrg@irtf.org>; Sat, 29 Nov 2014 01:19:51 GMT
Message-ID: <54791F31.2080400@dei.uc.pt>
Date: Sat, 29 Nov 2014 01:19:45 +0000
From: Samuel Neves <sneves@dei.uc.pt>
User-Agent: 
MIME-Version: 1.0
To: "cfrg@irtf.org" <cfrg@irtf.org>
References: <20141128014059.26622.qmail@cr.yp.to> <CACsn0cm4OBZX9RqV0nuT7547h+4e2_X3qgButJ+sdZDvG+65Ww@mail.gmail.com>
In-Reply-To: <CACsn0cm4OBZX9RqV0nuT7547h+4e2_X3qgButJ+sdZDvG+65Ww@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-FCTUC-DEI-SIC-MailScanner-Information: Please contact helpdesk@dei.uc.pt for more information
X-FCTUC-DEI-SIC-MailScanner-ID: sAT1JjMf002009
X-FCTUC-DEI-SIC-MailScanner: Found to be clean
X-FCTUC-DEI-SIC-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-60.25, required 3.252, autolearn=not spam, ALL_TRUSTED -10.00, BAYES_00 -0.25, L_SMTP_AUTH -50.00)
X-FCTUC-DEI-SIC-MailScanner-From: sneves@dei.uc.pt
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/NZ48AwYtx2CVKNyJlPHxJK6m830
Subject: Re: [Cfrg] Mishandling twist attacks
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 29 Nov 2014 01:20:27 -0000

On 28-11-2014 17:22, Watson Ladd wrote:
> What exactly is wrong with telling everyone to multiply by 8, not 4,
> even if the cofactor is 4?

If your protocol is tightly coupled with an elliptic curve, nothing wrong=
 with that, I suppose. But schemes and
protocols are often specified in terms of generic groups, where order and=
 cofactor always exist, but the notion of twist
security may not.

> So if we add this requirement to have the curve have larger cofactor
> then the twist, then we still get E-521, and we will get Curve25519 at
> the low end. It seems to me like we should make this change to the
> generation method, and run it on 2^389-21 to get the intermediate size
> curve.

All this bickering further convinces me that complete Edwards curves over=
 3 (mod 4) primes are the way to go:

 - Square root computations are the simplest. 1 (mod 4) is too lenient, b=
y the way: I don't think anybody is interested
in computing square roots over 1 (mod 8) primes.

 - Edwards curves over 3 (mod 4) primes can have both order and twist wit=
h cofactor 4.

 - For users obsessed with speed, Mike Hamburg has described how to use a=
n isogeny to get twisted Edwards-speed out of
these curves [1].

We already have an excellent candidate in this space, namely Curve1174 ov=
er 2^251-9. E-521 is also such a curve. Since
2^389-21---which appears to be one of the nicest primes in that range (th=
e other one being 2^379-19)---is also congruent
to 3 (mod 4), it seems logical to keep things consistent and choose 3 (mo=
d 4) primes for every work factor.

[1] https://eprint.iacr.org/2014/027


From nobody Fri Nov 28 18:35:54 2014
Return-Path: <coruus@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2FEB61A1BD6 for <cfrg@ietfa.amsl.com>; Fri, 28 Nov 2014 18:35:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
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 9ALKM4YIl-Vc for <cfrg@ietfa.amsl.com>; Fri, 28 Nov 2014 18:35:49 -0800 (PST)
Received: from mail-ig0-x22e.google.com (mail-ig0-x22e.google.com [IPv6:2607:f8b0:4001:c05::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E19021A1BC8 for <cfrg@irtf.org>; Fri, 28 Nov 2014 18:35:48 -0800 (PST)
Received: by mail-ig0-f174.google.com with SMTP id hn15so10640166igb.1 for <cfrg@irtf.org>; Fri, 28 Nov 2014 18:35:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:references:from:date:message-id:subject:to :content-type; bh=qP+ye82JvhvuJxUmPgqW4m+3cLywtqTHQMK5ucBvmaQ=; b=Wekz1udoe6iHqYVGJCKZzl8OC46zdtHs0CW7RNLTF5+TR1sngpOwTwTBjwPt56axSg FMN5oiF/YMzb8BrVlgit9/pstzblUUYcBjdiMDYg9Y7TG0ib/5ZqdQ945nIkjPB3iMdj 0vw85Vw/5EbuJmuvQQyup177VUy94R4d7DjpBqJX7dGY+4yUSkkim4TiLmbbU+Qm5tWm s78b+/WoYmcw0gbbu3Vp3L179WzCrAZAx6aShoYTCHXhyzdadQiEsZpf8gFf2xcpiJOt oesH62YY9ExaXoqpg6BKqy1DmDQHIhheKPi+9vxtg0YQFR76XnGynDxD9CR3hOLSlBTW DwFQ==
X-Received: by 10.107.35.83 with SMTP id j80mr4952444ioj.55.1417228547859; Fri, 28 Nov 2014 18:35:47 -0800 (PST)
MIME-Version: 1.0
References: <20141128014059.26622.qmail@cr.yp.to> <CACsn0cm4OBZX9RqV0nuT7547h+4e2_X3qgButJ+sdZDvG+65Ww@mail.gmail.com> <54791F31.2080400@dei.uc.pt>
From: David Leon Gil <coruus@gmail.com>
Date: Sat, 29 Nov 2014 02:35:47 +0000
Message-ID: <CAA7UWsVAcEHF4pkOQAtDqhBx=X+cZxFbNk0F6L5zTnCCx5SQ-g@mail.gmail.com>
To: Samuel Neves <sneves@dei.uc.pt>, "cfrg@irtf.org" <cfrg@irtf.org>,  "dgil@yahoo-inc.com" <dgil@yahoo-inc.com>
Content-Type: multipart/alternative; boundary=001a1140c936294fa90508f63cb4
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ZmHqoJwJo6oRi9BydTZvIS-WiAY
Subject: Re: [Cfrg] Mishandling twist attacks
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 29 Nov 2014 02:35:52 -0000

--001a1140c936294fa90508f63cb4
Content-Type: text/plain; charset=UTF-8

1. Very much agreed on 3 mod 4 primes; they are much more pleasant to work
with.

The most rigid solution is then to require, as Samuel proposes, the curve
and its twist to have equal cofactors.

----

2. The NUMS paper's approach to selecting curves was technically superior;
it is elegant and rigid.

(Provided that the complete Edwards curve with parameter d0 is used, of
course.)

----

However. Curve25519 is widely deployed. The benefits of changing curve
parameters is negligible. No new curves over 2^255-19, please. We have a
perfectly good one.

The likelihood of my adopting a new curve is not increased by CFRG's
meddling with good crypto.

--

(I have no opinions about Curve1174.)

David Leon Gil
Yahoo

(PS From a hot tub, on Thanksgiving vacation.)
On Fri, Nov 28, 2014 at 5:20 PM Samuel Neves <sneves@dei.uc.pt> wrote:

> On 28-11-2014 17:22, Watson Ladd wrote:
> > What exactly is wrong with telling everyone to multiply by 8, not 4,
> > even if the cofactor is 4?
>
> If your protocol is tightly coupled with an elliptic curve, nothing wrong
> with that, I suppose. But schemes and
> protocols are often specified in terms of generic groups, where order and
> cofactor always exist, but the notion of twist
> security may not.
>
> > So if we add this requirement to have the curve have larger cofactor
> > then the twist, then we still get E-521, and we will get Curve25519 at
> > the low end. It seems to me like we should make this change to the
> > generation method, and run it on 2^389-21 to get the intermediate size
> > curve.
>
> All this bickering further convinces me that complete Edwards curves over
> 3 (mod 4) primes are the way to go:
>
>  - Square root computations are the simplest. 1 (mod 4) is too lenient, by
> the way: I don't think anybody is interested
> in computing square roots over 1 (mod 8) primes.
>
>  - Edwards curves over 3 (mod 4) primes can have both order and twist with
> cofactor 4.
>
>  - For users obsessed with speed, Mike Hamburg has described how to use an
> isogeny to get twisted Edwards-speed out of
> these curves [1].
>
> We already have an excellent candidate in this space, namely Curve1174
> over 2^251-9. E-521 is also such a curve. Since
> 2^389-21---which appears to be one of the nicest primes in that range (the
> other one being 2^379-19)---is also congruent
> to 3 (mod 4), it seems logical to keep things consistent and choose 3 (mod
> 4) primes for every work factor.
>
> [1] https://eprint.iacr.org/2014/027
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>

--001a1140c936294fa90508f63cb4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

1. Very much agreed on 3 mod 4 primes; they are much more pleasant to work =
with.<br><br>The most rigid solution is then to require, as Samuel proposes=
, the curve and its twist to have equal cofactors.<br><br>----<br><br>2. Th=
e NUMS paper&#39;s approach to selecting curves was technically superior; i=
t is elegant and rigid.<br><br>(Provided that the complete Edwards curve wi=
th parameter d0 is used, of course.)<br><br>----<br><br>However. Curve25519=
 is widely deployed. The benefits  of changing curve parameters is negligib=
le. No new curves over 2^255-19, please. We have a perfectly good one. <br>=
<br>The likelihood of my adopting a new curve is not increased by CFRG&#39;=
s meddling with good crypto.<br><br>--<br><br>(I have no opinions about Cur=
ve1174.)<br><br>David Leon Gil<br>Yahoo<br><br>(PS From a hot tub, on Thank=
sgiving vacation.)<br><div class=3D"gmail_quote">On Fri, Nov 28, 2014 at 5:=
20 PM Samuel Neves &lt;<a href=3D"mailto:sneves@dei.uc.pt">sneves@dei.uc.pt=
</a>&gt; wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">On 28-11-2014 17:22, Wats=
on Ladd wrote:<br>
&gt; What exactly is wrong with telling everyone to multiply by 8, not 4,<b=
r>
&gt; even if the cofactor is 4?<br>
<br>
If your protocol is tightly coupled with an elliptic curve, nothing wrong w=
ith that, I suppose. But schemes and<br>
protocols are often specified in terms of generic groups, where order and c=
ofactor always exist, but the notion of twist<br>
security may not.<br>
<br>
&gt; So if we add this requirement to have the curve have larger cofactor<b=
r>
&gt; then the twist, then we still get E-521, and we will get Curve25519 at=
<br>
&gt; the low end. It seems to me like we should make this change to the<br>
&gt; generation method, and run it on 2^389-21 to get the intermediate size=
<br>
&gt; curve.<br>
<br>
All this bickering further convinces me that complete Edwards curves over 3=
 (mod 4) primes are the way to go:<br>
<br>
=C2=A0- Square root computations are the simplest. 1 (mod 4) is too lenient=
, by the way: I don&#39;t think anybody is interested<br>
in computing square roots over 1 (mod 8) primes.<br>
<br>
=C2=A0- Edwards curves over 3 (mod 4) primes can have both order and twist =
with cofactor 4.<br>
<br>
=C2=A0- For users obsessed with speed, Mike Hamburg has described how to us=
e an isogeny to get twisted Edwards-speed out of<br>
these curves [1].<br>
<br>
We already have an excellent candidate in this space, namely Curve1174 over=
 2^251-9. E-521 is also such a curve. Since<br>
2^389-21---which appears to be one of the nicest primes in that range (the =
other one being 2^379-19)---is also congruent<br>
to 3 (mod 4), it seems logical to keep things consistent and choose 3 (mod =
4) primes for every work factor.<br>
<br>
[1] <a href=3D"https://eprint.iacr.org/2014/027" target=3D"_blank">https://=
eprint.iacr.org/2014/<u></u>027</a><br>
<br>
______________________________<u></u>_________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.org</a><br>
<a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" target=3D"_blank">htt=
p://www.irtf.org/mailman/<u></u>listinfo/cfrg</a><br>
</blockquote></div>

--001a1140c936294fa90508f63cb4--


From nobody Sat Nov 29 13:38:30 2014
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F31FA1A01BA for <cfrg@ietfa.amsl.com>; Sat, 29 Nov 2014 13:38:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.095
X-Spam-Level: **
X-Spam-Status: No, score=2.095 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, UNPARSEABLE_RELAY=0.001] autolearn=no
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 sr2sAW3RtyG2 for <cfrg@ietfa.amsl.com>; Sat, 29 Nov 2014 13:38:25 -0800 (PST)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id 6B1EB1A0158 for <cfrg@irtf.org>; Sat, 29 Nov 2014 13:38:25 -0800 (PST)
Received: (qmail 8944 invoked by uid 1017); 29 Nov 2014 21:38:44 -0000
Received: from unknown (unknown) by unknown with QMTP; 29 Nov 2014 21:38:44 -0000
Received: (qmail 24606 invoked by uid 1001); 29 Nov 2014 21:38:15 -0000
Date: 29 Nov 2014 21:38:15 -0000
Message-ID: <20141129213815.24605.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
In-Reply-To: <CACsn0cm4OBZX9RqV0nuT7547h+4e2_X3qgButJ+sdZDvG+65Ww@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/tIXV0HbdK4AMF3DK1CIxxRwiGSc
Subject: Re: [Cfrg] Mishandling twist attacks
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 29 Nov 2014 21:38:28 -0000

Watson Ladd writes:
> What exactly is wrong with telling everyone to multiply by 8, not 4,
> even if the cofactor is 4?

Who is "everyone"? What's the strategy for not merely "telling" them 8,
but also making sure that they don't follow the many existing standards
that tell them 4? Why will this strategy be more effective than, e.g.,
MQV "telling everyone" to validate public keys---exactly the step that
was skipped in HMQV, leading to the original Menezes break of HMQV?

I'm not saying that educating protocol designers is hopeless. Sometimes
it works, and sometimes it's the only hope for security. But there are
many problems that we can solve much more easily and much more robustly
by making better choices of cryptographic primitives.

---Dan


From nobody Sun Nov 30 19:33:10 2014
Return-Path: <rransom.8774@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 797701A039C for <cfrg@ietfa.amsl.com>; Sun, 30 Nov 2014 19:33:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.149
X-Spam-Level: 
X-Spam-Status: No, score=0.149 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 ZWvT8uqVonD4 for <cfrg@ietfa.amsl.com>; Sun, 30 Nov 2014 19:33:07 -0800 (PST)
Received: from mail-qc0-x22f.google.com (mail-qc0-x22f.google.com [IPv6:2607:f8b0:400d:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 65BEB1A039B for <cfrg@irtf.org>; Sun, 30 Nov 2014 19:33:07 -0800 (PST)
Received: by mail-qc0-f175.google.com with SMTP id b13so7751288qcw.20 for <cfrg@irtf.org>; Sun, 30 Nov 2014 19:33:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=DKIq2xnZQ6h2Yg18AHZiEf3hTVfLyJzYZeiBi8uUMec=; b=PbJoxekfgh9cbfyW7rs0ZldyAtw8kd08A4K6hSueVMdjcGwSjGHS8zscm2dn+1V/Ye HkxMXxb2XB7XMF9RGjOBIcmWUK3leQBk/A2omwqL7xaOrmEqudEPBM+BgSjIOvDM9ohn BuKwhYMHIV7ev87xraDoYF4oJwv0nQlhhwtNmy0+MS/G81aiJQYigqOUDHK1TfL+KNiy pu7iM6acum2jD+IKtiLkEVja8374BKdsQReZE8XBPTlogk3upgbLbFUol6M58y+tssQU f4ij8c7j0xiI+h5+mATHzrdqJMP9o+ns09A+F8qg627L32gfMdWmpDXPWpgUK/Nyo2mj EgGA==
MIME-Version: 1.0
X-Received: by 10.224.129.9 with SMTP id m9mr83433531qas.50.1417404786553; Sun, 30 Nov 2014 19:33:06 -0800 (PST)
Received: by 10.140.30.100 with HTTP; Sun, 30 Nov 2014 19:33:06 -0800 (PST)
In-Reply-To: <CAMfhd9XxkZsVPMcevWOgvvqbBK0JqLVCGBYfwWu0QFO5rsfbJQ@mail.gmail.com>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476CB73.7090206@akr.io> <CAMfhd9XxkZsVPMcevWOgvvqbBK0JqLVCGBYfwWu0QFO5rsfbJQ@mail.gmail.com>
Date: Sun, 30 Nov 2014 19:33:06 -0800
Message-ID: <CABqy+sodVBbwNrA28AFxYMiw5rJxtUX3cbYCjtrYxK-48Ocd6A@mail.gmail.com>
From: Robert Ransom <rransom.8774@gmail.com>
To: Adam Langley <agl@imperialviolet.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/z6bzOSsCepDaDfvqDLHZNYjzNps
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] draft-black-rpgecc-00-.txt [was: Consensus and a way forward]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Dec 2014 03:33:09 -0000

On 11/26/14, Adam Langley <agl@imperialviolet.org> wrote:
> On Wed, Nov 26, 2014 at 10:57 PM, Alyssa Rowan <akr@akr.io> wrote:
>> In order to evaluate the performance of simple and secure
>> implementations of algorithms over these curves, of course we are also
>> going to need safe, efficient implementations for those algorithms,
>> ideally available under a liberal licence so stakeholders can actually
>> use it (specifically I'm afraid Apache 2.0 won't do due to its licence
>> incompatibilities), which also satisfy our patent concerns. Do you
>> have such an implementation ready to publish that we can plug into
>> SUPERCOP?
>
> For the curve over GF(2^255-19), I certainly agree that
> implementations are needed but I believe that there's strong evidence
> that the performance would be equal to curve25519.
>
> The Edwards curve in question is isogenous to Curve25519 with A=3D358990
> and, while some uses may want to drop the new curves into existing
> code, I hope that this RG can recommend that ECDH operations for the
> most part transmit the Montgomery X value. Thus curve25519
> implementations should just need to change the (A-2)/4 value.

First, what you are referring to as =E2=80=9CCurve25519 with A=3D358990=E2=
=80=9D is a
curve different from Curve25519; it can more correctly be referred to
as =E2=80=9Cthe Montgomery curve with A=3D358990 over the same coordinate f=
ield
as Curve25519=E2=80=9D.  Since you have not proposed a concise name for thi=
s
Montgomery curve, I will use the name that Dr. Bernstein has just
suggested for it, i.e. =E2=80=9CPinkBikeShed=E2=80=9D.

Second, as you have stated, existing Curve25519 implementations would
need to be changed in order to operate on PinkBikeShed (or any curve
isogenous to it).  That is a major technical disadvantage compared
with using Curve25519 itself, even if the only change required is to
replace the curve-parameter constant.

Third, you appear to be arguing that ECDH operations would not use the
Montgomery curve *isomorphic* to the Edwards curve in your Internet
draft, but use a *different* Montgomery curve (PinkBikeShed) which is
merely *isogenous* to the curve that you are proposing, in order to
reduce the modifications required to make the many existing
independent, interoperable implementations of Curve25519 operate on
your curve.  This would *slightly* reduce the technical disadvantage
of your proposal compared to Curve25519, but would clearly not
eliminate it.  If you do intend to propose PinkBikeShed for ECDH,
rather than the Montgomery curve isomorphic to the one specified in
your Internet draft, then that needs to be stated explicitly in your
draft.


> For implementations of the Edwards curve, the smaller d value, if
> anything, might allow a slight speedup over Edwards curve25519.
> (Although those implementations would need changes to the scalar
> reduction function and any precomputed tables.)

Interesting suggestion.

Both 89747 and 121665 are 17 bits long (they are between 2^17 and 2^18
- 1), and 89747 has a slightly greater Hamming weight than 121665 (10
rather than 9); I would expect any performance improvement on due to
that change in curve parameter to be quite small and only applicable
to a very few implementation strategies.  Have you done any
benchmarking to quantify the performance improvement that you are
claiming as a technical benefit of PinkBikeShed?


>> I note that if you run your algorithm on 2^521-1 you get E-521. If you
>> ran it on 2^255-19, why didn't you get the twisted Edwards form of
>> Curve25519? Kindly elucidate your objections to the same.
>
> As djb noted in the curve25519 paper[1], the A value for curve25519 is
> not minimal. draft-black-rpgecc-00 finds a curve isogenous to the
> minimal A. The minimal (and second minimal) value was originally
> rejected because, when generating private keys, there's a possibility
> of generating a multiple of the order. This can be taken care of with
> (I think) a single memcmp, although I need to confirm that just one is
> sufficient when I'm back home.
>
> [1] http://cr.yp.to/ecdh/curve25519-20060209.pdf, section "Why this
> curve?".

As Dr. Bernstein noted in the Curve25519 paper, the value of (A - 2)/4
for Curve25519 is indeed minimal subject to an additional security
criterion.  (I do not know or care whether A is minimal subject to any
set of constraints for either Curve25519 or PinkBikeShed.)  By
discarding that additional security criterion, you have knowingly and
intentionally introduced a very small security vulnerability in your
proposal (another technical disadvantage of PinkBikeShed compared to
Curve25519): the simplest implementation strategy for ECDH
(Montgomery-ladder scalar multiplication on PinkBikeShed) produces
zero as an output for one (non-zero) secret key when computing a
shared secret with any input public key (point) on the twist.

(I note that you did not disclose this security vulnerability in your
draft's =E2=80=98Security Considerations=E2=80=99 section.)

In order to mitigate that vulnerability, you recommend that ECDH
implementations call the standard C library function =E2=80=98memcmp=E2=80=
=99 on every
secret key to check for that one (slightly) weak key.  This adds
complexity to every ECDH implementation, and requires that
applications or protocols which derive secret keys deterministically
(e.g. by hashing some other secret) devise a backup plan in case that
one secret key is ever generated.  Worse, your proposed mitigation
introduces a further security vulnerability (much worse than the one
it is intended to protect against): a typical implementation of memcmp
will leak information about *every* secret key to a timing
side-channel attack.

(And as Dr. Bernstein has pointed out, further, more severe, security
vulnerabilities are possible in implementations of some protocols
based on PinkBikeShed, but not in implementations of the same
protocols based on Curve25519.)



You have stated two technical disadvantages that you knew of at the
time that you submitted your proposal: the deliberate incompatibility
with existing Curve25519 software, and the deliberate introduction of
a security vulnerability that is not present in Curve25519.  You have
stated only one possible technical benefit of your proposal over
Curve25519: a small performance improvement in some (not all)
implementations due to a slightly smaller curve-parameter constant.

Do you believe that that possible performance improvement is a
sufficiently large technical benefit over Curve25519 to outweigh the
technical disadvantages of your proposal that you were aware of at the
time that you submitted it?  If not, did you have in mind any other
technical benefit of your proposal over the use of unmodified
Curve25519 that you consider to outweigh your proposal's technical
disadvantages?



Robert Ransom

