
From nobody Mon Dec  1 01:38:23 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 6DB351A1AA9 for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 01:38:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.501
X-Spam-Level: 
X-Spam-Status: No, score=-0.501 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, 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 1XFe8Vew8Mqu for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 01:38:20 -0800 (PST)
Received: from emh04.mail.saunalahti.fi (emh04.mail.saunalahti.fi [62.142.5.110]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BFFB41A00E1 for <cfrg@irtf.org>; Mon,  1 Dec 2014 01:38:19 -0800 (PST)
Received: from LK-Perkele-VII (a88-112-44-140.elisa-laajakaista.fi [88.112.44.140]) by emh04.mail.saunalahti.fi (Postfix) with ESMTP id 5CBF71A264B; Mon,  1 Dec 2014 11:38:17 +0200 (EET)
Date: Mon, 1 Dec 2014 11:38:17 +0200
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Watson Ladd <watsonbladd@gmail.com>
Message-ID: <20141201093817.GA5369@LK-Perkele-VII>
References: <20141128014059.26622.qmail@cr.yp.to> <CACsn0cm4OBZX9RqV0nuT7547h+4e2_X3qgButJ+sdZDvG+65Ww@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CACsn0cm4OBZX9RqV0nuT7547h+4e2_X3qgButJ+sdZDvG+65Ww@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/5qdY0SNep-cvUBBwZtVOa2MUv-0
Cc: "cfrg@irtf.org" <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: Mon, 01 Dec 2014 09:38:21 -0000

On Fri, Nov 28, 2014 at 09:22:16AM -0800, Watson Ladd wrote:
> On Thu, Nov 27, 2014 at 5:40 PM, D. J. Bernstein <djb@cr.yp.to> wrote:
> 
> >
> > 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.

p=2^389-21, I got the following:


d=-5423:
Isogenous A: 21694   => a24=5424   (hamming: 5)   Transform: u=y^2/x^2
Trace: -23547479314797536958302370097870341395883202421886243703784
Cofactors: 4 and 4

Base point order: 
l=315216049571155833698232320801148910440637914163723573343592234103794473556217260483838597624428295927058495483380469
=2^387+O(2^192)

Smallest k such that l|p^k-1: (l-1)/2
Smallest k such that l'|p^k-1: (l'-1)/1
|D|: ~2^388.8
Estimated security: ~193.3

Base point (Least y, least x):
x=160184824201037515317245555585704883073517785386930765659808438542670241435277265556988296711827646433390758793724234
y=7
u=1260864198284623334792929283204595641762551656654894293374345388935863096687910739565256520156317300505812095689546827

Base point (rpgecc):
x=170804322239093707949130602656597319986126639581075264465402345120740704618385490579748076285548067049274053507624217
y=112208747348660010440461485720580635773713686011119895123348385652709827070576978616679662918030308385499173548944326
u=563185763117749471608453920883370391920123099397236109145115118464484481872631146356911850563253178351269924969126147



d=5424 (twist of previous):
Isogenous A: -21694  => a24=-5423  (hamming: 8)   Transform u=y^2/x^2
Trace: 23547479314797536958302370097870341395883202421886243703784
Cofactors: 4 and 4

Base point order: 
l=315216049571155833698232320801148910440637914163723573343580460364137074787738109298789662453730354325847552361528577
=2^387-O(2^192)

Smallest k such that l|p^k-1: (l-1)/1
Smallest k such that l'|p^k-1: (l'-1)/2
|D|: ~2^388.8
Estimated security: ~193.3

Base point (Least y, least x):
x=289071503382026803838222130853306808021454096751162077829619259082696022707255732386746573351122328749200804860611129
y=39
u=121938840228841861983263555678339183775720456268598329688176823798402549482317683365850466094064896825233143472994317

Base point (rpgecc):
x=154967135639069417030102433300225437427016077568302153608646752078495859574915806070734195256471555210704351661774493
y=386528499748825134645630797978789902631543437822324733831174382162482970539323383318004263033116065650371855521422332
u=863904929441083075748296283970356413257536404565364151832776905623802210399619240548188030128828579099870154430107596



Regarding  E-521 (d=-376014), it has order 2^519-O(2^258). Its
twist (d=376015) is the smallest d with l>2^519 and h'=4.



-Ilari


From nobody Mon Dec  1 06:17:16 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 2124C1A1BCC for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 06:17:15 -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 S3MOEIvZ7SpT for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 06:17:09 -0800 (PST)
Received: from mail-la0-x22b.google.com (mail-la0-x22b.google.com [IPv6:2a00:1450:4010:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 70E3F1A1BC2 for <cfrg@irtf.org>; Mon,  1 Dec 2014 06:17:09 -0800 (PST)
Received: by mail-la0-f43.google.com with SMTP id ge10so4170647lab.16 for <cfrg@irtf.org>; Mon, 01 Dec 2014 06:17:07 -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=2H1OVuhEBWa4TS+/e6bfiDpxBiESvRymjBiNI8xQntI=; b=zQ9gkqiCypLHz050TZWzjBTmrk3EhREr+MSlhgsoDjbJByxxEnGmNmvehYR01u6TeG /T+XVqZY9IxlBaRANeARI+5aeefoXhR8y82CEFnljBbg4ETZ3bTue8YjCehnvb/mFRCa VefpN77UeuL/NZT2k5aTKo8urhZFu08P311yt8di3/tpTlCMW2X7VEJFTIuNStlvEGPP rVA7c3pmFytVHp7jcc4Rv1pBx88Wioy8vDJ0R8nYM7kABoZr70rwhkIbD72Oc6K/rO8l wUt2+DhZjCZVLdtd4I1R6tPTcv3OEtBGK6UI0OcmEfWIcCmPQGtDh0YiedCdzGbTEygw rQyQ==
MIME-Version: 1.0
X-Received: by 10.112.150.71 with SMTP id ug7mr57141403lbb.73.1417443427701; Mon, 01 Dec 2014 06:17:07 -0800 (PST)
Sender: alangley@gmail.com
Received: by 10.112.241.103 with HTTP; Mon, 1 Dec 2014 06:17:07 -0800 (PST)
In-Reply-To: <CABqy+sodVBbwNrA28AFxYMiw5rJxtUX3cbYCjtrYxK-48Ocd6A@mail.gmail.com>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476CB73.7090206@akr.io> <CAMfhd9XxkZsVPMcevWOgvvqbBK0JqLVCGBYfwWu0QFO5rsfbJQ@mail.gmail.com> <CABqy+sodVBbwNrA28AFxYMiw5rJxtUX3cbYCjtrYxK-48Ocd6A@mail.gmail.com>
Date: Mon, 1 Dec 2014 06:17:07 -0800
X-Google-Sender-Auth: 9BixCY3LICzZPxr3G5Xesb9UJBk
Message-ID: <CAMfhd9VF784rJ5gXiLkB6DdwS+zAi=GDgT=792jQ=+oqcK_F3Q@mail.gmail.com>
From: Adam Langley <agl@imperialviolet.org>
To: Robert Ransom <rransom.8774@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/FJw_IYEXSu81V4QnxZMD3NsooPg
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 14:17:15 -0000

On Sun, Nov 30, 2014 at 7:33 PM, Robert Ransom <rransom.8774@gmail.com> wrote:
> 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.

Yes, I agree. The draft should specify the Montgomery curve and the
isogeny maps. I also very much hope that the CFRG doesn't just specify
curves, but also will provide detailed guidance about their use --
that's also missing from the draft at the moment.

> 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've not done any benchmarking, it's just a guess. But the Edward's d
parameter for the curve isomorphic to Curve25519 isn't 121665, it's
+/- 121665/121666 [http://eprint.iacr.org/2007/286.pdf, section 2].
That value doesn't have a small representation so I think that the
PinkBikeShed curve does get to use a multiplication by a small
constant in place of a multiplication by a large constant. That might
be a small help.

> 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?

No. I think the prevalence of Curve25519 alone is enough that the CFRG
should adopt it. PinkBikeShed isn't what I want, but it's close and
it's something that I can live with in order to move forward.


Cheers

AGL

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


From nobody Mon Dec  1 08:28:03 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 BBD0B1A6F27 for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 08:28:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.859
X-Spam-Level: 
X-Spam-Status: No, score=-3.859 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01, 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 8rfYKXUUDaZ2 for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 08:27:57 -0800 (PST)
Received: from m2-bn.bund.de (m2-bn.bund.de [77.87.228.74]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EA3AC1A6F0A for <cfrg@irtf.org>; Mon,  1 Dec 2014 08:27:56 -0800 (PST)
Received: from m2.mfw.bn.ivbb.bund.de (localhost.mfw.bn.ivbb.bund.de [127.0.0.1]) by m2-bn.bund.de (8.14.5/8.14.5) with ESMTP id sB1GRsjE020526 for <cfrg@irtf.org>; Mon, 1 Dec 2014 17:27:54 +0100 (CET)
Received: (from localhost) by m2.mfw.bn.ivbb.bund.de (MSCAN) id 5/m2.mfw.bn.ivbb.bund.de/smtp-gw/mscan; Mon Dec 1 17:27:54 2014
X-P350-Id: 23e4b8124446b1fa
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: Mon, 1 Dec 2014 17:27:29 +0100
User-Agent: KMail/1.9.10 (enterprise35 20140205.23bb19c)
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <AMSPR04MB518798182EA8BE512AD75C4E3710@AMSPR04MB518.eurprd04.prod.outlook.com>
In-Reply-To: <AMSPR04MB518798182EA8BE512AD75C4E3710@AMSPR04MB518.eurprd04.prod.outlook.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: <201412011727.30281.manfred.lochter@bsi.bund.de>
X-AntiVirus: checked by Avira MailGate (version: 3.2.1.26; AVE: 8.3.26.26; VDF: 7.11.189.194; host: sgasmtp2.bsi.de); id=28712-mt1C7s
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/G5djG4gA90tkv9JSE8-M2VBpjqY
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: Mon, 01 Dec 2014 16:28:00 -0000

+1



__________ urspr=C3=BCngliche Nachricht __________

Von:		Joppe Bos <joppe.bos@nxp.com>
Datum:	Donnerstag, 27. November 2014, 07:17:32
An:		"b@b3k.us" <b@b3k.us>, "cfrg@irtf.org" <cfrg@irtf.org>
Kopie:=09
Betr.:	Re: [Cfrg] Consensus and a way forward

> This draft presents algorithms to =E2=80=9Cgenerate domain parameters at =
any
> security level for modern (twisted) Edwards curves=E2=80=9D given as inpu=
t 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.
>
> Best regards,
>
> Joppe
>
>
>
> 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
>
>
>
> All,
>
>
>
> Over the past couple of weeks we have been working with Adam Langley to s=
ee
> 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 a=
nd
> 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 giv=
en
> 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, t=
he
> generation procedure=E2=80=8B=E2=80=8B gives the same curve with p =3D2^5=
21 - 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

=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 Mon Dec  1 08:36:13 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 554E51A6EE7 for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 08:36:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.559
X-Spam-Level: 
X-Spam-Status: No, score=-6.559 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01, 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 4BZNXmtWv48p for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 08:36:09 -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 8D5E81A6F4C for <cfrg@irtf.org>; Mon,  1 Dec 2014 08:36:09 -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 sB1Ga77P025357 for <cfrg@irtf.org>; Mon, 1 Dec 2014 17:36:07 +0100 (CET)
Received: (from localhost) by m1.mfw.bn.ivbb.bund.de (MSCAN) id 5/m1.mfw.bn.ivbb.bund.de/smtp-gw/mscan; Mon Dec 1 17:36:07 2014
X-P350-Id: 23e4c7924a3df1ae
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: Mon, 1 Dec 2014 17:35:48 +0100
User-Agent: KMail/1.9.10 (enterprise35 20140205.23bb19c)
References: <20141128014059.26622.qmail@cr.yp.to>
In-Reply-To: <20141128014059.26622.qmail@cr.yp.to>
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: <201412011735.49243.manfred.lochter@bsi.bund.de>
X-AntiVirus: checked by Avira MailGate (version: 3.2.1.26; AVE: 8.3.26.26; VDF: 7.11.189.194; host: sgasmtp2.bsi.de); id=28850-LvAmwL
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/VFDzgQTm4dOQe3qvNNd2h4VvpT4
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: Mon, 01 Dec 2014 16:36:12 -0000

_

>
> 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
>
>   =20
>
>    * always set the top bit of scalars so that an input-length-agnostic
>      variant of the Montgomery ladder doesn't create a timing leak.
>

On the other hand this countermeasure is quite dangerous, when applied duri=
ng=20
signature generation. It may leak parts of the ephemeral keys. Which in tur=
n=20
allows lattice attacks. (The most dangerous situation being SW which is use=
d=20
in an protected environment, where only timing attacks are seen as a=20
danger. )

Manfred


=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 Mon Dec  1 09:53:59 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 9F84A1A8722 for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 09:53: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 QbnndwkocOwD for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 09:53:48 -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 DBB041A1A7E for <cfrg@irtf.org>; Mon,  1 Dec 2014 09:53:47 -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 E71BA9005B; Mon,  1 Dec 2014 19:53:44 +0200 (EET)
Date: Mon, 1 Dec 2014 19:53:44 +0200
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Adam Langley <agl@imperialviolet.org>
Message-ID: <20141201175344.GA21285@LK-Perkele-VII>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476CB73.7090206@akr.io> <CAMfhd9XxkZsVPMcevWOgvvqbBK0JqLVCGBYfwWu0QFO5rsfbJQ@mail.gmail.com> <CABqy+sodVBbwNrA28AFxYMiw5rJxtUX3cbYCjtrYxK-48Ocd6A@mail.gmail.com> <CAMfhd9VF784rJ5gXiLkB6DdwS+zAi=GDgT=792jQ=+oqcK_F3Q@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CAMfhd9VF784rJ5gXiLkB6DdwS+zAi=GDgT=792jQ=+oqcK_F3Q@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/24H6_oVS6VezTOsuq1Ca_cmzAOU
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 17:53:57 -0000

On Mon, Dec 01, 2014 at 06:17:07AM -0800, Adam Langley wrote:
> On Sun, Nov 30, 2014 at 7:33 PM, Robert Ransom <rransom.8774@gmail.com> wrote:
> 
> > 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've not done any benchmarking, it's just a guess. But the Edward's d
> parameter for the curve isomorphic to Curve25519 isn't 121665, it's
> +/- 121665/121666 [http://eprint.iacr.org/2007/286.pdf, section 2].
> That value doesn't have a small representation so I think that the
> PinkBikeShed curve does get to use a multiplication by a small
> constant in place of a multiplication by a large constant. That might
> be a small help.

The isogeny that lets one in effect have small d and a24 at the same time
also exists for Curve25519.


AFAICT:

Complete Twisted Edwards curve:

-x^2+y^2=1+121665x^2*y^2 (mod 2^255-19)

With base point:

x=8343919484931660353238246604028044872330114539683257561218125599081866236258
y=10591048728587107161910258178281284043396286849160988064050992288107790236293

Mapped by:
u = -y^2/x^2
v = y*(-x^2+y^2-2)/(i*x^3)

Where (square root of -1):
i=38214883241950591754978413199355411911188925816896391856984770930832735035197

Maps to complete Montgomery curve:

v^2 = u^3 + 486662 * u^2 + u  (mod 2^255-19)

With base point:

u=9
v=14781619447589544791020593568409986887264606134616475288964881837755586237401


Mapped by:
w=u+19298681539552699237261830834781317975544997444273427339909597334652188435537

Maps to Weierstrass curve v^2=w^3+a*w+b:
a=19298681539552699237261830834781317975544997444273427339909597334573241639236
b=55751746669818908907645289078257140818241103727901012315294400837956729358436

With base point:
w=19298681539552699237261830834781317975544997444273427339909597334652188435546
v=14781619447589544791020593568409986887264606134616475288964881837755586237401


All the curves have base order of:
7237005577332262213973186563042994240857116359379907606001950938285454250989



The middle curve and base point match Curve25519 data from Safecurves after
changing variable names (x,y)->(u,v).


The v(x,y) formula looks messy, but for single-coordinate Montgomery, one only
needs u(x,y), which is reasonably fast. And looks like one can compute v(x,y)
together with u(x,y) pretty cheaply (few extra multiplications and additions).

The reverse maps x(u,v) and y(u,v) are more annoying, seemingly containing
two square roots and an inversion (among with few other ops).


-Ilari


From nobody Mon Dec  1 10:06: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 08BF51A875D for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 10:06:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.75
X-Spam-Level: 
X-Spam-Status: No, score=-1.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 qUCRJQ6JE5O2 for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 10:06:06 -0800 (PST)
Received: from mail-qa0-x22f.google.com (mail-qa0-x22f.google.com [IPv6:2607:f8b0:400d:c00::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 91EEF1A875C for <cfrg@irtf.org>; Mon,  1 Dec 2014 10:06:06 -0800 (PST)
Received: by mail-qa0-f47.google.com with SMTP id s7so7435716qap.20 for <cfrg@irtf.org>; Mon, 01 Dec 2014 10:06: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:content-transfer-encoding; bh=OqNJD0l1OrfNKJE/hTAaTdYcFxdTCZZ1/fXgpVu0G4g=; b=XF90LT7xJuDzHaUqI2jsUxFRhMmExn+LcBbL96nJePpmX8Q1fE6cJmBSyhOjp/UCdP L0lWyw3T0YGlK48rHCjR/fjJHXjCKoTkdg5cEiswF+7+/zUxff/hQY6fcSffRbaXQIQM 3aQqUB0SEBLPR/E+psnglNiJryXHt8iNr79IBBiJ1qYPRGn4CVfo4U9v/EIUyNbwdUix mmIY+owrDBS6ENy5+4LrBpZzCIeVLWPCQmOmjX5DwyQGDNqqqnYV+DM+dINkzJajGs50 zlPuuFgBQ6ZseHoVNH7bqgiHVF/JcjpTCVsqDrGOlgOWkhf7B2CfbT+gWlbTooIyvJKm wyFg==
MIME-Version: 1.0
X-Received: by 10.224.120.67 with SMTP id c3mr88093907qar.3.1417457165765; Mon, 01 Dec 2014 10:06:05 -0800 (PST)
Received: by 10.140.30.100 with HTTP; Mon, 1 Dec 2014 10:06:05 -0800 (PST)
In-Reply-To: <20141201175344.GA21285@LK-Perkele-VII>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476CB73.7090206@akr.io> <CAMfhd9XxkZsVPMcevWOgvvqbBK0JqLVCGBYfwWu0QFO5rsfbJQ@mail.gmail.com> <CABqy+sodVBbwNrA28AFxYMiw5rJxtUX3cbYCjtrYxK-48Ocd6A@mail.gmail.com> <CAMfhd9VF784rJ5gXiLkB6DdwS+zAi=GDgT=792jQ=+oqcK_F3Q@mail.gmail.com> <20141201175344.GA21285@LK-Perkele-VII>
Date: Mon, 1 Dec 2014 10:06:05 -0800
Message-ID: <CABqy+sqOc-EPD3khHk8c3TEKmz8PuBrhnLSGW3BE3dbjdYmu-A@mail.gmail.com>
From: Robert Ransom <rransom.8774@gmail.com>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/4jKdqdHiYAyn5hxnodd5dLxH1qw
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 18:06:08 -0000

On 12/1/14, Ilari Liusvaara <ilari.liusvaara@elisanet.fi> wrote:

> The reverse maps x(u,v) and y(u,v) are more annoying, seemingly containin=
g
> two square roots and an inversion (among with few other ops).

That's because the map you are using is an isogeny, not an
isomorphism.  You don't compute a point's pre-image under an isogeny,
you get back to the original curve by applying the =E2=80=98dual isogeny=E2=
=80=99
(another rational map).  This isogeny (which I'll denote F for a
moment) is a 4-isogeny, so there is a dual isogeny G such that G(F(P))
=3D 4*P.


Robert Ransom


From nobody Mon Dec  1 14:37:27 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 8B2151ACD44 for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 14:37:26 -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 Q-PU3CC-Lmrc for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 14:37: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 DF2C91ACD29 for <cfrg@irtf.org>; Mon,  1 Dec 2014 14:37:24 -0800 (PST)
Received: (qmail 6042 invoked by uid 1017); 1 Dec 2014 22:37:44 -0000
Received: from unknown (unknown) by unknown with QMTP; 1 Dec 2014 22:37:44 -0000
Received: (qmail 12123 invoked by uid 1001); 1 Dec 2014 22:37:20 -0000
Date: 1 Dec 2014 22:37:20 -0000
Message-ID: <20141201223720.12122.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: <201412011735.49243.manfred.lochter@bsi.bund.de>
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/8z3ZcujGRxFSGEBI-uE7C1tjw4c
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: Mon, 01 Dec 2014 22:37:26 -0000

Lochter, Manfred writes:
> On the other hand this countermeasure is quite dangerous, when applied
> during signature generation.

No. It's true that minimum-length signature nonces with the high bit set
are dangerous, but minimum-length signature nonces _without_ the high
bit set are _also_ dangerous, so blaming the high bit is unreasonable.

The best protection we know is to generate much longer nonces---such as
the 512-bit nonces in Ed25519. Then the system isn't broken by a timing
attack revealing the nonce length. Setting the high bit of such a long
nonce is also perfectly safe.

Of course, an implementor can still get in trouble by (1) reducing these
nonces and then (2) leaking the lengths of the reduced nonces through a
variable-time scalarmult method. So, as another line of defense, we also
choose curves that support simple, fast, constant-time ladders.

---Dan


From nobody Mon Dec  1 16:19:00 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 4C83D1AC3A5 for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 16:18:58 -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 tflY79b1A4M7 for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 16:18:55 -0800 (PST)
Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 07C711A8A54 for <cfrg@irtf.org>; Mon,  1 Dec 2014 16:18:54 -0800 (PST)
Received: by mail-wg0-f49.google.com with SMTP id n12so7372776wgh.22 for <cfrg@irtf.org>; Mon, 01 Dec 2014 16:18:53 -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=HONiX0ja2QnqzESdJ0+0PGjU0aChSUUS3ir2nqffYLg=; b=Z5fz6vCFBV+R+uaYvhUBSXyn4tG7kH4YQxRIdgENrqFGDPxN5zKw+m4SKbYDeSVb2s MUeZD6t7QjhbnPUcI+kR+pzWb5StoVTW8M+cZ/3JU8/VY9WBRDf1EgzXQ3a7Vc48kwNg Y1kHN1/4JU2vhp/s05NXmiRfL/x1BjeZ6sOjo5ko1tCftTBto/kUjvO7tulMC7KeAQ4c B7myipAPtXIDf1IqlPWRYeyjHKw4XXa4orK+GNsxcqraIDdpkZ85yYDqpJojlC7K7umR Ix4Fl+Kvp4eK6octelysqPgnzvkwYFQIQWVVJOrI1rTipFBBQtDXD8FeJ32rlJPL/FG7 6wGQ==
X-Gm-Message-State: ALoCoQklSt4MFMTm1ICIBH8swaC06Mn6OaB2dWWEK0rVc+Ne6so+V4lqdE+Wln4OjgbfHJLBxKsp
X-Received: by 10.180.100.230 with SMTP id fb6mr68392619wib.73.1417479533470;  Mon, 01 Dec 2014 16:18:53 -0800 (PST)
MIME-Version: 1.0
Received: by 10.217.191.195 with HTTP; Mon, 1 Dec 2014 16:18:33 -0800 (PST)
In-Reply-To: <CAMfhd9VF784rJ5gXiLkB6DdwS+zAi=GDgT=792jQ=+oqcK_F3Q@mail.gmail.com>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476CB73.7090206@akr.io> <CAMfhd9XxkZsVPMcevWOgvvqbBK0JqLVCGBYfwWu0QFO5rsfbJQ@mail.gmail.com> <CABqy+sodVBbwNrA28AFxYMiw5rJxtUX3cbYCjtrYxK-48Ocd6A@mail.gmail.com> <CAMfhd9VF784rJ5gXiLkB6DdwS+zAi=GDgT=792jQ=+oqcK_F3Q@mail.gmail.com>
From: Benjamin Black <b@b3k.us>
Date: Mon, 1 Dec 2014 16:18:33 -0800
Message-ID: <CA+Vbu7yuDncMwiAhQiDUR=LW-Rd4WU=BgaD_G+akS4JROoy1ng@mail.gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: multipart/alternative; boundary=f46d041824ee11bcb5050930ac40
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/38WuY6Z0S9Zq-UzZk_rjzhM-YAw
Cc: Adam Langley <agl@imperialviolet.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: Tue, 02 Dec 2014 00:18:58 -0000

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

Several of the responses to this proposal leave me a bit confused as it
appears they were written without having read the draft. If your
perspective is that Curve25519 must be adopted, and under no circumstances
will alternatives be considered, then it will be difficult to reach an
accommodation. If instead you are interested in achieving consensus, the
first step should be understanding alternative viewpoints and considering
how we might find a middle ground. The draft documents such a middle ground.

The draft we (Microsoft, Google and NXP) posted describes rigid generation
of parameters for (twisted) Edwards curves. The generation process is about
as minimalist as can be for generation of secure curves. Additional rules
intended to produce a specific outcome are the definition of flexibility.
Constructing a curve explicitly for a specific implementation technique is
a short-sighted and contrary to good engineering process.

In addition, having a clear, rigid generation process for the parameters
allows those in need of curves for specific applications to easily and
deterministically produce them. Several people involved in hardware
implementation have expressed their concern with only producing curves
based on special primes. For such scenarios, a random prime selection
section could be added to the draft and the resulting curves need not find
their way into TLS at all. Again, being creative in accommodating the needs
of the participants is the key to consensus.

Recall that our preference was for similarly rigid generation of 3 mod 4
special primes. We still hold that preference, but we believe so strongly
in finding a middle ground acceptable on performance and security that we
have agreed to a process that does not produce most of the "NUMS" curves
and does not include our preferred prime at the 256-bit level. p = 2^255 -
19 with rigidly generated parameters is that performant and secure middle
ground.

The generated curve for p = 2^255 - 19 is not Curve25519 and is not
isogenous to the Montgomery curve in X25519. It is, however, not vulnerable
to the extremely minor concern that a private key is a multiple of the
group order. The isogenous minimum A Montgomery curve does have that
concern, and as has already been mentioned it is a trivial problem with a
trivial solution. Those working with signatures or ECDH with x,y points,
which are the majority of scenarios outside TLS ECDH via X-only point
format (and associated Montgomery isogeny), don't need to worry about it at
all.

As some have noted, this new curve can actually be faster than Curve25519.
Preliminary benchmarking of our implementation of it bears that out. It is
unfortunate that, having argued at great length for the primacy of
performance in selection, people are rejecting similar performance gains
because some code has already been deployed or multiplying by 8 instead of
4 represents a security threat.

We were expecting implementation considerations, such as requiring use of
compressed points for x,y and x-only for ECDH at the 128-bit security
level, to be addressed in another draft. That would decouple the generation
draft from the needs of a specific working group or scenario.

There is no perfect answer, there are only acceptable arrangements of trade
offs. To echo Adam, this is something we can live with to move forward.


b

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

<div dir=3D"ltr"><div>Several of the responses to this proposal leave me a =
bit confused as it appears they were written without having read the draft.=
 If your perspective is that Curve25519 must be adopted, and under no circu=
mstances will alternatives be considered, then it will be difficult to reac=
h an accommodation. If instead you are interested in achieving consensus, t=
he first step should be understanding alternative viewpoints and considerin=
g how we might find a middle ground. The draft documents such a middle grou=
nd.</div><div>=C2=A0</div><div>The draft we (Microsoft, Google and NXP) pos=
ted describes rigid generation of parameters for (twisted) Edwards curves. =
The generation process is about as minimalist as can be for generation of s=
ecure curves. Additional rules intended to produce a specific outcome are t=
he definition of flexibility. Constructing a curve explicitly for a specifi=
c implementation technique is a short-sighted and contrary to good engineer=
ing process.</div><div>=C2=A0</div><div>In addition, having a clear, rigid =
generation process for the parameters allows those in need of curves for sp=
ecific applications to easily and deterministically produce them. Several p=
eople involved in hardware implementation have expressed their concern with=
 only producing curves based on special primes. For such scenarios, a rando=
m prime selection section could be added to the draft and the resulting cur=
ves need not find their way into TLS at all. Again, being creative in accom=
modating the needs of the participants is the key to consensus.</div><div>=
=C2=A0</div><div>Recall that our preference was for similarly rigid generat=
ion of 3 mod 4 special primes. We still hold that preference, but we believ=
e so strongly in finding a middle ground acceptable on performance and secu=
rity that we have agreed to a process that does not produce most of the &qu=
ot;NUMS&quot; curves and does not include our preferred prime at the 256-bi=
t level. p =3D 2^255 - 19 with rigidly generated parameters is that perform=
ant and secure middle ground.</div><div>=C2=A0</div><div>The generated curv=
e for p =3D 2^255 - 19 is not Curve25519 and is not isogenous to the Montgo=
mery curve in X25519. It is, however, not vulnerable to the extremely minor=
 concern that a private key is a multiple of the group order. The isogenous=
 minimum A Montgomery curve does have that concern, and as has already been=
 mentioned it is a trivial problem with a trivial solution. Those working w=
ith signatures or ECDH with x,y points, which are the majority of scenarios=
 outside TLS ECDH via X-only point format (and associated Montgomery isogen=
y), don&#39;t need to worry about it at all.</div><div>=C2=A0</div><div>As =
some have noted, this new curve can actually be faster than Curve25519. Pre=
liminary benchmarking of our implementation of it bears that out. It is unf=
ortunate that, having argued at great length for the primacy of performance=
 in selection, people are rejecting similar performance gains because some =
code has already been deployed or multiplying by 8 instead of 4 represents =
a security threat.</div><div><br></div><div>We were expecting implementatio=
n considerations, such as requiring use of compressed points for x,y and x-=
only for ECDH at the 128-bit security level, to be addressed in another dra=
ft. That would decouple the generation draft from the needs of a specific w=
orking group or scenario.</div><div><br></div><div>There is no perfect answ=
er, there are only acceptable arrangements of trade offs. To echo Adam, thi=
s is something we can live with to move forward.</div><div><br></div><div>=
=C2=A0</div><div>b</div><div><br></div></div>

--f46d041824ee11bcb5050930ac40--


From nobody Mon Dec  1 17:56:41 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 758B51A1A7A for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 17:56:40 -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 stN9_GAXNpy9 for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 17:56:38 -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 B74B81A008B for <cfrg@irtf.org>; Mon,  1 Dec 2014 17:56:38 -0800 (PST)
Received: by mail-yk0-f169.google.com with SMTP id 79so5415129ykr.28 for <cfrg@irtf.org>; Mon, 01 Dec 2014 17:56:38 -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=ucJV3TLxdDBkFEFd4tUeY9D87v99vYEDS4CCnMdJchE=; b=TvT5vn41iYA9H7elWMKlY7dyo9no6VSt3MlnRcUclqW1YrIo39LnmOHH2UW7eVOXBa O+PQmLunYmRXzpvpyNqQudoxZtPcn/p9t3c+WStHWjFp/xYLrn4OdbOyzZihlBfF7xBb 1Gz66IssDUCk/1xR53ZtiH7Z8TYC/Wmv4sONu0UJw3DYLEqpnRF5/Q5FJTyVciNPdD7z 32LrXDvn3xRIGI0UotF0eobnOP+LXVDcPE71w7tBHUlOd55ExBfWDwlir0pxzM839rh0 DBWkbU7Ri69FX4Ukv0wtRga9WrYNUXFZGGLUULviGd64vQAjEW1BS+HzXHT7qa2t+WYM cEtQ==
MIME-Version: 1.0
X-Received: by 10.170.214.6 with SMTP id g6mr72955711ykf.34.1417485397937; Mon, 01 Dec 2014 17:56:37 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Mon, 1 Dec 2014 17:56:37 -0800 (PST)
In-Reply-To: <CA+Vbu7yuDncMwiAhQiDUR=LW-Rd4WU=BgaD_G+akS4JROoy1ng@mail.gmail.com>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476CB73.7090206@akr.io> <CAMfhd9XxkZsVPMcevWOgvvqbBK0JqLVCGBYfwWu0QFO5rsfbJQ@mail.gmail.com> <CABqy+sodVBbwNrA28AFxYMiw5rJxtUX3cbYCjtrYxK-48Ocd6A@mail.gmail.com> <CAMfhd9VF784rJ5gXiLkB6DdwS+zAi=GDgT=792jQ=+oqcK_F3Q@mail.gmail.com> <CA+Vbu7yuDncMwiAhQiDUR=LW-Rd4WU=BgaD_G+akS4JROoy1ng@mail.gmail.com>
Date: Mon, 1 Dec 2014 17:56:37 -0800
Message-ID: <CACsn0c=LFB+Q=x7vf=PZtPj1ZrabHD8AGJjSHs0ApBRf=08wpA@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/EdmywyTWUGwqxPNpO3-1X_AvwQE
Cc: Adam Langley <agl@imperialviolet.org>, "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: Tue, 02 Dec 2014 01:56:40 -0000

On Mon, Dec 1, 2014 at 4:18 PM, Benjamin Black <b@b3k.us> wrote:
> Several of the responses to this proposal leave me a bit confused as it
> appears they were written without having read the draft. If your perspective
> is that Curve25519 must be adopted, and under no circumstances will
> alternatives be considered, then it will be difficult to reach an
> accommodation. If instead you are interested in achieving consensus, the
> first step should be understanding alternative viewpoints and considering
> how we might find a middle ground. The draft documents such a middle ground.
>
> The draft we (Microsoft, Google and NXP) posted describes rigid generation
> of parameters for (twisted) Edwards curves. The generation process is about
> as minimalist as can be for generation of secure curves. Additional rules
> intended to produce a specific outcome are the definition of flexibility.
> Constructing a curve explicitly for a specific implementation technique is a
> short-sighted and contrary to good engineering process.

To reach that middle ground you changed the generation procedure from
the initial draft to match E-521. Professor Bernstein has pointed out
that there is an (admittedly minor) security related reason why he
rejected PinkBikeShed. Why not add this criterion to the generation
method? You already did it to get the right curve modulo 2^521-1 after
all. You also changed the choice of primes. Why not change the choice
of prime near 2^384 as well?

Were the initial parameters not rigid, or are these new parameters less rigid?

>
> In addition, having a clear, rigid generation process for the parameters
> allows those in need of curves for specific applications to easily and
> deterministically produce them. Several people involved in hardware
> implementation have expressed their concern with only producing curves based
> on special primes. For such scenarios, a random prime selection section
> could be added to the draft and the resulting curves need not find their way
> into TLS at all. Again, being creative in accommodating the needs of the
> participants is the key to consensus.

What do random primes have to do with anything related to the request
from the TLS WG, particularly if we don't recommend them for TLS?

>
> Recall that our preference was for similarly rigid generation of 3 mod 4
> special primes. We still hold that preference, but we believe so strongly in
> finding a middle ground acceptable on performance and security that we have
> agreed to a process that does not produce most of the "NUMS" curves and does
> not include our preferred prime at the 256-bit level. p = 2^255 - 19 with
> rigidly generated parameters is that performant and secure middle ground.

What about the 384 bit level, where the choice made in the draft is
not a middle ground between performance and (mythical) security, but
rather to favor a rather poor choice of prime? This was a clearly
political exercise.

>
> The generated curve for p = 2^255 - 19 is not Curve25519 and is not
> isogenous to the Montgomery curve in X25519. It is, however, not vulnerable
> to the extremely minor concern that a private key is a multiple of the group
> order. The isogenous minimum A Montgomery curve does have that concern, and
> as has already been mentioned it is a trivial problem with a trivial
> solution. Those working with signatures or ECDH with x,y points, which are
> the majority of scenarios outside TLS ECDH via X-only point format (and
> associated Montgomery isogeny), don't need to worry about it at all.
>
> As some have noted, this new curve can actually be faster than Curve25519.
> Preliminary benchmarking of our implementation of it bears that out. It is
> unfortunate that, having argued at great length for the primacy of
> performance in selection, people are rejecting similar performance gains
> because some code has already been deployed or multiplying by 8 instead of 4
> represents a security threat.

I'm having trouble seeing how a change between constants of roughly
the same size can lead to a 10-15% performance gain. What I can see is
how an implementor can compare a highly optimized implementation of
one curve to a less-well optimized implementation of another, then
make a claim about the curves.

Unless the benchmarking code is made publicly available, I'm skeptical
of such claims.

Sincerely,
Watson Ladd


From nobody Mon Dec  1 18:28:07 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 7C6151A0053 for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 18:28:04 -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 ANR0mIIVZoRC for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 18:28:02 -0800 (PST)
Received: from mail-oi0-x236.google.com (mail-oi0-x236.google.com [IPv6:2607:f8b0:4003:c06::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 253211A0029 for <cfrg@irtf.org>; Mon,  1 Dec 2014 18:28:02 -0800 (PST)
Received: by mail-oi0-f54.google.com with SMTP id u20so8460432oif.27 for <cfrg@irtf.org>; Mon, 01 Dec 2014 18:28: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:from:date:message-id:subject:to :cc:content-type; bh=+6We1LvmGdrpGxVjOBtXBEsgip5RQaCWsfvsgfSaYKc=; b=gZ4+fApZguBUGtH+cl9Cz/HC73y2clF0I91VR8N5FRnRjbh/QJwZFytxjBV0fQtVOf MX6CAQmn08DKWDS38vs+EyK9pqYilh0BGx9xEzv0wD8ETZjy/K9oFA18WNo2zbE5tf4c FPY7Mhrh3NkG9LJPKo+sZZ2jBNJFPc/nAQKZzlh+5D0mMJzFulP1RFQGBjr8IawYQUuz xoB1+QgMT5KY5LcZsygoTOk/FL0aGSAaHBx9D7Zr/4tjv2SHf5RUa2O+5KNOMv8UMnkw RyQhsAe/rUHtRg9gavYdUWHEY8S8++UZLgkMK9Q18dCnduQfSns+OwaEkLq+O5caeTM2 jrNw==
X-Received: by 10.182.130.232 with SMTP id oh8mr38767898obb.49.1417487281358;  Mon, 01 Dec 2014 18:28:01 -0800 (PST)
MIME-Version: 1.0
Received: by 10.60.81.233 with HTTP; Mon, 1 Dec 2014 18:27:41 -0800 (PST)
In-Reply-To: <CA+Vbu7yuDncMwiAhQiDUR=LW-Rd4WU=BgaD_G+akS4JROoy1ng@mail.gmail.com>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476CB73.7090206@akr.io> <CAMfhd9XxkZsVPMcevWOgvvqbBK0JqLVCGBYfwWu0QFO5rsfbJQ@mail.gmail.com> <CABqy+sodVBbwNrA28AFxYMiw5rJxtUX3cbYCjtrYxK-48Ocd6A@mail.gmail.com> <CAMfhd9VF784rJ5gXiLkB6DdwS+zAi=GDgT=792jQ=+oqcK_F3Q@mail.gmail.com> <CA+Vbu7yuDncMwiAhQiDUR=LW-Rd4WU=BgaD_G+akS4JROoy1ng@mail.gmail.com>
From: Tony Arcieri <bascule@gmail.com>
Date: Mon, 1 Dec 2014 18:27:41 -0800
Message-ID: <CAHOTMVJi2N8vg=eB-sKRPmTWPk3gKYXdbdu-N65veBUQjJishA@mail.gmail.com>
To: Benjamin Black <b@b3k.us>
Content-Type: multipart/alternative; boundary=089e013a03c6e1106105093279a1
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/qSo5cBFbWYLPCq8CVQqq9ZBhfD0
Cc: Adam Langley <agl@imperialviolet.org>, "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: Tue, 02 Dec 2014 02:28:04 -0000

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

On Mon, Dec 1, 2014 at 4:18 PM, Benjamin Black <b@b3k.us> wrote:

> Several of the responses to this proposal leave me a bit confused as it
> appears they were written without having read the draft. If your
> perspective is that Curve25519 must be adopted, and under no circumstances
> will alternatives be considered, then it will be difficult to reach an
> accommodation.
>

Can you please respond to djb's concerns about twist security?


> If instead you are interested in achieving consensus, the first step
> should be understanding alternative viewpoints and considering how we might
> find a middle ground. The draft documents such a middle ground.
>

The draft overlooks djb's concerns. At the very least it should give a
counterpoint to djb's arguments.

-- 
Tony Arcieri

--089e013a03c6e1106105093279a1
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 M=
on, Dec 1, 2014 at 4:18 PM, Benjamin Black <span dir=3D"ltr">&lt;<a href=3D=
"mailto:b@b3k.us" target=3D"_blank">b@b3k.us</a>&gt;</span> wrote:<br><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"><div dir=3D"ltr"><div>Several of the responses to this proposal=
 leave me a bit confused as it appears they were written without having rea=
d the draft. If your perspective is that Curve25519 must be adopted, and un=
der no circumstances will alternatives be considered, then it will be diffi=
cult to reach an accommodation.</div></div></blockquote><div><br></div><div=
>Can you please respond to djb&#39;s concerns about twist security?</div><d=
iv>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0p=
x 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-lef=
t-style:solid;padding-left:1ex"><div dir=3D"ltr"><div> If instead you are i=
nterested in achieving consensus, the first step should be understanding al=
ternative viewpoints and considering how we might find a middle ground. The=
 draft documents such a middle ground.</div></div></blockquote><div><br></d=
iv><div>The draft overlooks djb&#39;s concerns. At the very least it should=
 give a counterpoint to djb&#39;s arguments.</div></div><div><br></div>-- <=
br><div class=3D"gmail_signature">Tony Arcieri<br></div>
</div></div>

--089e013a03c6e1106105093279a1--


From nobody Mon Dec  1 21:06:41 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 B94C91A00D8 for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 21:06:38 -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 Lw3zk31nFhWu for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 21:06:37 -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 AFDCD1A0089 for <cfrg@irtf.org>; Mon,  1 Dec 2014 21:06:36 -0800 (PST)
Received: by mail-wi0-f180.google.com with SMTP id n3so19679214wiv.7 for <cfrg@irtf.org>; Mon, 01 Dec 2014 21:06:35 -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=HgFEvgRjZ1d5M42/q10xhxKfDXHmTmEoNmDYWZXyEfU=; b=DoEsqPj/F+xm2fz+NZeqUrlgFZ18/WPBRb1TO5CWV3JAPF8u+092Ggu3zgUXsQ/4Tc Ea3ohmcl9+2nVdz0Zd/8BrxczvY/BbfWfCdPzjYxqdOLKDymOo329xp2YuZj2nKc7yyW POmWR6HEaYlnkTF5pwsQnXDODfJId7yUc97Xc4XggxX02RlRg4jyoMLsUm2OxpP/1EmX Vm64c6dmiVszyBmxNokY4/pqhIFFBk2396zmWJMZuPsYz4Sf3gSmrTzqrdXciqdQIOwV A/PvF0XZ2jG4p/G9E/u9BDXgvV++i+dzrRyzsw47fyJqjKPbr1hOb88c/06Xobet/O/s Gizw==
X-Gm-Message-State: ALoCoQntbgt/+0Spu8YSNQnKhIVsydKQ1EcWGVqbNkNnBNr0hx1xgvMnSC4ub66G+6lmntNALACi
X-Received: by 10.180.211.108 with SMTP id nb12mr90676328wic.76.1417496795483;  Mon, 01 Dec 2014 21:06:35 -0800 (PST)
MIME-Version: 1.0
Received: by 10.217.191.195 with HTTP; Mon, 1 Dec 2014 21:06:15 -0800 (PST)
In-Reply-To: <CAHOTMVJi2N8vg=eB-sKRPmTWPk3gKYXdbdu-N65veBUQjJishA@mail.gmail.com>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476CB73.7090206@akr.io> <CAMfhd9XxkZsVPMcevWOgvvqbBK0JqLVCGBYfwWu0QFO5rsfbJQ@mail.gmail.com> <CABqy+sodVBbwNrA28AFxYMiw5rJxtUX3cbYCjtrYxK-48Ocd6A@mail.gmail.com> <CAMfhd9VF784rJ5gXiLkB6DdwS+zAi=GDgT=792jQ=+oqcK_F3Q@mail.gmail.com> <CA+Vbu7yuDncMwiAhQiDUR=LW-Rd4WU=BgaD_G+akS4JROoy1ng@mail.gmail.com> <CAHOTMVJi2N8vg=eB-sKRPmTWPk3gKYXdbdu-N65veBUQjJishA@mail.gmail.com>
From: Benjamin Black <b@b3k.us>
Date: Mon, 1 Dec 2014 21:06:15 -0800
Message-ID: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com>
To: Tony Arcieri <bascule@gmail.com>
Content-Type: multipart/alternative; boundary=001a11c37d32f7249f050934b077
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ZlZNQQyTsQyMKr9c5cdpvl12H08
Cc: Adam Langley <agl@imperialviolet.org>, "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: Tue, 02 Dec 2014 05:06:39 -0000

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

The concerns do not apply to the twisted Edwards curve we generated, only
to the isogenous Montgomery curve. If one insists on using the Montgomery
ladder and on clearing cofactors, which is not required for ECDH, then
multiplication by 8 is the simplest answer. Note that X25519 also has
specific guidance about its use in non-DH protocols and failing to heed it
results in security problems. There is no free lunch.

My counterpoint is that all of this complexity is introduced by insisting
on the use of the ladder. Instead of debating how to hack around the
problems that introduces, use the twisted Edwards curve. It is extremely
fast and has far fewer sharp edges.

On Mon, Dec 1, 2014 at 6:27 PM, Tony Arcieri <bascule@gmail.com> wrote:

> On Mon, Dec 1, 2014 at 4:18 PM, Benjamin Black <b@b3k.us> wrote:
>
>> Several of the responses to this proposal leave me a bit confused as it
>> appears they were written without having read the draft. If your
>> perspective is that Curve25519 must be adopted, and under no circumstances
>> will alternatives be considered, then it will be difficult to reach an
>> accommodation.
>>
>
> Can you please respond to djb's concerns about twist security?
>
>
>> If instead you are interested in achieving consensus, the first step
>> should be understanding alternative viewpoints and considering how we might
>> find a middle ground. The draft documents such a middle ground.
>>
>
> The draft overlooks djb's concerns. At the very least it should give a
> counterpoint to djb's arguments.
>
> --
> Tony Arcieri
>

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

<div dir=3D"ltr">The concerns do not apply to the twisted Edwards curve we =
generated, only to the isogenous Montgomery curve. If one insists on using =
the Montgomery ladder and on clearing cofactors, which is not required for =
ECDH, then multiplication by 8 is the simplest answer. Note that X25519 als=
o has specific guidance about its use in non-DH protocols and failing to he=
ed it results in security problems. There is no free lunch.<div><br></div><=
div>My counterpoint is that all of this complexity is introduced by insisti=
ng on the use of the ladder. Instead of debating how to hack around the pro=
blems that introduces, use the twisted Edwards curve. It is extremely fast =
and has far fewer sharp edges.</div></div><div class=3D"gmail_extra"><br><d=
iv class=3D"gmail_quote">On Mon, Dec 1, 2014 at 6:27 PM, Tony Arcieri <span=
 dir=3D"ltr">&lt;<a href=3D"mailto:bascule@gmail.com" target=3D"_blank">bas=
cule@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div=
 dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><span cl=
ass=3D"">On Mon, Dec 1, 2014 at 4:18 PM, Benjamin Black <span dir=3D"ltr">&=
lt;<a href=3D"mailto:b@b3k.us" target=3D"_blank">b@b3k.us</a>&gt;</span> wr=
ote:<br></span><span class=3D""><blockquote class=3D"gmail_quote" style=3D"=
margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,20=
4,204);border-left-style:solid;padding-left:1ex"><div dir=3D"ltr"><div>Seve=
ral of the responses to this proposal leave me a bit confused as it appears=
 they were written without having read the draft. If your perspective is th=
at Curve25519 must be adopted, and under no circumstances will alternatives=
 be considered, then it will be difficult to reach an accommodation.</div><=
/div></blockquote><div><br></div></span><div>Can you please respond to djb&=
#39;s concerns about twist security?</div><span class=3D""><div>=C2=A0</div=
><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"><div dir=3D"ltr"><div> If instead you are interested in a=
chieving consensus, the first step should be understanding alternative view=
points and considering how we might find a middle ground. The draft documen=
ts such a middle ground.</div></div></blockquote><div><br></div></span><div=
>The draft overlooks djb&#39;s concerns. At the very least it should give a=
 counterpoint to djb&#39;s arguments.</div></div><span class=3D"HOEnZb"><fo=
nt color=3D"#888888"><div><br></div>-- <br><div>Tony Arcieri<br></div>
</font></span></div></div>
</blockquote></div><br></div>

--001a11c37d32f7249f050934b077--


From nobody Mon Dec  1 23:59:47 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 A253B1A0161 for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 23:59:45 -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 xJR9hiG_F1Gg for <cfrg@ietfa.amsl.com>; Mon,  1 Dec 2014 23:59:43 -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 C18731A015B for <cfrg@irtf.org>; Mon,  1 Dec 2014 23:59:43 -0800 (PST)
Message-ID: <547D716B.4050001@akr.io>
Date: Tue, 02 Dec 2014 07:59:39 +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> <5476CB73.7090206@akr.io> <CAMfhd9XxkZsVPMcevWOgvvqbBK0JqLVCGBYfwWu0QFO5rsfbJQ@mail.gmail.com> <CABqy+sodVBbwNrA28AFxYMiw5rJxtUX3cbYCjtrYxK-48Ocd6A@mail.gmail.com> <CAMfhd9VF784rJ5gXiLkB6DdwS+zAi=GDgT=792jQ=+oqcK_F3Q@mail.gmail.com> <CA+Vbu7yuDncMwiAhQiDUR=LW-Rd4WU=BgaD_G+akS4JROoy1ng@mail.gmail.com>
In-Reply-To: <CA+Vbu7yuDncMwiAhQiDUR=LW-Rd4WU=BgaD_G+akS4JROoy1ng@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/s0V7H4_2dKE0tsWbiV5Tk-rpeZU
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: Tue, 02 Dec 2014 07:59:45 -0000

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

On 02/12/2014 00:18, Benjamin Black wrote:

> If your perspective is that Curve25519 must be adopted, and under
> no circumstances will alternatives be considered, then it will be 
> difficult to reach an accommodation.

That's an odd position, given the extremely close similarity between
PinkBikeShed and Curve25519. Why is that?

On what TECHNICAL ground do you believe PinkBikeShed is superior?

On what SECURITY ground do you reject Curve25519?

What's the blocker for you? Why are you refusing to consider it?
Please answer, clearly.

Because even agl, a co-author of your draft, clearly believes that
what you propose is not the best choice. And if it's clearly not the
best choice, we shouldn't choose it.

If you cannot answer those questions, then it will be difficult to reach
an accommodation.


I think you're wrong; that you're simply unwilling to admit you're
wrong; and you want to compromise on some kind of frankencurve to save
face. But with the greatest respect, your ego has sod all to do with
this. I am unwilling to compromise the quality of cryptography on the
internet to save your ego. Design by committee has always been a very
bad call.


I believe that we will be able to find a rough consensus, and we
certainly have running code, for Curve25519. Pick that one.

I believe that will absolutely not be the case with your proposal.

It is for the chairs to call for consensus: I will leave that to them.

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

iQIcBAEBCgAGBQJUfXFrAAoJEOyEjtkWi2t6x1gP/1jW8lKsvjBO03bwW9x/zENK
mUhywUQ5Eqeec50LeB/AvN+/kRowRZR+MqEzLXifGtlJ/bB4t04fwfFg7uqOavkm
Azfc6KtnRmmL5c1v8bDOmQPK67HbHDB/cxoA3rR6PI1Cd3ZcrsU410jLHSkK647e
4LIPWqyKMFH3eKaDXOYSTHCSuvluh4Spl1QBSKoIY/xFoB7uJWJNWBfgckT0Q0Ng
7MY0omdbCMOsyYxvOlhfYKOI5mNRVmCmxnKNwi6rQPCpC5X9TXW6cC25aWD64JEJ
X+TDb2uEGsNOc///D/eZ7HA6bIHdeliiGgF95QYF0y0Ds3SCjsdj6Hvxd3QEvWMu
kyVkxA6gdzKskFg5FBf8PEiDwujZn6LyA/PtbpYGk+rUgujbvlAdGcUgWlCWKwDH
XHTutR126YMRVf82mG6O6j8vmYlQ3TGyHm5WY6i74rEZkDWO7BxgeEsSyawyoOvG
7P+MzdC4b3T/uFk7MlsNXa6QHkRyPd+ZnnBtS2O0Efunt/ZEmCTBmVEy0hZ72fsh
YnGfYylTmo7km0rEe1o1uRZZtih6Dd4tC84WWr7Qpm5MRjbG0qL8dDR3ya1JCHIo
IQ+MezEF8BFNozmMXeA4uhaMaeN4ZUq/wVopfXgql8psgMNl4b4c88yXxv2z03YT
4KDRQO79MF+MnTPfNUvo
=gUrt
-----END PGP SIGNATURE-----


From nobody Tue Dec  2 01:29:22 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 69F3F1A1A1C for <cfrg@ietfa.amsl.com>; Tue,  2 Dec 2014 01:29:18 -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_20=-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 ipGCMEBAiATU for <cfrg@ietfa.amsl.com>; Tue,  2 Dec 2014 01:29:17 -0800 (PST)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id B5E0E1A19EF for <cfrg@irtf.org>; Tue,  2 Dec 2014 01:29:16 -0800 (PST)
Received: (qmail 13687 invoked by uid 1017); 2 Dec 2014 09:29:36 -0000
Received: from unknown (unknown) by unknown with QMTP; 2 Dec 2014 09:29:36 -0000
Received: (qmail 29028 invoked by uid 1001); 2 Dec 2014 09:28:48 -0000
Date: 2 Dec 2014 09:28:47 -0000
Message-ID: <20141202092847.29027.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: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@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/jDveCThUwbpMBNrrHFir3eZmkAE
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: Tue, 02 Dec 2014 09:29:18 -0000

Benjamin Black writes:
> The concerns do not apply to the twisted Edwards curve we generated, 
> only to the isogenous Montgomery curve. 

False.

Invalid-curve attacks completely break the simplest DH implementations
in Montgomery coordinates _and_ in Edwards coordinates. Rather than
blaming the implementor, we eliminate these security failures by

   * adding twist security, for both Montgomery and Edwards, and
   * switching to single-coordinate ladders.

This is the primary motivation for twist security (and a closer look,
as I've explained in detail, shows a twist-security criterion that's met
by Curve25519 and not by PinkBikeShed). This has nothing to do with the
superficial differences between the Montgomery x and the Edwards y, both
of which support ladders.

If you disagree, please explain why you're requiring _any_ type of twist
security for Edwards curves. Why aren't you saying something like "The
larger d forced by 'twist security' is a violation of rigidity" and
objecting to the whole concept of twist security for Edwards curves?

---Dan


From nobody Tue Dec  2 09:07:01 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 023F51A1AA7 for <cfrg@ietfa.amsl.com>; Tue,  2 Dec 2014 09:06:49 -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 WiedZ4sM7TOK for <cfrg@ietfa.amsl.com>; Tue,  2 Dec 2014 09:06:46 -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 C87BA1A1EF5 for <cfrg@irtf.org>; Tue,  2 Dec 2014 09:06:30 -0800 (PST)
Received: by mail-yh0-f41.google.com with SMTP id a41so6231034yho.28 for <cfrg@irtf.org>; Tue, 02 Dec 2014 09:06:30 -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=ef9wq5kEIkaAA/QaZaeeSc+VrkhCnJM8GpOMbt/g8QI=; b=DBqiSck4VlFIT177lQCwPwSK2RrRGmFRAivLPqPOz1b+rpFblzjoS449AF+lyNh5JK mEYo5MbOTUX6dOQQN9qd20bkpnU/LjhGCe+lkGVbRCorPKwtNPS8LE77eXUzk4wJiJwv SVzUeyv9dHAOdV29hOiBGutAt2z8XAUDO7YMAWsMiC9iAVmhhofa1Z0ARNPq+g9cbAV7 cMFGBFShc7Es2H0nA6ey+up/Y14+NkOceGfUI/RPq4aBfrWSdZedxPmfJmwWEBX0r6tY YX+GBZU/4jlfV7O+Ye4PVPM7L7CiAV+Jc8fDj50j5nWIVpnrxgb51FI9/AoHCpo6OiBw 38QA==
MIME-Version: 1.0
X-Received: by 10.236.22.36 with SMTP id s24mr363573yhs.138.1417539990076; Tue, 02 Dec 2014 09:06:30 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Tue, 2 Dec 2014 09:06:30 -0800 (PST)
Date: Tue, 2 Dec 2014 09:06:30 -0800
Message-ID: <CACsn0cmbFO8q--_=gwHUGO=aA=W_yJk3zGho1MWkiobB_qoQhw@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/0H2VSkRl6Qov0Q6QEDYqfUIftWQ
Subject: [Cfrg] Edwards ladder
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, 02 Dec 2014 17:06:49 -0000

Dear all,

The formulas on the EFD for a y-coordinate only Edwards ladder require
d to be a square. They are slightly more efficient than the Montgomery
ladder when squaring is specially optimized. Unfortunately, the
Edwards curve formulas we are considering don't have d square.

The relatively little amount of thought I've given to this matter
hasn't produced an isogeny that makes d square. Furthermore, picking d
square makes the addition laws not complete: it's not possible to have
both the efficient ladder and a complete addition law simultaneously
when using Edwards coordinates.

As a result, I think we don't have an alternative to Montgomery
x-coordinate only that is as efficient and as secure, and certainly
not as simple.  I think that most people on the list are in agreement
about this.

This leaves signatures and which form of Montgomery ladder ECDH to use
as open issues.

Sincerely,
Watson Ladd


From nobody Tue Dec  2 09:53:05 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 735431A1BFB for <cfrg@ietfa.amsl.com>; Tue,  2 Dec 2014 09:53:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.75
X-Spam-Level: 
X-Spam-Status: No, score=-1.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 ErQVtn7QqVUb for <cfrg@ietfa.amsl.com>; Tue,  2 Dec 2014 09:53:03 -0800 (PST)
Received: from mail-qg0-x22c.google.com (mail-qg0-x22c.google.com [IPv6:2607:f8b0:400d:c04::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 365B91A0392 for <cfrg@irtf.org>; Tue,  2 Dec 2014 09:53:03 -0800 (PST)
Received: by mail-qg0-f44.google.com with SMTP id z60so9829093qgd.3 for <cfrg@irtf.org>; Tue, 02 Dec 2014 09:53:02 -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=GPgcg1Gv8ErXi7yVu5yrpn04z6aOGz30xptJAhMZJsE=; b=X1Suw+Zvd2bVui17jLHgTlf/HS6eRExAmjTklvKjvAJ0mCr9e8QZHJJOBDdHPnYJ4h DFwUgQRL8RGqkBC6HwUjqmLRB6Xy54RKQ15JOGjeD/jWoeJgGMOF8AxdkDnUqFJ2NFPN zA814u6A39ezaT+Xob4ddGy/lBcJY64ItqTfeo3VeFqScFHNmPb317oW88IU7amzAafo XliKS1j+dCS/ye5Z3Qe83mCUdpA8PQhrrKzsmlozhXf0QCcWzr4SvDETKuO43CePRJRB tplEm0E6fmT05FFzzhzanAXH8HUuqTcHn3D5FJvL2JW87wnAS8xbUXEebRXzWc8J1ZkR F/aw==
MIME-Version: 1.0
X-Received: by 10.224.129.9 with SMTP id m9mr740578qas.50.1417542782302; Tue, 02 Dec 2014 09:53:02 -0800 (PST)
Received: by 10.140.30.100 with HTTP; Tue, 2 Dec 2014 09:53:02 -0800 (PST)
In-Reply-To: <CACsn0cmbFO8q--_=gwHUGO=aA=W_yJk3zGho1MWkiobB_qoQhw@mail.gmail.com>
References: <CACsn0cmbFO8q--_=gwHUGO=aA=W_yJk3zGho1MWkiobB_qoQhw@mail.gmail.com>
Date: Tue, 2 Dec 2014 09:53:02 -0800
Message-ID: <CABqy+sphAzC-rX06f61YVT8rjZVZbyMjGneouTb=ry0S783_+A@mail.gmail.com>
From: Robert Ransom <rransom.8774@gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/WXe1POS8I6AFKO6qWT47GapIH8c
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Edwards ladder
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, 02 Dec 2014 17:53:04 -0000

On 12/2/14, Watson Ladd <watsonbladd@gmail.com> wrote:
> Dear all,
>
> The formulas on the EFD for a y-coordinate only Edwards ladder require
> d to be a square. They are slightly more efficient than the Montgomery
> ladder when squaring is specially optimized. Unfortunately, the
> Edwards curve formulas we are considering don't have d square.

In order for the ladder formula shown on
<http://hyperelliptic.org/EFD/g1p/auto-edwards-yzsquared.html> to be
even close to more efficient, s must be chosen to be a small integer;
r is then a ratio of small integers and 1*r requires two small-integer
multiplies.

Mike Hamburg tried that formula with an earlier version of his Ed448
software, and found that they were slower than the Montgomery-form
ladder.


In addition, that formula has an exceptional case when Y1=0 (the
affine points of order 4), which is relatively harmless for
cryptographic purposes but makes implementation-distinguishing attacks
more likely and makes a mathematically correct implementation more
complex than a merely interoperable implementation.

I don't see the point of investigating those formulas further.


(If anyone else wants to try them, I found a twist-secure curve
optimized for that formula over the same field as Curve3617; the curve
parameter's value was 2170.  I think the parameter was s.)


> The relatively little amount of thought I've given to this matter
> hasn't produced an isogeny that makes d square. Furthermore, picking d
> square makes the addition laws not complete: it's not possible to have
> both the efficient ladder and a complete addition law simultaneously
> when using Edwards coordinates.

You can map a complete Edwards curve with cofactor 8 (or divisible by
8) to an Edwards curve with square d by using the E_d -> L_d map shown
in <https://eprint.iacr.org/2011/135>.  (It's also in one of Dr.
Bernstein's papers, but I don't remember exactly where.)

(But you don't gain anything by doing that for an existing curve.  The
Gaudry et al. formulas are only worth considering if you can choose a
new curve to suit them.)



Robert Ransom


From nobody Tue Dec  2 10:12:09 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 B342C1A6FB9 for <cfrg@ietfa.amsl.com>; Tue,  2 Dec 2014 10:12:00 -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 mA0YQgu5txLw for <cfrg@ietfa.amsl.com>; Tue,  2 Dec 2014 10:11:58 -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 6B8BA1A6FCD for <cfrg@irtf.org>; Tue,  2 Dec 2014 10:11:04 -0800 (PST)
Received: from [192.168.1.102] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 0C64F3AA12; Tue,  2 Dec 2014 10:10:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1417543847; bh=d4HxjH55qv07UtxalGJsQPQglu0eQINFEmg73vXpLI8=; h=Date:From:To:CC:Subject:References:In-Reply-To:From; b=I7rCuHfkjS1Qpj4RdcIfvHjCdgf5RaySeUQNCN0QFvZmMKdJnha0sHoCuv2V4z3nX BjQoAjRx98kYtqtvkokc1/O3P/ovGpaJnQ9GyCEwb1H5d01tBj10cDglEzPckzBIMp NJcszv+b3ERd6ggA/dVUfjTphSOTIeJHTq3zvWVc=
Message-ID: <547E00B4.7040708@shiftleft.org>
Date: Tue, 02 Dec 2014 10:11:00 -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: Robert Ransom <rransom.8774@gmail.com>,  Watson Ladd <watsonbladd@gmail.com>
References: <CACsn0cmbFO8q--_=gwHUGO=aA=W_yJk3zGho1MWkiobB_qoQhw@mail.gmail.com> <CABqy+sphAzC-rX06f61YVT8rjZVZbyMjGneouTb=ry0S783_+A@mail.gmail.com>
In-Reply-To: <CABqy+sphAzC-rX06f61YVT8rjZVZbyMjGneouTb=ry0S783_+A@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/jeowhfc3Tq8nX6ux1D1-YG4-Dvs
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Edwards ladder
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, 02 Dec 2014 18:12:04 -0000

On 12/02/2014 09:53 AM, Robert Ransom wrote:
> On 12/2/14, Watson Ladd <watsonbladd@gmail.com> wrote:
>> Dear all,
>>
>> The formulas on the EFD for a y-coordinate only Edwards ladder require
>> d to be a square. They are slightly more efficient than the Montgomery
>> ladder when squaring is specially optimized. Unfortunately, the
>> Edwards curve formulas we are considering don't have d square.
> In order for the ladder formula shown on
> <http://hyperelliptic.org/EFD/g1p/auto-edwards-yzsquared.html> to be
> even close to more efficient, s must be chosen to be a small integer;
> r is then a ratio of small integers and 1*r requires two small-integer
> multiplies.
>
> Mike Hamburg tried that formula with an earlier version of his Ed448
> software, and found that they were slower than the Montgomery-form
> ladder.
IIRC I just guessed at the Edwards ladder's based on microbenchmarks, 
and figured it would be slower.  What was slower in my measurements, but 
faster in Microsoft's, was Edward fixed-window, which I may have 
mistakenly called "Edward ladder" in an email.  The discrepancy was 
partly because it requires point decompression, but MS ECCLib doesn't 
implement that, and partly for reasons unknown.
>> As a result, I think we don't have an alternative to Montgomery
>> x-coordinate only that is as efficient and as secure, and certainly
>> not as simple.  I think that most people on the list are in agreement
>> about this.
Yep.  There's also the option of a single-coordinate unified format, but 
those add quite a bit of complexity.  The one I used in Goldilocks also 
doesn't work when p==1 mod 4.

-- Mike


From nobody Tue Dec  2 23:13:55 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 37F7E1A00DF for <cfrg@ietfa.amsl.com>; Tue,  2 Dec 2014 23:13:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.75
X-Spam-Level: 
X-Spam-Status: No, score=-1.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 H28qwwE4h7w8 for <cfrg@ietfa.amsl.com>; Tue,  2 Dec 2014 23:13:31 -0800 (PST)
Received: from mail-qc0-x22d.google.com (mail-qc0-x22d.google.com [IPv6:2607:f8b0:400d: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 840B91A0092 for <cfrg@irtf.org>; Tue,  2 Dec 2014 23:13:23 -0800 (PST)
Received: by mail-qc0-f173.google.com with SMTP id i17so10709377qcy.18 for <cfrg@irtf.org>; Tue, 02 Dec 2014 23:13: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=3qL6FWR6BAMHJMzRaPjV4NXdGXlEMl/mI8hwFHh3wsI=; b=D8J0USoebM8NYChXA3uRVsXh9LfZazySSA0iXhHtB1TKCHi4HPYup5uHPCL1N/s/EK HIiZV50vHW2j0aqkbD5Zyr8VGhpkLiRC+1VQ2PQPbvrqmi9XAtWgmA0+5Q+qg4r51t1l e6TurBKWZwlgCT2qHUObGSKDs1kZeFCPFkkvXgRf7P/cg60MvHCwZoHpWL8X38W1KS8L u2pG3/1XDEee5Nf+XL5gMRAOcuO1x8LrJdB6ER/YQyXsx2E9N6KigAcu92wddysaIyCT QtIncfsW6HqAsGnxxArEzK1FHrJ1ILgwTI7ME98I9+uGTCmXKSe+pv7h20WnXePQmmXi 6GIg==
MIME-Version: 1.0
X-Received: by 10.140.104.236 with SMTP id a99mr5519482qgf.56.1417590802730; Tue, 02 Dec 2014 23:13:22 -0800 (PST)
Received: by 10.140.30.100 with HTTP; Tue, 2 Dec 2014 23:13:22 -0800 (PST)
In-Reply-To: <CAMfhd9VF784rJ5gXiLkB6DdwS+zAi=GDgT=792jQ=+oqcK_F3Q@mail.gmail.com>
References: <CA+Vbu7xvvfRWyqyE9sqU7VbjzNQZp+DwRWjaV3Lw0hjLr8ye1A@mail.gmail.com> <5476CB73.7090206@akr.io> <CAMfhd9XxkZsVPMcevWOgvvqbBK0JqLVCGBYfwWu0QFO5rsfbJQ@mail.gmail.com> <CABqy+sodVBbwNrA28AFxYMiw5rJxtUX3cbYCjtrYxK-48Ocd6A@mail.gmail.com> <CAMfhd9VF784rJ5gXiLkB6DdwS+zAi=GDgT=792jQ=+oqcK_F3Q@mail.gmail.com>
Date: Tue, 2 Dec 2014 23:13:22 -0800
Message-ID: <CABqy+so9ChaGBUtt0WmmeO5LJ2X-UEOSawdcuqka_PV7x5Uz2Q@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/rF0uo1SlAqqDx4zIgqxtj5kD4I4
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: Wed, 03 Dec 2014 07:13:33 -0000

On 12/1/14, Adam Langley <agl@imperialviolet.org> wrote:
> On Sun, Nov 30, 2014 at 7:33 PM, Robert Ransom <rransom.8774@gmail.com>
> wrote:
>> 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.
>
> Yes, I agree. The draft should specify the Montgomery curve and the
> isogeny maps.

You are listed as a co-author of the draft.  If you believed that
those pieces of information should be included in it, why did you not
include them into the draft?

> I also very much hope that the CFRG doesn't just specify
> curves, but also will provide detailed guidance about their use --
> that's also missing from the draft at the moment.

The previous proposal draft-turner-thecurve25519function-01 includes a
complete statement of the Montgomery ladder.  It was submitted =E2=80=98in
full conformance with the provisions of BCP 78 and BCP 79=E2=80=99, and doe=
s
not include any notice forbidding modifications to it.  Thus, other
IETF participants -- including you -- are permitted to copy text from
that draft into other Internet drafts.  Why did you not include that
description of the Montgomery ladder into the draft that you
co-authored?

Your co-authors wrote a paper (listed as one of the draft's
references) which specifies algorithms to perform several
scalar-multiplication tasks.  Did you ask them to provide plain-text
descriptions of those algorithms for inclusion in the draft itself?


>> 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've not done any benchmarking, it's just a guess. But the Edward's d
> parameter for the curve isomorphic to Curve25519 isn't 121665, it's
> +/- 121665/121666 [http://eprint.iacr.org/2007/286.pdf, section 2].
> That value doesn't have a small representation so I think that the
> PinkBikeShed curve does get to use a multiplication by a small
> constant in place of a multiplication by a large constant. That might
> be a small help.

In order to claim that your proposal only requires changing the
curve-parameter constant (A - 2)/4 from one small integer to another
in an existing Curve25519 implementation, you proposed to use the
Montgomery curve with A=3D358990 (i.e. PinkBikeShed) for ECDH.
PinkBikeShed is isomorphic to an Edwards curve with d equal to a ratio
of small integers, exactly like Curve25519.

Both Curve25519 and PinkBikeShed are *isogenous* to Edwards curves
with small-integer d; neither of them is *isomorphic* to one.


>> 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?
>
> No. I think the prevalence of Curve25519 alone is enough that the CFRG
> should adopt it. PinkBikeShed isn't what I want, but it's close and
> it's something that I can live with in order to move forward.

Do you believe that there is *any* benefit (technical, procedural, or
otherwise) in further consideration of the draft that you co-authored,
draft-black-rpgecc-00, over the previously submitted
draft-turner-thecurve25519function-01?


Robert Ransom


From nobody Thu Dec  4 14:17:19 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 630F21A6FEB for <cfrg@ietfa.amsl.com>; Thu,  4 Dec 2014 14:17:15 -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_50=0.8, GB_SUMOF=1, HTML_MESSAGE=0.001, J_CHICKENPOX_12=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 a2Fl0xPXY9Lh for <cfrg@ietfa.amsl.com>; Thu,  4 Dec 2014 14:17:11 -0800 (PST)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 49EEA1A6FEA for <cfrg@irtf.org>; Thu,  4 Dec 2014 14:17:11 -0800 (PST)
Received: from xct102cnc.rim.net ([10.65.161.202]) by mhs212cnc.rim.net with ESMTP/TLS/AES128-SHA; 04 Dec 2014 17:17:06 -0500
Received: from XCT113CNC.rim.net (10.65.161.213) by XCT102CNC.rim.net (10.65.161.202) with Microsoft SMTP Server (TLS) id 14.3.210.2; Thu, 4 Dec 2014 17:17:06 -0500
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT113CNC.rim.net ([::1]) with mapi id 14.03.0210.002; Thu, 4 Dec 2014 17:17:05 -0500
From: Dan Brown <dbrown@certicom.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: Complete additon for cofactor 1 short Weierstrass curve?
Thread-Index: AdAQBRZ3YiRvE6KSQn+nT3ij0mFhSw==
Date: Thu, 4 Dec 2014 22:17:04 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5D21FA2@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/related; boundary="_004_810C31990B57ED40B2062BA10D43FBF5D21FA2XMB116CNCrimnet_"; type="multipart/alternative"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/KMiGS_xZcGxbEFv7WXNAvRMTZxM
Subject: [Cfrg] Complete additon for cofactor 1 short Weierstrass curve?
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, 04 Dec 2014 22:17:15 -0000

--_004_810C31990B57ED40B2062BA10D43FBF5D21FA2XMB116CNCrimnet_
Content-Type: multipart/alternative;
	boundary="_000_810C31990B57ED40B2062BA10D43FBF5D21FA2XMB116CNCrimnet_"

--_000_810C31990B57ED40B2062BA10D43FBF5D21FA2XMB116CNCrimnet_
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Hi CFRG list,



I've interpreted some statements on the CFRG list, and some external web si=
tes, as suggesting the cofactor 1 short Weierstrass curves like P256 do not=
 have (known?) "complete" addition laws (and then, that this would be a pot=
ential security problem?).  Possibly, I'm misunderstanding these statements=
 because I think that there is a complete addition law for such curves, des=
cribed below (if this existence is known, then just skip to the end of this=
 message).



First, Figure 1.2 from http://eprint.iacr.org/2009/580.pdf adapted from Bos=
ma and Lenstra, gives two formulas, which I'll abbreviate to (D:E:F) and (G=
:H:I), for the sum of two points (in terms of their standard projective coo=
rdinates).  These two laws form a complete set, which means, I think, that,=
 for any two input points, (a) at least one of them does not evaluate to (0=
:0:0), and (b) any evaluation, other than (0:0:0), is the correct value, i.=
e. a projective representation of the sum of the points.  (Actually, I'm no=
t totally sure about (b): can one of these laws evaluate an incorrect point=
 different from (0:0:0)?  The elementary argument below _assumes_ that this=
 worse kind of failure cannot happen.)



Second, let t be an element of degree 2 over F_p with t^2 =3D u, for u a no=
n-quadratic residue.  Then the law (D+tG : E+tH : F+tI) is another valid ad=
dition law, except possibly where it takes value (0:0:0), because it on the=
 line between (D:E:F) and (G:H:I), and thus represents the same point.  Whe=
n adding two points with F_p coordinates, this never results (0:0:0), becau=
se then both (D:E:F) and (G:H:I) would evaluate to (0:0:0).



Third, if the curve has "cofactor 1", then there is no F_p-rational point o=
f order 2, which means that E+tH never evaluates to zero when the output po=
int has coordinates in F_p.  (And the point at infinity is (0:1:0), so it t=
oo has a nonzero value for E+tH.)  So, we can multiply by the previous law =
by the conjugate E-tH of the Y coordinate, and then drop any remaining t te=
rms from X and Z expressions, because their coefficients must vanish on F_p=
 rational points once the Y coordinate is scaled to be in F_p, to get the l=
aw (DE - uGH : E^2 - uH^2 : FE - uHI). This should be complete in the sense=
 that, for F_p rational input points, it never results in (0:0:0), because =
it is just a nonzero scaling of the previous law, (or because E^2 - uH^2 is=
 the norm of E+tH, which is nonzero on the points of interests).



Well, I haven't really studied these kinds of things before: I more often t=
hink of elliptic curves as generic groups, so I could easily be mistaken (e=
.g. maybe the incorrect outputs really can differ from (0:0:0), or somethin=
g really wrong in the logic above).  So, I ask the experts here on this lis=
t: Is this addition law correct?  Is it complete in the same sense used for=
 Edwards curves?



If this is all correct, then I would suggest that cofactor 1 short Weierstr=
ass do not have a security problem compared to Edwards curves (e.g. cofacto=
r 4), in the sense of lacking a complete addition law, but rather, just an =
efficiency problem, in the sense of not having any (known) efficient comple=
te law.



Best regards,



Daniel Brown

Research In Motion Limited













---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential info=
rmation, privileged material (including material protected by the solicitor=
-client or other applicable privileges), or constitute non-public informati=
on. Any use of this information by anyone other than the intended recipient=
 is prohibited. If you have received this transmission in error, please imm=
ediately reply to the sender and delete this information from your system. =
Use, dissemination, distribution, or reproduction of this transmission by u=
nintended recipients is not authorized and may be unlawful.

--_000_810C31990B57ED40B2062BA10D43FBF5D21FA2XMB116CNCrimnet_
Content-Type: text/html; charset="us-ascii"
MIME-Version: 1.0
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=3Dus-ascii">
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:0in;
	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.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.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=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Hi CFRG list,<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span lang=3D"EN-CA"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-CA">I&#8217;ve interpreted some sta=
tements on the CFRG list, and some external web sites, as suggesting the co=
factor 1 short Weierstrass curves like P256 do not have (known?) &#8220;com=
plete&#8221; addition laws (and then, that this would
 be a potential security problem?).&nbsp; Possibly, I&#8217;m misunderstand=
ing these statements because I think that there is a complete addition law =
for such curves, described below (if this existence is known, then just ski=
p to the end of this message).<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-CA"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-CA">First, Figure 1.2 from <a href=
=3D"http://eprint.iacr.org/2009/580.pdf">
http://eprint.iacr.org/2009/580.pdf</a> adapted from Bosma and Lenstra, giv=
es two formulas, which I&#8217;ll abbreviate to (D:E:F) and (G:H:I), for th=
e sum of two points (in terms of their standard projective coordinates). &n=
bsp;These two laws form a complete set, which
 means, I think, that, for any two input points, (a) at least one of them d=
oes not evaluate to (0:0:0), and (b) any evaluation, other than (0:0:0), is=
 the correct value, i.e. a projective representation of the sum of the poin=
ts.&nbsp; (Actually, I&#8217;m not totally
 sure about (b): can one of these laws evaluate an incorrect point differen=
t from (0:0:0)?&nbsp; The elementary argument below _<i>assumes</i>_ that t=
his worse kind of failure cannot happen.)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-CA"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Second, let t be an element of =
degree 2 over F_p with t^2 =3D u, for u a non-quadratic residue.&nbsp; Then=
 the law (D&#43;tG : E&#43;tH : F&#43;tI) is another valid addition law, ex=
cept possibly where it takes value (0:0:0), because it
 on the line between (D:E:F) and (G:H:I), and thus represents the same poin=
t.&nbsp; When adding two points with F_p coordinates, this never results (0=
:0:0), because then both (D:E:F) and (G:H:I) would evaluate to (0:0:0).&nbs=
p;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-CA"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Third, if the curve has &#8220;=
cofactor 1&#8221;, then there is no F_p-rational point of order 2, which me=
ans that E&#43;tH never evaluates to zero when the output point has coordin=
ates in F_p.&nbsp; (And the point at infinity is (0:1:0),
 so it too has a nonzero value for E&#43;tH.)&nbsp; So, we can multiply by =
the previous law by the conjugate E-tH of the Y coordinate, and then drop a=
ny remaining t terms from X and Z expressions, because their coefficients m=
ust vanish on F_p rational points once the
 Y coordinate is scaled to be in F_p, to get the law (DE &#8211; uGH : E^2 =
&#8211; uH^2 : FE &#8211; uHI). This should be complete in the sense that, =
for F_p rational input points, it never results in (0:0:0), because it is j=
ust a nonzero scaling of the previous law, (or because
 E^2 &#8211; uH^2 is the norm of E&#43;tH, which is nonzero on the points o=
f interests).<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-CA"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Well, I haven&#8217;t really st=
udied these kinds of things before: I more often think of elliptic curves a=
s generic groups, so I could easily be mistaken (e.g. maybe the incorrect o=
utputs really can differ from (0:0:0), or
 something really wrong in the logic above). &nbsp;So, I ask the experts he=
re on this list: Is this addition law correct?&nbsp; Is it complete in the =
same sense used for Edwards curves?&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-CA"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-CA">If this is all correct, then I =
would suggest that cofactor 1 short Weierstrass do not have a security prob=
lem compared to Edwards curves (e.g. cofactor 4), in the sense of lacking a=
 complete addition law, but rather,
 just an efficiency problem, in the sense of not having any (known) efficie=
nt complete law.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-CA"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Best regards,<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span lang=3D"EN-CA"><o:p>&nbsp;</o:p></span></p>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" width=3D"750" style=3D"width:6.25in">
<tbody>
<tr>
<td style=3D"padding:0in 0in 3.0pt 0in">
<p class=3D"MsoNormal" style=3D"line-height:11.25pt"><span style=3D"font-si=
ze:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">=
Daniel Brown<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style=3D"padding:0in 0in 0in 0in">
<p class=3D"MsoNormal" style=3D"margin-top:3.75pt"><span style=3D"font-size=
:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0073BC">=
Research In Motion Limited</span><span style=3D"font-size:9.0pt;font-family=
:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">
<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ti=
mes New Roman&quot;,&quot;serif&quot;;display:none"><o:p>&nbsp;</o:p></span=
></p>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" width=3D"750" style=3D"width:6.25in">
<tbody>
<tr>
<td style=3D"padding:0in 0in 0in 0in"></td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ti=
mes New Roman&quot;,&quot;serif&quot;;display:none"><o:p>&nbsp;</o:p></span=
></p>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"3" cellpadding=
=3D"0" width=3D"750" style=3D"width:6.25in">
<tbody>
<tr>
<td style=3D"padding:9.75pt 0in 0in 0in">
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ti=
mes New Roman&quot;,&quot;serif&quot;"><img border=3D"0" width=3D"176" heig=
ht=3D"43" id=3D"_x0000_i1025" src=3D"cid:image001.jpg@01D00FE6.1FA005A0"></=
span><span style=3D"font-size:12.0pt;font-family:&quot;Times New Roman&quot=
;,&quot;serif&quot;"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width=3D"750" style=3D"width:6.25in;padding:9.75pt 0in 0in 0in"></td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span lang=3D"EN-CA"><o:p>&nbsp;</o:p></span></p>
</div>
---------------------------------------------------------------------<br>Th=
is transmission (including any attachments) may contain confidential inform=
ation, privileged material (including material protected by the solicitor-c=
lient or other applicable privileges), or constitute non-public information=
. Any use of this information by anyone other than the intended recipient i=
s prohibited. If you have received this transmission in error, please immed=
iately reply to the sender and delete this information from your system. Us=
e, dissemination, distribution, or reproduction of this transmission by uni=
ntended recipients is not authorized and may be unlawful.<br></body>
</html>

--_000_810C31990B57ED40B2062BA10D43FBF5D21FA2XMB116CNCrimnet_--

--_004_810C31990B57ED40B2062BA10D43FBF5D21FA2XMB116CNCrimnet_
Content-Type: image/jpeg; name="image001.jpg"
Content-Description: image001.jpg
Content-Disposition: inline; filename="image001.jpg"; size=2309;
	creation-date="Thu, 04 Dec 2014 22:17:04 GMT";
	modification-date="Thu, 04 Dec 2014 22:17:04 GMT"
Content-ID: <image001.jpg@01D00FE6.1FA005A0>
Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAArALADASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx
BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZH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3ncDAaSMMR+dW6KAIfstv9nFv5EfkjgR7Bt/KnpDHFEIo41WMDAVRgflT6KAIYbW
3t93kwRx7vvbEAz9ajGm2IYMLO3DA5B8sVaooAKpSaRps05nl0+1eUnJdolJz9cVdooAiltoJ0CT
QxyKvQOoIFElvBLEIpIY3jHRWUEflUtFAFDVJriw0e4k060E1xHGfJgXgM3YfSvPPhb4J1PTtQ1D
xH4khK6tdSEIrNuKKepz78D8K9SooAKKKKAP/9k=

--_004_810C31990B57ED40B2062BA10D43FBF5D21FA2XMB116CNCrimnet_--


From nobody Thu Dec  4 14:34:45 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 131311A7010 for <cfrg@ietfa.amsl.com>; Thu,  4 Dec 2014 14:34:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.639
X-Spam-Level: 
X-Spam-Status: No, score=0.639 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, 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 c-hQXgbX6U8B for <cfrg@ietfa.amsl.com>; Thu,  4 Dec 2014 14:34:41 -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 5A5811A702C for <cfrg@irtf.org>; Thu,  4 Dec 2014 14:34:41 -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 45E9016150; Thu,  4 Dec 2014 23:34:39 +0100 (CET)
Received: from [172.17.16.252] (unknown [212.104.156.66]) by thue.elzevir.fr (Postfix) with ESMTPSA id 4E813216EC; Thu,  4 Dec 2014 23:34:37 +0100 (CET)
Message-ID: <5480E17B.4070008@elzevir.fr>
Date: Thu, 04 Dec 2014 23:34:35 +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: Dan Brown <dbrown@certicom.com>, "cfrg@irtf.org" <cfrg@irtf.org>
References: <810C31990B57ED40B2062BA10D43FBF5D21FA2@XMB116CNC.rim.net>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5D21FA2@XMB116CNC.rim.net>
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/MOr8wSWrqRL9bUN_sYihQb-jZXI
Subject: Re: [Cfrg] Complete additon for cofactor 1 short Weierstrass curve?
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, 04 Dec 2014 22:34:43 -0000

Hi,

On 04/12/2014 23:17, Dan Brown wrote:
> If this is all correct, then I would suggest that cofactor 1 short
> Weierstrass do not have a security problem compared to Edwards curves (e.g.
> cofactor 4), in the sense of lacking a complete addition law, but rather,
> just an efficiency problem, in the sense of not having any (known) efficient
> complete law.
> 
I'm way too tired to check if the above is correct, but it seems to me that
complete laws for general curves are known, see eg 29.1.2.a of the Handbook of
Elliptic and Hyperelliptic Curve Cryptography (Cohen, Frey et al.).

I'm not sure it makes such a lot of sense to classify that as an efficiency
rather than security issue: in my opinion (which seems to be shared by many
people), conflicts between efficiency and security are to be avoided as much as
possible, since in practice, they will very often result in security issues.

Manuel.


From nobody Thu Dec  4 20:47:31 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 6723A1AC3F0 for <cfrg@ietfa.amsl.com>; Thu,  4 Dec 2014 20:47:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1
X-Spam-Level: *
X-Spam-Status: No, score=1 tagged_above=-999 required=5 tests=[BAYES_50=0.8, 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 jOwlL2_cfpik for <cfrg@ietfa.amsl.com>; Thu,  4 Dec 2014 20:47:25 -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 586851AC3EE for <cfrg@irtf.org>; Thu,  4 Dec 2014 20:47:25 -0800 (PST)
Received: by mail-yh0-f47.google.com with SMTP id f73so8947993yha.6 for <cfrg@irtf.org>; Thu, 04 Dec 2014 20:47: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:content-transfer-encoding; bh=N//i5P6VdSWl0+2pMrfQDrNj2nOt/779U7Fgjtcuv8s=; b=rg1CLXtJ/IdKG+1UH9hHM3tlESkvSJlVJ57mRe3gkIRg6zoB6sx7HCj7rl62YH/ZQh 7aTqaJRV7AL6SOzgR6z1BXtNBiNgBwNxcrKDxUDLFKVioDbXmNksGII23YFqC7Mxs4Ia oS4JUWQf39f+hrv0UHbY8er6S5rXMyrXS7PsUV1lL/i+D2bzXJ0AxXNULSuSZhTkW6ZX QyvQ7y+aMy7Hg/JaKXwltbVOyt4XhD5ArecuQSTWeBbJrKrHnkM50GxpF5yhhlSGhPBy Vx7ApDmWrOjUJhi4w161Z2RR0iIbbCWCJJpi096E5/P/X8dniofWCxzq5gbTexF33Bj+ 9CZA==
MIME-Version: 1.0
X-Received: by 10.236.30.197 with SMTP id k45mr18018064yha.163.1417754844508;  Thu, 04 Dec 2014 20:47:24 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Thu, 4 Dec 2014 20:47:24 -0800 (PST)
In-Reply-To: <5480E17B.4070008@elzevir.fr>
References: <810C31990B57ED40B2062BA10D43FBF5D21FA2@XMB116CNC.rim.net> <5480E17B.4070008@elzevir.fr>
Date: Thu, 4 Dec 2014 20:47:24 -0800
Message-ID: <CACsn0cm34Z+PZUstpy+xMhuB8mxD4OFSvDqzFKM=yoiZN1-VQA@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/6fJp823Y3jVohRo49sI_hDCUhRs
Cc: Dan Brown <dbrown@certicom.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Complete additon for cofactor 1 short Weierstrass curve?
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, 05 Dec 2014 04:47:27 -0000

On Thu, Dec 4, 2014 at 2:34 PM, Manuel P=C3=A9gouri=C3=A9-Gonnard <mpg@elze=
vir.fr> wrote:
> Hi,
>
> On 04/12/2014 23:17, Dan Brown wrote:
>> If this is all correct, then I would suggest that cofactor 1 short
>> Weierstrass do not have a security problem compared to Edwards curves (e=
.g.
>> cofactor 4), in the sense of lacking a complete addition law, but rather=
,
>> just an efficiency problem, in the sense of not having any (known) effic=
ient
>> complete law.
>>
> I'm way too tired to check if the above is correct, but it seems to me th=
at
> complete laws for general curves are known, see eg 29.1.2.a of the Handbo=
ok of
> Elliptic and Hyperelliptic Curve Cryptography (Cohen, Frey et al.).

That formula is accompanied by a discussion pointing out there is an
exceptional case, and so one has to switch between two different
formulas by reversing the order of coordinates under some conditions.
It's also unclear that infinity as an output or as an input is handled
correctly. (In fact, I think they aren't: if we add P to -P, the
denominator does not vanish, unless I'm missing something) Those
formulas would be "strongly unified" in the language of the EFD if I
understand correctly, but not "complete".

Sincerely,
Watson Ladd


From nobody Sat Dec  6 13:27:32 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 A52971A0172 for <cfrg@ietfa.amsl.com>; Sat,  6 Dec 2014 13:27:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.511
X-Spam-Level: 
X-Spam-Status: No, score=-1.511 tagged_above=-999 required=5 tests=[BAYES_50=0.8, 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 GWr25ZrWBFQx for <cfrg@ietfa.amsl.com>; Sat,  6 Dec 2014 13:27:28 -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 E5F9C1A00EA for <cfrg@irtf.org>; Sat,  6 Dec 2014 13:27:27 -0800 (PST)
Received: from [192.168.90.50] ([37.189.68.171]) (authenticated bits=0) by smtp.dei.uc.pt (8.14.4/8.14.4) with ESMTP id sB6LQqXU028436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <cfrg@irtf.org>; Sat, 6 Dec 2014 21:26:58 GMT
Message-ID: <5483749E.1000504@dei.uc.pt>
Date: Sat, 06 Dec 2014 21:26:54 +0000
From: Samuel Neves <sneves@dei.uc.pt>
User-Agent: 
MIME-Version: 1.0
To: cfrg@irtf.org
References: <810C31990B57ED40B2062BA10D43FBF5D21FA2@XMB116CNC.rim.net>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5D21FA2@XMB116CNC.rim.net>
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: sB6LQqXU028436
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/NR6obSz6F9Ydh0v7h3P12q8cQx4
Subject: Re: [Cfrg] Complete additon for cofactor 1 short Weierstrass curve?
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, 06 Dec 2014 21:27:31 -0000

On 04-12-2014 22:17, Dan Brown wrote:
> Well, I haven't really studied these kinds of things before: I more oft=
en think of elliptic curves as generic groups, so I could easily be mista=
ken (e.g. maybe the incorrect outputs really can differ from (0:0:0), or =
something really wrong in the logic above).  So, I ask the experts here o=
n this list: Is this addition law correct?  Is it complete in the same se=
nse used for Edwards curves?
>
>
>
> If this is all correct, then I would suggest that cofactor 1 short Weie=
rstrass do not have a security problem compared to Edwards curves (e.g. c=
ofactor 4), in the sense of lacking a complete addition law, but rather, =
just an efficiency problem, in the sense of not having any (known) effici=
ent complete law.

If you read Lenstra-Bosma, you will see that what you call (G:H:I) is alr=
eady complete (in the field) for curves with
cofactor 1: the exceptional points for the second formula are exactly the=
 points for which P1 - P2 has Y =3D 0, which does
not happen in cofactor 1. More generally, Arene,  Kohel, and Ritzenthaler=
 (https://arxiv.org/abs/1102.2349, Theorem 4.3)
have shown that any elliptic curve, regardless of cofactor, has a complet=
e addition formula in the field.


From nobody Mon Dec  8 10:46:47 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 E525F1ACD98 for <cfrg@ietfa.amsl.com>; Mon,  8 Dec 2014 10:46:45 -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 GdXELmryPD-M for <cfrg@ietfa.amsl.com>; Mon,  8 Dec 2014 10:46:44 -0800 (PST)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id 7EC2D1ACD75 for <cfrg@irtf.org>; Mon,  8 Dec 2014 10:46:26 -0800 (PST)
Received: from xct101cnc.rim.net ([10.65.161.201]) by mhs215cnc.rim.net with ESMTP/TLS/AES128-SHA; 08 Dec 2014 13:46:15 -0500
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT101CNC.rim.net ([fe80::9c22:d9c:c906:c488%16]) with mapi id 14.03.0210.002; Mon, 8 Dec 2014 13:46:14 -0500
From: Dan Brown <dbrown@certicom.com>
To: "'sneves@dei.uc.pt'" <sneves@dei.uc.pt>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Complete additon for cofactor 1 short Weierstrass curve?
Thread-Index: AdAQBRZ3YiRvE6KSQn+nT3ij0mFhSwBwC18AAFMFjzA=
Date: Mon, 8 Dec 2014 18:46:13 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5D23FBB@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5D21FA2@XMB116CNC.rim.net> <5483749E.1000504@dei.uc.pt>
In-Reply-To: <5483749E.1000504@dei.uc.pt>
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_0063_01D012ED.53DE6FA0"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/UBTZmlBEafFOaaicXgAnpbCLnKA
Subject: Re: [Cfrg] Complete additon for cofactor 1 short Weierstrass curve?
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, 08 Dec 2014 18:46:46 -0000

------=_NextPart_000_0063_01D012ED.53DE6FA0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit


> -----Original Message-----
> From: Samuel Neves
> Sent: Saturday, December 06, 2014 4:27 PM
> 
> 
> If you read Lenstra-Bosma, you will see that what you call (G:H:I) is
already
> complete (in the field) for curves with cofactor 1: the exceptional points
for the
> second formula are exactly the points for which P1 - P2 has Y = 0, which
does
> not happen in cofactor 1. More generally, Arene,  Kohel, and Ritzenthaler
> (https://arxiv.org/abs/1102.2349, Theorem 4.3) have shown that any
elliptic
> curve, regardless of cofactor, has a complete addition formula in the
field.
> 
[DB] Thanks, very helpful!

So ... the table from http://safecurves.cr.yp.to/complete.html - which
"reports support for the complete elliptic scalar multiplication" - has an
entry of "False" in the row P256 because the complete formulas for P256 fall
under the proviso that they "are considerably slower and more complicated
than standard incomplete ... formulas".   Well, I missed that proviso, and
in particular, missed the fact that k-complete formula are known for all
curves.

Regarding that proviso, I wonder how much the second Bosma-Lenstra formula
(the one I called (G:H:I), which is the one that corresponds to the line
(0:1:0) in the Bosma-Lenstra paper) would be slower than the standard
incomplete formula.  That is, has anybody tried to optimize it?  (Naively,
with a small a_4, I get a cost of 51M, but I expect much better is
possible.)  Also, there seems to be many k-complete formula per curve, and
perhaps some are faster than others, is this studied?

Also, does the security gain of k-completeness warrant the efficiency loss,
if one, say had to use a cofactor 1 curve, e.g. a grandfathered
P256/Brainpool curve?  (I'm guessing that, in most cases, a Brier-Joye
(Montgomery) x-only ladder would be secure enough, and probably faster.)

Best regards,

Dan




------=_NextPart_000_0063_01D012ED.53DE6FA0
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+c8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Euh5dcUpVfEx/dtsVhWtvgQjR9FMMY6b+Ra8yrNAHtXZis0g0r3FEL
6yDFyYVTUNx5ZjTAsp6BLk0/SweOiiIR3EZG9abZwFcEstulZfXDD6y9lES90Ki+MwAAAAAAAA==

------=_NextPart_000_0063_01D012ED.53DE6FA0--


From nobody Mon Dec  8 13:12:21 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 62A8F1ACE1C for <cfrg@ietfa.amsl.com>; Mon,  8 Dec 2014 13:12:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level: 
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 KNlLBE_uMSyQ for <cfrg@ietfa.amsl.com>; Mon,  8 Dec 2014 13:12:13 -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 274AB1A1B06 for <cfrg@irtf.org>; Mon,  8 Dec 2014 13:12:06 -0800 (PST)
Received: from [10.9.0.1] (gtDEI-Vlans.dei.uc.pt [193.137.203.232]) (authenticated bits=0) by smtp.dei.uc.pt (8.14.4/8.14.4) with ESMTP id sB8LBQNM017405 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Dec 2014 21:11:27 GMT
Message-ID: <548613FE.8060107@dei.uc.pt>
Date: Mon, 08 Dec 2014 21:11:26 +0000
From: Samuel Neves <sneves@dei.uc.pt>
User-Agent: 
MIME-Version: 1.0
To: Dan Brown <dbrown@certicom.com>, "'cfrg@irtf.org'" <cfrg@irtf.org>
References: <810C31990B57ED40B2062BA10D43FBF5D21FA2@XMB116CNC.rim.net> <5483749E.1000504@dei.uc.pt> <810C31990B57ED40B2062BA10D43FBF5D23FBB@XMB116CNC.rim.net>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5D23FBB@XMB116CNC.rim.net>
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: sB8LBQNM017405
X-FCTUC-DEI-SIC-MailScanner: Found to be clean
X-FCTUC-DEI-SIC-MailScanner-SpamCheck: not spam (whitelisted), 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/_osc2pzUELnnOC6BTeBZbnN74R0
Subject: Re: [Cfrg] Complete additon for cofactor 1 short Weierstrass curve?
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, 08 Dec 2014 21:12:18 -0000

On 08-12-2014 18:46, Dan Brown wrote:
> Regarding that proviso, I wonder how much the second Bosma-Lenstra form=
ula
> (the one I called (G:H:I), which is the one that corresponds to the lin=
e
> (0:1:0) in the Bosma-Lenstra paper) would be slower than the standard
> incomplete formula.  That is, has anybody tried to optimize it?  (Naive=
ly,
> with a small a_4, I get a cost of 51M, but I expect much better is
> possible.)  Also, there seems to be many k-complete formula per curve, =
and
> perhaps some are faster than others, is this studied?

Both Arene-Kohel-Ritzenhaler (https://arxiv.org/abs/1102.2349, Remark 4.4=
) and Bos-Costello-Longa-Naehrig
(https://eprint.iacr.org/2014/130, pg 37) present simplified formulas, bo=
th beating 51M. I don't know of other attempts
to optimize complete Weierstrass formulas.


From nobody Mon Dec  8 13:57:32 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 474F51ACFEC for <cfrg@ietfa.amsl.com>; Mon,  8 Dec 2014 13:57:30 -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 P_ib0y6IyrrY for <cfrg@ietfa.amsl.com>; Mon,  8 Dec 2014 13:57:22 -0800 (PST)
Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AB5011ACFE6 for <cfrg@irtf.org>; Mon,  8 Dec 2014 13:57:21 -0800 (PST)
Received: by mail-wi0-f175.google.com with SMTP id l15so6056391wiw.8 for <cfrg@irtf.org>; Mon, 08 Dec 2014 13:57:20 -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:content-type; bh=KZHZqALMX2ABJ9cduhITW+FC8mtgrz3fI/AF1ObMvAg=; b=m6hLAxHLI8yOoH0juY2SDaRfQD7jQz0ZGo4vizuUOpXf0WAOSwxB/PsOMi93FWkKdq dKT8N/o3T/l2AcWlUeRUj9Pm6ldHxGJvlOC8zN0pRR3pxpuDwfBdNVUp8MVh8rPI42xt /zg+ukKdedfrxgXpOSC06Ex19XM0VM9SdDAd28FnHC52HNHDTtf3W74Mgdfuf6B1KF9p MWf9K+1eycniU19cqkM9hNWm1VjFK3B3uIHtWg8cRl7W6yXopMj6Z88P6ljeKh9Khotm 8KZ6avETZGb1K5kfblD+ekCBkAUF/1+Hk0wShxS/2CyuHf2O1nqGDCyULKeLxgMlKerD NlQg==
X-Gm-Message-State: ALoCoQn8NFYMAaKg/tvBDuxgDuHAwUsERisHdCabV6wtD3PBAB892SY3brMEFegoJCqvIsp1zRca
X-Received: by 10.181.12.17 with SMTP id em17mr27336865wid.45.1418075840401; Mon, 08 Dec 2014 13:57:20 -0800 (PST)
MIME-Version: 1.0
Received: by 10.217.191.195 with HTTP; Mon, 8 Dec 2014 13:56:59 -0800 (PST)
In-Reply-To: <20141202092847.29027.qmail@cr.yp.to>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to>
From: Benjamin Black <b@b3k.us>
Date: Mon, 8 Dec 2014 13:56:59 -0800
Message-ID: <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: multipart/alternative; boundary=f46d043893c3bb68120509bb8292
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/rc1jBRVmVImc3mLEClrsXFRzxew
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, 08 Dec 2014 21:57:30 -0000

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

>Benjamin Black writes:
>> The concerns do not apply to the twisted Edwards curve we generated,
>> only to the isogenous Montgomery curve.
>
>False.
>
>Invalid-curve attacks completely break the simplest DH implementations
>in Montgomery coordinates _and_ in Edwards coordinates. Rather than
>blaming the implementor, we eliminate these security failures by
>
>   * adding twist security, for both Montgomery and Edwards, and
>   * switching to single-coordinate ladders.
>
>This is the primary motivation for twist security (and a closer look,
>as I've explained in detail, shows a twist-security criterion that's met
>by Curve25519 and not by PinkBikeShed). This has nothing to do with the
>superficial differences between the Montgomery x and the Edwards y, both
>of which support ladders.
>

The additional criterion you are describing is difficult to see as "twist
security". The curves in the draft are twist secure by any reasonable
definition, including your own SafeCurves twist security requirements.
Looking at your Curve25519 paper there is a single mention of requirements
on cofactors: "Multiply the secret key by a small power of 2 to account for
cofactors in the curve group and the twist group". There is no reading of
this that indicates selection of (8,4) is needed or was even a
consideration at the time. In the recent Curve41417 paper I similarly find
a single mention of cofactor requirements: "For security we ... insist on
the same level of twist-security as Curve25519 =E2=80=94 the cofactors of t=
he curve
and its twist are in {4, 8}." No mention of either requiring the cofactors
be equal or that they be minimal (which they aren't).

Suggesting that (4,8) vs (8,4) introduces security risk is not a technical
argument about the strength of the curve. A sloppy implementor could just
as easily misread guidance and clear cofactor 4 on Curve25519. A sloppy
implementor could even more easily skip checks for weak keys when using
Montgomery Curve25519 outside of DH. All Curve25519 documentation makes
clear all 32-byte strings are valid keys. That this is so only for DH is
easily forgotten and I've not found a Curve25519 implementation that
performs the required check.

Further, using p =3D 1 mod 4 primes introduces the concern you are raising.
Rather than blaming the implementor for clearing the "wrong" cofactor, we
can eliminate this "security failure" by using p =3D 3 mod 4 to ensure the
cofactors are equal, which is the choice you made for both Curve1174 and
Curve41417. Looking to SafeCurves rigidity criteria we see Curve1174
described with "Curve and twist orders chosen as {4*prime,4*prime} for
security", but for Curve25519 we see "Curve and twist orders required to be
{4*prime,8*prime} for security". Once again, no indication that (8,4) is
required.

Looking through all the curves you list, we see a wide variety of
justifications for any given choice, with qualitative comments about
"security", "performance", or "efficiency", but little consistency in the
results:

Curve1174: "Curve and twist orders chosen as {4*prime,4*prime} for security=
"
Curve25519: "Curve and twist orders required to be {4*prime,8*prime} for
security"
Curve41417: "Curve and twist cofactors limited to {4,8} for security"

Curve1174: "Edwards curve shape x^2+y^2=3D1+dx^2y^2 chosen for efficiency."
Curve25519: "Montgomery curve shape y^2=3Dx^3+Ax^2+x chosen for efficiency"
Curve41417: "Edwards curve shape x^2+y^2=3D1+dx^2y^2 chosen for efficiency"

Curve1174: "Complete Edwards curve chosen for security."
Curve25519: No such statement.
Curve41417: "Complete Edwards curve chosen for security."

It is difficult to see this as rigidity.

I do not agree with your assertion that "adding twist security" _and_
"switching to single-coordinate ladders" is the solution against security
failures when it comes to invalid-curve attacks. Windowing implementations
on complete Edwards curves can be implemented securely and eliminate any
risks against those attacks. So it is correct to say that in practice "the
concerns do not apply to the twisted Edwards curve we generated, only to
the isogenous Montgomery curve". In fact, looking at the Curve41417 paper,
you eschew the Montgomery (or Edwards) ladder in favor of windowing. In
this case, the performance advantages of Edwards trump the irrefutable and
essential requirement for eliminating "security failures" above via use of
single-coordinate ladders. Obviously, single-coordinate ladders are not a
hard requirement.

>If you disagree, please explain why you're requiring _any_ type of twist
>security for Edwards curves. Why aren't you saying something like "The
>larger d forced by 'twist security' is a violation of rigidity" and
>objecting to the whole concept of twist security for Edwards curves?

I am not objecting to twist security and the curves in the draft are twist
secure. I am objecting to the notion that cofactors (8,4) are in any way
more secure than (4,8). Your own statements on SafeCurves and in the
Curve25519 and Curve41417 papers support there being no difference. I am
also objecting to your repeated claims, contradicted by your own work, that
single-coordinate ladders are required. And since there is no such
requirement and no security difference, I want the curve generated via the
process with fewest qualitative, opinion-based constraints.


b



On Tue, Dec 2, 2014 at 1:28 AM, D. J. Bernstein <djb@cr.yp.to> wrote:

> Benjamin Black writes:
> > The concerns do not apply to the twisted Edwards curve we generated,
> > only to the isogenous Montgomery curve.
>
> False.
>
> Invalid-curve attacks completely break the simplest DH implementations
> in Montgomery coordinates _and_ in Edwards coordinates. Rather than
> blaming the implementor, we eliminate these security failures by
>
>    * adding twist security, for both Montgomery and Edwards, and
>    * switching to single-coordinate ladders.
>
> This is the primary motivation for twist security (and a closer look,
> as I've explained in detail, shows a twist-security criterion that's met
> by Curve25519 and not by PinkBikeShed). This has nothing to do with the
> superficial differences between the Montgomery x and the Edwards y, both
> of which support ladders.
>
> If you disagree, please explain why you're requiring _any_ type of twist
> security for Edwards curves. Why aren't you saying something like "The
> larger d forced by 'twist security' is a violation of rigidity" and
> objecting to the whole concept of twist security for Edwards curves?
>
> ---Dan
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>

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

<div dir=3D"ltr"><div>&gt;Benjamin Black writes:</div><div>&gt;&gt; The con=
cerns do not apply to the twisted Edwards curve we generated,</div><div>&gt=
;&gt; only to the isogenous Montgomery curve.</div><div>&gt;</div><div>&gt;=
False.</div><div>&gt;</div><div>&gt;Invalid-curve attacks completely break =
the simplest DH implementations</div><div>&gt;in Montgomery coordinates _an=
d_ in Edwards coordinates. Rather than</div><div>&gt;blaming the implemento=
r, we eliminate these security failures by</div><div>&gt;</div><div>&gt; =
=C2=A0 * adding twist security, for both Montgomery and Edwards, and</div><=
div>&gt; =C2=A0 * switching to single-coordinate ladders.</div><div>&gt;</d=
iv><div>&gt;This is the primary motivation for twist security (and a closer=
 look,</div><div>&gt;as I&#39;ve explained in detail, shows a twist-securit=
y criterion that&#39;s met</div><div>&gt;by Curve25519 and not by PinkBikeS=
hed). This has nothing to do with the</div><div>&gt;superficial differences=
 between the Montgomery x and the Edwards y, both</div><div>&gt;of which su=
pport ladders.</div><div>&gt;</div><div><br></div><div>The additional crite=
rion you are describing is difficult to see as &quot;twist security&quot;. =
The curves in the draft are twist secure by any reasonable definition, incl=
uding your own SafeCurves twist security requirements. Looking at your Curv=
e25519 paper there is a single mention of requirements on cofactors: &quot;=
Multiply the secret key by a small power of 2 to account for cofactors in t=
he curve group and the twist group&quot;. There is no reading of this that =
indicates selection of (8,4) is needed or was even a consideration at the t=
ime. In the recent Curve41417 paper I similarly find a single mention of co=
factor requirements: &quot;For security we ... insist on the same level of =
twist-security as Curve25519 =E2=80=94 the cofactors of the curve and its t=
wist are in {4, 8}.&quot; No mention of either requiring the cofactors be e=
qual or that they be minimal (which they aren&#39;t).</div><div><br></div><=
div>Suggesting that (4,8) vs (8,4) introduces security risk is not a techni=
cal argument about the strength of the curve. A sloppy implementor could ju=
st as easily misread guidance and clear cofactor 4 on Curve25519. A sloppy =
implementor could even more easily skip checks for weak keys when using Mon=
tgomery Curve25519 outside of DH. All Curve25519 documentation makes clear =
all 32-byte strings are valid keys. That this is so only for DH is easily f=
orgotten and I&#39;ve not found a Curve25519 implementation that performs t=
he required check.</div><div><br></div><div>Further, using p =3D 1 mod 4 pr=
imes introduces the concern you are raising. Rather than blaming the implem=
entor for clearing the &quot;wrong&quot; cofactor, we can eliminate this &q=
uot;security failure&quot; by using p =3D 3 mod 4 to ensure the cofactors a=
re equal, which is the choice you made for both Curve1174 and Curve41417. L=
ooking to SafeCurves rigidity criteria we see Curve1174 described with &quo=
t;Curve and twist orders chosen as {4*prime,4*prime} for security&quot;, bu=
t for Curve25519 we see &quot;Curve and twist orders required to be {4*prim=
e,8*prime} for security&quot;. Once again, no indication that (8,4) is requ=
ired.</div><div><br></div><div>Looking through all the curves you list, we =
see a wide variety of justifications for any given choice, with qualitative=
 comments about &quot;security&quot;, &quot;performance&quot;, or &quot;eff=
iciency&quot;, but little consistency in the results:</div><div><br></div><=
div>Curve1174: &quot;Curve and twist orders chosen as {4*prime,4*prime} for=
 security&quot;</div><div>Curve25519: &quot;Curve and twist orders required=
 to be {4*prime,8*prime} for security&quot;</div><div>Curve41417: &quot;Cur=
ve and twist cofactors limited to {4,8} for security&quot;</div><div><br></=
div><div>Curve1174: &quot;Edwards curve shape x^2+y^2=3D1+dx^2y^2 chosen fo=
r efficiency.&quot;</div><div>Curve25519: &quot;Montgomery curve shape y^2=
=3Dx^3+Ax^2+x chosen for efficiency&quot;</div><div>Curve41417: &quot;Edwar=
ds curve shape x^2+y^2=3D1+dx^2y^2 chosen for efficiency&quot;</div><div><b=
r></div><div>Curve1174: &quot;Complete Edwards curve chosen for security.&q=
uot;</div><div>Curve25519: No such statement.</div><div>Curve41417: &quot;C=
omplete Edwards curve chosen for security.&quot;</div><div><br></div><div>I=
t is difficult to see this as rigidity.</div><div><br></div><div>I do not a=
gree with your assertion that &quot;adding twist security&quot; _and_ &quot=
;switching to single-coordinate ladders&quot; is the solution against secur=
ity failures when it comes to invalid-curve attacks. Windowing implementati=
ons on complete Edwards curves can be implemented securely and eliminate an=
y risks against those attacks. So it is correct to say that in practice &qu=
ot;the concerns do not apply to the twisted Edwards curve we generated, onl=
y to the isogenous Montgomery curve&quot;. In fact, looking at the Curve414=
17 paper, you eschew the Montgomery (or Edwards) ladder in favor of windowi=
ng. In this case, the performance advantages of Edwards trump the irrefutab=
le and essential requirement for eliminating &quot;security failures&quot; =
above via use of single-coordinate ladders. Obviously, single-coordinate la=
dders are not a hard requirement.</div><div><br></div><div>&gt;If you disag=
ree, please explain why you&#39;re requiring _any_ type of twist</div><div>=
&gt;security for Edwards curves. Why aren&#39;t you saying something like &=
quot;The</div><div>&gt;larger d forced by &#39;twist security&#39; is a vio=
lation of rigidity&quot; and</div><div>&gt;objecting to the whole concept o=
f twist security for Edwards curves?</div><div><br></div><div>I am not obje=
cting to twist security and the curves in the draft are twist secure. I am =
objecting to the notion that cofactors (8,4) are in any way more secure tha=
n (4,8). Your own statements on SafeCurves and in the Curve25519 and Curve4=
1417 papers support there being no difference. I am also objecting to your =
repeated claims, contradicted by your own work, that single-coordinate ladd=
ers are required. And since there is no such requirement and no security di=
fference, I want the curve generated via the process with fewest qualitativ=
e, opinion-based constraints.</div><div><br></div><div><br></div><div>b</di=
v><div><br></div><div><br></div></div><div class=3D"gmail_extra"><br><div c=
lass=3D"gmail_quote">On Tue, Dec 2, 2014 at 1:28 AM, D. J. Bernstein <span =
dir=3D"ltr">&lt;<a href=3D"mailto:djb@cr.yp.to" target=3D"_blank">djb@cr.yp=
.to</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"=
">Benjamin Black writes:<br>
&gt; The concerns do not apply to the twisted Edwards curve we generated,<b=
r>
&gt; only to the isogenous Montgomery curve.<br>
<br>
</span>False.<br>
<br>
Invalid-curve attacks completely break the simplest DH implementations<br>
in Montgomery coordinates _and_ in Edwards coordinates. Rather than<br>
blaming the implementor, we eliminate these security failures by<br>
<br>
=C2=A0 =C2=A0* adding twist security, for both Montgomery and Edwards, and<=
br>
=C2=A0 =C2=A0* switching to single-coordinate ladders.<br>
<br>
This is the primary motivation for twist security (and a closer look,<br>
as I&#39;ve explained in detail, shows a twist-security criterion that&#39;=
s met<br>
by Curve25519 and not by PinkBikeShed). This has nothing to do with the<br>
superficial differences between the Montgomery x and the Edwards y, both<br=
>
of which support ladders.<br>
<br>
If you disagree, please explain why you&#39;re requiring _any_ type of twis=
t<br>
security for Edwards curves. Why aren&#39;t you saying something like &quot=
;The<br>
larger d forced by &#39;twist security&#39; is a violation of rigidity&quot=
; and<br>
objecting to the whole concept of twist security for Edwards curves?<br>
<br>
---Dan<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>

--f46d043893c3bb68120509bb8292--


From nobody Mon Dec  8 14:40:52 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 0C9BE1A006D for <cfrg@ietfa.amsl.com>; Mon,  8 Dec 2014 14:40:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.454
X-Spam-Level: ***
X-Spam-Status: No, score=3.454 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, 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 TI7QSmwrBm7F for <cfrg@ietfa.amsl.com>; Mon,  8 Dec 2014 14:40:50 -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 E837E1A0062 for <cfrg@irtf.org>; Mon,  8 Dec 2014 14:40:49 -0800 (PST)
Received: from [10.184.148.249] (unknown [209.36.6.242]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 4E3713AA43 for <cfrg@irtf.org>; Mon,  8 Dec 2014 14:40:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1418078408; bh=lj8PPWpTe4Op+qNpZGnoZ4o1/ann2bRYKLDEiZNQ9So=; h=From:Subject:Date:To:From; b=FXuJlWdwbHkjIg9QnsfwKmEo1fA2rJjKEjpqa6agUKoPhHJ4I0RouoGePEftFgRAf 3DbTKZiV3IgoP2q6ALOpKlACbvztOxyFF1Lcro8HflMs5T1GWkoZ2BDBeDUY/D10Qq hbA8sLp5XUlrO8AKlABs8EBCSSk1xQk1qOx9wh1M=
From: Michael Hamburg <mike@shiftleft.org>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Message-Id: <6C2CCEB7-4421-4912-8B53-581B00C515F7@shiftleft.org>
Date: Mon, 8 Dec 2014 14:40:46 -0800
To: IRTF Crypto Forum Research Group <cfrg@irtf.org>
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/_li8LQGHIDXXODpJSUDUDUis-Xw
Subject: [Cfrg] Point compression that removes cofactor
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, 08 Dec 2014 22:40:51 -0000

Hi CFRG,

I=E2=80=99m trying to cook up a point compression/encoding system which =
removes the cofactor of cofactor-4 Edwards, twisted Edwards, Montgomery, =
generalized Huff and Jacobi Quartic curves.

Hypothetically, let=E2=80=99s suppose that the point compression format =
works, and it isn=E2=80=99t horribly complicated or easy to screw up, =
and it performs almost as well as the usual compression formats, and it =
masks the incompleteness of the a=3D-1 twisted Edwards formulae.

Proponents of cofactor-1 curves, would this mitigate the problems you =
see in those curves?  It would still require new code, both for the =
curve implementations and the compression format, but would you consider =
it to remove your protocol-level concerns?

Cheers,
=E2=80=94 Mike


From nobody Mon Dec  8 18:59: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 DB25F1A1A1C for <cfrg@ietfa.amsl.com>; Mon,  8 Dec 2014 18:58: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 x0n3RdpUm8tb for <cfrg@ietfa.amsl.com>; Mon,  8 Dec 2014 18:58:57 -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 BC43C1A1A80 for <cfrg@irtf.org>; Mon,  8 Dec 2014 18:58:56 -0800 (PST)
Received: by mail-yh0-f51.google.com with SMTP id a41so2926651yho.10 for <cfrg@irtf.org>; Mon, 08 Dec 2014 18:58:56 -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=Ouhl99q45I2rZtYvG0luvhfRWfalxxnB4ztf7p+QP74=; b=dqxfngys7ko6xRW+sUlFFQUXcPUqJnKO40suQ0DGHDiH1E6d3FTJ7ONyyzjyp108ov C0hFUcnfo7+yoEcVMbwksX25Qy+FiYxn/uzm+cGcBqTiBnfk/pCTCCtEA1GYvGLczkzu HBpTDbdLkSQyTlgdPxHoThonlQNqs5tTYQrCopItmEdbSMyoDyfGOdGypF6tjN7dtiXB VaGFZGSvFxgIlcslcLrY5Sp+KQLGtpxCTeC/ldevCkX3tXG761lOxEc1Pj4HrPkcwEiy bN+0aIfVk9m0MKNqgDb4gdEomCODbFaTv5XgNGlOfb4onG7v1alfYQG5aUJF9SvPKHWa IRfQ==
MIME-Version: 1.0
X-Received: by 10.236.61.8 with SMTP id v8mr670550yhc.44.1418093935989; Mon, 08 Dec 2014 18:58:55 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Mon, 8 Dec 2014 18:58:55 -0800 (PST)
In-Reply-To: <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com>
Date: Mon, 8 Dec 2014 18:58:55 -0800
Message-ID: <CACsn0cm9QFq3u1Q492YSvEcd6hMq+ACGyPkfi3bHAfWH_4=oBA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Benjamin Black <b@b3k.us>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/CKB0hf9OvbkWGI-BR5o-ObpQf1o
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: Tue, 09 Dec 2014 02:59:00 -0000

On Mon, Dec 8, 2014 at 1:56 PM, Benjamin Black <b@b3k.us> wrote:
>>Benjamin Black writes:
>>> The concerns do not apply to the twisted Edwards curve we generated,
>>> only to the isogenous Montgomery curve.
>>
>>False.
>>
>>Invalid-curve attacks completely break the simplest DH implementations
>>in Montgomery coordinates _and_ in Edwards coordinates. Rather than
>>blaming the implementor, we eliminate these security failures by
>>
>>   * adding twist security, for both Montgomery and Edwards, and
>>   * switching to single-coordinate ladders.
>>
>>This is the primary motivation for twist security (and a closer look,
>>as I've explained in detail, shows a twist-security criterion that's met
>>by Curve25519 and not by PinkBikeShed). This has nothing to do with the
>>superficial differences between the Montgomery x and the Edwards y, both
>>of which support ladders.
>>
>
> The additional criterion you are describing is difficult to see as "twist
> security". The curves in the draft are twist secure by any reasonable
> definition, including your own SafeCurves twist security requirements.
> Looking at your Curve25519 paper there is a single mention of requirement=
s
> on cofactors: "Multiply the secret key by a small power of 2 to account f=
or
> cofactors in the curve group and the twist group". There is no reading of
> this that indicates selection of (8,4) is needed or was even a considerat=
ion
> at the time. In the recent Curve41417 paper I similarly find a single
> mention of cofactor requirements: "For security we ... insist on the same
> level of twist-security as Curve25519 =E2=80=94 the cofactors of the curv=
e and its
> twist are in {4, 8}." No mention of either requiring the cofactors be equ=
al
> or that they be minimal (which they aren't).

All DJB is saying is that a PinkBikeShed implementation using the
Montgomery ladder, which doesn't validate points, and clears the low 2
bits, not 3, leaks one additional bit, whereas a Curve25519
implementation will not.

>
> Suggesting that (4,8) vs (8,4) introduces security risk is not a technica=
l
> argument about the strength of the curve. A sloppy implementor could just=
 as
> easily misread guidance and clear cofactor 4 on Curve25519. A sloppy
> implementor could even more easily skip checks for weak keys when using
> Montgomery Curve25519 outside of DH. All Curve25519 documentation makes
> clear all 32-byte strings are valid keys. That this is so only for DH is
> easily forgotten and I've not found a Curve25519 implementation that
> performs the required check.

Have you seen implementations that don't deal only with DH? A protocol
that requires points to be torsion points would need implementations
that do check, and PinkBikeShed doesn't change this property.

>
> Further, using p =3D 1 mod 4 primes introduces the concern you are raisin=
g.
> Rather than blaming the implementor for clearing the "wrong" cofactor, we
> can eliminate this "security failure" by using p =3D 3 mod 4 to ensure th=
e
> cofactors are equal, which is the choice you made for both Curve1174 and
> Curve41417. Looking to SafeCurves rigidity criteria we see Curve1174
> described with "Curve and twist orders chosen as {4*prime,4*prime} for
> security", but for Curve25519 we see "Curve and twist orders required to =
be
> {4*prime,8*prime} for security". Once again, no indication that (8,4) is
> required.
>
> Looking through all the curves you list, we see a wide variety of
> justifications for any given choice, with qualitative comments about
> "security", "performance", or "efficiency", but little consistency in the
> results:
>
> Curve1174: "Curve and twist orders chosen as {4*prime,4*prime} for securi=
ty"
> Curve25519: "Curve and twist orders required to be {4*prime,8*prime} for
> security"
> Curve41417: "Curve and twist cofactors limited to {4,8} for security"
>
> Curve1174: "Edwards curve shape x^2+y^2=3D1+dx^2y^2 chosen for efficiency=
."
> Curve25519: "Montgomery curve shape y^2=3Dx^3+Ax^2+x chosen for efficienc=
y"
> Curve41417: "Edwards curve shape x^2+y^2=3D1+dx^2y^2 chosen for efficienc=
y"
>
> Curve1174: "Complete Edwards curve chosen for security."
> Curve25519: No such statement.
> Curve41417: "Complete Edwards curve chosen for security."
>
> It is difficult to see this as rigidity.

Put "BADA55ECC" into the hexadecimal constants of a curve selected by
the methodology DJB used to pick Curve25519. It's easy to see that
Microsoft had equally substantial freedom to manipulate it's curve
choice, as shown by the fact that the new generation method produces
the same curve modulo 2^521-1.

Most of the reduction in DOF comes from requiring minimal parameters
for some reasonable model subject to some reasonable criteria,
together with forcing primes of the form 2^s-c. Arguing that one
choice is "more rigid" than another is aesthetics.

>
> I do not agree with your assertion that "adding twist security" _and_
> "switching to single-coordinate ladders" is the solution against security
> failures when it comes to invalid-curve attacks. Windowing implementation=
s
> on complete Edwards curves can be implemented securely and eliminate any
> risks against those attacks. So it is correct to say that in practice "th=
e
> concerns do not apply to the twisted Edwards curve we generated, only to =
the
> isogenous Montgomery curve". In fact, looking at the Curve41417 paper, yo=
u
> eschew the Montgomery (or Edwards) ladder in favor of windowing. In this
> case, the performance advantages of Edwards trump the irrefutable and
> essential requirement for eliminating "security failures" above via use o=
f
> single-coordinate ladders. Obviously, single-coordinate ladders are not a
> hard requirement.

The same is true for short Weierstrass curves. But I don't see why the
choices a particular implementation, written very carefully by experts
in the field, reduces the impact of traps for the nonexperts who write
the majority of implementations.

By requiring twist security, we've already chosen to support
single-coordinate ladders. If a check was enough, twist security would
not be required. Why not design the ladder in such a way to never leak
bits? Given that we are using cofactor multiplication to ensure that
matching test vectors is enough, we will have to multiply by
2*cofactor for PinkBikeShed to have the same security.

>>If you disagree, please explain why you're requiring _any_ type of twist
>>security for Edwards curves. Why aren't you saying something like "The
>>larger d forced by 'twist security' is a violation of rigidity" and
>>objecting to the whole concept of twist security for Edwards curves?
>
> I am not objecting to twist security and the curves in the draft are twis=
t
> secure. I am objecting to the notion that cofactors (8,4) are in any way
> more secure than (4,8). Your own statements on SafeCurves and in the
> Curve25519 and Curve41417 papers support there being no difference. I am
> also objecting to your repeated claims, contradicted by your own work, th=
at
> single-coordinate ladders are required. And since there is no such
> requirement and no security difference, I want the curve generated via th=
e
> process with fewest qualitative, opinion-based constraints.

-Some people think twist security is not required
-Some people think cofactor 1 is required
-Some people think we need to specify short Weierstrass curves
-Some people think we need random primes
-Some people think we should keep c small and vary s in 2^s-c.

While debating the fate of a single bit might be far less
controversial than the above, I don't see how it is more or less a
qualitative constraint then the others, some have which been accepted
by the NUMS group, and some of which have not.
>
>
> b
>
>
>
> On Tue, Dec 2, 2014 at 1:28 AM, D. J. Bernstein <djb@cr.yp.to> wrote:
>>
>> Benjamin Black writes:
>> > The concerns do not apply to the twisted Edwards curve we generated,
>> > only to the isogenous Montgomery curve.
>>
>> False.
>>
>> Invalid-curve attacks completely break the simplest DH implementations
>> in Montgomery coordinates _and_ in Edwards coordinates. Rather than
>> blaming the implementor, we eliminate these security failures by
>>
>>    * adding twist security, for both Montgomery and Edwards, and
>>    * switching to single-coordinate ladders.
>>
>> This is the primary motivation for twist security (and a closer look,
>> as I've explained in detail, shows a twist-security criterion that's met
>> by Curve25519 and not by PinkBikeShed). This has nothing to do with the
>> superficial differences between the Montgomery x and the Edwards y, both
>> of which support ladders.
>>
>> If you disagree, please explain why you're requiring _any_ type of twist
>> security for Edwards curves. Why aren't you saying something like "The
>> larger d forced by 'twist security' is a violation of rigidity" and
>> objecting to the whole concept of twist security for Edwards curves?
>>
>> ---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
>



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


From nobody Fri Dec 12 02:26:33 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 5A00D1ACC8F for <cfrg@ietfa.amsl.com>; Fri, 12 Dec 2014 02:26:31 -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 9V63dQ8adfuB for <cfrg@ietfa.amsl.com>; Fri, 12 Dec 2014 02:26:28 -0800 (PST)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0604.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::604]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A15931ACC88 for <cfrg@irtf.org>; Fri, 12 Dec 2014 02:26:27 -0800 (PST)
Received: from DBXPR03MB381.eurprd03.prod.outlook.com (10.141.10.11) by DBXPR03MB601.eurprd03.prod.outlook.com (10.141.13.156) with Microsoft SMTP Server (TLS) id 15.1.31.17; Fri, 12 Dec 2014 10:13:33 +0000
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.31.17; Fri, 12 Dec 2014 10:13:31 +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.0031.000; Fri, 12 Dec 2014 10:13:31 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Benjamin Black <b@b3k.us>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: [Cfrg] draft-black-rpgecc-00-.txt [was: Consensus and a way forward]
Thread-Index: AQHQCg+AA9nvrrBncE2keVevceo8V5x0EbQAgAYJNgCAALPwgIAAqAqAgAAkFICAACxOgIAASVqAgAo/CICABgrbAA==
Date: Fri, 12 Dec 2014 10:13:31 +0000
Message-ID: <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com>
In-Reply-To: <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@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.7.141117
x-originating-ip: [1.172.82.176]
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB381;UriScan:;
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB381;
x-forefront-prvs: 04238CD941
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(6009001)(24454002)(51704005)(189002)(479174003)(199003)(377454003)(92566001)(20776003)(86362001)(64706001)(106116001)(31966008)(36756003)(77156002)(68736005)(54356999)(76176999)(50986999)(77096005)(66066001)(4396001)(1720100001)(15975445007)(62966003)(101416001)(102836002)(21056001)(105586002)(74482002)(19580405001)(19273905006)(40100003)(122556002)(2656002)(97736003)(230783001)(87936001)(83506001)(99396003)(46102003)(19580395003)(106356001)(120916001)(107046002)(781001)(491001)(563064011)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR03MB381; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <B46277B169A64441AA4B22E24A5B7E1D@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB601;
X-OriginatorOrg: rhul.ac.uk
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/BE8NZPHc8ETve_FE4sEfrClD3Js
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: Fri, 12 Dec 2014 10:26:31 -0000

Dear Ben,

Thanks for your continued contributions to this discussion. I think you
make quite powerful arguments for keeping  draft-black-rpgecc-00 the way
it is and not adding an extra criterion concerning divisibility of
co-factors.

Nevertheless, based on previous discussions on list (and discussions off
list that Alexei and I have been having in our role as co-chairs), we have
reason to believe that we will have a strong chance of making progress as
a group, and unblocking our current logjam, if your team were to add this
criterion to the draft.

If you were also to add explicit isogenies enabling mapping to Montgomery
form curves for the specific primes/curves at the 128-bit and 192-bit
security levels, then this would also help move things along too.

As co-chairs, then, we would like to strongly recommend that your team
take these two significant steps to modify your draft. Modulo my
understanding of IRTF processes, we would then be in a position to call
for consensus on formal adoption of the draft by CFRG.

As a side note to *everyone* who has been contributing to our discussions
to date: we are rapidly getting to the point where the process might well
be taken away from us and solutions imposed from outside. CFRG's inability
to reach a decision will not stand us in good stead as the preferred
supplier of "crypto clue" to IETF.

Regards,

Kenny  =20
  =20

On 09/12/2014 05:56, "Benjamin Black" <b@b3k.us> wrote:

>>Benjamin Black writes:
>>> The concerns do not apply to the twisted Edwards curve we generated,
>>> only to the isogenous Montgomery curve.
>>
>>False.
>>
>>Invalid-curve attacks completely break the simplest DH implementations
>>in Montgomery coordinates _and_ in Edwards coordinates. Rather than
>>blaming the implementor, we eliminate these security failures by
>>
>>   * adding twist security, for both Montgomery and Edwards, and
>>   * switching to single-coordinate ladders.
>>
>>This is the primary motivation for twist security (and a closer look,
>>as I've explained in detail, shows a twist-security criterion that's met
>>by Curve25519 and not by PinkBikeShed). This has nothing to do with the
>>superficial differences between the Montgomery x and the Edwards y, both
>>of which support ladders.
>>
>
>
>The additional criterion you are describing is difficult to see as "twist
>security". The curves in the draft are twist secure by any reasonable
>definition, including your own SafeCurves twist security requirements.
>Looking at your Curve25519 paper there
> is a single mention of requirements on cofactors: "Multiply the secret
>key by a small power of 2 to account for cofactors in the curve group and
>the twist group". There is no reading of this that indicates selection of
>(8,4) is needed or was even a consideration
> at the time. In the recent Curve41417 paper I similarly find a single
>mention of cofactor requirements: "For security we ... insist on the same
>level of twist-security as Curve25519 =8B the cofactors of the curve and
>its twist are in {4, 8}." No mention of either
> requiring the cofactors be equal or that they be minimal (which they
>aren't).
>
>
>Suggesting that (4,8) vs (8,4) introduces security risk is not a
>technical argument about the strength of the curve. A sloppy implementor
>could just as easily misread guidance and clear cofactor 4 on Curve25519.
>A sloppy implementor could even more easily
> skip checks for weak keys when using Montgomery Curve25519 outside of
>DH. All Curve25519 documentation makes clear all 32-byte strings are
>valid keys. That this is so only for DH is easily forgotten and I've not
>found a Curve25519 implementation that performs
> the required check.
>
>
>Further, using p =3D 1 mod 4 primes introduces the concern you are raising=
.
>Rather than blaming the implementor for clearing the "wrong" cofactor, we
>can eliminate this "security failure" by using p =3D 3 mod 4 to ensure the
>cofactors are equal, which is the
> choice you made for both Curve1174 and Curve41417. Looking to SafeCurves
>rigidity criteria we see Curve1174 described with "Curve and twist orders
>chosen as {4*prime,4*prime} for security", but for Curve25519 we see
>"Curve and twist orders required to be {4*prime,8*prime}
> for security". Once again, no indication that (8,4) is required.
>
>
>Looking through all the curves you list, we see a wide variety of
>justifications for any given choice, with qualitative comments about
>"security", "performance", or "efficiency", but little consistency in the
>results:
>
>
>Curve1174: "Curve and twist orders chosen as {4*prime,4*prime} for
>security"
>Curve25519: "Curve and twist orders required to be {4*prime,8*prime} for
>security"
>Curve41417: "Curve and twist cofactors limited to {4,8} for security"
>
>
>Curve1174: "Edwards curve shape x^2+y^2=3D1+dx^2y^2 chosen for efficiency.=
"
>Curve25519: "Montgomery curve shape y^2=3Dx^3+Ax^2+x chosen for efficiency=
"
>Curve41417: "Edwards curve shape x^2+y^2=3D1+dx^2y^2 chosen for efficiency=
"
>
>
>Curve1174: "Complete Edwards curve chosen for security."
>Curve25519: No such statement.
>Curve41417: "Complete Edwards curve chosen for security."
>
>
>It is difficult to see this as rigidity.
>
>
>I do not agree with your assertion that "adding twist security" _and_
>"switching to single-coordinate ladders" is the solution against security
>failures when it comes to invalid-curve attacks. Windowing
>implementations on complete Edwards curves can be
> implemented securely and eliminate any risks against those attacks. So
>it is correct to say that in practice "the concerns do not apply to the
>twisted Edwards curve we generated, only to the isogenous Montgomery
>curve". In fact, looking at the Curve41417 paper,
> you eschew the Montgomery (or Edwards) ladder in favor of windowing. In
>this case, the performance advantages of Edwards trump the irrefutable
>and essential requirement for eliminating "security failures" above via
>use of single-coordinate ladders. Obviously,
> single-coordinate ladders are not a hard requirement.
>
>
>>If you disagree, please explain why you're requiring _any_ type of twist
>>security for Edwards curves. Why aren't you saying something like "The
>>larger d forced by 'twist security' is a violation of rigidity" and
>>objecting to the whole concept of twist security for Edwards curves?
>
>
>I am not objecting to twist security and the curves in the draft are
>twist secure. I am objecting to the notion that cofactors (8,4) are in
>any way more secure than (4,8). Your own statements on SafeCurves and in
>the Curve25519 and Curve41417 papers support
> there being no difference. I am also objecting to your repeated claims,
>contradicted by your own work, that single-coordinate ladders are
>required. And since there is no such requirement and no security
>difference, I want the curve generated via the process
> with fewest qualitative, opinion-based constraints.
>
>
>
>
>b
>
>
>
>
>
>
>On Tue, Dec 2, 2014 at 1:28 AM, D. J. Bernstein
><djb@cr.yp.to> wrote:
>
>Benjamin Black writes:
>> The concerns do not apply to the twisted Edwards curve we generated,
>> only to the isogenous Montgomery curve.
>
>False.
>
>Invalid-curve attacks completely break the simplest DH implementations
>in Montgomery coordinates _and_ in Edwards coordinates. Rather than
>blaming the implementor, we eliminate these security failures by
>
>   * adding twist security, for both Montgomery and Edwards, and
>   * switching to single-coordinate ladders.
>
>This is the primary motivation for twist security (and a closer look,
>as I've explained in detail, shows a twist-security criterion that's met
>by Curve25519 and not by PinkBikeShed). This has nothing to do with the
>superficial differences between the Montgomery x and the Edwards y, both
>of which support ladders.
>
>If you disagree, please explain why you're requiring _any_ type of twist
>security for Edwards curves. Why aren't you saying something like "The
>larger d forced by 'twist security' is a violation of rigidity" and
>objecting to the whole concept of twist security for Edwards curves?
>
>---Dan
>
>_______________________________________________
>Cfrg mailing list
>Cfrg@irtf.org
>http://www.irtf.org/mailman/listinfo/cfrg
>
>
>
>
>
>
>


From nobody Fri Dec 12 03:29:59 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 71FCF1ACD00 for <cfrg@ietfa.amsl.com>; Fri, 12 Dec 2014 03:29:57 -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 OWgMzHgs5xyH for <cfrg@ietfa.amsl.com>; Fri, 12 Dec 2014 03:29: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 80FA11ACCDF for <cfrg@irtf.org>; Fri, 12 Dec 2014 03:29:55 -0800 (PST)
In-Reply-To: <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
From: Alyssa Rowan <akr@akr.io>
Date: Fri, 12 Dec 2014 11:29:49 +0000
To: cfrg@irtf.org
Message-ID: <F813566A-B813-4AB3-A03C-BF657B2FFA32@akr.io>
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/PpUSW8iiSneduDZYQYMyGO97nDY
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: Fri, 12 Dec 2014 11:29:57 -0000

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

On 12 December 2014 10:13:31 GMT+00:00, "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk> wrote:

>â€¦we have reason to believe that we will have a strong chance of making progress as a group, and unblocking our current logjam, if your team were to add this criterion [divisibility of co-factors] to the draft.

>If you were also to add explicit isogenies enabling mapping to Montgomery form curves for the specific primes/curves at the 128-bit and 192-bit security levels, then this would also help move things along too.

As per my previous statements on and off the list, I support these two suggestions, and I also think that would be a sensible way to move forward overall.

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

iQI3BAEBCgAhBQJUitGtGhxBbHlzc2EgUm93YW4gPGFrckBha3IuaW8+AAoJEOyE
jtkWi2t67voP/01Z//eV10h4GWrX5M/FgpXKUvqCs2qdefhK7xnZzJI4WoNK/h8r
aKLxENFf3uYNQHw55FqAbOuqlzNcGPFmT9cUMzYAeM5QPFHdtbwyI1eesb+P24jA
/B70/iCqfxpt+lg4lbkQsEk6Tog5pVAiA76Ioz85Vb4RSvgeVTlyEqFRk4YTNtZr
AiiEpFeIRZJpmjgPG0W8aEEv3jVAKifuLA7XuuCQU71LLwUNsJdAFFpNMYTKJgee
Q7FnmxzXVqS/JmwsAk1JDQ6/iuVEVmRm3JTFBQVdgwUMOxPDbZTNg/45GGUuLvyX
UcribMe4E+sIJoresDVTeuJ+uK1vsLRBvLE5fQ3HH+8HJR1CrA69sZobd7QwO2bL
Lg/ysEQrbh0tISqH+pAsLHRwtDF/2i3Vv0vDQn0m3chDmg2s3XlsWdxo8bHDjMn5
Zt2McSP844vfIWjAFh6aD5LEz0JqYlBEVAEE9yn9WQlZqB46PlR/muo6wsKjO5Fr
3ezFupkdVx+in1mj4Xloo1S8jJ1Xqtkuy4FaMOkdlBtI7TYAW3eQ4W9a8n6r9COv
kEbeMkeyp/u7FYWDmsMCc5x4CSNyH+pOELb0pXNzQpWewH0Gc5YYW0D0tuehN0Zm
ngQEJlPiMXSOIqloAu82V3kq5nZLvTpGjX1XeXP4dDdtf0/Dd1WICkHT
=VnDA
-----END PGP SIGNATURE-----


From nobody Fri Dec 12 17:15:19 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 8AE811A1B15 for <cfrg@ietfa.amsl.com>; Fri, 12 Dec 2014 17:15:18 -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 6wsehd4akPUx for <cfrg@ietfa.amsl.com>; Fri, 12 Dec 2014 17:15:15 -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 40A391A1B70 for <cfrg@irtf.org>; Fri, 12 Dec 2014 17:15:14 -0800 (PST)
Received: by mail-yk0-f169.google.com with SMTP id 79so3637466ykr.0 for <cfrg@irtf.org>; Fri, 12 Dec 2014 17:15:13 -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=nLyKgbntI7rU+A5QJn8tFGVdufD83LWnP0u8dFaBsVc=; b=yaNFQOraQdDAIPgSF2pVSL//XRD5yRKPxxB8OrpUqu6FaXMo60ILj+m9o/maVECGnZ BdcRKMzNjVskwLOreNK1jkzyYbpGwPrIdsSPBpM+oyk0Yt9f0Q/g5zfYxOY8tn4xssFt gnHoQcH99cTMJSXaJbFrIOezW7k1XseThd3RtoiMGSp4x++mA1bxqlNoffgHXwgGUIax o/qyejB0ZYXD+1Y7oBegGBqtdcLSB2Ci3zD/t6flSW6Vk95QyX3hLFHBJgT6Lze9CtJ3 039yZ/0F02zJPt5De4TRvPYkXfEM4u7mpSWfdVCTMZbsYU2BIkp7+Ptq3GRpe4Q0uy35 99UQ==
MIME-Version: 1.0
X-Received: by 10.236.61.8 with SMTP id v8mr14043815yhc.44.1418433313417; Fri, 12 Dec 2014 17:15:13 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Fri, 12 Dec 2014 17:15:13 -0800 (PST)
In-Reply-To: <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk>
Date: Fri, 12 Dec 2014 17:15:13 -0800
Message-ID: <CACsn0c=uyPT6xa4CsXPeAV31QeeO+HfsCXAxt7Ba6NOt_Y2hiA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.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/pCgIQuv_LR7XCvGulpZk9zTz-g0
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: Sat, 13 Dec 2014 01:15:18 -0000

On Fri, Dec 12, 2014 at 2:13 AM, Paterson, Kenny
<Kenny.Paterson@rhul.ac.uk> wrote:
> Dear Ben,
>
> Thanks for your continued contributions to this discussion. I think you
> make quite powerful arguments for keeping  draft-black-rpgecc-00 the way
> it is and not adding an extra criterion concerning divisibility of
> co-factors.
>
> Nevertheless, based on previous discussions on list (and discussions off
> list that Alexei and I have been having in our role as co-chairs), we hav=
e
> reason to believe that we will have a strong chance of making progress as
> a group, and unblocking our current logjam, if your team were to add this
> criterion to the draft.
>
> If you were also to add explicit isogenies enabling mapping to Montgomery
> form curves for the specific primes/curves at the 128-bit and 192-bit
> security levels, then this would also help move things along too.
>
> As co-chairs, then, we would like to strongly recommend that your team
> take these two significant steps to modify your draft. Modulo my
> understanding of IRTF processes, we would then be in a position to call
> for consensus on formal adoption of the draft by CFRG.

Why can't the turner-curve25519 draft be adopted? We could add the
curves for the 2^389-21 prime that Ilari has computed. As one of the
coauthors I'm surprised that no discussion of the shortcomings of this
draft, has taken place, instead we've been modifying a draft that was
further from being useful until it can be adopted.

I'm also surprised that we aren't using 2^389-21 for the same reasons
cited for using 2^255-19. We do not need complete agreement to go
forward. If we want a consensus result we'll still have gratuitous
incompatibilities and an unforced loss of additional performance, in
order to get one particular group on board. A process justified as
being driven by technical criteria has devolved into an openly
political horse trade, where we're supposed to be happy that the
2^255-19 prime is used, and ignore the issues with 2^384-317.

I'm happy to assist in writing whatever material is required to
specify the algorithms that we need to produce, such as a signature
algorithm and standalone description of the key exchange method.
Existing drafts and RFCs have fallen short here in the past. I can
only hope this does not take another 9 months.

>
> As a side note to *everyone* who has been contributing to our discussions
> to date: we are rapidly getting to the point where the process might well
> be taken away from us and solutions imposed from outside. CFRG's inabilit=
y
> to reach a decision will not stand us in good stead as the preferred
> supplier of "crypto clue" to IETF.

Honestly, if the past 9 months is the best we can do, we deserve it.
(Not that the IETF works much better: the codec debate in RTCweb,
etc.) It would be a shame if the result was no clue in the IETF at
all, and I hope that we can figure out a way to make the CFRG more
effective.

While this conversation was going on I caught yet another draft with a
crypto problem, which got fixed. The authors had probably not realized
that there was a possible issue.

Sincerely,
Watson Ladd

>
> Regards,
>
> Kenny
>
>
> On 09/12/2014 05:56, "Benjamin Black" <b@b3k.us> wrote:
>
>>>Benjamin Black writes:
>>>> The concerns do not apply to the twisted Edwards curve we generated,
>>>> only to the isogenous Montgomery curve.
>>>
>>>False.
>>>
>>>Invalid-curve attacks completely break the simplest DH implementations
>>>in Montgomery coordinates _and_ in Edwards coordinates. Rather than
>>>blaming the implementor, we eliminate these security failures by
>>>
>>>   * adding twist security, for both Montgomery and Edwards, and
>>>   * switching to single-coordinate ladders.
>>>
>>>This is the primary motivation for twist security (and a closer look,
>>>as I've explained in detail, shows a twist-security criterion that's met
>>>by Curve25519 and not by PinkBikeShed). This has nothing to do with the
>>>superficial differences between the Montgomery x and the Edwards y, both
>>>of which support ladders.
>>>
>>
>>
>>The additional criterion you are describing is difficult to see as "twist
>>security". The curves in the draft are twist secure by any reasonable
>>definition, including your own SafeCurves twist security requirements.
>>Looking at your Curve25519 paper there
>> is a single mention of requirements on cofactors: "Multiply the secret
>>key by a small power of 2 to account for cofactors in the curve group and
>>the twist group". There is no reading of this that indicates selection of
>>(8,4) is needed or was even a consideration
>> at the time. In the recent Curve41417 paper I similarly find a single
>>mention of cofactor requirements: "For security we ... insist on the same
>>level of twist-security as Curve25519 =E2=80=B9 the cofactors of the curv=
e and
>>its twist are in {4, 8}." No mention of either
>> requiring the cofactors be equal or that they be minimal (which they
>>aren't).
>>
>>
>>Suggesting that (4,8) vs (8,4) introduces security risk is not a
>>technical argument about the strength of the curve. A sloppy implementor
>>could just as easily misread guidance and clear cofactor 4 on Curve25519.
>>A sloppy implementor could even more easily
>> skip checks for weak keys when using Montgomery Curve25519 outside of
>>DH. All Curve25519 documentation makes clear all 32-byte strings are
>>valid keys. That this is so only for DH is easily forgotten and I've not
>>found a Curve25519 implementation that performs
>> the required check.
>>
>>
>>Further, using p =3D 1 mod 4 primes introduces the concern you are raisin=
g.
>>Rather than blaming the implementor for clearing the "wrong" cofactor, we
>>can eliminate this "security failure" by using p =3D 3 mod 4 to ensure th=
e
>>cofactors are equal, which is the
>> choice you made for both Curve1174 and Curve41417. Looking to SafeCurves
>>rigidity criteria we see Curve1174 described with "Curve and twist orders
>>chosen as {4*prime,4*prime} for security", but for Curve25519 we see
>>"Curve and twist orders required to be {4*prime,8*prime}
>> for security". Once again, no indication that (8,4) is required.
>>
>>
>>Looking through all the curves you list, we see a wide variety of
>>justifications for any given choice, with qualitative comments about
>>"security", "performance", or "efficiency", but little consistency in the
>>results:
>>
>>
>>Curve1174: "Curve and twist orders chosen as {4*prime,4*prime} for
>>security"
>>Curve25519: "Curve and twist orders required to be {4*prime,8*prime} for
>>security"
>>Curve41417: "Curve and twist cofactors limited to {4,8} for security"
>>
>>
>>Curve1174: "Edwards curve shape x^2+y^2=3D1+dx^2y^2 chosen for efficiency=
."
>>Curve25519: "Montgomery curve shape y^2=3Dx^3+Ax^2+x chosen for efficienc=
y"
>>Curve41417: "Edwards curve shape x^2+y^2=3D1+dx^2y^2 chosen for efficienc=
y"
>>
>>
>>Curve1174: "Complete Edwards curve chosen for security."
>>Curve25519: No such statement.
>>Curve41417: "Complete Edwards curve chosen for security."
>>
>>
>>It is difficult to see this as rigidity.
>>
>>
>>I do not agree with your assertion that "adding twist security" _and_
>>"switching to single-coordinate ladders" is the solution against security
>>failures when it comes to invalid-curve attacks. Windowing
>>implementations on complete Edwards curves can be
>> implemented securely and eliminate any risks against those attacks. So
>>it is correct to say that in practice "the concerns do not apply to the
>>twisted Edwards curve we generated, only to the isogenous Montgomery
>>curve". In fact, looking at the Curve41417 paper,
>> you eschew the Montgomery (or Edwards) ladder in favor of windowing. In
>>this case, the performance advantages of Edwards trump the irrefutable
>>and essential requirement for eliminating "security failures" above via
>>use of single-coordinate ladders. Obviously,
>> single-coordinate ladders are not a hard requirement.
>>
>>
>>>If you disagree, please explain why you're requiring _any_ type of twist
>>>security for Edwards curves. Why aren't you saying something like "The
>>>larger d forced by 'twist security' is a violation of rigidity" and
>>>objecting to the whole concept of twist security for Edwards curves?
>>
>>
>>I am not objecting to twist security and the curves in the draft are
>>twist secure. I am objecting to the notion that cofactors (8,4) are in
>>any way more secure than (4,8). Your own statements on SafeCurves and in
>>the Curve25519 and Curve41417 papers support
>> there being no difference. I am also objecting to your repeated claims,
>>contradicted by your own work, that single-coordinate ladders are
>>required. And since there is no such requirement and no security
>>difference, I want the curve generated via the process
>> with fewest qualitative, opinion-based constraints.
>>
>>
>>
>>
>>b
>>
>>
>>
>>
>>
>>
>>On Tue, Dec 2, 2014 at 1:28 AM, D. J. Bernstein
>><djb@cr.yp.to> wrote:
>>
>>Benjamin Black writes:
>>> The concerns do not apply to the twisted Edwards curve we generated,
>>> only to the isogenous Montgomery curve.
>>
>>False.
>>
>>Invalid-curve attacks completely break the simplest DH implementations
>>in Montgomery coordinates _and_ in Edwards coordinates. Rather than
>>blaming the implementor, we eliminate these security failures by
>>
>>   * adding twist security, for both Montgomery and Edwards, and
>>   * switching to single-coordinate ladders.
>>
>>This is the primary motivation for twist security (and a closer look,
>>as I've explained in detail, shows a twist-security criterion that's met
>>by Curve25519 and not by PinkBikeShed). This has nothing to do with the
>>superficial differences between the Montgomery x and the Edwards y, both
>>of which support ladders.
>>
>>If you disagree, please explain why you're requiring _any_ type of twist
>>security for Edwards curves. Why aren't you saying something like "The
>>larger d forced by 'twist security' is a violation of rigidity" and
>>objecting to the whole concept of twist security for Edwards curves?
>>
>>---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



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


From nobody Fri Dec 12 20:39:58 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 AA1A71A1B75 for <cfrg@ietfa.amsl.com>; Fri, 12 Dec 2014 20:39:55 -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 fj-nRtlWuh1u for <cfrg@ietfa.amsl.com>; Fri, 12 Dec 2014 20:39:51 -0800 (PST)
Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5C4331A00BF for <cfrg@irtf.org>; Fri, 12 Dec 2014 20:39:51 -0800 (PST)
Received: by mail-wg0-f46.google.com with SMTP id x13so10729807wgg.33 for <cfrg@irtf.org>; Fri, 12 Dec 2014 20:39:49 -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=ICdgMlwouuinI2wbR8GpeeunnjmeFGVVebFGiqG3X4o=; b=gyyxD+455PtHk1vE3fEB1ysLk2OoqHlM29ynGCxDy4zkuOEcAy9srZstGVzquDKzEL tC71SPAM11x1XRk1FNq3/+QsLj36drd/MebgS39wAKrlWnDjfWNuyvhwM+M85xmGQzI1 p8nfjwg04eNX4ue6VKDWsUAIYWrT+fu43l17qKl6dx5mLG7MuihEstMbfVKDfcVpy3QK 5mfcZw/84nQQ9ZxmezVp5JODUvlnEwNk7q5MDCFtpxpXX2fMJ44DHvxTuBsSQMN2cpXJ bUc8cCjvomAN+UwyhyQnXce68/VqwjzAuLx42XnrtaovQ7aMQc1+ZC4CO4U8xCG2Waen TWmQ==
X-Gm-Message-State: ALoCoQlGPLC1h53/GoanutwUj1J2U37HUcK1Ki7hzrCB2FTvhBxHpKuitb2Lofs3J8J4rY+zKOVp
X-Received: by 10.194.178.231 with SMTP id db7mr32493928wjc.112.1418445589631;  Fri, 12 Dec 2014 20:39:49 -0800 (PST)
MIME-Version: 1.0
Received: by 10.217.191.195 with HTTP; Fri, 12 Dec 2014 20:39:28 -0800 (PST)
In-Reply-To: <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk>
From: Benjamin Black <b@b3k.us>
Date: Fri, 12 Dec 2014 20:39:28 -0800
Message-ID: <CA+Vbu7w=uq9C2_LNUX=2boDqKS0zekniOWPd+mk42eWOS3ZVXQ@mail.gmail.com>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
Content-Type: multipart/alternative; boundary=089e01419fc080eb1b050a11999e
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/zLuLm07UpHnNKzKARNHI8P9IMpI
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: Sat, 13 Dec 2014 04:39:55 -0000

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

Kenny,

While we remain convinced there is no compelling technical reason to make
the change, we will acquiesce to the will of the co-chairs in the interest
of seeing this move forward.


b


On Fri, Dec 12, 2014 at 2:13 AM, Paterson, Kenny <Kenny.Paterson@rhul.ac.uk=
>
wrote:

> Dear Ben,
>
> Thanks for your continued contributions to this discussion. I think you
> make quite powerful arguments for keeping  draft-black-rpgecc-00 the way
> it is and not adding an extra criterion concerning divisibility of
> co-factors.
>
> Nevertheless, based on previous discussions on list (and discussions off
> list that Alexei and I have been having in our role as co-chairs), we hav=
e
> reason to believe that we will have a strong chance of making progress as
> a group, and unblocking our current logjam, if your team were to add this
> criterion to the draft.
>
> If you were also to add explicit isogenies enabling mapping to Montgomery
> form curves for the specific primes/curves at the 128-bit and 192-bit
> security levels, then this would also help move things along too.
>
> As co-chairs, then, we would like to strongly recommend that your team
> take these two significant steps to modify your draft. Modulo my
> understanding of IRTF processes, we would then be in a position to call
> for consensus on formal adoption of the draft by CFRG.
>
> As a side note to *everyone* who has been contributing to our discussions
> to date: we are rapidly getting to the point where the process might well
> be taken away from us and solutions imposed from outside. CFRG's inabilit=
y
> to reach a decision will not stand us in good stead as the preferred
> supplier of "crypto clue" to IETF.
>
> Regards,
>
> Kenny
>
>
> On 09/12/2014 05:56, "Benjamin Black" <b@b3k.us> wrote:
>
> >>Benjamin Black writes:
> >>> The concerns do not apply to the twisted Edwards curve we generated,
> >>> only to the isogenous Montgomery curve.
> >>
> >>False.
> >>
> >>Invalid-curve attacks completely break the simplest DH implementations
> >>in Montgomery coordinates _and_ in Edwards coordinates. Rather than
> >>blaming the implementor, we eliminate these security failures by
> >>
> >>   * adding twist security, for both Montgomery and Edwards, and
> >>   * switching to single-coordinate ladders.
> >>
> >>This is the primary motivation for twist security (and a closer look,
> >>as I've explained in detail, shows a twist-security criterion that's me=
t
> >>by Curve25519 and not by PinkBikeShed). This has nothing to do with the
> >>superficial differences between the Montgomery x and the Edwards y, bot=
h
> >>of which support ladders.
> >>
> >
> >
> >The additional criterion you are describing is difficult to see as "twis=
t
> >security". The curves in the draft are twist secure by any reasonable
> >definition, including your own SafeCurves twist security requirements.
> >Looking at your Curve25519 paper there
> > is a single mention of requirements on cofactors: "Multiply the secret
> >key by a small power of 2 to account for cofactors in the curve group an=
d
> >the twist group". There is no reading of this that indicates selection o=
f
> >(8,4) is needed or was even a consideration
> > at the time. In the recent Curve41417 paper I similarly find a single
> >mention of cofactor requirements: "For security we ... insist on the sam=
e
> >level of twist-security as Curve25519 =E2=80=B9 the cofactors of the cur=
ve and
> >its twist are in {4, 8}." No mention of either
> > requiring the cofactors be equal or that they be minimal (which they
> >aren't).
> >
> >
> >Suggesting that (4,8) vs (8,4) introduces security risk is not a
> >technical argument about the strength of the curve. A sloppy implementor
> >could just as easily misread guidance and clear cofactor 4 on Curve25519=
.
> >A sloppy implementor could even more easily
> > skip checks for weak keys when using Montgomery Curve25519 outside of
> >DH. All Curve25519 documentation makes clear all 32-byte strings are
> >valid keys. That this is so only for DH is easily forgotten and I've not
> >found a Curve25519 implementation that performs
> > the required check.
> >
> >
> >Further, using p =3D 1 mod 4 primes introduces the concern you are raisi=
ng.
> >Rather than blaming the implementor for clearing the "wrong" cofactor, w=
e
> >can eliminate this "security failure" by using p =3D 3 mod 4 to ensure t=
he
> >cofactors are equal, which is the
> > choice you made for both Curve1174 and Curve41417. Looking to SafeCurve=
s
> >rigidity criteria we see Curve1174 described with "Curve and twist order=
s
> >chosen as {4*prime,4*prime} for security", but for Curve25519 we see
> >"Curve and twist orders required to be {4*prime,8*prime}
> > for security". Once again, no indication that (8,4) is required.
> >
> >
> >Looking through all the curves you list, we see a wide variety of
> >justifications for any given choice, with qualitative comments about
> >"security", "performance", or "efficiency", but little consistency in th=
e
> >results:
> >
> >
> >Curve1174: "Curve and twist orders chosen as {4*prime,4*prime} for
> >security"
> >Curve25519: "Curve and twist orders required to be {4*prime,8*prime} for
> >security"
> >Curve41417: "Curve and twist cofactors limited to {4,8} for security"
> >
> >
> >Curve1174: "Edwards curve shape x^2+y^2=3D1+dx^2y^2 chosen for efficienc=
y."
> >Curve25519: "Montgomery curve shape y^2=3Dx^3+Ax^2+x chosen for efficien=
cy"
> >Curve41417: "Edwards curve shape x^2+y^2=3D1+dx^2y^2 chosen for efficien=
cy"
> >
> >
> >Curve1174: "Complete Edwards curve chosen for security."
> >Curve25519: No such statement.
> >Curve41417: "Complete Edwards curve chosen for security."
> >
> >
> >It is difficult to see this as rigidity.
> >
> >
> >I do not agree with your assertion that "adding twist security" _and_
> >"switching to single-coordinate ladders" is the solution against securit=
y
> >failures when it comes to invalid-curve attacks. Windowing
> >implementations on complete Edwards curves can be
> > implemented securely and eliminate any risks against those attacks. So
> >it is correct to say that in practice "the concerns do not apply to the
> >twisted Edwards curve we generated, only to the isogenous Montgomery
> >curve". In fact, looking at the Curve41417 paper,
> > you eschew the Montgomery (or Edwards) ladder in favor of windowing. In
> >this case, the performance advantages of Edwards trump the irrefutable
> >and essential requirement for eliminating "security failures" above via
> >use of single-coordinate ladders. Obviously,
> > single-coordinate ladders are not a hard requirement.
> >
> >
> >>If you disagree, please explain why you're requiring _any_ type of twis=
t
> >>security for Edwards curves. Why aren't you saying something like "The
> >>larger d forced by 'twist security' is a violation of rigidity" and
> >>objecting to the whole concept of twist security for Edwards curves?
> >
> >
> >I am not objecting to twist security and the curves in the draft are
> >twist secure. I am objecting to the notion that cofactors (8,4) are in
> >any way more secure than (4,8). Your own statements on SafeCurves and in
> >the Curve25519 and Curve41417 papers support
> > there being no difference. I am also objecting to your repeated claims,
> >contradicted by your own work, that single-coordinate ladders are
> >required. And since there is no such requirement and no security
> >difference, I want the curve generated via the process
> > with fewest qualitative, opinion-based constraints.
> >
> >
> >
> >
> >b
> >
> >
> >
> >
> >
> >
> >On Tue, Dec 2, 2014 at 1:28 AM, D. J. Bernstein
> ><djb@cr.yp.to> wrote:
> >
> >Benjamin Black writes:
> >> The concerns do not apply to the twisted Edwards curve we generated,
> >> only to the isogenous Montgomery curve.
> >
> >False.
> >
> >Invalid-curve attacks completely break the simplest DH implementations
> >in Montgomery coordinates _and_ in Edwards coordinates. Rather than
> >blaming the implementor, we eliminate these security failures by
> >
> >   * adding twist security, for both Montgomery and Edwards, and
> >   * switching to single-coordinate ladders.
> >
> >This is the primary motivation for twist security (and a closer look,
> >as I've explained in detail, shows a twist-security criterion that's met
> >by Curve25519 and not by PinkBikeShed). This has nothing to do with the
> >superficial differences between the Montgomery x and the Edwards y, both
> >of which support ladders.
> >
> >If you disagree, please explain why you're requiring _any_ type of twist
> >security for Edwards curves. Why aren't you saying something like "The
> >larger d forced by 'twist security' is a violation of rigidity" and
> >objecting to the whole concept of twist security for Edwards curves?
> >
> >---Dan
> >
> >_______________________________________________
> >Cfrg mailing list
> >Cfrg@irtf.org
> >http://www.irtf.org/mailman/listinfo/cfrg
> >
> >
> >
> >
> >
> >
> >
>
>

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

<div dir=3D"ltr">Kenny,<div><br></div><div>While we remain convinced there =
is no compelling technical reason to make the change, we will acquiesce to =
the will of the co-chairs in the interest of seeing this move forward.</div=
><div><br></div><div><br></div><div>b</div><div><br></div></div><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri, Dec 12, 2014 at 2:1=
3 AM, Paterson, Kenny <span dir=3D"ltr">&lt;<a href=3D"mailto:Kenny.Paterso=
n@rhul.ac.uk" target=3D"_blank">Kenny.Paterson@rhul.ac.uk</a>&gt;</span> wr=
ote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border=
-left:1px #ccc solid;padding-left:1ex">Dear Ben,<br>
<br>
Thanks for your continued contributions to this discussion. I think you<br>
make quite powerful arguments for keeping=C2=A0 draft-black-rpgecc-00 the w=
ay<br>
it is and not adding an extra criterion concerning divisibility of<br>
co-factors.<br>
<br>
Nevertheless, based on previous discussions on list (and discussions off<br=
>
list that Alexei and I have been having in our role as co-chairs), we have<=
br>
reason to believe that we will have a strong chance of making progress as<b=
r>
a group, and unblocking our current logjam, if your team were to add this<b=
r>
criterion to the draft.<br>
<br>
If you were also to add explicit isogenies enabling mapping to Montgomery<b=
r>
form curves for the specific primes/curves at the 128-bit and 192-bit<br>
security levels, then this would also help move things along too.<br>
<br>
As co-chairs, then, we would like to strongly recommend that your team<br>
take these two significant steps to modify your draft. Modulo my<br>
understanding of IRTF processes, we would then be in a position to call<br>
for consensus on formal adoption of the draft by CFRG.<br>
<br>
As a side note to *everyone* who has been contributing to our discussions<b=
r>
to date: we are rapidly getting to the point where the process might well<b=
r>
be taken away from us and solutions imposed from outside. CFRG&#39;s inabil=
ity<br>
to reach a decision will not stand us in good stead as the preferred<br>
supplier of &quot;crypto clue&quot; to IETF.<br>
<br>
Regards,<br>
<br>
Kenny<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
On 09/12/2014 05:56, &quot;Benjamin Black&quot; &lt;<a href=3D"mailto:b@b3k=
.us">b@b3k.us</a>&gt; wrote:<br>
<br>
&gt;&gt;Benjamin Black writes:<br>
&gt;&gt;&gt; The concerns do not apply to the twisted Edwards curve we gene=
rated,<br>
&gt;&gt;&gt; only to the isogenous Montgomery curve.<br>
&gt;&gt;<br>
&gt;&gt;False.<br>
&gt;&gt;<br>
&gt;&gt;Invalid-curve attacks completely break the simplest DH implementati=
ons<br>
&gt;&gt;in Montgomery coordinates _and_ in Edwards coordinates. Rather than=
<br>
&gt;&gt;blaming the implementor, we eliminate these security failures by<br=
>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0* adding twist security, for both Montgomery and Edwar=
ds, and<br>
&gt;&gt;=C2=A0 =C2=A0* switching to single-coordinate ladders.<br>
&gt;&gt;<br>
&gt;&gt;This is the primary motivation for twist security (and a closer loo=
k,<br>
&gt;&gt;as I&#39;ve explained in detail, shows a twist-security criterion t=
hat&#39;s met<br>
&gt;&gt;by Curve25519 and not by PinkBikeShed). This has nothing to do with=
 the<br>
&gt;&gt;superficial differences between the Montgomery x and the Edwards y,=
 both<br>
&gt;&gt;of which support ladders.<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;The additional criterion you are describing is difficult to see as &quo=
t;twist<br>
&gt;security&quot;. The curves in the draft are twist secure by any reasona=
ble<br>
&gt;definition, including your own SafeCurves twist security requirements.<=
br>
&gt;Looking at your Curve25519 paper there<br>
&gt; is a single mention of requirements on cofactors: &quot;Multiply the s=
ecret<br>
&gt;key by a small power of 2 to account for cofactors in the curve group a=
nd<br>
&gt;the twist group&quot;. There is no reading of this that indicates selec=
tion of<br>
&gt;(8,4) is needed or was even a consideration<br>
&gt; at the time. In the recent Curve41417 paper I similarly find a single<=
br>
&gt;mention of cofactor requirements: &quot;For security we ... insist on t=
he same<br>
&gt;level of twist-security as Curve25519 =E2=80=B9 the cofactors of the cu=
rve and<br>
&gt;its twist are in {4, 8}.&quot; No mention of either<br>
&gt; requiring the cofactors be equal or that they be minimal (which they<b=
r>
&gt;aren&#39;t).<br>
&gt;<br>
&gt;<br>
&gt;Suggesting that (4,8) vs (8,4) introduces security risk is not a<br>
&gt;technical argument about the strength of the curve. A sloppy implemento=
r<br>
&gt;could just as easily misread guidance and clear cofactor 4 on Curve2551=
9.<br>
&gt;A sloppy implementor could even more easily<br>
&gt; skip checks for weak keys when using Montgomery Curve25519 outside of<=
br>
&gt;DH. All Curve25519 documentation makes clear all 32-byte strings are<br=
>
&gt;valid keys. That this is so only for DH is easily forgotten and I&#39;v=
e not<br>
&gt;found a Curve25519 implementation that performs<br>
&gt; the required check.<br>
&gt;<br>
&gt;<br>
&gt;Further, using p =3D 1 mod 4 primes introduces the concern you are rais=
ing.<br>
&gt;Rather than blaming the implementor for clearing the &quot;wrong&quot; =
cofactor, we<br>
&gt;can eliminate this &quot;security failure&quot; by using p =3D 3 mod 4 =
to ensure the<br>
&gt;cofactors are equal, which is the<br>
&gt; choice you made for both Curve1174 and Curve41417. Looking to SafeCurv=
es<br>
&gt;rigidity criteria we see Curve1174 described with &quot;Curve and twist=
 orders<br>
&gt;chosen as {4*prime,4*prime} for security&quot;, but for Curve25519 we s=
ee<br>
&gt;&quot;Curve and twist orders required to be {4*prime,8*prime}<br>
&gt; for security&quot;. Once again, no indication that (8,4) is required.<=
br>
&gt;<br>
&gt;<br>
&gt;Looking through all the curves you list, we see a wide variety of<br>
&gt;justifications for any given choice, with qualitative comments about<br=
>
&gt;&quot;security&quot;, &quot;performance&quot;, or &quot;efficiency&quot=
;, but little consistency in the<br>
&gt;results:<br>
&gt;<br>
&gt;<br>
&gt;Curve1174: &quot;Curve and twist orders chosen as {4*prime,4*prime} for=
<br>
&gt;security&quot;<br>
&gt;Curve25519: &quot;Curve and twist orders required to be {4*prime,8*prim=
e} for<br>
&gt;security&quot;<br>
&gt;Curve41417: &quot;Curve and twist cofactors limited to {4,8} for securi=
ty&quot;<br>
&gt;<br>
&gt;<br>
&gt;Curve1174: &quot;Edwards curve shape x^2+y^2=3D1+dx^2y^2 chosen for eff=
iciency.&quot;<br>
&gt;Curve25519: &quot;Montgomery curve shape y^2=3Dx^3+Ax^2+x chosen for ef=
ficiency&quot;<br>
&gt;Curve41417: &quot;Edwards curve shape x^2+y^2=3D1+dx^2y^2 chosen for ef=
ficiency&quot;<br>
&gt;<br>
&gt;<br>
&gt;Curve1174: &quot;Complete Edwards curve chosen for security.&quot;<br>
&gt;Curve25519: No such statement.<br>
&gt;Curve41417: &quot;Complete Edwards curve chosen for security.&quot;<br>
&gt;<br>
&gt;<br>
&gt;It is difficult to see this as rigidity.<br>
&gt;<br>
&gt;<br>
&gt;I do not agree with your assertion that &quot;adding twist security&quo=
t; _and_<br>
&gt;&quot;switching to single-coordinate ladders&quot; is the solution agai=
nst security<br>
&gt;failures when it comes to invalid-curve attacks. Windowing<br>
&gt;implementations on complete Edwards curves can be<br>
&gt; implemented securely and eliminate any risks against those attacks. So=
<br>
&gt;it is correct to say that in practice &quot;the concerns do not apply t=
o the<br>
&gt;twisted Edwards curve we generated, only to the isogenous Montgomery<br=
>
&gt;curve&quot;. In fact, looking at the Curve41417 paper,<br>
&gt; you eschew the Montgomery (or Edwards) ladder in favor of windowing. I=
n<br>
&gt;this case, the performance advantages of Edwards trump the irrefutable<=
br>
&gt;and essential requirement for eliminating &quot;security failures&quot;=
 above via<br>
&gt;use of single-coordinate ladders. Obviously,<br>
&gt; single-coordinate ladders are not a hard requirement.<br>
&gt;<br>
&gt;<br>
&gt;&gt;If you disagree, please explain why you&#39;re requiring _any_ type=
 of twist<br>
&gt;&gt;security for Edwards curves. Why aren&#39;t you saying something li=
ke &quot;The<br>
&gt;&gt;larger d forced by &#39;twist security&#39; is a violation of rigid=
ity&quot; and<br>
&gt;&gt;objecting to the whole concept of twist security for Edwards curves=
?<br>
&gt;<br>
&gt;<br>
&gt;I am not objecting to twist security and the curves in the draft are<br=
>
&gt;twist secure. I am objecting to the notion that cofactors (8,4) are in<=
br>
&gt;any way more secure than (4,8). Your own statements on SafeCurves and i=
n<br>
&gt;the Curve25519 and Curve41417 papers support<br>
&gt; there being no difference. I am also objecting to your repeated claims=
,<br>
&gt;contradicted by your own work, that single-coordinate ladders are<br>
&gt;required. And since there is no such requirement and no security<br>
&gt;difference, I want the curve generated via the process<br>
&gt; with fewest qualitative, opinion-based constraints.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;b<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;On Tue, Dec 2, 2014 at 1:28 AM, D. J. Bernstein<br>
&gt;&lt;<a href=3D"mailto:djb@cr.yp.to">djb@cr.yp.to</a>&gt; wrote:<br>
&gt;<br>
&gt;Benjamin Black writes:<br>
&gt;&gt; The concerns do not apply to the twisted Edwards curve we generate=
d,<br>
&gt;&gt; only to the isogenous Montgomery curve.<br>
&gt;<br>
&gt;False.<br>
&gt;<br>
&gt;Invalid-curve attacks completely break the simplest DH implementations<=
br>
&gt;in Montgomery coordinates _and_ in Edwards coordinates. Rather than<br>
&gt;blaming the implementor, we eliminate these security failures by<br>
&gt;<br>
&gt;=C2=A0 =C2=A0* adding twist security, for both Montgomery and Edwards, =
and<br>
&gt;=C2=A0 =C2=A0* switching to single-coordinate ladders.<br>
&gt;<br>
&gt;This is the primary motivation for twist security (and a closer look,<b=
r>
&gt;as I&#39;ve explained in detail, shows a twist-security criterion that&=
#39;s met<br>
&gt;by Curve25519 and not by PinkBikeShed). This has nothing to do with the=
<br>
&gt;superficial differences between the Montgomery x and the Edwards y, bot=
h<br>
&gt;of which support ladders.<br>
&gt;<br>
&gt;If you disagree, please explain why you&#39;re requiring _any_ type of =
twist<br>
&gt;security for Edwards curves. Why aren&#39;t you saying something like &=
quot;The<br>
&gt;larger d forced by &#39;twist security&#39; is a violation of rigidity&=
quot; and<br>
&gt;objecting to the whole concept of twist security for Edwards curves?<br=
>
&gt;<br>
&gt;---Dan<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>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br></div>

--089e01419fc080eb1b050a11999e--


From nobody Sun Dec 14 08:38:03 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 A60E91A00E1 for <cfrg@ietfa.amsl.com>; Sun, 14 Dec 2014 08:38:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.109
X-Spam-Level: 
X-Spam-Status: No, score=-0.109 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, MIME_QP_LONG_LINE=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 0UwQ6q51Y4PV for <cfrg@ietfa.amsl.com>; Sun, 14 Dec 2014 08:38:00 -0800 (PST)
Received: from waldorf.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id 8FAC31A006D for <cfrg@irtf.org>; Sun, 14 Dec 2014 08:38:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1418575079; d=isode.com; s=selector; i=@isode.com; bh=S7SmVrHVvXRqNiz+eFy9xTLkz5qITtwUXfdazwq36gU=; 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=wi5yofs75Wpj5c9Nhiex3qtpypDgVc+NRghfT4/tVkqAKu/lOsyY4G/DGCJ4RmMGYcKYZo IfFrL5opFxIeDda6NXy9patNg+yoPCvKsxVK68mUQzB7r7vVbfxPEWoD3VDHIIbnQytv98 tOd0Qi79uMqtk6W5PBoTRmbiqhbltN8=;
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 <VI285gBCk6Ka@waldorf.isode.com>; Sun, 14 Dec 2014 16:37:59 +0000
X-SMTP-Protocol-Errors: PIPELINING
From: Alexey Melnikov <alexey.melnikov@isode.com>
Message-Id: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com>
Date: Sun, 14 Dec 2014 16:41:54 +0000
To: "cfrg@irtf.org" <cfrg@irtf.org>
X-Mailer: iPad Mail (12B435)
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary=Apple-Mail-CB50574D-D5A1-4527-A9CF-D1E517072483
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/fiuCRF6dQMwrsK5LXg1P6hnJKmg
Subject: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
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, 14 Dec 2014 16:38:01 -0000

--Apple-Mail-CB50574D-D5A1-4527-A9CF-D1E517072483
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Hi,
This message starts 3 weeks adoption call for draft-ladd-spake2. Please repl=
y to this message or directly to CFRG chairs, stating one of the following

1) that you are happy to adopt the draft as a starting point
2) that you are not happy to adopt this draft
or
3) that you think the document needs more work before the RG should consider=
 adopting it

While detailed document reviews are generally welcome, this not a call to pr=
ovide detailed comments on the document.

Alexey,
On bahalf of CFRG chairs.


--Apple-Mail-CB50574D-D5A1-4527-A9CF-D1E517072483
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div><span></span></div><div><meta http-equ=
iv=3D"content-type" content=3D"text/html; charset=3Dutf-8">Hi,<div><span sty=
le=3D"background-color: rgba(255, 255, 255, 0);">This message starts 3 weeks=
 adoption call for&nbsp;</span><span style=3D"background-color: rgba(255, 25=
5, 255, 0); font-size: medium;">draft-ladd-spake2. Please reply to this mess=
age or directly to CFRG chairs, stating one of the following</span></div><di=
v><span style=3D"background-color: rgba(255, 255, 255, 0); font-size: medium=
;"><br></span></div><div><span style=3D"background-color: rgba(255, 255, 255=
, 0); font-size: medium;">1) that you are happy to adopt the draft as a star=
ting point</span></div><div><span style=3D"background-color: rgba(255, 255, 2=
55, 0); font-size: medium;">2) that you are not happy to adopt this draft</s=
pan></div><div><font size=3D"3">or</font></div><div><font size=3D"3">3) that=
 you think the document needs more work before the RG should consider adopti=
ng it</font></div><div><font size=3D"3"><br></font></div><div><font size=3D"=
3">While detailed document reviews are generally welcome, this not a call to=
 provide detailed comments on the document.</font></div><div><font size=3D"3=
"><br></font></div><div><font size=3D"3">Alexey,</font></div><div><font size=
=3D"3">On bahalf of CFRG chairs.</font></div><div><font size=3D"3"><br></fon=
t></div></div></body></html>=

--Apple-Mail-CB50574D-D5A1-4527-A9CF-D1E517072483--


From nobody Sun Dec 14 13:16:17 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 06A971A0196 for <cfrg@ietfa.amsl.com>; Sun, 14 Dec 2014 13:16:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.951
X-Spam-Level: 
X-Spam-Status: No, score=0.951 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, 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 CoCyGdlWvEy1 for <cfrg@ietfa.amsl.com>; Sun, 14 Dec 2014 13:16:13 -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 5C2901A0151 for <cfrg@irtf.org>; Sun, 14 Dec 2014 13:16:13 -0800 (PST)
Received: by mail-qa0-f42.google.com with SMTP id n4so943249qaq.1 for <cfrg@irtf.org>; Sun, 14 Dec 2014 13:16: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:content-transfer-encoding; bh=Er154abId/IUOiHBEDplHyTl105ovYJDbkwzPIdwEfY=; b=sOrHoTBF8CEkacq5sdV8HMpLoJJ3S3OLGnzU14u+adTbHZ/KTMO6nZuW70qpWtNzg5 rdPY3wih2b9NtqhSleNDucp00Tbe5/NfMnTCkTIRgsKbA1MdeMzJpaC5aDyUYMgcOlNW zz+nj3tDzWiwRj2zBzDOA/Sflx69CzeHnYvDbppIYy4SSqOktbzNR5WHuD0hK53tVp9E 0+2pNIzSDeEbTOVnxGchSW4+2l/xJGbesm/i1FUS7imLlsiHux7CEYIHySx+oPksHxGE m/xD8osRde75lIypHrHNX8vp6MQhrBWi+GOUdBIHxe9CvFeGC1X0yBej9zpvlOZM0w8K DVmQ==
MIME-Version: 1.0
X-Received: by 10.224.34.133 with SMTP id l5mr50428091qad.44.1418591772545; Sun, 14 Dec 2014 13:16:12 -0800 (PST)
Received: by 10.140.91.133 with HTTP; Sun, 14 Dec 2014 13:16:12 -0800 (PST)
In-Reply-To: <CACsn0c=uyPT6xa4CsXPeAV31QeeO+HfsCXAxt7Ba6NOt_Y2hiA@mail.gmail.com>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk> <CACsn0c=uyPT6xa4CsXPeAV31QeeO+HfsCXAxt7Ba6NOt_Y2hiA@mail.gmail.com>
Date: Sun, 14 Dec 2014 13:16:12 -0800
Message-ID: <CABqy+sr1T-VwQx1NaRA+xvnqVn7smjs2+YrG2Uz1Q+8M6c3hng@mail.gmail.com>
From: Robert Ransom <rransom.8774@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/p3UX-CEC88xMnIKvUcw4FUYgphI
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: Sun, 14 Dec 2014 21:16:16 -0000

On 12/12/14, Watson Ladd <watsonbladd@gmail.com> wrote:
> On Fri, Dec 12, 2014 at 2:13 AM, Paterson, Kenny
> <Kenny.Paterson@rhul.ac.uk> wrote:
>> Dear Ben,
>>
>> Thanks for your continued contributions to this discussion. I think you
>> make quite powerful arguments for keeping  draft-black-rpgecc-00 the way
>> it is and not adding an extra criterion concerning divisibility of
>> co-factors.
>>
>> Nevertheless, based on previous discussions on list (and discussions off
>> list that Alexei and I have been having in our role as co-chairs), we ha=
ve
>> reason to believe that we will have a strong chance of making progress a=
s
>> a group, and unblocking our current logjam, if your team were to add thi=
s
>> criterion to the draft.
>>
>> If you were also to add explicit isogenies enabling mapping to Montgomer=
y
>> form curves for the specific primes/curves at the 128-bit and 192-bit
>> security levels, then this would also help move things along too.
>>
>> As co-chairs, then, we would like to strongly recommend that your team
>> take these two significant steps to modify your draft. Modulo my
>> understanding of IRTF processes, we would then be in a position to call
>> for consensus on formal adoption of the draft by CFRG.
>
> Why can't the turner-curve25519 draft be adopted? We could add the
> curves for the 2^389-21 prime that Ilari has computed. As one of the
> coauthors I'm surprised that no discussion of the shortcomings of this
> draft, has taken place, instead we've been modifying a draft that was
> further from being useful until it can be adopted.

I second Watson Ladd's concern about the chairs' apparent preference
for adopting a document based on draft-black-rpgecc-00 instead of
draft-turner-thecurve25519function-01.  By the authors' own public
statements, draft-black-rpgecc-00 was knowingly and intentionally
technically inferior to draft-turner-thecurve25519function-01 in each
of the following ways:

* draft-black-rpgecc-00 specifies a curve modulo the prime 2^255-19
  which is neither isomorphic nor isogenous to the widely deployed
  Curve25519, and which thus is not compatible with the many existing
  independent, interoperable implementations of ECDH on Curve25519.
  This incompatibility is likely to prevent the reuse of much of the
  implementation experience which Curve25519 has acquired.

  (<http://www.ietf.org/mail-archive/web/cfrg/current/msg05606.html>
  and
  <http://www.ietf.org/mail-archive/web/cfrg/current/msg05631.html>;
  see also
  <http://www.ietf.org/mail-archive/web/cfrg/current/msg05629.html>
  and
  <http://www.ietf.org/mail-archive/web/cfrg/current/msg05646.html>)

* draft-black-rpgecc-00 specifies a curve modulo the prime 2^255-19
  which introduces a security vulnerability into implementations of
  ECDH (and some implementations of other protocols) which rely on the
  simplest implementation strategy, i.e. the Montgomery ladder, which
  does not exist for the existing, widely implemented and deployed
  Curve25519.

  (<http://www.ietf.org/mail-archive/web/cfrg/current/msg05606.html>;
  see also
  <http://www.ietf.org/mail-archive/web/cfrg/current/msg05629.html>)

* draft-black-rpgecc-00 does not state, in the text of the draft
  itself, any algorithms to perform point addition or scalar
  multiplication on the curves that it specifies.

  (<http://www.ietf.org/mail-archive/web/cfrg/current/msg05631.html>
  states that this omission is a flaw in draft-black-rpgecc-00;
  <http://www.ietf.org/mail-archive/web/cfrg/current/msg05637.html>
  states that the omission of such algorithms is intentional)

* Section 10 (=E2=80=98Intellectual Property Rights=E2=80=99) of draft-blac=
k-rpgecc-00
  makes a general statement about the IPR status of the curves
  specified in the document.  Although that is not a statement about
  =E2=80=98specific IPR=E2=80=99, which section 11 of RFC 3979 (BCP 79) exp=
licitly
  forbids, I believe that the IPR statement in draft-black-rpgecc-00
  raises some of the same concerns which section 11 of RFC 3979 states
  as the rationale for forbidding IETF Documents and RFC Editor
  Documents from including statements about =E2=80=98specific IPR=E2=80=99.=
  Thus, I
  believe that section 10 of draft-black-rpgecc-00 is in violation of
  BCP 79.  The authors of draft-black-rpgecc-00 stated in the draft
  that it was =E2=80=98submitted in full conformance with the provisions of
  BCP 78 and BCP 79=E2=80=99.


In addition to the above flaws which were known to and intended by the
authors of draft-black-rpgecc-00 at the time that they submitted it,
draft-black-rpgecc-00 omits several technical details of ECDH (the
precise point format and handling of =E2=80=98invalid=E2=80=99 public-key b=
itstring
inputs) which the extensive implementation experience of Curve25519
has shown are needed to ensure interoperability and forward
compatibility and to protect the privacy of users of ECDH
implementations on the Internet.
draft-turner-thecurve25519function-01 includes those technical
details.


Adopting draft-black-rpgecc-00 (or a revised version) as a CFRG
document, instead of (a version of) the previously existing
draft-turner-thecurve25519function-01, would raise two serious
concerns:

* As Watson Ladd has noted, draft-black-rpgecc-00 would require more
  effort, and thus more time, for CFRG to modify it into a useful
  product than draft-turner-thecurve25519function-01 would.

* Adoption of draft-black-rpgecc-00 would reward its authors, both by
  crediting them as authors of CFRG's resulting document and by giving
  them greater control over CFRG's product.  It is inappropriate for
  IETF to reward the authors of draft-black-rpgecc-00 for submitting a
  document to CFRG that they knew to be inferior to a previous
  submission.

The CFRG chairs have expressed a preference for adopting a version of
draft-black-rpgecc, instead of a version of
draft-turner-thecurve25519function.  Given the above concerns, why do
the chairs believe that adoption of draft-black-rpgecc as a CFRG
document is in the best interests of CFRG and of the Internet as a
whole?



> I'm also surprised that we aren't using 2^389-21 for the same reasons
> cited for using 2^255-19. We do not need complete agreement to go
> forward. If we want a consensus result we'll still have gratuitous
> incompatibilities and an unforced loss of additional performance, in
> order to get one particular group on board. A process justified as
> being driven by technical criteria has devolved into an openly
> political horse trade, where we're supposed to be happy that the
> 2^255-19 prime is used, and ignore the issues with 2^384-317.

I second this concern as well.  I have seen very little support in the
CFRG for the 384-bit curve specified in draft-black-rpgecc-00, and I
do not believe that the short discussion of 2^389-21 as a modulus for
elliptic-curve cryptography constitutes a consensus of CFRG or shows
that 2^389-21 is technically superior to or has implementation
experience comparable to 2^414-17 or 2^448-2^224-1 as moduli for ECC.



I have a further concern regarding the intentional omission of point
addition and scalar multiplication algorithms from the text of
draft-black-rpgecc-00.

Instead of providing such algorithms in the text of the draft,
draft-black-rpgecc-00 lists <https://eprint.iacr.org/2014/130.pdf>,
which contains several scalar multiplication algorithms for those
curves, as an informative reference (listed as [MSR] in the draft).
(I reviewed each of the draft's references (non-RFC references were
accessed on 2014-12-10); no other document listed as a reference
contains a point addition algorithm for Edwards curves, and no other
document that I was able to retrieve contains a scalar multiplication
algorithm for any type of elliptic curve.)

Mike Hamburg has informed the CFRG that he believes the fixed-base
scalar multiplication algorithm stated in [MSR] and used in Microsoft
Corporation's software implemented based on [MSR] is Covered by patent
US7602907.  That patent is assigned to Microsoft Corporation, and thus
meets the conditions of section 6.6 of RFC 3979 (part of BCP 79) for
each employee of Microsoft Corporation or its subsidiary Microsoft
Research.

I believe that patent US7602907, which Covers an algorithm to be used
in elliptic-curve cryptography, was =E2=80=98reasonably and personally know=
n=E2=80=99,
as defined in BCP 79, to each Microsoft Corporation employee who
participated in this IETF Internet Standards Process regarding
elliptic-curve cryptography throughout their participation.

Further, each of the authors of draft-black-rpgecc-00 has actually
known of patent US7602907, and of Mike Hamburg's belief that it Covers
an algorithm stated in [MSR] and used in Microsoft's software, since
no later than Mike Hamburg's public statement to CFRG on 2014-09-16.

(<http://www.ietf.org/mail-archive/web/cfrg/current/msg05130.html> and
<http://www.ietf.org/mail-archive/web/cfrg/current/msg05132.html>)

It is troubling to me that the authors of draft-black-rpgecc-00 would
direct readers of their draft to [MSR] as the only source of point
addition or scalar multiplication algorithms for the curves specified
in the draft, given that they indisputably knew at the time that they
submitted the draft that [MSR] contains an algorithm which some of the
authors would clearly be required, by the text of section 6.1.1 of RFC
3979 (BCP 79), to provide an IPR disclosure for if they had included
it in the text of their draft.


Given the patent situation regarding [MSR], it is also troubling to me
that two of the intentional technical flaws of draft-black-rpgecc-00
-- incompatibility with existing Curve25519 software, and an
unnecessary security vulnerability in implementations based on the
simple Montgomery-ladder algorithm -- would have made readers of the
draft more likely to write new implementations of the curve specified
therein, and thus more likely to rely on the implementation guidance
provided in [MSR].


I learned of this patent Covering an algorithm specified in [MSR]
during an off-list conversation that I initiated with Marsh Ray of
Microsoft Corporation on 2014-09-04.  I placed Mike Hamburg, Alyssa
Rowan, and another person on the CC list of my message, with the
intent that they serve as witnesses to that off-list conversation.
Marsh Ray included Brian LaMacchia and Benjamin Black into that
conversation when he replied; Mike Hamburg and Alyssa Rowan also
participated in the conversation.

I learned of patent US7602907 and its connection to [MSR] from Mike
Hamburg on 2014-09-08, in the course of that off-list conversation.
Marsh Ray, Brian LaMacchia, and Benjamin Black also received that
message on 2014-09-08, eight days before Mike Hamburg provided that
information to CFRG.  I was not aware of any effort by those
participants to provide that information to CFRG.

I believe that neither I nor CFRG would have learned of patent
US7602907 and its connection to [MSR] if I had not initiated that
off-list conversation, or if I had not included Mike Hamburg in that
conversation, or if Mike Hamburg had not previously performed a search
for patents relevant to ECC in order to write software that would not
be Covered by them.


I have two questions on this matter for the CFRG chairs:

* Do the chairs believe that it is ethically acceptable for the
  authors of an Internet draft to

    (a) list as a reference a document which they authored themselves,
        knowing that if they had included the contents of the
        reference into the Internet draft itself, they would have been
        indisputably required by section 6 of RFC 3979 (BCP 79) to
        submit an IPR disclosure regarding that material; and

    (b) make other technical decisions in the contents of the Internet
        draft which are likely to cause the draft's readers to rely on
        the contents of the reference Covered by IPR?

* Do the chairs believe that such conduct should be rewarded by
  adoption of the resulting Internet draft as a group document?



Robert Ransom


From nobody Sun Dec 14 14:28:05 2014
Return-Path: <rstruik.ext@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 E23181A0276 for <cfrg@ietfa.amsl.com>; Sun, 14 Dec 2014 14:28:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.139
X-Spam-Level: 
X-Spam-Status: No, score=-1.139 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, HTML_OBFUSCATE_05_10=0.26, J_CHICKENPOX_54=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 WtZ2iM151AQG for <cfrg@ietfa.amsl.com>; Sun, 14 Dec 2014 14:28:01 -0800 (PST)
Received: from mail-ie0-x229.google.com (mail-ie0-x229.google.com [IPv6:2607:f8b0:4001:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F3BAD1A026F for <cfrg@irtf.org>; Sun, 14 Dec 2014 14:28:00 -0800 (PST)
Received: by mail-ie0-f169.google.com with SMTP id y20so9842984ier.0 for <cfrg@irtf.org>; Sun, 14 Dec 2014 14:28:00 -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; bh=unjc16OTUKD4kdkU8cWDbwQ+O6u7CJ6VL4egfTnMuMU=; b=B+DYLtCihWjzJmLrbdkiEf6tLjpONB7piWRnnrBK3dpyqBc3GVUMT1ccq+670Mxln1 POCarq8nrJF0mByroASHIg1z9VWLTqmWhcTrEV5jP6Hlq74aEh8V2qjm0F7p3Egrc94l u9DCgxgz+N0lHF4hwafPamArWXwnerFVnZRYZ8FoaNupWgHQd+XeQUx7C9cMygtFfD8u SKVhA4x7E/VwDLxZAcaXsbLngqtJH5QizBuMZTZovK9VlLO/g2bxgWP+YDPSEuvsTVGE T91HJ7bOWsmM3BObQEI5GwY36PxEeFv/N+tQHB2Z7P+z+dxYt4EM4Q3/l+FV6CW54uBq lmfw==
X-Received: by 10.50.22.72 with SMTP id b8mr14895506igf.1.1418596080059; Sun, 14 Dec 2014 14:28:00 -0800 (PST)
Received: from [192.168.0.10] (CPE7cb21b2cb904-CM7cb21b2cb901.cpe.net.cable.rogers.com. [99.231.49.38]) by mx.google.com with ESMTPSA id qj6sm4126163igc.1.2014.12.14.14.27.59 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Dec 2014 14:27:59 -0800 (PST)
Message-ID: <548E0EE5.2060901@gmail.com>
Date: Sun, 14 Dec 2014 17:27:49 -0500
From: Rene Struik <rstruik.ext@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>,  "cfrg@irtf.org" <cfrg@irtf.org>
References: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com>
In-Reply-To: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com>
Content-Type: multipart/alternative; boundary="------------010301020801080906080708"
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/mItk0ajOqfJ8NAJliybW9uz7S_8
Subject: Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
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, 14 Dec 2014 22:28:03 -0000

This is a multi-part message in MIME format.
--------------010301020801080906080708
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

Dear Alexey:

I am unhappy with this draft. Besides, I do not understand at all why 
the CFRG co-Chairs choose to take this step (call for adoption of this 
draft, at this specific moment in time) right now. What triggered this? 
This seems to be a random move, at a random moment in time.

I think it would be good if the CFRG leadership could explain its thinking.

Best regards, Rene


    Charter

TheCrypto Forum Research Group(CFRG <https://irtf.org/cfrg>) is a 
general forum for discussing and reviewing uses of cryptographic 
mechanisms, both for network security in general and for theIETF 
<http://ietf.org/>in particular.

TheCFRG <https://irtf.org/cfrg>serves as a bridge between theory and 
practice, bringing new cryptographic techniques to the Internet 
community and promoting an understanding of the use and applicability of 
these mechanisms via Informational RFCs (in the tradition of, e.g.,RFC 
1321 <http://wiki.tools.ietf.org/html/rfc1321>(MD5) andRFC 2104 
<http://wiki.tools.ietf.org/html/rfc2104>(HMAC). Our goal is to provide 
a forum for discussing and analyzing general cryptographic aspects of 
security protocols, and to offer guidance on the use of emerging 
mechanisms and new uses of existing mechanisms.IETF 
<http://ietf.org/>working groups developing protocols that include 
cryptographic elements are welcome to bring questions concerning the 
protocols to theCFRG <https://irtf.org/cfrg>for advice.



Rene


On 12/14/2014 11:41 AM, Alexey Melnikov wrote:
> Hi,
> This message starts 3 weeks adoption call for draft-ladd-spake2. 
> Please reply to this message or directly to CFRG chairs, stating one 
> of the following
>
> 1) that you are happy to adopt the draft as a starting point
> 2) that you are not happy to adopt this draft
> or
> 3) that you think the document needs more work before the RG should 
> consider adopting it
>
> While detailed document reviews are generally welcome, this not a call 
> to provide detailed comments on the document.
>
> Alexey,
> On bahalf of CFRG chairs.
>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


-- 
email: rstruik.ext@gmail.com | Skype: rstruik
cell: +1 (647) 867-5658 | US: +1 (415) 690-7363


--------------010301020801080906080708
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Dear Alexey:<br>
      <br>
      I am unhappy with this draft. Besides, I do not understand at all
      why the CFRG co-Chairs choose to take this step (call for adoption
      of this draft, at this specific moment in time) right now. What
      triggered this? This seems to be a random move, at a random moment
      in time.<br>
      <br>
      I think it would be good if the CFRG leadership could explain its
      thinking.<br>
      <br>
      Best regards, Rene<br>
      <h2 style="margin: 24px 0px 8px; padding: 0px; border: 0px;
        font-family: Georgia, Palatino, Times, 'Times New Roman', serif;
        font-style: normal; font-variant: normal; font-weight: normal;
        font-stretch: inherit; line-height: 28px; font-size: 24px;
        vertical-align: baseline; color: rgb(34, 34, 34);
        letter-spacing: 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;">Charter</h2>
      <p style="margin: 8px 0px; padding: 0px; border: 0px; font-family:
        Georgia, Palatino, Times, 'Times New Roman', serif; font-style:
        normal; font-variant: normal; font-weight: normal; font-stretch:
        inherit; line-height: 24px; font-size: 16px; vertical-align:
        baseline; color: rgb(51, 51, 51); letter-spacing: 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;">The<span
          class="Apple-converted-space"> </span><span class="term"
          style="margin: 0px; padding: 0px; border: 0px; font-family:
          inherit; font-style: italic; font-variant: inherit;
          font-weight: inherit; font-stretch: inherit; line-height:
          inherit; font-size: 16px; vertical-align: baseline;">Crypto
          Forum Research Group</span><span class="Apple-converted-space"> </span>(<a
          href="https://irtf.org/cfrg" style="margin: 0px; padding: 0px;
          border: 0px; font-family: inherit; font-style: inherit;
          font-variant: inherit; font-weight: inherit; font-stretch:
          inherit; line-height: inherit; font-size: 16px;
          vertical-align: baseline; text-decoration: none; color: rgb(0,
          76, 153); word-wrap: break-word;">CFRG</a>) is a general forum
        for discussing and reviewing uses of cryptographic mechanisms,
        both for network security in general and for the<span
          class="Apple-converted-space"> </span><a
          href="http://ietf.org/" style="margin: 0px; padding: 0px;
          border: 0px; font-family: inherit; font-style: inherit;
          font-variant: inherit; font-weight: inherit; font-stretch:
          inherit; line-height: inherit; font-size: 16px;
          vertical-align: baseline; text-decoration: none; color: rgb(0,
          76, 153); word-wrap: break-word;">IETF</a><span
          class="Apple-converted-space"> </span>in particular.</p>
      <p style="margin: 8px 0px; padding: 0px; border: 0px; font-family:
        Georgia, Palatino, Times, 'Times New Roman', serif; font-style:
        normal; font-variant: normal; font-weight: normal; font-stretch:
        inherit; line-height: 24px; font-size: 16px; vertical-align:
        baseline; color: rgb(51, 51, 51); letter-spacing: 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;">The<span
          class="Apple-converted-space"> </span><a
          href="https://irtf.org/cfrg" style="margin: 0px; padding: 0px;
          border: 0px; font-family: inherit; font-style: inherit;
          font-variant: inherit; font-weight: inherit; font-stretch:
          inherit; line-height: inherit; font-size: 16px;
          vertical-align: baseline; text-decoration: none; color: rgb(0,
          76, 153); word-wrap: break-word;">CFRG</a><span
          class="Apple-converted-space"> </span>serves as a bridge
        between theory and practice, bringing new cryptographic
        techniques to the Internet community and promoting an
        understanding of the use and applicability of these mechanisms
        via Informational RFCs (in the tradition of, e.g.,<span
          class="Apple-converted-space"> </span><a
          href="http://wiki.tools.ietf.org/html/rfc1321" style="margin:
          0px; padding: 0px; border: 0px; font-family: inherit;
          font-style: inherit; font-variant: inherit; font-weight:
          inherit; font-stretch: inherit; line-height: inherit;
          font-size: 16px; vertical-align: baseline; text-decoration:
          none; color: rgb(0, 76, 153); word-wrap: break-word;">RFC 1321</a><span
          class="Apple-converted-space"> </span>(MD5) and<span
          class="Apple-converted-space"> </span><a
          href="http://wiki.tools.ietf.org/html/rfc2104" style="margin:
          0px; padding: 0px; border: 0px; font-family: inherit;
          font-style: inherit; font-variant: inherit; font-weight:
          inherit; font-stretch: inherit; line-height: inherit;
          font-size: 16px; vertical-align: baseline; text-decoration:
          none; color: rgb(0, 76, 153); word-wrap: break-word;">RFC 2104</a><span
          class="Apple-converted-space"> </span>(HMAC). Our goal is to
        provide a forum for discussing and analyzing general
        cryptographic aspects of security protocols, and to offer
        guidance on the use of emerging mechanisms and new uses of
        existing mechanisms.<span class="Apple-converted-space"> </span><a
          href="http://ietf.org/" style="margin: 0px; padding: 0px;
          border: 0px; font-family: inherit; font-style: inherit;
          font-variant: inherit; font-weight: inherit; font-stretch:
          inherit; line-height: inherit; font-size: 16px;
          vertical-align: baseline; text-decoration: none; color: rgb(0,
          76, 153); word-wrap: break-word;">IETF</a><span
          class="Apple-converted-space"> </span>working groups
        developing protocols that include cryptographic elements are
        welcome to bring questions concerning the protocols to the<span
          class="Apple-converted-space"> </span><a
          href="https://irtf.org/cfrg" style="margin: 0px; padding: 0px;
          border: 0px; font-family: inherit; font-style: inherit;
          font-variant: inherit; font-weight: inherit; font-stretch:
          inherit; line-height: inherit; font-size: 16px;
          vertical-align: baseline; text-decoration: none; color: rgb(0,
          76, 153); word-wrap: break-word;">CFRG</a><span
          class="Apple-converted-space"> </span>for advice.</p>
      <br>
      <br>
      Rene<br>
      <br>
      <br>
      On 12/14/2014 11:41 AM, Alexey Melnikov wrote:<br>
    </div>
    <blockquote
      cite="mid:BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com"
      type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <div><span></span></div>
      <div>
        <meta http-equiv="content-type" content="text/html;
          charset=windows-1252">
        Hi,
        <div><span style="background-color: rgba(255, 255, 255, 0);">This
            message starts 3 weeks adoption call for </span><span
            style="background-color: rgba(255, 255, 255, 0); font-size:
            medium;">draft-ladd-spake2. Please reply to this message or
            directly to CFRG chairs, stating one of the following</span></div>
        <div><span style="background-color: rgba(255, 255, 255, 0);
            font-size: medium;"><br>
          </span></div>
        <div><span style="background-color: rgba(255, 255, 255, 0);
            font-size: medium;">1) that you are happy to adopt the draft
            as a starting point</span></div>
        <div><span style="background-color: rgba(255, 255, 255, 0);
            font-size: medium;">2) that you are not happy to adopt this
            draft</span></div>
        <div><font size="3">or</font></div>
        <div><font size="3">3) that you think the document needs more
            work before the RG should consider adopting it</font></div>
        <div><font size="3"><br>
          </font></div>
        <div><font size="3">While detailed document reviews are
            generally welcome, this not a call to provide detailed
            comments on the document.</font></div>
        <div><font size="3"><br>
          </font></div>
        <div><font size="3">Alexey,</font></div>
        <div><font size="3">On bahalf of CFRG chairs.</font></div>
        <div><font size="3"><br>
          </font></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Cfrg mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a>
<a class="moz-txt-link-freetext" href="http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/mailman/listinfo/cfrg</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
email: <a class="moz-txt-link-abbreviated" href="mailto:rstruik.ext@gmail.com">rstruik.ext@gmail.com</a> | Skype: rstruik
cell: +1 (647) 867-5658 | US: +1 (415) 690-7363</pre>
  </body>
</html>

--------------010301020801080906080708--


From nobody Sun Dec 14 14:38: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 1948B1A02F1 for <cfrg@ietfa.amsl.com>; Sun, 14 Dec 2014 14:38:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1
X-Spam-Level: 
X-Spam-Status: No, score=-1 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, FREEMAIL_REPLY=1, 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 DHfHOE8K4kCD for <cfrg@ietfa.amsl.com>; Sun, 14 Dec 2014 14:38:15 -0800 (PST)
Received: from mail-yk0-x22c.google.com (mail-yk0-x22c.google.com [IPv6:2607:f8b0:4002:c07::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A62FE1A02BE for <cfrg@irtf.org>; Sun, 14 Dec 2014 14:38:15 -0800 (PST)
Received: by mail-yk0-f172.google.com with SMTP id 131so4477512ykp.17 for <cfrg@irtf.org>; Sun, 14 Dec 2014 14:38:14 -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=vq5TmuixF3h4X7mf2xJ7In4nDTAyrd95wv/Vq+2Wubk=; b=U6Q3hck08Gx7YN2ZkU7qHkYpp/q9eivgiS/qvXJ2mcyFhuudHHsRIx0AopMFbY9h6n kS5+EvIkJjhFnVJ/FapO0UQwhMkm+fZC/SgUsbBH0jhqT9wxRI8edS7gmgSCDq7pyT1L gT12f2opvIWbNymQZSg3x22BkPtHK27TDx4yycb1vVT+/lh5BjcU8prwDkq9cGdY/VW1 Jlyd1f/ugDAg6O8doYSBnUMvkxvvzzFc739CgVEbDmKmRV60soJlyLuJnxhJ9Z0aJqMB 41Elsw58LP0TERXutrwKzMoVUI6d4rsufvPkyHMe3KKUn/NuZw0OAxuvtxPOG0+5xmVn WOqA==
MIME-Version: 1.0
X-Received: by 10.236.11.45 with SMTP id 33mr20103687yhw.4.1418596694578; Sun, 14 Dec 2014 14:38:14 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Sun, 14 Dec 2014 14:38:14 -0800 (PST)
In-Reply-To: <548E0EE5.2060901@gmail.com>
References: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com> <548E0EE5.2060901@gmail.com>
Date: Sun, 14 Dec 2014 14:38:14 -0800
Message-ID: <CACsn0cnMPFCtxVnqMtWRWK-WwOV4A8N4bUJhiSmxtQzcrCwo9Q@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Rene Struik <rstruik.ext@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/QE6E5sOAhfdOcpqS7bZTaZkG_sg
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
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, 14 Dec 2014 22:38:17 -0000

On Sun, Dec 14, 2014 at 2:27 PM, Rene Struik <rstruik.ext@gmail.com> wrote:
> Dear Alexey:
>
> I am unhappy with this draft. Besides, I do not understand at all why the
> CFRG co-Chairs choose to take this step (call for adoption of this draft, at
> this specific moment in time) right now. What triggered this? This seems to
> be a random move, at a random moment in time.

>
> I think it would be good if the CFRG leadership could explain its thinking.
>
> Best regards, Rene
>
> Charter
>
> The Crypto Forum Research Group (CFRG) is a general forum for discussing and
> reviewing uses of cryptographic mechanisms, both for network security in
> general and for the IETF in particular.
>
> The CFRG serves as a bridge between theory and practice, bringing new
> cryptographic techniques to the Internet community and promoting an
> understanding of the use and applicability of these mechanisms via
> Informational RFCs (in the tradition of, e.g., RFC 1321 (MD5) and RFC 2104
> (HMAC). Our goal is to provide a forum for discussing and analyzing general
> cryptographic aspects of security protocols, and to offer guidance on the
> use of emerging mechanisms and new uses of existing mechanisms. IETF working
> groups developing protocols that include cryptographic elements are welcome
> to bring questions concerning the protocols to the CFRG for advice.
>
>
>
> Rene
>
>
>
> On 12/14/2014 11:41 AM, Alexey Melnikov wrote:
>
> Hi,
> This message starts 3 weeks adoption call for draft-ladd-spake2. Please
> reply to this message or directly to CFRG chairs, stating one of the
> following
>
> 1) that you are happy to adopt the draft as a starting point
> 2) that you are not happy to adopt this draft
> or
> 3) that you think the document needs more work before the RG should consider
> adopting it
>
> While detailed document reviews are generally welcome, this not a call to
> provide detailed comments on the document.
>
> Alexey,
> On bahalf of CFRG chairs.
>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>
>
>
> --
> email: rstruik.ext@gmail.com | Skype: rstruik
> cell: +1 (647) 867-5658 | US: +1 (415) 690-7363
>
>
> _______________________________________________
> 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 Sun Dec 14 14:42:34 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 6E1481A028A for <cfrg@ietfa.amsl.com>; Sun, 14 Dec 2014 14:42:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1
X-Spam-Level: 
X-Spam-Status: No, score=-1 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, FREEMAIL_REPLY=1, 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 IS0OxAVpcETA for <cfrg@ietfa.amsl.com>; Sun, 14 Dec 2014 14:42:31 -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 E4A4D1A01F6 for <cfrg@irtf.org>; Sun, 14 Dec 2014 14:42:30 -0800 (PST)
Received: by mail-yk0-f182.google.com with SMTP id 131so4465327ykp.41 for <cfrg@irtf.org>; Sun, 14 Dec 2014 14:42:30 -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=2Z6wh1dz0zVMO0tGGkIMYTvhdi7momCuKzbUACm4pt0=; b=hhj2HEpxqHcGxbLX4evKgzDJiwvv2fgusF99mZqYwWXZGF+0RAI0c5FJqw0TRj5Ewd UlbehajspTv2wuMbSpQpwwwfFy70EQDf8c1zeXcv/phnsoT0Wb6eVqMcRUwZnUE/pwsV 27ALQQD7x63EjDWb00g8NZEaKSF5+XdbWtv5H5ZVY/QIU2Ahz5UdfLDFBNcpnYMRNCGz fqKCk1LkEB/ZP0ZxVHbaEFwT4l6eeGG9h8mwU+lHaIaFIh6OT9qjXDrGES1MO1pGkYXQ UC4XvQlm5A+pW8VYpTex57SLfqJO46sGT3j0/NyR5EnvjX7y86pHSVXFkVzE18NE3itq Wq0w==
MIME-Version: 1.0
X-Received: by 10.236.53.69 with SMTP id f45mr20122803yhc.65.1418596950195; Sun, 14 Dec 2014 14:42:30 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Sun, 14 Dec 2014 14:42:30 -0800 (PST)
In-Reply-To: <CACsn0cnMPFCtxVnqMtWRWK-WwOV4A8N4bUJhiSmxtQzcrCwo9Q@mail.gmail.com>
References: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com> <548E0EE5.2060901@gmail.com> <CACsn0cnMPFCtxVnqMtWRWK-WwOV4A8N4bUJhiSmxtQzcrCwo9Q@mail.gmail.com>
Date: Sun, 14 Dec 2014 14:42:30 -0800
Message-ID: <CACsn0c=8wy4N6GyyG+U4cju9PW3G1e5jxFx64+GB9BU+YP379g@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Rene Struik <rstruik.ext@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/6kWpgy0tXYQQGxeL5Aa869EucZI
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
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, 14 Dec 2014 22:42:32 -0000

My apologies for the truncated reply.

On Sun, Dec 14, 2014 at 2:38 PM, Watson Ladd <watsonbladd@gmail.com> wrote:
> On Sun, Dec 14, 2014 at 2:27 PM, Rene Struik <rstruik.ext@gmail.com> wrote:
>> Dear Alexey:
>>
>> I am unhappy with this draft. Besides, I do not understand at all why the
>> CFRG co-Chairs choose to take this step (call for adoption of this draft, at
>> this specific moment in time) right now. What triggered this? This seems to
>> be a random move, at a random moment in time.

This is option 2, correct? You don't think we need another PAKE, at
all. Or is this Option 3: you think it is too immature to adopt as a
work item today?

This is in accordance with a previous plan, once it became clear that
there was a shortage of PAKE proposals that could be used with ECC and
that had security analyses. Dragonfly has been contentious precisely
because of it's 1990's style design: a heuristic modification to avoid
certain attacks The hope is that by using an already published design,
we will have a more secure protocol.

Sincerely,
Watson Ladd

>
>>
>> I think it would be good if the CFRG leadership could explain its thinking.
>>
>> Best regards, Rene
>>
>> Charter
>>
>> The Crypto Forum Research Group (CFRG) is a general forum for discussing and
>> reviewing uses of cryptographic mechanisms, both for network security in
>> general and for the IETF in particular.
>>
>> The CFRG serves as a bridge between theory and practice, bringing new
>> cryptographic techniques to the Internet community and promoting an
>> understanding of the use and applicability of these mechanisms via
>> Informational RFCs (in the tradition of, e.g., RFC 1321 (MD5) and RFC 2104
>> (HMAC). Our goal is to provide a forum for discussing and analyzing general
>> cryptographic aspects of security protocols, and to offer guidance on the
>> use of emerging mechanisms and new uses of existing mechanisms. IETF working
>> groups developing protocols that include cryptographic elements are welcome
>> to bring questions concerning the protocols to the CFRG for advice.
>>
>>
>>
>> Rene
>>
>>
>>
>> On 12/14/2014 11:41 AM, Alexey Melnikov wrote:
>>
>> Hi,
>> This message starts 3 weeks adoption call for draft-ladd-spake2. Please
>> reply to this message or directly to CFRG chairs, stating one of the
>> following
>>
>> 1) that you are happy to adopt the draft as a starting point
>> 2) that you are not happy to adopt this draft
>> or
>> 3) that you think the document needs more work before the RG should consider
>> adopting it
>>
>> While detailed document reviews are generally welcome, this not a call to
>> provide detailed comments on the document.
>>
>> Alexey,
>> On bahalf of CFRG chairs.
>>
>>
>>
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> http://www.irtf.org/mailman/listinfo/cfrg
>>
>>
>>
>> --
>> email: rstruik.ext@gmail.com | Skype: rstruik
>> cell: +1 (647) 867-5658 | US: +1 (415) 690-7363
>>
>>
>> _______________________________________________
>> 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



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


From nobody Sun Dec 14 17:23:59 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 BA00A1A0277 for <cfrg@ietfa.amsl.com>; Sun, 14 Dec 2014 17:23:57 -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 v5vhCIYxA2dk for <cfrg@ietfa.amsl.com>; Sun, 14 Dec 2014 17:23:56 -0800 (PST)
Received: from mail-ie0-x22f.google.com (mail-ie0-x22f.google.com [IPv6:2607:f8b0:4001:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4D0F41A0270 for <cfrg@irtf.org>; Sun, 14 Dec 2014 17:23:56 -0800 (PST)
Received: by mail-ie0-f175.google.com with SMTP id x19so9636455ier.6 for <cfrg@irtf.org>; Sun, 14 Dec 2014 17:23: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:from:date:message-id:subject:to :cc:content-type; bh=orOjkodcL0H6O6ECgNacrFYQ8fSl8/DuzrISwbGkY14=; b=Bdxn2Ts6bWBgCznK5m7ElOmrJnMAH6imjpy/xQFx/VQ3drpzcjd9+/atmJRaq7z3tS pvX0YjGGl+xZzEXRHNqhQoAB1bQCuBWHZjE1CcK9BxtyrU2FQtpE3DbV4mI9X1ejZPuN P1nefdFBCIR3EFEVFSVK9Htq78JcgU8VB/rZHA6OvSHWx6lSqo8ANzujThGfrm7bHr46 RoMh78ZzxpyMZeIGqzXpg+z3/ED+yeXm9uA+IKOTSXz6FBFXK8qXt9QdwaG7hIT9i4K/ /zpzL6+T7WG5lFfdlpnljgQmSHSOWMnl/gkfZADAquGBYfkQTyk5AhSUSzH2sdzFuKcx helQ==
X-Received: by 10.107.37.73 with SMTP id l70mr25114967iol.63.1418606635101; Sun, 14 Dec 2014 17:23:55 -0800 (PST)
MIME-Version: 1.0
Received: by 10.107.132.211 with HTTP; Sun, 14 Dec 2014 17:23:34 -0800 (PST)
In-Reply-To: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com>
References: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com>
From: David Leon Gil <coruus@gmail.com>
Date: Sun, 14 Dec 2014 17:23:34 -0800
Message-ID: <CAA7UWsVSem9uyA+kvfnRq8E5nEX2D=P9yf054iqK9t1g_YnYOg@mail.gmail.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/V0GGhRXuRgBNeNu033VxqnriIro
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
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, 15 Dec 2014 01:23:58 -0000

On Sun, Dec 14, 2014 at 8:41 AM, Alexey Melnikov
<alexey.melnikov@isode.com> wrote:
> Hi,
> This message starts 3 weeks adoption call for draft-ladd-spake2. Please
> reply to this message or directly to CFRG chairs, stating one of the
> following
>
> 1) that you are happy to adopt the draft as a starting point

I am happy for draft-ladd-spake2 to be adopted as a starting point for
discussion.

(I do not have any firm view on whether SPAKE2 should be recommended
by the CFRG, but the draft is concise and clear enough that it will be
useful to discuss it.)


From nobody Mon Dec 15 03:05:32 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 83FB21A1B0D for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 03:05:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.149
X-Spam-Level: 
X-Spam-Status: No, score=-1.149 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, HTML_OBFUSCATE_05_10=0.26, J_CHICKENPOX_54=0.6, 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 gPvAPUO07xrD for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 03:05:27 -0800 (PST)
Received: from statler.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id 495FD1A1B06 for <cfrg@irtf.org>; Mon, 15 Dec 2014 03:05:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1418641524; d=isode.com; s=selector; i=@isode.com; bh=0XLtAHAG8HMx14+/k9BxLaRRVrK0PUlPgorvd9ceHbQ=; 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=qEDq0t7q7GQw6zSS5o1GT+rsd00+eZQWRfKMtCEPjf+nYgpzMyfCoP/epb+VA/QjS8ws79 vUOvPiO6HCQtun8KmXJPN/ux1F0RKE0HtWDJviTmgjHssAKVXHI1C6zN4jDj8SWLhSY16A muN/Wo9MP8pnaArKPxG8e32tK2PrOM4=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215])  by statler.isode.com (submission channel) via TCP with ESMTPSA  id <VI7AcAB3u7CL@statler.isode.com>; Mon, 15 Dec 2014 11:05:24 +0000
Message-ID: <548EC06A.6090900@isode.com>
Date: Mon, 15 Dec 2014 11:05:14 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
To: Rene Struik <rstruik.ext@gmail.com>, "cfrg@irtf.org" <cfrg@irtf.org>
References: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com> <548E0EE5.2060901@gmail.com>
In-Reply-To: <548E0EE5.2060901@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------030609070504090403030309"
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ciBydUOZHMpxFiAW1hbRWsL2woQ
Subject: Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
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, 15 Dec 2014 11:05:30 -0000

--------------030609070504090403030309
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

Hi Rene,

On 14/12/2014 22:27, Rene Struik wrote:
> Dear Alexey:
>
> I am unhappy with this draft.
A one sentence summary of why you think it should not be accepted as a 
RG document (as opposed to being accepted and then fixed up later) would 
be appreciated.
> Besides, I do not understand at all why the CFRG co-Chairs choose to 
> take this step (call for adoption of this draft, at this specific 
> moment in time) right now. What triggered this? This seems to be a 
> random move, at a random moment in time.
Chairs have a backlog of non EC related stuff to go through. While some 
of it has to be dealt with serially, other things can progress in 
parallel. I was already on record saying that Watson's earlier request 
to accept the document was recorded 
(https://www.ietf.org/mail-archive/web/cfrg/current/msg05250.html) and I 
wanted to deal with it. Maybe timing of my email was not perfect because 
of the ongoing EC discussion, but timing is *never* right in CFRG...

Best Regards,
Alexey
> I think it would be good if the CFRG leadership could explain its 
> thinking.
>
> Best regards, Rene
>
>
>     Charter
>
> TheCrypto Forum Research Group(CFRG <https://irtf.org/cfrg>) is a 
> general forum for discussing and reviewing uses of cryptographic 
> mechanisms, both for network security in general and for theIETF 
> <http://ietf.org/>in particular.
>
> TheCFRG <https://irtf.org/cfrg>serves as a bridge between theory and 
> practice, bringing new cryptographic techniques to the Internet 
> community and promoting an understanding of the use and applicability 
> of these mechanisms via Informational RFCs (in the tradition of, 
> e.g.,RFC 1321 <http://wiki.tools.ietf.org/html/rfc1321>(MD5) andRFC 
> 2104 <http://wiki.tools.ietf.org/html/rfc2104>(HMAC). Our goal is to 
> provide a forum for discussing and analyzing general cryptographic 
> aspects of security protocols, and to offer guidance on the use of 
> emerging mechanisms and new uses of existing mechanisms.IETF 
> <http://ietf.org/>working groups developing protocols that include 
> cryptographic elements are welcome to bring questions concerning the 
> protocols to theCFRG <https://irtf.org/cfrg>for advice.
>
>
>
> Rene
>
>
> On 12/14/2014 11:41 AM, Alexey Melnikov wrote:
>> Hi,
>> This message starts 3 weeks adoption call for draft-ladd-spake2. 
>> Please reply to this message or directly to CFRG chairs, stating one 
>> of the following
>>
>> 1) that you are happy to adopt the draft as a starting point
>> 2) that you are not happy to adopt this draft
>> or
>> 3) that you think the document needs more work before the RG should 
>> consider adopting it
>>
>> While detailed document reviews are generally welcome, this not a 
>> call to provide detailed comments on the document.
>>
>> Alexey,
>> On bahalf of CFRG chairs.
>>


--------------030609070504090403030309
Content-Type: text/html; charset=windows-1252
Content-transfer-encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dwindows-1252"
      http-equiv=3D"Content-Type">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    Hi Rene,<br>
    <br>
    On 14/12/2014 22:27, Rene Struik wrote:<br>
    <blockquote cite=3D"mid:548E0EE5.2060901@gmail.com" type=3D"cite">
      <meta content=3D"text/html; charset=3Dwindows-1252"
        http-equiv=3D"Content-Type">
      <div class=3D"moz-cite-prefix">Dear Alexey:<br>
        <br>
        I am unhappy with this draft.</div>
    </blockquote>
    A one sentence summary of why you think it should not be accepted as
    a RG document (as opposed to being accepted and then fixed up later)
    would be appreciated.<br>
    <blockquote cite=3D"mid:548E0EE5.2060901@gmail.com" type=3D"cite">
      <div class=3D"moz-cite-prefix">Besides, I do not understand at all
        why the CFRG co-Chairs choose to take this step (call for
        adoption of this draft, at this specific moment in time) right
        now. What triggered this? This seems to be a random move, at a
        random moment in time.<br>
      </div>
    </blockquote>
    Chairs have a backlog of non EC related stuff to go through. While
    some of it has to be dealt with serially, other things can progress
    in parallel. I was already on record saying that Watson's earlier
    request to accept the document was recorded
    (<a class=3D"moz-txt-link-freetext" href=3D"https://www.ietf.org/mail-ar=
chive/web/cfrg/current/msg05250.html">https://www.ietf.org/mail-archive/web/=
cfrg/current/msg05250.html</a>)
    and I wanted to deal with it. Maybe timing of my email was not
    perfect because of the ongoing EC discussion, but timing is *never*
    right in CFRG...<br>
    <br>
    Best Regards,<br>
    Alexey<br>
    <blockquote cite=3D"mid:548E0EE5.2060901@gmail.com" type=3D"cite">
      <div class=3D"moz-cite-prefix">I think it would be good if the CFRG
        leadership could explain its thinking.<br>
        <br>
        Best regards, Rene<br>
        <h2 style=3D"margin: 24px 0px 8px; padding: 0px; border: 0px;
          font-family: Georgia, Palatino, Times, 'Times New Roman',
          serif; font-style: normal; font-variant: normal; font-weight:
          normal; font-stretch: inherit; line-height: 28px; font-size:
          24px; vertical-align: baseline; color: rgb(34, 34, 34);
          letter-spacing: 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;">Charter</h2>
        <p style=3D"margin: 8px 0px; padding: 0px; border: 0px;
          font-family: Georgia, Palatino, Times, 'Times New Roman',
          serif; font-style: normal; font-variant: normal; font-weight:
          normal; font-stretch: inherit; line-height: 24px; font-size:
          16px; vertical-align: baseline; color: rgb(51, 51, 51);
          letter-spacing: 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;">The<span class=3D"Apple-converted-space">=A0</span><span
            class=3D"term" style=3D"margin: 0px; padding: 0px; border: 0px;
            font-family: inherit; font-style: italic; font-variant:
            inherit; font-weight: inherit; font-stretch: inherit;
            line-height: inherit; font-size: 16px; vertical-align:
            baseline;">Crypto Forum Research Group</span><span
            class=3D"Apple-converted-space">=A0</span>(<a
            moz-do-not-send=3D"true" href=3D"https://irtf.org/cfrg"
            style=3D"margin: 0px; padding: 0px; border: 0px; font-family:
            inherit; font-style: inherit; font-variant: inherit;
            font-weight: inherit; font-stretch: inherit; line-height:
            inherit; font-size: 16px; vertical-align: baseline;
            text-decoration: none; color: rgb(0, 76, 153); word-wrap:
            break-word;">CFRG</a>) is a general forum for discussing and
          reviewing uses of cryptographic mechanisms, both for network
          security in general and for the<span
            class=3D"Apple-converted-space">=A0</span><a
            moz-do-not-send=3D"true" href=3D"http://ietf.org/"
            style=3D"margin: 0px; padding: 0px; border: 0px; font-family:
            inherit; font-style: inherit; font-variant: inherit;
            font-weight: inherit; font-stretch: inherit; line-height:
            inherit; font-size: 16px; vertical-align: baseline;
            text-decoration: none; color: rgb(0, 76, 153); word-wrap:
            break-word;">IETF</a><span class=3D"Apple-converted-space">=A0</=
span>in
          particular.</p>
        <p style=3D"margin: 8px 0px; padding: 0px; border: 0px;
          font-family: Georgia, Palatino, Times, 'Times New Roman',
          serif; font-style: normal; font-variant: normal; font-weight:
          normal; font-stretch: inherit; line-height: 24px; font-size:
          16px; vertical-align: baseline; color: rgb(51, 51, 51);
          letter-spacing: 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;">The<span class=3D"Apple-converted-space">=A0</span><a
            moz-do-not-send=3D"true" href=3D"https://irtf.org/cfrg"
            style=3D"margin: 0px; padding: 0px; border: 0px; font-family:
            inherit; font-style: inherit; font-variant: inherit;
            font-weight: inherit; font-stretch: inherit; line-height:
            inherit; font-size: 16px; vertical-align: baseline;
            text-decoration: none; color: rgb(0, 76, 153); word-wrap:
            break-word;">CFRG</a><span class=3D"Apple-converted-space">=A0</=
span>serves
          as a bridge between theory and practice, bringing new
          cryptographic techniques to the Internet community and
          promoting an understanding of the use and applicability of
          these mechanisms via Informational RFCs (in the tradition of,
          e.g.,<span class=3D"Apple-converted-space">=A0</span><a
            moz-do-not-send=3D"true"
            href=3D"http://wiki.tools.ietf.org/html/rfc1321"
            style=3D"margin: 0px; padding: 0px; border: 0px; font-family:
            inherit; font-style: inherit; font-variant: inherit;
            font-weight: inherit; font-stretch: inherit; line-height:
            inherit; font-size: 16px; vertical-align: baseline;
            text-decoration: none; color: rgb(0, 76, 153); word-wrap:
            break-word;">RFC 1321</a><span class=3D"Apple-converted-space">=
=A0</span>(MD5)
          and<span class=3D"Apple-converted-space">=A0</span><a
            moz-do-not-send=3D"true"
            href=3D"http://wiki.tools.ietf.org/html/rfc2104"
            style=3D"margin: 0px; padding: 0px; border: 0px; font-family:
            inherit; font-style: inherit; font-variant: inherit;
            font-weight: inherit; font-stretch: inherit; line-height:
            inherit; font-size: 16px; vertical-align: baseline;
            text-decoration: none; color: rgb(0, 76, 153); word-wrap:
            break-word;">RFC 2104</a><span class=3D"Apple-converted-space">=
=A0</span>(HMAC).
          Our goal is to provide a forum for discussing and analyzing
          general cryptographic aspects of security protocols, and to
          offer guidance on the use of emerging mechanisms and new uses
          of existing mechanisms.<span class=3D"Apple-converted-space">=A0</=
span><a
            moz-do-not-send=3D"true" href=3D"http://ietf.org/"
            style=3D"margin: 0px; padding: 0px; border: 0px; font-family:
            inherit; font-style: inherit; font-variant: inherit;
            font-weight: inherit; font-stretch: inherit; line-height:
            inherit; font-size: 16px; vertical-align: baseline;
            text-decoration: none; color: rgb(0, 76, 153); word-wrap:
            break-word;">IETF</a><span class=3D"Apple-converted-space">=A0</=
span>working
          groups developing protocols that include cryptographic
          elements are welcome to bring questions concerning the
          protocols to the<span class=3D"Apple-converted-space">=A0</span><a
            moz-do-not-send=3D"true" href=3D"https://irtf.org/cfrg"
            style=3D"margin: 0px; padding: 0px; border: 0px; font-family:
            inherit; font-style: inherit; font-variant: inherit;
            font-weight: inherit; font-stretch: inherit; line-height:
            inherit; font-size: 16px; vertical-align: baseline;
            text-decoration: none; color: rgb(0, 76, 153); word-wrap:
            break-word;">CFRG</a><span class=3D"Apple-converted-space">=A0</=
span>for
          advice.</p>
        <br>
        <br>
        Rene<br>
        <br>
        <br>
        On 12/14/2014 11:41 AM, Alexey Melnikov wrote:<br>
      </div>
      <blockquote
        cite=3D"mid:BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com"
        type=3D"cite">
        <meta http-equiv=3D"content-type" content=3D"text/html;
          charset=3Dwindows-1252">
        <div><span></span></div>
        <div>
          <meta http-equiv=3D"content-type" content=3D"text/html;
            charset=3Dwindows-1252">
          Hi,
          <div><span style=3D"background-color: rgba(255, 255, 255, 0);">Thi=
s

              message starts 3 weeks adoption call for=A0</span><span
              style=3D"background-color: rgba(255, 255, 255, 0);
              font-size: medium;">draft-ladd-spake2. Please reply to
              this message or directly to CFRG chairs, stating one of
              the following</span></div>
          <div><span style=3D"background-color: rgba(255, 255, 255, 0);
              font-size: medium;"><br>
            </span></div>
          <div><span style=3D"background-color: rgba(255, 255, 255, 0);
              font-size: medium;">1) that you are happy to adopt the
              draft as a starting point</span></div>
          <div><span style=3D"background-color: rgba(255, 255, 255, 0);
              font-size: medium;">2) that you are not happy to adopt
              this draft</span></div>
          <div><font size=3D"3">or</font></div>
          <div><font size=3D"3">3) that you think the document needs more
              work before the RG should consider adopting it</font></div>
          <div><font size=3D"3"><br>
            </font></div>
          <div><font size=3D"3">While detailed document reviews are
              generally welcome, this not a call to provide detailed
              comments on the document.</font></div>
          <div><font size=3D"3"><br>
            </font></div>
          <div><font size=3D"3">Alexey,</font></div>
          <div><font size=3D"3">On bahalf of CFRG chairs.</font></div>
          <br>
        </div>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>

--------------030609070504090403030309--


From nobody Mon Dec 15 03:16:31 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 1CB751A1B0D for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 03:16:29 -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 6gdSeSAwQGQT for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 03:16:27 -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 AFFBB1A1B0B for <cfrg@irtf.org>; Mon, 15 Dec 2014 03:16:26 -0800 (PST)
Received: by mail-wi0-f171.google.com with SMTP id bs8so8476447wib.10 for <cfrg@irtf.org>; Mon, 15 Dec 2014 03:16:25 -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 :message-id:references:to; bh=j/R2ywGy1rCvgnsB9cRxpWOP9XyCbKIVztngHmZu4wo=; b=ChpTGJ1i11DV3ciKItT/SNJrjxhv5ps0AZC+4WmaEaqyc4leIw4Q5EgDqQ2ozluBBG +LmWTX1KImNMPmDGNpNwfLBhRro9KAR+EkiGjPqfABEVGiTNgcNqU8VYdSgnHBsZPddv M8dIgz2NYWMYw6KDlhTek5nPZRr4iMw8OkqeZzd5fbf1MUsOAk3VN2orHtFXBlqVRxVN zjVQzLdokPTB90XWIKXPp6Ri5eeehltdf4I4Mek2CMYOeeoYqHDxsZgUv3HQCdF3DM+K lFXnCaeHeJy3N2UtaETj+hTn038Gck68lRwWPH/Vhrqk2ys3C6F7W3KntYScLWr6WDAI Bsvg==
X-Received: by 10.180.107.198 with SMTP id he6mr30877033wib.44.1418642185459;  Mon, 15 Dec 2014 03:16:25 -0800 (PST)
Received: from [172.24.248.241] (dyn32-131.checkpoint.com. [194.29.32.131]) by mx.google.com with ESMTPSA id wa5sm12648184wjc.8.2014.12.15.03.16.24 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Dec 2014 03:16:24 -0800 (PST)
Content-Type: multipart/alternative; boundary="Apple-Mail=_20693C49-9C6A-4E66-A725-EC6260BC9EEF"
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com>
Date: Mon, 15 Dec 2014 13:16:22 +0200
Message-Id: <A635D82B-B55C-4574-AB73-D0408853D642@gmail.com>
References: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/7Uk5aHBx_t03ejn_Aqh3SUSMPXE
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
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, 15 Dec 2014 11:16:29 -0000

--Apple-Mail=_20693C49-9C6A-4E66-A725-EC6260BC9EEF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Dec 14, 2014, at 6:41 PM, Alexey Melnikov =
<alexey.melnikov@isode.com> wrote:
>=20
> Hi,
> This message starts 3 weeks adoption call for draft-ladd-spake2. =
Please reply to this message or directly to CFRG chairs, stating one of =
the following
>=20
> 1) that you are happy to adopt the draft as a starting point
> 2) that you are not happy to adopt this draft
> or
> 3) that you think the document needs more work before the RG should =
consider adopting it
>=20
> While detailed document reviews are generally welcome, this not a call =
to provide detailed comments on the document.

Definitely not (3), as I think the document is in fine enough a shape to =
be adopted, despite it needing a lot of work.

But I would really like to know who needs a PAKE right now. PAKEs =
require the server to store the cleartext password or a password =
equivalent, creating a security issue that is potentially worse than =
sending cleartext passwords through authenticated channels (as in =
form-based or basic authentication to a TLS-protected server)

So, yes, there=E2=80=99s a framework for PAKEs in IKE, and one can be =
created for TLS, and an EAP method with a PAKE could also be used in a =
number of places, but all those things get little use. So without =
comparing the merits of SPAKE2 to the previous PAKE that got discussed =
in this working group, who is the =E2=80=9Ccustomer=E2=80=9D for any =
PAKE?

Yoav


--Apple-Mail=_20693C49-9C6A-4E66-A725-EC6260BC9EEF
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 Dec 14, 2014, at 6:41 PM, Alexey Melnikov &lt;<a =
href=3D"mailto:alexey.melnikov@isode.com" =
class=3D"">alexey.melnikov@isode.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><meta =
http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf-8" =
class=3D""><div dir=3D"auto" class=3D""><div class=3D""><span =
class=3D""></span></div><div class=3D""><meta http-equiv=3D"content-type" =
content=3D"text/html; charset=3Dutf-8" class=3D"">Hi,<div class=3D""><span=
 style=3D"background-color: rgba(255, 255, 255, 0);" class=3D"">This =
message starts 3 weeks adoption call for&nbsp;</span><span =
style=3D"background-color: rgba(255, 255, 255, 0); font-size: inherit;" =
class=3D"">draft-ladd-spake2. Please reply to this message or directly =
to CFRG chairs, stating one of the following</span></div><div =
class=3D""><span style=3D"background-color: rgba(255, 255, 255, 0); =
font-size: inherit;" class=3D""><br class=3D""></span></div><div =
class=3D""><span style=3D"background-color: rgba(255, 255, 255, 0); =
font-size: inherit;" class=3D"">1) that you are happy to adopt the draft =
as a starting point</span></div><div class=3D""><span =
style=3D"background-color: rgba(255, 255, 255, 0); font-size: inherit;" =
class=3D"">2) that you are not happy to adopt this =
draft</span></div><div class=3D""><font size=3D"3" =
class=3D"">or</font></div><div class=3D""><font size=3D"3" class=3D"">3) =
that you think the document needs more work before the RG should =
consider adopting it</font></div><div class=3D""><font size=3D"3" =
class=3D""><br class=3D""></font></div><div class=3D""><font size=3D"3" =
class=3D"">While detailed document reviews are generally welcome, this =
not a call to provide detailed comments on the =
document.</font></div></div></div></div></blockquote><br =
class=3D""></div><div>Definitely not (3), as I think the document is in =
fine enough a shape to be adopted, despite it needing a lot of =
work.</div><div><br class=3D""></div><div>But I would really like to =
know who needs a PAKE right now. PAKEs require the server to store the =
cleartext password or a password equivalent, creating a security issue =
that is potentially worse than sending cleartext passwords through =
authenticated channels (as in form-based or basic authentication to a =
TLS-protected server)</div><br class=3D""><div class=3D"">So, yes, =
there=E2=80=99s a framework for PAKEs in IKE, and one can be created for =
TLS, and an EAP method with a PAKE could also be used in a number of =
places, but all those things get little use. So without comparing the =
merits of SPAKE2 to the previous PAKE that got discussed in this working =
group, who is the =E2=80=9Ccustomer=E2=80=9D for any PAKE?</div><div =
class=3D""><br class=3D""></div><div class=3D"">Yoav</div><div =
class=3D""><br class=3D""></div></body></html>=

--Apple-Mail=_20693C49-9C6A-4E66-A725-EC6260BC9EEF--


From nobody Mon Dec 15 03:34:02 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 222BC1A1B26 for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 03:34:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.01
X-Spam-Level: 
X-Spam-Status: No, score=-2.01 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 lNxG7a8bNIpx for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 03:33:59 -0800 (PST)
Received: from statler.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id B17941A1B22 for <cfrg@irtf.org>; Mon, 15 Dec 2014 03:33:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1418643237; d=isode.com; s=selector; i=@isode.com; bh=tzShDbZsPGAauKWI9LcqzTYna8+EkeFLrx/BdkNHfDs=; 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=r4e4PzwJybAvdEn2xB5q9Y97/7EHuzcEPci7l01I6640H7FfFQBdmxS8KJ8u0FpOdockpa r7tjLocaA+eaqXYT/VTFOgL/srqc9fLbALKrLCePi1g9Kil353D6hAW5qhwr71WXQPxVL/ OJS7Sf9uWVQNXqJyRmu+adQoM96orlk=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215])  by statler.isode.com (submission channel) via TCP with ESMTPSA  id <VI7HJAB3u1rb@statler.isode.com>; Mon, 15 Dec 2014 11:33:56 +0000
Message-ID: <548EC71E.8090101@isode.com>
Date: Mon, 15 Dec 2014 11:33:50 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
To: "cfrg@irtf.org" <cfrg@irtf.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/A3TZzMvbyBi9CCyfqGnODFwRBRo
Subject: [Cfrg] Publishing list of CFRG chairs' action items
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, 15 Dec 2014 11:34:00 -0000

Hi,
Would it help people if CFRG chairs publish list of pending action items 
(in email or on a wiki)?
While a subset of this information is available in datatracker, it 
doesn't show the complete picture.

Best Regards,
Alexey


From nobody Mon Dec 15 03:40:35 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 514331A1B2A for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 03:40:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.01
X-Spam-Level: 
X-Spam-Status: No, score=-2.01 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 q2LyKi79S6SM for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 03:40:32 -0800 (PST)
Received: from waldorf.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id 243EC1A1B1C for <cfrg@irtf.org>; Mon, 15 Dec 2014 03:40:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1418643631; d=isode.com; s=selector; i=@isode.com; bh=g0uNTOCRZtwddKE0/H2EymmirmDBp0OVIHXkPRUKdRc=; 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=TMnHuLxxaIgUK8JpKHm70VYlfxboX/F0jctJK0BL2FJa6T6IyP2jy2KEfHajznc/nY/dBJ 8zFV2PKza3BgsFkcq1iwCB2Hr/2LQb1qG8jqnVSrYjbWATatC5TCUhbQoaS1zDNwqigq0t 7sf8oun6AJ/srEVFrXIdq34SM61w1Dk=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <VI7IrgBCk0Ua@waldorf.isode.com>; Mon, 15 Dec 2014 11:40:31 +0000
Message-ID: <548EC8A4.9040003@isode.com>
Date: Mon, 15 Dec 2014 11:40:20 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
To: David Leon Gil <coruus@gmail.com>
References: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com> <CAA7UWsVSem9uyA+kvfnRq8E5nEX2D=P9yf054iqK9t1g_YnYOg@mail.gmail.com>
In-Reply-To: <CAA7UWsVSem9uyA+kvfnRq8E5nEX2D=P9yf054iqK9t1g_YnYOg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/NIAKLdR-3esBXZar6cj7AYwcjpE
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
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, 15 Dec 2014 11:40:33 -0000

Hi David,

On 15/12/2014 01:23, David Leon Gil wrote:
> On Sun, Dec 14, 2014 at 8:41 AM, Alexey Melnikov
> <alexey.melnikov@isode.com> wrote:
>> Hi,
>> This message starts 3 weeks adoption call for draft-ladd-spake2. Please
>> reply to this message or directly to CFRG chairs, stating one of the
>> following
>>
>> 1) that you are happy to adopt the draft as a starting point
> I am happy for draft-ladd-spake2 to be adopted as a starting point for
> discussion.
Thank you for your feedback.
> (I do not have any firm view on whether SPAKE2 should be recommended
> by the CFRG,
This is definitely not a call to discuss whether SPAKE2 should be 
recommended, this is only a call to discuss whether it should be documented.
> but the draft is concise and clear enough that it will be
> useful to discuss it.)


From nobody Mon Dec 15 03:44:43 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 58FC41A1B39 for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 03:44:42 -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, RCVD_IN_DNSWL_NONE=-0.0001, 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 9WQYlyUJA2BU for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 03:44:39 -0800 (PST)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 996FA1A1B43 for <cfrg@irtf.org>; Mon, 15 Dec 2014 03:44:39 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 3C460BE17; Mon, 15 Dec 2014 11:44:37 +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 F1VmkL6HH-K6; Mon, 15 Dec 2014 11:44:37 +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 1D0BFBDFE; Mon, 15 Dec 2014 11:44:37 +0000 (GMT)
Message-ID: <548EC9A5.5050203@cs.tcd.ie>
Date: Mon, 15 Dec 2014 11:44:37 +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.3.0
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>,  "cfrg@irtf.org" <cfrg@irtf.org>
References: <548EC71E.8090101@isode.com>
In-Reply-To: <548EC71E.8090101@isode.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/qy_EEUBDIWvTkGBr_dvrSimXxIM
Subject: Re: [Cfrg] Publishing list of CFRG chairs' action items
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, 15 Dec 2014 11:44:42 -0000

On 15/12/14 11:33, Alexey Melnikov wrote:
> Hi,
> Would it help people if CFRG chairs publish list of pending action items
> (in email or on a wiki)?
> While a subset of this information is available in datatracker, it
> doesn't show the complete picture.

Nice idea. Might be worth sending a mail to the ietf wgchairs
list and/or irsg list to see what tools others are using for
this at present.

S.

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


From nobody Mon Dec 15 03:53:00 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 61F291A1B34 for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 03:52:59 -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, RCVD_IN_DNSWL_NONE=-0.0001, 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 9LPmYt7LZA58 for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 03:52:57 -0800 (PST)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8BE461A1B20 for <cfrg@irtf.org>; Mon, 15 Dec 2014 03:52:57 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 5B507BE13; Mon, 15 Dec 2014 11:52:56 +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 KDzSA9-2fwax; Mon, 15 Dec 2014 11:52:56 +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 30348BE0B; Mon, 15 Dec 2014 11:52:56 +0000 (GMT)
Message-ID: <548ECB98.7060709@cs.tcd.ie>
Date: Mon, 15 Dec 2014 11:52:56 +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.3.0
MIME-Version: 1.0
To: Yoav Nir <ynir.ietf@gmail.com>,  Alexey Melnikov <alexey.melnikov@isode.com>
References: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com> <A635D82B-B55C-4574-AB73-D0408853D642@gmail.com>
In-Reply-To: <A635D82B-B55C-4574-AB73-D0408853D642@gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/y7_guOMvOi2Gqk_8vlPAUIoah-8
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
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, 15 Dec 2014 11:52:59 -0000

On 15/12/14 11:16, Yoav Nir wrote:
> But I would really like to know who needs a PAKE right now. PAKEs
> require the server to store the cleartext password or a password
> equivalent, creating a security issue that is potentially worse than
> sending cleartext passwords through authenticated channels (as in
> form-based or basic authentication to a TLS-protected server)

+many - PAKEs are IMO cool but mostly-useless crypto for exactly
this reason (and before others disagree, yes, I know some folks
disagree:-) If however, CFRG folk want to work on 'em I've no
objection but just so you all know, there is no horde of IETFers
waiting with bated breath for more PAKE protocol options.

There are to be fair a quite small number of sensible people who
do figure there's a niche there to fill though (Dan H. for example
but not sure who else), so I could of course be wrong about that.
As I understand it, the niche Dan has in mind is for signing up
to get a certificate in a PKI, where the password is used to
authenticate the certificate request. Even in that case, I'm
not convinced that PAKEs add value - esp since a one (or limited)
time use password could be better there and requires no new
crypto.

It's also fair to say that the IETF hasn't ever done any kind of
generic consensus call on the (lack of) value of PAKEs, and the
IETF does have a history of adding PAKE options to protocols, (for
some to me unfathomable reason:-) so the above is just my personal
opinion.

S.


From nobody Mon Dec 15 05:45:45 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 C69201A6F99 for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 05:45:40 -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 EcxJ5t1z_A-j for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 05:45:36 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (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 6F6431A6FD6 for <cfrg@irtf.org>; Mon, 15 Dec 2014 05:45:36 -0800 (PST)
Received: from [192.168.131.137] ([80.92.123.25]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LtZfc-1XqMxc2kse-010q0o; Mon, 15 Dec 2014 14:45:32 +0100
Message-ID: <548EE5FB.10306@gmx.net>
Date: Mon, 15 Dec 2014 14:45:31 +0100
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>,  "cfrg@irtf.org" <cfrg@irtf.org>
References: <548EC71E.8090101@isode.com>
In-Reply-To: <548EC71E.8090101@isode.com>
OpenPGP: id=4D776BC9
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="sDkkbxa501rjImmRNanl3j4EE2U7fRi9s"
X-Provags-ID: V03:K0:gzhOk2p2cKkYg5+LcDuMSHp1xW/rYK0NkFCMcDoDHPLeg2DgQDg LsSZsmbC/u0X0Lf0b7Y64S6E8XpERw2A4I5056HbLOAJXgHGkeaZKC62zJdxHOzFGVWBWsJ AtQ58E4DU3MfaL8q707NYWef6XCpOcU2A8Eq5oLZXXQAoGd/4ie6jVUiHLn++4TDOHkJVPK GH1Zwj1zjajrOyI8FKfsw==
X-UI-Out-Filterresults: notjunk:1;
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/r2e-NDhQ10a_4DRP9d4O8tHdkUg
Subject: Re: [Cfrg] Publishing list of CFRG chairs' action items
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, 15 Dec 2014 13:45:41 -0000

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

Interesting idea.

On 12/15/2014 12:33 PM, Alexey Melnikov wrote:
> Hi,
> Would it help people if CFRG chairs publish list of pending action item=
s
> (in email or on a wiki)?
> While a subset of this information is available in datatracker, it
> doesn't show the complete picture.
>=20
> Best Regards,
> Alexey
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


--sDkkbxa501rjImmRNanl3j4EE2U7fRi9s
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

iQEcBAEBCgAGBQJUjuX7AAoJEGhJURNOOiAtvsgIAJqfsIYtrCBkBb0YeUzaEu1i
tewQU9qNGqu7PW9GdUdWmfHxHo6wHA1QRAnU04PRcZgOS0T51qJwcL/I6G3GReIn
AnA2NGj1jcdrGtMiV8EVGRjS9bpsI7V6PH/3Sbdf+ATa+GC9sp/e1NFbBHIIbylj
sSzwC62hPDh7GwGohl1HEgxAfO6lBa9qscStbg64s15q/O5eUswQ/KBPh+L1n7iP
vC0Qt0fIcdYDNZvpSCHmrX0J+gE/AoT5JspZjzo7MKlxBmmB9v/HdJrjm5xobIOk
YRQTQ+vSWYllU4x6penwsQWLjE9njx0tkwHVLXIH/+yaQ3aEAOccCtf5vMu+0gY=
=69v2
-----END PGP SIGNATURE-----

--sDkkbxa501rjImmRNanl3j4EE2U7fRi9s--


From nobody Mon Dec 15 08:04:41 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 919561A1BE0 for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 08:04:38 -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 a2_XG5A1HYTw for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 08:04:37 -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 419031A7021 for <cfrg@irtf.org>; Mon, 15 Dec 2014 08:04:32 -0800 (PST)
Received: from [10.20.30.90] (50-1-99-181.dsl.dynamic.fusionbroadband.com [50.1.99.181]) (authenticated bits=0) by proper.com (8.14.9/8.14.7) with ESMTP id sBFG4UFX066390 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <cfrg@irtf.org>; Mon, 15 Dec 2014 09:04:31 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-1-99-181.dsl.dynamic.fusionbroadband.com [50.1.99.181] claimed to be [10.20.30.90]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <CABqy+sr1T-VwQx1NaRA+xvnqVn7smjs2+YrG2Uz1Q+8M6c3hng@mail.gmail.com>
Date: Mon, 15 Dec 2014 08:04:31 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <BD65A1A0-82AD-4F16-909D-D354E7251835@vpnc.org>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk> <CACsn0c=uyPT6xa4CsXPeAV31QeeO+HfsCXAxt7Ba6NOt_Y2hiA@mail.gmail.com> <CABqy+sr1T-VwQx1NaRA+xvnqVn7smjs2+YrG2Uz1Q+8M6c3hng@mail.gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/DOHtAaL2W0TMPaog84VE0azBtQ8
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, 15 Dec 2014 16:04:38 -0000

Robert's assertions are both surprising and troubling to me. Resolution =
of them would certainly affect my views on draft-black-rpgecc, =
particularly on the hole it has for implementation. These need to be =
discussed more thoroughly before we can move forwards on the document.

--Paul Hoffman=


From nobody Mon Dec 15 09:33:40 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 6D3DE1A86FC for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 09:33:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.01
X-Spam-Level: 
X-Spam-Status: No, score=-2.01 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 RLw7NGUv_rub for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 09:33:37 -0800 (PST)
Received: from statler.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id E49101A86EA for <cfrg@irtf.org>; Mon, 15 Dec 2014 09:33:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1418664815; d=isode.com; s=selector; i=@isode.com; bh=6PU6NgyRVo83Z4p375lcq4lgeKw+s7wJ6LbQd4C/d4g=; 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=r1NUYsHSHSuYjXWAwahZa5gRIdBEjPU4K4vB4Ynk+ktrLfRpWEUtL91DkkY+6Q6eYJ+5AJ r72xTCRqRlg45WIt9s4furjoyQifebCDTyJlZrv/bYTGulzC3nuEHGEQ9hqEoI0A/arbT+ tngUYWZwwfgskRwkEZo6tCBW2gZ205c=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215])  by statler.isode.com (submission channel) via TCP with ESMTPSA  id <VI8bbAB3u2rT@statler.isode.com>; Mon, 15 Dec 2014 17:33:35 +0000
Message-ID: <548F1B65.4010707@isode.com>
Date: Mon, 15 Dec 2014 17:33:25 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
To: Paul Hoffman <paul.hoffman@vpnc.org>, "cfrg@irtf.org" <cfrg@irtf.org>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk> <CACsn0c=uyPT6xa4CsXPeAV31QeeO+HfsCXAxt7Ba6NOt_Y2hiA@mail.gmail.com> <CABqy+sr1T-VwQx1NaRA+xvnqVn7smjs2+YrG2Uz1Q+8M6c3hng@mail.gmail.com> <BD65A1A0-82AD-4F16-909D-D354E7251835@vpnc.org>
In-Reply-To: <BD65A1A0-82AD-4F16-909D-D354E7251835@vpnc.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Kml78xtVX-0KeQrNBGPzsnTBTgU
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, 15 Dec 2014 17:33:38 -0000

On 15/12/2014 16:04, Paul Hoffman wrote:
> Robert's assertions are both surprising and troubling to me. Resolution of them would certainly affect my views on draft-black-rpgecc, particularly on the hole it has for implementation. These need to be discussed more thoroughly before we can move forwards on the document.
Agreed. On behalf of CFRG chairs, I would ask people not to comment on 
this thread until chairs have some time to discuss/investigate.


From nobody Mon Dec 15 09:34:44 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 AF3841A8711 for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 09:34:38 -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 GS_-NkjCw6zF for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 09:34:37 -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 248D71A8723 for <cfrg@irtf.org>; Mon, 15 Dec 2014 09:34:20 -0800 (PST)
Received: from [192.168.1.117] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 963283AA12; Mon, 15 Dec 2014 09:33:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1418664792; bh=jYKGpsTDOFkut4IisDesc4X7/ZSI489d9dSOHHClAbY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=Hh+GHv+N2pfXwRTeCcC8RrR/vocGPCBARHuRupRfTOQ4KMjlqogBarAjHEvWPl0s/ ZsQva1S5Frv3r+E8d8TsU0E8A3VPxXpZUeOLwHi8tNOgVDmYh89nwDXuODO36gJQ+b sKOhe/nTMlIDweQ7fG8nSeqz5Gv0SKO9gB0a05lo=
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: <548ECB98.7060709@cs.tcd.ie>
Date: Mon, 15 Dec 2014 09:34:17 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <24AB5B70-2641-40EE-988F-64F333C53A31@shiftleft.org>
References: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com> <A635D82B-B55C-4574-AB73-D0408853D642@gmail.com> <548ECB98.7060709@cs.tcd.ie>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/TTFHf3SIRAavs_mt09qMsxQXDHc
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
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, 15 Dec 2014 17:34:38 -0000

> On Dec 15, 2014, at 3:52 AM, Stephen Farrell =
<stephen.farrell@cs.tcd.ie> wrote:
>=20
>=20
>=20
> On 15/12/14 11:16, Yoav Nir wrote:
>> But I would really like to know who needs a PAKE right now. PAKEs
>> require the server to store the cleartext password or a password
>> equivalent, creating a security issue that is potentially worse than
>> sending cleartext passwords through authenticated channels (as in
>> form-based or basic authentication to a TLS-protected server)
>=20

It is definitely a disadvantage of the SPAKE2 draft as currently written =
that it does not support augmentation, which would allow the server to =
store a non-password-equivalent token.  Perhaps this part of the =
feedback would best be expressed as =E2=80=9Cthere should be an =
augmented option in the draft, such as PAKE2+=E2=80=9D?

> +many - PAKEs are IMO cool but mostly-useless crypto for exactly
> this reason (and before others disagree, yes, I know some folks
> disagree:-) If however, CFRG folk want to work on 'em I've no
> objection but just so you all know, there is no horde of IETFers
> waiting with bated breath for more PAKE protocol options.

> There are to be fair a quite small number of sensible people who
> do figure there's a niche there to fill though (Dan H. for example
> but not sure who else), so I could of course be wrong about that.
> As I understand it, the niche Dan has in mind is for signing up
> to get a certificate in a PKI, where the password is used to
> authenticate the certificate request. Even in that case, I'm
> not convinced that PAKEs add value - esp since a one (or limited)
> time use password could be better there and requires no new
> crypto.
>=20

PAKEs are definitely a niche technology, but they are occasionally =
useful.  For example, they would be handy to protect WiFi, and possibly =
to add a layer of protection to protocols like SSH and IMAP which are =
often accessed with a password.

> It's also fair to say that the IETF hasn't ever done any kind of
> generic consensus call on the (lack of) value of PAKEs, and the
> IETF does have a history of adding PAKE options to protocols, (for
> some to me unfathomable reason:-) so the above is just my personal
> opinion.
>=20
> S.
>=20



Cheers,
=E2=80=94 Mike


From nobody Mon Dec 15 09:51:19 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 756041A86FC for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 09:51:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.301
X-Spam-Level: 
X-Spam-Status: No, score=-14.301 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, USER_IN_DEF_WHITELIST=-15] 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 q7cGmSduYOzD for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 09:51:15 -0800 (PST)
Received: from mrout5.yahoo.com (mrout5.yahoo.com [216.145.54.154]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5F53E1A0105 for <cfrg@irtf.org>; Mon, 15 Dec 2014 09:51:15 -0800 (PST)
Received: from omp1008.mail.ne1.yahoo.com (omp1008.mail.ne1.yahoo.com [98.138.87.8]) by mrout5.yahoo.com (8.14.9/8.14.9/y.out) with ESMTP id sBFHoJVb093296 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for <cfrg@irtf.org>; Mon, 15 Dec 2014 09:50:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1418665820; bh=gxDjUVEBwWaz5Jd2jPnUA0ubW8NtkXcc1oCd4T5XxqY=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject; b=ZI/LpzHaZrPLltLbOUGibPhRQasrUy00g6MuriYrg8h9YMncu9+h2mV4bRjcV0qC8 jeq89srKDgxZOZ3OCFzm/KTd6kgKTlmD/kDNhKznZJgUVUf29zvI4TQhHDOoA0Pp6P 9rYBvPCjfRFj3WuYQmFXETFchaYqlZuAq/yl8/dE=
Received: (qmail 54515 invoked by uid 1000); 15 Dec 2014 17:50:19 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo-inc.com; s=ginc1024; t=1418665819; bh=gxDjUVEBwWaz5Jd2jPnUA0ubW8NtkXcc1oCd4T5XxqY=; h=Date:From:Reply-To:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ARr0c1S67lm4Aq0KfpFv4t0YlWlsab8Jnng+q5jqpx1UqMmTEVlW4L+lfVVjMT0SpmS8lCzqqJ9quz12rt+R0h7S/p5+jQ1Vb8rAQwG/kORAcBEGl89fRhuSALKBCmZ2cPmjj/KfUjd7SPht3uWJ/1HyqJg7Epe+3AQV7ykl9R4=
X-YMail-OSG: Qzn.nPQVM1lrjiKFHOoiUAKsAfvT5TOxQIpsbaGSaAUxo8CZi7BoH0r3gliJhHx s7Rn1KvFGnyYcdvvYR9A4LrOuHDQ.Y6MGHzmae9LvLvocdQhBzmvYjdSsYcfTSOZ0P2Qj4psfbqA AflkUK4T4fSXSPriCeoO4mPcEfj4NUUiV4n4nX4z.ADtxMn1gOMNe05X3AVCqIdgOk0tkbarI.Mi L5jXxdRt2yV6EerPhCcilHthFKACvIpCqe8pC1lZ4VhR2P6DHsSjj
Received: by 98.138.105.195; Mon, 15 Dec 2014 17:50:18 +0000 
Date: Mon, 15 Dec 2014 17:50:18 +0000 (UTC)
From: David Gil <dgil@yahoo-inc.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Message-ID: <1634905471.222797.1418665818384.JavaMail.yahoo@jws10085.mail.ne1.yahoo.com>
In-Reply-To: <548EC71E.8090101@isode.com>
References: <548EC71E.8090101@isode.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Milter-Version: master.31+4-gbc07cd5+
X-CLX-ID: 665820002
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ya5wNnoaR5xfRPIwP0-zMhS6lZM
Subject: Re: [Cfrg] Publishing list of CFRG chairs' action items
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: Mon, 15 Dec 2014 17:51:16 -0000

On Monday, December 15, 2014 3:35 AM, Alexey Melnikov <alexey.melnikov@isode.com> wrote:


> Would it help people if CFRG chairs publish list of pending
> action items (in email or on a wiki)?

Tremendously.


From nobody Mon Dec 15 10:19:53 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 E69551A8729 for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 10:19:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.968
X-Spam-Level: 
X-Spam-Status: No, score=-1.968 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, 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 JXZe5J4x7S7I for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 10:19:50 -0800 (PST)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id C588A1A8723 for <cfrg@irtf.org>; Mon, 15 Dec 2014 10:19:50 -0800 (PST)
Received: from www.trepanning.net (localhost [127.0.0.1]) by colo.trepanning.net (Postfix) with ESMTP id ACD90A888132; Mon, 15 Dec 2014 10:19:49 -0800 (PST)
Received: from 104.36.248.10 (SquirrelMail authenticated user dharkins@lounge.org) by www.trepanning.net with HTTP; Mon, 15 Dec 2014 10:19:50 -0800 (PST)
Message-ID: <cc1a22e2ad7758b65dcadf70f816fc66.squirrel@www.trepanning.net>
In-Reply-To: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com>
References: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com>
Date: Mon, 15 Dec 2014 10:19:50 -0800 (PST)
From: "Dan Harkins" <dharkins@lounge.org>
To: "Alexey Melnikov" <alexey.melnikov@isode.com>
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/YbomSSwhJ3G0-rh_pBjg38qB-cs
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
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, 15 Dec 2014 18:19:52 -0000

  Hello,

On Sun, December 14, 2014 8:41 am, Alexey Melnikov wrote:
> Hi,
> This message starts 3 weeks adoption call for draft-ladd-spake2. Please
> reply to this message or directly to CFRG chairs, stating one of the
> following
>
> 1) that you are happy to adopt the draft as a starting point
> 2) that you are not happy to adopt this draft
> or
> 3) that you think the document needs more work before the RG should
> consider adopting it

  I'm in favor of another PAKE being documented but I'm not sure
why SPAKE2 is the one.

> While detailed document reviews are generally welcome, this not a call to
> provide detailed comments on the document.

  SPAKE2 seems to be the Dual_EC_DRBG of PAKEs (and I'm very surprised
the author isn't being accused by a bunch of people on twitter, and some
hack tech blogger, of being an NSA plant out to subvert the Internet). There
are 2 constant elements used in the calculation and knowledge of the scalar
used to generate either of them would allow an attacker to break the
exchange. This draft will need to go through a rigorous NUMS procedure in
order to populate (the currently empty) section 3, a contentious step that
other PAKEs would not need to go through.

  There are other PAKEs out there so it would be nice to know why SPAKE2
is the one that should be pursued.

  regards,

  Dan.




From nobody Mon Dec 15 10:47:58 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 400651A8758 for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 10:47:55 -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 Zt_lmwu0x68r for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 10:47:53 -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 050861A8767 for <cfrg@irtf.org>; Mon, 15 Dec 2014 10:47:21 -0800 (PST)
Received: by mail-yh0-f41.google.com with SMTP id a41so5434435yho.28 for <cfrg@irtf.org>; Mon, 15 Dec 2014 10:47:20 -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=M71yvzVUUwWgedVSrzsu/gMlXlc2eVmTqKFmu2x2gEc=; b=TRrVS1GHqROLDy2ticNw1YpeUowzxBSsyl9TIfNgRDiztaVIJxOeHiZAjqhxCNBuiN dpeqz37vcbmoRVMScF2SRzSM/ndAEJUC6ecG43fNq+Xk0g3j9Wchwr4nIKPxRX8UQr9M Lykvnq5DXtdzZGZpVyDj8kQZXFKrGN+wIh3OG7uhMYdhwNZ3/ICSw+9C4w/FPdjtSUdd mpxuoF33DhuxjzUxG66xBCdCEvU86BiHHStY1PrOkRd50CjZ63hor0j1qJuiEW7QItgM paeXCTXgLcc5yszPjasuIDv+iz050Ie/UAKGeIM9pEsd3P/l6AGZ5TG2Ev9PvAl5sC3x Yi5Q==
MIME-Version: 1.0
X-Received: by 10.236.7.52 with SMTP id 40mr23229916yho.172.1418669240146; Mon, 15 Dec 2014 10:47:20 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Mon, 15 Dec 2014 10:47:20 -0800 (PST)
In-Reply-To: <cc1a22e2ad7758b65dcadf70f816fc66.squirrel@www.trepanning.net>
References: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com> <cc1a22e2ad7758b65dcadf70f816fc66.squirrel@www.trepanning.net>
Date: Mon, 15 Dec 2014 10:47:20 -0800
Message-ID: <CACsn0c=HkXKzvnzK4TW_1DwgV1kKbdCbuOn2Vamqi6Ws6SyNPA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Dan Harkins <dharkins@lounge.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/g2hIahbeBSCVFLSIgze_rS3vaBc
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
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, 15 Dec 2014 18:47:55 -0000

On Mon, Dec 15, 2014 at 10:19 AM, Dan Harkins <dharkins@lounge.org> wrote:
>
>   Hello,
>
> On Sun, December 14, 2014 8:41 am, Alexey Melnikov wrote:
>> Hi,
>> This message starts 3 weeks adoption call for draft-ladd-spake2. Please
>> reply to this message or directly to CFRG chairs, stating one of the
>> following
>>
>> 1) that you are happy to adopt the draft as a starting point
>> 2) that you are not happy to adopt this draft
>> or
>> 3) that you think the document needs more work before the RG should
>> consider adopting it
>
>   I'm in favor of another PAKE being documented but I'm not sure
> why SPAKE2 is the one.
>
>> While detailed document reviews are generally welcome, this not a call to
>> provide detailed comments on the document.
>
>   SPAKE2 seems to be the Dual_EC_DRBG of PAKEs (and I'm very surprised
> the author isn't being accused by a bunch of people on twitter, and some
> hack tech blogger, of being an NSA plant out to subvert the Internet). There
> are 2 constant elements used in the calculation and knowledge of the scalar
> used to generate either of them would allow an attacker to break the
> exchange. This draft will need to go through a rigorous NUMS procedure in
> order to populate (the currently empty) section 3, a contentious step that
> other PAKEs would not need to go through.

Google has deployed this protocol with parameters generated by the
following code:
http://src.chromium.org/viewvc/chrome/trunk/src/crypto/p224_spake.cc

Do you see any way in which the discrete logarithm could be determined
from this or any other substantially similar procedure? If so, please
provide the procedure to this list, give us a week or two to think
about it, and then reveal the logarithm of the generated points.

>
>   There are other PAKEs out there so it would be nice to know why SPAKE2
> is the one that should be pursued.

I understand there is an AugPAKE draft already. But AugPAKE is
patented. There are alternatives, and I'm not committed to the
particular choice of PAKE: I've been informed of a few others to look
at and am examining them to see if they offer any advantages to
switch. I do think we need a PAKE with a solid security proof, and
several people have placed augmentation on the list of desiderata.

Sincerely,
Watson Ladd

>
>   regards,
>
>   Dan.
>
>
>
> _______________________________________________
> 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 Dec 15 10:55:34 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 84F081A875A for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 10:55:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.867
X-Spam-Level: 
X-Spam-Status: No, score=-3.867 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 4ATDid1EVi-n for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 10:55:32 -0800 (PST)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id 8D4231A8748 for <cfrg@irtf.org>; Mon, 15 Dec 2014 10:55:32 -0800 (PST)
Received: from www.trepanning.net (localhost [127.0.0.1]) by colo.trepanning.net (Postfix) with ESMTP id EF772A888132; Mon, 15 Dec 2014 10:55:31 -0800 (PST)
Received: from 104.36.248.10 (SquirrelMail authenticated user dharkins@lounge.org) by www.trepanning.net with HTTP; Mon, 15 Dec 2014 10:55:32 -0800 (PST)
Message-ID: <b8f82610b41d95a3b417a78a171e34df.squirrel@www.trepanning.net>
In-Reply-To: <A635D82B-B55C-4574-AB73-D0408853D642@gmail.com>
References: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com> <A635D82B-B55C-4574-AB73-D0408853D642@gmail.com>
Date: Mon, 15 Dec 2014 10:55:32 -0800 (PST)
From: "Dan Harkins" <dharkins@lounge.org>
To: "Yoav Nir" <ynir.ietf@gmail.com>
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/pR7VZiWqr12T4b2CpMbn_xBAFA8
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
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, 15 Dec 2014 18:55:33 -0000

On Mon, December 15, 2014 3:16 am, Yoav Nir wrote:
[snip]
> But I would really like to know who needs a PAKE right now. PAKEs require
> the server to store the cleartext password or a password equivalent,
> creating a security issue that is potentially worse than sending cleartext
> passwords through authenticated channels (as in form-based or basic
> authentication to a TLS-protected server)

  Augmented PAKEs do not require a cleartext password. And any
scheme that sent a cleartext password over a TLS connection would
also require "the server to store the cleartext password" so it's not clear
how using a PAKE is "potentially worse".

  The need is illustrated by the fact that the "do not verify server
certificate" or "continue with exchange, I know what I'm doing" check
box exists. In other words, its needed because an authenticated
channel is not a given. Another need can be described by the ever
popular "Use your Facebook credentials to log in", how many people
do you think do? Also, passwords are simple to use and TLS is very
convenient but the world is not all browsers. Furthermore, in the
scheme you are describing there is no guarantee that cleartext
password verification is done on the same box that terminates TLS,
providing another potential for problems.

  Security should be easy to use correctly and hard to use incorrectly.
PAKEs are misuse resistant and they make it hard to use passwords
incorrectly.

  regards,

  Dan.



From nobody Mon Dec 15 11:02:16 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 E9A191A86E0 for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 11:02:14 -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 1ytXxLfEQAw3 for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 11:02:12 -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 F06F31A875D for <cfrg@irtf.org>; Mon, 15 Dec 2014 11:02:09 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 89A6CE2036; Mon, 15 Dec 2014 14:02:07 -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 12106-02; Mon, 15 Dec 2014 14:02:01 -0500 (EST)
Received: by mail2.ihtfp.org (Postfix, from userid 48) id 6AA7FE2039; Mon, 15 Dec 2014 14:02:01 -0500 (EST)
Received: from fe80::ea2a:eaff:fe7d:235 (SquirrelMail authenticated user warlord) by mail2.ihtfp.org with HTTP; Mon, 15 Dec 2014 14:02:01 -0500
Message-ID: <2996e2e44130388e1fdc35f5c3db6ad6.squirrel@mail2.ihtfp.org>
In-Reply-To: <b8f82610b41d95a3b417a78a171e34df.squirrel@www.trepanning.net>
References: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com> <A635D82B-B55C-4574-AB73-D0408853D642@gmail.com> <b8f82610b41d95a3b417a78a171e34df.squirrel@www.trepanning.net>
Date: Mon, 15 Dec 2014 14:02:01 -0500
From: "Derek Atkins" <derek@ihtfp.com>
To: "Dan Harkins" <dharkins@lounge.org>
User-Agent: SquirrelMail/1.4.22-14.fc20
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/fkEbFcoaz605FAOho0LfzEhlI8g
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
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, 15 Dec 2014 19:02:15 -0000

On Mon, December 15, 2014 1:55 pm, Dan Harkins wrote:
>
> On Mon, December 15, 2014 3:16 am, Yoav Nir wrote:
> [snip]
>> But I would really like to know who needs a PAKE right now. PAKEs
>> require
>> the server to store the cleartext password or a password equivalent,
>> creating a security issue that is potentially worse than sending
>> cleartext
>> passwords through authenticated channels (as in form-based or basic
>> authentication to a TLS-protected server)
>
>   Augmented PAKEs do not require a cleartext password. And any
> scheme that sent a cleartext password over a TLS connection would
> also require "the server to store the cleartext password" so it's not
> clear
> how using a PAKE is "potentially worse".

Actually, no, the server can store the (salted) hash of the password, so
the cleartext password is only available to the server during the time it
takes to generate the (salted) hash and verify it against storage.  So I
would argue that your statement "any scheme..." is clearly incorrect.

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


From nobody Mon Dec 15 11:26:06 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 8FDC21A8763 for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 11:26:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.867
X-Spam-Level: 
X-Spam-Status: No, score=-3.867 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 ghwNZuDvqTtT for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 11:26:02 -0800 (PST)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id F3FBC1A875A for <cfrg@irtf.org>; Mon, 15 Dec 2014 11:26:01 -0800 (PST)
Received: from www.trepanning.net (localhost [127.0.0.1]) by colo.trepanning.net (Postfix) with ESMTP id 4D2F6A888132; Mon, 15 Dec 2014 11:26:01 -0800 (PST)
Received: from 104.36.248.10 (SquirrelMail authenticated user dharkins@lounge.org) by www.trepanning.net with HTTP; Mon, 15 Dec 2014 11:26:01 -0800 (PST)
Message-ID: <685762873341fc7f9e719dcdcde021ac.squirrel@www.trepanning.net>
In-Reply-To: <CACsn0c=HkXKzvnzK4TW_1DwgV1kKbdCbuOn2Vamqi6Ws6SyNPA@mail.gmail.com>
References: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com> <cc1a22e2ad7758b65dcadf70f816fc66.squirrel@www.trepanning.net> <CACsn0c=HkXKzvnzK4TW_1DwgV1kKbdCbuOn2Vamqi6Ws6SyNPA@mail.gmail.com>
Date: Mon, 15 Dec 2014 11:26:01 -0800 (PST)
From: "Dan Harkins" <dharkins@lounge.org>
To: "Watson Ladd" <watsonbladd@gmail.com>
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/jPqGncBXeoMomwFBgmCIF9E8_8s
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
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, 15 Dec 2014 19:26:04 -0000

On Mon, December 15, 2014 10:47 am, Watson Ladd wrote:
> On Mon, Dec 15, 2014 at 10:19 AM, Dan Harkins <dharkins@lounge.org> wrote:
>>
>>   Hello,
>>
>> On Sun, December 14, 2014 8:41 am, Alexey Melnikov wrote:
>>> Hi,
>>> This message starts 3 weeks adoption call for draft-ladd-spake2. Please
>>> reply to this message or directly to CFRG chairs, stating one of the
>>> following
>>>
>>> 1) that you are happy to adopt the draft as a starting point
>>> 2) that you are not happy to adopt this draft
>>> or
>>> 3) that you think the document needs more work before the RG should
>>> consider adopting it
>>
>>   I'm in favor of another PAKE being documented but I'm not sure
>> why SPAKE2 is the one.
>>
>>> While detailed document reviews are generally welcome, this not a call
>>> to
>>> provide detailed comments on the document.
>>
>>   SPAKE2 seems to be the Dual_EC_DRBG of PAKEs (and I'm very surprised
>> the author isn't being accused by a bunch of people on twitter, and some
>> hack tech blogger, of being an NSA plant out to subvert the Internet).
>> There
>> are 2 constant elements used in the calculation and knowledge of the
>> scalar
>> used to generate either of them would allow an attacker to break the
>> exchange. This draft will need to go through a rigorous NUMS procedure
>> in
>> order to populate (the currently empty) section 3, a contentious step
>> that
>> other PAKEs would not need to go through.
>
> Google has deployed this protocol with parameters generated by the
> following code:
> http://src.chromium.org/viewvc/chrome/trunk/src/crypto/p224_spake.cc

  A very rudimentary hunting-and-pecking loop!

> Do you see any way in which the discrete logarithm could be determined
> from this or any other substantially similar procedure? If so, please
> provide the procedure to this list, give us a week or two to think
> about it, and then reveal the logarithm of the generated points.

  Well there's baby step giant step but I'm not going to be revealing the
scalars in a week or two. But then I am not a tinfoil hat conspiracist
(like the aforementioned twitter army and hack tech blogger) either so
I don't actually think a secret cabal knows the scalars, only pointing
out that more has been made over less and if SPAKE2 is pursued the
draft will have to address this issue.

  So instead of populating section 3 with Ms and Ns for various groups
you could describe a hunting-and-pecking loop with a constant seed
(or deterministic way to get a seed for a particular named group). But
again, this is unnecessary if you choose a different PAKE.

>>
>>   There are other PAKEs out there so it would be nice to know why SPAKE2
>> is the one that should be pursued.
>
> I understand there is an AugPAKE draft already. But AugPAKE is
> patented. There are alternatives, and I'm not committed to the
> particular choice of PAKE: I've been informed of a few others to look
> at and am examining them to see if they offer any advantages to
> switch. I do think we need a PAKE with a solid security proof, and
> several people have placed augmentation on the list of desiderata.

  Wouldn't RFC 2945 satisfy those people?

  regards,

  Dan.



From nobody Mon Dec 15 11:40:06 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 4F60A1A87AA for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 11:40:03 -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 a42Kh7SL2uZl for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 11:40:01 -0800 (PST)
Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 318211A87BD for <cfrg@irtf.org>; Mon, 15 Dec 2014 11:39:22 -0800 (PST)
Received: by mail-lb0-f182.google.com with SMTP id f15so10394047lbj.41 for <cfrg@irtf.org>; Mon, 15 Dec 2014 11:39:20 -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=m5ydTFw6oVLgORhgONWAh0d5XnF2DQsbLqY05+5FUT8=; b=ehL20QPq9koBbVdctTI8HxUSZQyUnzassqZeVFLytnMVXE4P7i8iu5E/9/m80xs7/M Vu8k+366BQNHGDCAZP+q5ZnKP9Tti8DCSBebUOVXUbQ8e7mTxpubTMh7lnXYR0hDp6GL ZN/9nVvZzBRK+2kY4lrgC5F5VB7IfZ/mXPVMBbJB3y9n4vxEonCzPDqNyKDPYYe+CHSc hTIbPy0hX/MDTEndzxc7SV/KA5VQqFsu5K8X8hmxcAWtgauyG/eibOaRBpviNdayMRz8 6WD3iwV2LtyuZXycmRqYRXUXHHnIwqW/zrkdxpYAbkHq638nXuQciLyEwjlNEPxHwKXA AzlQ==
X-Gm-Message-State: ALoCoQmb2d2Thp7dUlWrmVw7KuQSoxS8DDV8sXBUSdGfb/rjLCwlvffv0x3/fu7jVD/zXncDur1/
X-Received: by 10.112.173.202 with SMTP id bm10mr31172725lbc.74.1418672360668;  Mon, 15 Dec 2014 11:39:20 -0800 (PST)
MIME-Version: 1.0
Received: by 10.152.7.132 with HTTP; Mon, 15 Dec 2014 11:39:00 -0800 (PST)
In-Reply-To: <24AB5B70-2641-40EE-988F-64F333C53A31@shiftleft.org>
References: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com> <A635D82B-B55C-4574-AB73-D0408853D642@gmail.com> <548ECB98.7060709@cs.tcd.ie> <24AB5B70-2641-40EE-988F-64F333C53A31@shiftleft.org>
From: Andy Lutomirski <luto@amacapital.net>
Date: Mon, 15 Dec 2014 11:39:00 -0800
Message-ID: <CALCETrV8uMkcEF6b-Df5fOos4mGb9OKMWU7TfRREcndS+uOA6A@mail.gmail.com>
To: Michael Hamburg <mike@shiftleft.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/2rz0_fBXQQykR70ZMKhuiyvuAJw
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
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, 15 Dec 2014 19:40:03 -0000

On Mon, Dec 15, 2014 at 9:34 AM, Michael Hamburg <mike@shiftleft.org> wrote=
:
>
>> On Dec 15, 2014, at 3:52 AM, Stephen Farrell <stephen.farrell@cs.tcd.ie>=
 wrote:
>>
>>
>>
>> On 15/12/14 11:16, Yoav Nir wrote:
>>> But I would really like to know who needs a PAKE right now. PAKEs
>>> require the server to store the cleartext password or a password
>>> equivalent, creating a security issue that is potentially worse than
>>> sending cleartext passwords through authenticated channels (as in
>>> form-based or basic authentication to a TLS-protected server)
>>
>
> It is definitely a disadvantage of the SPAKE2 draft as currently written =
that it does not support augmentation, which would allow the server to stor=
e a non-password-equivalent token.  Perhaps this part of the feedback would=
 best be expressed as =E2=80=9Cthere should be an augmented option in the d=
raft, such as PAKE2+=E2=80=9D?
>
>> +many - PAKEs are IMO cool but mostly-useless crypto for exactly
>> this reason (and before others disagree, yes, I know some folks
>> disagree:-) If however, CFRG folk want to work on 'em I've no
>> objection but just so you all know, there is no horde of IETFers
>> waiting with bated breath for more PAKE protocol options.
>
>> There are to be fair a quite small number of sensible people who
>> do figure there's a niche there to fill though (Dan H. for example
>> but not sure who else), so I could of course be wrong about that.
>> As I understand it, the niche Dan has in mind is for signing up
>> to get a certificate in a PKI, where the password is used to
>> authenticate the certificate request. Even in that case, I'm
>> not convinced that PAKEs add value - esp since a one (or limited)
>> time use password could be better there and requires no new
>> crypto.
>>
>
> PAKEs are definitely a niche technology, but they are occasionally useful=
.  For example, they would be handy to protect WiFi, and possibly to add a =
layer of protection to protocols like SSH and IMAP which are often accessed=
 with a password.

IMO essentially all password-protected crypto tokens (chip-and-PIN
cards, etc) should be using PAKEs to protect the PIN.  Otherwise if
you sniff a valid transaction between the keypad and the token, you
can very easily brute-force the PIN.

Admittedly, the usual threat models probably don't distinguish such
attacks from attacks that directly compromise the keypad, but I bet
that it's easy to sniff enough of the transaction from RF leakage to
do the same thing if you can put some malicious device near the
keypad, even if you haven't compromised the keypad or token and both
have perfect internal side-channel countermeasures.

--Andy


From nobody Mon Dec 15 12:58:39 2014
Return-Path: <paul@marvell.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 8E0061A8A48 for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 12:58:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.267
X-Spam-Level: 
X-Spam-Status: No, score=-2.267 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, 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 V-GWN42wPBck for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 12:58:35 -0800 (PST)
Received: from mx0a-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 41A501A8A08 for <cfrg@irtf.org>; Mon, 15 Dec 2014 12:58:35 -0800 (PST)
Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.14.5/8.14.5) with SMTP id sBFKwYUt015432; Mon, 15 Dec 2014 12:58:34 -0800
Received: from sc-owa03.marvell.com ([199.233.58.149]) by mx0a-0016f401.pphosted.com with ESMTP id 1r9tt2sx41-2 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 15 Dec 2014 12:58:34 -0800
Received: from SC-vEXCH2.marvell.com ([10.93.76.134]) by SC-OWA03.marvell.com ([::1]) with mapi; Mon, 15 Dec 2014 12:58:25 -0800
From: Paul Lambert <paul@marvell.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>, "cfrg@irtf.org" <cfrg@irtf.org>, David Gil <dgil@yahoo-inc.com>
Date: Mon, 15 Dec 2014 12:58:21 -0800
Thread-Topic: [Cfrg] Publishing list of CFRG chairs' action items
Thread-Index: AdAYqd1bOFV8ehlBSxGkzpjwAfftPQ==
Message-ID: <D0B48B1A.55A20%paul@marvell.com>
References: <548EC71E.8090101@isode.com> <1634905471.222797.1418665818384.JavaMail.yahoo@jws10085.mail.ne1.yahoo.com>
In-Reply-To: <1634905471.222797.1418665818384.JavaMail.yahoo@jws10085.mail.ne1.yahoo.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.7.141117
acceptlanguage: en-US
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68, 1.0.33,  0.0.0000 definitions=2014-12-15_05:2014-12-15,2014-12-15,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound 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-1412150200
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Fw1CG1TOpx-gkrb3lLof-vfOEbc
Subject: Re: [Cfrg] Publishing list of CFRG chairs' action items
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, 15 Dec 2014 20:58:36 -0000

On 12/15/14, 9:50 AM, "David Gil" <dgil@yahoo-inc.com> wrote:

>On Monday, December 15, 2014 3:35 AM, Alexey Melnikov
><alexey.melnikov@isode.com> wrote:
>
>
>> Would it help people if CFRG chairs publish list of pending
>> action items (in email

+1 email sent bi-weekly on: actions, status, plan  =8A.


>>or on a wiki)?
>
>Tremendously.
>
>_______________________________________________
>Cfrg mailing list
>Cfrg@irtf.org
>http://www.irtf.org/mailman/listinfo/cfrg


From nobody Mon Dec 15 18:56: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 1A4B41A028A for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 18:56:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.7
X-Spam-Level: 
X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  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 pD6tDCZwOPN1 for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 18:56:22 -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 A9D621AC3E6 for <cfrg@irtf.org>; Mon, 15 Dec 2014 18:56:22 -0800 (PST)
Received: by mail-yh0-f49.google.com with SMTP id f10so5770822yha.36 for <cfrg@irtf.org>; Mon, 15 Dec 2014 18:56:21 -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=4ZYvi11+Efi0SGSa6SpejRrXKiixBz32mUo1jvwOz5s=; b=WrBXj4Qrqd8dDDCDNwBu+RkxqHOqeE8v3f2vX91MbRoLQPrzQpcY0BCgBJ4fn+i00F 3gNsqP/lfD2mROcsYXi2BXDlec8WZzX68pp7yd3XZTWd05n5xMkw75a60toFJiE0H3i3 nFUv/v4Nogx+/t+xDZXWlyfw/dvuYwKVrpGU9aq56pQsNM0N5sKWRc5GygTCRskTYNDm zO1sErVxiDFlvRIWhqQ7hcA5qatuSEfb0hRPNAusB5IBYyhE058Rt/d4gAxK2OVR6squ BgQKN0X/4kR0vf0uqxCyVbxkCDrdSxZTQ1Y8reYpE1nUSw8jNvFOaYEWlIk+5CcKq8ud OJWg==
MIME-Version: 1.0
X-Received: by 10.170.185.145 with SMTP id b139mr27885479yke.58.1418698581805;  Mon, 15 Dec 2014 18:56:21 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Mon, 15 Dec 2014 18:56:21 -0800 (PST)
Date: Mon, 15 Dec 2014 18:56:21 -0800
Message-ID: <CACsn0cm=f3pJQXybLsMVT5cozrZkJv9N4GFT1m2uychzPvsAeg@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/hdY11VA15imF4EnOm6DKa0wCfag
Subject: [Cfrg] 2^389-21 vs 2^414-17 vs 2^448-2^224-1
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, 16 Dec 2014 02:56:25 -0000

Dear all,

I've come up with some back of the envelope sketches of the
performance differences for these primes. Note that there aren't hard
measurements yet: I'm only counting limbs for various choices of
radix, and these radix choices might not be themselves optimal. These
counts don't include the cost of reduction, which is at worst an
additional multiplication of each limb by a constant plus an addition
with carry. They don't include additions. In these calculations I've
permitted that addition to overflow, but not the preceding
multiplications. I've also not used signed arithmetic, which can make
things slightly better.

On a 32 bit machine with 32x32->64 multiplier, but no 64 bit adder:

2^389-21 can use 15 26 bit words. The product can be computed without
carries, but the final reduction requires a carry chain. Schoolboy
costs 225 multiplications. Karatsuba will cost 140 mults. The best I
can do without using a hardware carry is a much worse 18 23 bit words,
which will cost 198 multiplies with two uses of Karatsuba. There may
be a better way, and I didn't investigate overflow/addition tradeoff.

2^414-17 as described in http://eprint.iacr.org/2014/526.pdf uses 16
franctional radix words, and two stages of Karatsuba for 144 mults.

2^448-2^224-1 uses a special method for multiplication which I don't
have multiplication counts for. I believe 16 28 bit words is used in
the current implementation, and so 144 multiplications.

On a 64 bit machine with 64x64->128 multiplier:

2^389-21 can use 7 56 bit limbs. Here there is plenty of headroom, and
so no carrying in the reduction is required.

2^414-17 could use 8 56 bit limbs, with no carrying in the reduction
required. It could use 7 60 bit limbs, if the hardware carry is used
in the reduction.

2^448-2^224-1 is clearly using 8 56 bit limbs: it matches exactly.

At these sizes schoolboy is the right choice: 49 vs 64 multiplications.

Please double-check this. I'll try to verify this in more detail,
including implementing a few strategies. I know that the results I've
listed for some 2^414-17 and 2^448-2^224-1 are not optimal, and would
appreciate correction.

The tentative conclusion is that the performance advantages of
2^389-21 vs 2^448-2^224-1 are likely to be minimal on 32-bit machines,
and about 10% on 64 bit machines. As always, the believable results
require implementations, which I don't think I will make in time for
our deadline.

Sincerely,
Watson Ladd


From nobody Mon Dec 15 20:12: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 A688D1A0379 for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 20:12:13 -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 wafxpr0Qq9TC for <cfrg@ietfa.amsl.com>; Mon, 15 Dec 2014 20:12:12 -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 DE4881A0378 for <cfrg@irtf.org>; Mon, 15 Dec 2014 20:12:11 -0800 (PST)
Received: from [192.168.1.102] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id B64143AA12; Mon, 15 Dec 2014 20:11:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1418703060; bh=Z/hhz9fo5LWFT0tppsON2FR0euMO6d84UhnC9KOuMd0=; h=Date:From:To:Subject:References:In-Reply-To:From; b=jPhe/dZ1X1B0R/qjTCB1DRUWqziSM/Kqu1c7EQx5LydXnWdl+sZXKWj2Q6Gp9xI4y nkXeSuz8NygQ+4ji1vS0fpdAlZul2DCQ5xV/ow9dDXZumkYFhgqBRs0rXJyIHgt1hi IQ0ZZ2yL9Ug/f6iKaYqeD/sss+GbLlhE03mCfhnU=
Message-ID: <548FB118.3090402@shiftleft.org>
Date: Mon, 15 Dec 2014 20:12:08 -0800
From: Mike Hamburg <mike@shiftleft.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: Watson Ladd <watsonbladd@gmail.com>, "cfrg@irtf.org" <cfrg@irtf.org>
References: <CACsn0cm=f3pJQXybLsMVT5cozrZkJv9N4GFT1m2uychzPvsAeg@mail.gmail.com>
In-Reply-To: <CACsn0cm=f3pJQXybLsMVT5cozrZkJv9N4GFT1m2uychzPvsAeg@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/4m5VGX7-Az72RgMUFgiK4xA3ZMI
Subject: Re: [Cfrg] 2^389-21 vs 2^414-17 vs 2^448-2^224-1
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, 16 Dec 2014 04:12:13 -0000

Hi Watson,

I mostly agree with your conclusions, but a few adjustments:

Your numbers on Goldilocks don't reflect how I've implemented it. So far 
I've always used 1 level of Karatsuba, with 192 multiplies on 32-bit 
platforms, and 48 multiplies on 64-bit platforms.  Because Karatsuba 
results in extra additions and extra complexity, this may be more 
expensive than a 49-mul delayed-carry schoolbook algorithm, but not by 
much because the reduction is included in the Karatsuba algorithm for 
Goldilocks.  This isn't just a matter of limb count: the prime 2^448 - 
2^224 - 1 was picked specifically because it has fast reduction 
integrated with Karatsuba multiplication.  So maybe 10%, or maybe no 
difference.

My NEON 1-level Karatsuba (192 muls, i.e. 96 pairs) takes about as long 
as DJB et al's 2-level Karatsuba (144 muls).  My guess is that the gains 
from the second level are mostly eaten up by overhead, but it's just a 
guess since we used different strategies and different primes, and 
neither team compared 1-level vs 2-level directly AFAIK.  It may merit 
an experiment eventually, but NEON is a pain to code for because the 
compiler support isn't very good.

I would expect 2^389-21 to support some sort of fractional-radix 
technique with 16 words on 32-bit platforms.

If you want a quick and dirty performance test, just implement 
multiplication and squaring mod 2^389-21 and compare it to Goldilocks' 
`make bench`, which includes time in nanoseconds for square and 
multiply.  Squaring will be different because Karatsuba is less of a win 
for squaring algorithms.

Cheers,
-- Mike

On 12/15/2014 06:56 PM, Watson Ladd wrote:
> Dear all,
>
> I've come up with some back of the envelope sketches of the
> performance differences for these primes. Note that there aren't hard
> measurements yet: I'm only counting limbs for various choices of
> radix, and these radix choices might not be themselves optimal. These
> counts don't include the cost of reduction, which is at worst an
> additional multiplication of each limb by a constant plus an addition
> with carry. They don't include additions. In these calculations I've
> permitted that addition to overflow, but not the preceding
> multiplications. I've also not used signed arithmetic, which can make
> things slightly better.
>
> On a 32 bit machine with 32x32->64 multiplier, but no 64 bit adder:
>
> 2^389-21 can use 15 26 bit words. The product can be computed without
> carries, but the final reduction requires a carry chain. Schoolboy
> costs 225 multiplications. Karatsuba will cost 140 mults. The best I
> can do without using a hardware carry is a much worse 18 23 bit words,
> which will cost 198 multiplies with two uses of Karatsuba. There may
> be a better way, and I didn't investigate overflow/addition tradeoff.
>
> 2^414-17 as described in http://eprint.iacr.org/2014/526.pdf uses 16
> franctional radix words, and two stages of Karatsuba for 144 mults.
>
> 2^448-2^224-1 uses a special method for multiplication which I don't
> have multiplication counts for. I believe 16 28 bit words is used in
> the current implementation, and so 144 multiplications.
>
> On a 64 bit machine with 64x64->128 multiplier:
>
> 2^389-21 can use 7 56 bit limbs. Here there is plenty of headroom, and
> so no carrying in the reduction is required.
>
> 2^414-17 could use 8 56 bit limbs, with no carrying in the reduction
> required. It could use 7 60 bit limbs, if the hardware carry is used
> in the reduction.
>
> 2^448-2^224-1 is clearly using 8 56 bit limbs: it matches exactly.
>
> At these sizes schoolboy is the right choice: 49 vs 64 multiplications.
>
> Please double-check this. I'll try to verify this in more detail,
> including implementing a few strategies. I know that the results I've
> listed for some 2^414-17 and 2^448-2^224-1 are not optimal, and would
> appreciate correction.
>
> The tentative conclusion is that the performance advantages of
> 2^389-21 vs 2^448-2^224-1 are likely to be minimal on 32-bit machines,
> and about 10% on 64 bit machines. As always, the believable results
> require implementations, which I don't think I will make in time for
> our deadline.
>
> Sincerely,
> Watson Ladd
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Wed Dec 17 15:17:10 2014
Return-Path: <paul@marvell.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 3CCCC1A0010 for <cfrg@ietfa.amsl.com>; Wed, 17 Dec 2014 15:17:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.267
X-Spam-Level: 
X-Spam-Status: No, score=-2.267 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, 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 Z9UMk23C6vWr for <cfrg@ietfa.amsl.com>; Wed, 17 Dec 2014 15:17:04 -0800 (PST)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5EEA41A0007 for <cfrg@irtf.org>; Wed, 17 Dec 2014 15:17:04 -0800 (PST)
Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.14.5/8.14.5) with SMTP id sBHNF8IR023899; Wed, 17 Dec 2014 15:16:57 -0800
Received: from sc-owa04.marvell.com ([199.233.58.150]) by mx0b-0016f401.pphosted.com with ESMTP id 1rb9kr1kt9-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 17 Dec 2014 15:16:57 -0800
Received: from SC-vEXCH2.marvell.com ([10.93.76.134]) by SC-OWA04.marvell.com ([::1]) with mapi; Wed, 17 Dec 2014 15:16:56 -0800
From: Paul Lambert <paul@marvell.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>, Yoav Nir <ynir.ietf@gmail.com>, Alexey Melnikov <alexey.melnikov@isode.com>
Date: Wed, 17 Dec 2014 15:17:02 -0800
Thread-Topic: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
Thread-Index: AdAYXcQrKr3j/+qMREaQ0KMyT5PxGwB8F4JA
Message-ID: <7BAC95F5A7E67643AAFB2C31BEE662D020E2116D1D@SC-VEXCH2.marvell.com>
References: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com> <A635D82B-B55C-4574-AB73-D0408853D642@gmail.com> <548ECB98.7060709@cs.tcd.ie>
In-Reply-To: <548ECB98.7060709@cs.tcd.ie>
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
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68, 1.0.33,  0.0.0000 definitions=2014-12-17_07:2014-12-17,2014-12-17,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound 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-1412170232
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ofED3ouIglTQBMyffh35VRXXz3A
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
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, 17 Dec 2014 23:17:07 -0000

]
]On 15/12/14 11:16, Yoav Nir wrote:
]> But I would really like to know who needs a PAKE right now. PAKEs
]> require the server to store the cleartext password or a password
]> equivalent, creating a security issue that is potentially worse than
]> sending cleartext passwords through authenticated channels (as in
]> form-based or basic authentication to a TLS-protected server)
]
]+many - PAKEs are IMO cool but mostly-useless crypto for exactly
]this reason (and before others disagree, yes, I know some folks
]disagree:-) If however, CFRG folk want to work on 'em I've no objection
]but just so you all know, there is no horde of IETFers waiting with
]bated breath for more PAKE protocol options.

Yes there is ... The Wi-Fi industry needs a stable, open and broadly publis=
hed version of the SAE protocol.  Approval of the previously discussed draf=
t-irtf-cfrg-dragonfly-05 would meet this need. Yes, it's not favored by som=
e for the perceptions associated with the difficulty of construction of mat=
hematically proof's for the protocols.  Yes, Dragonfly is on a track to get=
 wired into products and it would be very nice to have an open, concise and=
 free (versus IEEE 802) specification of this one type of PAKE.

While more stylish and acceptable by mathematicians, I see little value in =
SPAKE2.  In this context I agree with your comment.  There is not a good re=
ason to create new applications of PAKE.  There are better systems solution=
s where effort would be better spent.
=20

Paul

]
]There are to be fair a quite small number of sensible people who do
]figure there's a niche there to fill though (Dan H. for example but not
]sure who else), so I could of course be wrong about that.
]As I understand it, the niche Dan has in mind is for signing up to get a
]certificate in a PKI, where the password is used to authenticate the
]certificate request. Even in that case, I'm not convinced that PAKEs add
]value - esp since a one (or limited) time use password could be better
]there and requires no new crypto.
]
]It's also fair to say that the IETF hasn't ever done any kind of generic
]consensus call on the (lack of) value of PAKEs, and the IETF does have a
]history of adding PAKE options to protocols, (for some to me
]unfathomable reason:-) so the above is just my personal opinion.
]
]S.
]
]_______________________________________________
]Cfrg mailing list
]Cfrg@irtf.org
]http://www.irtf.org/mailman/listinfo/cfrg


From nobody Wed Dec 17 17:49:27 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 483301A0097 for <cfrg@ietfa.amsl.com>; Wed, 17 Dec 2014 17:49: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 ezKEpTfL_5XC for <cfrg@ietfa.amsl.com>; Wed, 17 Dec 2014 17:49:23 -0800 (PST)
Received: from mail-yk0-x22d.google.com (mail-yk0-x22d.google.com [IPv6:2607:f8b0:4002:c07::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F12311A00C3 for <cfrg@irtf.org>; Wed, 17 Dec 2014 17:49:22 -0800 (PST)
Received: by mail-yk0-f173.google.com with SMTP id 19so116177ykq.32 for <cfrg@irtf.org>; Wed, 17 Dec 2014 17:49: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=nRKw7RsMoUm2uzmD+1Yj+o8uhdBjvXAoT4LXihdhqAY=; b=rJBGiz5Ha9UbVe1vCkJxkfm9DCCqADJ/omzxxpd/pxdvxk+TaFJWASoFENBkkaANaG 4IPV9xMsDF7Otsvtf6agIk4xjATGTF4uPFP/3Z/p/4QD4zGcLNpWIn3Eyjnegl8XlL/J ejjNlGUOW3Jt/69PJrjtc3HW/dU3QIHkM+miYv3YTn14N6PDPr9KNqLEUlxj58HEU5Oq 14N37VwDaqJAYn2ccfZukHBEeLusEg4hbBzab0tloJ4KbfgAtthoRO3aWwnqWWUM6aSz iVlht/dK9XO/ZnSVrvwRjMTRn77KHR9CQvauHW9fz9O/BG2tI+/G+hesfwrFDTmhhsbu H9YQ==
MIME-Version: 1.0
X-Received: by 10.170.89.130 with SMTP id g124mr37131909yka.24.1418867362012;  Wed, 17 Dec 2014 17:49:22 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Wed, 17 Dec 2014 17:49:21 -0800 (PST)
In-Reply-To: <7BAC95F5A7E67643AAFB2C31BEE662D020E2116D1D@SC-VEXCH2.marvell.com>
References: <BF9DADF6-003F-454D-8E96-4A28A060CA72@isode.com> <A635D82B-B55C-4574-AB73-D0408853D642@gmail.com> <548ECB98.7060709@cs.tcd.ie> <7BAC95F5A7E67643AAFB2C31BEE662D020E2116D1D@SC-VEXCH2.marvell.com>
Date: Wed, 17 Dec 2014 17:49:21 -0800
Message-ID: <CACsn0ckh4C2rjhOD+RLASGoNwgSo+uX8-z2_=3rUhKsCxYFB7A@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Paul Lambert <paul@marvell.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/BqeJQatpBvzbbP6VwEC9DSCNLKU
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
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, 18 Dec 2014 01:49:25 -0000

On Dec 17, 2014 3:17 PM, "Paul Lambert" <paul@marvell.com> wrote:
>
>
> ]
> ]On 15/12/14 11:16, Yoav Nir wrote:
> ]> But I would really like to know who needs a PAKE right now. PAKEs
> ]> require the server to store the cleartext password or a password
> ]> equivalent, creating a security issue that is potentially worse than
> ]> sending cleartext passwords through authenticated channels (as in
> ]> form-based or basic authentication to a TLS-protected server)
> ]
> ]+many - PAKEs are IMO cool but mostly-useless crypto for exactly
> ]this reason (and before others disagree, yes, I know some folks
> ]disagree:-) If however, CFRG folk want to work on 'em I've no objection
> ]but just so you all know, there is no horde of IETFers waiting with
> ]bated breath for more PAKE protocol options.
>
> Yes there is ... The Wi-Fi industry needs a stable, open and broadly publ=
ished version of the SAE protocol.  Approval of the previously discussed dr=
aft-irtf-cfrg-dragonfly-05 would meet this need. Yes, it's not favored by s=
ome for the perceptions associated with the difficulty of construction of m=
athematically proof's for the protocols.  Yes, Dragonfly is on a track to g=
et wired into products and it would be very nice to have an open, concise a=
nd free (versus IEEE 802) specification of this one type of PAKE.

I don't want to open up a dead horse, but:

Why can't the Wifi alliance publish it's own spec? Anyone implementing
Wifi has to pay for specs for the rest: not clear to me why this is
that special, or why we are the goto group for publishing this. This
doesn't seem to be a relevant consideration for us, since we deal with
IETF protocols.  Furthermore, draft-irtf-cfrg-dragonfly-05 went
through last call a few months ago: it's no longer an issue, and I
don't see why this draft has anything to do with that draft.

>
> While more stylish and acceptable by mathematicians, I see little value i=
n SPAKE2.  In this context I agree with your comment.  There is not a good =
reason to create new applications of PAKE.  There are better systems soluti=
ons where effort would be better spent.

So, we're going to get rid of passwords in five years for the nth time?

The effort of publishing does nothing to solve problems: implementing
does. But when the only PAKE that works over ECC that is
standardized/in an RFC, isn't very well understood, implementors will
reach for it instead of potentially more analysed schemes. Insofar as
we need a PAKE, it would be a good idea to get one in which we have
confidence in the security. It's true that PAKEs have seen limited
adoption compared to plain passwords, but there are many applications
outside of the realm of IETF protocols that have used them.

Furthermore, there is an augmented variant Dan Boneh calls PAKE2+. I
am going to track it down, and it will partially resolve the issue of
servers storing password equivalents. Currently there is no good
reference for it.

Sincerely,
Watson Ladd
>
>
> Paul
>
> ]
> ]There are to be fair a quite small number of sensible people who do
> ]figure there's a niche there to fill though (Dan H. for example but not
> ]sure who else), so I could of course be wrong about that.
> ]As I understand it, the niche Dan has in mind is for signing up to get a
> ]certificate in a PKI, where the password is used to authenticate the
> ]certificate request. Even in that case, I'm not convinced that PAKEs add
> ]value - esp since a one (or limited) time use password could be better
> ]there and requires no new crypto.
> ]
> ]It's also fair to say that the IETF hasn't ever done any kind of generic
> ]consensus call on the (lack of) value of PAKEs, and the IETF does have a
> ]history of adding PAKE options to protocols, (for some to me
> ]unfathomable reason:-) so the above is just my personal opinion.
> ]
> ]S.
> ]
> ]_______________________________________________
> ]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 Dec 18 12:52:00 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 E2E7A1A8032 for <cfrg@ietfa.amsl.com>; Thu, 18 Dec 2014 12:51:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.799
X-Spam-Level: 
X-Spam-Status: No, score=0.799 tagged_above=-999 required=5 tests=[BAYES_50=0.8, LOTS_OF_MONEY=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 7jqPYs-RNk6Y for <cfrg@ietfa.amsl.com>; Thu, 18 Dec 2014 12:51:55 -0800 (PST)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0607.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::607]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 51CCA1A1B94 for <cfrg@irtf.org>; Thu, 18 Dec 2014 12:51:54 -0800 (PST)
Received: from AMSPR03MB375.eurprd03.prod.outlook.com (10.242.227.145) by AMSPR03MB471.eurprd03.prod.outlook.com (10.242.23.149) with Microsoft SMTP Server (TLS) id 15.1.31.17; Thu, 18 Dec 2014 20:51:31 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by AMSPR03MB375.eurprd03.prod.outlook.com (10.242.227.145) with Microsoft SMTP Server (TLS) id 15.1.31.17; Thu, 18 Dec 2014 20:51:29 +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.0049.002; Thu, 18 Dec 2014 20:51:29 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Robert Ransom <rransom.8774@gmail.com>
Thread-Topic: [Cfrg] draft-black-rpgecc-00-.txt [was: Consensus and a way forward]
Thread-Index: AQHQCg+AA9nvrrBncE2keVevceo8V5x0EbQAgAYJNgCAALPwgIAAqAqAgAAkFICAACxOgIAASVqAgAo/CICABgrbAIAAdduAgALh4gCABkJWgA==
Date: Thu, 18 Dec 2014 20:51:28 +0000
Message-ID: <D0B8EDCF.3A504%kenny.paterson@rhul.ac.uk>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk> <CACsn0c=uyPT6xa4CsXPeAV31QeeO+HfsCXAxt7Ba6NOt_Y2hiA@mail.gmail.com> <CABqy+sr1T-VwQx1NaRA+xvnqVn7smjs2+YrG2Uz1Q+8M6c3hng@mail.gmail.com>
In-Reply-To: <CABqy+sr1T-VwQx1NaRA+xvnqVn7smjs2+YrG2Uz1Q+8M6c3hng@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.7.141117
x-originating-ip: [78.146.70.131]
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Kenny.Paterson@rhul.ac.uk; 
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:AMSPR03MB375;UriScan:;
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:AMSPR03MB375;
x-forefront-prvs: 042957ACD7
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(51704005)(24454002)(479174004)(189002)(377424004)(51444003)(199003)(93886004)(64706001)(21056001)(122556002)(76176999)(97736003)(4396001)(561944003)(20776003)(83506001)(15975445007)(19580395003)(46102003)(19580405001)(105586002)(230783001)(2656002)(86362001)(66066001)(50986999)(120916001)(36756003)(77156002)(40100003)(107046002)(68736005)(54356999)(102836002)(99396003)(101416001)(110136001)(62966003)(77096005)(106116001)(31966008)(106356001)(92566001)(74482002)(2950100001)(2900100001)(87936001); DIR:OUT; SFP:1101; SCL:1; SRVR:AMSPR03MB375; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
received-spf: None (protection.outlook.com: rhul.ac.uk does not designate permitted sender hosts)
Content-Type: text/plain; charset="utf-8"
Content-ID: <8029F47B6EBA4A499E888E5B31AC46AA@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:AMSPR03MB471;
X-OriginatorOrg: rhul.ac.uk
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/GGDePIIguyWM1yZHTTtqRIiwP9M
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, 18 Dec 2014 20:52:00 -0000

RGVhciBSb2JlcnQsDQoNCkkgYW0gZ29pbmcgdG8gcmVzcG9uZCB0byBzb21lIG9mIHRoZSBlYXJs
eSBwb2ludHMgaW4geW91ciBtZXNzYWdlIGJlbG93IG9uDQpiZWhhbGYgb2YgdGhlIGNoYWlycy4g
U2VwYXJhdGVseSwgQWxleGVpIHdpbGwgcmVzcG9uZCB0byBzb21lIG9mIHRoZSBvdGhlcg0KcG9p
bnRzLiBCZXR3ZWVuIHVzLCB3ZSBtYXkgbm90IGNvdmVyIGV2ZXJ5dGhpbmcgaW4geW91ciBsb25n
IGUtbWFpbC4gSQ0KYXBvbG9naXNlIGluIGFkdmFuY2UgaWYgdGhpcyBpcyB0aGUgY2FzZS4NCg0K
T24gMTQvMTIvMjAxNCAyMToxNiwgIlJvYmVydCBSYW5zb20iIDxycmFuc29tLjg3NzRAZ21haWwu
Y29tPiB3cm90ZToNCg0KPkkgc2Vjb25kIFdhdHNvbiBMYWRkJ3MgY29uY2VybiBhYm91dCB0aGUg
Y2hhaXJzJyBhcHBhcmVudCBwcmVmZXJlbmNlDQo+Zm9yIGFkb3B0aW5nIGEgZG9jdW1lbnQgYmFz
ZWQgb24gZHJhZnQtYmxhY2stcnBnZWNjLTAwIGluc3RlYWQgb2YNCj5kcmFmdC10dXJuZXItdGhl
Y3VydmUyNTUxOWZ1bmN0aW9uLTAxLg0KDQpOb3RlIHRoYXQgdGhlIGRvY3VtZW50cyBhcmUgbm90
IGRpcmVjdGx5IGNvbXBhcmFibGUsIGFzIHlvdSBzZWVtIHRvIGltcGx5DQpoZXJlLiBkcmFmdC10
dXJuZXItdGhlY3VydmUyNTUxOWZ1bmN0aW9uL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 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 88F4F1A1B0D for <cfrg@ietfa.amsl.com>; Thu, 18 Dec 2014 16:04:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.01
X-Spam-Level: 
X-Spam-Status: No, score=-2.01 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 pX90hIIM2F3K for <cfrg@ietfa.amsl.com>; Thu, 18 Dec 2014 16:04:42 -0800 (PST)
Received: from waldorf.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id 40AAE1A000B for <cfrg@irtf.org>; Thu, 18 Dec 2014 16:04:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1418947481; d=isode.com; s=selector; i=@isode.com; bh=YOJUC1IOLw5cdfX5PNvScL8xUJx2ZvLoMNECeVtPeO0=; 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=Ex9rguFT90vl5DcHvallSYLEUWQzZw8I5Q/szxtKx9xI18AEi966hlR20wVdkv6WKZX7yf YyGPkDe5pgqpzN3+rpl3sWHDgcBhv9Z9VKdPsI9bhvlKoWTiOyYcOx/nFBonFxopNKUvhk CXabkEUgsvQLhfEy1DSZSM9MQnPRjgw=;
Received: from [192.168.0.5] (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 <VJNrlwAKaHsK@waldorf.isode.com>; Fri, 19 Dec 2014 00:04:41 +0000
Message-ID: <54936B9C.1070509@isode.com>
Date: Fri, 19 Dec 2014 00:04:44 +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: Robert Ransom <rransom.8774@gmail.com>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk> <CACsn0c=uyPT6xa4CsXPeAV31QeeO+HfsCXAxt7Ba6NOt_Y2hiA@mail.gmail.com> <CABqy+sr1T-VwQx1NaRA+xvnqVn7smjs2+YrG2Uz1Q+8M6c3hng@mail.gmail.com>
In-Reply-To: <CABqy+sr1T-VwQx1NaRA+xvnqVn7smjs2+YrG2Uz1Q+8M6c3hng@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-transfer-encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/O2zqqjKjDzJ3bNrgJv8PmWVYdv4
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: Fri, 19 Dec 2014 00:04:46 -0000

Robert,

On 14/12/2014 21:16, Robert Ransom wrote:
> * Section 10 (=91Intellectual Property Rights=92) of draft-black-rpgecc-00
>    makes a general statement about the IPR status of the curves
>    specified in the document.  Although that is not a statement about
>    =91specific IPR=92, which section 11 of RFC 3979 (BCP 79) explicitly
>    forbids, I believe that the IPR statement in draft-black-rpgecc-00
>    raises some of the same concerns which section 11 of RFC 3979 states
>    as the rationale for forbidding IETF Documents and RFC Editor
>    Documents from including statements about =91specific IPR=92.
The statement in the draft is not a declaration of IPR specific or=20
general - it's a confirmation that the authors know of *no* IPR. I am=20
pretty sure that authors included this in order to be helpful and save=20
RG participants a datatracker search, and not for any nefarious reason.

So I don't believe that your reaction to this section being present is=20
warranted.
>    Thus, I
>    believe that section 10 of draft-black-rpgecc-00 is in violation of
>    BCP 79.  The authors of draft-black-rpgecc-00 stated in the draft
>    that it was =91submitted in full conformance with the provisions of
>    BCP 78 and BCP 79=92.
I think calling this a "violation" is uncalled for, since the statement=20
by the authors is not a declaration of IPR. So at best, this is a nit=20
that could easily be addressed by removing the section. The authors=20
would not even need to make any IPR declaration in the datatracker,=20
since they apparently know of no IPR and the datatracker doesn't even=20
offer to record these cases.

So by including the statement as they did, the authors are actually=20
giving the RG more information that would otherwise be available, which=20
is a good thing IMO.

Alexey,
As a co-chair.


From nobody Thu Dec 18 20:52: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 6FB941ACCE7 for <cfrg@ietfa.amsl.com>; Thu, 18 Dec 2014 20:52: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 TS40-TSsSYmy for <cfrg@ietfa.amsl.com>; Thu, 18 Dec 2014 20:52:19 -0800 (PST)
Received: from mail-yh0-x22a.google.com (mail-yh0-x22a.google.com [IPv6:2607:f8b0:4002: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 6771D1ACCE6 for <cfrg@irtf.org>; Thu, 18 Dec 2014 20:52:19 -0800 (PST)
Received: by mail-yh0-f42.google.com with SMTP id v1so62889yhn.1 for <cfrg@irtf.org>; Thu, 18 Dec 2014 20:52: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:content-transfer-encoding; bh=AAwA/JN2sQsEDqKBk/Zyk32y/wIVsoVGldZY56QdiII=; b=ZASPOe67R/uitOGrdvGi6RWlwdRN1J+5UhcP6LRmIYbbhfRsWROIkurRA3Aybv35rp wHghC3ag8+/7LukhFxSwukcKCkfVPW8kAF6C88BDljpzGCG0sjabGZXTjB4K8r/WpocC 9w9KYZ46oMxKwS0DH4HyD5XlsF1qGFAIxhuvpkenIwiDauWhh4MdZaQ6R9/rD4CMZ9aa ovYKOOsHdMjUNOkcgF94AGZmNkAo8sBbwTvEZGAJKWTBFpZjcCQ9naDCQhA4O+zl2Wi5 UIhp84P6wHnqwwTJSvt+frB2H4RN+FFBx8zKlhzKy1QZzcoIk4VWHl0FiZPhT6LRJwj/ a2wQ==
MIME-Version: 1.0
X-Received: by 10.236.22.36 with SMTP id s24mr4993304yhs.138.1418964738569; Thu, 18 Dec 2014 20:52:18 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Thu, 18 Dec 2014 20:52:18 -0800 (PST)
In-Reply-To: <D0B8EDCF.3A504%kenny.paterson@rhul.ac.uk>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk> <CACsn0c=uyPT6xa4CsXPeAV31QeeO+HfsCXAxt7Ba6NOt_Y2hiA@mail.gmail.com> <CABqy+sr1T-VwQx1NaRA+xvnqVn7smjs2+YrG2Uz1Q+8M6c3hng@mail.gmail.com> <D0B8EDCF.3A504%kenny.paterson@rhul.ac.uk>
Date: Thu, 18 Dec 2014 20:52:18 -0800
Message-ID: <CACsn0cnkdjEPGZ5Q1Nm+6OZJVdoj6X-ksc0X_atavQ+610MkXA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.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/RPWNV_R3K4v3ZOlr7-4mRyFa-4A
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: Fri, 19 Dec 2014 04:52:23 -0000

On Dec 18, 2014 12:52 PM, "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk> wro=
te:
>
> Dear Robert,
>
> I am going to respond to some of the early points in your message below o=
n
> behalf of the chairs. Separately, Alexei will respond to some of the othe=
r
> points. Between us, we may not cover everything in your long e-mail. I
> apologise in advance if this is the case.
>
> On 14/12/2014 21:16, "Robert Ransom" <rransom.8774@gmail.com> wrote:
>
> >I second Watson Ladd's concern about the chairs' apparent preference
> >for adopting a document based on draft-black-rpgecc-00 instead of
> >draft-turner-thecurve25519function-01.
>
> Note that the documents are not directly comparable, as you seem to imply
> here. draft-turner-thecurve25519function-01 specifies a particular
> key-agreement scheme based on Curve25519. draft-black-rpgecc-00 specifies
> a curve generation method that can, inter alia, generate curves at a
> variety of security levels. Its output is not directly usable by
> implementors, of course, and more work would be needed by this group to
> take its output and make it suitable for delivery to the TLS WG, assuming
> that this is the direction CFRG wants to go in (an assumption I am not
> making at this stage, but something that I will happily admit that I do
> hope will happen given the way in which this group has been deadlocked fo=
r
> some time now).

The requested modification to draft black makes it generate curve25519
as I understand, but with potentially different generators. If this
request is met, and we add the description of the algorithms, we will
arrive at the contents of draft-turner25519. Why not start there?

We have 6 days, or we will have missed a deadline for the second time.

> >draft-black-rpgecc-00 omits several technical details of ECDH (the
> >precise point format and handling of =C5=92invalid=C2=B9 public-key bits=
tring
> >inputs) which the extensive implementation experience of Curve25519
> >has shown are needed to ensure interoperability and forward
> >compatibility and to protect the privacy of users of ECDH
> >implementations on the Internet.
> >draft-turner-thecurve25519function-01 includes those technical
> >details.
> >
>
> Let me repeat. This is correct, but I don't believe it to be relevant for
> a document that is focussed on curve generation.

That's not the document we were asked to produce, and it's not a
document that will help implementors. How does a generation method
help with addressing the request for two or three curves, at security
levels we feel are relevant?

>
>
> >
> >Adopting draft-black-rpgecc-00 (or a revised version) as a CFRG
> >document, instead of (a version of) the previously existing
> >draft-turner-thecurve25519function-01, would raise two serious
> >concerns:
> >
> >* As Watson Ladd has noted, draft-black-rpgecc-00 would require more
> >  effort, and thus more time, for CFRG to modify it into a useful
> >  product than draft-turner-thecurve25519function-01 would.
>
> But draft-turner-thecurve25519function-01 only specifies a single ECDH
> algorithm for a single curve. And this is not what the RG has been asked
> to produce for recommendation to the TLS WG. Rather, we were asked for
> curves at different security levels (and implicitly, recommendations abou=
t
> how to use those curves to do key exchange and signatures). So substantia=
l
> work would also be needed to turn draft-turner-thecurve25519function-01
> into what the RG needs to produce.

Changing a single constant or two is not "substantial work". I've
asked repeatedly for input on what signature format would be
preferred,  and gotten little response: my plan this weekend was to
write a version with signatures or a separate document.

>
> In short, you are comparing apples and aardvarks here.
>
> >
> >* Adoption of draft-black-rpgecc-00 would reward its authors, both by
> >  crediting them as authors of CFRG's resulting document and by giving
> >  them greater control over CFRG's product.  It is inappropriate for
> >  IETF to reward the authors of draft-black-rpgecc-00 for submitting a
> >  document to CFRG that they knew to be inferior to a previous
> >  submission.
>
> This is not about rewards. It's about meeting the request of the TLS WG.
> And I contend that it's not inferior to
> draft-turner-thecurve25519function-01,
> but a different beast entirely.

Which one is closer to meeting the express desires of the TLS WG? The
TLS WG does not want a generation method, but rather new curves. And
they don't want new "curves" but rather want us to do the hard work of
specifying a better mechanism. We've already ruled out random primes,
and short Weierstrass cofactor 1, in some cases in the face of
determined opposition. What's so special about the minority holding
out for slow choices of c that we need to appease them also?

>
> >
> >The CFRG chairs have expressed a preference for adopting a version of
> >draft-black-rpgecc, instead of a version of
> >draft-turner-thecurve25519function.  Given the above concerns, why do
> >the chairs believe that adoption of draft-black-rpgecc as a CFRG
> >document is in the best interests of CFRG and of the Internet as a
> >whole?
>
> See above. In summary: we believe that, with some modifications to enhanc=
e
> security (to which MGN have agreed), and additional work to provide
> guidance as to how to use these curves in specific algorithms (ECDH and
> signatures), we can produce a document (or documents) that meet(s) the
> request from the TLS WG.

And that work has been largely done for Curve25519.

Are the chairs committed to the choice of Curve 25519 at the 256 size
at this point? Or would they like until Purim for a revised version of
the generation method, an argument about the generators, some debate
over picking a different protocol, and further impatience from the
multiple working groups now blocked on our work? If we can get the
Curve25519 work out the door, with the promise that the larger curve
will use a similar protocol, this should buy us more time to consider
the higher security levels.

>
> >
> >>I'm also surprised that we aren't using 2^389-21 for the same reasons
> >>cited for using 2^255-19. We do not need complete agreement to go
> >>forward. If we want a consensus result we'll still have gratuitous
> >>incompatibilities and an unforced loss of additional performance, in
> >>order to get one particular group on board. A process justified as
> >>being driven by technical criteria has devolved into an openly
> >>political horse trade, where we're supposed to be happy that the
> >>2^255-19 prime is used, and ignore the issues with 2^384-317.
> >
> >I second this concern as well.  I have seen very little support in the
> >CFRG for the 384-bit curve specified in draft-black-rpgecc-00, and I
> >do not believe that the short discussion of 2^389-21 as a modulus for
> >elliptic-curve cryptography constitutes a consensus of CFRG or shows
> >that 2^389-21 is technically superior to or has implementation
> >experience comparable to 2^414-17 or 2^448-2^224-1 as moduli for ECC.
> >
>
> Here I agree with you that the specific prime 2^389-21 has not had much
> discussion and therefore not gained consensus in CFRG. But I'm not aware
> of any specific security or implementation concerns about it that would
> not also apply to other "sparse" primes. Can you point to some? For
> example, is there any reason to believe it will be any more difficult to
> make secure against side-channel attacks than other choices at roughly th=
e
> same security level? Is it the case that the "implementation experience"
> that you cite for primes 2^414-17 or 2^448-2^224-1, or any other
> pseudo-Mersenne primes, would NOT transfer to this choice of prime? It
> would be really helpful to the group if you could be more specific in
> expressing your concerns here.

One set of concerns is how efficient it will be compared to Ed448. We
have guesses: there is no substitute for implementations.

Furthermore, the choice of bitlengths is not set in stone. If Ed448
could offer the same performance as the 384 bit prime, there would be
no reason not to go for the larger, effectively free length. It
probably won't, but until we have working implementations we don't
know.

Furthermore, accepting the black draft does not mean picking 2^389-21.
It means picking 2^384-big, where big is sufficiently large to make
Ed448 approximately as fast, and make vectorized implementations slow.

>
> >
> >I have a further concern regarding the intentional omission of point
> >addition and scalar multiplication algorithms from the text of
> >draft-black-rpgecc-00.
>
> I expect this *was* intentional on the part of the authors, given my
> assumption that it was their intention to provide a clean document that
> focusses on curve generation rather than low level details of their usage
> in cryptographic primitives. But reading on further in your message, I
> think you mean to imply something more sinister here.
>
> >
> >Instead of providing such algorithms in the text of the draft,
> >draft-black-rpgecc-00 lists <https://eprint.iacr.org/2014/130.pdf>,
> >which contains several scalar multiplication algorithms for those
> >curves, as an informative reference (listed as [MSR] in the draft).
> >(I reviewed each of the draft's references (non-RFC references were
> >accessed on 2014-12-10); no other document listed as a reference
> >contains a point addition algorithm for Edwards curves, and no other
> >document that I was able to retrieve contains a scalar multiplication
> >algorithm for any type of elliptic curve.)
>
> Perhaps the draft's authors would consider adding further references to
> the extensive literature on ECC implementation, particular papers by Dan
> Bernstein, Tanja Lange, and their co-authors (who have done so much to
> spur the development of elliptic curve cryptography in its modern form).
> However, I don't believe that's really the point here - this draft is
> about specifying curves, not operations for those curves.

And once again, the final product needs to be about providing working
algorithms. Several issues with original draft for Curve25519 in TLS
stemmed from the absence of a description of the Curve25519 function
except in a paper of Daniel J. Bernstein. A document that merely
contains curves, without the algorithms, does not satisfy the request.

Furthermore, we still need to determine what points are sent on what
model. Our job will not be done if we simply accept the Black et al.
draft.


>
> However, I'd also point out - and I think this is key - that (based on my
> own reading of this patent, and heavily caveated by the usual disclaimers
> about none of us being lawyers) it's perfectly possible to implement the
> basic arithmetic procedures (point addition, scalar multiplication) and
> higher level algorithms (ECDH, signatures) for the curves produced by the
> MGN procedure (as for any other similar curves) without having to use any
> of the techniques that might be covered by this patent. After all, the
> curves it produces are Edwards form, or twisted Edwards form, so I would
> assume that the extensive code that is available under generous open
> source licences would be directly usable here.

Much of that code assumes that the addition law is complete. On the
new curves in the recent draft, I believe this assumption is
satisfied. However, the original NUMS submission presented an
algorithm that infringed on the patent. While it would be possible to
avoid the patent, the cited reference and presentation made in April
suggested an algorithm that ran smack into the patent. The new draft
makes it substantially easier to avoid the patent, by permitting
complete addition laws.

<snip>
>
> It's not about rewarding any one or any organisation with anything.

Really? The entire argument for this "compromise" assumes that the
authors of the NUMS draft have something to offer in return for our
accepting a slower prime at the 384 bit level. They don't: IETF
working groups (and I imagine IRTF working groups) regularly reach
conclusions in the face of vocal opposition, in most cases far more
valid than the objections of Benjamin Black to special primes. For
example, this working group has decided to proceed with a last call on
a PAKE that doesn't have a security proof. The TLS WG decided to
pursue ALPN over NPN, despite concerns about client fingerprinting vs.
server fingerprinting. I am certain there are more decisions of a
similar nature to be found. I don't think these are commendable
actions, but I do think that we should consider the relative merits of
2^384-big vs 2^389-21, regardless of the loudness of the supporters of
one side or the other, and should be aware of what the basis for
making a decision actually is.

Remember that we are effectively committed to recommending Curve25519.
Any argument about the superior "rigidity" of 2^384-big has to imagine
someone unwilling to accept 2^389-21 for exactly the same reasons they
accepted 2^255-19, namely the extremely limited number of primes of
this shape.

If the leadership is committed to compromise for the sake of
compromise, so be it. But logrolling is not the same as rough
consensus, and the IETF rules clearly and explicitly point this out.
Nothing has changed about the relative performance of 2^384-big vs
Ed448 since April. The choice of 2^389-21 vs. Ed448 is more difficult:
my instinct suggests the smaller, with Ed448 and E521 as options for
those who desire significantly more security.

Sincerely,
Watson Ladd

>
>
> >
> >
> >Robert Ransom
>
> Regards,
>
> Kenny (on behalf of the chairs)
>
>
>
> _______________________________________________
> Cfrg mailing list
>Cfrg@irtf.org
>http://www.irtf.org/mailman/listinfo/cfrg


From nobody Fri Dec 19 02:46:19 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 4E6FA1A87E2 for <cfrg@ietfa.amsl.com>; Fri, 19 Dec 2014 02:46:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.302
X-Spam-Level: 
X-Spam-Status: No, score=-1.302 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_12=0.6, 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 uZNsZrNNRuIB for <cfrg@ietfa.amsl.com>; Fri, 19 Dec 2014 02:46:10 -0800 (PST)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0600.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::600]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A660F1A87E0 for <cfrg@irtf.org>; Fri, 19 Dec 2014 02:46:09 -0800 (PST)
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by AM3PR03MB371.eurprd03.prod.outlook.com (10.242.18.23) with Microsoft SMTP Server (TLS) id 15.1.36.23; Fri, 19 Dec 2014 10:45:45 +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.0049.002; Fri, 19 Dec 2014 10:45:45 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Watson Ladd <watsonbladd@gmail.com>
Thread-Topic: [Cfrg] draft-black-rpgecc-00-.txt [was: Consensus and a way forward]
Thread-Index: AQHQCg+AA9nvrrBncE2keVevceo8V5x0EbQAgAYJNgCAALPwgIAAqAqAgAAkFICAACxOgIAASVqAgAo/CICABgrbAIAAdduAgALh4gCABkJWgIAAhmwAgABitgA=
Date: Fri, 19 Dec 2014 10:45:45 +0000
Message-ID: <D0B9A74B.3A60D%kenny.paterson@rhul.ac.uk>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk> <CACsn0c=uyPT6xa4CsXPeAV31QeeO+HfsCXAxt7Ba6NOt_Y2hiA@mail.gmail.com> <CABqy+sr1T-VwQx1NaRA+xvnqVn7smjs2+YrG2Uz1Q+8M6c3hng@mail.gmail.com> <D0B8EDCF.3A504%kenny.paterson@rhul.ac.uk> <CACsn0cnkdjEPGZ5Q1Nm+6OZJVdoj6X-ksc0X_atavQ+610MkXA@mail.gmail.com>
In-Reply-To: <CACsn0cnkdjEPGZ5Q1Nm+6OZJVdoj6X-ksc0X_atavQ+610MkXA@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.7.141117
x-originating-ip: [134.219.148.47]
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Kenny.Paterson@rhul.ac.uk; 
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:AM3PR03MB371;
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:AM3PR03MB371;
x-forefront-prvs: 0430FA5CB7
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(51704005)(46034005)(189002)(377424004)(479174004)(199003)(377454003)(24454002)(76104003)(76176999)(40100003)(31966008)(64706001)(87936001)(54356999)(46102003)(74482002)(66066001)(2656002)(20776003)(92566001)(1411001)(86362001)(36756003)(50986999)(15975445007)(77096005)(4396001)(102836002)(1720100001)(2900100001)(68736005)(107046002)(106116001)(2950100001)(97736003)(19580395003)(83506001)(105586002)(110136001)(19580405001)(99396003)(93886004)(122556002)(120916001)(106356001)(77156002)(230783001)(21056001)(62966003)(101416001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR03MB371; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
received-spf: None (protection.outlook.com: rhul.ac.uk does not designate permitted sender hosts)
Content-Type: text/plain; charset="utf-8"
Content-ID: <C28324AE4C7FC94998DEF89DE01C5EF8@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Dec 2014 10:45:45.3207 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR03MB371
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/SbR5VGDPEUsT-6D3JonyzgwiMpA
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: Fri, 19 Dec 2014 10:46:14 -0000

RGVhciBXYXRzb24sDQoNCk9uIDE5LzEyLzIwMTQgMDQ6NTIsICJXYXRzb24gTGFkZCIgPHdhdHNv
bmJsYWRkQGdtYWlsLmNvbT4gd3JvdGU6DQoNCj5PbiBEZWMgMTgsIDIwMTQgMTI6NTIgUE0sICJQ
YXRlcnNvbiwgS2VubnkiIDxLZW5ueS5QYXRlcnNvbkByaHVsLmFjL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fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KPj4gQ2ZyZyBtYWlsaW5nIGxpc3QNCj4+
Q2ZyZ0BpcnRmLm9yZw0KPj5odHRwOi8vd3d3LmlydGYub3JnL21haWxtYW4vbGlzdGluZm8vY2Zy
Zw0KDQo=


From nobody Fri Dec 19 04:44:45 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 50F001A888B for <cfrg@ietfa.amsl.com>; Fri, 19 Dec 2014 04:44:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.312
X-Spam-Level: 
X-Spam-Status: No, score=-6.312 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_12=0.6, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, 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 EjxFeC9EPNqp for <cfrg@ietfa.amsl.com>; Fri, 19 Dec 2014 04:44:38 -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 718E91A8755 for <cfrg@irtf.org>; Fri, 19 Dec 2014 04:44:38 -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 1Y1wv5-0005v2-Dt; Fri, 19 Dec 2014 07:44:35 -0500
Message-ID: <54941DAC.7030208@w3.org>
Date: Fri, 19 Dec 2014 13:44:28 +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: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>,  Watson Ladd <watsonbladd@gmail.com>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk> <CACsn0c=uyPT6xa4CsXPeAV31QeeO+HfsCXAxt7Ba6NOt_Y2hiA@mail.gmail.com> <CABqy+sr1T-VwQx1NaRA+xvnqVn7smjs2+YrG2Uz1Q+8M6c3hng@mail.gmail.com> <D0B8EDCF.3A504%kenny.paterson@rhul.ac.uk> <CACsn0cnkdjEPGZ5Q1Nm+6OZJVdoj6X-ksc0X_atavQ+610MkXA@mail.gmail.com> <D0B9A74B.3A60D%kenny.paterson@rhul.ac.uk>
In-Reply-To: <D0B9A74B.3A60D%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/t46KqJsGMyJNU4vyPlmt6RHPdIM
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: Fri, 19 Dec 2014 12:44:43 -0000

On 12/19/2014 11:45 AM, Paterson, Kenny wrote:
> Dear Watson,
> 
> On 19/12/2014 04:52, "Watson Ladd" <watsonbladd@gmail.com> wrote:
> 
>> On Dec 18, 2014 12:52 PM, "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
>> wrote:
>>>
>>> Dear Robert,
>>>
>>> I am going to respond to some of the early points in your message below
>>> on
>>> behalf of the chairs. Separately, Alexei will respond to some of the
>>> other
>>> points. Between us, we may not cover everything in your long e-mail. I
>>> apologise in advance if this is the case.
>>>
>>> On 14/12/2014 21:16, "Robert Ransom" <rransom.8774@gmail.com> wrote:
>>>
>>>> I second Watson Ladd's concern about the chairs' apparent preference
>>>> for adopting a document based on draft-black-rpgecc-00 instead of
>>>> draft-turner-thecurve25519function-01.
>>>
>>> Note that the documents are not directly comparable, as you seem to
>>> imply
>>> here. draft-turner-thecurve25519function-01 specifies a particular
>>> key-agreement scheme based on Curve25519. draft-black-rpgecc-00
>>> specifies
>>> a curve generation method that can, inter alia, generate curves at a
>>> variety of security levels. Its output is not directly usable by
>>> implementors, of course, and more work would be needed by this group to
>>> take its output and make it suitable for delivery to the TLS WG,
>>> assuming
>>> that this is the direction CFRG wants to go in (an assumption I am not
>>> making at this stage, but something that I will happily admit that I do
>>> hope will happen given the way in which this group has been deadlocked
>>> for
>>> some time now).
>>
>> The requested modification to draft black makes it generate curve25519
>> as I understand, but with potentially different generators. If this
>> request is met, and we add the description of the algorithms, we will
>> arrive at the contents of draft-turner25519. Why not start there?
> 
> We could indeed have done that. On the other hand, I believe it's more
> appealing to agree on a rigid curve generation method and then recommend
> its outputs, delivering that along with appropriate implementation advice.
> Perhaps we can even borrow some text from draft-turner25519 to speed
> things along? Is some of that reusable, do you think?

Indeed, I think this approach squares the circle by allowing Curve 25519
as well as the other "security levels" to be generated. If we could
*merge* the drafts and recommend Curve 25519 as a specific curve along
with the curves at other security levels, this might finally break the
deadlock.

Note that W3C Web Cryptography API has a deadline as well - our deadline
for CFRG making a firm decision in order for WebCrypto to add in any new
curves is March 12th, which would trigger another Last Call for us.

https://lists.w3.org/Archives/Member/chairs/2014OctDec/0181.html

Otherwise, WebCrypto will progress without them, possibly adding them in
later via an errata process.

Further details on the debate here under 1.3 "Adding new elliptic curves":

http://www.w3.org/2012/webcrypto/DispositionOfComments/WebCryptoDispositionOfComments.html

  cheers,
        harry

> 
>>
>> We have 6 days, or we will have missed a deadline for the second time.
> 
> Indeed.
> 
>>
>>>> draft-black-rpgecc-00 omits several technical details of ECDH (the
>>>> precise point format and handling of Å’invalidÂ¹ public-key bitstring
>>>> inputs) which the extensive implementation experience of Curve25519
>>>> has shown are needed to ensure interoperability and forward
>>>> compatibility and to protect the privacy of users of ECDH
>>>> implementations on the Internet.
>>>> draft-turner-thecurve25519function-01 includes those technical
>>>> details.
>>>>
>>>
>>> Let me repeat. This is correct, but I don't believe it to be relevant
>>> for
>>> a document that is focussed on curve generation.
>>
>> That's not the document we were asked to produce, and it's not a
>> document that will help implementors. How does a generation method
>> help with addressing the request for two or three curves, at security
>> levels we feel are relevant?
> 
> It's a document that will produce what we were asked to produce, in a way
> whose rigidity can be demonstrated (modulo the selection of input primes).
> This is important to some people here.
> 
> I know there are people who will object to the fact that the method was
> tweaked and that the primes have been changed. Personally, though, I don't
> see that tweaking in order to improve security, as motivated by remarks
> made by Dan Bernstein, is a bad thing. As for the primes, there we can
> argue about performance, as you eloquently do below. If there are
> compelling performance reasons to change the 192-bit level prime, then we
> should consider doing it. See below for more on this.
> 
>>
>>>
>>>
>>>>
>>>> Adopting draft-black-rpgecc-00 (or a revised version) as a CFRG
>>>> document, instead of (a version of) the previously existing
>>>> draft-turner-thecurve25519function-01, would raise two serious
>>>> concerns:
>>>>
>>>> * As Watson Ladd has noted, draft-black-rpgecc-00 would require more
>>>>  effort, and thus more time, for CFRG to modify it into a useful
>>>>  product than draft-turner-thecurve25519function-01 would.
>>>
>>> But draft-turner-thecurve25519function-01 only specifies a single ECDH
>>> algorithm for a single curve. And this is not what the RG has been asked
>>> to produce for recommendation to the TLS WG. Rather, we were asked for
>>> curves at different security levels (and implicitly, recommendations
>>> about
>>> how to use those curves to do key exchange and signatures). So
>>> substantial
>>> work would also be needed to turn draft-turner-thecurve25519function-01
>>> into what the RG needs to produce.
>>
>> Changing a single constant or two is not "substantial work". I've
>> asked repeatedly for input on what signature format would be
>> preferred,  and gotten little response: my plan this weekend was to
>> write a version with signatures or a separate document.
> 
> Timing is everything in I*TF. I think you were asking for the input at the
> wrong point in the process. Worth reflecting on for the next time, perhaps.
> 
>>
>>>
>>> In short, you are comparing apples and aardvarks here.
>>>
>>>>
>>>> * Adoption of draft-black-rpgecc-00 would reward its authors, both by
>>>>  crediting them as authors of CFRG's resulting document and by giving
>>>>  them greater control over CFRG's product.  It is inappropriate for
>>>>  IETF to reward the authors of draft-black-rpgecc-00 for submitting a
>>>>  document to CFRG that they knew to be inferior to a previous
>>>>  submission.
>>>
>>> This is not about rewards. It's about meeting the request of the TLS WG.
>>> And I contend that it's not inferior to
>>> draft-turner-thecurve25519function-01,
>>> but a different beast entirely.
>>
>> Which one is closer to meeting the express desires of the TLS WG? The
>> TLS WG does not want a generation method, but rather new curves. And
>> they don't want new "curves" but rather want us to do the hard work of
>> specifying a better mechanism. We've already ruled out random primes,
>> and short Weierstrass cofactor 1, in some cases in the face of
>> determined opposition. What's so special about the minority holding
>> out for slow choices of c that we need to appease them also?
> 
> I don't think it's really a minority - things seem more balanced than that
> to me, based on my reading of the list.
> 
> A minute ago you said that it was not hard work to specify multiple curves
> and algorithms - just a matter of changing some constants! If that's the
> case, then great, I'd hope you'd get involved in developing
> draft-black-rpgecc-00-.txt and help do that work there, to turn it into
> what you think we need to deliver.
> 
> 
>>
>>>
>>>>
>>>> The CFRG chairs have expressed a preference for adopting a version of
>>>> draft-black-rpgecc, instead of a version of
>>>> draft-turner-thecurve25519function.  Given the above concerns, why do
>>>> the chairs believe that adoption of draft-black-rpgecc as a CFRG
>>>> document is in the best interests of CFRG and of the Internet as a
>>>> whole?
>>>
>>> See above. In summary: we believe that, with some modifications to
>>> enhance
>>> security (to which MGN have agreed), and additional work to provide
>>> guidance as to how to use these curves in specific algorithms (ECDH and
>>> signatures), we can produce a document (or documents) that meet(s) the
>>> request from the TLS WG.
>>
>> And that work has been largely done for Curve25519.
>>
>> Are the chairs committed to the choice of Curve 25519 at the 256 size
>> at this point? Or would they like until Purim for a revised version of
>> the generation method, an argument about the generators, some debate
>> over picking a different protocol, and further impatience from the
>> multiple working groups now blocked on our work? If we can get the
>> Curve25519 work out the door, with the promise that the larger curve
>> will use a similar protocol, this should buy us more time to consider
>> the higher security levels.
> 
> That would be one way of skinning this particular cat. Another way would
> be to get involved with draft-black-rpgecc-00-.txt and help push it
> forward. That's what the chairs are proposing.
> 
>>
>>>
>>>>
>>>>> I'm also surprised that we aren't using 2^389-21 for the same reasons
>>>>> cited for using 2^255-19. We do not need complete agreement to go
>>>>> forward. If we want a consensus result we'll still have gratuitous
>>>>> incompatibilities and an unforced loss of additional performance, in
>>>>> order to get one particular group on board. A process justified as
>>>>> being driven by technical criteria has devolved into an openly
>>>>> political horse trade, where we're supposed to be happy that the
>>>>> 2^255-19 prime is used, and ignore the issues with 2^384-317.
>>>>
>>>> I second this concern as well.  I have seen very little support in the
>>>> CFRG for the 384-bit curve specified in draft-black-rpgecc-00, and I
>>>> do not believe that the short discussion of 2^389-21 as a modulus for
>>>> elliptic-curve cryptography constitutes a consensus of CFRG or shows
>>>> that 2^389-21 is technically superior to or has implementation
>>>> experience comparable to 2^414-17 or 2^448-2^224-1 as moduli for ECC.
>>>>
>>>
>>> Here I agree with you that the specific prime 2^389-21 has not had much
>>> discussion and therefore not gained consensus in CFRG. But I'm not aware
>>> of any specific security or implementation concerns about it that would
>>> not also apply to other "sparse" primes. Can you point to some? For
>>> example, is there any reason to believe it will be any more difficult to
>>> make secure against side-channel attacks than other choices at roughly
>>> the
>>> same security level? Is it the case that the "implementation experience"
>>> that you cite for primes 2^414-17 or 2^448-2^224-1, or any other
>>> pseudo-Mersenne primes, would NOT transfer to this choice of prime? It
>>> would be really helpful to the group if you could be more specific in
>>> expressing your concerns here.
>>
>> One set of concerns is how efficient it will be compared to Ed448. We
>> have guesses: there is no substitute for implementations.
>>
>> Furthermore, the choice of bitlengths is not set in stone. If Ed448
>> could offer the same performance as the 384 bit prime, there would be
>> no reason not to go for the larger, effectively free length. It
>> probably won't, but until we have working implementations we don't
>> know.
>>
>> Furthermore, accepting the black draft does not mean picking 2^389-21.
>> It means picking 2^384-big, where big is sufficiently large to make
>> Ed448 approximately as fast, and make vectorized implementations slow.
> 
> Sorry, I mis-wrote here. You are quite right that the draft proposes
> 2^384-317. That's what you get when your chairs are working late at night
> after long days doing their day jobs....
> 
> I'd be grateful if the folks from the MGN team could say more on the list
> why they chose this particular prime, and give some insight into the
> performance impact of choosing it over near neighbours such as 2^389-21.
> 
> Others should chime in too - for example, people should feel free to
> repeat performance numbers from earlier in our discussions (they are out
> there in the archive somewhere!).
> 
> Please let's collaborate and see if we can swiftly resolve whether there
> is a significant performance impact or not.
> 
>>
>>>
>>>>
>>>> I have a further concern regarding the intentional omission of point
>>>> addition and scalar multiplication algorithms from the text of
>>>> draft-black-rpgecc-00.
>>>
>>> I expect this *was* intentional on the part of the authors, given my
>>> assumption that it was their intention to provide a clean document that
>>> focusses on curve generation rather than low level details of their
>>> usage
>>> in cryptographic primitives. But reading on further in your message, I
>>> think you mean to imply something more sinister here.
>>>
>>>>
>>>> Instead of providing such algorithms in the text of the draft,
>>>> draft-black-rpgecc-00 lists <https://eprint.iacr.org/2014/130.pdf>,
>>>> which contains several scalar multiplication algorithms for those
>>>> curves, as an informative reference (listed as [MSR] in the draft).
>>>> (I reviewed each of the draft's references (non-RFC references were
>>>> accessed on 2014-12-10); no other document listed as a reference
>>>> contains a point addition algorithm for Edwards curves, and no other
>>>> document that I was able to retrieve contains a scalar multiplication
>>>> algorithm for any type of elliptic curve.)
>>>
>>> Perhaps the draft's authors would consider adding further references to
>>> the extensive literature on ECC implementation, particular papers by Dan
>>> Bernstein, Tanja Lange, and their co-authors (who have done so much to
>>> spur the development of elliptic curve cryptography in its modern form).
>>> However, I don't believe that's really the point here - this draft is
>>> about specifying curves, not operations for those curves.
>>
>> And once again, the final product needs to be about providing working
>> algorithms. Several issues with original draft for Curve25519 in TLS
>> stemmed from the absence of a description of the Curve25519 function
>> except in a paper of Daniel J. Bernstein. A document that merely
>> contains curves, without the algorithms, does not satisfy the request.
> 
> Agreed.
> 
>>
>> Furthermore, we still need to determine what points are sent on what
>> model. Our job will not be done if we simply accept the Black et al.
>> draft.
> 
> Agreed. No-one was saying this, as far as I recall. Certainly not me.
> (Please reread my messages carefully.)
> 
>>
>>>
>>> However, I'd also point out - and I think this is key - that (based on
>>> my
>>> own reading of this patent, and heavily caveated by the usual
>>> disclaimers
>>> about none of us being lawyers) it's perfectly possible to implement the
>>> basic arithmetic procedures (point addition, scalar multiplication) and
>>> higher level algorithms (ECDH, signatures) for the curves produced by
>>> the
>>> MGN procedure (as for any other similar curves) without having to use
>>> any
>>> of the techniques that might be covered by this patent. After all, the
>>> curves it produces are Edwards form, or twisted Edwards form, so I would
>>> assume that the extensive code that is available under generous open
>>> source licences would be directly usable here.
>>
>> Much of that code assumes that the addition law is complete. On the
>> new curves in the recent draft, I believe this assumption is
>> satisfied. However, the original NUMS submission presented an
>> algorithm that infringed on the patent. While it would be possible to
>> avoid the patent, the cited reference and presentation made in April
>> suggested an algorithm that ran smack into the patent. The new draft
>> makes it substantially easier to avoid the patent, by permitting
>> complete addition laws.
> 
> Well, that's good then, no?
> 
>>
>> <snip>
>>>
>>> It's not about rewarding any one or any organisation with anything.
>>
>> Really? The entire argument for this "compromise" assumes that the
>> authors of the NUMS draft have something to offer in return for our
>> accepting a slower prime at the 384 bit level. They don't:
> 
> I think the draft does have something to offer: a well-defined, repeatable
> process for generating curves that meet all the identified security
> criteria. The choice of prime then becomes a performance question (given
> the current state-of-the-art in our knowledge about the DLOG problem).
> 
> But you are right to ask what the performance impact is of the particular
> choice of prime 2^384-317. Let's try to hash that out with solid numbers.
> 
>> IETF
>> working groups (and I imagine IRTF working groups) regularly reach
>> conclusions in the face of vocal opposition, in most cases far more
>> valid than the objections of Benjamin Black to special primes. For
>> example, this working group has decided to proceed with a last call on
>> a PAKE that doesn't have a security proof. The TLS WG decided to
>> pursue ALPN over NPN, despite concerns about client fingerprinting vs.
>> server fingerprinting. I am certain there are more decisions of a
>> similar nature to be found. I don't think these are commendable
>> actions, but I do think that we should consider the relative merits of
>> 2^384-big vs 2^389-21, regardless of the loudness of the supporters of
>> one side or the other, and should be aware of what the basis for
>> making a decision actually is.
> 
> I agree. I was temporarily confused about which prime was in
> draft-black-rpgecc-00-.txt. That was really unhelpful of me.
> 
>>
>> Remember that we are effectively committed to recommending Curve25519.
>> Any argument about the superior "rigidity" of 2^384-big has to imagine
>> someone unwilling to accept 2^389-21 for exactly the same reasons they
>> accepted 2^255-19, namely the extremely limited number of primes of
>> this shape.
> 
> I agree. (Wow, all this agreement suddenly breaking out!). Above, I've
> asked for a discussion on this very point, focussing on the relative
> performance of the options 2^389-21 and 2^384-317. Let's see if we can
> resolve this quickly.
> 
>>
>> If the leadership is committed to compromise for the sake of
>> compromise, so be it. But logrolling is not the same as rough
>> consensus, and the IETF rules clearly and explicitly point this out.
>> Nothing has changed about the relative performance of 2^384-big vs
>> Ed448 since April. The choice of 2^389-21 vs. Ed448 is more difficult:
>> my instinct suggests the smaller,
> 
> Let's get past instinct to hard numbers.
> 
>> with Ed448 and E521 as options for
>> those who desire significantly more security.
>>
>> Sincerely,
>> Watson Ladd
> 
> Likewise,
> 
> Kenny
> 
> 
>>
>>>
>>>
>>>>
>>>>
>>>> Robert Ransom
>>>
>>> Regards,
>>>
>>> Kenny (on behalf of the chairs)
>>>
>>>
>>>
>>> _______________________________________________
>>> 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 Fri Dec 19 08:46:35 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 483B41A8A15 for <cfrg@ietfa.amsl.com>; Fri, 19 Dec 2014 08:46:34 -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 nAAtWq8gF435 for <cfrg@ietfa.amsl.com>; Fri, 19 Dec 2014 08:46:32 -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 7E4B21A89B5 for <cfrg@irtf.org>; Fri, 19 Dec 2014 08:46:32 -0800 (PST)
Received: from [10.20.30.90] (50-1-99-181.dsl.dynamic.fusionbroadband.com [50.1.99.181]) (authenticated bits=0) by proper.com (8.14.9/8.14.7) with ESMTP id sBJGkU4h057483 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <cfrg@irtf.org>; Fri, 19 Dec 2014 09:46:32 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-1-99-181.dsl.dynamic.fusionbroadband.com [50.1.99.181] claimed to be [10.20.30.90]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <CACsn0cnkdjEPGZ5Q1Nm+6OZJVdoj6X-ksc0X_atavQ+610MkXA@mail.gmail.com>
Date: Fri, 19 Dec 2014 08:46:30 -0800
Content-Transfer-Encoding: 7bit
Message-Id: <B9A2CADC-0635-4249-B3DA-4F7A8898B5B4@vpnc.org>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk> <CACsn0c=uyPT6xa4CsXPeAV31QeeO+HfsCXAxt7Ba6NOt_Y2hiA@mail.gmail.com> <CABqy+sr1T-VwQx1NaRA+xvnqVn7smjs2+YrG2Uz1Q+8M6c3hng@mail.gmail.com> <D0B8EDCF.3A504%kenny.paterson@rhul.ac.uk> <CACsn0cnkdjEPGZ5Q1Nm+6OZJVdoj6X-ksc0X_atavQ+610MkXA@mail.gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/x7hCg7YID0jDfmARsCib0_MTkvU
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: Fri, 19 Dec 2014 16:46:34 -0000

On Dec 18, 2014, at 8:52 PM, Watson Ladd <watsonbladd@gmail.com> wrote:
> The
> TLS WG does not want a generation method, but rather new curves. And
> they don't want new "curves" but rather want us to do the hard work of
> specifying a better mechanism.

That. Please!

--Paul Hoffman


From nobody Fri Dec 19 11:16:38 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 643D71A8A06 for <cfrg@ietfa.amsl.com>; Fri, 19 Dec 2014 11:16:37 -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_12=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 Hw2aC5z6jhsg for <cfrg@ietfa.amsl.com>; Fri, 19 Dec 2014 11:16:33 -0800 (PST)
Received: from mail-yh0-x232.google.com (mail-yh0-x232.google.com [IPv6:2607:f8b0:4002:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 91ACF1ACD63 for <cfrg@irtf.org>; Fri, 19 Dec 2014 11:16:33 -0800 (PST)
Received: by mail-yh0-f50.google.com with SMTP id 29so736104yhl.37 for <cfrg@irtf.org>; Fri, 19 Dec 2014 11:16: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=cRCQJ9xcMs0F//FtrEIvhQ154EdrpPpcTf0MoM33BOw=; b=b4s45lYckaSv/Q7bmbiiVcM/5YJKmVSeT0WM5S5teit12+QLvaCvnOBxhO9++wnvRR nmlLWoyPYuWtifD5gamtxEeAV9hbkQby93i8SsGRlVfggbk1xCJL0VS4k2oczAf2q2Ke PtNfBkBxT318bQSXv1JGenOzdTp0dsAl1Y5F+YZr6PhYXW0D/OZZWXDzKbFEIvWq1jko SneQVO8mRoyyRkZsMEGXU0mEcagTc7K1o2foUPehLWLOasYyIWCOXJXwvzimgsu3ewBU +gtSqqAku2GqtT/NL9+sA7fq5UEfWyQy1J0zDUZTT8I/pYbs+7YY25lg2q6oaPaihjEM wAYQ==
MIME-Version: 1.0
X-Received: by 10.236.7.52 with SMTP id 40mr7669360yho.172.1419016592755; Fri, 19 Dec 2014 11:16:32 -0800 (PST)
Received: by 10.170.195.21 with HTTP; Fri, 19 Dec 2014 11:16:32 -0800 (PST)
In-Reply-To: <54941DAC.7030208@w3.org>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk> <CACsn0c=uyPT6xa4CsXPeAV31QeeO+HfsCXAxt7Ba6NOt_Y2hiA@mail.gmail.com> <CABqy+sr1T-VwQx1NaRA+xvnqVn7smjs2+YrG2Uz1Q+8M6c3hng@mail.gmail.com> <D0B8EDCF.3A504%kenny.paterson@rhul.ac.uk> <CACsn0cnkdjEPGZ5Q1Nm+6OZJVdoj6X-ksc0X_atavQ+610MkXA@mail.gmail.com> <D0B9A74B.3A60D%kenny.paterson@rhul.ac.uk> <54941DAC.7030208@w3.org>
Date: Fri, 19 Dec 2014 11:16:32 -0800
Message-ID: <CACsn0cks4Vhz4EcKFvZ=6f0k+H2NwrTuCz0EM727SGd6R0Xyqg@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Harry Halpin <hhalpin@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/mIzyPZEbw7BtT2kl_pItcL5h5Ig
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: Fri, 19 Dec 2014 19:16:37 -0000

On Fri, Dec 19, 2014 at 4:44 AM, Harry Halpin <hhalpin@w3.org> wrote:
>
>
> On 12/19/2014 11:45 AM, Paterson, Kenny wrote:
>> Dear Watson,
>>
>> On 19/12/2014 04:52, "Watson Ladd" <watsonbladd@gmail.com> wrote:
>>
>>> On Dec 18, 2014 12:52 PM, "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
>>> wrote:
>>>>
>>>> Dear Robert,
>>>>
>>>> I am going to respond to some of the early points in your message belo=
w
>>>> on
>>>> behalf of the chairs. Separately, Alexei will respond to some of the
>>>> other
>>>> points. Between us, we may not cover everything in your long e-mail. I
>>>> apologise in advance if this is the case.
>>>>
>>>> On 14/12/2014 21:16, "Robert Ransom" <rransom.8774@gmail.com> wrote:
>>>>
>>>>> I second Watson Ladd's concern about the chairs' apparent preference
>>>>> for adopting a document based on draft-black-rpgecc-00 instead of
>>>>> draft-turner-thecurve25519function-01.
>>>>
>>>> Note that the documents are not directly comparable, as you seem to
>>>> imply
>>>> here. draft-turner-thecurve25519function-01 specifies a particular
>>>> key-agreement scheme based on Curve25519. draft-black-rpgecc-00
>>>> specifies
>>>> a curve generation method that can, inter alia, generate curves at a
>>>> variety of security levels. Its output is not directly usable by
>>>> implementors, of course, and more work would be needed by this group t=
o
>>>> take its output and make it suitable for delivery to the TLS WG,
>>>> assuming
>>>> that this is the direction CFRG wants to go in (an assumption I am not
>>>> making at this stage, but something that I will happily admit that I d=
o
>>>> hope will happen given the way in which this group has been deadlocked
>>>> for
>>>> some time now).
>>>
>>> The requested modification to draft black makes it generate curve25519
>>> as I understand, but with potentially different generators. If this
>>> request is met, and we add the description of the algorithms, we will
>>> arrive at the contents of draft-turner25519. Why not start there?
>>
>> We could indeed have done that. On the other hand, I believe it's more
>> appealing to agree on a rigid curve generation method and then recommend
>> its outputs, delivering that along with appropriate implementation advic=
e.
>> Perhaps we can even borrow some text from draft-turner25519 to speed
>> things along? Is some of that reusable, do you think?
>
> Indeed, I think this approach squares the circle by allowing Curve 25519
> as well as the other "security levels" to be generated. If we could
> *merge* the drafts and recommend Curve 25519 as a specific curve along
> with the curves at other security levels, this might finally break the
> deadlock.

It's like the difference with being engaged, and being married. We're
all in agreement that we need to specify the curve formulas and the
actual algorithms to be used but until that statement is made, we
haven't made it. Regardless of the change history of the draft, we
know what that says, regardless of the form it takes. I don't say this
to be flippant, but to point out that apparently agreement is not
enough: we need something to point to to say "this is it" even if we
find and fix mistakes either.

What we need is a clear, unambiguous statement from the chairs saying
that we are going to use X-coordinate Montgomery only on Curve25519
just like in DJB's paper, and X-coordinate only Montgomery on whatever
other curve it is, making the appropriate changes, and that signatures
will be whatever we've decided they are. This doesn't require editing
drafts before making this statement: they can be modified to
accommodate, and will need extensive review in any case.

If we are going to slip the schedule again, it would be nice to know
this clearly, along with a plan for how we going to meet the deadline
this 3rd time around. The TLS WG did in fact permit us to move forward
on the 128 bit option before the high security one, as shown in
http://www.ietf.org/mail-archive/web/cfrg/current/msg04663.html. This
would seem to buy us more time, while giving the TLS WG something
concrete at this point, and would seem to give the W3C Web Crypto
group the more widely used option ahead of schedule.

Sincerely,
Watson Ladd

>
> Note that W3C Web Cryptography API has a deadline as well - our deadline
> for CFRG making a firm decision in order for WebCrypto to add in any new
> curves is March 12th, which would trigger another Last Call for us.
>
> https://lists.w3.org/Archives/Member/chairs/2014OctDec/0181.html

>
> Otherwise, WebCrypto will progress without them, possibly adding them in
> later via an errata process.
>
> Further details on the debate here under 1.3 "Adding new elliptic curves"=
:
>
> http://www.w3.org/2012/webcrypto/DispositionOfComments/WebCryptoDispositi=
onOfComments.html
>
>   cheers,
>         harry
>
>>
>>>
>>> We have 6 days, or we will have missed a deadline for the second time.
>>
>> Indeed.
>>
>>>
>>>>> draft-black-rpgecc-00 omits several technical details of ECDH (the
>>>>> precise point format and handling of =C5=92invalid=C2=B9 public-key b=
itstring
>>>>> inputs) which the extensive implementation experience of Curve25519
>>>>> has shown are needed to ensure interoperability and forward
>>>>> compatibility and to protect the privacy of users of ECDH
>>>>> implementations on the Internet.
>>>>> draft-turner-thecurve25519function-01 includes those technical
>>>>> details.
>>>>>
>>>>
>>>> Let me repeat. This is correct, but I don't believe it to be relevant
>>>> for
>>>> a document that is focussed on curve generation.
>>>
>>> That's not the document we were asked to produce, and it's not a
>>> document that will help implementors. How does a generation method
>>> help with addressing the request for two or three curves, at security
>>> levels we feel are relevant?
>>
>> It's a document that will produce what we were asked to produce, in a wa=
y
>> whose rigidity can be demonstrated (modulo the selection of input primes=
).
>> This is important to some people here.
>>
>> I know there are people who will object to the fact that the method was
>> tweaked and that the primes have been changed. Personally, though, I don=
't
>> see that tweaking in order to improve security, as motivated by remarks
>> made by Dan Bernstein, is a bad thing. As for the primes, there we can
>> argue about performance, as you eloquently do below. If there are
>> compelling performance reasons to change the 192-bit level prime, then w=
e
>> should consider doing it. See below for more on this.
>>
>>>
>>>>
>>>>
>>>>>
>>>>> Adopting draft-black-rpgecc-00 (or a revised version) as a CFRG
>>>>> document, instead of (a version of) the previously existing
>>>>> draft-turner-thecurve25519function-01, would raise two serious
>>>>> concerns:
>>>>>
>>>>> * As Watson Ladd has noted, draft-black-rpgecc-00 would require more
>>>>>  effort, and thus more time, for CFRG to modify it into a useful
>>>>>  product than draft-turner-thecurve25519function-01 would.
>>>>
>>>> But draft-turner-thecurve25519function-01 only specifies a single ECDH
>>>> algorithm for a single curve. And this is not what the RG has been ask=
ed
>>>> to produce for recommendation to the TLS WG. Rather, we were asked for
>>>> curves at different security levels (and implicitly, recommendations
>>>> about
>>>> how to use those curves to do key exchange and signatures). So
>>>> substantial
>>>> work would also be needed to turn draft-turner-thecurve25519function-0=
1
>>>> into what the RG needs to produce.
>>>
>>> Changing a single constant or two is not "substantial work". I've
>>> asked repeatedly for input on what signature format would be
>>> preferred,  and gotten little response: my plan this weekend was to
>>> write a version with signatures or a separate document.
>>
>> Timing is everything in I*TF. I think you were asking for the input at t=
he
>> wrong point in the process. Worth reflecting on for the next time, perha=
ps.
>>
>>>
>>>>
>>>> In short, you are comparing apples and aardvarks here.
>>>>
>>>>>
>>>>> * Adoption of draft-black-rpgecc-00 would reward its authors, both by
>>>>>  crediting them as authors of CFRG's resulting document and by giving
>>>>>  them greater control over CFRG's product.  It is inappropriate for
>>>>>  IETF to reward the authors of draft-black-rpgecc-00 for submitting a
>>>>>  document to CFRG that they knew to be inferior to a previous
>>>>>  submission.
>>>>
>>>> This is not about rewards. It's about meeting the request of the TLS W=
G.
>>>> And I contend that it's not inferior to
>>>> draft-turner-thecurve25519function-01,
>>>> but a different beast entirely.
>>>
>>> Which one is closer to meeting the express desires of the TLS WG? The
>>> TLS WG does not want a generation method, but rather new curves. And
>>> they don't want new "curves" but rather want us to do the hard work of
>>> specifying a better mechanism. We've already ruled out random primes,
>>> and short Weierstrass cofactor 1, in some cases in the face of
>>> determined opposition. What's so special about the minority holding
>>> out for slow choices of c that we need to appease them also?
>>
>> I don't think it's really a minority - things seem more balanced than th=
at
>> to me, based on my reading of the list.
>>
>> A minute ago you said that it was not hard work to specify multiple curv=
es
>> and algorithms - just a matter of changing some constants! If that's the
>> case, then great, I'd hope you'd get involved in developing
>> draft-black-rpgecc-00-.txt and help do that work there, to turn it into
>> what you think we need to deliver.
>>
>>
>>>
>>>>
>>>>>
>>>>> The CFRG chairs have expressed a preference for adopting a version of
>>>>> draft-black-rpgecc, instead of a version of
>>>>> draft-turner-thecurve25519function.  Given the above concerns, why do
>>>>> the chairs believe that adoption of draft-black-rpgecc as a CFRG
>>>>> document is in the best interests of CFRG and of the Internet as a
>>>>> whole?
>>>>
>>>> See above. In summary: we believe that, with some modifications to
>>>> enhance
>>>> security (to which MGN have agreed), and additional work to provide
>>>> guidance as to how to use these curves in specific algorithms (ECDH an=
d
>>>> signatures), we can produce a document (or documents) that meet(s) the
>>>> request from the TLS WG.
>>>
>>> And that work has been largely done for Curve25519.
>>>
>>> Are the chairs committed to the choice of Curve 25519 at the 256 size
>>> at this point? Or would they like until Purim for a revised version of
>>> the generation method, an argument about the generators, some debate
>>> over picking a different protocol, and further impatience from the
>>> multiple working groups now blocked on our work? If we can get the
>>> Curve25519 work out the door, with the promise that the larger curve
>>> will use a similar protocol, this should buy us more time to consider
>>> the higher security levels.
>>
>> That would be one way of skinning this particular cat. Another way would
>> be to get involved with draft-black-rpgecc-00-.txt and help push it
>> forward. That's what the chairs are proposing.
>>
>>>
>>>>
>>>>>
>>>>>> I'm also surprised that we aren't using 2^389-21 for the same reason=
s
>>>>>> cited for using 2^255-19. We do not need complete agreement to go
>>>>>> forward. If we want a consensus result we'll still have gratuitous
>>>>>> incompatibilities and an unforced loss of additional performance, in
>>>>>> order to get one particular group on board. A process justified as
>>>>>> being driven by technical criteria has devolved into an openly
>>>>>> political horse trade, where we're supposed to be happy that the
>>>>>> 2^255-19 prime is used, and ignore the issues with 2^384-317.
>>>>>
>>>>> I second this concern as well.  I have seen very little support in th=
e
>>>>> CFRG for the 384-bit curve specified in draft-black-rpgecc-00, and I
>>>>> do not believe that the short discussion of 2^389-21 as a modulus for
>>>>> elliptic-curve cryptography constitutes a consensus of CFRG or shows
>>>>> that 2^389-21 is technically superior to or has implementation
>>>>> experience comparable to 2^414-17 or 2^448-2^224-1 as moduli for ECC.
>>>>>
>>>>
>>>> Here I agree with you that the specific prime 2^389-21 has not had muc=
h
>>>> discussion and therefore not gained consensus in CFRG. But I'm not awa=
re
>>>> of any specific security or implementation concerns about it that woul=
d
>>>> not also apply to other "sparse" primes. Can you point to some? For
>>>> example, is there any reason to believe it will be any more difficult =
to
>>>> make secure against side-channel attacks than other choices at roughly
>>>> the
>>>> same security level? Is it the case that the "implementation experienc=
e"
>>>> that you cite for primes 2^414-17 or 2^448-2^224-1, or any other
>>>> pseudo-Mersenne primes, would NOT transfer to this choice of prime? It
>>>> would be really helpful to the group if you could be more specific in
>>>> expressing your concerns here.
>>>
>>> One set of concerns is how efficient it will be compared to Ed448. We
>>> have guesses: there is no substitute for implementations.
>>>
>>> Furthermore, the choice of bitlengths is not set in stone. If Ed448
>>> could offer the same performance as the 384 bit prime, there would be
>>> no reason not to go for the larger, effectively free length. It
>>> probably won't, but until we have working implementations we don't
>>> know.
>>>
>>> Furthermore, accepting the black draft does not mean picking 2^389-21.
>>> It means picking 2^384-big, where big is sufficiently large to make
>>> Ed448 approximately as fast, and make vectorized implementations slow.
>>
>> Sorry, I mis-wrote here. You are quite right that the draft proposes
>> 2^384-317. That's what you get when your chairs are working late at nigh=
t
>> after long days doing their day jobs....
>>
>> I'd be grateful if the folks from the MGN team could say more on the lis=
t
>> why they chose this particular prime, and give some insight into the
>> performance impact of choosing it over near neighbours such as 2^389-21.
>>
>> Others should chime in too - for example, people should feel free to
>> repeat performance numbers from earlier in our discussions (they are out
>> there in the archive somewhere!).
>>
>> Please let's collaborate and see if we can swiftly resolve whether there
>> is a significant performance impact or not.
>>
>>>
>>>>
>>>>>
>>>>> I have a further concern regarding the intentional omission of point
>>>>> addition and scalar multiplication algorithms from the text of
>>>>> draft-black-rpgecc-00.
>>>>
>>>> I expect this *was* intentional on the part of the authors, given my
>>>> assumption that it was their intention to provide a clean document tha=
t
>>>> focusses on curve generation rather than low level details of their
>>>> usage
>>>> in cryptographic primitives. But reading on further in your message, I
>>>> think you mean to imply something more sinister here.
>>>>
>>>>>
>>>>> Instead of providing such algorithms in the text of the draft,
>>>>> draft-black-rpgecc-00 lists <https://eprint.iacr.org/2014/130.pdf>,
>>>>> which contains several scalar multiplication algorithms for those
>>>>> curves, as an informative reference (listed as [MSR] in the draft).
>>>>> (I reviewed each of the draft's references (non-RFC references were
>>>>> accessed on 2014-12-10); no other document listed as a reference
>>>>> contains a point addition algorithm for Edwards curves, and no other
>>>>> document that I was able to retrieve contains a scalar multiplication
>>>>> algorithm for any type of elliptic curve.)
>>>>
>>>> Perhaps the draft's authors would consider adding further references t=
o
>>>> the extensive literature on ECC implementation, particular papers by D=
an
>>>> Bernstein, Tanja Lange, and their co-authors (who have done so much to
>>>> spur the development of elliptic curve cryptography in its modern form=
).
>>>> However, I don't believe that's really the point here - this draft is
>>>> about specifying curves, not operations for those curves.
>>>
>>> And once again, the final product needs to be about providing working
>>> algorithms. Several issues with original draft for Curve25519 in TLS
>>> stemmed from the absence of a description of the Curve25519 function
>>> except in a paper of Daniel J. Bernstein. A document that merely
>>> contains curves, without the algorithms, does not satisfy the request.
>>
>> Agreed.
>>
>>>
>>> Furthermore, we still need to determine what points are sent on what
>>> model. Our job will not be done if we simply accept the Black et al.
>>> draft.
>>
>> Agreed. No-one was saying this, as far as I recall. Certainly not me.
>> (Please reread my messages carefully.)
>>
>>>
>>>>
>>>> However, I'd also point out - and I think this is key - that (based on
>>>> my
>>>> own reading of this patent, and heavily caveated by the usual
>>>> disclaimers
>>>> about none of us being lawyers) it's perfectly possible to implement t=
he
>>>> basic arithmetic procedures (point addition, scalar multiplication) an=
d
>>>> higher level algorithms (ECDH, signatures) for the curves produced by
>>>> the
>>>> MGN procedure (as for any other similar curves) without having to use
>>>> any
>>>> of the techniques that might be covered by this patent. After all, the
>>>> curves it produces are Edwards form, or twisted Edwards form, so I wou=
ld
>>>> assume that the extensive code that is available under generous open
>>>> source licences would be directly usable here.
>>>
>>> Much of that code assumes that the addition law is complete. On the
>>> new curves in the recent draft, I believe this assumption is
>>> satisfied. However, the original NUMS submission presented an
>>> algorithm that infringed on the patent. While it would be possible to
>>> avoid the patent, the cited reference and presentation made in April
>>> suggested an algorithm that ran smack into the patent. The new draft
>>> makes it substantially easier to avoid the patent, by permitting
>>> complete addition laws.
>>
>> Well, that's good then, no?
>>
>>>
>>> <snip>
>>>>
>>>> It's not about rewarding any one or any organisation with anything.
>>>
>>> Really? The entire argument for this "compromise" assumes that the
>>> authors of the NUMS draft have something to offer in return for our
>>> accepting a slower prime at the 384 bit level. They don't:
>>
>> I think the draft does have something to offer: a well-defined, repeatab=
le
>> process for generating curves that meet all the identified security
>> criteria. The choice of prime then becomes a performance question (given
>> the current state-of-the-art in our knowledge about the DLOG problem).
>>
>> But you are right to ask what the performance impact is of the particula=
r
>> choice of prime 2^384-317. Let's try to hash that out with solid numbers=
.
>>
>>> IETF
>>> working groups (and I imagine IRTF working groups) regularly reach
>>> conclusions in the face of vocal opposition, in most cases far more
>>> valid than the objections of Benjamin Black to special primes. For
>>> example, this working group has decided to proceed with a last call on
>>> a PAKE that doesn't have a security proof. The TLS WG decided to
>>> pursue ALPN over NPN, despite concerns about client fingerprinting vs.
>>> server fingerprinting. I am certain there are more decisions of a
>>> similar nature to be found. I don't think these are commendable
>>> actions, but I do think that we should consider the relative merits of
>>> 2^384-big vs 2^389-21, regardless of the loudness of the supporters of
>>> one side or the other, and should be aware of what the basis for
>>> making a decision actually is.
>>
>> I agree. I was temporarily confused about which prime was in
>> draft-black-rpgecc-00-.txt. That was really unhelpful of me.
>>
>>>
>>> Remember that we are effectively committed to recommending Curve25519.
>>> Any argument about the superior "rigidity" of 2^384-big has to imagine
>>> someone unwilling to accept 2^389-21 for exactly the same reasons they
>>> accepted 2^255-19, namely the extremely limited number of primes of
>>> this shape.
>>
>> I agree. (Wow, all this agreement suddenly breaking out!). Above, I've
>> asked for a discussion on this very point, focussing on the relative
>> performance of the options 2^389-21 and 2^384-317. Let's see if we can
>> resolve this quickly.
>>
>>>
>>> If the leadership is committed to compromise for the sake of
>>> compromise, so be it. But logrolling is not the same as rough
>>> consensus, and the IETF rules clearly and explicitly point this out.
>>> Nothing has changed about the relative performance of 2^384-big vs
>>> Ed448 since April. The choice of 2^389-21 vs. Ed448 is more difficult:
>>> my instinct suggests the smaller,
>>
>> Let's get past instinct to hard numbers.
>>
>>> with Ed448 and E521 as options for
>>> those who desire significantly more security.
>>>
>>> Sincerely,
>>> Watson Ladd
>>
>> Likewise,
>>
>> Kenny
>>
>>
>>>
>>>>
>>>>
>>>>>
>>>>>
>>>>> Robert Ransom
>>>>
>>>> Regards,
>>>>
>>>> Kenny (on behalf of the chairs)
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>



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


From nobody Mon Dec 22 17:54:32 2014
Return-Path: <tanja@hyperelliptic.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 51FBE1ACC8A for <cfrg@ietfa.amsl.com>; Mon, 22 Dec 2014 17:54:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.895
X-Spam-Level: **
X-Spam-Status: No, score=2.895 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545] 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 32UfGslT2iSi for <cfrg@ietfa.amsl.com>; Mon, 22 Dec 2014 17:54:28 -0800 (PST)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id 78E4E1ACC84 for <cfrg@irtf.org>; Mon, 22 Dec 2014 17:54:28 -0800 (PST)
Received: (qmail 13075 invoked from network); 23 Dec 2014 01:54:46 -0000
Received: from pcdhz005.win.tue.nl (HELO hyperelliptic.org) (131.155.71.33) by calvin.win.tue.nl with SMTP; 23 Dec 2014 01:54:46 -0000
Received: (qmail 31207 invoked by uid 1000); 23 Dec 2014 01:54:30 -0000
Date: Tue, 23 Dec 2014 02:54:30 +0100
From: Tanja Lange <tanja@hyperelliptic.org>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
Message-ID: <20141223015430.GC28778@cph.win.tue.nl>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk> <CACsn0c=uyPT6xa4CsXPeAV31QeeO+HfsCXAxt7Ba6NOt_Y2hiA@mail.gmail.com> <CABqy+sr1T-VwQx1NaRA+xvnqVn7smjs2+YrG2Uz1Q+8M6c3hng@mail.gmail.com> <D0B8EDCF.3A504%kenny.paterson@rhul.ac.uk> <CACsn0cnkdjEPGZ5Q1Nm+6OZJVdoj6X-ksc0X_atavQ+610MkXA@mail.gmail.com> <D0B9A74B.3A60D%kenny.paterson@rhul.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <D0B9A74B.3A60D%kenny.paterson@rhul.ac.uk>
User-Agent: Mutt/1.5.11
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ojqiBSet-xCWvbnlMo2hXYzy46c
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: Tue, 23 Dec 2014 01:54:30 -0000

Dear Kenny,
This is a late reply to your reply to Watson. 

> >> >* Adoption of draft-black-rpgecc-00 would reward its authors, both by
> >> >  crediting them as authors of CFRG's resulting document and by giving
> >> >  them greater control over CFRG's product.  It is inappropriate for
> >> >  IETF to reward the authors of draft-black-rpgecc-00 for submitting a
> >> >  document to CFRG that they knew to be inferior to a previous
> >> >  submission.
> >>
> >> This is not about rewards. It's about meeting the request of the TLS WG.
> >> And I contend that it's not inferior to
> >> draft-turner-thecurve25519function-01,
> >> but a different beast entirely.
> >
> >Which one is closer to meeting the express desires of the TLS WG? The
> >TLS WG does not want a generation method, but rather new curves. And
> >they don't want new "curves" but rather want us to do the hard work of
> >specifying a better mechanism. We've already ruled out random primes,
> >and short Weierstrass cofactor 1, in some cases in the face of
> >determined opposition. What's so special about the minority holding
> >out for slow choices of c that we need to appease them also?
> 
> I don't think it's really a minority - things seem more balanced than that
> to me, based on my reading of the list.
> 
> A minute ago you said that it was not hard work to specify multiple curves
> and algorithms - just a matter of changing some constants! If that's the
> case, then great, I'd hope you'd get involved in developing
> draft-black-rpgecc-00-.txt and help do that work there, to turn it into
> what you think we need to deliver.
> 
To me this sounds like an ideal moment to follow through on the plans
made earlier. Is there a final requirements list? Is there a date when
the list of curves to evaluate will be stable? What will be the deadline
for comparing performance of arithmetic in different prime fields and
comparing performance of arithmetic on different curve shapes? What
will be the deadline for quantifying wiggle room in generation
procedures?

We will not get optimal results by tweaking one meta proposal when 
creating a meta proposal was not the original mission and there has 
been very little discussion about requirements for meta proposals
while we discussed requirements for curves. We will not receive 
transparency by engaging in horse trading.

'Compromise' is a word that should be banned from this discussion; we
already have (potentially) compromised curves!

> I'd be grateful if the folks from the MGN team could say more on the list
> why they chose this particular prime, and give some insight into the
> performance impact of choosing it over near neighbours such as 2^389-21.
> 
> Others should chime in too - for example, people should feel free to
> repeat performance numbers from earlier in our discussions (they are out
> there in the archive somewhere!).
> 
> Please let's collaborate and see if we can swiftly resolve whether there
> is a significant performance impact or not.
> 
I think a competition has more to offer than a 'collaboration' where 
parties get more influence by having more people send emails to the list.
What should count are the merits of papers, implementations, and internet 
drafts so that proposals get more influence by being objectively better.

So, I would very much like to support what Kenny said:
> Let's get past instinct to hard numbers.
> 
... but I think this needs clear requirements, deadlines etc.

	Tanja


From nobody Tue Dec 23 10:18:33 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 B2F3F1A1A92 for <cfrg@ietfa.amsl.com>; Tue, 23 Dec 2014 10:18:29 -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, HTML_MESSAGE=0.001, T_HTML_ATTACH=0.01, 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 WGSZ-DkXZoj2 for <cfrg@ietfa.amsl.com>; Tue, 23 Dec 2014 10:18:27 -0800 (PST)
Received: from statler.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id 0F9911A03A8 for <cfrg@irtf.org>; Tue, 23 Dec 2014 10:18:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1419358705; d=isode.com; s=selector; i=@isode.com; bh=X5tkvA908hpsRmYSgAfctW7IiYvfKOhtIHJNyGk/ajs=; 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=ZF4nz6mN5G37KuGFal+CG4KE45eC0FtU+Z6S0L5naYRPiMWY9yELI65CsS0QIW2cJQ80Rr 7KfRF37MDeVUOYz8Li1FjBlQgK4dfYO0xMEHQEB0Iqay67LG36x6LA683YjHGLKw+dFl4D HVTCV7Q9Ut2k9cpFQXjp5bz8zBv4RjY=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215])  by statler.isode.com (submission channel) via TCP with ESMTPSA  id <VJmx7wBz6WeA@statler.isode.com>; Tue, 23 Dec 2014 18:18:25 +0000
Message-ID: <5499B1C0.1000303@isode.com>
Date: Tue, 23 Dec 2014 18:17:36 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
To: "cfrg@irtf.org" <cfrg@irtf.org>
References: <548EC71E.8090101@isode.com>
In-Reply-To: <548EC71E.8090101@isode.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------060505090205020409020500"
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ZirXNTBBTNhDntOv5GzdAIrJnKk
Subject: [Cfrg] Pending CFRG actions / priorities
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, 23 Dec 2014 18:18:29 -0000

This is a multi-part message in MIME format.
--------------060505090205020409020500
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

Dear CFRG participants,
There was some positive feedback to the idea of publishing what chairs 
think are CFRG priorities and who is waiting for what. This should also 
help with transparency.

Also in the last week chairs have received lots of private emails about 
what they think chairs should do, accusing other participants and CFRG 
chairs for all kind of actions and inactions. For every email chairs 
write they seem to get 2 or 3 back, so please bear with us.

Best Regards,
Alexey, on behalf of chairs


--------------060505090205020409020500
Content-Type: text/html; charset=WINDOWS-1252;
 name="CFRG.Status.html"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="CFRG.Status.html"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">

<HTML>
<HEAD>
	
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
	<TITLE></TITLE>
	<META NAME="GENERATOR" CONTENT="OpenOffice 4.1.1  (Win32)">
	<META NAME="AUTHOR" CONTENT="Alexey Melnikov">
	<META NAME="CREATED" CONTENT="20141221;16232400">
	<META NAME="CHANGEDBY" CONTENT="Alexey Melnikov">
	<META NAME="CHANGED" CONTENT="20141223;18162606">
	
	<STYLE>
		<!-- 
		BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Arial"; font-size:x-small }
		 -->
	</STYLE>
	
</HEAD>

<BODY TEXT="#000000">
<TABLE FRAME=VOID CELLSPACING=0 COLS=6 RULES=NONE BORDER=0>
	<COLGROUP><COL WIDTH=221><COL WIDTH=157><COL WIDTH=156><COL WIDTH=80><COL WIDTH=154><COL WIDTH=154></COLGROUP>
	<TBODY>
		<TR>
			<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" WIDTH=221 HEIGHT=18 ALIGN=CENTER><B>Document or topic</B></TD>
			<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" WIDTH=157 ALIGN=CENTER><B>Status</B></TD>
			<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" WIDTH=156 ALIGN=CENTER><B>Expected next step</B></TD>
			<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" WIDTH=80 ALIGN=CENTER><B>Priority</B></TD>
			<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" WIDTH=154 ALIGN=CENTER><B>Last Update</B></TD>
			<TD STYLE="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000" WIDTH=154 ALIGN=CENTER><B>Notes</B></TD>
		</TR>
		<TR>
			<TD HEIGHT=66 ALIGN=LEFT>draft-irtf-cfrg-chacha20-poly1305-03</TD>
			<TD ALIGN=LEFT>Awaiting one IRSG review before starting IRSG poll regarding document publication</TD>
			<TD ALIGN=LEFT>Expecting review from Olivier Festor</TD>
			<TD ALIGN=LEFT>Medium</TD>
			<TD ALIGN=LEFT>Since November 25th 2014</TD>
			<TD ALIGN=LEFT><BR></TD>
		</TR>
		<TR>
			<TD HEIGHT=113 ALIGN=LEFT>draft-irtf-cfrg-dragonfly-05</TD>
			<TD ALIGN=LEFT>Awaiting for the editor to update the document</TD>
			<TD ALIGN=LEFT>Editor to update the document with disclaimer about level of consensus and concerns about the document (lack of formal proof)</TD>
			<TD ALIGN=LEFT>Low</TD>
			<TD ALIGN=LEFT>Since December 7th 2014</TD>
			<TD ALIGN=LEFT><BR></TD>
		</TR>
		<TR>
			<TD HEIGHT=50 ALIGN=LEFT>draft-ladd-spake2</TD>
			<TD ALIGN=LEFT>Started acceptance call on the document</TD>
			<TD ALIGN=LEFT>Chairs to check results of the acceptance call on January 4th</TD>
			<TD ALIGN=LEFT>Low</TD>
			<TD ALIGN=LEFT>December 14th 2014</TD>
			<TD ALIGN=LEFT><BR></TD>
		</TR>
		<TR>
			<TD HEIGHT=82 ALIGN=LEFT>&ldquo;PAKE requirements&rdquo; - new draft to be written</TD>
			<TD ALIGN=LEFT>J&ouml;rn-Marc Schmidt and Dan Harkins to co-edit the document on PAKE requirements.</TD>
			<TD ALIGN=LEFT>New draft to be posted</TD>
			<TD ALIGN=LEFT>Low</TD>
			<TD ALIGN=LEFT>Since December 7th 2014</TD>
			<TD ALIGN=LEFT>Editors haven't acknowledged my last email, but agreed to work on the document privately</TD>
		</TR>
		<TR>
			<TD HEIGHT=177 ALIGN=LEFT>draft-mcgrew-hash-sigs-02 (Hash-Based Signatures)</TD>
			<TD ALIGN=LEFT>Waiting for a new revision posted as draft-irtf-cfrg-*</TD>
			<TD ALIGN=LEFT>Editors to post a new version</TD>
			<TD ALIGN=LEFT>Low</TD>
			<TD ALIGN=LEFT>Since October 10th 2014</TD>
			<TD ALIGN=LEFT>Some suggestions on the mailing list proposing other approaches. Acceptance of this document doesn't prevent other approaches from being discussed and even integrated into the document</TD>
		</TR>
		<TR>
			<TD HEIGHT=304 ALIGN=LEFT>EC recommendations for IETF </TD>
			<TD ALIGN=LEFT>Chairs feel that there is no strong reason to prefer one curve over another, so chairs are trying to reach rough consensus to get CFRG out of the deadlock. Chairs have multiple discussions with editors of draft-black-rpgecc-01.txt, proponents or other approaches, IETF and IRTF management. Some private discussions on getting performance numbers for different curves with interested parties. Stay tuned.</TD>
			<TD ALIGN=LEFT><BR></TD>
			<TD ALIGN=LEFT>High</TD>
			<TD ALIGN=LEFT>December 23rd 2014</TD>
			<TD ALIGN=LEFT><BR></TD>
		</TR>
	</TBODY>
</TABLE>
<!-- ************************************************************************** -->
</BODY>

</HTML>

--------------060505090205020409020500
Content-Type: application/octet-stream;
 name="CFRG.Status.xls"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="CFRG.Status.xls"

0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAOwADAP7/CQAGAAAAAAAAAAAAAAABAAAAEAAAAAAA
AAAAEAAADQAAAAEAAAD+////AAAAAAAAAAD/////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
///////////////////////////////////9/////////wMAAAAEAAAABQAAAAYAAAAHAAAA
CAAAAAkAAAAKAAAACwAAAAwAAAD+/////v///w8AAAD+////EQAAAP7/////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////1IA
bwBvAHQAIABFAG4AdAByAHkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAWAAUA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAA/v///wAAA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IAIMt2IIt2PA/KQAIAIMt2IIt2PA/oQAiAAkAZAAAAAEAAQACACwB
LAEzMzMzMzPpPzMzMzMzM+k/AQBVAAIACwB9AAwAAAAAAZQLDwAAAAAAAAIOAAAAAAAAAAAA
AAAAAAAA7ABQAA8AAvBIAAAAMAAI8AgAAAABAAAAAAwAAA8AA/AwAAAADwAE8CgAAAABAAnw
EAAAAAAAAAAAAAAAAAAAAAAAAAACAArwCAAAAAAMAAAFAAAAPgISALYAAAAAAEAAAAAAAAAA
AAAAAB0ADwADAAAAAAAAAQAAAAAAAABnCBcAZwgAAAAAAAAAAAAAAgAB/////wAAAAAKAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAD+/////v///wQA
AAAFAAAABgAAAP7///8IAAAA/v//////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////AQD+/wMKAAD/////EAgCAAAAAADAAAAAAAAARhsAAABNaWNyb3NvZnQg
RXhjZWwgOTctVGFiZWxsZQAGAAAAQmlmZjgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAACAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAcAAAB0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////////////////AAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/v///wAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAD///////////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD+////
AAAAAAAAAAA=
--------------060505090205020409020500--


From nobody Tue Dec 23 11:58:54 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 38BBD1A1B8C for <cfrg@ietfa.amsl.com>; Tue, 23 Dec 2014 11:58:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level: 
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 3cv3xK9feiXr for <cfrg@ietfa.amsl.com>; Tue, 23 Dec 2014 11:58:49 -0800 (PST)
Received: from prod-mail-xrelay02.akamai.com (prod-mail-xrelay02.akamai.com [72.246.2.14]) by ietfa.amsl.com (Postfix) with ESMTP id 85AB41A1AC2 for <cfrg@irtf.org>; Tue, 23 Dec 2014 11:58:49 -0800 (PST)
Received: from prod-mail-xrelay02.akamai.com (localhost [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 6C3E228526; Tue, 23 Dec 2014 19:58:48 +0000 (GMT)
Received: from prod-mail-relay07.akamai.com (prod-mail-relay07.akamai.com [172.17.121.112]) by prod-mail-xrelay02.akamai.com (Postfix) with ESMTP id 574AF2852D; Tue, 23 Dec 2014 19:58:48 +0000 (GMT)
Received: from email.msg.corp.akamai.com (unknown [172.27.123.34]) by prod-mail-relay07.akamai.com (Postfix) with ESMTP id 515F98004A; Tue, 23 Dec 2014 19:58:48 +0000 (GMT)
Received: from usma1ex-cashub7.kendall.corp.akamai.com (172.27.105.23) by usma1ex-dag1mb1.msg.corp.akamai.com (172.27.123.101) with Microsoft SMTP Server (TLS) id 15.0.913.22; Tue, 23 Dec 2014 14:58:47 -0500
Received: from USMBX1.msg.corp.akamai.com ([169.254.1.15]) by usma1ex-cashub7.kendall.corp.akamai.com ([172.27.105.23]) with mapi; Tue, 23 Dec 2014 14:58:47 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Watson Ladd <watsonbladd@gmail.com>, Harry Halpin <hhalpin@w3.org>
Date: Tue, 23 Dec 2014 14:58:45 -0500
Thread-Topic: [Cfrg] draft-black-rpgecc-00-.txt [was: Consensus and a way forward]
Thread-Index: AdAbwFKAm5ULK/vpR9Wtk0eyTtTDKwDKY1Kw
Message-ID: <2A0EFB9C05D0164E98F19BB0AF3708C71D55236C92@USMBX1.msg.corp.akamai.com>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk> <CACsn0c=uyPT6xa4CsXPeAV31QeeO+HfsCXAxt7Ba6NOt_Y2hiA@mail.gmail.com> <CABqy+sr1T-VwQx1NaRA+xvnqVn7smjs2+YrG2Uz1Q+8M6c3hng@mail.gmail.com> <D0B8EDCF.3A504%kenny.paterson@rhul.ac.uk> <CACsn0cnkdjEPGZ5Q1Nm+6OZJVdoj6X-ksc0X_atavQ+610MkXA@mail.gmail.com> <D0B9A74B.3A60D%kenny.paterson@rhul.ac.uk> <54941DAC.7030208@w3.org> <CACsn0cks4Vhz4EcKFvZ=6f0k+H2NwrTuCz0EM727SGd6R0Xyqg@mail.gmail.com>
In-Reply-To: <CACsn0cks4Vhz4EcKFvZ=6f0k+H2NwrTuCz0EM727SGd6R0Xyqg@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
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/g46tJMeAont0r5OGk207PpdmI3E
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: Tue, 23 Dec 2014 19:58:52 -0000

SXMgdGhlcmUgYW55IHF1ZXN0aW9uIGFib3V0IHRoZSB3YXkgQ3VydmUyNTUxOSB3YXMgZ2VuZXJh
dGVkPyAgQXMgSSB1bmRlcnN0YW5kIGl0LCB0aGUgUlBHRUNDIGF1dGhvcnMgYXJlIHdpbGxpbmcg
dG8gbW9kaWZ5IHRoZWly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506@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 C942D1A1BA3 for <cfrg@ietfa.amsl.com>; Wed, 24 Dec 2014 14:47:34 -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 ixTK0oNocVzO for <cfrg@ietfa.amsl.com>; Wed, 24 Dec 2014 14:47:32 -0800 (PST)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id F0EEC1A1B72 for <cfrg@irtf.org>; Wed, 24 Dec 2014 14:47:16 -0800 (PST)
Received: (qmail 4069 invoked by uid 1017); 24 Dec 2014 22:47:35 -0000
Received: from unknown (unknown) by unknown with QMTP; 24 Dec 2014 22:47:35 -0000
Received: (qmail 27817 invoked by uid 1001); 24 Dec 2014 22:47:08 -0000
Date: 24 Dec 2014 22:47:08 -0000
Message-ID: <20141224224708.27815.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/E4_M_Z5UBY8VIRXEJxIm_lS_DwE
Subject: [Cfrg] Curve manipulation, revisited
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, 24 Dec 2014 22:47:35 -0000

Once upon a time, Microsoft said that it was a "requirement" to have
"rigid parameter generation for primes and curve constants" given the
"security level". Microsoft also said that the "mandatory" security
levels were "128-bit and 256-bit", and that 192-bit was optional.
Microsoft's accompanying paper listed their "chosen twisted Edwards
curves" for seven different bit lengths of primes at these "levels":

   * "ed-255-mers" ("128"): -x^2+y^2 = 1+60055x^2y^2 mod 2^255-765;
   * "ed-256-mers" ("128"): -x^2+y^2 = 1+15342x^2y^2 mod 2^256-189;
   * "ed-383-mers" ("192"): -x^2+y^2 = 1+523990x^2y^2 mod 2^383-421;
   * "ed-384-mers" ("192"): -x^2+y^2 = 1+333194x^2y^2 mod 2^384-317;
   * "ed-511-mers" ("256"): -x^2+y^2 = 1+1097597x^2y^2 mod 2^511-481;
   * "ed-512-mers" ("256"): -x^2+y^2 = 1+637608x^2y^2 mod 2^512-569;
   * "ed-521-mers" ("256"): -x^2+y^2 = 1+550440x^2y^2 mod 2^521-1; and
   * six curves for additional "mont" primes at these bit lengths.

On top of that they listed 13 more Weierstrass curves, for a total of 26
"chosen" curves.

Microsoft chose 6 of these curves as "Nothing Up My Sleeves" curves.
2^255-765, 2^383-421, 2^511-481, and 2^521-1 were discarded: Microsoft
made the (quite puzzling) claim that prime bit lengths not divisible by
8 "introduce interoperability and implementation problems". (The "mont"
primes were also discarded in favor of the "mers" primes, also with
highly unclear justification.)

Suddenly, a few weeks ago, Microsoft changed almost every detail of its
recommendations:

   * Security levels: The examples in the new document are at "128-bit"
     and "192-bit" security levels. The accompanying email says that
     "256-bit" security can be handled "if" there is "strong interest"
     and states what the resulting curve would be.
     
     For comparison, previously 128-bit and 256-bit were "mandatory".
     Where's Microsoft's explanation of its switch from 256 to 192?

   * Relationship between bit length and security level: For 192-bit
     security Microsoft chooses 384-bit primes as before, but for
     128-bit security it has switched its choice from 256 to 255 (1 bit
     smaller), and for 256-bit security it has switched its choice from
     512 to 521 (9 bits larger). What rule is Microsoft applying here?
     What happened to "independently-verifiable provenance"?

     Very few primes achieve truly top performance; see, e.g.,
     https://www.ietf.org/mail-archive/web/cfrg/current/msg04894.html and
     https://www.ietf.org/mail-archive/web/cfrg/current/msg05087.html.
     These include a 255-bit prime and a 521-bit prime, namely 2^255-19
     and 2^521-1. These don't, however, include a 384-bit prime.

   * Primes: The first "security requirement" in the old document was
     for all "domain parameters" to be "generated in a simple,
     deterministic manner, without any secret or random inputs". The
     first listed "parameter" was the prime, and the old document states
     a procedure to generate the prime from the security level.

     The new document lists the same "security requirement"---but omits
     the prime from the list of "parameters", and doesn't state any
     procedure to generate primes. What happened to "rigid parameter
     generation for primes"?
     
     Certainly Microsoft isn't following its original procedure: for
     example, for a bit length of 255, previously Microsoft used
     2^255-765 ("ed-255-mers"), whereas now it uses 2^255-19.

   * Curve coefficients: There's _zero_ overlap between Microsoft's new
     list of curves and its original list of 26 curves.
     
     For 255 bits this isn't surprising since the prime has changed. For
     384 bits, however, the old curve was -x^2+y^2 = 1+333194x^2y^2, and
     the new curve is -x^2+y^2 = 1-11556x^2y^2. For 521 bits, the old
     curve was -x^2+y^2 = 1+550440x^2y^2, and the new curve is x^2+y^2
     = 1-376014x^2y^2.

This remarkable list of changes makes clear that Microsoft's approach is
less rigid than the truly-top-performance approach taken by other people
generating curves. For example, the truly-top-performance approach has
never allowed this sort of fine-grained manipulation of bit lengths; it
has always rejected most bit lengths.

Of course, Microsoft has always said that its "choices" are related to
performance---but the subtle details of this relationship are now being
manipulated. The performance flexibility exploited here is on top of any
flexibility that one can obtain by exploiting variations in security
criteria for curves (e.g., picking PinkBikeShed instead of Curve25519).

"Isn't Microsoft doing the right thing?" some people will ask at this
point. "They've even made the news for endorsing Curve25519!" Indeed, it
does seem that Microsoft is joining the truly-top-performance approach
in endorsing Curve25519 and E-521. However, Microsoft is going beyond
these two curves, and asking CFRG to endorse

   * a prime list that doesn't have any explanation (with the mediocre
     prime 2^384-317 sticking out like a sore thumb next to top primes
     2^255-19 and 2^521-1), and

   * a coefficient-generation _procedure_ that we've all seen being
     manipulated for non-transparent reasons (changing, e.g., the
     "chosen" curve mod 2^521-1).

How would CFRG be able to explain these highly questionable choices?

The draft curve-requirements list from the chairs months ago said that
curves "should be generated by a well-defined procedure that allows only
a limited and quantified amount of flexibility". What we're seeing here
is that Microsoft's procedure

   * doesn't have a stable definition,
   * has never quantified its amount of flexibility,
   * is no longer even trying to explain or limit prime choices, and
   * is flexible enough to allow all 26 previous curves to disappear.

At the beginning a few people seemed to assume that, since Microsoft was
emphasizing rigidity so strongly, Microsoft's proposals were surely more
rigid than anything else could possibly be. For example, Phillip
Hallam-Baker characterized Microsoft's Toronto presentation as

   The most important thing is to assure people there is no special
   reason for the choice of curve and so we must eliminate subjective
   choices completely.

Phillip seemed to believe that Microsoft's curves were particularly
rigid, and seemed to think that this was a good argument for ed-512-mers
(which Microsoft no longer mentions as a bit length in the document or
in the email) at the "256-bit" security level (which Microsoft no longer
mentions in the document). I'm curious whether these people are still
taking Microsoft's rigidity arguments seriously now that all of the
Microsoft curves have changed. If so, can someone please explain what
the rigidity argument for Microsoft's curves is supposed to be?

---Dan

P.S. I don't mean to exaggerate the importance of rigidity compared to
other curve criteria. ECC security has been intensively studied for many
years, and a major new security weakness in conservative prime-field ECC
would be extremely surprising. I'm more concerned with all the _known_
security weaknesses---problems that we've known for years how to fix by
choosing better curves and choosing better protocols. See, e.g.,
http://blog.cr.yp.to/20140323-ecdsa.html.

This process began in September 2013, after news of NSA sabotage of
cryptographic standards: Patrick Pelletier wrote

   Given the doubt that's recently been cast on the NIST curves, is it
   time to revive the idea of adding curve25519 as a named curve?

on the TLS mailing list. Doug Stebila followed up to say that the
reasons to support Curve25519 were "efficiency and resistance to
side-channel attacks" rather than concerns about backdoors. Nick
Mathewson wrote

   In the FOSS cryptography world nowadays, I see many more new users of
   curve25519 than of the NIST curves, because of efficiency and
   ease-of-implementation issues.

Nico Williams wrote

   Agreed, we need curve25519 cipher suites because of its technical
   advantages, not due to any FUD about the other ECDH curves that we
   have.

Simon Josefsson wrote an Internet-Draft. Active discussion ensued,
spreading to CFRG. Rigidity has certainly been a big issue for some
people throughout this process, but has never been the most important
driver of this process.

P.P.S. I fully realize that not all of the authors of the new document
are from Microsoft. The two exceptions are (1) Joppe Bos, who moved from
Microsoft to NXP during CFRG's deliberations, and (2) Adam Langley from
Google, who has always been quite clear about his reasons for joining
the document ("I think the prevalence of Curve25519 alone is enough that
the CFRG should adopt it. PinkBikeShed isn't what I want, but it's close
and it's something that I can live with in order to move forward") and
who has never endorsed Microsoft's claims regarding rigidity.


From nobody Thu Dec 25 04:14:40 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 D35C51A87B0 for <cfrg@ietfa.amsl.com>; Thu, 25 Dec 2014 04:14:37 -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 8igf2TDdxNmh for <cfrg@ietfa.amsl.com>; Thu, 25 Dec 2014 04:14:35 -0800 (PST)
Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2E75A1A87A3 for <cfrg@irtf.org>; Thu, 25 Dec 2014 04:14:35 -0800 (PST)
Received: by mail-lb0-f176.google.com with SMTP id p9so7578538lbv.7 for <cfrg@irtf.org>; Thu, 25 Dec 2014 04:14:33 -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:content-transfer-encoding; bh=cSG1YkNdmZyUQaPbZ8zWAedVA363lJNGQJqJmz8lwQM=; b=fM64yq4XQ3LaLebGYlHEdQtfx2mSoqn0IhUud2lb8UQ0MmwBl56DgCaGUR8e6GI6KP 2Fwq3TOQHfloJEwJvlMtetY/y9dL2p0OqB8vMX3pRx4/OwR+fXNHIg5vOzcnyQo0hwv3 2eHsZEuUfuUcOaPoXlWpB4CWORqE+d9fI9T/OCUTKwb9tdJZKbQCEbwStcxq2qWLuRYb 34YyWFn0VqSjt7IImGdk3iubUz5MizIW/wKRs33oYnEil173RaFQSGpv3uojDmK44a3W Z3JFSmLGFGHP4CdJ3oEgPn/hSh830gidcdAbFjotGnz0N56Dz1Nnzz4OB73y+18A4m/0 FFKw==
MIME-Version: 1.0
X-Received: by 10.152.30.6 with SMTP id o6mr39302399lah.64.1419509673487; Thu, 25 Dec 2014 04:14:33 -0800 (PST)
Sender: alangley@gmail.com
Received: by 10.112.114.225 with HTTP; Thu, 25 Dec 2014 04:14:33 -0800 (PST)
In-Reply-To: <20141224224708.27815.qmail@cr.yp.to>
References: <20141224224708.27815.qmail@cr.yp.to>
Date: Thu, 25 Dec 2014 12:14:33 +0000
X-Google-Sender-Auth: l7lXbQXqP27sHXH8HkMaMBY_Yvs
Message-ID: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com>
From: Adam Langley <agl@imperialviolet.org>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/6tK4j72GqzWk_NtUU5aNU2NIrgk
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 25 Dec 2014 12:14:38 -0000

On Wed, Dec 24, 2014 at 10:47 PM, D. J. Bernstein <djb@cr.yp.to> wrote:
> This process began in September 2013, after news of NSA sabotage of
> cryptographic standards: Patrick Pelletier wrote
>
>    Given the doubt that's recently been cast on the NIST curves, is it
>    time to revive the idea of adding curve25519 as a named curve?
>
> on the TLS mailing list. Doug Stebila followed up to say that the
> reasons to support Curve25519 were "efficiency and resistance to
> side-channel attacks" rather than concerns about backdoors. Nick
> Mathewson wrote

Nobody knowledgeable in ECC (that I know of) seriously believes that
the NIST curves are backdoored. But I've observed that the less
knowledgeable people are, the more likely they are to believe it.

Dual-EC had the subtlety of Wile E. Coyote leaving a pile of "Free
Bird Seed" on the road but, prior to 2013, I think most people
(certainly including myself) applied Hanlon's razor and disbelief that
the NSA would do something so stupid and concluded that there was
likely an innocent explanation for it. But many outside of
cryptography circles draw strong parallels between Dual-EC and NIST
curves, I think because they can't see the huge difference: there was
clearly room for a backdoor in Dual-EC, the question was "would they
really?", but a backdoor in P-256 would be alien technology.

Because of this, I suspect that Microsoft feel a need to assuage the
worries of their customers (who will generally fall into the
"less-knowledgeable" group) and provide a "NIST free" option for them.
However, because they are a US company, I imagine that they also feel
the need to demonstrate that they can't have "cooked" the alternative.
(This is all presumption=E2=80=94I'm obviously not familiar with Microsoft'=
s
customer relations nor deliberations.)

But I think this (and a soup=C3=A7on of ego; something that applies to
everyone) explains Microsoft's continuing strong preference for
"rigidity" in their curves. A conflict arises because Microsoft's
original drive for "rigidity" excluded everything else; including
applying any intelligence to the choice of prime or assigning any
weight to existing practice.

Yourself, myself and others want to replace P-256 not to assuage
backdoor fears, but because a replacement can be significantly faster,
safer and simpler. And we're not hand cuffing ourselves because we're
afraid of being accused of having cards up our sleeves. Finally,
although curve25519 is now pretty common in our world (SSH, OpenPGP,
QUIC etc), it has no presence in the Microsoft ecosystem at all.

You've pointed out, with bada55, that claims of rigidity are, in
general, rather limited and you're correct that Microsoft's movements
towards curve25519 and other changes are highlighting that. But that's
because we didn't accept the choices that were based on their fitness
function. I think they are trying to maintain their larger curve as
being more "rigid" (which, remember, is to convince people who don't
really understand) while accepting something more reasonable (to us)
at the 128-bit level in the hopes of getting the RFC done.

And it would be good to get something done. At present, it's unclear
whether this WG effort will manage to produce anything at all and
failure would mostly benefit P-256. Curve25519 certainly has
increasing presence, but that's in places that will do the smart thing
anyway. But there are lot of places that are less visible to
cryptographers that go with P-256 because it's "standard".
(BluetoothLE-based systems keep popping up in my view.) A failure of
this WG will probably ensure that continues.

It would be also be good to have Microsoft onboard. Microsoft software
is pretty common after all, even if people like us don't see it much.
Although I think we pass the IETF/IRTF bar of "rough consensus"
without them, I don't know if the chairs agree and it would be sad
outcome even if they did.

Curve25519 is sufficiently common now (in our side of the world, at
least) that it's not going away and each different curve supported is
quite a lot of work. (More, I think, than most people realise.) So I
want something very close (or equal) to curve25519 at ~128-bits in
order to minimise implementation, confusion and code size and achieve
the speed, simplicity and robustness that were the point of the whole
exercise.

I'm skeptical that a larger curve is actually useful. I think ~128 and
~192 bit curves have shared fate to the point where the risks from
supporting any extra curve outweigh the benefits. I don't plan on
supporting any larger curve that this WG may produce (even more so if
it's an "ugly" curve). If nothing else, P-384 isn't going away.

So I would be happy with this WG producing curve25519 and a "rigid"
curve at ~192 that Microsoft need. But, even to get there (and it's
unclear whether anyone else would be happy with that) there are still
questions at the ~128 bit level. At the moment, although Kenny has
asked MS to adopt the curve/twist cofactor criteria that results in
curve25519 being produced, Microsoft's generation procedure results in
a different base point and has an isogenous Edwards curve while the
rest of the world uses an isomorphic one. Ed25519 already has a number
of public, private and signature formats[1] however, so perhaps the
isogeny/isomorphism doesn't matter if the conversion can be done "for
free" when converting to affine anyway, but I'm not a cryptographer
and am not comfortable concluding anything here.

[1] https://blog.mozilla.org/warner/files/2011/11/key-formats.png


Cheers

AGL


From nobody Thu Dec 25 11:33:42 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 65E2E1A1A27 for <cfrg@ietfa.amsl.com>; Thu, 25 Dec 2014 11:33:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.7
X-Spam-Level: 
X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  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 yAsOl-s7SUGO for <cfrg@ietfa.amsl.com>; Thu, 25 Dec 2014 11:33:37 -0800 (PST)
Received: from mail-yk0-x22a.google.com (mail-yk0-x22a.google.com [IPv6:2607:f8b0:4002:c07::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4D3991A1A06 for <cfrg@irtf.org>; Thu, 25 Dec 2014 11:33:37 -0800 (PST)
Received: by mail-yk0-f170.google.com with SMTP id q200so4634404ykb.15 for <cfrg@irtf.org>; Thu, 25 Dec 2014 11:33:36 -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=9xeAhKUSyZ8yVFwAMIN3DR+rtQ3DaWqB55oCxxldA/s=; b=l5raG8l6mLEA+EvkYO01K5fCKe1UMVog/BhYyHwSumBRmtfseiSUXykZIC54ecTiIs wIDVBJc0InkdOZ9uUXbIg8/PaHzkK7Wy3eOWDf18+l02n5T4agKIuPiP0WqrKPArmgJH xvHbcqgw8do34lT053BMKYptFjLr4Pb+xxh4H48TRr6LR4YH6/d/fb91rCcAji++1n4Q OADRUGkhCd2Z3r5Hxy4NVLB/5lSXbPazOT2l+4uDmh5MQtDBQXPkP+SOkd1Ty0yQ745U B1+S857JV/BCKy2iWYRfSqOwxw/ovIYX58X+kEhXAchpHiKoWBMf/RkOhK5X9EmWDiJ8 4r2g==
MIME-Version: 1.0
X-Received: by 10.236.53.69 with SMTP id f45mr30259808yhc.65.1419536016354; Thu, 25 Dec 2014 11:33:36 -0800 (PST)
Received: by 10.170.207.6 with HTTP; Thu, 25 Dec 2014 11:33:36 -0800 (PST)
In-Reply-To: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com>
References: <20141224224708.27815.qmail@cr.yp.to> <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com>
Date: Thu, 25 Dec 2014 14:33:36 -0500
Message-ID: <CACsn0cnuUWaATFfKuPiOsXegTE-2tz+22jgn-kPZhYe4wTmrHw@mail.gmail.com>
From: Watson Ladd <watsonbladd@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/XokU-KsuTkbi-8ggck5DZhf1dWA
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 25 Dec 2014 19:33:40 -0000

On Thu, Dec 25, 2014 at 7:14 AM, Adam Langley <agl@imperialviolet.org> wrot=
e:
> On Wed, Dec 24, 2014 at 10:47 PM, D. J. Bernstein <djb@cr.yp.to> wrote:
>> This process began in September 2013, after news of NSA sabotage of
>> cryptographic standards: Patrick Pelletier wrote
>>
>>    Given the doubt that's recently been cast on the NIST curves, is it
>>    time to revive the idea of adding curve25519 as a named curve?
>>
>> on the TLS mailing list. Doug Stebila followed up to say that the
>> reasons to support Curve25519 were "efficiency and resistance to
>> side-channel attacks" rather than concerns about backdoors. Nick
>> Mathewson wrote
>
> Nobody knowledgeable in ECC (that I know of) seriously believes that
> the NIST curves are backdoored. But I've observed that the less
> knowledgeable people are, the more likely they are to believe it.

We're tasked with using our expertise on behalf of those who don't
have it, not making the same mistakes as they would make. They can do
that last part themselves perfectly well.

>
> Dual-EC had the subtlety of Wile E. Coyote leaving a pile of "Free
> Bird Seed" on the road but, prior to 2013, I think most people
> (certainly including myself) applied Hanlon's razor and disbelief that
> the NSA would do something so stupid and concluded that there was
> likely an innocent explanation for it. But many outside of
> cryptography circles draw strong parallels between Dual-EC and NIST
> curves, I think because they can't see the huge difference: there was
> clearly room for a backdoor in Dual-EC, the question was "would they
> really?", but a backdoor in P-256 would be alien technology.
>
> Because of this, I suspect that Microsoft feel a need to assuage the
> worries of their customers (who will generally fall into the
> "less-knowledgeable" group) and provide a "NIST free" option for them.
> However, because they are a US company, I imagine that they also feel
> the need to demonstrate that they can't have "cooked" the alternative.
> (This is all presumption=E2=80=94I'm obviously not familiar with Microsof=
t's
> customer relations nor deliberations.)
>
> But I think this (and a soup=C3=A7on of ego; something that applies to
> everyone) explains Microsoft's continuing strong preference for
> "rigidity" in their curves. A conflict arises because Microsoft's
> original drive for "rigidity" excluded everything else; including
> applying any intelligence to the choice of prime or assigning any
> weight to existing practice.

It's important not to confuse "rigidity" with actually constraining
the choice of curve meaningfully. The question is not how many curves
can be generated, but how many curves the user will accept. A user who
accepts a curve generated by taking a mathematical constant, and
running it through a hash function to generate a prime and parameters,
is in fact accepting billions of potential curves.  A user who
accepted the NUMS method is accepting potentially far more curves than
one who demands high performance with numerically minimal parameters.

By contrast it is extremely hard to generate high performance primes.
Even superficially good choices can fall short.

>
> Yourself, myself and others want to replace P-256 not to assuage
> backdoor fears, but because a replacement can be significantly faster,
> safer and simpler. And we're not hand cuffing ourselves because we're
> afraid of being accused of having cards up our sleeves. Finally,
> although curve25519 is now pretty common in our world (SSH, OpenPGP,
> QUIC etc), it has no presence in the Microsoft ecosystem at all.
>
> You've pointed out, with bada55, that claims of rigidity are, in
> general, rather limited and you're correct that Microsoft's movements
> towards curve25519 and other changes are highlighting that. But that's
> because we didn't accept the choices that were based on their fitness
> function. I think they are trying to maintain their larger curve as
> being more "rigid" (which, remember, is to convince people who don't
> really understand) while accepting something more reasonable (to us)
> at the 128-bit level in the hopes of getting the RFC done.

Even someone who doesn't really understand ECC should recognize the
impact of gotchas in standards. But Microsoft in April was putting
forward short Weierstrass form and an incomplete formula for Edwards,
arguing that the compatibility of short Weierstrass form outweighed
the performance and simplicity advantages. By August they had
abandoned the Weierstrass curves, and it is unclear to me at what
point the use of incomplete coordinates was abandoned. In short,
Microsoft's original proposal was considerably worse than the
alternative, and their new proposal is not better than the
alternative, even on criteria they claim to be using.

>
> And it would be good to get something done. At present, it's unclear
> whether this WG effort will manage to produce anything at all and
> failure would mostly benefit P-256. Curve25519 certainly has
> increasing presence, but that's in places that will do the smart thing
> anyway. But there are lot of places that are less visible to
> cryptographers that go with P-256 because it's "standard".
> (BluetoothLE-based systems keep popping up in my view.) A failure of
> this WG will probably ensure that continues.

Exactly. It is now the deadline: are we going to miss it because we
cannot get the 128 bit level out, despite unanimity on what it should
be?

The option to proceed with the 128 bit level first has always existed:
I hope the chairs see fit to exercise it, and leave the
higher-security level discussion for later.

In 9 months, not a single security issue with the original Curve25519
proposal has been found. It is high time we produce something.

>
> It would be also be good to have Microsoft onboard. Microsoft software
> is pretty common after all, even if people like us don't see it much.
> Although I think we pass the IETF/IRTF bar of "rough consensus"
> without them, I don't know if the chairs agree and it would be sad
> outcome even if they did.
>
> Curve25519 is sufficiently common now (in our side of the world, at
> least) that it's not going away and each different curve supported is
> quite a lot of work. (More, I think, than most people realise.) So I
> want something very close (or equal) to curve25519 at ~128-bits in
> order to minimise implementation, confusion and code size and achieve
> the speed, simplicity and robustness that were the point of the whole
> exercise.

Basepoints and isogenies don't change security: if the Microsoft curve
is isogenous to Curve25519, why not use Curve25519?

>
> I'm skeptical that a larger curve is actually useful. I think ~128 and
> ~192 bit curves have shared fate to the point where the risks from
> supporting any extra curve outweigh the benefits. I don't plan on
> supporting any larger curve that this WG may produce (even more so if
> it's an "ugly" curve). If nothing else, P-384 isn't going away.

I don't think this is quite right. Imagine we could improve the square
root in Pollard rho to cube root via some algebraic geometry. Then
255/3=3D85, but 448/3=3D150. Even ignoring the possibility of algorithmic
improvements, progress in computing power may mean data that has to be
confidential for centuries needs a larger curve. The NSA did pick P384
for a reason.

But we can always select E521 as the large curve, or Ed448, for people
who *actually are using larger Edwards curves today*. The suggestion
to use 2^389-21 is not as good as once seemed: there are other primes
which seem much better, including Goldilocks. Sadly, the absence of a
reasonably optimized portable NUMS implementation, or a Supercop
submission, is making getting hard numbers from identical test
conditions difficult. Differences in the point format Ed448 uses are
another annoyance with getting hard numbers out.

>
> So I would be happy with this WG producing curve25519 and a "rigid"
> curve at ~192 that Microsoft need. But, even to get there (and it's
> unclear whether anyone else would be happy with that) there are still
> questions at the ~128 bit level. At the moment, although Kenny has
> asked MS to adopt the curve/twist cofactor criteria that results in
> curve25519 being produced, Microsoft's generation procedure results in
> a different base point and has an isogenous Edwards curve while the
> rest of the world uses an isomorphic one. Ed25519 already has a number
> of public, private and signature formats[1] however, so perhaps the
> isogeny/isomorphism doesn't matter if the conversion can be done "for
> free" when converting to affine anyway, but I'm not a cryptographer
> and am not comfortable concluding anything here.

Basepoints don't affect security. As for the Ed25519 signature format,
I'd note that Supercop and Nacl attach the signature to the message,
while Py-ed25519 isn't: this is the major difference. The private key
format for NaCl in the diagram seems to be the right choice, as it
doesn't require an extra hash before using, but opinions may vary. (I
make no statement about the sanity of the NaCl format for signed
messages, only to note that it does make use of simple hash function
interface possible)

Despite the stated need for rigidity, Microsoft is now endorsing a
proposal that is different from the one they did earlier, even with
the same choice of primes.  A user who thinks that NUMS is better than
the alternative for rigidity has to ask how much flexibility there
really is. Certainly not none, probably nowhere near enough to get
more than "BAD", and almost certainly not "BADA".

Sincerely,
Watson Ladd

>
> [1] https://blog.mozilla.org/warner/files/2011/11/key-formats.png
>
>
> Cheers
>
> AGL
>
> _______________________________________________
> 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 Dec 25 12:38:23 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 39D5D1A8859 for <cfrg@ietfa.amsl.com>; Thu, 25 Dec 2014 12:38:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.102
X-Spam-Level: 
X-Spam-Status: No, score=-15.102 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, USER_IN_DEF_WHITELIST=-15] 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 pthNRFkVrdXu for <cfrg@ietfa.amsl.com>; Thu, 25 Dec 2014 12:38:19 -0800 (PST)
Received: from mrout4.yahoo.com (mrout4.yahoo.com [216.145.54.109]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7C5931A876E for <cfrg@irtf.org>; Thu, 25 Dec 2014 12:38:19 -0800 (PST)
Received: from omp1055.mail.ne1.yahoo.com (omp1055.mail.ne1.yahoo.com [98.138.89.197]) by mrout4.yahoo.com (8.14.9/8.14.9/y.out) with ESMTP id sBPKc6H9028966 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for <cfrg@irtf.org>; Thu, 25 Dec 2014 12:38:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1419539887; bh=qTZsJKdsBWVwPtHSnDYhoaEsKkXmOuiSrssM+WH2CUI=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject; b=EMjO1c66qxl9DOLBEeY2XK77XqRXW7+FqrbFx/lZMLMknnni58fN7ipA/XaOXVIeN T1OyVE+tTjKmkD9wGjK7IpEE2bRhAMHZd98nxqyLcfjvmAQ24w/F/cL3DSgXYYIVUB bz+LXox6551q1eKBvu/ENXHh7QsCSHzSZVcP9200=
Received: (qmail 16054 invoked by uid 1000); 25 Dec 2014 20:38:06 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo-inc.com; s=ginc1024; t=1419539886; bh=qTZsJKdsBWVwPtHSnDYhoaEsKkXmOuiSrssM+WH2CUI=; h=Date:From:Reply-To:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; b=tVXGOVrF7oBBfoXzIjUpz4Crek1r9W+pda4EVhBTEYbDDSXBh0HlgzBLCvvIZmDNL97RkhHDLGcqbE+J6JfEw/VNchjt04DPTNWnSHwDw+K9u4YZrYtTrTTjhycBHgGhR62qc3gL2M80bvoGIWr549BSWSa5cDuY8rD4ROpM4EA=
X-YMail-OSG: pLtiCA4VM1krJuRUSf6_HMAV2.pDI80YjCMxaSRzzCt6QUbPbL6hmYBjuWCHrht 32VgOyfic0NrtyOHJfjjycZ7YQbYdODWZq229lAQoQGQcDYd9tPLZ0IF7.._24SGKvKZY0.voOuh OpsEJSRbg9L_Nox2JI66y1E9eCx1BZFeAje0tEYn6cj4DQyo0huOLr8XeudVenSKmlsiUVxfOqzg eHyBRfpBFj2NnqGoR9Amt1KJgEHc_tjtX1gZJSkpBXCPbnOUJTaxE
Received: by 98.138.101.171; Thu, 25 Dec 2014 20:38:05 +0000 
Date: Thu, 25 Dec 2014 20:38:05 +0000 (UTC)
From: David Gil <dgil@yahoo-inc.com>
To: Adam Langley <agl@imperialviolet.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Message-ID: <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com>
In-Reply-To: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Milter-Version: master.31+4-gbc07cd5+
X-CLX-ID: 539887000
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/MMuf2LAVF3wybrGvU-jNkanQFV0
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 25 Dec 2014 20:38:21 -0000

On Thursday, December 25, 2014 4:15 AM, Adam Langley
<agl@imperialviolet.org> wrote: [reordered]

> I don't plan on supporting any larger curve that this WG may
> produce (even more so if it's an "ugly" curve). If nothing
> else, P-384 isn't going away.

I will.

In particular, w.r.t. Yahoo's eventual release of an End-to-End
messaging extension, we will generate EC keys for extension users
on a curve subgroup with log2(#K) >= 376. The additional computational expense is, frankly, negligible.

(And this will likely be a larger deployment, w.r.t. number
of keys, than even TLS -- though vastly smaller in number of
crypto operations.)

--

> I'm skeptical that a larger curve is actually useful. I think
> ~128 and ~192 bit [security strength] curves have shared fate
> to the point where the risks from supporting any extra curve
> outweigh the benefits.

I disagree.

It's absurd to ignore the fact that the organization with the most mathematicians working on ECC[^fbfw] does not trust a bit-length
256 curve for data they consider important. See [NSA Suite B
Cryptography][suiteb].

Do we have any reason to believe that we're so much smarter than
them?

--


[^fbfw]: I would say "for better or for worse", but it is clearly
for the worse.

[suiteb]: https://www.nsa.gov/ia/programs/suiteb_cryptography/


From nobody Thu Dec 25 12:51:32 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 7E2261A885E for <cfrg@ietfa.amsl.com>; Thu, 25 Dec 2014 12:51:29 -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 PKe4BZ2eQ8fK for <cfrg@ietfa.amsl.com>; Thu, 25 Dec 2014 12:51:28 -0800 (PST)
Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BD1081A885D for <cfrg@irtf.org>; Thu, 25 Dec 2014 12:51:27 -0800 (PST)
Received: by mail-lb0-f171.google.com with SMTP id w7so8101603lbi.16 for <cfrg@irtf.org>; Thu, 25 Dec 2014 12:51:26 -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=mb152uMjxyEvvk4vqmgXeFKtP1AOWLFmNIFQIZz+Raw=; b=MwBPZvPJosNk558ggHmCZboVRW1ecqPl1XNGxs8rmIKEnTzdpmaMNPHrgHvlgiH15O 1o66MaxXcdk2glbApwaRDEdd6Pf3Hi3Ix/rORYarjFysiYH9G5wG1e37PH1oXPKPDYZf fhFCZtDr26N6PlSquzdcjAIwk/2JrYOeBq5149pl7ujTZrkUYwjuuDPN+SOl4Io/2lIb sAxIUE4NFONHTF8PpKBacISaoP8r+dgCWZTTmmQK3+DndMPfqzaAK/N3T1ICbRqYOdcU df1jjYoncBmHH4Akemm+Wklf7P72xMdKsFky2Yckhf/blQNK6JrLuWLuG7dOnFeNdWSF x1ew==
MIME-Version: 1.0
X-Received: by 10.112.150.71 with SMTP id ug7mr40464407lbb.73.1419540685899; Thu, 25 Dec 2014 12:51:25 -0800 (PST)
Sender: alangley@gmail.com
Received: by 10.112.114.225 with HTTP; Thu, 25 Dec 2014 12:51:25 -0800 (PST)
In-Reply-To: <CACsn0cnuUWaATFfKuPiOsXegTE-2tz+22jgn-kPZhYe4wTmrHw@mail.gmail.com>
References: <20141224224708.27815.qmail@cr.yp.to> <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <CACsn0cnuUWaATFfKuPiOsXegTE-2tz+22jgn-kPZhYe4wTmrHw@mail.gmail.com>
Date: Thu, 25 Dec 2014 20:51:25 +0000
X-Google-Sender-Auth: CsTV8UtcMRBxR7-CY-C9kdGuNIo
Message-ID: <CAMfhd9VcWxQk=yxk5MHCeTnLJzk=GA0=LHSCODVi0GpvKBr+LA@mail.gmail.com>
From: Adam Langley <agl@imperialviolet.org>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/1HDDmk00dkmsmKz-VOpIs6jC3QQ
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 25 Dec 2014 20:51:29 -0000

On Thu, Dec 25, 2014 at 7:33 PM, Watson Ladd <watsonbladd@gmail.com> wrote:
> It's important not to confuse "rigidity" with actually constraining
> the choice of curve meaningfully. The question is not how many curves
> can be generated, but how many curves the user will accept.

Certainly. Indeed, rejecting curve25519 because of "rigidity" appears
to me to imply accepting that:

1) There are numerous, devastating pitfalls in the space of
sensible-looking curves.
2) And yet, nobody has ever caught even a glimpse of them.
3) And yet, they are dense enough that someone could easily steer a
curve into one.
4) And yet, not so dense that one can't steer a "rigid" curve into one.

That seems like codswallop to me, and possibly to Microsoft too.
However, I think it's understandable if Microsoft have a bunch of
customers who do not specialise in cryptography and yet look with
suspicion at every decision Microsoft make in this area, and thus MS
want to make as few as possible. (I wish MS had generally been more
communicative about their motivations on the list so that I didn't
have to guess.)

It would be nice if we didn't have to worry about such shoddy
suspicions. (Microsoft might feel the same.) But, as I mentioned,
failing to reach agreement with Microsoft would be a bad outcome.

> Exactly. It is now the deadline: are we going to miss it because we
> cannot get the 128 bit level out, despite unanimity on what it should
> be?

I would very much welcome it if we could work on trying to get
curve25519 out the door. I'm sure that there are still things that
people can disagree about but everyone appears to be within an isogeny
of a common place.

> Basepoints and isogenies don't change security: if the Microsoft curve
> is isogenous to Curve25519, why not use Curve25519?

At the moment, because of a desire for a single curve-generation
procedure, I think. Adding special cases to steer the output to match
curve25519 is distasteful and looks like rigging the procedure. (Of
course, from a security point of view, that's nonsense. I've also not
seen anyone outside of MS express the opinion that a curve-generation
procedure is even desirable. But, to make progress, people need to try
and understand Microsoft's position.)

(I'll deal with the argument about the value of a large curve in a
different email becasue Davil Gil has a reply on that topic too.)


Cheers

AGL


From nobody Thu Dec 25 12:55:19 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 D3C6E1A885F for <cfrg@ietfa.amsl.com>; Thu, 25 Dec 2014 12:55:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level: 
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 NHH5GfSN35EV for <cfrg@ietfa.amsl.com>; Thu, 25 Dec 2014 12:55:15 -0800 (PST)
Received: from prod-mail-xrelay02.akamai.com (prod-mail-xrelay02.akamai.com [72.246.2.14]) by ietfa.amsl.com (Postfix) with ESMTP id CE7A31A885D for <cfrg@irtf.org>; Thu, 25 Dec 2014 12:55:15 -0800 (PST)
Received: from prod-mail-xrelay02.akamai.com (localhost [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id A608C284CF; Thu, 25 Dec 2014 20:55:14 +0000 (GMT)
Received: from prod-mail-relay07.akamai.com (prod-mail-relay07.akamai.com [172.17.121.112]) by prod-mail-xrelay02.akamai.com (Postfix) with ESMTP id 92786284BA; Thu, 25 Dec 2014 20:55:14 +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 8E55D80040; Thu, 25 Dec 2014 20:55:14 +0000 (GMT)
Received: from usma1ex-cashub7.kendall.corp.akamai.com (172.27.105.23) by usma1ex-dag1mb5.msg.corp.akamai.com (172.27.123.105) with Microsoft SMTP Server (TLS) id 15.0.913.22; Thu, 25 Dec 2014 15:55:08 -0500
Received: from USMBX1.msg.corp.akamai.com ([169.254.1.15]) by usma1ex-cashub7.kendall.corp.akamai.com ([172.27.105.23]) with mapi; Thu, 25 Dec 2014 15:55:08 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Adam Langley <agl@imperialviolet.org>
Date: Thu, 25 Dec 2014 15:55:07 -0500
Thread-Topic: [Cfrg] Curve manipulation, revisited
Thread-Index: AdAghJ3PQndx+GlPQB6JIDgKY2LFeQAACp9g
Message-ID: <2A0EFB9C05D0164E98F19BB0AF3708C71D55236D22@USMBX1.msg.corp.akamai.com>
References: <20141224224708.27815.qmail@cr.yp.to> <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <CACsn0cnuUWaATFfKuPiOsXegTE-2tz+22jgn-kPZhYe4wTmrHw@mail.gmail.com> <CAMfhd9VcWxQk=yxk5MHCeTnLJzk=GA0=LHSCODVi0GpvKBr+LA@mail.gmail.com>
In-Reply-To: <CAMfhd9VcWxQk=yxk5MHCeTnLJzk=GA0=LHSCODVi0GpvKBr+LA@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="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/b_6ye8rq4U2KlkOK7Qb1lyx0kvI
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 25 Dec 2014 20:55:18 -0000

> desirable. But, to make progress, people need to try and understand
> Microsoft's position.)

Then perhaps, as you stated earlier in the note, it would be good if we did=
n't have to guess.

It's kinda funny that NUMS curve has us now wanting a NUMS rationale.  But =
perhaps funny isn't the right word, maybe sad or pathetic is.



From nobody Thu Dec 25 13:03:02 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 A025E1A885D for <cfrg@ietfa.amsl.com>; Thu, 25 Dec 2014 13:03:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.802
X-Spam-Level: 
X-Spam-Status: No, score=-15.802 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, USER_IN_DEF_WHITELIST=-15] 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 mlNbMvUgsjpT for <cfrg@ietfa.amsl.com>; Thu, 25 Dec 2014 13:02:59 -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 3FBE61A1AAA for <cfrg@irtf.org>; Thu, 25 Dec 2014 13:02:59 -0800 (PST)
Received: from omp1056.mail.ne1.yahoo.com (omp1056.mail.ne1.yahoo.com [98.138.89.198]) by mrout2.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id sBPL2qI2019033 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <cfrg@irtf.org>; Thu, 25 Dec 2014 13:02:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1419541372; bh=iDWBZqoYMtXs/GNHxA569AuA4LxpOTl5f422EZ4gfjU=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject; b=SYIe6R5l1QmvZp0JOuBeKoMErbjwz4oWpY70fXUAKUly7Ar8LkHPIXK1QQE89G43W SstRYkEEzO/h8WtxP6bAz1VUBNrwEQGDhpjZ/0Yvj9MZ8SgWVOKPHkIcgKRwl8EqHM mtMwqxCHI4rxH2+sk5h9NsaJ/cEMbAxLiPJkoQyE=
Received: (qmail 52274 invoked by uid 1000); 25 Dec 2014 21:02:51 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo-inc.com; s=ginc1024; t=1419541371; bh=yAxbsIQCvZugSEa1gDINpPOBtjKqh3ie5UDJeBAy1lE=; h=Date:From:Reply-To:To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; b=kxAvNYXpl07RMeFBkMZAS1el+hREPjaNcMOIJpqpHJvRcbH+m48o+zRnfOfyiHkp3JcMh1VWS2OnrwohfmVWlEO2ApyGxh+2l0Fxn3qI6VSeIO0jIiiwN8Z/8QhY4WJm6CVgbAonmuuVy4F73OgWJ9TcLnLnnk/gwpGx/yrH3yg=
X-YMail-OSG: AdN3Qn0VM1lLJnBIsO2MKT0UHL1Kh6rakOlth2tjSQ2q81Lx9Fr6ZyjClN_52mx SXnoOpUgSuV296dkiCU1P5Bq4.e_E.b5fYrTl3ePUp3VhLngIUzLBj2D.XpSQRLmNWyM99OeGjOT GzmZCm5npDjJkDOztewC0HwrEINCvyz7CCr_1tSId8FZNtMhWt8rkaV_rw.rMk_QYBGQillajcWM hXabYWhfoA4gZ4cljC3FYZinDUeoyVCD9uOLA6SvZq0a.WzkZC6hjI9Q-
Received: by 98.138.105.240; Thu, 25 Dec 2014 21:02:51 +0000 
Date: Thu, 25 Dec 2014 21:02:50 +0000 (UTC)
From: David Gil <dgil@yahoo-inc.com>
To: "Salz, Rich" <rsalz@akamai.com>, Adam Langley <agl@imperialviolet.org>
Message-ID: <187162767.804672.1419541371010.JavaMail.yahoo@jws100156.mail.ne1.yahoo.com>
In-Reply-To: <2A0EFB9C05D0164E98F19BB0AF3708C71D55236D22@USMBX1.msg.corp.akamai.com>
References: <2A0EFB9C05D0164E98F19BB0AF3708C71D55236D22@USMBX1.msg.corp.akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/A67cQCzgzAV32VUu4gZIw4Sp9z8
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 25 Dec 2014 21:03:00 -0000

Frankly, I think that the difficulty here is that there really is
little difference between any of the curve proposals.

They are all rigid enough. They are all fast enough. Most are safe
enough.

I'd suggest that the right thing for the CFRG to do is this:

Issue a recommendation that:

  - states the safety criteria for curves,
  - defines a point-format for curves that do not already have one
    defined,
  - notes existing curves that meet the safety criteria,
  - and recommends that WGs adopt curves from that list
    as appropriate for their protocols' needs.

-dlg


From nobody Thu Dec 25 13:05:32 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 62CD61A887A for <cfrg@ietfa.amsl.com>; Thu, 25 Dec 2014 13:05:31 -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 g4Q4bCfF5tyv for <cfrg@ietfa.amsl.com>; Thu, 25 Dec 2014 13:05:30 -0800 (PST)
Received: from mail-la0-x22b.google.com (mail-la0-x22b.google.com [IPv6:2a00:1450:4010:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EA7891A8874 for <cfrg@irtf.org>; Thu, 25 Dec 2014 13:05:29 -0800 (PST)
Received: by mail-la0-f43.google.com with SMTP id s18so8312763lam.16 for <cfrg@irtf.org>; Thu, 25 Dec 2014 13:05:28 -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=0oYfvOnCfwInncqW35wCQZAwHVeyU6f/mQIYUO7r0Hg=; b=ksENiRUfNPQiq0Qt6rLF662QwVhXDe1UzCVkq7qM7ebNcdDchuKzq6V7lIgtBJgA9M sUbIlFIB8ByiwEBIrVdfFo4SE8DYkTSyDZhAiZ9JQ9dWkwB7gCrV01H7TO7HTTb4tuRm SNX/39bn3XlzF6eyVpKhfty5LjK9LKKemzBnKciqk294IihIsP3OH9mHggeo5zJcAgtr 9T1fFLaXKQhYfyTARa39q8MPTkq+1ZGu1ontTyUREb2Xnpq3+ycoRIM2XwZRvu2xGFpN u4gQGqu/W4cc19qvmmSfB0UA7M1P63hJc3grp4LJskK+Vzf098DYcedH2xc6j+EeJN55 23nA==
MIME-Version: 1.0
X-Received: by 10.153.5.1 with SMTP id ci1mr34778331lad.67.1419541528409; Thu, 25 Dec 2014 13:05:28 -0800 (PST)
Sender: alangley@gmail.com
Received: by 10.112.114.225 with HTTP; Thu, 25 Dec 2014 13:05:27 -0800 (PST)
In-Reply-To: <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com>
Date: Thu, 25 Dec 2014 21:05:27 +0000
X-Google-Sender-Auth: J_xVyXnSUwMCHKv8b5fX_Wyz74U
Message-ID: <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com>
From: Adam Langley <agl@imperialviolet.org>
To: David Gil <dgil@yahoo-inc.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Z7gNdJVb5BjJMv2kh6YD6buaikc
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 25 Dec 2014 21:05:31 -0000

> I don't think this is quite right. Imagine we could improve the square
> root in Pollard rho to cube root via some algebraic geometry. Then
> 255/3=85, but 448/3=150. Even ignoring the possibility of algorithmic
> improvements, progress in computing power may mean data that has to be
> confidential for centuries needs a larger curve. The NSA did pick P384
> for a reason.

If we are positing a cube root algorithm for discrete-log, can't we
posit a 4th root one?

But, yes, there is a possibility of an attack that's *just* right:
weak enough not to break a larger curve but strong enough to break a
smaller one. On the other hand, each additional curve dilutes
implementation resources and implementation bugs happen. I'm judging
that the risk of a bug due to the additional curve is larger than the
benefit of hedging against that specific sort of analytic breakthough.

And, if you want to keep data safe for centuries, isn't post-quantum a
requirement?

On Thu, Dec 25, 2014 at 8:38 PM, David Gil <dgil@yahoo-inc.com> wrote:
> In particular, w.r.t. Yahoo's eventual release of an End-to-End
> messaging extension, we will generate EC keys for extension users
> on a curve subgroup with log2(#K) >= 376. The additional computational expense is, frankly, negligible.

I think my argument here is the same as above. (Although, in this
situation, you would have the advantage of being able to use the
simplest, clearest code possible because performance isn't a concern.)

> It's absurd to ignore the fact that the organization with the most mathematicians working on ECC[^fbfw] does not trust a bit-length
> 256 curve for data they consider important. See [NSA Suite B
> Cryptography][suiteb].

TOP SECRET just needed to have a bigger number than SECRET :)


Cheers

AGL

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


From nobody Fri Dec 26 13:51:10 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 008911AC3C0 for <cfrg@ietfa.amsl.com>; Fri, 26 Dec 2014 13:51:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.001
X-Spam-Level: 
X-Spam-Status: No, score=-15.001 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, USER_IN_DEF_WHITELIST=-15] 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 Drxz6Eh3SNpi for <cfrg@ietfa.amsl.com>; Fri, 26 Dec 2014 13:51:06 -0800 (PST)
Received: from mrout1.yahoo.com (mrout1.yahoo.com [216.145.54.171]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 630751AC399 for <cfrg@irtf.org>; Fri, 26 Dec 2014 13:51:06 -0800 (PST)
Received: from omp1039.mail.ne1.yahoo.com (omp1039.mail.ne1.yahoo.com [98.138.88.239]) by mrout1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id sBQLowH1065507 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <cfrg@irtf.org>; Fri, 26 Dec 2014 13:50:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1419630659; bh=8Uhjzov5AZAJCw0DQ1sm09ZcSR6HclAUH9MJa164naE=; h=Date:From:Reply-To:To:Cc:Subject; b=wOxRagYL3sod4YLI7CgcYLYKk3I0OMDqLjMqRYN72DZeBYLMcT9osyJW0C1/KpFnZ /B2fYXeECio5Yvymwi5vIhbbtJm2yewTCdBGKwiCsG5SfsQz2MVof8BCqAha+WewHF atpYHlIfD7k56s0qOhej7VPTlfrwAgBP5FIA+k+w=
Received: (qmail 41316 invoked by uid 1000); 26 Dec 2014 21:50:58 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo-inc.com; s=ginc1024; t=1419630658; bh=YvJsHIkH0iqc2Uvk3d3Z/oI+2Z2Tms81yPBxUGCyK+4=; h=Date:From:Reply-To:To:Cc:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; b=aCi09VTTwcfnSsTtT7QJ1nX+FgmotsUZUIL7YECA5QHg1KEElIDVC9DAL+vtUmW1TQdfY+KQFyFJcmSRSZ/j0kGKVuW/QMOr+MqTUyO3raV3eiWYrZfgr3bgMOYqB7SLjFGHS24B53gkcw3mg5CWXkDozOPRjy6MNEitmntYvbI=
X-YMail-OSG: ENX9ZUIVM1mXcPANwSN3C7XUrgbMpjTuLr9nipyqbZ3PM23GT1qI3jjy7VBsGeR uR6M8oTkLUavRv1GniqYopOW_4GNvDLDgxLJ8GXlsPyR5bNdoM3NKWMCe7gHwieu7JtEDDMbWxCT CGXQqDHxffIQEXt6ObFO3b3yEAEmoIeulEzJp9Myd3bFTctin_OByPn_OZn_xg4Xu2qdZRMplLBl ZWcv4289PUZJws4J9NX7rdaX9B3Xb6CYbYpKc_Q--
Received: by 98.138.105.219; Fri, 26 Dec 2014 21:50:58 +0000 
Date: Fri, 26 Dec 2014 21:50:57 +0000 (UTC)
From: David Gil <dgil@yahoo-inc.com>
To: Adam Langley <agl@imperialviolet.org>
Message-ID: <1223557431.954984.1419630657780.JavaMail.yahoo@jws100194.mail.ne1.yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/JkF5_ucXZx6if8NehCqmyBH0CWA
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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: Fri, 26 Dec 2014 21:51:08 -0000

On Thursday, December 25, 2014 1:05 PM, Adam Langley <agl@imperialviolet.org> wrote:
[replying to someone else]
> . . .               On the other hand, each additional curve dilutes
> implementation resources and implementation bugs happen.

I assume that you mean finite fields, not curves?

(This would seem to be just as good of an argument for generating
Edwards curves over the Salinas primes, which are rather widely
implemented...)

On Thu, Dec 25, 2014 at 8:38 PM, David Gil <dgil@yahoo-inc.com> wrote:
>> In particular, w.r.t. Yahoo's eventual release of an End-to-End
>> messaging extension, we will generate EC keys for extension users
>> on a curve subgroup with log2(#K) >= 376. The additional computational
>> expense is, frankly, negligible.
> 
> I think my argument here is the same as above. (Although, in this
> situation, you would have the advantage of being able to use the
> simplest, clearest code possible . . . 

Alas, no, I don't have that advantage: WebCrypto [has more-or-less
decided][w3c_curves] that they will only implement CFRG-recommended
curves. I need WebCrypto support -- for non-extractable keys.
But I also need to have something that is relatively clean to
implement in JS, for support of legacy-ish browsers.

And I'm not convinced that the NUMS curve proposal can be implemented with decent performance in simple and clear JS.

> . . . because performance isn't a concern.)

And alas, it is: JavaScript is not particularly ideal for k-time
bignum arithmetic. The choice of finite field has a major impact
on performance.

--

> TOP SECRET just needed to have a bigger number than SECRET :)

Sure; but why then not secp224r1/SHA-224 and secp256r1/SHA-256?

And does a code-breaking agency have any reason to publicly
*overestimate* the probability a cryptosystem might be broken?

(Or: perhaps they chose randomly ;)

--

[w3c_curves]: http://lists.w3.org/Archives/Public/public-webcrypto/2014Sep/0011.html "[W3C Web Crypto WG] CfC : Call for Consensus on the integration of new curves in Web Crypto API - vote before the 16th of sept"


From nobody Fri Dec 26 14:32:27 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 25A321ACF70 for <cfrg@ietfa.amsl.com>; Fri, 26 Dec 2014 14:32:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.599
X-Spam-Level: 
X-Spam-Status: No, score=-0.599 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, 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 8RFH8e1WokCi for <cfrg@ietfa.amsl.com>; Fri, 26 Dec 2014 14:32:24 -0800 (PST)
Received: from mail-ob0-x22e.google.com (mail-ob0-x22e.google.com [IPv6:2607:f8b0:4003: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 AD8F71ACF5D for <cfrg@irtf.org>; Fri, 26 Dec 2014 14:32:24 -0800 (PST)
Received: by mail-ob0-f174.google.com with SMTP id nt9so39296784obb.5 for <cfrg@irtf.org>; Fri, 26 Dec 2014 14:32: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=R2MYSHea6EvqFX1Z3WQbyztvzui3VX+srMH6XzWuxlo=; b=z/+hFRkmDdRdDekamrO1u3WGEYmYjSU1kk9kfAvmYPYNIt7izLdv1eMjWnsWvu0iFj k87Hcp5O+tVcICxkjqfypjaPaHbcOcuUGuZTdoJA1pwndAK436mttPKNvGFX7mM7ozG9 tU+OUzyzH78dIBGnf9xSTyuClWIlXb735yUdTeHOSHfAttfYjbT9CNtnDsZtnwryohBo aOTwuLLm5lWPQnaSEV2mGds28dDNzEP69y1JV3SPdu+ENLlFK30JvQisA+KyF1kmm9b/ Ye4+bJ25Vj6xnGBBZeLZqAcrMnZHvFYnP1ind3JftRjBcmAsRUmjeM3HwSL8lnjCOb3X 4r9g==
MIME-Version: 1.0
X-Received: by 10.202.12.72 with SMTP id 69mr24593494oim.50.1419633143964; Fri, 26 Dec 2014 14:32:23 -0800 (PST)
Received: by 10.60.227.225 with HTTP; Fri, 26 Dec 2014 14:32:23 -0800 (PST)
In-Reply-To: <2A0EFB9C05D0164E98F19BB0AF3708C71D55236C92@USMBX1.msg.corp.akamai.com>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk> <CACsn0c=uyPT6xa4CsXPeAV31QeeO+HfsCXAxt7Ba6NOt_Y2hiA@mail.gmail.com> <CABqy+sr1T-VwQx1NaRA+xvnqVn7smjs2+YrG2Uz1Q+8M6c3hng@mail.gmail.com> <D0B8EDCF.3A504%kenny.paterson@rhul.ac.uk> <CACsn0cnkdjEPGZ5Q1Nm+6OZJVdoj6X-ksc0X_atavQ+610MkXA@mail.gmail.com> <D0B9A74B.3A60D%kenny.paterson@rhul.ac.uk> <54941DAC.7030208@w3.org> <CACsn0cks4Vhz4EcKFvZ=6f0k+H2NwrTuCz0EM727SGd6R0Xyqg@mail.gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236C92@USMBX1.msg.corp.akamai.com>
Date: Fri, 26 Dec 2014 15:32:23 -0700
Message-ID: <CAHOTMVLfDtmYQ3nrxYi6SNJ3c4=kavm5cfmoeA3ZSAmyo=Szyw@mail.gmail.com>
From: Tony Arcieri <bascule@gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>
Content-Type: multipart/alternative; boundary=001a113d0d1641e932050b26191a
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/WZ9hN1XW7yqzZBNSVce7HiG9FUc
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: Fri, 26 Dec 2014 22:32:26 -0000

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

On Tuesday, December 23, 2014, Salz, Rich <rsalz@akamai.com> wrote:

> Is there any question about the way Curve25519 was generated?  As I
> understand it, the RPGECC authors are willing to modify their document so
> that 25519 can be generated.  Then why can't we just approve the current
> 25519 draft and say we'll have the overall framework out soon.
>

As a mere observer watching from the CFRG peanut gallery, I second this. It
seems there's something of an informal consensus that Curve25519 is
acceptable as a curve with a 128-bit security level by all parties
involved. Do the chairs plan on officially adopting it soon? It seems like
everything else (rigid curve generation guidelines, higher security level
curves) are a lower priority.


-- 
Tony Arcieri

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

On Tuesday, December 23, 2014, Salz, Rich &lt;<a href=3D"mailto:rsalz@akama=
i.com">rsalz@akamai.com</a>&gt; wrote:<br><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is=
 there any question about the way Curve25519 was generated?=C2=A0 As I unde=
rstand it, the RPGECC authors are willing to modify their document so that =
25519 can be generated.=C2=A0 Then why can&#39;t we just approve the curren=
t 25519 draft and say we&#39;ll have the overall framework out soon.<br>
</blockquote><div><br></div><div>As a mere observer watching=C2=A0from the =
CFRG peanut gallery, I second this. It seems there&#39;s something of an in=
formal consensus that Curve25519 is acceptable as a curve with a 128-bit se=
curity level=C2=A0by all parties involved. Do the chairs plan on officially=
 adopting it soon? It seems like everything else (rigid curve generation gu=
idelines, higher security level curves) are a lower priority.<span></span><=
/div><br><br>-- <br>Tony Arcieri<br><br>

--001a113d0d1641e932050b26191a--


From nobody Sat Dec 27 01:38:13 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 1BEA21AD4B4 for <cfrg@ietfa.amsl.com>; Sat, 27 Dec 2014 01:38:12 -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 JjEbUOGFjA6z for <cfrg@ietfa.amsl.com>; Sat, 27 Dec 2014 01:38:11 -0800 (PST)
Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A0ABE1AD4B3 for <cfrg@irtf.org>; Sat, 27 Dec 2014 01:38:10 -0800 (PST)
Received: by mail-la0-f46.google.com with SMTP id q1so9544083lam.19 for <cfrg@irtf.org>; Sat, 27 Dec 2014 01:38:09 -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=VesJ6NWbrNLM4TNVSReV5B4y5P3Hr1/G9KbSIJm9ymM=; b=Vin2G2XNGxvK6W8fxtMOnwNf+AdbodZBUIo+FvPapcKAesHdmID8tG+hHl6ugMePhC h2UGsHmyc/rEOC7FuOEv7thQqRBvFfMsYy1NG3fa3DmYyJLht+gVWLWfssfbMG16suxG CPQz8J9pUUgt4ytMY79Bab83dVo9zGjCOR8Q7D6/yzBv+gk3bPa4FxhdTH1iXhbXBQ4z 66qdsRbKsgdPrcmJu8xOj4GR7/iX7/S16RaEb+1cjl6U06sdBnEE7gJiUnc3gq40neSM xRgmSwC+ng7ATTEz5fSVn0GlhgVvAiq7GfUUnTzCJHKTUWEXivOrn2Lcuaj81b/eqmGK ryAA==
MIME-Version: 1.0
X-Received: by 10.112.125.202 with SMTP id ms10mr9530156lbb.33.1419673088880;  Sat, 27 Dec 2014 01:38:08 -0800 (PST)
Sender: alangley@gmail.com
Received: by 10.112.114.225 with HTTP; Sat, 27 Dec 2014 01:38:08 -0800 (PST)
In-Reply-To: <1223557431.954984.1419630657780.JavaMail.yahoo@jws100194.mail.ne1.yahoo.com>
References: <1223557431.954984.1419630657780.JavaMail.yahoo@jws100194.mail.ne1.yahoo.com>
Date: Sat, 27 Dec 2014 01:38:08 -0800
X-Google-Sender-Auth: NkbGwihlL7rByYM2z4VJw1h8ONg
Message-ID: <CAMfhd9UKM1gKrsq7voKyZwUGv+ix3pX+p_Y7soeyjqtCj15EPA@mail.gmail.com>
From: Adam Langley <agl@imperialviolet.org>
To: David Gil <dgil@yahoo-inc.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/lKMurDUMzlUgfytkLXteYIDfISY
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 27 Dec 2014 09:38:12 -0000

On Fri, Dec 26, 2014 at 1:50 PM, David Gil <dgil@yahoo-inc.com> wrote:
> I assume that you mean finite fields, not curves?
>
> (This would seem to be just as good of an argument for generating
> Edwards curves over the Salinas primes, which are rather widely
> implemented...)

Sharing the underlying field certainly helps reduce implementation
effort, but there's still lots more work than that, including all of
the duplication of test cases that inherently comes from each
additional curve.

(Not to mention that I consider the Salinas primes to be a bug-magnet
to such an extent that replacing the field in that case would probably
still be a net-positive for correctness.)

> Alas, no, I don't have that advantage: WebCrypto [has more-or-less
> decided][w3c_curves] that they will only implement CFRG-recommended
> curves. I need WebCrypto support -- for non-extractable keys.
> But I also need to have something that is relatively clean to
> implement in JS, for support of legacy-ish browsers.

I would currently expect Chrome to be in the "legacy" set if you want
WebCrypto support for a larger CFRG curve.


Cheers

AGL


From nobody Sun Dec 28 23:57:50 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 6CC571A0007 for <cfrg@ietfa.amsl.com>; Sun, 28 Dec 2014 23:57:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.723
X-Spam-Level: 
X-Spam-Status: No, score=0.723 tagged_above=-999 required=5 tests=[BAYES_50=0.8, 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 QFAiFq16VBvG for <cfrg@ietfa.amsl.com>; Sun, 28 Dec 2014 23:57:43 -0800 (PST)
Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DD8BF1A0004 for <cfrg@irtf.org>; Sun, 28 Dec 2014 23:57:42 -0800 (PST)
Received: by mail-wi0-f182.google.com with SMTP id h11so21267318wiw.15 for <cfrg@irtf.org>; Sun, 28 Dec 2014 23:57:41 -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:content-type; bh=1+I/KKiCFEuVFEJ0tg84YrX6KDZzv+d4BOG4aqZ8VEE=; b=mpG52j8DP22vaiAZWlStWtwNQ0VSoQisZO342BGqFZuerj2a4MNKV/4zMFDer/PM+v sMHTU+vGs1uuCXw7DewVl6w6ypl0FZ7Rx3NhH7fPuXdfkFn3qh3b7YJwX7Y2vaEnUhHK BWY+OYdvrocMrEpQANAIo6/zLbZlG+T0dxSjHn2Y0TEI1sdr8M6sBtNE3DQxBFaRg8UY /6QrEGRt0EiIN8xDPEC7vr5G+b9ffkoWUDBKtjkVRBHBLfbTR+51GpSBUoSRdVF7iybf y0ldnOJ18fLN0Q1tPQLcNcZ0CgnuBB9/edTMYU+TsH1idaAMUbWj96aKC2UifesvVEGs YohQ==
X-Gm-Message-State: ALoCoQmuS+Us+T8z47UIQ74IaOa3Ri+3E89Z5Mo8zLG/BBepdpJgw4HuQslQu/JAQAh0IfRocT7L
X-Received: by 10.194.237.101 with SMTP id vb5mr107658929wjc.30.1419839861537;  Sun, 28 Dec 2014 23:57:41 -0800 (PST)
MIME-Version: 1.0
Received: by 10.216.190.139 with HTTP; Sun, 28 Dec 2014 23:57:21 -0800 (PST)
In-Reply-To: <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com>
From: Benjamin Black <b@b3k.us>
Date: Sun, 28 Dec 2014 23:57:21 -0800
Message-ID: <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: multipart/alternative; boundary=089e013d202895d621050b563ae3
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/U8kQFjFK035G89SlxC9Qzxn9haY
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 07:57:47 -0000

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

Adam has accurately described our position, and thanks to him for taking up
the slack while many of us were on holiday.

The request might've come from the TLS-WG, but it is almost inconceivable
that something CFRG recommended to TLS-WG would not be quickly adopted by
many other WGs. It is disingenuous to argue that since the request came
from TLS-WG nothing outside TLS-WG should be a consideration while also
arguing that things like cofactors for 1 (mod 4)  curves must be exactly
(8,4) without giving an example of how it matters to TLS-WG. The latter is
an implicit acknowledgement that the scope extends beyond TLS-WG.
Similarly, suggesting that TLS-WG could be given only X25519 without
Ed25519 being pulled in is either naive or an attempt to sneak them both in
the back door.

My use of the term "compromise" when presenting the current draft seems to
have opened the door to some misunderstanding. I used the term in the sense
of finding common ground rather than in the sense of introducing flaws. I
would not expect anyone in this process to find it acceptable to introduce
what they believe to be a security flaw, conspiracy theorists aside. As
Adam said, it would be a failure if the consensus that emerged from CFRG
did not include Microsoft, as it would be if it didn't include Google or
Akamai or anyone else with direct responsibility for protecting a billion
people online. We have chosen to move some on what is acceptable to us
because it is more important that there is a result that includes enough of
the things we believe are essential for delivering that protection than
that we get to be "right".

I've included more specific responses below.


Thanks,
b

--

The view voiced by several people that the 128-bit security level curve in
the draft is Curve25519 is a bit off base. First, the draft describes
generation of (twisted) Edwards curves and the 128-bit curve has minimal d
(given the addition of the newly manufactured cofactor constraint), while
Ed25519 does not. This is an advantage for both performance and rigidity
with a tiny reduction in simplicity of implementation, achieving a better
balance between security, performance, and simplicity. Second, the
specified base point is not the same and can't be the same without forcing
the (arbitrary) choice. The result is that it is straightforward to modify
existing Curve25519 implementations to use the new curve, but modification
is likely required.

On Wed, Dec 24, 2014 at 2:47 PM, D. J. Bernstein <djb@cr.yp.to> wrote:

> Once upon a time, Microsoft said that it was a "requirement" to have
> "rigid parameter generation for primes and curve constants" given the
> "security level".


Once upon a time, Dan said that is was a "requirement" to use single
coordinate ladders to eliminate invalid curve attacks against DH
implementations:

On Tue, Dec 2, 2014 at 1:28 AM, D. J. Bernstein <djb@cr.yp.to> wrote:
>
> Invalid-curve attacks completely break the simplest DH implementations
> in Montgomery coordinates _and_ in Edwards coordinates. Rather than
> blaming the implementor, we eliminate these security failures by
>
>    * adding twist security, for both Montgomery and Edwards, and
>    * switching to single-coordinate ladders.
>

Yet for Curve41417, ladders suddenly become optional, just as we've said
all along they should be:

"We use a windowing method with fixed window width for constant-time
single-scalar multiplication on Curve41417 in Edwards form. Our analysis
also
allows good estimates of, e.g., the cost of signature verification using
Curve41417.
Another option for single-scalar multiplication is the Montgomery ladder
for the
Montgomery form of Curve41417; this is not quite as fast as the Edwards form
but has the advantage of fitting the computation into less SRAM."

It seems performance is the real priority here and you will happily discard
things you insist are necessary for security when they conflict with
performance. At the 128-bit security level the ladder can be faster. At the
200-bit+ security levels the ladder is slower. Should we blame the
implementor who elects not to use a single-coordinate ladder? Should we
wonder why you would choose not to eliminate these security failures?

This section of your paper raises another interesting point. It seems a
slight performance drop in exchange for consuming less SRAM can be a
desirable property to you. In Adam's Faster Curve25519 post (
https://www.imperialviolet.org/2013/05/10/fastercurve25519.html), he
achieves significant performance improvements at a cost of 24KB of cache
for tables. Our NUMS 256 curve performs slightly slower than this, but only
requires 9KB for tables. The 15KB difference represents almost 25% of the
64KB L1 cache in a typical Xeon and almost 50% of the 32KB L1 data cache in
a typical ARM. It's not quite as fast but has the advantage of fitting the
computation into less SRAM.

On Mon, Dec 22, 2014 at 5:54 PM, Tanja Lange <tanja@hyperelliptic.org>
 wrote:
>
> I think a competition has more to offer than a 'collaboration' where
> parties get more influence by having more people send emails to the list.
>

I'm not sure what point you are trying to make here. The people who haven't
submitted curves should remain silent? That is antithetical to the IETF
process. If you are suggesting it shouldn't be a process whereby a minority
attempts to "stuff the ballot box" by getting a few people to yell loud and
often to drown out differing opinions, then I agree. However, I don't think
we would agree on who might be doing that.


> What should count are the merits of papers, implementations, and internet
> drafts so that proposals get more influence by being objectively better.
>

"Objectively better" is unrealistic as it depends on which implementation,
which architectures, which benchmarks and which priorities people have for
various properties of the curves. The example above for different L1 cache
footprint shows how slippery "objectively better" can be. Another example
would be the large d in Ed25519 compared to the minimal d in the rpgecc
draft. The smaller d is "objectively better" both in terms of performance
and rigidity, but isn't quite as simple to move between twisted Edwards and
Montgomery.

On Thu, Dec 25, 2014 at 12:55 PM, Salz, Rich <rsalz@akamai.com> wrote:
>> desirable. But, to make progress, people need to try and understand
>> Microsoft's position.)
>
>Then perhaps, as you stated earlier in the note, it would be good if we
didn't have to guess.
>
>It's kinda funny that NUMS curve has us now wanting a NUMS rationale.  But
perhaps funny isn't the right word, maybe sad or >pathetic is.

You've been in this from the start, so I find it odd you don't recall any
of the numerous times this has been covered, Rich. We don't see the small
potential performance gains as worth the additional flexibility introduced
by manipulating prime selection like this. You are of course free to
disagree, but there is no "objectively better" answer as it is a trade-off.
You might also consider not calling things you don't understand or with
which you disagree "sad" or "pathetic".

On Mon, Nov 3, 2014 at 8:37 AM, 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.


There are at least two, possibly three, fallacies present in this
challenge. The first is that the enormous flexibility required to insert
such a string in the coefficients is at all a relevant metric. The second
is that the BADA55 work used what anyone who wasn't pushing a very
particular agenda would call "reasonable constraints". The third is that
the "performance approach" represents much additional performance, that the
performance gains are certain regardless of architecture or protocol, or
that any additional performance is free.

It's worth noting that we have at least two rather different
interpretations of BADA55 present in these discussions. Your interpretation
seems to be that if you can't insert BADA55 in the coefficients then the
process is rigid. Adam's interpretation (which might match Dan's) is that
any claim of rigidity in generation is necessarily limited.

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

<div dir=3D"ltr"><div>Adam has accurately described our position, and thank=
s to him for taking up the slack while many of us were on holiday.</div><di=
v><br></div><div><div>The request might&#39;ve come from the TLS-WG, but it=
 is almost inconceivable that something CFRG recommended to TLS-WG would no=
t be quickly adopted by many other WGs. It is disingenuous to argue that si=
nce the request came from TLS-WG nothing outside TLS-WG should be a conside=
ration while also arguing that things like cofactors for 1 (mod 4) =C2=A0cu=
rves must be exactly (8,4) without giving an example of how it matters to T=
LS-WG. The latter is an implicit acknowledgement that the scope extends bey=
ond TLS-WG. Similarly, suggesting that TLS-WG could be given only X25519 wi=
thout Ed25519 being pulled in is either naive or an attempt to sneak them b=
oth in the back door.</div></div><div><br></div><div>My use of the term &qu=
ot;compromise&quot; when presenting the current draft seems to have opened =
the door to some misunderstanding. I used the term in the sense of finding =
common ground rather than in the sense of introducing flaws. I would not ex=
pect anyone in this process to find it acceptable to introduce what they be=
lieve to be a security flaw, conspiracy theorists aside. As Adam said, it w=
ould be a failure if the consensus that emerged from CFRG did not include M=
icrosoft, as it would be if it didn&#39;t include Google or Akamai or anyon=
e else with direct responsibility for protecting a billion people online. W=
e have chosen to move some on what is acceptable to us because it is more i=
mportant that there is a result that includes enough of the things we belie=
ve are essential for delivering that protection than that we get to be &quo=
t;right&quot;.=C2=A0</div><div><br></div><div><div>I&#39;ve included more s=
pecific responses below.</div></div><div><br></div><div><br></div><div>Than=
ks,</div><div>b</div><div><br></div><div>--</div><div><br></div><div><div>T=
he view voiced by several people that the 128-bit security level curve in t=
he draft is Curve25519 is a bit off base. First, the draft describes genera=
tion of (twisted) Edwards curves and the 128-bit curve has minimal d (given=
 the addition of the newly manufactured cofactor constraint), while Ed25519=
 does not. This is an advantage for both performance and rigidity with a ti=
ny reduction in simplicity of implementation, achieving a better balance be=
tween security, performance, and simplicity. Second, the specified base poi=
nt is not the same and can&#39;t be the same without forcing the (arbitrary=
) choice. The result is that it is straightforward to modify existing Curve=
25519 implementations to use the new curve, but modification is likely requ=
ired.</div></div><div><br></div><div>On Wed, Dec 24, 2014 at 2:47 PM, D. J.=
 Bernstein=C2=A0<span dir=3D"ltr">&lt;<a href=3D"mailto:djb@cr.yp.to" targe=
t=3D"_blank">djb@cr.yp.to</a>&gt;</span>=C2=A0wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;bo=
rder-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">=
Once upon a time, Microsoft said that it was a &quot;requirement&quot; to h=
ave<br>&quot;rigid parameter generation for primes and curve constants&quot=
; given the<br>&quot;security level&quot;.=C2=A0</blockquote><div><br></div=
><div>Once upon a time, Dan said that is was a &quot;requirement&quot; to u=
se single coordinate ladders to eliminate invalid curve attacks against DH =
implementations:</div><div><br></div>On Tue, Dec 2, 2014 at 1:28 AM, D. J. =
Bernstein=C2=A0<span dir=3D"ltr">&lt;<a href=3D"mailto:djb@cr.yp.to" target=
=3D"_blank">djb@cr.yp.to</a>&gt;</span>=C2=A0wrote:<blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-le=
ft-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Invalid=
-curve attacks completely break the simplest DH implementations<br>in Montg=
omery coordinates _and_ in Edwards coordinates. Rather than<br>blaming the =
implementor, we eliminate these security failures by<br><br>=C2=A0 =C2=A0* =
adding twist security, for both Montgomery and Edwards, and<br>=C2=A0 =C2=
=A0* switching to single-coordinate ladders.<br></blockquote><div>=C2=A0=C2=
=A0</div></div><div>Yet for Curve41417, ladders suddenly become optional, j=
ust as we&#39;ve said all along they should be:</div><div><br></div><div>&q=
uot;We use a windowing method with fixed window width for constant-time</di=
v><div>single-scalar multiplication on Curve41417 in Edwards form. Our anal=
ysis also</div><div>allows good estimates of, e.g., the cost of signature v=
erification using Curve41417.</div><div>Another option for single-scalar mu=
ltiplication is the Montgomery ladder for the</div><div>Montgomery form of =
Curve41417; this is not quite as fast as the Edwards form</div><div>but has=
 the advantage of fitting the computation into less SRAM.&quot;</div><div><=
br></div><div>It seems performance is the real priority here and you will h=
appily discard things you insist are necessary for security when they confl=
ict with performance. At the 128-bit security level the ladder can be faste=
r. At the 200-bit+ security levels the ladder is slower. Should we blame th=
e implementor who elects not to use a single-coordinate ladder? Should we w=
onder why you would choose not to eliminate these security failures?=C2=A0<=
/div><div><br></div><div>This section of your paper raises another interest=
ing point. It seems a slight performance drop in exchange for consuming les=
s SRAM can be a desirable property to you. In Adam&#39;s Faster Curve25519 =
post (<a href=3D"https://www.imperialviolet.org/2013/05/10/fastercurve25519=
.html" target=3D"_blank">https://www.imperialviolet.org/2013/05/10/fastercu=
rve25519.html</a>), he achieves significant performance improvements at a c=
ost of 24KB of cache for tables. Our NUMS 256 curve performs slightly slowe=
r than this, but only requires 9KB for tables. The 15KB difference represen=
ts almost 25% of the 64KB L1 cache in a typical Xeon and almost 50% of the =
32KB L1 data cache in a typical ARM. It&#39;s not quite as fast but has the=
 advantage of fitting the computation into less SRAM.</div><div><br></div><=
div>On Mon, Dec 22, 2014 at 5:54 PM, Tanja Lange=C2=A0<span dir=3D"ltr">&lt=
;<a href=3D"mailto:tanja@hyperelliptic.org" target=3D"_blank">tanja@hyperel=
liptic.org</a>&gt;</span>=C2=A0wrote:<blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(2=
04,204,204);border-left-style:solid;padding-left:1ex">I think a competition=
 has more to offer than a &#39;collaboration&#39; where<br>parties get more=
 influence by having more people send emails to the list.<br></blockquote><=
div><br></div><div>I&#39;m not sure what point you are trying to make here.=
 The people who haven&#39;t submitted curves should remain silent? That is =
antithetical to the IETF process. If you are suggesting it shouldn&#39;t be=
 a process whereby a minority attempts to &quot;stuff the ballot box&quot; =
by getting a few people to yell loud and often to drown out differing opini=
ons, then I agree. However, I don&#39;t think we would agree on who might b=
e doing that.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(20=
4,204,204);border-left-style:solid;padding-left:1ex">What should count are =
the merits of papers, implementations, and internet<br>drafts so that propo=
sals get more influence by being objectively better.<br></blockquote><div><=
br></div><div>&quot;Objectively better&quot; is unrealistic as it depends o=
n which implementation, which architectures, which benchmarks and which pri=
orities people have for various properties of the curves. The example above=
 for different L1 cache footprint shows how slippery &quot;objectively bett=
er&quot; can be. Another example would be the large d in Ed25519 compared t=
o the minimal d in the rpgecc draft. The smaller d is &quot;objectively bet=
ter&quot; both in terms of performance and rigidity, but isn&#39;t quite as=
 simple to move between twisted Edwards and Montgomery.</div></div><div><br=
></div>On Thu, Dec 25, 2014 at 12:55 PM, Salz, Rich=C2=A0<span dir=3D"ltr">=
&lt;<a href=3D"mailto:rsalz@akamai.com" target=3D"_blank">rsalz@akamai.com<=
/a>&gt;</span>=C2=A0wrote:<br><div><span>&gt;&gt; desirable. But, to make p=
rogress, people need to try and understand<br>&gt;&gt; Microsoft&#39;s posi=
tion.)<br>&gt;<br></span>&gt;Then perhaps, as you stated earlier in the not=
e, it would be good if we didn&#39;t have to guess.<br>&gt;<br>&gt;It&#39;s=
 kinda funny that NUMS curve has us now wanting a NUMS rationale.=C2=A0 But=
 perhaps funny isn&#39;t the right word, maybe sad or &gt;pathetic is.<br><=
/div><div><br></div><div>You&#39;ve been in this from the start, so I find =
it odd you don&#39;t recall any of the numerous times this has been covered=
, Rich. We don&#39;t see the small potential performance gains as worth the=
 additional flexibility introduced by manipulating prime selection like thi=
s. You are of course free to disagree, but there is no &quot;objectively be=
tter&quot; answer as it is a trade-off. You might also consider not calling=
 things you don&#39;t understand or with which you disagree &quot;sad&quot;=
 or &quot;pathetic&quot;.=C2=A0</div><div><br></div><div>On Mon, Nov 3, 201=
4 at 8:37 AM, Watson Ladd=C2=A0<span dir=3D"ltr">&lt;<a href=3D"mailto:wats=
onbladd@gmail.com" target=3D"_blank">watsonbladd@gmail.com</a>&gt;</span>=
=C2=A0wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-le=
ft-style:solid;padding-left:1ex">On Mon, Nov 3, 2014 at 8:18 AM, Paterson, =
Kenny<br>&lt;<a href=3D"mailto:Kenny.Paterson@rhul.ac.uk" target=3D"_blank"=
>Kenny.Paterson@rhul.ac.uk</a>&gt; wrote:<br>&gt; Alyssa,<br>&gt;<br>&lt;sn=
ip&gt;<br><span>&gt;<br>&gt; However, if there&#39;s a reasonably simple wa=
y to ensure the highest possible<br>&gt; levels of trustworthiness in our r=
ecommendations with unduly compromising<br>&gt; efficiency and security, th=
en I am prepared to sacrifice some extra time<br>&gt; to achieve it.<br><br=
></span>That assumes that picking a generation method would &quot;ensure th=
e<br>highest possible levels of trustworthiness&quot;. It&#39;s not clear t=
o me that<br>it would. Opponents of the performance approach can demonstrat=
e the<br>flexibility they insist exists by putting BADA55 in the hexadecima=
l<br>form of the coefficients obtained by taking the minimal equation<br>sa=
tisfying reasonable constraints on a performance-oriented prime.</blockquot=
e><div><br></div><div>There are at least two, possibly three, fallacies pre=
sent in this challenge. The first is that the enormous flexibility required=
 to insert such a string in the coefficients is at all a relevant metric. T=
he second is that the BADA55 work used what anyone who wasn&#39;t pushing a=
 very particular agenda would call &quot;reasonable constraints&quot;. The =
third is that the &quot;performance approach&quot; represents much addition=
al performance, that the performance gains are certain regardless of archit=
ecture or protocol, or that any additional performance is free.</div><div><=
br></div><div>It&#39;s worth noting that we have at least two rather differ=
ent interpretations of BADA55 present in these discussions. Your interpreta=
tion seems to be that if you can&#39;t insert BADA55 in the coefficients th=
en the process is rigid. Adam&#39;s interpretation (which might match Dan&#=
39;s) is that any claim of rigidity in generation is necessarily limited.</=
div></div><div class=3D"gmail_extra"><br></div></div>

--089e013d202895d621050b563ae3--


From nobody Mon Dec 29 02:41:41 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 5E0D01A00B8 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 02:41:37 -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_20=-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 oo81YOqycJP8 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 02:41:34 -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 9BE131A00B7 for <cfrg@irtf.org>; Mon, 29 Dec 2014 02:41:34 -0800 (PST)
Message-ID: <54A12FE4.2080209@akr.io>
Date: Mon, 29 Dec 2014 10:41:40 +0000
From: Alyssa Rowan <akr@akr.io>
MIME-Version: 1.0
To: "cfrg@irtf.org" <cfrg@irtf.org>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com>
In-Reply-To: <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/HL7m57lSEwwe3h8riQMu2PeQNGI
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 10:41:37 -0000

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

On 29/12/2014 07:57, Benjamin Black wrote:

> The view voiced by several people that the 128-bit security level 
> curve in the draft is Curve25519 is a bit off base.

Thanks; I'd missed that.

My tentative support for the draft was strictly conditional on the
resultant 128-bit curve being (birationally) equivalent to Curve25519,
because I feel that would resolve our disagreement on curve choice.

As I said before, your draft is so close to it that any remaining
discrepancy is poorly justified, and simply gratuitously incompatible.

> First, the draft describes generation of (twisted) Edwards curves 
> and the 128-bit curve has minimal d (given the addition of the
> newly manufactured cofactor constraint), while Ed25519 does not.
> This is an advantage for both performance and rigidity with a tiny
> reduction in simplicity of implementation, achieving a better
> balance between security, performance, and simplicity.

Rigidity is largely qualitative. Rigidity means clearly and soundly
explaining, documenting and justifying all of your choices; quantifiably
eliminating them is impractical: as the BADA55 paper points out, there
are always choices.

And I don't think your curve _not_ being Curve25519 is a justifiable
choice now. Even one of your co-authors very clearly prefers Curve25519
(and will move without you if he absolutely has to), and the other wants
a different curve with random primes for his RSA multiplier anyway.

> Second, the specified base point is not the same and can't be the 
> same without forcing the (arbitrary) choice.

Correct me if I'm wrong, as it's before breakfast (and I'm notoriously
unreliable before breakfast!) - but given the cleared cofactors, is the
base point x=9 the smallest point on Curve25519 in Montgomery form?

> The result is that it is straightforward to modify existing 
> Curve25519 implementations to use the new curve, but modification
> is likely required.

My position is that modification _of the draft_ is likely required to
resolve the remaining discrepancies.

In fact, it appears to me at this point that _only you_ at Microsoft
Research want this as it stands; almost everyone else choosing a new
128-bit curve has considered the alternatives and chosen Curve25519 or
(for the hardware-with-an-RSA-multiplier people) a random-prime curve
analogue; and everyone on the group (including the chairs, I think!)
would just like this whole thing over with. (Missing #31c3 was just
embarrassing.)

My strong impression is that our clear preference as a group for a
128-bit non-NIST elliptic curve is Curve25519, and (although I wasn't
there) has been so even before the TLS WG's request, at the meeting in
Hawaii. Maybe we should wait until January before asking the chairs to
call for consensus, due to holidays. But please let's get something out
of the door - and, well, you know what we can agree on. Do we need to
resurrect the Turner draft instead?

That would at least give us a solid base for methodology for the
larger curve; then I feel we're largely discussing the choice of
primes and the relatively poor security::performance ratio of primes
in the ~2^384 region.


As we're already pretty late now, if you don't mind, I'm probably just
going to go ahead and use Curve25519/X25519/Ed25519 now - like the
running code in Tor, I2P, GNUnet, TextSecure, iOS, GnuPG, OpenSSH,
OpenBSD and a whole bunch of other things. They are not merely good
enough, they're great. I see no good reason to arbitrarily change that
just because CFRG said otherwise - and I suspect, neither will they.

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

iQIcBAEBCgAGBQJUoS/kAAoJEOyEjtkWi2t6k6EP+QGo/6fWVWpmBJ0O+wA+P+pB
Jv5pfstHROhZZGwyAwWN8axUXB1DsIG3a7DwzNdxn/EEQMlbFgDMqEV0RGC/Ohji
hKPFK6wcSTbo3j/biAQqpue/7ChMwZCKzjJBySJUtACc40zivVQjCM2IH1EukG28
gEycuL66wmWHXI/1Fnazw9NBwV1JgltPurwY58MOsJXYFv19msmSQPiGd+9vzGk1
oxbYDELhe/u1XnQTEbTG7i7VGT2wqQpsb0wxO9rMIgUk7bLkEAvqeFoRalSlMSFj
N8HevIJt0+sD0XC7ccfm3NAgOUfAPRYM4vd4rmrTZwWDrQtlQGlME92lvGrxnRRg
0hWIb0XtilXSEnZngbs/yJQi32IHjFqa8iJxyUTJ92cE12bDxkFjegP0DhpPbSBw
oJeNnwn2NVoXsCP1Q6imhYfMTDnE+QXdvks7L0NUzKmeIjKqE8t92rdS3O1h+M86
hDwaGFZnQAT7PtR9tXNcMbf2thOPTHow4SjBzAjq10yfuQ7Q1M6t6qe/VOV1jaxL
FnTy6KXlkp59DxcdlL5OZpTpm3t7bXdONFejwb66kUVGzfKkQYv67CJy56lGMoJw
qPFV+rj2zs5n5T+Cjq2Ak1cpbzZazA56B98X8UAS4ptpBtaoP/9EbSfIfnn17r3+
8bd+eLrsRvHwep1lZNG1
=cPHX
-----END PGP SIGNATURE-----


From nobody Mon Dec 29 05:15:22 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 7306C1A1A69 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 05:15:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level: 
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 W2eC5Et_4XFq for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 05:15:17 -0800 (PST)
Received: from prod-mail-xrelay02.akamai.com (prod-mail-xrelay02.akamai.com [72.246.2.14]) by ietfa.amsl.com (Postfix) with ESMTP id 87C8C1A1A68 for <cfrg@irtf.org>; Mon, 29 Dec 2014 05:13:02 -0800 (PST)
Received: from prod-mail-xrelay02.akamai.com (localhost [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 1462C28539; Mon, 29 Dec 2014 13:13:01 +0000 (GMT)
Received: from prod-mail-relay07.akamai.com (prod-mail-relay07.akamai.com [172.17.121.112]) by prod-mail-xrelay02.akamai.com (Postfix) with ESMTP id 014E828537; Mon, 29 Dec 2014 13:13:01 +0000 (GMT)
Received: from email.msg.corp.akamai.com (usma1ex-casadmn.msg.corp.akamai.com [172.27.123.33]) by prod-mail-relay07.akamai.com (Postfix) with ESMTP id DEB398003C; Mon, 29 Dec 2014 13:13:00 +0000 (GMT)
Received: from usma1ex-cashub7.kendall.corp.akamai.com (172.27.105.23) by usma1ex-dag1mb2.msg.corp.akamai.com (172.27.123.102) with Microsoft SMTP Server (TLS) id 15.0.913.22; Mon, 29 Dec 2014 08:13:00 -0500
Received: from USMBX1.msg.corp.akamai.com ([169.254.1.15]) by usma1ex-cashub7.kendall.corp.akamai.com ([172.27.105.23]) with mapi; Mon, 29 Dec 2014 08:13:00 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Benjamin Black <b@b3k.us>, "cfrg@irtf.org" <cfrg@irtf.org>
Date: Mon, 29 Dec 2014 08:12:56 -0500
Thread-Topic: [Cfrg] Curve manipulation, revisited
Thread-Index: AdAjPS7mp4GsgYNvSpugzx5zRKVL6wAK3ufw
Message-ID: <2A0EFB9C05D0164E98F19BB0AF3708C71D55236DA1@USMBX1.msg.corp.akamai.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com>
In-Reply-To: <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@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
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/V57J-uAVTubVaqdZJvKBMdao6fk
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 13:15:19 -0000

PiAgU2ltaWxhcmx5LCBzdWdnZXN0aW5nIHRoYXQgVExTLVdHIGNvdWxkIGJlIGdpdmVuIG9ubHkg
WDI1NTE5IHdpdGhvdXQgRWQyNTUxOSBiZWluZyBwdWxsZWQgaW4gaXMgZWl0aGVyIG5haXZlIG9y
IGFuIGF0dGVtcHQgdG8gc25lYWsgdGhlbSBib3RoIGluIHRoZSBiYWNrIGRvb3IuDQoNCldpdGhv
dXQgY29tbWVudGluZyBvbiB0aGUgcmVzdCBvZiB5b3VyIHBvaW50cyAod2hpY2ggSSBkb24ndCBm
ZWVsIHF1YWxpZmllZCksIEkgc3Ryb25nbHkgZGlzYWdyZWUgd2l0aCB0aGlzLiAgQnV0IG1heWJl
IG15IG5haXZldGUgaXMgc2hvd2luZy4NCg0KQXMgYSBtZW1iZXIgb2YgdGhlIFRMUyBXRywgdGhl
IE9wZW5TU0wgZGV2ZWxvcG1lbnQgdGVhbSwgYW5kIHNlY3VyaXR5LWZvY3VzZWQgZW1wbG95ZWUg
b2YgQWthbWFpLCBJIGp1c3Qgd2FudCBYMjU1MTkuICAoSSdtIGFsc28gYSBjby1hdXRob3Igb2Yg
dGhlIFR1cm5lciBJLUQgYW5kIGhhdmUgcmVzaXN0ZWQgbXVsdGlwbGUgcmVxdWVzdHMgdG8gbWVy
Z2UgRWQyNTUxOSBpbnRvIGl0LikNCg0KCS9yJA0KDQo=


From nobody Mon Dec 29 05:31:18 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 8301B1A1AA0 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 05:31:17 -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 5tXRqWGCoyR0 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 05:31:16 -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 A19041A1AA2 for <cfrg@irtf.org>; Mon, 29 Dec 2014 05:31:15 -0800 (PST)
Received: by mail-lb0-f180.google.com with SMTP id l4so10764403lbv.25 for <cfrg@irtf.org>; Mon, 29 Dec 2014 05:31:14 -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=u+Bd4bDEujggBfspOEUCc/HsnbbbwK5Y7BW76Ftn5a0=; b=s1Ech3A6l5JF3qwaYmQMFQxXTHWMDLughBkOnvu/iRQzbJTnmwe9CcLJ0QpG2YYbv9 hfFP+oozXdh1tVQnaR0gMUmvgjBjcfjv3wzT7LTyjGYnxBbFWsaQxWEpYJOBb/+JuQJ/ sRAcFwkRiXWoSA6uOWZ87PIpNtfGsAqFBxPAetL0aiTlYrgV5SGxtW8Ye7YS0/J/DaXj aW7FSDiAhk66Uu6bfYcv3g5dOtjU5hkbyMI7wCiA9uVjv6+rdrcGXCkcQUNWGCrEfJLX 9fdj0Qv+gTRLecm1mmksahj3w9vNjQ5T3QixXSYQ+CY3/pnljsM2glhDrwcMIAEZuXxS +JQA==
MIME-Version: 1.0
X-Received: by 10.153.5.1 with SMTP id ci1mr50449304lad.67.1419859873990; Mon, 29 Dec 2014 05:31:13 -0800 (PST)
Sender: alangley@gmail.com
Received: by 10.112.114.225 with HTTP; Mon, 29 Dec 2014 05:31:13 -0800 (PST)
In-Reply-To: <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com>
Date: Mon, 29 Dec 2014 13:31:13 +0000
X-Google-Sender-Auth: KpVj4JUFQJKadvD77mpn8-W5Ha0
Message-ID: <CAMfhd9XEqMwFzJ4sK4aHGbke6REZb26uaEEv9gbM5v_goDzwUA@mail.gmail.com>
From: Adam Langley <agl@imperialviolet.org>
To: Benjamin Black <b@b3k.us>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/9kJIhPl0R00X808pnfe8Ydkk3y8
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 13:31:17 -0000

On Mon, Dec 29, 2014 at 7:57 AM, Benjamin Black <b@b3k.us> wrote:
> It seems performance is the real priority here and you will happily discard
> things you insist are necessary for security when they conflict with
> performance. At the 128-bit security level the ladder can be faster. At the
> 200-bit+ security levels the ladder is slower. Should we blame the
> implementor who elects not to use a single-coordinate ladder? Should we
> wonder why you would choose not to eliminate these security failures?

Montgomery ladders allow for very simple, robust implementations of
scalar-mult. Sometimes an implementation might want to trade off cache
pressure for speed, but certainly not all will. If we accept that
supporting Montgomery ladders is a requirement, then we can easily
meet that by sending the Montgomery-x value in ECDH protocols because
windowed methods can easily output this. Thus these are not in
conflict.

(An implementation that wants to use a windowed method with a
Montgomery-X *input* will need to perform a square-root first, but
that's the same cost as a design where compressed Edwards points are
sent. Note: smarter people than I might be able to eliminate the
square-root but I don't see it)

> This section of your paper raises another interesting point. It seems a
> slight performance drop in exchange for consuming less SRAM can be a
> desirable property to you. In Adam's Faster Curve25519 post
> (https://www.imperialviolet.org/2013/05/10/fastercurve25519.html), he
> achieves significant performance improvements at a cost of 24KB of cache for
> tables.

Keep in mind that this was mostly the result of me needing to explain
windowed methods to someone. The practical benefit to ECDH systems is
minimal since the base-point multiplication can be amortised. (Fast
signatures, however, obviously can benefit, but there's no danger of
an invalid-curve attack when multiplying by the base point.)

> I'm not sure what point you are trying to make here. The people who haven't
> submitted curves should remain silent? That is antithetical to the IETF
> process.

I think Tanja is commenting on the fact that the IETF process is alien
to most cryptographers. Cryptographers often run competitions (e.g.
the AES and SHA-3 competitions) where teams submit candidates and a
winner is decided. That's very different to the more "collaborative"
method common at the IETF.


Cheers

AGL


From nobody Mon Dec 29 05:36: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 0E7621A1AEC for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 05:36:32 -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 gJMk8I7fhsCy for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 05:36:28 -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 4A6DE1A1AE8 for <cfrg@irtf.org>; Mon, 29 Dec 2014 05:36:28 -0800 (PST)
Received: by mail-yh0-f47.google.com with SMTP id f73so6543904yha.6 for <cfrg@irtf.org>; Mon, 29 Dec 2014 05:36:27 -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=3Qlptq642qwbmwg2OTXT4XireXkH1jyCVamnAttGaPM=; b=B0hJxiC5sLWhzU7PrX90VYS2IBtmwWZVuAz2h3k28gavLsoo82n9sEsq8QqMbPQ8bf kw+Loq9fQcGgTw3i7C8WW0oeeT5GO7nbOhR78sQGRrdyIH7/11BUtQlXRS4F4sB1YHOK 6B7gujFNGYVJxu0rUI8z8o4AXrrsOMSxXtsUALoTQCVHSpPITJoxSYVD3G3+Myq62MK1 fvSl9lH3GYrmq/tG3JragQdzfCgMdT8ymsq2RW+Pq7e5xKPSmGIHcMlaRazCUQ/a+4J4 LPrTr4d0HCRprI256QyO0oHeKbTSel5X1gzKTkQOb8io+8LRjVxNqgoz5NYKXYkOjDW/ z9/w==
MIME-Version: 1.0
X-Received: by 10.170.89.130 with SMTP id g124mr43001562yka.24.1419860187447;  Mon, 29 Dec 2014 05:36:27 -0800 (PST)
Received: by 10.170.207.6 with HTTP; Mon, 29 Dec 2014 05:36:27 -0800 (PST)
In-Reply-To: <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com>
Date: Mon, 29 Dec 2014 08:36:27 -0500
Message-ID: <CACsn0ck1tJ5USLza_kFwBr94RqS6KfczHA2yR-v4opFC3o4dDQ@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/zNpvLDh87fjLoJiX9G23mqFgppI
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 13:36:32 -0000

On Mon, Dec 29, 2014 at 2:57 AM, Benjamin Black <b@b3k.us> wrote:
> Adam has accurately described our position, and thanks to him for taking up
> the slack while many of us were on holiday.
>
> The request might've come from the TLS-WG, but it is almost inconceivable
> that something CFRG recommended to TLS-WG would not be quickly adopted by
> many other WGs. It is disingenuous to argue that since the request came from
> TLS-WG nothing outside TLS-WG should be a consideration while also arguing
> that things like cofactors for 1 (mod 4)  curves must be exactly (8,4)
> without giving an example of how it matters to TLS-WG. The latter is an
> implicit acknowledgement that the scope extends beyond TLS-WG. Similarly,
> suggesting that TLS-WG could be given only X25519 without Ed25519 being
> pulled in is either naive or an attempt to sneak them both in the back door.

What do you think we should do about signatures? The Microsoft
proposal of ECDSA with Edwards points has all the disadvantages of
ECDSA and none of the "advantages" of being already standardized. It's
remarkable that when presenting a draft after the deadline, you
haven't discussed fundamental details of what you want the result to
look like. What goes on the wire?

>
> My use of the term "compromise" when presenting the current draft seems to
> have opened the door to some misunderstanding. I used the term in the sense
> of finding common ground rather than in the sense of introducing flaws. I
> would not expect anyone in this process to find it acceptable to introduce
> what they believe to be a security flaw, conspiracy theorists aside. As Adam
> said, it would be a failure if the consensus that emerged from CFRG did not
> include Microsoft, as it would be if it didn't include Google or Akamai or
> anyone else with direct responsibility for protecting a billion people
> online. We have chosen to move some on what is acceptable to us because it
> is more important that there is a result that includes enough of the things
> we believe are essential for delivering that protection than that we get to
> be "right".

You've said repeatedly you're committed to supporting the result:
seems to me that we can pick whatever we like. Horse trading and
logrolling is not the way to do things.

>
> I've included more specific responses below.
>
>
> Thanks,
> b
>
> --
>
> The view voiced by several people that the 128-bit security level curve in
> the draft is Curve25519 is a bit off base. First, the draft describes
> generation of (twisted) Edwards curves and the 128-bit curve has minimal d
> (given the addition of the newly manufactured cofactor constraint), while
> Ed25519 does not. This is an advantage for both performance and rigidity
> with a tiny reduction in simplicity of implementation, achieving a better
> balance between security, performance, and simplicity. Second, the specified
> base point is not the same and can't be the same without forcing the
> (arbitrary) choice. The result is that it is straightforward to modify
> existing Curve25519 implementations to use the new curve, but modification
> is likely required.

I don't think this is right: I seem to remember the difference being
explained by isogeny vs. isomorphism.

Base points do not affect ECDH security. Why wouldn't you change it
for backwards compatibility?

You've changed the 128 bit prime to increase performance. Why not
apply the same logic to the choice of 384 bit prime?

The question is not about changing the logic of the proposals: rather
it's about applying that logic inconsistently, and gratuitously
breaking deployed implementations.

>
> On Wed, Dec 24, 2014 at 2:47 PM, D. J. Bernstein <djb@cr.yp.to> wrote:
>>
>> Once upon a time, Microsoft said that it was a "requirement" to have
>> "rigid parameter generation for primes and curve constants" given the
>> "security level".
>
>
> Once upon a time, Dan said that is was a "requirement" to use single
> coordinate ladders to eliminate invalid curve attacks against DH
> implementations:
>
> On Tue, Dec 2, 2014 at 1:28 AM, D. J. Bernstein <djb@cr.yp.to> wrote:
>>
>> Invalid-curve attacks completely break the simplest DH implementations
>> in Montgomery coordinates _and_ in Edwards coordinates. Rather than
>> blaming the implementor, we eliminate these security failures by
>>
>>    * adding twist security, for both Montgomery and Edwards, and
>>    * switching to single-coordinate ladders.
>
>
> Yet for Curve41417, ladders suddenly become optional, just as we've said all
> along they should be:
>
> "We use a windowing method with fixed window width for constant-time
> single-scalar multiplication on Curve41417 in Edwards form. Our analysis
> also
> allows good estimates of, e.g., the cost of signature verification using
> Curve41417.
> Another option for single-scalar multiplication is the Montgomery ladder for
> the
> Montgomery form of Curve41417; this is not quite as fast as the Edwards form
> but has the advantage of fitting the computation into less SRAM."
>
> It seems performance is the real priority here and you will happily discard
> things you insist are necessary for security when they conflict with
> performance. At the 128-bit security level the ladder can be faster. At the
> 200-bit+ security levels the ladder is slower. Should we blame the
> implementor who elects not to use a single-coordinate ladder? Should we
> wonder why you would choose not to eliminate these security failures?

DJB sent a lengthy email to the list titled "Curves, Coordinates, and
Computations". In this email he explained that what an implementation
written by highly skilled and careful implementors for the ultimate in
performance does is not the same as one written for a maximum of
simplicity. The sentence you quoted had the word simple in it: that
word has a meaning you happily ignored.

Tweetnacl.c is probably the most widely used Curve25519
implementation. It's been translated into just about every language I
can think of. It can be very simple because it uses the Montgomery
ladder.

Should I take this email as saying you won't make the changes needed
to get Curve25519?

>
> This section of your paper raises another interesting point. It seems a
> slight performance drop in exchange for consuming less SRAM can be a
> desirable property to you. In Adam's Faster Curve25519 post
> (https://www.imperialviolet.org/2013/05/10/fastercurve25519.html), he
> achieves significant performance improvements at a cost of 24KB of cache for
> tables. Our NUMS 256 curve performs slightly slower than this, but only
> requires 9KB for tables. The 15KB difference represents almost 25% of the
> 64KB L1 cache in a typical Xeon and almost 50% of the 32KB L1 data cache in
> a typical ARM. It's not quite as fast but has the advantage of fitting the
> computation into less SRAM.

This is not a property of the curves, but of your implementation: the
same comb table optimization could be used by a Curve25519 optimized
implementation. That is, if it wasn't patented by Microsoft.

AGL's described implementation uses a table with 512 entries,
representing x^{16^(2*i+1)j} for i zero, j potentially zero. But one
can also use 512 entries to store a comb of 8 bits: the LSB of each
exponent byte, the 2nd to LSB of each exponent byte, etc, as the
Microsoft implementation of NUMS whatever does, and use 8 additions
and 8 doublings to compute the result. This has nothing to do with the
choice of curve or prime.

(There is a cost to what I outlined: the table has to be read in its
entirety each time through. There are several better choices here

>
> On Mon, Dec 22, 2014 at 5:54 PM, Tanja Lange <tanja@hyperelliptic.org>
> wrote:
>>
>> I think a competition has more to offer than a 'collaboration' where
>> parties get more influence by having more people send emails to the list.
>
>
> I'm not sure what point you are trying to make here. The people who haven't
> submitted curves should remain silent? That is antithetical to the IETF
> process. If you are suggesting it shouldn't be a process whereby a minority
> attempts to "stuff the ballot box" by getting a few people to yell loud and
> often to drown out differing opinions, then I agree. However, I don't think
> we would agree on who might be doing that.
>
>>
>> What should count are the merits of papers, implementations, and internet
>> drafts so that proposals get more influence by being objectively better.
>
>
> "Objectively better" is unrealistic as it depends on which implementation,
> which architectures, which benchmarks and which priorities people have for
> various properties of the curves. The example above for different L1 cache
> footprint shows how slippery "objectively better" can be. Another example
> would be the large d in Ed25519 compared to the minimal d in the rpgecc
> draft. The smaller d is "objectively better" both in terms of performance
> and rigidity, but isn't quite as simple to move between twisted Edwards and
> Montgomery.
>
> On Thu, Dec 25, 2014 at 12:55 PM, Salz, Rich <rsalz@akamai.com> wrote:
>>> desirable. But, to make progress, people need to try and understand
>>> Microsoft's position.)
>>
>>Then perhaps, as you stated earlier in the note, it would be good if we
>> didn't have to guess.
>>
>>It's kinda funny that NUMS curve has us now wanting a NUMS rationale.  But
>> perhaps funny isn't the right word, maybe sad or >pathetic is.
>
> You've been in this from the start, so I find it odd you don't recall any of
> the numerous times this has been covered, Rich. We don't see the small
> potential performance gains as worth the additional flexibility introduced
> by manipulating prime selection like this. You are of course free to
> disagree, but there is no "objectively better" answer as it is a trade-off.
> You might also consider not calling things you don't understand or with
> which you disagree "sad" or "pathetic".

What about the additional flexibility introduced by your new draft? A
user who listened to your old draft's claims of rigidity, shouldn't
accept the new drafts. Or is it that the "rigidity" claims have far
more to do with marketing than reality?

>
> On Mon, Nov 3, 2014 at 8:37 AM, 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.
>
>
> There are at least two, possibly three, fallacies present in this challenge.
> The first is that the enormous flexibility required to insert such a string
> in the coefficients is at all a relevant metric. The second is that the
> BADA55 work used what anyone who wasn't pushing a very particular agenda
> would call "reasonable constraints". The third is that the "performance
> approach" represents much additional performance, that the performance gains
> are certain regardless of architecture or protocol, or that any additional
> performance is free.

I think the entire idea that one can backdoor curves involves "alien
technology". But even granting that, if 1/2 of all curves are weak,
even a completely rigid process (assuming one exists) isn't much
better. It's only interesting when rare properties are being targeted.

If you actually read the BADA55 paper you would see they targeted
Brainpool, which had used the hash of a fundamental constant to
generate parameters.

By contrast there are only 100 primes or so meeting the kinds of
performance constraints we have. Shake up the requirements, maybe we
get 4 curves on each prime, so about 400 curves. This is a wild
overestimate.

With the NUMS approach, despite rhetoric of "a single curve for each
security level", users will actually accept a great deal more curves.

The additional performance of 2^255-19 vs 2^256-big costs nothing. It
exists on hardware ranging from 64 bit desktop machines to 32 bit
embedded processors and 18 bit FPGA and GPU multipliers. (GPUs got
better recently). In exchange for this hit you give us exactly
nothing.

>
> It's worth noting that we have at least two rather different interpretations
> of BADA55 present in these discussions. Your interpretation seems to be that
> if you can't insert BADA55 in the coefficients then the process is rigid.
> Adam's interpretation (which might match Dan's) is that any claim of
> rigidity in generation is necessarily limited.
>
>
> _______________________________________________
> 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 Dec 29 05:36: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 EF2621A1AF9 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 05:36:34 -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 GD7lEyEFIVu2 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 05:36:33 -0800 (PST)
Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 866941A1AE8 for <cfrg@irtf.org>; Mon, 29 Dec 2014 05:36:33 -0800 (PST)
Received: by mail-wi0-f169.google.com with SMTP id r20so23716644wiv.2 for <cfrg@irtf.org>; Mon, 29 Dec 2014 05:36:32 -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=bqLXTJuno8i72iWIoFYfdhO4VSDD4KPaMp58vRsqkes=; b=TDendZA4ByIo4wThzzXB7+dhUf0ImBIU3lJ9jk7ujX74erzIT2DbY0Cm0uelvAYR5v NFseFtHKbnKc+rXmP+/HUwlS8FqasQglidn/ti2nRSVI/KA0gRVKLuO8ym3c8Q/rFo6d GGAEI7h+2OcDuI5k8LhsUT6cWKQyZHi4D+QFG/VF2Ul9Xx15oy8cG6hJPSjd2jQREuHo BlfD1rQsEkDJlgDRVGT2OWDQ30rXix+lD9jS8zBG7Uhbs42trSor67mGov7eG8G0C2kX 8O7Vl/hw9f/Q+512a+sDsGtCYzq8xUVl2NYaT2yEtAHlJsHrbJY52j2S/b9zB8BdiVEz Mnsw==
X-Received: by 10.180.21.133 with SMTP id v5mr89129470wie.44.1419860192289; Mon, 29 Dec 2014 05:36:32 -0800 (PST)
Received: from yoavs-mbp.mshome.net ([176.12.151.121]) by mx.google.com with ESMTPSA id ei5sm39555961wid.2.2014.12.29.05.36.30 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Dec 2014 05:36:31 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <2A0EFB9C05D0164E98F19BB0AF3708C71D55236DA1@USMBX1.msg.corp.akamai.com>
Date: Mon, 29 Dec 2014 15:36:27 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <68DF78C2-9F4D-457C-A32E-88A58E74A371@gmail.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236DA1@USMBX1.msg.corp.akamai.com>
To: Rich Salz <rsalz@akamai.com>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/u3x0AL8j9Pk5qWC0NvJpixAGdss
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 13:36:35 -0000

> On Dec 29, 2014, at 3:12 PM, Salz, Rich <rsalz@akamai.com> wrote:
>=20
>> Similarly, suggesting that TLS-WG could be given only X25519 without =
Ed25519 being pulled in is either naive or an attempt to sneak them both =
in the back door.
>=20
> Without commenting on the rest of your points (which I don't feel =
qualified), I strongly disagree with this.  But maybe my naivete is =
showing.
>=20
> As a member of the TLS WG, the OpenSSL development team, and =
security-focused employee of Akamai, I just want X25519.  (I'm also a =
co-author of the Turner I-D and have resisted multiple requests to merge =
Ed25519 into it.)

Hi, Rich

May I ask why?  If we can make key agreement faster by using X25519 =
instead of P-256, it stands to reason that we can make signatures faster =
by using Ed25519 instead of P-256.

Obviously we can=E2=80=99t abandon P-256 signatures for the same reasons =
it will take a long time to abandon RSA signatures. But what is the =
rationale for not including Ed25519?

Thanks,

Yoav


From nobody Mon Dec 29 09:14:40 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 6AE221A884C for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 09:14:39 -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 a0ZtkSp2aKwt for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 09:14:37 -0800 (PST)
Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D2C7B1A87AD for <cfrg@irtf.org>; Mon, 29 Dec 2014 09:14:36 -0800 (PST)
Received: by mail-wi0-f177.google.com with SMTP id l15so22673583wiw.4 for <cfrg@irtf.org>; Mon, 29 Dec 2014 09:14:35 -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=xe3mTknj01r0u1rF4jwE0keNSfrwxnN3KeFcc3cGZE4=; b=e0oacdjcJKAd6mTRIYFvJAyid2TKRYh6/kKYOfCg2fxQczhTN9bmDU+bM4iSXqLyKp uGq/V9jItrDV0jsSxZcuQ264q0Ew11pNAM34GA14kGOrzCcpVX80+mWjl9cCuhR7onAl l1NrKLrhVoCXmIUNsfI+F1rnBDVNFzxLNov++sinI81fOLlu0oxDMVwaobaEj0g1XfWF Ty0T5RT+WJYKufkfEMfj949Nr79zb4bn1l88QLx5VzfP9B2mVtxGfGbXzO0nV80CmaEx tgkChtNJhG6YnWwGZT2ArE2cUhFdfx1u95vAOAE6LQW680qjZpqZXS5xgd2nmOR8N9Qg LNQw==
X-Gm-Message-State: ALoCoQkBJzo81vMxEMk+Z0o9v12TxGXp4NskyT/xz+K0c4YwqtDRS/BANjN02Mt5zcjkcQz2YIHM
X-Received: by 10.180.75.42 with SMTP id z10mr98234600wiv.70.1419873275531; Mon, 29 Dec 2014 09:14:35 -0800 (PST)
MIME-Version: 1.0
Received: by 10.216.190.139 with HTTP; Mon, 29 Dec 2014 09:14:15 -0800 (PST)
In-Reply-To: <CAMfhd9XEqMwFzJ4sK4aHGbke6REZb26uaEEv9gbM5v_goDzwUA@mail.gmail.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <CAMfhd9XEqMwFzJ4sK4aHGbke6REZb26uaEEv9gbM5v_goDzwUA@mail.gmail.com>
From: Benjamin Black <b@b3k.us>
Date: Mon, 29 Dec 2014 09:14:15 -0800
Message-ID: <CA+Vbu7zO3OatbC+cXiV58hvJCuqiTYvnsSuyopDXum4qBX54fw@mail.gmail.com>
To: Adam Langley <agl@imperialviolet.org>
Content-Type: multipart/alternative; boundary=f46d0438957336e932050b5e02ab
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/y6e34a5XG7vACSU0OTlinEDITKA
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 17:14:39 -0000

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

On Mon, Dec 29, 2014 at 5:31 AM, Adam Langley <agl@imperialviolet.org>
wrote:

> On Mon, Dec 29, 2014 at 7:57 AM, Benjamin Black <b@b3k.us> wrote:
> > It seems performance is the real priority here and you will happily
> discard
> > things you insist are necessary for security when they conflict with
> > performance. At the 128-bit security level the ladder can be faster. At
> the
> > 200-bit+ security levels the ladder is slower. Should we blame the
> > implementor who elects not to use a single-coordinate ladder? Should we
> > wonder why you would choose not to eliminate these security failures?
>
> Montgomery ladders allow for very simple, robust implementations of
> scalar-mult. Sometimes an implementation might want to trade off cache
> pressure for speed, but certainly not all will. If we accept that
> supporting Montgomery ladders is a requirement, then we can easily
> meet that by sending the Montgomery-x value in ECDH protocols because
> windowed methods can easily output this. Thus these are not in
> conflict.
>
>
After Yarov and Benger I don't know how robust anyone should assume ladders
are, though that might be beside the point. Had Dan been insisting that
ladders be _allowed_ then I would agree with you, as I have said the same
(in the line just before the part you quoted, even). What Dan said is that
single-coordinate ladders are _required_. They are not (or, to quote Dan
again, "False."). X-only on the wire has clear advantages and I support
that recommendation, but that does not force use of ladders.


> > This section of your paper raises another interesting point. It seems a
> > slight performance drop in exchange for consuming less SRAM can be a
> > desirable property to you. In Adam's Faster Curve25519 post
> > (https://www.imperialviolet.org/2013/05/10/fastercurve25519.html), he
> > achieves significant performance improvements at a cost of 24KB of cache
> for
> > tables.
>
> Keep in mind that this was mostly the result of me needing to explain
> windowed methods to someone. The practical benefit to ECDH systems is
> minimal since the base-point multiplication can be amortised. (Fast
> signatures, however, obviously can benefit, but there's no danger of
> an invalid-curve attack when multiplying by the base point.)
>
>
My point was that space/time trade-offs like that seem to be acceptable or
unacceptable to Dan depending on what is being argued.


> > I'm not sure what point you are trying to make here. The people who
> haven't
> > submitted curves should remain silent? That is antithetical to the IETF
> > process.
>
> I think Tanja is commenting on the fact that the IETF process is alien
> to most cryptographers. Cryptographers often run competitions (e.g.
> the AES and SHA-3 competitions) where teams submit candidates and a
> winner is decided. That's very different to the more "collaborative"
> method common at the IETF.
>
>
I'm experiencing a similar cultural impedance problem.


b

--f46d0438957336e932050b5e02ab
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 M=
on, Dec 29, 2014 at 5:31 AM, Adam Langley <span dir=3D"ltr">&lt;<a href=3D"=
mailto:agl@imperialviolet.org" target=3D"_blank">agl@imperialviolet.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"">On Mo=
n, Dec 29, 2014 at 7:57 AM, Benjamin Black &lt;<a href=3D"mailto:b@b3k.us">=
b@b3k.us</a>&gt; wrote:<br>
&gt; It seems performance is the real priority here and you will happily di=
scard<br>
&gt; things you insist are necessary for security when they conflict with<b=
r>
&gt; performance. At the 128-bit security level the ladder can be faster. A=
t the<br>
&gt; 200-bit+ security levels the ladder is slower. Should we blame the<br>
&gt; implementor who elects not to use a single-coordinate ladder? Should w=
e<br>
&gt; wonder why you would choose not to eliminate these security failures?<=
br>
<br>
</span>Montgomery ladders allow for very simple, robust implementations of<=
br>
scalar-mult. Sometimes an implementation might want to trade off cache<br>
pressure for speed, but certainly not all will. If we accept that<br>
supporting Montgomery ladders is a requirement, then we can easily<br>
meet that by sending the Montgomery-x value in ECDH protocols because<br>
windowed methods can easily output this. Thus these are not in<br>
conflict.<br>
<br></blockquote><div><br></div><div>After Yarov and Benger I don&#39;t kno=
w how robust anyone should assume ladders are, though that might be beside =
the point. Had Dan been insisting that ladders be _allowed_ then I would ag=
ree with you, as I have said the same (in the line just before the part you=
 quoted, even). What Dan said is that single-coordinate ladders are _requir=
ed_. They are not (or, to quote Dan again, &quot;False.&quot;). X-only on t=
he wire has clear advantages and I support that recommendation, but that do=
es not force use of ladders.=C2=A0</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"><span class=3D"">
&gt; This section of your paper raises another interesting point. It seems =
a<br>
&gt; slight performance drop in exchange for consuming less SRAM can be a<b=
r>
&gt; desirable property to you. In Adam&#39;s Faster Curve25519 post<br>
&gt; (<a href=3D"https://www.imperialviolet.org/2013/05/10/fastercurve25519=
.html" target=3D"_blank">https://www.imperialviolet.org/2013/05/10/fastercu=
rve25519.html</a>), he<br>
&gt; achieves significant performance improvements at a cost of 24KB of cac=
he for<br>
&gt; tables.<br>
<br>
</span>Keep in mind that this was mostly the result of me needing to explai=
n<br>
windowed methods to someone. The practical benefit to ECDH systems is<br>
minimal since the base-point multiplication can be amortised. (Fast<br>
signatures, however, obviously can benefit, but there&#39;s no danger of<br=
>
an invalid-curve attack when multiplying by the base point.)<br>
<span class=3D""><br></span></blockquote><div><br></div><div>My point was t=
hat space/time trade-offs like that seem to be acceptable or unacceptable t=
o Dan depending on what is being argued.</div><div>=C2=A0</div><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex"><span class=3D"">
&gt; I&#39;m not sure what point you are trying to make here. The people wh=
o haven&#39;t<br>
&gt; submitted curves should remain silent? That is antithetical to the IET=
F<br>
&gt; process.<br>
<br>
</span>I think Tanja is commenting on the fact that the IETF process is ali=
en<br>
to most cryptographers. Cryptographers often run competitions (e.g.<br>
the AES and SHA-3 competitions) where teams submit candidates and a<br>
winner is decided. That&#39;s very different to the more &quot;collaborativ=
e&quot;<br>
method common at the IETF.<br>
<br></blockquote><div><br></div><div>I&#39;m experiencing a similar cultura=
l impedance problem.</div><div><br></div><div><br></div><div>b</div><div><b=
r></div></div></div></div>

--f46d0438957336e932050b5e02ab--


From nobody Mon Dec 29 10:25:31 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 C5CB91A8ABF for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 10:25:28 -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 HRcsYMJSttlt for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 10:25:23 -0800 (PST)
Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 09BD71A8ABD for <cfrg@irtf.org>; Mon, 29 Dec 2014 10:25:23 -0800 (PST)
Received: by mail-wg0-f49.google.com with SMTP id n12so19395987wgh.8 for <cfrg@irtf.org>; Mon, 29 Dec 2014 10:25:21 -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=UEEpqLberhArDnQdPSWxEI7ruFTFrVEZiDLTXyLNkxI=; b=TWZyoLTqTf8qu3Sl6Eq0wLPvHNQODLWzocznPBFk36gXSGbFUavn6KUA9AVLyup0Dy 6Y3+pBT5RgjheGsSx4RPhcgK1tf98p0dEvsZkTHgKG46fLxEJKwGXsla94fuM4C57Rid 7dbYsypJ47uEu6jTLtBGt8m+03AsnM6ezuLyPswGMXJonzPVi51zOWoAtmpGJhAQYwgt FUupsm6hPuX+cpJPwGXhKn/MQYfdDEpN00iu2G7vn24r1RqExl41M5w6yMEBU8ocLoEe aa3DrXgxlYtEZb+zApaOO5RiFzS+dT4dJ9Ses/RSiQ71W7AS0axlU1Sn+Ckv+KMlU9JM 9wJA==
X-Gm-Message-State: ALoCoQlYE4qEcUgXgpd24cGiBFzSJ9H0QmHYCAgLjkpqDyC452V8EkXVB3HOgqH1K5Xshf/QZALm
X-Received: by 10.180.96.97 with SMTP id dr1mr96658217wib.49.1419877521629; Mon, 29 Dec 2014 10:25:21 -0800 (PST)
MIME-Version: 1.0
Received: by 10.216.190.139 with HTTP; Mon, 29 Dec 2014 10:25:01 -0800 (PST)
In-Reply-To: <CACsn0ck1tJ5USLza_kFwBr94RqS6KfczHA2yR-v4opFC3o4dDQ@mail.gmail.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <CACsn0ck1tJ5USLza_kFwBr94RqS6KfczHA2yR-v4opFC3o4dDQ@mail.gmail.com>
From: Benjamin Black <b@b3k.us>
Date: Mon, 29 Dec 2014 10:25:01 -0800
Message-ID: <CA+Vbu7wDMR9RdFAouxpVfrSwU0xV2s0N=DHZ+xO9afcNQpH9ZQ@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: multipart/alternative; boundary=f46d041825944d3c00050b5efff6
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/mZeK7f8ckYio5U9DR67LJEeIuCA
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 18:25:29 -0000

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

On Mon, Dec 29, 2014 at 5:36 AM, Watson Ladd <watsonbladd@gmail.com> wrote:

>
> What do you think we should do about signatures? The Microsoft
> proposal of ECDSA with Edwards points has all the disadvantages of
> ECDSA and none of the "advantages" of being already standardized. It's
> remarkable that when presenting a draft after the deadline, you
> haven't discussed fundamental details of what you want the result to
> look like. What goes on the wire?
>
>
The proposal to use ECDSA with Edwards points allows use of the new curves
with the only EC-based signature scheme currently supported by TLS.
Proposing that does not preclude a new signature scheme and I expect such a
scheme would be welcome. I don't see that there needs to be one draft with
the kitchen sink.


> >
> > My use of the term "compromise" when presenting the current draft seems
> to
> > have opened the door to some misunderstanding. I used the term in the
> sense
> > of finding common ground rather than in the sense of introducing flaws. I
> > would not expect anyone in this process to find it acceptable to
> introduce
> > what they believe to be a security flaw, conspiracy theorists aside. As
> Adam
> > said, it would be a failure if the consensus that emerged from CFRG did
> not
> > include Microsoft, as it would be if it didn't include Google or Akamai
> or
> > anyone else with direct responsibility for protecting a billion people
> > online. We have chosen to move some on what is acceptable to us because
> it
> > is more important that there is a result that includes enough of the
> things
> > we believe are essential for delivering that protection than that we get
> to
> > be "right".
>
> You've said repeatedly you're committed to supporting the result:
> seems to me that we can pick whatever we like. Horse trading and
> logrolling is not the way to do things.
>
>
We will continue to implement things as appropriate for our customers and
our business, neither of which are problems you have. We would prefer those
things be what we believe are best. I don't see horse trading here, I see
debate and collaboration. I understand in academia things are usually more
adversarial.


> >
> > The view voiced by several people that the 128-bit security level curve
> in
> > the draft is Curve25519 is a bit off base. First, the draft describes
> > generation of (twisted) Edwards curves and the 128-bit curve has minimal
> d
> > (given the addition of the newly manufactured cofactor constraint), while
> > Ed25519 does not. This is an advantage for both performance and rigidity
> > with a tiny reduction in simplicity of implementation, achieving a better
> > balance between security, performance, and simplicity. Second, the
> specified
> > base point is not the same and can't be the same without forcing the
> > (arbitrary) choice. The result is that it is straightforward to modify
> > existing Curve25519 implementations to use the new curve, but
> modification
> > is likely required.
>
> I don't think this is right: I seem to remember the difference being
> explained by isogeny vs. isomorphism.
>
>
Curve25519 is the isogenous Montgomery curve to the generated twisted
Edwards curve. Perhaps we are getting crossed by the confused and confusing
naming and renaming of the various parts of Curve25519?


> Base points do not affect ECDH security. Why wouldn't you change it
> for backwards compatibility?
>
>
I said it is an issue, as did Adam. I didn't say anything beyond that.


> You've changed the 128 bit prime to increase performance. Why not
> apply the same logic to the choice of 384 bit prime?
>
>
We did not change the prime to increase performance.


> The question is not about changing the logic of the proposals: rather
> it's about applying that logic inconsistently, and gratuitously
> breaking deployed implementations.
>
>
You side-stepped every fact in my earlier email enumerating many
inconsistencies in Dan's choices and continue to do so. The differences
between the draft and twisted Edwards Curve25519 are because the draft is
consistent. You are demanding consistency and then complaining when it
doesn't produce the result you wanted. If Curve25519 were being designed
today, based on the last 7 years of advancement, it would look like what is
in the draft.


> >
> > On Wed, Dec 24, 2014 at 2:47 PM, D. J. Bernstein <djb@cr.yp.to> wrote:
> >>
> >> Once upon a time, Microsoft said that it was a "requirement" to have
> >> "rigid parameter generation for primes and curve constants" given the
> >> "security level".
> >
> >
> > Once upon a time, Dan said that is was a "requirement" to use single
> > coordinate ladders to eliminate invalid curve attacks against DH
> > implementations:
> >
> > On Tue, Dec 2, 2014 at 1:28 AM, D. J. Bernstein <djb@cr.yp.to> wrote:
> >>
> >> Invalid-curve attacks completely break the simplest DH implementations
> >> in Montgomery coordinates _and_ in Edwards coordinates. Rather than
> >> blaming the implementor, we eliminate these security failures by
> >>
> >>    * adding twist security, for both Montgomery and Edwards, and
> >>    * switching to single-coordinate ladders.
> >
> >
> > Yet for Curve41417, ladders suddenly become optional, just as we've said
> all
> > along they should be:
> >
> > "We use a windowing method with fixed window width for constant-time
> > single-scalar multiplication on Curve41417 in Edwards form. Our analysis
> > also
> > allows good estimates of, e.g., the cost of signature verification using
> > Curve41417.
> > Another option for single-scalar multiplication is the Montgomery ladder
> for
> > the
> > Montgomery form of Curve41417; this is not quite as fast as the Edwards
> form
> > but has the advantage of fitting the computation into less SRAM."
> >
> > It seems performance is the real priority here and you will happily
> discard
> > things you insist are necessary for security when they conflict with
> > performance. At the 128-bit security level the ladder can be faster. At
> the
> > 200-bit+ security levels the ladder is slower. Should we blame the
> > implementor who elects not to use a single-coordinate ladder? Should we
> > wonder why you would choose not to eliminate these security failures?
>
> DJB sent a lengthy email to the list titled "Curves, Coordinates, and
> Computations". In this email he explained that what an implementation
> written by highly skilled and careful implementors for the ultimate in
> performance does is not the same as one written for a maximum of
> simplicity. The sentence you quoted had the word simple in it: that
> word has a meaning you happily ignored.
>
>
Dan said single-coordinate ladders are required, full stop: "Rather
than blaming
the implementor, we eliminate these security failures by...switching to
single-coordinate ladders." I'm not ignoring any part of the quoted text.
Whether the the ladder is simpler has no bearing.


> Tweetnacl.c is probably the most widely used Curve25519
> implementation. It's been translated into just about every language I
> can think of. It can be very simple because it uses the Montgomery
> ladder.
>
>
donna is the most widely used implementation.


> Should I take this email as saying you won't make the changes needed
> to get Curve25519?
>
>
What changes do you mean?


> >
> > This section of your paper raises another interesting point. It seems a
> > slight performance drop in exchange for consuming less SRAM can be a
> > desirable property to you. In Adam's Faster Curve25519 post
> > (https://www.imperialviolet.org/2013/05/10/fastercurve25519.html), he
> > achieves significant performance improvements at a cost of 24KB of cache
> for
> > tables. Our NUMS 256 curve performs slightly slower than this, but only
> > requires 9KB for tables. The 15KB difference represents almost 25% of the
> > 64KB L1 cache in a typical Xeon and almost 50% of the 32KB L1 data cache
> in
> > a typical ARM. It's not quite as fast but has the advantage of fitting
> the
> > computation into less SRAM.
>
> This is not a property of the curves, but of your implementation: the
> same comb table optimization could be used by a Curve25519 optimized
> implementation. That is, if it wasn't patented by Microsoft.
>
>
You aren't a lawyer and you, and everyone else on this list, needs to stop
speculating in public about patents and how a given implementation might
infringe them.


> AGL's described implementation uses a table with 512 entries,
> representing x^{16^(2*i+1)j} for i zero, j potentially zero. But one
> can also use 512 entries to store a comb of 8 bits: the LSB of each
> exponent byte, the 2nd to LSB of each exponent byte, etc, as the
> Microsoft implementation of NUMS whatever does, and use 8 additions
> and 8 doublings to compute the result. This has nothing to do with the
> choice of curve or prime.
>
>
Yes, a given curve performs differently depending on the exact
implementation techniques used. Different techniques deliver different
space/time trade-offs. That makes statements like "objectively better"
dependent on the specifics of a given scenario, not some abstract Platonic
ideal.


> >
> > On Mon, Dec 22, 2014 at 5:54 PM, Tanja Lange <tanja@hyperelliptic.org>
> > wrote:
> >>
> >> I think a competition has more to offer than a 'collaboration' where
> >> parties get more influence by having more people send emails to the
> list.
> >
> >
> > I'm not sure what point you are trying to make here. The people who
> haven't
> > submitted curves should remain silent? That is antithetical to the IETF
> > process. If you are suggesting it shouldn't be a process whereby a
> minority
> > attempts to "stuff the ballot box" by getting a few people to yell loud
> and
> > often to drown out differing opinions, then I agree. However, I don't
> think
> > we would agree on who might be doing that.
> >
> >>
> >> What should count are the merits of papers, implementations, and
> internet
> >> drafts so that proposals get more influence by being objectively better.
> >
> >
> > "Objectively better" is unrealistic as it depends on which
> implementation,
> > which architectures, which benchmarks and which priorities people have
> for
> > various properties of the curves. The example above for different L1
> cache
> > footprint shows how slippery "objectively better" can be. Another example
> > would be the large d in Ed25519 compared to the minimal d in the rpgecc
> > draft. The smaller d is "objectively better" both in terms of performance
> > and rigidity, but isn't quite as simple to move between twisted Edwards
> and
> > Montgomery.
> >
> > On Thu, Dec 25, 2014 at 12:55 PM, Salz, Rich <rsalz@akamai.com> wrote:
> >>> desirable. But, to make progress, people need to try and understand
> >>> Microsoft's position.)
> >>
> >>Then perhaps, as you stated earlier in the note, it would be good if we
> >> didn't have to guess.
> >>
> >>It's kinda funny that NUMS curve has us now wanting a NUMS rationale.
> But
> >> perhaps funny isn't the right word, maybe sad or >pathetic is.
> >
> > You've been in this from the start, so I find it odd you don't recall
> any of
> > the numerous times this has been covered, Rich. We don't see the small
> > potential performance gains as worth the additional flexibility
> introduced
> > by manipulating prime selection like this. You are of course free to
> > disagree, but there is no "objectively better" answer as it is a
> trade-off.
> > You might also consider not calling things you don't understand or with
> > which you disagree "sad" or "pathetic".
>
> What about the additional flexibility introduced by your new draft? A
> user who listened to your old draft's claims of rigidity, shouldn't
> accept the new drafts. Or is it that the "rigidity" claims have far
> more to do with marketing than reality?
>
>
What flexibility exactly?


> >
> > On Mon, Nov 3, 2014 at 8:37 AM, Watson Ladd <watsonbladd@gmail.com>
> wrote:
> >
> > There are at least two, possibly three, fallacies present in this
> challenge.
> > The first is that the enormous flexibility required to insert such a
> string
> > in the coefficients is at all a relevant metric. The second is that the
> > BADA55 work used what anyone who wasn't pushing a very particular agenda
> > would call "reasonable constraints". The third is that the "performance
> > approach" represents much additional performance, that the performance
> gains
> > are certain regardless of architecture or protocol, or that any
> additional
> > performance is free.
>
> I think the entire idea that one can backdoor curves involves "alien
> technology". But even granting that, if 1/2 of all curves are weak,
> even a completely rigid process (assuming one exists) isn't much
> better. It's only interesting when rare properties are being targeted.



>
>
If you actually read the BADA55 paper you would see they targeted
> Brainpool, which had used the hash of a fundamental constant to
> generate parameters.
>
>
Brainpool uses the two most common constants. BADA55 relies on carefully
picking far less common constants. It's great marketing if your goal is to
discredit work you think competes with your own. But if Brainpool is
compromised, why would I trust anything from anyone responsible for
producing it?


> By contrast there are only 100 primes or so meeting the kinds of
> performance constraints we have. Shake up the requirements, maybe we
> get 4 curves on each prime, so about 400 curves. This is a wild
> overestimate.



>
>
With the NUMS approach, despite rhetoric of "a single curve for each
> security level", users will actually accept a great deal more curves.
>
>
The draft is not NUMS.


> The additional performance of 2^255-19 vs 2^256-big costs nothing. It
> exists on hardware ranging from 64 bit desktop machines to 32 bit
> embedded processors and 18 bit FPGA and GPU multipliers. (GPUs got
> better recently). In exchange for this hit you give us exactly
> nothing.
>
>
The draft has 2^255-19, what are you talking about?


b

--f46d041825944d3c00050b5efff6
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 M=
on, Dec 29, 2014 at 5:36 AM, Watson Ladd <span dir=3D"ltr">&lt;<a href=3D"m=
ailto:watsonbladd@gmail.com" target=3D"_blank">watsonbladd@gmail.com</a>&gt=
;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border=
-left-style:solid;padding-left:1ex"><span class=3D""><br>
</span>What do you think we should do about signatures? The Microsoft<br>
proposal of ECDSA with Edwards points has all the disadvantages of<br>
ECDSA and none of the &quot;advantages&quot; of being already standardized.=
 It&#39;s<br>
remarkable that when presenting a draft after the deadline, you<br>
haven&#39;t discussed fundamental details of what you want the result to<br=
>
look like. What goes on the wire?<br>
<span class=3D""><br></span></blockquote><div><br></div><div>The proposal t=
o use ECDSA with Edwards points allows use of the new curves with the only =
EC-based signature scheme currently supported by TLS. Proposing that does n=
ot preclude a new signature scheme and I expect such a scheme would be welc=
ome. I don&#39;t see that there needs to be one draft with the kitchen sink=
.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);b=
order-left-style:solid;padding-left:1ex"><span class=3D"">
&gt;<br>
&gt; My use of the term &quot;compromise&quot; when presenting the current =
draft seems to<br>
&gt; have opened the door to some misunderstanding. I used the term in the =
sense<br>
&gt; of finding common ground rather than in the sense of introducing flaws=
. I<br>
&gt; would not expect anyone in this process to find it acceptable to intro=
duce<br>
&gt; what they believe to be a security flaw, conspiracy theorists aside. A=
s Adam<br>
&gt; said, it would be a failure if the consensus that emerged from CFRG di=
d not<br>
&gt; include Microsoft, as it would be if it didn&#39;t include Google or A=
kamai or<br>
&gt; anyone else with direct responsibility for protecting a billion people=
<br>
&gt; online. We have chosen to move some on what is acceptable to us becaus=
e it<br>
&gt; is more important that there is a result that includes enough of the t=
hings<br>
&gt; we believe are essential for delivering that protection than that we g=
et to<br>
&gt; be &quot;right&quot;.<br>
<br>
</span>You&#39;ve said repeatedly you&#39;re committed to supporting the re=
sult:<br>
seems to me that we can pick whatever we like. Horse trading and<br>
logrolling is not the way to do things.<br>
<span class=3D""><br></span></blockquote><div><br></div><div>We will contin=
ue to implement things as appropriate for our customers and our business, n=
either of which are problems you have. We would prefer those things be what=
 we believe are best. I don&#39;t see horse trading here, I see debate and =
collaboration. I understand in academia things are usually more adversarial=
.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);b=
order-left-style:solid;padding-left:1ex"><span class=3D"">&gt;<br>
&gt; The view voiced by several people that the 128-bit security level curv=
e in<br>
&gt; the draft is Curve25519 is a bit off base. First, the draft describes<=
br>
&gt; generation of (twisted) Edwards curves and the 128-bit curve has minim=
al d<br>
&gt; (given the addition of the newly manufactured cofactor constraint), wh=
ile<br>
&gt; Ed25519 does not. This is an advantage for both performance and rigidi=
ty<br>
&gt; with a tiny reduction in simplicity of implementation, achieving a bet=
ter<br>
&gt; balance between security, performance, and simplicity. Second, the spe=
cified<br>
&gt; base point is not the same and can&#39;t be the same without forcing t=
he<br>
&gt; (arbitrary) choice. The result is that it is straightforward to modify=
<br>
&gt; existing Curve25519 implementations to use the new curve, but modifica=
tion<br>
&gt; is likely required.<br>
<br>
</span>I don&#39;t think this is right: I seem to remember the difference b=
eing<br>
explained by isogeny vs. isomorphism.<br>
<br></blockquote><div><br></div><div>Curve25519 is the isogenous Montgomery=
 curve to the generated twisted Edwards curve. Perhaps we are getting cross=
ed by the confused and confusing naming and renaming of the various parts o=
f Curve25519?=C2=A0</div><div>=C2=A0</div><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">
Base points do not affect ECDH security. Why wouldn&#39;t you change it<br>
for backwards compatibility?<br>
<br></blockquote><div><br></div><div>I said it is an issue, as did Adam. I =
didn&#39;t say anything beyond that.</div><div>=C2=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;b=
order-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"=
>
You&#39;ve changed the 128 bit prime to increase performance. Why not<br>
apply the same logic to the choice of 384 bit prime?<br>
<br></blockquote><div><br></div><div>We did not change the prime to increas=
e performance.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(2=
04,204,204);border-left-style:solid;padding-left:1ex">
The question is not about changing the logic of the proposals: rather<br>
it&#39;s about applying that logic inconsistently, and gratuitously<br>
breaking deployed implementations.<br>
<div><div class=3D"h5"><br></div></div></blockquote><div><br></div><div>You=
 side-stepped every fact in my earlier email enumerating many inconsistenci=
es in Dan&#39;s choices and continue to do so. The differences between the =
draft and twisted Edwards Curve25519 are because the draft is consistent. Y=
ou are demanding consistency and then complaining when it doesn&#39;t produ=
ce the result you wanted. If Curve25519 were being designed today, based on=
 the last 7 years of advancement, it would look like what is in the draft.<=
/div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px=
 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);bor=
der-left-style:solid;padding-left:1ex"><div><div class=3D"h5">
&gt;<br>
&gt; On Wed, Dec 24, 2014 at 2:47 PM, D. J. Bernstein &lt;<a href=3D"mailto=
:djb@cr.yp.to">djb@cr.yp.to</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Once upon a time, Microsoft said that it was a &quot;requirement&q=
uot; to have<br>
&gt;&gt; &quot;rigid parameter generation for primes and curve constants&qu=
ot; given the<br>
&gt;&gt; &quot;security level&quot;.<br>
&gt;<br>
&gt;<br>
&gt; Once upon a time, Dan said that is was a &quot;requirement&quot; to us=
e single<br>
&gt; coordinate ladders to eliminate invalid curve attacks against DH<br>
&gt; implementations:<br>
&gt;<br>
&gt; On Tue, Dec 2, 2014 at 1:28 AM, D. J. Bernstein &lt;<a href=3D"mailto:=
djb@cr.yp.to">djb@cr.yp.to</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Invalid-curve attacks completely break the simplest DH implementat=
ions<br>
&gt;&gt; in Montgomery coordinates _and_ in Edwards coordinates. Rather tha=
n<br>
&gt;&gt; blaming the implementor, we eliminate these security failures by<b=
r>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0 * adding twist security, for both Montgomery and Edwa=
rds, and<br>
&gt;&gt;=C2=A0 =C2=A0 * switching to single-coordinate ladders.<br>
&gt;<br>
&gt;<br>
&gt; Yet for Curve41417, ladders suddenly become optional, just as we&#39;v=
e said all<br>
&gt; along they should be:<br>
&gt;<br>
&gt; &quot;We use a windowing method with fixed window width for constant-t=
ime<br>
&gt; single-scalar multiplication on Curve41417 in Edwards form. Our analys=
is<br>
&gt; also<br>
&gt; allows good estimates of, e.g., the cost of signature verification usi=
ng<br>
&gt; Curve41417.<br>
&gt; Another option for single-scalar multiplication is the Montgomery ladd=
er for<br>
&gt; the<br>
&gt; Montgomery form of Curve41417; this is not quite as fast as the Edward=
s form<br>
&gt; but has the advantage of fitting the computation into less SRAM.&quot;=
<br>
&gt;<br>
&gt; It seems performance is the real priority here and you will happily di=
scard<br>
&gt; things you insist are necessary for security when they conflict with<b=
r>
&gt; performance. At the 128-bit security level the ladder can be faster. A=
t the<br>
&gt; 200-bit+ security levels the ladder is slower. Should we blame the<br>
&gt; implementor who elects not to use a single-coordinate ladder? Should w=
e<br>
&gt; wonder why you would choose not to eliminate these security failures?<=
br>
<br>
</div></div>DJB sent a lengthy email to the list titled &quot;Curves, Coord=
inates, and<br>
Computations&quot;. In this email he explained that what an implementation<=
br>
written by highly skilled and careful implementors for the ultimate in<br>
performance does is not the same as one written for a maximum of<br>
simplicity. The sentence you quoted had the word simple in it: that<br>
word has a meaning you happily ignored.<br>
<br></blockquote><div><br></div><div>Dan said single-coordinate ladders are=
 required, full stop: &quot;<span style=3D"color:rgb(80,0,80)">Rather than=
=C2=A0</span><span style=3D"color:rgb(80,0,80)">blaming the implementor, we=
 eliminate these security failures by...</span><span style=3D"color:rgb(80,=
0,80)">switching to single-coordinate ladders.&quot;</span>=C2=A0I&#39;m no=
t ignoring any part of the quoted text. Whether the the ladder is simpler h=
as no bearing.=C2=A0</div><div>=C2=A0</div><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">
Tweetnacl.c is probably the most widely used Curve25519<br>
implementation. It&#39;s been translated into just about every language I<b=
r>
can think of. It can be very simple because it uses the Montgomery<br>
ladder.<br>
<br></blockquote><div><br></div><div>donna is the most widely used implemen=
tation.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,=
204);border-left-style:solid;padding-left:1ex">
Should I take this email as saying you won&#39;t make the changes needed<br=
>
to get Curve25519?<br>
<span class=3D""><br></span></blockquote><div><br></div><div>What changes d=
o you mean?</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(20=
4,204,204);border-left-style:solid;padding-left:1ex"><span class=3D"">
&gt;<br>
&gt; This section of your paper raises another interesting point. It seems =
a<br>
&gt; slight performance drop in exchange for consuming less SRAM can be a<b=
r>
&gt; desirable property to you. In Adam&#39;s Faster Curve25519 post<br>
&gt; (<a href=3D"https://www.imperialviolet.org/2013/05/10/fastercurve25519=
.html" target=3D"_blank">https://www.imperialviolet.org/2013/05/10/fastercu=
rve25519.html</a>), he<br>
&gt; achieves significant performance improvements at a cost of 24KB of cac=
he for<br>
&gt; tables. Our NUMS 256 curve performs slightly slower than this, but onl=
y<br>
&gt; requires 9KB for tables. The 15KB difference represents almost 25% of =
the<br>
&gt; 64KB L1 cache in a typical Xeon and almost 50% of the 32KB L1 data cac=
he in<br>
&gt; a typical ARM. It&#39;s not quite as fast but has the advantage of fit=
ting the<br>
&gt; computation into less SRAM.<br>
<br>
</span>This is not a property of the curves, but of your implementation: th=
e<br>
same comb table optimization could be used by a Curve25519 optimized<br>
implementation. That is, if it wasn&#39;t patented by Microsoft.<br>
<br></blockquote><div><br></div><div>You aren&#39;t a lawyer and you, and e=
veryone else on this list, needs to stop speculating in public about patent=
s and how a given implementation might infringe them. =C2=A0</div><div>=C2=
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-styl=
e:solid;padding-left:1ex">
AGL&#39;s described implementation uses a table with 512 entries,<br>
representing x^{16^(2*i+1)j} for i zero, j potentially zero. But one<br>
can also use 512 entries to store a comb of 8 bits: the LSB of each<br>
exponent byte, the 2nd to LSB of each exponent byte, etc, as the<br>
Microsoft implementation of NUMS whatever does, and use 8 additions<br>
and 8 doublings to compute the result. This has nothing to do with the<br>
choice of curve or prime.<br>
<br></blockquote><div><br></div><div>Yes, a given curve performs differentl=
y depending on the exact implementation techniques used. Different techniqu=
es deliver different space/time trade-offs. That makes statements like &quo=
t;objectively better&quot; dependent on the specifics of a given scenario, =
not some abstract Platonic ideal.</div><div>=C2=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;bo=
rder-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">=
<div><div class=3D"h5">&gt;<br>
&gt; On Mon, Dec 22, 2014 at 5:54 PM, Tanja Lange &lt;<a href=3D"mailto:tan=
ja@hyperelliptic.org">tanja@hyperelliptic.org</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I think a competition has more to offer than a &#39;collaboration&=
#39; where<br>
&gt;&gt; parties get more influence by having more people send emails to th=
e list.<br>
&gt;<br>
&gt;<br>
&gt; I&#39;m not sure what point you are trying to make here. The people wh=
o haven&#39;t<br>
&gt; submitted curves should remain silent? That is antithetical to the IET=
F<br>
&gt; process. If you are suggesting it shouldn&#39;t be a process whereby a=
 minority<br>
&gt; attempts to &quot;stuff the ballot box&quot; by getting a few people t=
o yell loud and<br>
&gt; often to drown out differing opinions, then I agree. However, I don&#3=
9;t think<br>
&gt; we would agree on who might be doing that.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; What should count are the merits of papers, implementations, and i=
nternet<br>
&gt;&gt; drafts so that proposals get more influence by being objectively b=
etter.<br>
&gt;<br>
&gt;<br>
&gt; &quot;Objectively better&quot; is unrealistic as it depends on which i=
mplementation,<br>
&gt; which architectures, which benchmarks and which priorities people have=
 for<br>
&gt; various properties of the curves. The example above for different L1 c=
ache<br>
&gt; footprint shows how slippery &quot;objectively better&quot; can be. An=
other example<br>
&gt; would be the large d in Ed25519 compared to the minimal d in the rpgec=
c<br>
&gt; draft. The smaller d is &quot;objectively better&quot; both in terms o=
f performance<br>
&gt; and rigidity, but isn&#39;t quite as simple to move between twisted Ed=
wards and<br>
&gt; Montgomery.<br>
&gt;<br>
&gt; On Thu, Dec 25, 2014 at 12:55 PM, Salz, Rich &lt;<a href=3D"mailto:rsa=
lz@akamai.com">rsalz@akamai.com</a>&gt; wrote:<br>
&gt;&gt;&gt; desirable. But, to make progress, people need to try and under=
stand<br>
&gt;&gt;&gt; Microsoft&#39;s position.)<br>
&gt;&gt;<br>
&gt;&gt;Then perhaps, as you stated earlier in the note, it would be good i=
f we<br>
&gt;&gt; didn&#39;t have to guess.<br>
&gt;&gt;<br>
&gt;&gt;It&#39;s kinda funny that NUMS curve has us now wanting a NUMS rati=
onale.=C2=A0 But<br>
&gt;&gt; perhaps funny isn&#39;t the right word, maybe sad or &gt;pathetic =
is.<br>
&gt;<br>
&gt; You&#39;ve been in this from the start, so I find it odd you don&#39;t=
 recall any of<br>
&gt; the numerous times this has been covered, Rich. We don&#39;t see the s=
mall<br>
&gt; potential performance gains as worth the additional flexibility introd=
uced<br>
&gt; by manipulating prime selection like this. You are of course free to<b=
r>
&gt; disagree, but there is no &quot;objectively better&quot; answer as it =
is a trade-off.<br>
&gt; You might also consider not calling things you don&#39;t understand or=
 with<br>
&gt; which you disagree &quot;sad&quot; or &quot;pathetic&quot;.<br>
<br>
</div></div>What about the additional flexibility introduced by your new dr=
aft? A<br>
user who listened to your old draft&#39;s claims of rigidity, shouldn&#39;t=
<br>
accept the new drafts. Or is it that the &quot;rigidity&quot; claims have f=
ar<br>
more to do with marketing than reality?<br>
<div><div class=3D"h5"><br></div></div></blockquote><div><br></div><div>Wha=
t flexibility exactly?=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-le=
ft-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><d=
iv class=3D"h5">
&gt;<br>
&gt; On Mon, Nov 3, 2014 at 8:37 AM, Watson Ladd &lt;<a href=3D"mailto:wats=
onbladd@gmail.com">watsonbladd@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; There are at least two, possibly three, fallacies present in this chal=
lenge.<br>
&gt; The first is that the enormous flexibility required to insert such a s=
tring<br>
&gt; in the coefficients is at all a relevant metric. The second is that th=
e<br>
&gt; BADA55 work used what anyone who wasn&#39;t pushing a very particular =
agenda<br>
&gt; would call &quot;reasonable constraints&quot;. The third is that the &=
quot;performance<br>
&gt; approach&quot; represents much additional performance, that the perfor=
mance gains<br>
&gt; are certain regardless of architecture or protocol, or that any additi=
onal<br>
&gt; performance is free.<br>
<br>
</div></div>I think the entire idea that one can backdoor curves involves &=
quot;alien<br>
technology&quot;. But even granting that, if 1/2 of all curves are weak,<br=
>
even a completely rigid process (assuming one exists) isn&#39;t much<br>
better. It&#39;s only interesting when rare properties are being targeted.<=
/blockquote><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,2=
04);border-left-style:solid;padding-left:1ex">=C2=A0<br></blockquote><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-w=
idth:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding=
-left:1ex">
If you actually read the BADA55 paper you would see they targeted<br>
Brainpool, which had used the hash of a fundamental constant to<br>
generate parameters.<br>
<br></blockquote><div><br></div><div>Brainpool uses the two most common con=
stants. BADA55 relies on carefully picking far less common constants. It&#3=
9;s great marketing if your goal is to discredit work you think competes wi=
th your own. But if Brainpool is compromised, why would I trust anything fr=
om anyone responsible for producing it?</div><div>=C2=A0</div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1p=
x;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1=
ex">
By contrast there are only 100 primes or so meeting the kinds of<br>
performance constraints we have. Shake up the requirements, maybe we<br>
get 4 curves on each prime, so about 400 curves. This is a wild<br>
overestimate.</blockquote><div>=C2=A0</div><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">=C2=A0<br></blo=
ckquote><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">
With the NUMS approach, despite rhetoric of &quot;a single curve for each<b=
r>
security level&quot;, users will actually accept a great deal more curves.<=
br>
<br></blockquote><div><br></div><div>The draft is not NUMS.</div><div>=C2=
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-styl=
e:solid;padding-left:1ex">
The additional performance of 2^255-19 vs 2^256-big costs nothing. It<br>
exists on hardware ranging from 64 bit desktop machines to 32 bit<br>
embedded processors and 18 bit FPGA and GPU multipliers. (GPUs got<br>
better recently). In exchange for this hit you give us exactly<br>
nothing.<br>
<span class=3D"im"><br></span></blockquote><div><br></div><div>The draft ha=
s 2^255-19, what are you talking about?</div><div><br></div><div><br></div>=
<div>b</div></div></div></div>

--f46d041825944d3c00050b5efff6--


From nobody Mon Dec 29 10:25:38 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 B2FFD1A8AC9 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 10:25:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level: 
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 sg-ZLEJ-P7qb for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 10:25:33 -0800 (PST)
Received: from prod-mail-xrelay02.akamai.com (prod-mail-xrelay02.akamai.com [72.246.2.14]) by ietfa.amsl.com (Postfix) with ESMTP id B059B1A8AC2 for <cfrg@irtf.org>; Mon, 29 Dec 2014 10:25:33 -0800 (PST)
Received: from prod-mail-xrelay02.akamai.com (localhost [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 2365F284F5; Mon, 29 Dec 2014 18:25:32 +0000 (GMT)
Received: from prod-mail-relay06.akamai.com (prod-mail-relay06.akamai.com [172.17.120.126]) by prod-mail-xrelay02.akamai.com (Postfix) with ESMTP id 04058284CF; Mon, 29 Dec 2014 18:25:32 +0000 (GMT)
Received: from email.msg.corp.akamai.com (usma1ex-cas2.msg.corp.akamai.com [172.27.123.31]) by prod-mail-relay06.akamai.com (Postfix) with ESMTP id F20FC2070; Mon, 29 Dec 2014 18:25:31 +0000 (GMT)
Received: from usma1ex-cashub7.kendall.corp.akamai.com (172.27.105.23) by usma1ex-dag1mb1.msg.corp.akamai.com (172.27.123.101) with Microsoft SMTP Server (TLS) id 15.0.913.22; Mon, 29 Dec 2014 13:25:25 -0500
Received: from USMBX1.msg.corp.akamai.com ([169.254.1.15]) by usma1ex-cashub7.kendall.corp.akamai.com ([172.27.105.23]) with mapi; Mon, 29 Dec 2014 13:25:25 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Yoav Nir <ynir.ietf@gmail.com>
Date: Mon, 29 Dec 2014 13:25:25 -0500
Thread-Topic: [Cfrg] Curve manipulation, revisited
Thread-Index: AdAjbHp/Mdv/NyZgQ/6eQ89X2Bh5fQAJMkvQ
Message-ID: <2A0EFB9C05D0164E98F19BB0AF3708C71D55236ECC@USMBX1.msg.corp.akamai.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236DA1@USMBX1.msg.corp.akamai.com> <68DF78C2-9F4D-457C-A32E-88A58E74A371@gmail.com>
In-Reply-To: <68DF78C2-9F4D-457C-A32E-88A58E74A371@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
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/EE9hIsKaY2XsAB4s_xAk7p-rQcA
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 18:25:35 -0000

PiBNYXkgSSBhc2sgd2h5PyAgSWYgd2UgY2FuIG1ha2Uga2V5IGFncmVlbWVudCBmYXN0ZXIgYnkg
dXNpbmcgWDI1NTE5DQo+IGluc3RlYWQgb2YgUC0yNTYsIGl0IHN0YW5kcyB0byByZWFzb24gdGhh
dCB3ZSBjYW4gbWFrZSBzaWduYXR1cmVzIGZhc3RlciBieQ0KPiB1c2luZyBFZDI1NTE5IGluc3Rl
YWQgb2YgUC0yNTYuDQoNClRMUyBvbmx5IG5lZWRzIGEga2V5IGV4Y2hhbmdlLiAgKFg1MDkgY2Vy
dGlmaWNhdGVzIGFyZSBzaWduZWQsIG9mIGNvdXJzZSwgYnV0IHRoYXQncyBhIHNlcGFyYWJsZSBp
c3N1ZS4pDQoNCkkgd2FudGVkIHRvIGZvY3VzIG9uIHRoZSBvbmUgc2ltcGxlIHJlcXVpcmVtZW50
LiANCg0KLS0gIA0KUHJpbmNpcGFsIFNlY3VyaXR5IEVuZ2luZWVyLCBBa2FtYWkgVGVjaG5vbG9n
aWVzDQpJTTogcnNhbHpAamFiYmVyLm1lIFR3aXR0ZXI6IFJpY2hTYWx6DQo=


From nobody Mon Dec 29 10:34:50 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 D99521A87EA for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 10:34:49 -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 YU5pFedygfHl for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 10:34: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 EA1961A8AE6 for <cfrg@irtf.org>; Mon, 29 Dec 2014 10:34:48 -0800 (PST)
Received: from [192.168.1.117] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 14DE53AA12; Mon, 29 Dec 2014 10:32:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1419877964; bh=qVvagkcA7m7KLSgiCNSDtR8smGHOMVud8tmAbYE89M0=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=X1b6MWlN5X6Re+8GQMSTFCzuWOb2JAWpTSNpEuVhz3r6mVR0SGkeAE9pBJJknXNM0 ovtmlA1Y61ZOoBafTNnoYwpK7HoK2dg7S42mucgNAniqEB08PvIzHsgPR4K+equAfn BthRsXRpuQohrZPpXvwUALdHlquNEz0S+ZLTIvAA=
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2064\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <CA+Vbu7zO3OatbC+cXiV58hvJCuqiTYvnsSuyopDXum4qBX54fw@mail.gmail.com>
Date: Mon, 29 Dec 2014 10:34:45 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <EBD3350E-93CA-4D85-91C0-560D17187572@shiftleft.org>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <CAMfhd9XEqMwFzJ4sK4aHGbke6REZb26uaEEv9gbM5v_goDzwUA@mail.gmail.com> <CA+Vbu7zO3OatbC+cXiV58hvJCuqiTYvnsSuyopDXum4qBX54fw@mail.gmail.com>
To: Benjamin Black <b@b3k.us>
X-Mailer: Apple Mail (2.2064)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/tsm6F-ijDDzcIEz85R8pS2yhIKs
Cc: Adam Langley <agl@imperialviolet.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 18:34:50 -0000

> On Dec 29, 2014, at 9:14 AM, Benjamin Black <b@b3k.us> wrote:
> Had Dan been insisting that ladders be _allowed_ then I would agree =
with you, as I have said the same (in the line just before the part you =
quoted, even). What Dan said is that single-coordinate ladders are =
_required_.

[=E2=80=A6]

> My point was that space/time trade-offs like that seem to be =
acceptable or unacceptable to Dan depending on what is being argued.

That=E2=80=99s because Dan has been arguing the opposite of what you =
claim he=E2=80=99s arguing.

You claim he said that only one implementation strategy =E2=80=94 =
ladders =E2=80=94is acceptable.  But in fact, he=E2=80=99s been arguing =
that the curve/encoding/protocol should be chosen so that multiple =
implementation strategies =E2=80=94 ladders, combs, whatever =E2=80=94 =
will be possible.

That way, an implementor can decide what trade-offs are acceptable for =
his or her own implementation.  And if we make an especially good choice =
of curve/encoding/protocol, most of those trade-offs can be good choices =
instead of pitfalls.

=E2=80=94 Mike=


From nobody Mon Dec 29 10:47:55 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 9ACB11A8BB2 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 10:47:54 -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 QEWwvUUh4Kuw for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 10:47:53 -0800 (PST)
Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C47331A8BB3 for <cfrg@irtf.org>; Mon, 29 Dec 2014 10:47:52 -0800 (PST)
Received: by mail-wi0-f182.google.com with SMTP id h11so22816827wiw.15 for <cfrg@irtf.org>; Mon, 29 Dec 2014 10:47:51 -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=2r0Xi4CHRj0YhconCDSfeidqbWr3LgF2aXJ48yBLNvQ=; b=dEpLgBzfk+3sPaUFQwlcFU8OM12KKAeCHQPQyFXJvNFqAknZ9GfAS4I06qVCzeTuPF /7SELWxWRiV7MfeDozeRm8IVSwG4bvDATVapdBzxKTtW58d2TtY5YQi+zEjIF7iszDOA zanxiPtTv4PIewjYl2317jZu5W16yvrQv0FjjnPlzjrXbH/vMXIe8UHmld9LnSLmFtBW FAZfB+e+ilCWJDFnKNSBLhw4aTkpCYnBzAGDWoYzxW1WAaPF6ktTkGtFsKzulWwQByM5 xc14kjxvMRjODVPkmhb/VlRMVi5q1CeMrx65bNtWeegVAQCv/D0NZ9pYerda6/fASHdl FD1g==
X-Received: by 10.194.94.227 with SMTP id df3mr116175729wjb.34.1419878871622;  Mon, 29 Dec 2014 10:47:51 -0800 (PST)
Received: from [192.168.1.104] (IGLD-84-228-227-214.inter.net.il. [84.228.227.214]) by mx.google.com with ESMTPSA id lg7sm40521492wic.0.2014.12.29.10.47.50 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Dec 2014 10:47:50 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <2A0EFB9C05D0164E98F19BB0AF3708C71D55236ECC@USMBX1.msg.corp.akamai.com>
Date: Mon, 29 Dec 2014 20:47:48 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <A7D3783D-0159-486E-8136-63E90E20AC0B@gmail.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236DA1@USMBX1.msg.corp.akamai.com> <68DF78C2-9F4D-457C-A32E-88A58E74A371@gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236ECC@USMBX1.msg.corp.akamai.com>
To: Rich Salz <rsalz@akamai.com>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/X709PeeTWvBdp_o3uu2kwyajxGY
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 18:47:55 -0000

> On Dec 29, 2014, at 8:25 PM, Salz, Rich <rsalz@akamai.com> wrote:
>=20
>> May I ask why?  If we can make key agreement faster by using X25519
>> instead of P-256, it stands to reason that we can make signatures =
faster by
>> using Ed25519 instead of P-256.
>=20
> TLS only needs a key exchange.  (X509 certificates are signed, of =
course, but that's a separable issue.)

The signatures on X509 certificates are a separable issue. But the =
signatures in the ServerKeyExchange using the private key associated =
with the public key in the X509 certificates are very much a part of =
TLS.

When measuring the performance of the TLS handshakes, the ECDHE =
derivation takes a similar amount of time as the ECDSA signature. That =
is the reason for moving away from RSA public keys to ECDSA public keys. =
If we can use public keys which will be even faster, that=E2=80=99s a =
net win.

So again, why not?

Yoav


From nobody Mon Dec 29 10:54:59 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 EB33F1A8EA9 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 10:54:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.61
X-Spam-Level: 
X-Spam-Status: No, score=-2.61 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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 ir_iFiEbZSC8 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 10:54:55 -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 347361A8BC0 for <cfrg@irtf.org>; Mon, 29 Dec 2014 10:54:54 -0800 (PST)
Received: from prod-mail-xrelay07.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 0176B47618; Mon, 29 Dec 2014 18:54:54 +0000 (GMT)
Received: from prod-mail-relay06.akamai.com (prod-mail-relay06.akamai.com [172.17.120.126]) by prod-mail-xrelay07.akamai.com (Postfix) with ESMTP id E992847613; Mon, 29 Dec 2014 18:54:53 +0000 (GMT)
Received: from email.msg.corp.akamai.com (unknown [172.27.123.34]) by prod-mail-relay06.akamai.com (Postfix) with ESMTP id E4366202A; Mon, 29 Dec 2014 18:54:53 +0000 (GMT)
Received: from usma1ex-cashub6.kendall.corp.akamai.com (172.27.105.22) by usma1ex-dag1mb4.msg.corp.akamai.com (172.27.123.104) with Microsoft SMTP Server (TLS) id 15.0.913.22; Mon, 29 Dec 2014 13:54:53 -0500
Received: from USMBX1.msg.corp.akamai.com ([169.254.1.15]) by USMA1EX-CASHUB6.kendall.corp.akamai.com ([172.27.105.22]) with mapi; Mon, 29 Dec 2014 13:54:53 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Yoav Nir <ynir.ietf@gmail.com>
Date: Mon, 29 Dec 2014 13:54:52 -0500
Thread-Topic: [Cfrg] Curve manipulation, revisited
Thread-Index: AdAjl/XHthMsDMFsTnCzzBTHSUfucwAADutQ
Message-ID: <2A0EFB9C05D0164E98F19BB0AF3708C71D55236EE7@USMBX1.msg.corp.akamai.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236DA1@USMBX1.msg.corp.akamai.com> <68DF78C2-9F4D-457C-A32E-88A58E74A371@gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236ECC@USMBX1.msg.corp.akamai.com> <A7D3783D-0159-486E-8136-63E90E20AC0B@gmail.com>
In-Reply-To: <A7D3783D-0159-486E-8136-63E90E20AC0B@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
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/xP_7Y6tWZ6Wxr36xuKjHqvw3H9k
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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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0cyB0aGVtIHBy
b2dyZXNzIGF0IHRoZWlyIG93biwgbmF0dXJhbCwgcmF0ZS4gIFdoaWNoIGJyaW5ncyBtZSB0byBt
eSBzZWNvbmQgcmVhc29uOiBJIHRoaW5rIHRoZXJlIGFyZSBubyB2YWxpZCByZWFzb25zIHRvIGRl
bGF5IFgyNTUxOSwgd2hpbGUgdGhlIGRpc2N1c3Npb24gYXJvdW5kIEVkMjU1MTkgaXMsIHdlbGws
IGxldCdzIGp1c3Qgc2F5IGl0J3Mgc3RpbGwgYXQgdGhlIHByZS1jb25zZW5zdXMgc3RhdGUuIDop
ICBEb2VzIHRoYXQgbWFrZSBzZW5zZT8NCg0KLS0gIA0KUHJpbmNpcGFsIFNlY3VyaXR5IEVuZ2lu
ZWVyLCBBa2FtYWkgVGVjaG5vbG9naWVzDQpJTTogcnNhbHpAamFiYmVyLm1lIFR3aXR0ZXI6IFJp
Y2hTYWx6DQo=


From nobody Mon Dec 29 11:00:22 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 B6CD41A9024 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 11:00:19 -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 4RO9kxzUUehe for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 11:00:18 -0800 (PST)
Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7C6D51A9023 for <cfrg@irtf.org>; Mon, 29 Dec 2014 11:00:17 -0800 (PST)
Received: by mail-wi0-f177.google.com with SMTP id l15so22904681wiw.4 for <cfrg@irtf.org>; Mon, 29 Dec 2014 11:00:16 -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=99RalzPeins3GwfsMj8QJvG3e4hoUk7FnN2xlbhmEIQ=; b=igKg0NKTnsZmDXBpTyNOhIcleenRqZxT7VjEDh+H7LSH2XjF3A5ec/e+6dAzp3TwiW GuvnOvgEEE4IcG7LI5MFApy/DF9q1NRAPdFLr5LDnJ9bzoSVZfkcGyQ+7e3Gdor3CUNC 5hyfx5umTFr0FAF/ligLYNaKbwVZnVJG7kYKX4+qBGEmdXg2uKAyG/3GQkKKyZ3txz/f WUhH4WkMd7URL93Zpi4Cc1jWVmYjXntxNb5pLByF9Px+aPal/3QlaVnu1AMRKhmFv1Vj txAUUpXIwkmfRPmPedVrwiunSZcvYJDLLQ485IcrCoweHqSB7Bh1qOEKJ0q1+POBFAfd F9dQ==
X-Gm-Message-State: ALoCoQlSkIk7b19AmW/xEOkfpIhm6ssT+u9gnBmoIhcSfkLAMDczk2wNmUUwnpiD+duAywQJaz6L
X-Received: by 10.180.109.45 with SMTP id hp13mr97142827wib.4.1419879616029; Mon, 29 Dec 2014 11:00:16 -0800 (PST)
MIME-Version: 1.0
Received: by 10.216.190.139 with HTTP; Mon, 29 Dec 2014 10:59:55 -0800 (PST)
In-Reply-To: <EBD3350E-93CA-4D85-91C0-560D17187572@shiftleft.org>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <CAMfhd9XEqMwFzJ4sK4aHGbke6REZb26uaEEv9gbM5v_goDzwUA@mail.gmail.com> <CA+Vbu7zO3OatbC+cXiV58hvJCuqiTYvnsSuyopDXum4qBX54fw@mail.gmail.com> <EBD3350E-93CA-4D85-91C0-560D17187572@shiftleft.org>
From: Benjamin Black <b@b3k.us>
Date: Mon, 29 Dec 2014 10:59:55 -0800
Message-ID: <CA+Vbu7zxGm3EE7h3K2mg5WoziUf4bmjoaCAVzFgaaGsE=kLFpQ@mail.gmail.com>
To: Michael Hamburg <mike@shiftleft.org>
Content-Type: multipart/alternative; boundary=e89a8f3bae99233f61050b5f7cec
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ul62VgIcvfz3qMQnV2ANeBg7EY8
Cc: Adam Langley <agl@imperialviolet.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 19:00:20 -0000

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

On Mon, Dec 29, 2014 at 10:34 AM, Michael Hamburg <mike@shiftleft.org>
wrote:

>
> > On Dec 29, 2014, at 9:14 AM, Benjamin Black <b@b3k.us> wrote:
> > Had Dan been insisting that ladders be _allowed_ then I would agree wit=
h
> you, as I have said the same (in the line just before the part you quoted=
,
> even). What Dan said is that single-coordinate ladders are _required_.
>
> [=E2=80=A6]
>
> > My point was that space/time trade-offs like that seem to be acceptable
> or unacceptable to Dan depending on what is being argued.
>
> That=E2=80=99s because Dan has been arguing the opposite of what you clai=
m he=E2=80=99s
> arguing.
>
> You claim he said that only one implementation strategy =E2=80=94 ladders=
 =E2=80=94is
> acceptable.  But in fact, he=E2=80=99s been arguing that the
> curve/encoding/protocol should be chosen so that multiple implementation
> strategies =E2=80=94 ladders, combs, whatever =E2=80=94 will be possible.
>
> That way, an implementor can decide what trade-offs are acceptable for hi=
s
> or her own implementation.  And if we make an especially good choice of
> curve/encoding/protocol, most of those trade-offs can be good choices
> instead of pitfalls.
>
> =E2=80=94 Mike


I can only go on the things he puts in writing and they say the opposite.

>Rather than
>blaming the implementor, we eliminate these security failures by
>
>   * adding twist security, for both Montgomery and Edwards, and
>   * switching to single-coordinate ladders.

That is not a suggestion folks be allowed to implement the ladder if they
choose to. It is a requirement that they not be allowed to use anything
else. If they are allowed to use anything but single-coordinate ladders,
then, in his own words, we have not eliminated these "security failures"
and will be back to "blaming the implementor". If he means something else
he should say something else.


b

--e89a8f3bae99233f61050b5f7cec
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 M=
on, Dec 29, 2014 at 10:34 AM, 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:0px 0px=
 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-=
left-style:solid;padding-left:1ex"><span class=3D""><br>
&gt; On Dec 29, 2014, at 9:14 AM, Benjamin Black &lt;<a href=3D"mailto:b@b3=
k.us">b@b3k.us</a>&gt; wrote:<br>
&gt; Had Dan been insisting that ladders be _allowed_ then I would agree wi=
th you, as I have said the same (in the line just before the part you quote=
d, even). What Dan said is that single-coordinate ladders are _required_.<b=
r>
<br>
</span>[=E2=80=A6]<br>
<span class=3D""><br>
&gt; My point was that space/time trade-offs like that seem to be acceptabl=
e or unacceptable to Dan depending on what is being argued.<br>
<br>
</span>That=E2=80=99s because Dan has been arguing the opposite of what you=
 claim he=E2=80=99s arguing.<br>
<br>
You claim he said that only one implementation strategy =E2=80=94 ladders =
=E2=80=94is acceptable.=C2=A0 But in fact, he=E2=80=99s been arguing that t=
he curve/encoding/protocol should be chosen so that multiple implementation=
 strategies =E2=80=94 ladders, combs, whatever =E2=80=94 will be possible.<=
br>
<br>
That way, an implementor can decide what trade-offs are acceptable for his =
or her own implementation.=C2=A0 And if we make an especially good choice o=
f curve/encoding/protocol, most of those trade-offs can be good choices ins=
tead of pitfalls.<br>
<br>
=E2=80=94 Mike</blockquote><div><br></div><div>I can only go on the things =
he puts in writing and they say the opposite.</div><div><br></div><div><spa=
n style=3D"font-size:13px">&gt;Rather than</span><br style=3D"font-size:13p=
x"><span style=3D"font-size:13px">&gt;blaming the implementor, we eliminate=
 these security failures by</span><br style=3D"font-size:13px">&gt;<br styl=
e=3D"font-size:13px"><span style=3D"font-size:13px">&gt; =C2=A0 * adding tw=
ist security, for both Montgomery and Edwards, and</span><br style=3D"font-=
size:13px"><span style=3D"font-size:13px">&gt; =C2=A0 * switching to single=
-coordinate ladders.</span><br></div></div><br></div><div class=3D"gmail_ex=
tra">That is not a suggestion folks be allowed to implement the ladder if t=
hey choose to. It is a requirement that they not be allowed to use anything=
 else. If they are allowed to use anything but single-coordinate ladders, t=
hen, in his own words, we have not eliminated these &quot;security failures=
&quot; and will be back to &quot;blaming the implementor&quot;. If he means=
 something else he should say something else.</div><div class=3D"gmail_extr=
a"><br></div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra=
">b</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra"><b=
r></div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra"><br=
></div></div>

--e89a8f3bae99233f61050b5f7cec--


From nobody Mon Dec 29 11:02:31 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 C964A1A9028 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 11:02:28 -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 dEUintocyLVu for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 11:02:27 -0800 (PST)
Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F009F1A9029 for <cfrg@irtf.org>; Mon, 29 Dec 2014 11:02:26 -0800 (PST)
Received: by mail-wi0-f176.google.com with SMTP id ex7so22832708wid.15 for <cfrg@irtf.org>; Mon, 29 Dec 2014 11:02:25 -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=ah9nAbwJLoH/0X7au5Aq3Uoav/cletLuWGJx0Tv5ZXY=; b=mghO+FAUO/Ff8DGSf4/4b28cORiqSl0rUkTaXDwH55qhJbTWvJu9DysP97PgOsCbYv ptant0T7YqRZWXVstZvHXlmm5GG3qUemIv43mDD9nXW+Jjx4owuct6Ox88FtsHyzmgGe FaVjRrpntDqIf2/qJW8GeO5DjlRkv+SfMzjcuHotkVte+EN+wz1P1onoc9ZJ03MKkE3R 5DqZ38OQqkxGERi7fqXOU923jIkHkvuVzO3IHAfphrq4il/fLkJFMtyglOyOsrp5ngB2 3+po+Yx9TCVhXQ4mnptZZuG8JbwYzduIKjJBPAWKMbCyBQ/qo429vqZK6PfFw+4w+yl0 JKJA==
X-Gm-Message-State: ALoCoQm82crS6vKtUZDlHTnWJ1L306AXpXqQ0WaaPAHRBvJXRZddo+K60rkRcp4GqkQe4gRmdL+d
X-Received: by 10.180.103.6 with SMTP id fs6mr97007150wib.11.1419879745729; Mon, 29 Dec 2014 11:02:25 -0800 (PST)
MIME-Version: 1.0
Received: by 10.216.190.139 with HTTP; Mon, 29 Dec 2014 11:02:05 -0800 (PST)
In-Reply-To: <2A0EFB9C05D0164E98F19BB0AF3708C71D55236EE7@USMBX1.msg.corp.akamai.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236DA1@USMBX1.msg.corp.akamai.com> <68DF78C2-9F4D-457C-A32E-88A58E74A371@gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236ECC@USMBX1.msg.corp.akamai.com> <A7D3783D-0159-486E-8136-63E90E20AC0B@gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236EE7@USMBX1.msg.corp.akamai.com>
From: Benjamin Black <b@b3k.us>
Date: Mon, 29 Dec 2014 11:02:05 -0800
Message-ID: <CA+Vbu7yaJNgi0JkhyBG6YEoKy+r5BFm_HwjL94sgHHOM7i3zOw@mail.gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>
Content-Type: multipart/alternative; boundary=f46d0434bfc2de52a1050b5f8304
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Dk2fuHa2a_XX6zVjJ7KtcXEhfP4
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 19:02:28 -0000

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

On Mon, Dec 29, 2014 at 10:54 AM, Salz, Rich <rsalz@akamai.com> wrote:

>
> > The signatures on X509 certificates are a separable issue. But the
> signatures
> > in the ServerKeyExchange using the private key associated with the publ=
ic
> > key in the X509 certificates are very much a part of TLS.
>
> True, yes, foggy from too much eggnog, I guess.
>
> > When measuring the performance of the TLS handshakes, the ECDHE
> > derivation takes a similar amount of time as the ECDSA signature. That
> is the
> > reason for moving away from RSA public keys to ECDSA public keys. If we
> can
> > use public keys which will be even faster, that=E2=80=99s a net win.
> >
> > So again, why not?
>
> Two major reasons.  X25519 is useful by itself without Ed25519 so there's
> no reason to tie them together.  Having them separate docs lets them
> progress at their own, natural, rate.  Which brings me to my second reaso=
n:
> I think there are no valid reasons to delay X25519, while the discussion
> around Ed25519 is, well, let's just say it's still at the pre-consensus
> state. :)  Does that make sense?
>
>
Not to get all Watson on you, but does that mean you don't have a strong
opinion on the twisted Edwards form?


b

--f46d0434bfc2de52a1050b5f8304
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 M=
on, Dec 29, 2014 at 10:54 AM, Salz, Rich <span dir=3D"ltr">&lt;<a href=3D"m=
ailto:rsalz@akamai.com" target=3D"_blank">rsalz@akamai.com</a>&gt;</span> w=
rote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex"><span class=3D""><br>
&gt; The signatures on X509 certificates are a separable issue. But the sig=
natures<br>
&gt; in the ServerKeyExchange using the private key associated with the pub=
lic<br>
&gt; key in the X509 certificates are very much a part of TLS.<br>
<br>
</span>True, yes, foggy from too much eggnog, I guess.<br>
<span class=3D""><br>
&gt; When measuring the performance of the TLS handshakes, the ECDHE<br>
&gt; derivation takes a similar amount of time as the ECDSA signature. That=
 is the<br>
&gt; reason for moving away from RSA public keys to ECDSA public keys. If w=
e can<br>
&gt; use public keys which will be even faster, that=E2=80=99s a net win.<b=
r>
&gt;<br>
&gt; So again, why not?<br>
<br>
</span>Two major reasons.=C2=A0 X25519 is useful by itself without Ed25519 =
so there&#39;s no reason to tie them together.=C2=A0 Having them separate d=
ocs lets them progress at their own, natural, rate.=C2=A0 Which brings me t=
o my second reason: I think there are no valid reasons to delay X25519, whi=
le the discussion around Ed25519 is, well, let&#39;s just say it&#39;s stil=
l at the pre-consensus state. :)=C2=A0 Does that make sense?<br>
<span class=3D"im HOEnZb"><br></span></blockquote><div><br></div><div>Not t=
o get all Watson on you, but does that mean you don&#39;t have a strong opi=
nion on the twisted Edwards form?</div><div><br></div><div><br></div><div>b=
</div><div>=C2=A0</div></div></div></div>

--f46d0434bfc2de52a1050b5f8304--


From nobody Mon Dec 29 11:53:15 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 C976E1ABC75 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 11:53:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.61
X-Spam-Level: 
X-Spam-Status: No, score=-2.61 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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 alOdtwLoGX4F for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 11:53:11 -0800 (PST)
Received: from prod-mail-xrelay06.akamai.com (prod-mail-xrelay06.akamai.com [96.6.114.98]) by ietfa.amsl.com (Postfix) with ESMTP id 9A9B91A8AD1 for <cfrg@irtf.org>; Mon, 29 Dec 2014 11:53:11 -0800 (PST)
Received: from prod-mail-xrelay06.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 424CA165907; Mon, 29 Dec 2014 19:53:10 +0000 (GMT)
Received: from prod-mail-relay09.akamai.com (prod-mail-relay09.akamai.com [172.27.22.68]) by prod-mail-xrelay06.akamai.com (Postfix) with ESMTP id 3772D165906; Mon, 29 Dec 2014 19:53:10 +0000 (GMT)
Received: from email.msg.corp.akamai.com (usma1ex-cas1.msg.corp.akamai.com [172.27.123.30]) by prod-mail-relay09.akamai.com (Postfix) with ESMTP id 09B5A1E03D; Mon, 29 Dec 2014 19:53:10 +0000 (GMT)
Received: from usma1ex-cashub5.kendall.corp.akamai.com (172.27.105.21) by usma1ex-dag1mb2.msg.corp.akamai.com (172.27.123.102) with Microsoft SMTP Server (TLS) id 15.0.913.22; Mon, 29 Dec 2014 14:53:02 -0500
Received: from USMBX1.msg.corp.akamai.com ([169.254.1.15]) by USMA1EX-CASHUB5.kendall.corp.akamai.com ([172.27.105.21]) with mapi; Mon, 29 Dec 2014 14:53:02 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Benjamin Black <b@b3k.us>
Date: Mon, 29 Dec 2014 14:53:00 -0500
Thread-Topic: [Cfrg] Curve manipulation, revisited
Thread-Index: AdAjmgIRt0QBsxt7QYiJa7piBiAIXQABvLNQ
Message-ID: <2A0EFB9C05D0164E98F19BB0AF3708C71D55236F10@USMBX1.msg.corp.akamai.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236DA1@USMBX1.msg.corp.akamai.com> <68DF78C2-9F4D-457C-A32E-88A58E74A371@gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236ECC@USMBX1.msg.corp.akamai.com> <A7D3783D-0159-486E-8136-63E90E20AC0B@gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236EE7@USMBX1.msg.corp.akamai.com> <CA+Vbu7yaJNgi0JkhyBG6YEoKy+r5BFm_HwjL94sgHHOM7i3zOw@mail.gmail.com>
In-Reply-To: <CA+Vbu7yaJNgi0JkhyBG6YEoKy+r5BFm_HwjL94sgHHOM7i3zOw@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
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ObsTRmI8xVIP57jRxb8VyP8B9Kk
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 19:53:14 -0000

PiBOb3QgdG8gZ2V0IGFsbCBXYXRzb24gb24geW91LCBidXQgZG9lcyB0aGF0IG1lYW4geW91IGRv
bid0IGhhdmUgYSBzdHJvbmcgb3BpbmlvbiBvbiB0aGUgdHdpc3RlZCBFZHdhcmRzIGZvcm0/IA0K
DQpJIGRvbid0IGNvbnNpZGVyIG15c2VsZiBxdWFsaWZpZWQgZW5vdWdoIHRvIGhhdmUgYW4gb3Bp
bmlvbiB3b3J0aCBzdGF0aW5nLg0KDQoJL3IkDQoNCi0tICANClByaW5jaXBhbCBTZWN1cml0eSBF
bmdpbmVlciwgQWthbWFpIFRlY2hub2xvZ2llcw0KSU06IHJzYWx6QGphYmJlci5tZSBUd2l0dGVy
OiBSaWNoU2Fseg0K


From nobody Mon Dec 29 12:04:21 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 875AC1A8ADA for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 12:04: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 tTYReKn4vtEb for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 12:04:14 -0800 (PST)
Received: from mail-yh0-x22c.google.com (mail-yh0-x22c.google.com [IPv6:2607:f8b0:4002:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9B87A1A8AB9 for <cfrg@irtf.org>; Mon, 29 Dec 2014 12:04:14 -0800 (PST)
Received: by mail-yh0-f44.google.com with SMTP id c41so6803081yho.17 for <cfrg@irtf.org>; Mon, 29 Dec 2014 12:04:13 -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=91Kurkb/VQcPaJ1iixbcY81fIhGU8eUCXUksyeF+khk=; b=h1L+Xp41N75QidPCQrUWT2/AEXQfdhOEULsSjVw8lL3KxIcpBwBmtmTnpwNwaGOhf9 xp8936EQRyw1I48XyCuDvRRxNaFKV/jHbg6+x0aAWIAnvR6LTm/LsjH0YypYq1hH5mDT yiVXxa81deLHxX/w0WRNVxv5uGlpvbgU4t7l5O+zIqeQzDkvETMElzVOGQgqTQ5AJAjU OeKQxuhQ1xPbJk9afLUiYgU4WqrMqNAOBvsygwFiRW534J8xz43dJ4J7V5ELOsscgMS8 2bEaHxMB+QGVadDWhbf54Bh85tZg/xgjMzXwYbCWAUUMDeVNIkoa2NtT5Q8XadrClG01 +SuA==
MIME-Version: 1.0
X-Received: by 10.236.61.8 with SMTP id v8mr38582715yhc.44.1419883453699; Mon, 29 Dec 2014 12:04:13 -0800 (PST)
Received: by 10.170.207.6 with HTTP; Mon, 29 Dec 2014 12:04:13 -0800 (PST)
In-Reply-To: <CA+Vbu7wDMR9RdFAouxpVfrSwU0xV2s0N=DHZ+xO9afcNQpH9ZQ@mail.gmail.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <CACsn0ck1tJ5USLza_kFwBr94RqS6KfczHA2yR-v4opFC3o4dDQ@mail.gmail.com> <CA+Vbu7wDMR9RdFAouxpVfrSwU0xV2s0N=DHZ+xO9afcNQpH9ZQ@mail.gmail.com>
Date: Mon, 29 Dec 2014 15:04:13 -0500
Message-ID: <CACsn0c=Xc2Qp4QBFUSUL38iQoDd3554Ukw2nMRGfiUoeTN0d9Q@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/Lopdr3xs-ZKdIteuhujt40-FCbw
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 20:04:20 -0000

On Mon, Dec 29, 2014 at 1:25 PM, Benjamin Black <b@b3k.us> wrote:
> On Mon, Dec 29, 2014 at 5:36 AM, Watson Ladd <watsonbladd@gmail.com> wrote:
>>
>>
>> What do you think we should do about signatures? The Microsoft
>> proposal of ECDSA with Edwards points has all the disadvantages of
>> ECDSA and none of the "advantages" of being already standardized. It's
>> remarkable that when presenting a draft after the deadline, you
>> haven't discussed fundamental details of what you want the result to
>> look like. What goes on the wire?
>>
>
> The proposal to use ECDSA with Edwards points allows use of the new curves
> with the only EC-based signature scheme currently supported by TLS.
> Proposing that does not preclude a new signature scheme and I expect such a
> scheme would be welcome. I don't see that there needs to be one draft with
> the kitchen sink.

The problem is that ECDSA requires Weierstrass curves. It's not ECDSA
if you do what you propose. I understand the idea, but I think it is
too clever by half.

As it is, given the use of X-Montgomery coordinates for the key
exchange, it will no longer be possible to use exactly the same
implementations for signatures and key exchange. We could finesse the
issue by using short Weierstrass points, but no one has an appetite
for that.

>
>>
>> >
>> > My use of the term "compromise" when presenting the current draft seems
>> > to
>> > have opened the door to some misunderstanding. I used the term in the
>> > sense
>> > of finding common ground rather than in the sense of introducing flaws.
>> > I
>> > would not expect anyone in this process to find it acceptable to
>> > introduce
>> > what they believe to be a security flaw, conspiracy theorists aside. As
>> > Adam
>> > said, it would be a failure if the consensus that emerged from CFRG did
>> > not
>> > include Microsoft, as it would be if it didn't include Google or Akamai
>> > or
>> > anyone else with direct responsibility for protecting a billion people
>> > online. We have chosen to move some on what is acceptable to us because
>> > it
>> > is more important that there is a result that includes enough of the
>> > things
>> > we believe are essential for delivering that protection than that we get
>> > to
>> > be "right".
>>
>> You've said repeatedly you're committed to supporting the result:
>> seems to me that we can pick whatever we like. Horse trading and
>> logrolling is not the way to do things.
>>
>
> We will continue to implement things as appropriate for our customers and
> our business, neither of which are problems you have. We would prefer those
> things be what we believe are best. I don't see horse trading here, I see
> debate and collaboration. I understand in academia things are usually more
> adversarial.

Are you saying that customers won't use Curve25519, but will use your
proposed PinkBikeShed? What is the reason that PinkBikeShed is fine
and Curve25519 isn't?

About 6 months ago you insisted that Curve25519 wasn't acceptable to
your customers, and that Montgomery form wasn't either. Now magically
they are. Is this because your customer's views changed, or you invoke
them to support your own views, and never actually talked to them?

As for debate and collaboration, your current proposal uses the same
384 bit curve as before, despite the same issues as the old 256 bit
curve, which has been almost entirely replaced by Curve25519. Far from
deciding on an agreeable set of principles, you decide to make the low
security option more performant, and not change the higher security
option, while tacitly accepting E521, all choices which you had
previously strenuously argued against.

>
>>
>> >
>> > The view voiced by several people that the 128-bit security level curve
>> > in
>> > the draft is Curve25519 is a bit off base. First, the draft describes
>> > generation of (twisted) Edwards curves and the 128-bit curve has minimal
>> > d
>> > (given the addition of the newly manufactured cofactor constraint),
>> > while
>> > Ed25519 does not. This is an advantage for both performance and rigidity
>> > with a tiny reduction in simplicity of implementation, achieving a
>> > better
>> > balance between security, performance, and simplicity. Second, the
>> > specified
>> > base point is not the same and can't be the same without forcing the
>> > (arbitrary) choice. The result is that it is straightforward to modify
>> > existing Curve25519 implementations to use the new curve, but
>> > modification
>> > is likely required.
>>
>> I don't think this is right: I seem to remember the difference being
>> explained by isogeny vs. isomorphism.
>>
>
> Curve25519 is the isogenous Montgomery curve to the generated twisted
> Edwards curve. Perhaps we are getting crossed by the confused and confusing
> naming and renaming of the various parts of Curve25519?

I thought that was PinkBikeShed. To be clear: you have added the (8,4)
requirement to the draft, and so get a curve whose isogenous
Montgomery curve is Curve25519, but haven't updated the draft yet?

>
>>
>> Base points do not affect ECDH security. Why wouldn't you change it
>> for backwards compatibility?
>>
>
> I said it is an issue, as did Adam. I didn't say anything beyond that.
>
>>
>> You've changed the 128 bit prime to increase performance. Why not
>> apply the same logic to the choice of 384 bit prime?
>>
>
> We did not change the prime to increase performance.

In original NUMS the prime was 2^256-189. In the rpg-00 draft it is
2^255-19. Looks like a performance motivated change to me. But at 384
the choice remains the same.

>
>>
>> The question is not about changing the logic of the proposals: rather
>> it's about applying that logic inconsistently, and gratuitously
>> breaking deployed implementations.
>>
>
> You side-stepped every fact in my earlier email enumerating many
> inconsistencies in Dan's choices and continue to do so. The differences
> between the draft and twisted Edwards Curve25519 are because the draft is
> consistent. You are demanding consistency and then complaining when it
> doesn't produce the result you wanted. If Curve25519 were being designed
> today, based on the last 7 years of advancement, it would look like what is
> in the draft.

Oddly enough, the Montgomery form in the draft is PinkBikeShed, which
was examined and rejected for Curve25519.

>
>>
>> >
>> > On Wed, Dec 24, 2014 at 2:47 PM, D. J. Bernstein <djb@cr.yp.to> wrote:
>> >>
>> >> Once upon a time, Microsoft said that it was a "requirement" to have
>> >> "rigid parameter generation for primes and curve constants" given the
>> >> "security level".
>> >
>> >
>> > Once upon a time, Dan said that is was a "requirement" to use single
>> > coordinate ladders to eliminate invalid curve attacks against DH
>> > implementations:
>> >
>> > On Tue, Dec 2, 2014 at 1:28 AM, D. J. Bernstein <djb@cr.yp.to> wrote:
>> >>
>> >> Invalid-curve attacks completely break the simplest DH implementations
>> >> in Montgomery coordinates _and_ in Edwards coordinates. Rather than
>> >> blaming the implementor, we eliminate these security failures by
>> >>
>> >>    * adding twist security, for both Montgomery and Edwards, and
>> >>    * switching to single-coordinate ladders.
>> >
>> >
>> > Yet for Curve41417, ladders suddenly become optional, just as we've said
>> > all
>> > along they should be:
>> >
>> > "We use a windowing method with fixed window width for constant-time
>> > single-scalar multiplication on Curve41417 in Edwards form. Our analysis
>> > also
>> > allows good estimates of, e.g., the cost of signature verification using
>> > Curve41417.
>> > Another option for single-scalar multiplication is the Montgomery ladder
>> > for
>> > the
>> > Montgomery form of Curve41417; this is not quite as fast as the Edwards
>> > form
>> > but has the advantage of fitting the computation into less SRAM."
>> >
>> > It seems performance is the real priority here and you will happily
>> > discard
>> > things you insist are necessary for security when they conflict with
>> > performance. At the 128-bit security level the ladder can be faster. At
>> > the
>> > 200-bit+ security levels the ladder is slower. Should we blame the
>> > implementor who elects not to use a single-coordinate ladder? Should we
>> > wonder why you would choose not to eliminate these security failures?
>>
>> DJB sent a lengthy email to the list titled "Curves, Coordinates, and
>> Computations". In this email he explained that what an implementation
>> written by highly skilled and careful implementors for the ultimate in
>> performance does is not the same as one written for a maximum of
>> simplicity. The sentence you quoted had the word simple in it: that
>> word has a meaning you happily ignored.
>>
>
> Dan said single-coordinate ladders are required, full stop: "Rather than
> blaming the implementor, we eliminate these security failures by...switching
> to single-coordinate ladders." I'm not ignoring any part of the quoted text.
> Whether the the ladder is simpler has no bearing.
>
>>
>> Tweetnacl.c is probably the most widely used Curve25519
>> implementation. It's been translated into just about every language I
>> can think of. It can be very simple because it uses the Montgomery
>> ladder.
>>
>
> donna is the most widely used implementation.

Eeh, we could go back and forth on this one: Tor vs. everyone using tweetnacl.js

>
>>
>> Should I take this email as saying you won't make the changes needed
>> to get Curve25519?
>>
>
> What changes do you mean?

Cofactor requirements to go from PinkBikeShed to Curve25519, and
changes to the basepoint.

>
>>
>> >
>> > This section of your paper raises another interesting point. It seems a
>> > slight performance drop in exchange for consuming less SRAM can be a
>> > desirable property to you. In Adam's Faster Curve25519 post
>> > (https://www.imperialviolet.org/2013/05/10/fastercurve25519.html), he
>> > achieves significant performance improvements at a cost of 24KB of cache
>> > for
>> > tables. Our NUMS 256 curve performs slightly slower than this, but only
>> > requires 9KB for tables. The 15KB difference represents almost 25% of
>> > the
>> > 64KB L1 cache in a typical Xeon and almost 50% of the 32KB L1 data cache
>> > in
>> > a typical ARM. It's not quite as fast but has the advantage of fitting
>> > the
>> > computation into less SRAM.
>>
>> This is not a property of the curves, but of your implementation: the
>> same comb table optimization could be used by a Curve25519 optimized
>> implementation. That is, if it wasn't patented by Microsoft.
>>
>
> You aren't a lawyer and you, and everyone else on this list, needs to stop
> speculating in public about patents and how a given implementation might
> infringe them.
>
>>
>> AGL's described implementation uses a table with 512 entries,
>> representing x^{16^(2*i+1)j} for i zero, j potentially zero. But one
>> can also use 512 entries to store a comb of 8 bits: the LSB of each
>> exponent byte, the 2nd to LSB of each exponent byte, etc, as the
>> Microsoft implementation of NUMS whatever does, and use 8 additions
>> and 8 doublings to compute the result. This has nothing to do with the
>> choice of curve or prime.
>>
>
> Yes, a given curve performs differently depending on the exact
> implementation techniques used. Different techniques deliver different
> space/time trade-offs. That makes statements like "objectively better"
> dependent on the specifics of a given scenario, not some abstract Platonic
> ideal.

No, all curves with the same shape can use the same formulas and
coordinates and algorithms for computing scalar multiplies. The big
difference will be field arithmetic and size of constants. Which
techniques are used are orthogonal to which curves are picked.

Of course, if you want to unscrupulously promote a particular curve,
you can insist that well known optimizations for any group will only
apply to some groups, avoid using publicly verifiable benchmarks, and
make certain to implement optimizations for one curve that could be
applied to another, and screw up the benchmarking by borking the
setup.

Benchmarking is extremely tricky: all of the above can be done by
accident, and I've done them by accident.

>
>>
>> >
>> > On Mon, Dec 22, 2014 at 5:54 PM, Tanja Lange <tanja@hyperelliptic.org>
>> > wrote:
>> >>
>> >> I think a competition has more to offer than a 'collaboration' where
>> >> parties get more influence by having more people send emails to the
>> >> list.
>> >
>> >
>> > I'm not sure what point you are trying to make here. The people who
>> > haven't
>> > submitted curves should remain silent? That is antithetical to the IETF
>> > process. If you are suggesting it shouldn't be a process whereby a
>> > minority
>> > attempts to "stuff the ballot box" by getting a few people to yell loud
>> > and
>> > often to drown out differing opinions, then I agree. However, I don't
>> > think
>> > we would agree on who might be doing that.
>> >
>> >>
>> >> What should count are the merits of papers, implementations, and
>> >> internet
>> >> drafts so that proposals get more influence by being objectively
>> >> better.
>> >
>> >
>> > "Objectively better" is unrealistic as it depends on which
>> > implementation,
>> > which architectures, which benchmarks and which priorities people have
>> > for
>> > various properties of the curves. The example above for different L1
>> > cache
>> > footprint shows how slippery "objectively better" can be. Another
>> > example
>> > would be the large d in Ed25519 compared to the minimal d in the rpgecc
>> > draft. The smaller d is "objectively better" both in terms of
>> > performance
>> > and rigidity, but isn't quite as simple to move between twisted Edwards
>> > and
>> > Montgomery.
>> >
>> > On Thu, Dec 25, 2014 at 12:55 PM, Salz, Rich <rsalz@akamai.com> wrote:
>> >>> desirable. But, to make progress, people need to try and understand
>> >>> Microsoft's position.)
>> >>
>> >>Then perhaps, as you stated earlier in the note, it would be good if we
>> >> didn't have to guess.
>> >>
>> >>It's kinda funny that NUMS curve has us now wanting a NUMS rationale.
>> >> But
>> >> perhaps funny isn't the right word, maybe sad or >pathetic is.
>> >
>> > You've been in this from the start, so I find it odd you don't recall
>> > any of
>> > the numerous times this has been covered, Rich. We don't see the small
>> > potential performance gains as worth the additional flexibility
>> > introduced
>> > by manipulating prime selection like this. You are of course free to
>> > disagree, but there is no "objectively better" answer as it is a
>> > trade-off.
>> > You might also consider not calling things you don't understand or with
>> > which you disagree "sad" or "pathetic".
>>
>> What about the additional flexibility introduced by your new draft? A
>> user who listened to your old draft's claims of rigidity, shouldn't
>> accept the new drafts. Or is it that the "rigidity" claims have far
>> more to do with marketing than reality?
>>
>
> What flexibility exactly?

A user who accepted NUMS, and now accepts this draft, is accepting how
many curves? Earlier you claimed that users who accepted Curve25519
were accepting too many curves. Now they aren't. Unless, that is, that
rigidity as you use it, has nothing to do with resistance to
backdooring, nothing to do with what users will accept, nothing to do
with how BADA55 defined it, and everything to do with marketing.


>
>>
>> >
>> > On Mon, Nov 3, 2014 at 8:37 AM, Watson Ladd <watsonbladd@gmail.com>
>> > wrote:
>> >
>> > There are at least two, possibly three, fallacies present in this
>> > challenge.
>> > The first is that the enormous flexibility required to insert such a
>> > string
>> > in the coefficients is at all a relevant metric. The second is that the
>> > BADA55 work used what anyone who wasn't pushing a very particular agenda
>> > would call "reasonable constraints". The third is that the "performance
>> > approach" represents much additional performance, that the performance
>> > gains
>> > are certain regardless of architecture or protocol, or that any
>> > additional
>> > performance is free.
>>
>> I think the entire idea that one can backdoor curves involves "alien
>> technology". But even granting that, if 1/2 of all curves are weak,
>> even a completely rigid process (assuming one exists) isn't much
>> better. It's only interesting when rare properties are being targeted.
>
>
>>
>>
>>
>> If you actually read the BADA55 paper you would see they targeted
>> Brainpool, which had used the hash of a fundamental constant to
>> generate parameters.
>>
>
> Brainpool uses the two most common constants. BADA55 relies on carefully
> picking far less common constants. It's great marketing if your goal is to
> discredit work you think competes with your own. But if Brainpool is
> compromised, why would I trust anything from anyone responsible for
> producing it?

So you don't actually think actual rigidity matters, just how good a
marketing job you can do? Do you think the definition in BADA55 is
correct, or not?

>
>>
>> By contrast there are only 100 primes or so meeting the kinds of
>> performance constraints we have. Shake up the requirements, maybe we
>> get 4 curves on each prime, so about 400 curves. This is a wild
>> overestimate.
>
>
>>
>>
>>
>> With the NUMS approach, despite rhetoric of "a single curve for each
>> security level", users will actually accept a great deal more curves.
>>
>
> The draft is not NUMS.
>
>>
>> The additional performance of 2^255-19 vs 2^256-big costs nothing. It
>> exists on hardware ranging from 64 bit desktop machines to 32 bit
>> embedded processors and 18 bit FPGA and GPU multipliers. (GPUs got
>> better recently). In exchange for this hit you give us exactly
>> nothing.
>>
>
> The draft has 2^255-19, what are you talking about?

You are correct, I meant 2^384-big vs. 2^383-31 or 2^389-21. But
neither of these are as good as 2^448-2^224-1: there are no good
choices of prime around 2^384. I and Mike Hamburg gave 2^389-21 a try,
and we couldn't compare to your listed numbers for 2^384-big directly:
I think we concluded they were in the same ballpark. We can get a lot
more security for very little drop in speed with 2^448-2^224-1.

To be clear, I don't like the fact that x-coordinate Montgomery isn't
mentioned in the draft, the poor choice of high security prime, and
gratuitous differences from existing software.

Sincerely,
Watson Ladd

>
>
> b



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


From nobody Mon Dec 29 12:09:01 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 848F61AC3AE for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 12:08: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 BMlOwebaAzEO for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 12:08:57 -0800 (PST)
Received: from mail-we0-x22d.google.com (mail-we0-x22d.google.com [IPv6:2a00:1450:400c:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3948B1AC3B8 for <cfrg@irtf.org>; Mon, 29 Dec 2014 12:08:45 -0800 (PST)
Received: by mail-we0-f173.google.com with SMTP id q58so49427wes.18 for <cfrg@irtf.org>; Mon, 29 Dec 2014 12:08:43 -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=p9sveX3EI1nNQLE0bDgKDnQNNsmgRCR661/Vzd8JamA=; b=C1nNkeKG1cTw0Evzj6eSCTI9663f6ftl1+TgxKL5jwrVMmAygBJYsyxGtuhbs0eOfn F6kmXeI8JnMrpqIKf+35X1TsQf6ZvfMiPJ6EHjADZbPT5JRzGL4YEwPJ92mCYo/tGJCh j1Y9K9mkuZluQYRum/3nouhaTIml8gJrsF7WEuwH+ZW4ZIl/R+QJDlRUMwanXOfKkzIj Qy6WA3ZccrtRAe1/35s/FzaLOjHm5c2TPiVMmARnwkQTKUuDe12s5XNv8EJGCs2vJaU8 o8kWvSSlQgiW78Q2y+KP/aewX9C2EcA2ojVcbKp6/bu40ySooWMQeYu5dQ4J5MCsB1O8 XXjg==
X-Received: by 10.195.13.104 with SMTP id ex8mr6892380wjd.12.1419883723848; Mon, 29 Dec 2014 12:08:43 -0800 (PST)
Received: from [192.168.1.104] (IGLD-84-228-227-214.inter.net.il. [84.228.227.214]) by mx.google.com with ESMTPSA id n5sm40746705wic.6.2014.12.29.12.08.42 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Dec 2014 12:08:43 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <2A0EFB9C05D0164E98F19BB0AF3708C71D55236F10@USMBX1.msg.corp.akamai.com>
Date: Mon, 29 Dec 2014 22:08:41 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <A09FEC84-6EF1-4886-9D88-E737A0895738@gmail.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236DA1@USMBX1.msg.corp.akamai.com> <68DF78C2-9F4D-457C-A32E-88A58E74A371@gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236ECC@USMBX1.msg.corp.akamai.com> <A7D3783D-0159-486E-8136-63E90E20AC0B@gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236EE7@USMBX1.msg.corp.akamai.com> <CA+Vbu7yaJNgi0JkhyBG6YEoKy+r5BFm_HwjL94sgHHOM7i3zOw@mail.gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236F10@USMBX1.msg.corp.akamai.com>
To: Rich Salz <rsalz@akamai.com>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/2CjogM5jG27yWojh3zmcad-8byw
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 20:08:59 -0000

> On Dec 29, 2014, at 9:53 PM, Salz, Rich <rsalz@akamai.com> wrote:
>=20
>> Not to get all Watson on you, but does that mean you don't have a =
strong opinion on the twisted Edwards form?=20
>=20
> I don't consider myself qualified enough to have an opinion worth =
stating.

Me neither, but I would like the CFRG to come up with a signature =
algorithm and compatible curves for TLS / IKE / SSH. Deployment will be =
far slower. We need CFRG to recommend before TLS specifies, and TLS will =
specify before the browsers implement, and the CAs won=E2=80=99t sign =
certificates with such keys before the vast majority of browsers =
support. This is not like a new ECDHE curve where anyone can add it to =
their implementation.

Yoav


From nobody Mon Dec 29 12:25: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 1D9AE1AC432 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 12:25: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 frZcPBBT7MMS for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 12:25:19 -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 2C94C1A8AD0 for <cfrg@irtf.org>; Mon, 29 Dec 2014 12:25:19 -0800 (PST)
Received: by mail-yk0-f181.google.com with SMTP id 142so6683118ykq.40 for <cfrg@irtf.org>; Mon, 29 Dec 2014 12:25: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:content-transfer-encoding; bh=NpFOFZx9hp7SXkQ3JyX7RopyEw0jsf+6sRhwq55VchY=; b=wXdu+T+EHLSYdaVl+N1q3WONNzA24FfyulyZdZIXK+CmLS1FG4NRxboNA3KdvgTjxD DR0LBIHzbx0vtje25vdApid+xP/pHPEQopojH4MNoBsQbKF+V/SNMRMQNPHPQI8mS75r pJhvXHV1DzFp1gh9cjOrKJQ0CwqlnSAhcCuDSLc9QN/SvS2Au2YniB/hxZH5bzQLssNw GXioURaZUJxkzJjCxAdGazOLvv5aPzsy2SOFe9XwzhIvMdxAkqdBC2mT8kprOEqQoMp0 O8f+Hd2/D91xoc+sbF9KnXbWlX1UjsYGIv0vXOQLI7nlzDokDkUMiIIcMN8S9Sm80eVX VngA==
MIME-Version: 1.0
X-Received: by 10.170.220.195 with SMTP id m186mr11068253ykf.58.1419884718392;  Mon, 29 Dec 2014 12:25:18 -0800 (PST)
Received: by 10.170.207.6 with HTTP; Mon, 29 Dec 2014 12:25:18 -0800 (PST)
In-Reply-To: <CA+Vbu7zxGm3EE7h3K2mg5WoziUf4bmjoaCAVzFgaaGsE=kLFpQ@mail.gmail.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <CAMfhd9XEqMwFzJ4sK4aHGbke6REZb26uaEEv9gbM5v_goDzwUA@mail.gmail.com> <CA+Vbu7zO3OatbC+cXiV58hvJCuqiTYvnsSuyopDXum4qBX54fw@mail.gmail.com> <EBD3350E-93CA-4D85-91C0-560D17187572@shiftleft.org> <CA+Vbu7zxGm3EE7h3K2mg5WoziUf4bmjoaCAVzFgaaGsE=kLFpQ@mail.gmail.com>
Date: Mon, 29 Dec 2014 15:25:18 -0500
Message-ID: <CACsn0cnmy1u+1uY=8NMkq1Sh_A-kX9LOKJA3u1QFpO=ZgvFG2Q@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Benjamin Black <b@b3k.us>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/dC_hm_U3XbXACbW9_5qle5q5J9I
Cc: Adam Langley <agl@imperialviolet.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 20:25:21 -0000

On Mon, Dec 29, 2014 at 1:59 PM, Benjamin Black <b@b3k.us> wrote:
> On Mon, Dec 29, 2014 at 10:34 AM, Michael Hamburg <mike@shiftleft.org>
> wrote:
>>
>>
>> > On Dec 29, 2014, at 9:14 AM, Benjamin Black <b@b3k.us> wrote:
>> > Had Dan been insisting that ladders be _allowed_ then I would agree wi=
th
>> > you, as I have said the same (in the line just before the part you quo=
ted,
>> > even). What Dan said is that single-coordinate ladders are _required_.
>>
>> [=E2=80=A6]
>>
>> > My point was that space/time trade-offs like that seem to be acceptabl=
e
>> > or unacceptable to Dan depending on what is being argued.
>>
>> That=E2=80=99s because Dan has been arguing the opposite of what you cla=
im he=E2=80=99s
>> arguing.
>>
>> You claim he said that only one implementation strategy =E2=80=94 ladder=
s =E2=80=94is
>> acceptable.  But in fact, he=E2=80=99s been arguing that the curve/encod=
ing/protocol
>> should be chosen so that multiple implementation strategies =E2=80=94 la=
dders,
>> combs, whatever =E2=80=94 will be possible.
>>
>> That way, an implementor can decide what trade-offs are acceptable for h=
is
>> or her own implementation.  And if we make an especially good choice of
>> curve/encoding/protocol, most of those trade-offs can be good choices
>> instead of pitfalls.
>>
>> =E2=80=94 Mike
>
>
> I can only go on the things he puts in writing and they say the opposite.
>
>>Rather than
>>blaming the implementor, we eliminate these security failures by
>>
>>   * adding twist security, for both Montgomery and Edwards, and
>>   * switching to single-coordinate ladders.
>
> That is not a suggestion folks be allowed to implement the ladder if they
> choose to. It is a requirement that they not be allowed to use anything
> else. If they are allowed to use anything but single-coordinate ladders,
> then, in his own words, we have not eliminated these "security failures" =
and
> will be back to "blaming the implementor". If he means something else he
> should say something else.

I don't see how this quote supports your reading exclusively. In
particular, when looking at other messages to the list from DJB, I see
the position Mike describes.

RFC 6080, and the Suite B implementors guide don't describe many
common optimizations. Are these "not allowed"?

We can and should blame the implementor for security flaws. But when
we don't provide enough guidance in standards to avoid flaws, and make
the result overly complex in ways that invite errors, we're
responsible.

I also don't see why this matters: now that Montgomery x form and
complete coordinates for signatures are being used, there isn't a
difference between the rival proposals on this point.

Sincerely,
Watson Ladd

>
>
> b
>
>
>
>
>
> _______________________________________________
> 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 Dec 29 12:37: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 ED8231A8BB4 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 12:37: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 Yz_eUfqayLrj for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 12:36:56 -0800 (PST)
Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 128311A8AEB for <cfrg@irtf.org>; Mon, 29 Dec 2014 12:36:56 -0800 (PST)
Received: by mail-wg0-f45.google.com with SMTP id b13so19705883wgh.4 for <cfrg@irtf.org>; Mon, 29 Dec 2014 12:36:54 -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=+lCzwjIT+PHohgFnCWpcwHZsAW+Ck2/SJ3Xn2bIuGko=; b=CAyU3WXPTvPY+oZvp33DZsa6Wiq8Fnlhx26RdynBnZcYglumj2A/Sv7ZwPRZNW2wHX HfuYohKJdGDKS/hLJ/RJTlSQGQnqkIzdBN4zFt9+4GUN9CjsW55BosfxCXXGb/6Syk/S xQ6Kh6i+xkUzz3OM4sXGe+HzYvtwLd6QpRC+/7Ukvlkh252Nkc0E/xFP2Rs05Zf4jpXt wTA8MqCOfpObUJATodBnaWcS8HaGdUiDu2z/naQaP5JiGKfkSMFF/EQzPkwBGOvVWe4b +ukw3V9DcL/gr57lAU4ru+5HuTyUAGEacKAe8a+rLMMT2wcANJa7BKvTH+J5uxXHZTtM tuKA==
X-Gm-Message-State: ALoCoQlTuuWy4+rXOx6x1qvDG5YpODq2Q9MrVJCFZyuupFoOWXNuNzS9SSB9c80Mvq2UFsRRsbzX
X-Received: by 10.180.74.208 with SMTP id w16mr97736862wiv.2.1419885414742; Mon, 29 Dec 2014 12:36:54 -0800 (PST)
MIME-Version: 1.0
Received: by 10.216.190.139 with HTTP; Mon, 29 Dec 2014 12:36:34 -0800 (PST)
In-Reply-To: <CACsn0cnmy1u+1uY=8NMkq1Sh_A-kX9LOKJA3u1QFpO=ZgvFG2Q@mail.gmail.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <CAMfhd9XEqMwFzJ4sK4aHGbke6REZb26uaEEv9gbM5v_goDzwUA@mail.gmail.com> <CA+Vbu7zO3OatbC+cXiV58hvJCuqiTYvnsSuyopDXum4qBX54fw@mail.gmail.com> <EBD3350E-93CA-4D85-91C0-560D17187572@shiftleft.org> <CA+Vbu7zxGm3EE7h3K2mg5WoziUf4bmjoaCAVzFgaaGsE=kLFpQ@mail.gmail.com> <CACsn0cnmy1u+1uY=8NMkq1Sh_A-kX9LOKJA3u1QFpO=ZgvFG2Q@mail.gmail.com>
From: Benjamin Black <b@b3k.us>
Date: Mon, 29 Dec 2014 12:36:34 -0800
Message-ID: <CA+Vbu7y3dJ4sX3SxjnaxuTK2Ew5uEFOFbdSGveiqaNGBU98byw@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: multipart/alternative; boundary=f46d04389217c49413050b60d541
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/dsZ5nPOlJigef1MJaA4QLGzRXaI
Cc: Adam Langley <agl@imperialviolet.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 20:37:02 -0000

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

On Mon, Dec 29, 2014 at 12:25 PM, Watson Ladd <watsonbladd@gmail.com> wrote:
>
>
> I also don't see why this matters: now that Montgomery x form and
> complete coordinates for signatures are being used, there isn't a
> difference between the rival proposals on this point.
>
>
Does this mean you find the draft with the additions of x-only and the
cofactor constraint acceptable?


b

--f46d04389217c49413050b60d541
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 M=
on, Dec 29, 2014 at 12:25 PM, Watson Ladd <span dir=3D"ltr">&lt;<a href=3D"=
mailto:watsonbladd@gmail.com" target=3D"_blank">watsonbladd@gmail.com</a>&g=
t;</span> wrote:<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex">
<br>
I also don&#39;t see why this matters: now that Montgomery x form and<br>
complete coordinates for signatures are being used, there isn&#39;t a<br>
difference between the rival proposals on this point.<br>
<br></blockquote><div><br></div><div>Does this mean you find the draft with=
 the additions of x-only and the cofactor constraint acceptable?</div><div>=
<br></div><div><br></div><div>b</div><div>=C2=A0</div></div></div></div>

--f46d04389217c49413050b60d541--


From nobody Mon Dec 29 13:02:16 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 4A67E1A8F49 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 13:02:14 -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 SjwwYW5l_tZS for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 13:02:12 -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 4AFD61A8ACD for <cfrg@irtf.org>; Mon, 29 Dec 2014 13:02:11 -0800 (PST)
Received: from [192.168.1.102] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 880973AA12; Mon, 29 Dec 2014 13:00:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1419886806; bh=4xE6bQKdqtZg+pMuK849b81RVL3NnlV716iAxdqGuhc=; h=Date:From:To:CC:Subject:References:In-Reply-To:From; b=Vcnkyj1zGXAQrcTBfU+7dVOTSye7DAZqMlF5X4jqn5LpangP4DkKatuhcYxpQ3pBk 5JdndCZ8tu4Y10E47bWUXpeAr6dgW9Cfl3uXBsBK4j4n1JWKARerz+0Etg29ODH8o0 Vgxtvm/AKJQoJAcQnDkCcf3An48vWXiEyLx9H1VY=
Message-ID: <54A1C150.6080307@shiftleft.org>
Date: Mon, 29 Dec 2014 13:02:08 -0800
From: Mike Hamburg <mike@shiftleft.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: Benjamin Black <b@b3k.us>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <CAMfhd9XEqMwFzJ4sK4aHGbke6REZb26uaEEv9gbM5v_goDzwUA@mail.gmail.com> <CA+Vbu7zO3OatbC+cXiV58hvJCuqiTYvnsSuyopDXum4qBX54fw@mail.gmail.com> <EBD3350E-93CA-4D85-91C0-560D17187572@shiftleft.org> <CA+Vbu7zxGm3EE7h3K2mg5WoziUf4bmjoaCAVzFgaaGsE=kLFpQ@mail.gmail.com>
In-Reply-To: <CA+Vbu7zxGm3EE7h3K2mg5WoziUf4bmjoaCAVzFgaaGsE=kLFpQ@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------050105030604060503050101"
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/CorHHVzV9gsW-p5TIEkL0LtuZ4Q
Cc: Adam Langley <agl@imperialviolet.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 21:02:14 -0000

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


On 12/29/2014 10:59 AM, Benjamin Black wrote:
>
> I can only go on the things he puts in writing and they say the opposite.
>
> >Rather than
> >blaming the implementor, we eliminate these security failures by
> >
> >   * adding twist security, for both Montgomery and Edwards, and
> >   * switching to single-coordinate ladders.
>
> That is not a suggestion folks be allowed to implement the ladder if 
> they choose to. It is a requirement that they not be allowed to use 
> anything else. If they are allowed to use anything but 
> single-coordinate ladders, then, in his own words, we have not 
> eliminated these "security failures" and will be back to "blaming the 
> implementor". If he means something else he should say something else.
>
>
> b

Look, do you really want to argue one single message to death?  If so, 
maybe you should at least quote the whole message.  DJB wrote:
> Benjamin Black writes:
> > The concerns do not apply to the twisted Edwards curve we generated,
> > only to the isogenous Montgomery curve.
>
> False.
>
> Invalid-curve attacks completely break the simplest DH implementations
> in Montgomery coordinates _and_ in Edwards coordinates. Rather than
> blaming the implementor, we eliminate these security failures by
>
>     * adding twist security, for both Montgomery and Edwards, and
>     * switching to single-coordinate ladders.
>
> This is the primary motivation for twist security (and a closer look,
> as I've explained in detail, shows a twist-security criterion that's met
> by Curve25519 and not by PinkBikeShed). This has nothing to do with the
> superficial differences between the Montgomery x and the Edwards y, both
> of which support ladders.
>
> If you disagree, please explain why you're requiring _any_ type of twist
> security for Edwards curves. Why aren't you saying something like "The
> larger d forced by 'twist security' is a violation of rigidity" and
> objecting to the whole concept of twist security for Edwards curves?
>
> ---Dan
This is in the context of an argument against a cofactor-4 curve with a 
cofactor-8 twist (with Z8 torsion).  It is not about requiring ladders 
vs windows or combs.  The argument is that twist security is part of a 
strategy to secure single-coordinate ladders, so we should make sure 
that it actually does that.

To be clear, I'm ambivalent on this particular argument.  But if you 
read it as an argument that every implementation of ECDH should be 
banned except for single-coordinate ladders, then I believe that you are 
intentionally and obstinately misreading it.

And to think, I used to wonder why standards committees are so slow.

-- Mike

--------------050105030604060503050101
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 12/29/2014 10:59 AM, Benjamin Black
      wrote:<br>
    </div>
    <blockquote
cite="mid:CA+Vbu7zxGm3EE7h3K2mg5WoziUf4bmjoaCAVzFgaaGsE=kLFpQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote"><br>
            <div>I can only go on the things he puts in writing and they
              say the opposite.</div>
            <div><br>
            </div>
            <div><span style="font-size:13px">&gt;Rather than</span><br
                style="font-size:13px">
              <span style="font-size:13px">&gt;blaming the implementor,
                we eliminate these security failures by</span><br
                style="font-size:13px">
              &gt;<br style="font-size:13px">
              <span style="font-size:13px">&gt; Â  * adding twist
                security, for both Montgomery and Edwards, and</span><br
                style="font-size:13px">
              <span style="font-size:13px">&gt; Â  * switching to
                single-coordinate ladders.</span><br>
            </div>
          </div>
          <br>
        </div>
        <div class="gmail_extra">That is not a suggestion folks be
          allowed to implement the ladder if they choose to. It is a
          requirement that they not be allowed to use anything else. If
          they are allowed to use anything but single-coordinate
          ladders, then, in his own words, we have not eliminated these
          "security failures" and will be back to "blaming the
          implementor". If he means something else he should say
          something else.</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">b</div>
      </div>
    </blockquote>
    <br>
    Look, do you really want to argue one single message to death?Â  If
    so, maybe you should at least quote the whole message.Â  DJB wrote:<br>
    <blockquote type="cite">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <pre style="color: rgb(0, 0, 0); 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; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Benjamin Black writes:
&gt; The concerns do not apply to the twisted Edwards curve we generated, 
&gt; only to the isogenous Montgomery curve. 

False.

Invalid-curve attacks completely break the simplest DH implementations
in Montgomery coordinates _and_ in Edwards coordinates. Rather than
blaming the implementor, we eliminate these security failures by

   * adding twist security, for both Montgomery and Edwards, and
   * switching to single-coordinate ladders.

This is the primary motivation for twist security (and a closer look,
as I've explained in detail, shows a twist-security criterion that's met
by Curve25519 and not by PinkBikeShed). This has nothing to do with the
superficial differences between the Montgomery x and the Edwards y, both
of which support ladders.

If you disagree, please explain why you're requiring _any_ type of twist
security for Edwards curves. Why aren't you saying something like "The
larger d forced by 'twist security' is a violation of rigidity" and
objecting to the whole concept of twist security for Edwards curves?

---Dan
</pre>
    </blockquote>
    This is in the context of an argument against a cofactor-4 curve
    with a cofactor-8 twist (with Z8 torsion).Â  It is not about
    requiring ladders vs windows or combs.Â  The argument is that twist
    security is part of a strategy to secure single-coordinate ladders,
    so we should make sure that it actually does that.<br>
    <br>
    To be clear, I'm ambivalent on this particular argument.Â  But if you
    read it as an argument that every implementation of ECDH should be
    banned except for single-coordinate ladders, then I believe that you
    are intentionally and obstinately misreading it.<br>
    <br>
    And to think, I used to wonder why standards committees are so slow.<br>
    <br>
    -- Mike<br>
  </body>
</html>

--------------050105030604060503050101--


From nobody Mon Dec 29 13:07:48 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 5B8FC1A8ACD for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 13:07:46 -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 4OVI55kAt02I for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 13:07:43 -0800 (PST)
Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7E4121A900B for <cfrg@irtf.org>; Mon, 29 Dec 2014 13:07:43 -0800 (PST)
Received: by mail-wi0-f175.google.com with SMTP id l15so23039924wiw.8 for <cfrg@irtf.org>; Mon, 29 Dec 2014 13:07:42 -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=lCDtxRv/+sNeGQ5sCKiBzsbOCWeutRxF3HIEEILiHmI=; b=GcNKgqfJVEDp6bEQQHhtmUND1J6diqOnTPZMYL28iroA6aKAqbJG1gP6DL+bniFbcp DCyss1Xg6aLWWeuHGXPx1+vu0kKSNAvJ/U9TNqiVmdjQ3HNm1Hf9kbx0mDNvuc3JqZVg Sp1uN31wuQzJnzTpO9QlQSPm09Bo/t7yCfqzfOFGoubTess1mVKnBI2ypLqEPrgzQCdH WzTB8025+lrPyq9H7P5fKGRRLbolTVHrphm16R0xrU/jsglRofcSUo4azSPx7UXnkElC lG/r9p1Z6rfTs/WInoCKOsTUgr4qkjWaK3u5+A8b2pkdIQ2Eh7z2Pb45onPcecQ9OSnP /p4g==
X-Gm-Message-State: ALoCoQnrcZt5VqJ1AcxY+oaSmRU/KWj8uqzpS+iPC3uoPq+xWgbsAXjypefO7ThdDIKbIwSSiKkk
X-Received: by 10.180.90.16 with SMTP id bs16mr98084915wib.4.1419887262048; Mon, 29 Dec 2014 13:07:42 -0800 (PST)
MIME-Version: 1.0
Received: by 10.216.190.139 with HTTP; Mon, 29 Dec 2014 13:07:21 -0800 (PST)
In-Reply-To: <54A1C150.6080307@shiftleft.org>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <CAMfhd9XEqMwFzJ4sK4aHGbke6REZb26uaEEv9gbM5v_goDzwUA@mail.gmail.com> <CA+Vbu7zO3OatbC+cXiV58hvJCuqiTYvnsSuyopDXum4qBX54fw@mail.gmail.com> <EBD3350E-93CA-4D85-91C0-560D17187572@shiftleft.org> <CA+Vbu7zxGm3EE7h3K2mg5WoziUf4bmjoaCAVzFgaaGsE=kLFpQ@mail.gmail.com> <54A1C150.6080307@shiftleft.org>
From: Benjamin Black <b@b3k.us>
Date: Mon, 29 Dec 2014 13:07:21 -0800
Message-ID: <CA+Vbu7yXj-+oaZa83w187cSNw9aJxeaDEycaoBGDS1GPf3wR7Q@mail.gmail.com>
To: Mike Hamburg <mike@shiftleft.org>
Content-Type: multipart/alternative; boundary=f46d043c7e20e03756050b61433c
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/1QMtUTDAvLXkaYY7gLSjeV65plo
Cc: Adam Langley <agl@imperialviolet.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 21:07:46 -0000

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

Sorry, Mike, that's how I read it. Let's agree to disagree.

On Mon, Dec 29, 2014 at 1:02 PM, Mike Hamburg <mike@shiftleft.org> wrote:

>
> On 12/29/2014 10:59 AM, Benjamin Black wrote:
>
>
> I can only go on the things he puts in writing and they say the opposite.
>
>  >Rather than
> >blaming the implementor, we eliminate these security failures by
> >
> >   * adding twist security, for both Montgomery and Edwards, and
> >   * switching to single-coordinate ladders.
>
>  That is not a suggestion folks be allowed to implement the ladder if
> they choose to. It is a requirement that they not be allowed to use
> anything else. If they are allowed to use anything but single-coordinate
> ladders, then, in his own words, we have not eliminated these "security
> failures" and will be back to "blaming the implementor". If he means
> something else he should say something else.
>
>
>  b
>
>
> Look, do you really want to argue one single message to death?  If so,
> maybe you should at least quote the whole message.  DJB wrote:
>
> Benjamin Black writes:
> > The concerns do not apply to the twisted Edwards curve we generated,
> > only to the isogenous Montgomery curve.
>
> False.
>
> Invalid-curve attacks completely break the simplest DH implementations
> in Montgomery coordinates _and_ in Edwards coordinates. Rather than
> blaming the implementor, we eliminate these security failures by
>
>    * adding twist security, for both Montgomery and Edwards, and
>    * switching to single-coordinate ladders.
>
> This is the primary motivation for twist security (and a closer look,
> as I've explained in detail, shows a twist-security criterion that's met
> by Curve25519 and not by PinkBikeShed). This has nothing to do with the
> superficial differences between the Montgomery x and the Edwards y, both
> of which support ladders.
>
> If you disagree, please explain why you're requiring _any_ type of twist
> security for Edwards curves. Why aren't you saying something like "The
> larger d forced by 'twist security' is a violation of rigidity" and
> objecting to the whole concept of twist security for Edwards curves?
>
> ---Dan
>
>  This is in the context of an argument against a cofactor-4 curve with a
> cofactor-8 twist (with Z8 torsion).  It is not about requiring ladders vs
> windows or combs.  The argument is that twist security is part of a
> strategy to secure single-coordinate ladders, so we should make sure that
> it actually does that.
>
> To be clear, I'm ambivalent on this particular argument.  But if you read
> it as an argument that every implementation of ECDH should be banned except
> for single-coordinate ladders, then I believe that you are intentionally
> and obstinately misreading it.
>
> And to think, I used to wonder why standards committees are so slow.
>
> -- Mike
>

--f46d043c7e20e03756050b61433c
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">Sorr=
y, Mike, that&#39;s how I read it. Let&#39;s agree to disagree.<br></div><d=
iv class=3D"gmail_quote"><br></div><div class=3D"gmail_quote">On Mon, Dec 2=
9, 2014 at 1:02 PM, Mike Hamburg <span dir=3D"ltr">&lt;<a href=3D"mailto:mi=
ke@shiftleft.org" target=3D"_blank">mike@shiftleft.org</a>&gt;</span> wrote=
:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:so=
lid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000"><span class=3D"">
    <br>
    <div>On 12/29/2014 10:59 AM, Benjamin Black
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div class=3D"gmail_extra">
          <div class=3D"gmail_quote"><br>
            <div>I can only go on the things he puts in writing and they
              say the opposite.</div>
            <div><br>
            </div>
            <div><span style=3D"font-size:13px">&gt;Rather than</span><br s=
tyle=3D"font-size:13px">
              <span style=3D"font-size:13px">&gt;blaming the implementor,
                we eliminate these security failures by</span><br style=3D"=
font-size:13px">
              &gt;<br style=3D"font-size:13px">
              <span style=3D"font-size:13px">&gt; =C2=A0 * adding twist
                security, for both Montgomery and Edwards, and</span><br st=
yle=3D"font-size:13px">
              <span style=3D"font-size:13px">&gt; =C2=A0 * switching to
                single-coordinate ladders.</span><br>
            </div>
          </div>
          <br>
        </div>
        <div class=3D"gmail_extra">That is not a suggestion folks be
          allowed to implement the ladder if they choose to. It is a
          requirement that they not be allowed to use anything else. If
          they are allowed to use anything but single-coordinate
          ladders, then, in his own words, we have not eliminated these
          &quot;security failures&quot; and will be back to &quot;blaming t=
he
          implementor&quot;. If he means something else he should say
          something else.</div>
        <div class=3D"gmail_extra"><br>
        </div>
        <div class=3D"gmail_extra"><br>
        </div>
        <div class=3D"gmail_extra">b</div>
      </div>
    </blockquote>
    <br></span>
    Look, do you really want to argue one single message to death?=C2=A0 If
    so, maybe you should at least quote the whole message.=C2=A0 DJB wrote:=
<br>
    <blockquote type=3D"cite">
     =20
      <pre style=3D"color:rgb(0,0,0);font-style:normal;font-variant:normal;=
font-weight:normal;letter-spacing:normal;line-height:normal;text-align:star=
t;text-indent:0px;text-transform:none;word-spacing:0px">Benjamin Black writ=
es:
&gt; The concerns do not apply to the twisted Edwards curve we generated,=
=20
&gt; only to the isogenous Montgomery curve.=20

False.

Invalid-curve attacks completely break the simplest DH implementations
in Montgomery coordinates _and_ in Edwards coordinates. Rather than
blaming the implementor, we eliminate these security failures by

   * adding twist security, for both Montgomery and Edwards, and
   * switching to single-coordinate ladders.

This is the primary motivation for twist security (and a closer look,
as I&#39;ve explained in detail, shows a twist-security criterion that&#39;=
s met
by Curve25519 and not by PinkBikeShed). This has nothing to do with the
superficial differences between the Montgomery x and the Edwards y, both
of which support ladders.

If you disagree, please explain why you&#39;re requiring _any_ type of twis=
t
security for Edwards curves. Why aren&#39;t you saying something like &quot=
;The
larger d forced by &#39;twist security&#39; is a violation of rigidity&quot=
; and
objecting to the whole concept of twist security for Edwards curves?

---Dan
</pre>
    </blockquote>
    This is in the context of an argument against a cofactor-4 curve
    with a cofactor-8 twist (with Z8 torsion).=C2=A0 It is not about
    requiring ladders vs windows or combs.=C2=A0 The argument is that twist
    security is part of a strategy to secure single-coordinate ladders,
    so we should make sure that it actually does that.<br>
    <br>
    To be clear, I&#39;m ambivalent on this particular argument.=C2=A0 But =
if you
    read it as an argument that every implementation of ECDH should be
    banned except for single-coordinate ladders, then I believe that you
    are intentionally and obstinately misreading it.<br>
    <br>
    And to think, I used to wonder why standards committees are so slow.<br=
>
    <br>
    -- Mike<br>
  </div>

</blockquote></div><br></div></div>

--f46d043c7e20e03756050b61433c--


From nobody Mon Dec 29 13:12:08 2014
Return-Path: <rob.stradling@comodo.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 CCC841A910B for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 13:11: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 Gt8EZI8UeZDN for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 13:11:52 -0800 (PST)
Received: from mmextmx2.mcr.colo.comodoca.net (mmextmx2.mcr.colo.comodoca.net [IPv6:2a02:1788:402:c00::c0a8:9cd6]) (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 7DC241A90D3 for <cfrg@irtf.org>; Mon, 29 Dec 2014 13:11:47 -0800 (PST)
Received: (qmail 19364 invoked by uid 1004); 29 Dec 2014 21:11:45 -0000
Received: from ian.brad.office.comodo.net (HELO ian.brad.office.comodo.net) (192.168.0.202) by mmextmx2.mcr.colo.comodoca.net (qpsmtpd/0.84) with ESMTP; Mon, 29 Dec 2014 21:11:45 +0000
Received: (qmail 24695 invoked by uid 1000); 29 Dec 2014 21:11:45 -0000
Received: from and0004.comodo.net (HELO [192.168.0.58]) (192.168.0.58) (smtp-auth username rob, mechanism plain) by ian.brad.office.comodo.net (qpsmtpd/0.40) with (AES128-SHA encrypted) ESMTPSA; Mon, 29 Dec 2014 21:11:45 +0000
Message-ID: <54A1C390.1010803@comodo.com>
Date: Mon, 29 Dec 2014 21:11:44 +0000
From: Rob Stradling <rob.stradling@comodo.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: Yoav Nir <ynir.ietf@gmail.com>, Rich Salz <rsalz@akamai.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com><1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com><CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com><CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com><2A0EFB9C05D0164E98F19BB0AF3708C71D55236DA1@USMBX1.msg.corp.akamai.com><68DF78C2-9F4D-457C-A32E-88A58E74A371@gmail.com><2A0EFB9C05D0164E98F19BB0AF3708C71D55236ECC@USMBX1.msg.corp.akamai.com><A7D3783D-0159-486E-8136-63E90E20AC0B@gmail.com><2A0EFB9C05D0164E98F19BB0AF3708C71D55236EE7@USMBX1.msg.corp.akamai.com><CA+Vbu7yaJNgi0JkhyBG6YEoKy+r5BFm_HwjL94sgHHOM7i3zOw@mail.gmail.com><2A0EFB9C05D0164E98F19BB0AF3708C71D55236F10@USMBX1.msg.corp.akamai.com> <A09FEC84-6EF1-4886-9D88-E737A0895738@gmail.com>
In-Reply-To: <A09FEC84-6EF1-4886-9D88-E737A0895738@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/D8_tdQNU6WeFfGozInARhgXFQ3A
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 21:11:56 -0000

On 29/12/14 20:08, Yoav Nir wrote:
>
>> On Dec 29, 2014, at 9:53 PM, Salz, Rich <rsalz@akamai.com> wrote:
>>
>>> Not to get all Watson on you, but does that mean you don't have a strong opinion on the twisted Edwards form?
>>
>> I don't consider myself qualified enough to have an opinion worth stating.
>
> Me neither, but I would like the CFRG to come up with a signature algorithm and compatible curves for TLS / IKE / SSH. Deployment will be far slower. We need CFRG to recommend before TLS specifies, and TLS will specify before the browsers implement,

+1

> and the CAs wonâ€™t sign certificates with such keys before the vast majority of browsers support.

I hope that CAs will be ready and willing to sign such certs sooner than 
that.

There might not be huge demand for such certs until there is widespread 
browser support, but I expect there will be some demand.  And if there 
is some demand then CAs may as well add support for the CFRG-blessed 
curves and signature algorithms ASAP.  We won't even need to wait for 
new HSMs in order to issue such certs from our existing RSA and ECDSA 
issuing CAs.

Some TLS server software (notably Apache httpd) can already use several 
certs for the same hostname, where each cert has a different public key 
algorithm (RSA, DSA, ECC).  This means that certs with P-256 and P-384 
public keys can be used where there is browser support, with fallback to 
certs with RSA public keys for the long tail of non-ECC-capable browsers.
I'd like to think that it wouldn't be too hard to make this sort of 
mechanism also support certs with keys on the new CFRG curve(s).

> This is not like a new ECDHE curve where anyone can add it to their implementation.
>
> Yoav

-- 
Rob Stradling
Senior Research & Development Scientist
COMODO - Creating Trust Online


From nobody Mon Dec 29 13:16:03 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 01CE61ACD04 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 13:16:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level: 
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 wmF5uImpxmWH for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 13:16:01 -0800 (PST)
Received: from prod-mail-xrelay02.akamai.com (prod-mail-xrelay02.akamai.com [72.246.2.14]) by ietfa.amsl.com (Postfix) with ESMTP id 71BA71ACCE0 for <cfrg@irtf.org>; Mon, 29 Dec 2014 13:16:01 -0800 (PST)
Received: from prod-mail-xrelay02.akamai.com (localhost [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 717B228521; Mon, 29 Dec 2014 21:16:00 +0000 (GMT)
Received: from prod-mail-relay07.akamai.com (prod-mail-relay07.akamai.com [172.17.121.112]) by prod-mail-xrelay02.akamai.com (Postfix) with ESMTP id 5C94B28520; Mon, 29 Dec 2014 21:16:00 +0000 (GMT)
Received: from email.msg.corp.akamai.com (usma1ex-casadmn.msg.corp.akamai.com [172.27.123.33]) by prod-mail-relay07.akamai.com (Postfix) with ESMTP id 1D25C8003C; Mon, 29 Dec 2014 21:16:00 +0000 (GMT)
Received: from usma1ex-cashub7.kendall.corp.akamai.com (172.27.105.23) by usma1ex-dag1mb1.msg.corp.akamai.com (172.27.123.101) with Microsoft SMTP Server (TLS) id 15.0.913.22; Mon, 29 Dec 2014 16:15:59 -0500
Received: from USMBX1.msg.corp.akamai.com ([169.254.1.15]) by usma1ex-cashub7.kendall.corp.akamai.com ([172.27.105.23]) with mapi; Mon, 29 Dec 2014 16:15:58 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Rob Stradling <rob.stradling@comodo.com>, Yoav Nir <ynir.ietf@gmail.com>
Date: Mon, 29 Dec 2014 16:15:58 -0500
Thread-Topic: [Cfrg] Curve manipulation, revisited
Thread-Index: AdAjrBCozgIoHdTKRq6xWReMBtcrkgAACqiA
Message-ID: <2A0EFB9C05D0164E98F19BB0AF3708C71D55236F3D@USMBX1.msg.corp.akamai.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com><1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com><CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com><CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com><2A0EFB9C05D0164E98F19BB0AF3708C71D55236DA1@USMBX1.msg.corp.akamai.com><68DF78C2-9F4D-457C-A32E-88A58E74A371@gmail.com><2A0EFB9C05D0164E98F19BB0AF3708C71D55236ECC@USMBX1.msg.corp.akamai.com><A7D3783D-0159-486E-8136-63E90E20AC0B@gmail.com><2A0EFB9C05D0164E98F19BB0AF3708C71D55236EE7@USMBX1.msg.corp.akamai.com><CA+Vbu7yaJNgi0JkhyBG6YEoKy+r5BFm_HwjL94sgHHOM7i3zOw@mail.gmail.com><2A0EFB9C05D0164E98F19BB0AF3708C71D55236F10@USMBX1.msg.corp.akamai.com> <A09FEC84-6EF1-4886-9D88-E737A0895738@gmail.com> <54A1C390.1010803@comodo.com>
In-Reply-To: <54A1C390.1010803@comodo.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
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/FpEr_75Tx-tTbgtQVVU0KC6h7K8
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 21:16:03 -0000

PiBTb21lIFRMUyBzZXJ2ZXIgc29mdHdhcmUgKG5vdGFibHkgQXBhY2hlIGh0dHBkKSBjYW4gYWxy
ZWFkeSB1c2Ugc2V2ZXJhbA0KPiBjZXJ0cyBmb3IgdGhlIHNhbWUgaG9zdG5hbWUsIHdoZXJlIGVh
Y2ggY2VydCBoYXMgYSBkaWZmZXJlbnQgcHVibGljIGtleQ0KPiBhbGdvcml0aG0gKFJTQSwgRFNB
LCBFQ0MpLiAgVGhpcyBtZWFucyB0aGF0IGNlcnRzIHdpdGggUC0yNTYgYW5kIFAtMzg0IHB1Ymxp
Yw0KPiBrZXlzIGNhbiBiZSB1c2VkIHdoZXJlIHRoZXJlIGlzIGJyb3dzZXIgc3VwcG9ydCwgd2l0
aCBmYWxsYmFjayB0byBjZXJ0cyB3aXRoDQo+IFJTQSBwdWJsaWMga2V5cyBmb3IgdGhlIGxvbmcg
dGFpbCBvZiBub24tRUNDLWNhcGFibGUgYnJvd3NlcnMuDQoNCkFueSBzZXJ2ZXIgdGhhdCB1c2Vz
IE9wZW5TU0wgY2FuIGRvIHRoaXMsIHByb3ZpZGVkIHRoZXkgbWFrZSB0aGUgY2FsbHMgdG8gcmVn
aXN0ZXIgdGhlIGtleXBhaXJzLiAgKEFuZCBvbmx5IHRoZSBOSVNUIGN1cnZlcyBhcmUgY3VycmVu
dGx5IHN1cHBvcnRlZC4pICBTbyB0aGF0IHByb2JhYmx5IGluY2x1ZGVzLCBuZ2lueCwgTm9kZS5q
cywgYW55dGhpbmcgYnVpbHQgb24gUnVieSBvciBQeXRob24sIGV0Yy4gIFNvbWUgbWlub3IgY29k
ZSB3b3JrIChjb25maWcgYW5kIG1ha2luZyBhbiBhZGRpdGlvbmFsIEFQSSBjYWxsKSBjb3VsZCBi
ZSByZXF1aXJlZCwgYnV0IHRoYXQncyBwcmV0dHkgZWFzeS4gDQoNCi0tICANClByaW5jaXBhbCBT
ZWN1cml0eSBFbmdpbmVlciwgQWthbWFpIFRlY2hub2xvZ2llcw0KSU06IHJzYWx6QGphYmJlci5t
ZSBUd2l0dGVyOiBSaWNoU2Fseg0K


From nobody Mon Dec 29 13:48:07 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 AC12E1ACDB2 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 13:48:05 -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 DBPTH7MVB54e for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 13:48:04 -0800 (PST)
Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6FE041A90EC for <cfrg@irtf.org>; Mon, 29 Dec 2014 13:47:58 -0800 (PST)
Received: by mail-wi0-f177.google.com with SMTP id l15so23132004wiw.4 for <cfrg@irtf.org>; Mon, 29 Dec 2014 13:47: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=U4rtmoJG6ZkaY9CIT7Ydqmk/Vm1WutmnOxbxSmb30YY=; b=bANp9aOh4JQRn59/nY5FI8I/3Q4VIQmnNOSyTYXz+XyJi7fgXr9iHwZdCCkQ7ruFkB 18RasF615yY0rIXnLWhnXNYixUGPnhRivKaCCvnpxzIV5tUy+1BBWvc5F6G0xzGt5siG yG2/+yBTuaQOg3UalalpXikFFiqU9pT1X7KjKGuZYeSofBHGI7YvuRTAYmoSblOF+yiU hqE/deX8Mr/P94FWVZiu3hCgDyAF8A4GNbVgDVFzwGBrihzctNniECxl+uvmH6qr+9uO xRzt6SQci1FV06P1XF1FHgN67FVhL41lEtN2GZrCc8oVVgBiDodlDMbKO3tmXQ2kAwjX hTeA==
X-Gm-Message-State: ALoCoQkBLkdNRGfW6xZDvcFaGfs/RSvcAloqJcDOIAtg1lpJwJXspWLcIF1TgXLV1I8TRPNlHgKd
X-Received: by 10.194.71.203 with SMTP id x11mr115431443wju.131.1419889677070;  Mon, 29 Dec 2014 13:47:57 -0800 (PST)
MIME-Version: 1.0
Received: by 10.216.190.139 with HTTP; Mon, 29 Dec 2014 13:47:36 -0800 (PST)
In-Reply-To: <CACsn0c=Xc2Qp4QBFUSUL38iQoDd3554Ukw2nMRGfiUoeTN0d9Q@mail.gmail.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <CACsn0ck1tJ5USLza_kFwBr94RqS6KfczHA2yR-v4opFC3o4dDQ@mail.gmail.com> <CA+Vbu7wDMR9RdFAouxpVfrSwU0xV2s0N=DHZ+xO9afcNQpH9ZQ@mail.gmail.com> <CACsn0c=Xc2Qp4QBFUSUL38iQoDd3554Ukw2nMRGfiUoeTN0d9Q@mail.gmail.com>
From: Benjamin Black <b@b3k.us>
Date: Mon, 29 Dec 2014 13:47:36 -0800
Message-ID: <CA+Vbu7y3JNExqJV2LttfPJLSAxN3SDmaga-eFtRzVfM9-WaZcw@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: multipart/alternative; boundary=047d7bfd0bd2d28ccb050b61d3c7
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/EibRqHfS83rjL0kHQtooCjCI4eg
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 29 Dec 2014 21:48:05 -0000

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

On Mon, Dec 29, 2014 at 12:04 PM, Watson Ladd <watsonbladd@gmail.com> wrote:

>
> You are correct, I meant 2^384-big vs. 2^383-31 or 2^389-21. But
> neither of these are as good as 2^448-2^224-1: there are no good
> choices of prime around 2^384. I and Mike Hamburg gave 2^389-21 a try,
> and we couldn't compare to your listed numbers for 2^384-big directly:
> I think we concluded they were in the same ballpark. We can get a lot
> more security for very little drop in speed with 2^448-2^224-1.
>
>
How far from 2^384 did you look? I think it would be useful to the group to
know which candidates were considered and why they were rejected.


b

--047d7bfd0bd2d28ccb050b61d3c7
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 M=
on, Dec 29, 2014 at 12:04 PM, Watson Ladd <span dir=3D"ltr">&lt;<a href=3D"=
mailto:watsonbladd@gmail.com" target=3D"_blank">watsonbladd@gmail.com</a>&g=
t;</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>
</span>You are correct, I meant 2^384-big vs. 2^383-31 or 2^389-21. But<br>
neither of these are as good as 2^448-2^224-1: there are no good<br>
choices of prime around 2^384. I and Mike Hamburg gave 2^389-21 a try,<br>
and we couldn&#39;t compare to your listed numbers for 2^384-big directly:<=
br>
I think we concluded they were in the same ballpark. We can get a lot<br>
more security for very little drop in speed with 2^448-2^224-1.<br>
<br></blockquote><div><br></div><div>How far from 2^384 did you look? I thi=
nk it would be useful to the group to know which candidates were considered=
 and why they were rejected.</div><div><br></div><div><br></div><div>b</div=
><div><br></div></div></div></div>

--047d7bfd0bd2d28ccb050b61d3c7--


From nobody Mon Dec 29 15:14:23 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 C327D1A90FB for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 15:14:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.256
X-Spam-Level: ****
X-Spam-Status: No, score=4.256 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, 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 Z_J6liUcXYGu for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 15:14:18 -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 DF7851A9030 for <cfrg@irtf.org>; Mon, 29 Dec 2014 15:14:17 -0800 (PST)
Received: from [192.168.1.102] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 37C033AA12 for <cfrg@irtf.org>; Mon, 29 Dec 2014 15:12:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1419894734; bh=QGb7nhxPrlCSFZ0BzZGGxZe17Vvs3RTcEJw99F0j7wk=; h=Date:From:To:Subject:From; b=cO79EvTrestu+xtgIRhyDPfAMN0ayrcbMsqqgAAmSs2KmAriE1Cu3CCVM4LMLin2g FCWH5ssCl0iUCJQBl8HgC+zLUh8ncpf3klXpbj9EjxBRSk6x1ZZI+jBn3mh2WqM60f pSxUA5kuOPaiLMVLCDrn6PMLjN4nQXN3NaJvO3Kk=
Message-ID: <54A1E049.9000404@shiftleft.org>
Date: Mon, 29 Dec 2014 15:14:17 -0800
From: Mike Hamburg <mike@shiftleft.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: multipart/alternative; boundary="------------090807080305020704050406"
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/AhaM4XitN8bwh_a2vxklBsqNkXo
Subject: [Cfrg] Benchmarks: 384 vs 389 vs Goldilocks vs ... on Haswell
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, 29 Dec 2014 23:14:20 -0000

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

Hi all,

The chairs requested that I implement and benchmark 2^389 - 21, 
suggested by Ilari.

I've benchmarked several primes that have been discussed on this list.  
I used a Haswell machine running Linux test everything, including MSR 
ECCLib 1.1.  Cycle counts for mul/sqr:

MSR ECCLib (all asm, but no BMI2):
P256-mers: M = 59.2, S = 47.8.
P384-mers: M = 117.5, S = 89.8.
P512-mers: M = 199.9, S = 140.6.

My code (C with BMI2 mul+acc intrinsics):
P389: M = 112.5, S = 75.5.
Goldilocks P448: M = 118.0, S = 88.9.
Ridinghood P480: M = 118.2, S = 89.1.
NIST P521: M = 145.5, S = 110.7.

With this machine/compiler combination, 2^389 - 21 is showing at about 
8-9% faster than MSR 384-mers and Goldilocks, which are within 0.1% of 
each other.

CPU:
Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz .

Compiler:
Ubuntu clang version 3.5-1ubuntu1 (trunk) (based on LLVM 3.5)
Target: x86_64-pc-linux-gnu
Thread model: posix

Notes:

* All benchmarks computed by timing and multiplying by 3.5932GHz, since 
that's what calib() spat out.

* The P389 code is mul-after-add clean.  I did this by multiplying the 
arguments to a multiply separately by 8 and 21.  The code without this 
feature is marginally (<1%) faster.

* I haven't tested the correctness of the P389 code, nor have I built it 
into a curve.  So sue me, I'm on vacation.

* ECCLib, P389*, P448: 10^8 trials, noinline'd functions, 
32-byte-aligned stack buffers, no dependencies in the multiplications.  
TurboBoost and HyperThreading disabled. Benchmarks are stable to about 3 
significant figures.

* P480, P521, because I'm lazy: Goldilocks `make bench`, 10^8/2 trials, 
noinlined functions, 32-byte-aligned stack buffers, no dependencies.  
Almost exactly consistent when benchmarking P448.

* For MSR ECCLib I called directly into ecc384.o's functions, using the 
same benchmarking framework code as for P389.

* Earlier, offlist testing on a Haswell MacBook Air showed about a 2% 
advantage to 2^389 - 21 instead of 8%.  The code improvements to P389 
since then are not sufficient to explain the better results: they are 
apparently machine/compiler dependent.  I thought that Clang 3.5 might 
be responsible, since I've seen performance differences in arithmetic 
code with it.  But clang-3.3, 3.4 and 3.5 all give similar results for 
those primes.  GCC 4.9 gives slightly worse results for everything but 
the MSR asm code.

* The P389 code is probably less tuned than its competitors. The MS code 
is written in pure asm, but it doesn't take advantage of BMI2. The 
Goldilocks and P389 code are C with an asm multiply/accumulate 
intrinsic, but I spent more time tuning the Goldilocks code.

* The Ridinghood code is the same as the Goldilocks code with different 
shift constants.  The P-521 code is the arch_x86_64_r12 version, using 9 
limbs vector-aligned to a 12-word structure.

* I have no data about 2^389 - 21 on other platforms, but offlist 
discussions suggest that it will be OK, if perhaps annoying to 
implement, on 32-bit platforms.

Cheers,
-- Mike

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

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi all,
    <br>
    <br>
    The chairs requested that I implement and benchmark 2^389 - 21,
    suggested by Ilari.<br>
    <br>
    I've benchmarked several primes that have been discussed on this
    list.Â  I used a Haswell machine running Linux test everything,
    including MSR ECCLib 1.1.Â  Cycle counts for mul/sqr:<br>
    <br>
    MSR ECCLib (all asm, but no BMI2):
    <br>
    P256-mers: M = 59.2, S = 47.8.
    <br>
    P384-mers: M = 117.5, S = 89.8.
    <br>
    P512-mers: M = 199.9, S = 140.6.
    <br>
    <br>
    My code (C with BMI2 mul+acc intrinsics):
    <br>
    P389: M = 112.5, S = 75.5.
    <br>
    Goldilocks P448: M = 118.0, S = 88.9.
    <br>
    Ridinghood P480: M = 118.2, S = 89.1.
    <br>
    NIST P521: M = 145.5, S = 110.7.
    <br>
    <br>
    With this machine/compiler combination, 2^389 - 21 is showing at
    about 8-9% faster than MSR 384-mers and Goldilocks, which are within
    0.1% of each other.<br>
    <br>
    CPU:<br>
    Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
    .<br>
    <br>
    Compiler:<br>
    Ubuntu clang version 3.5-1ubuntu1 (trunk) (based on LLVM 3.5)
    <br>
    Target: x86_64-pc-linux-gnu
    <br>
    Thread model: posix
    <br>
    <br>
    Notes:
    <br>
    <br>
    * All benchmarks computed by timing and multiplying by 3.5932GHz,
    since that's what calib() spat out.
    <br>
    <br>
    * The P389 code is mul-after-add clean.Â  I did this by multiplying
    the arguments to a multiply separately by 8 and 21.Â  The code
    without this feature is marginally (&lt;1%) faster.<br>
    <br>
    * I haven't tested the correctness of the P389 code, nor have I
    built it into a curve.Â  So sue me, I'm on vacation.<br>
    <br>
    * ECCLib, P389*, P448: 10^8 trials, noinline'd functions,
    32-byte-aligned stack buffers, no dependencies in the
    multiplications.Â  TurboBoost and HyperThreading disabled.Â 
    Benchmarks are stable to about 3 significant figures.
    <br>
    <br>
    * P480, P521, because I'm lazy: Goldilocks `make bench`, 10^8<sup
      class="moz-txt-sup"><span
        style="display:inline-block;width:0;height:0;overflow:hidden"></span></sup>/2
    trials, noinlined functions, 32-byte-aligned stack buffers, no
    dependencies.Â  Almost exactly consistent when benchmarking P448.
    <br>
    <br>
    * For MSR ECCLib I called directly into ecc384.o's functions, using
    the same benchmarking framework code as for P389.<br>
    <br>
    * Earlier, offlist testing on a Haswell MacBook Air showed about a
    2% advantage to 2^389 - 21 instead of 8%.Â  The code improvements to
    P389 since then are not sufficient to explain the better results:
    they are apparently machine/compiler dependent.Â  I thought that
    Clang 3.5 might be responsible, since I've seen performance
    differences in arithmetic code with it.Â  But clang-3.3, 3.4 and 3.5
    all give similar results for those primes.Â  GCC 4.9 gives slightly
    worse results for everything but the MSR asm code.<br>
    <br>
    * The P389 code is probably less tuned than its competitors. The MS
    code is written in pure asm, but it doesn't take advantage of BMI2.Â 
    The Goldilocks and P389 code are C with an asm multiply/accumulate
    intrinsic, but I spent more time tuning the Goldilocks code.
    <br>
    <br>
    * The Ridinghood code is the same as the Goldilocks code with
    different shift constants.Â  The P-521 code is the arch_x86_64_r12
    version, using 9 limbs vector-aligned to a 12-word structure.<br>
    <br>
    * I have no data about 2^389 - 21 on other platforms, but offlist
    discussions suggest that it will be OK, if perhaps annoying to
    implement, on 32-bit platforms.<br>
    <br>
    Cheers,
    <br>
    -- Mike
  </body>
</html>

--------------090807080305020704050406--


From nobody Mon Dec 29 18:52:42 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 057A01AC400 for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 18:52:40 -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 3fBLGWuNbHha for <cfrg@ietfa.amsl.com>; Mon, 29 Dec 2014 18:52:37 -0800 (PST)
Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A8B3F1ACEB8 for <cfrg@irtf.org>; Mon, 29 Dec 2014 18:52:36 -0800 (PST)
Received: by mail-oi0-f47.google.com with SMTP id v63so31159512oia.6 for <cfrg@irtf.org>; Mon, 29 Dec 2014 18:52:35 -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=4KPzspz9/Wd5jW3PA9BI+rtmsWdQm0PRPrHIE+e58Ks=; b=K3czi5Wa2V4G4XyrQ+4V3hJTOAd6ktg0PGXNItHiqqPShgH1SdpZZhoNUlhOG+0T4S q8/6UbUuUNjYahN+pirBDXMzmwE/iVZ1zU9QuLQDAEU3Xq4pBbTOmAr3IED6aRPqb+1J Jhw83we5nPgxDkXtDzUULMZ/RP33oPJTNVquK68B7s9BHNF5J+6xrlMLKHLmVS+yAtdi N6Wx/zz1a2beQwkvIVhTxM/WO9SlYlY0Tl60SJ0SNgd01MaTP5kJInZaAv9diUPq6i3t 6hse/AHGgVjwvNgYj9uns5eCnzfUUgOLjXbaUUNRYTjzbiqMvNbO2TCOTdx9PkuZJhNG SXBQ==
X-Received: by 10.202.182.11 with SMTP id g11mr32106560oif.13.1419907955819; Mon, 29 Dec 2014 18:52:35 -0800 (PST)
MIME-Version: 1.0
Received: by 10.60.227.225 with HTTP; Mon, 29 Dec 2014 18:52:15 -0800 (PST)
In-Reply-To: <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com>
From: Tony Arcieri <bascule@gmail.com>
Date: Mon, 29 Dec 2014 18:52:15 -0800
Message-ID: <CAHOTMV+jO+8pvU4-McPb+t-4=0jp0-5Gg-3Psis+zZ-FRu-R3w@mail.gmail.com>
To: Benjamin Black <b@b3k.us>
Content-Type: multipart/alternative; boundary=001a113caa44520c8a050b661505
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/1mCYH1eVe-3CvgwTKDMUzuqGkbg
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 30 Dec 2014 02:52:40 -0000

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

On Sun, Dec 28, 2014 at 11:57 PM, Benjamin Black <b@b3k.us> wrote:

> The request might've come from the TLS-WG, but it is almost inconceivable
> that something CFRG recommended to TLS-WG would not be quickly adopted by
> many other WGs. It is disingenuous to argue that since the request came
> from TLS-WG nothing outside TLS-WG should be a consideration while also
> arguing that things like cofactors for 1 (mod 4)  curves must be exactly
> (8,4) without giving an example of how it matters to TLS-WG. The latter is
> an implicit acknowledgement that the scope extends beyond TLS-WG.
> Similarly, suggesting that TLS-WG could be given only X25519 without
> Ed25519 being pulled in is either naive or an attempt to sneak them both in
> the back door.
>

I think you can avoid this slippery slope by the CFRG recommending
Curve25519 as one of potentially many curves at a 128-bit security level,
for now, as an interim solution, simply to avoid the current situation of
apparent infinite deadlock.

Proposal: If and when rigid curve generation guidelines can be agreed upon,
the CFRG can recommend an "updated" curve at a 128-bit security level.

Everything I've described is little different from exactly what's happening
right now: there's an informal agreement on Curve25519, and you would like
to specify a different curve based on "rigid" guidelines.

I'm afraid if we wait on the bikeshedding debate surrounding what
constitutes "rigidity" to conclude, we're just going to be stuck with the
existing choices forever.

Compromise to avoid the slippery slope: proceed with Curve25519 for D-H
with an option for a new curve in the future after the rigidity
bikeshedding debate is over, and postpone any Ed25519-related discussion
until after that.

Here in the real world we're still using RSA signatures. I don't know how
many years until the stuff being discussed here actually trickles down into
what I can practically use day-to-day.

-- 
Tony Arcieri

--001a113caa44520c8a050b661505
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 S=
un, Dec 28, 2014 at 11:57 PM, Benjamin Black <span dir=3D"ltr">&lt;<a href=
=3D"mailto:b@b3k.us" target=3D"_blank" onclick=3D"window.open(&#39;https://=
mail.google.com/mail/?view=3Dcm&amp;tf=3D1&amp;to=3Db@b3k.us&amp;cc=3D&amp;=
bcc=3D&amp;su=3D&amp;body=3D&#39;,&#39;_blank&#39;);return false;">b@b3k.us=
</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 dir=3D"ltr"><=
div>The request might&#39;ve come from the TLS-WG, but it is almost inconce=
ivable that something CFRG recommended to TLS-WG would not be quickly adopt=
ed by many other WGs. It is disingenuous to argue that since the request ca=
me from TLS-WG nothing outside TLS-WG should be a consideration while also =
arguing that things like cofactors for 1 (mod 4) =C2=A0curves must be exact=
ly (8,4) without giving an example of how it matters to TLS-WG. The latter =
is an implicit acknowledgement that the scope extends beyond TLS-WG. Simila=
rly, suggesting that TLS-WG could be given only X25519 without Ed25519 bein=
g pulled in is either naive or an attempt to sneak them both in the back do=
or.</div></div></blockquote><div><br></div><div>I think you can avoid this =
slippery slope by the CFRG recommending Curve25519 as one of potentially ma=
ny curves at a 128-bit security level, for now, as an interim solution, sim=
ply to avoid the current situation of apparent infinite deadlock.</div><div=
><br></div><div>Proposal: If and when rigid curve generation guidelines can=
 be agreed upon, the CFRG can recommend an &quot;updated&quot; curve at a 1=
28-bit security level.</div><div><br></div><div>Everything I&#39;ve describ=
ed is little different from exactly what&#39;s happening right now: there&#=
39;s an informal agreement on Curve25519, and you would like to specify a d=
ifferent curve based on &quot;rigid&quot; guidelines.</div><div><br></div><=
div>I&#39;m afraid if we wait on the bikeshedding debate surrounding what c=
onstitutes &quot;rigidity&quot; to conclude, we&#39;re just going to be stu=
ck with the existing choices forever.</div><div><br></div><div>Compromise t=
o avoid the slippery slope: proceed with Curve25519 for D-H with an option =
for a new curve in the future after the rigidity bikeshedding debate is ove=
r, and postpone any Ed25519-related discussion until after that.</div><div>=
<br></div><div>Here in the real world we&#39;re still using RSA signatures.=
 I don&#39;t know how many years until the stuff being discussed here actua=
lly trickles down into what I can practically use day-to-day.=C2=A0</div><d=
iv><br></div></div>-- <br><div class=3D"gmail_signature">Tony Arcieri<br></=
div>
</div></div>

--001a113caa44520c8a050b661505--


From nobody Tue Dec 30 02:28:45 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 009D21A005F for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 02:28:41 -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 u_Oa2u4ATRmU for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 02:28:39 -0800 (PST)
Received: from mail-la0-x22d.google.com (mail-la0-x22d.google.com [IPv6:2a00:1450:4010:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5C4391A005D for <cfrg@irtf.org>; Tue, 30 Dec 2014 02:28:39 -0800 (PST)
Received: by mail-la0-f45.google.com with SMTP id gq15so12319944lab.4 for <cfrg@irtf.org>; Tue, 30 Dec 2014 02:28: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; bh=DgpznrT1jU8nW6HZKjgIu0sIy2/4ZtrET8sgHm2pnyI=; b=EbTBTcBB4m9Cw0zhsmog0H8xqQMjnz2UxirWM510VUuMaUQrPZSaIl9AeMqTU7pddD hr0EWHlUVUm0JM4UOZTaScET7HimSOt5CqzkfQTfuCYbhVYNHOtHwrg+JI3X2I/ETdBZ L2ZtFc3S7ec3rRTuYiLhD8zUXx8TulajHzc60lBLCM+yApOHbk58+QYKSbnrigkALwVo GG6Q4ppgsIh8g/gQV/q84JACK3KVs3IniS0f+xnQ6uhEtzr5/Z098VIbE5eRDhXwHXYA xWV22snluz2iJGw35B/NvXh9f+9kvfFa3adtK3pkv5HZrYcJ49Px3eyXht3DB9GXkDO+ QW8w==
MIME-Version: 1.0
X-Received: by 10.152.30.6 with SMTP id o6mr62073511lah.64.1419935317689; Tue, 30 Dec 2014 02:28:37 -0800 (PST)
Sender: alangley@gmail.com
Received: by 10.112.114.225 with HTTP; Tue, 30 Dec 2014 02:28:37 -0800 (PST)
In-Reply-To: <CA+Vbu7zO3OatbC+cXiV58hvJCuqiTYvnsSuyopDXum4qBX54fw@mail.gmail.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <CAMfhd9XEqMwFzJ4sK4aHGbke6REZb26uaEEv9gbM5v_goDzwUA@mail.gmail.com> <CA+Vbu7zO3OatbC+cXiV58hvJCuqiTYvnsSuyopDXum4qBX54fw@mail.gmail.com>
Date: Tue, 30 Dec 2014 11:28:37 +0100
X-Google-Sender-Auth: i6fR1Mr75MmCZZRezyUfdsK4OfM
Message-ID: <CAMfhd9UWPF=m_UoYVRDmaxrGbzyhNfAGz-Zmqi6jxTaKhBHADw@mail.gmail.com>
From: Adam Langley <agl@imperialviolet.org>
To: Benjamin Black <b@b3k.us>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/XfSyhemh5dCcsZwDWhGhmFkQ0xU
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 30 Dec 2014 10:28:41 -0000

On Mon, Dec 29, 2014 at 6:14 PM, Benjamin Black <b@b3k.us> wrote:
> After Yarov and Benger I don't know how robust anyone should assume ladders
> are, though that might be beside the point. Had Dan been insisting that
> ladders be _allowed_ then I would agree with you, as I have said the same
> (in the line just before the part you quoted, even). What Dan said is that
> single-coordinate ladders are _required_. They are not (or, to quote Dan
> again, "False."). X-only on the wire has clear advantages and I support that
> recommendation, but that does not force use of ladders.

I don't see quite how you're understanding Dan's quoted message to
mean that, but I think that everyone would be happy with any technique
that eliminated possible problems.

But, since a working with a windowed multiplication on the Edwards
curve is faster with Curve41417, that opens the question of whether it
would be better to transmit compressed Edwards points for ECDH at that
size.

Tanja did some calculations and the answer appears to be "no": for
41417, it's better to work with Montgomery-X for ECDH rather than do
the square-root to uncompress the point and then use the (slightly
faster) windowed method. So a general rule of "send Montgomery-X on
the wire" appears to be optimal in the cases under consideration,
which is nice.

(The limiting factor for the windowed method is reading from the L1.
The size of the window, and thus the speedup, is limited by the
requirement to read the whole table each step in order that the code
be constant-time. That means that a windowed method with 41417 is only
very slightly faster and thus the square-root cost is sufficient to
tip the balance. Of course, that also assumes that cache-pressure is
free, which it isn't in reality, so the Montgomery ladder is actually
even better than the estimates would suggest.)


Cheers

AGL


From nobody Tue Dec 30 03:52:29 2014
Return-Path: <rob.stradling@comodo.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 6A2711A007B for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 03:52:27 -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 wDPhdr2V-dMi for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 03:52:23 -0800 (PST)
Received: from mmextmx1.mcr.colo.comodoca.net (mmextmx1.mcr.colo.comodoca.net [IPv6:2a02:1788:402:c00::c0a8:9cd5]) (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 C7C531A0079 for <cfrg@irtf.org>; Tue, 30 Dec 2014 03:52:22 -0800 (PST)
Received: (qmail 1830 invoked by uid 1004); 30 Dec 2014 11:52:20 -0000
Received: from ian.brad.office.comodo.net (HELO ian.brad.office.comodo.net) (192.168.0.202) by mmextmx1.mcr.colo.comodoca.net (qpsmtpd/0.84) with ESMTP; Tue, 30 Dec 2014 11:52:20 +0000
Received: (qmail 19186 invoked by uid 1000); 30 Dec 2014 11:52:20 -0000
Received: from and0004.comodo.net (HELO [192.168.0.58]) (192.168.0.58) (smtp-auth username rob, mechanism plain) by ian.brad.office.comodo.net (qpsmtpd/0.40) with (AES128-SHA encrypted) ESMTPSA; Tue, 30 Dec 2014 11:52:20 +0000
Message-ID: <54A291F4.6060601@comodo.com>
Date: Tue, 30 Dec 2014 11:52:20 +0000
From: Rob Stradling <rob.stradling@comodo.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: "Salz, Rich" <rsalz@akamai.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com><1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com><CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com><CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com><2A0EFB9C05D0164E98F19BB0AF3708C71D55236DA1@USMBX1.msg.corp.akamai.com><68DF78C2-9F4D-457C-A32E-88A58E74A371@gmail.com><2A0EFB9C05D0164E98F19BB0AF3708C71D55236ECC@USMBX1.msg.corp.akamai.com><A7D3783D-0159-486E-8136-63E90E20AC0B@gmail.com><2A0EFB9C05D0164E98F19BB0AF3708C71D55236EE7@USMBX1.msg.corp.akamai.com><CA+Vbu7yaJNgi0JkhyBG6YEoKy+r5BFm_HwjL94sgHHOM7i3zOw@mail.gmail.com><2A0EFB9C05D0164E98F19BB0AF3708C71D55236F10@USMBX1.msg.corp.akamai.com><A09FEC84-6EF1-4886-9D88-E737A0895738@gmail.com><54A1C390.1010803@comodo.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236F3D@USMBX1.msg.corp.akamai.com>
In-Reply-To: <2A0EFB9C05D0164E98F19BB0AF3708C71D55236F3D@USMBX1.msg.corp.akamai.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/g5KdgKz_aj6d7CQrFC3-ISP9x6w
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 30 Dec 2014 11:52:27 -0000

On 29/12/14 21:15, Salz, Rich wrote:
>> Some TLS server software (notably Apache httpd) can already use several
>> certs for the same hostname, where each cert has a different public key
>> algorithm (RSA, DSA, ECC).  This means that certs with P-256 and P-384 public
>> keys can be used where there is browser support, with fallback to certs with
>> RSA public keys for the long tail of non-ECC-capable browsers.
>
> Any server that uses OpenSSL can do this, provided they make the calls to register the keypairs.  (And only the NIST curves are currently supported.)

Indeed.

BTW Rich, are the OpenSSL team planning to add support for whatever new 
curve(s) and associated signature algorithm(s) CFRG blesses?

Assuming yes, please will you aim to make it possible for a server to 
register 4 certs/keypairs - RSA, DSA, NIST ECC and CFRG ECC - for the 
same hostname (rather than only permit RSA + DSA + 1 ECC option)?

> So that probably includes, nginx, Node.js, anything built on Ruby or Python, etc.  Some minor code work (config and making an additional API call) could be required, but that's pretty easy.

Nginx can't do this yet, sadly.  I wrote a patch [1], but it's rather 
bitrotten now [2].  Registering the certs/keypairs with OpenSSL was 
indeed "minor code work", but the required updates to the Nginx OCSP 
Stapling code were rather more extensive.  One day I'll find time to 
address the preliminary review comments and finish the job.  :-)


[1] http://osdir.com/ml/nginx-development/2013-10/msg00159.html
[2] http://forum.nginx.org/read.php?2,253440

-- 
Rob Stradling
Senior Research & Development Scientist
COMODO - Creating Trust Online


From nobody Tue Dec 30 08:06: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 91C681A01F6 for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 08:06:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.7
X-Spam-Level: 
X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  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 yRPL-t16hsSA for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 08:06:19 -0800 (PST)
Received: from mail-yk0-x232.google.com (mail-yk0-x232.google.com [IPv6:2607:f8b0:4002:c07::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E051C1A01E1 for <cfrg@irtf.org>; Tue, 30 Dec 2014 08:06:18 -0800 (PST)
Received: by mail-yk0-f178.google.com with SMTP id 20so7221600yks.37 for <cfrg@irtf.org>; Tue, 30 Dec 2014 08:06: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=sHrqZM9o/aKOuXQbFrGfQ2ZoxbuCYFIpwA8cVL0aAxE=; b=B38wFY1F3E77jn+/wuQ+FivmyqebD1w8BjO2ougRgzJfjNrZvLsULx+Z6MJ3MV8tQ8 980+TB4Q6Pl6u3aeHa7VHmo6sruxx+qr2FgnSVrwWVtDKXdFexAppbAW6iT/DTVhyAMz W4uUMSVC9fBAlQvLxDkGGlBJIZKFdw07EfncryzCHgYAV4cohiA9H9lwZxje6/1Dau0N qXmqGEQUiD6NlL9wcltb2c87LB73H2FaJrQFm+Bo4c8VsAHJI98y5hacXUV+iSOE8EMq pxj6e/BMc8e6EYLyCmYFb894prwgFeofdymzbEmfMhjCmeebNg1MC7ZE6hHagmKIlHoS reWg==
MIME-Version: 1.0
X-Received: by 10.236.7.52 with SMTP id 40mr40583339yho.172.1419955578055; Tue, 30 Dec 2014 08:06:18 -0800 (PST)
Received: by 10.170.207.6 with HTTP; Tue, 30 Dec 2014 08:06:17 -0800 (PST)
In-Reply-To: <CA+Vbu7y3dJ4sX3SxjnaxuTK2Ew5uEFOFbdSGveiqaNGBU98byw@mail.gmail.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <CAMfhd9XEqMwFzJ4sK4aHGbke6REZb26uaEEv9gbM5v_goDzwUA@mail.gmail.com> <CA+Vbu7zO3OatbC+cXiV58hvJCuqiTYvnsSuyopDXum4qBX54fw@mail.gmail.com> <EBD3350E-93CA-4D85-91C0-560D17187572@shiftleft.org> <CA+Vbu7zxGm3EE7h3K2mg5WoziUf4bmjoaCAVzFgaaGsE=kLFpQ@mail.gmail.com> <CACsn0cnmy1u+1uY=8NMkq1Sh_A-kX9LOKJA3u1QFpO=ZgvFG2Q@mail.gmail.com> <CA+Vbu7y3dJ4sX3SxjnaxuTK2Ew5uEFOFbdSGveiqaNGBU98byw@mail.gmail.com>
Date: Tue, 30 Dec 2014 11:06:17 -0500
Message-ID: <CACsn0c=vnphefNyGytiNOANssVAfG7tVka8Ws38W9BjE8_VP0g@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/2r8DqLgebIZOt2mAX9lIbytfy7g
Cc: Adam Langley <agl@imperialviolet.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 30 Dec 2014 16:06:20 -0000

On Mon, Dec 29, 2014 at 3:36 PM, Benjamin Black <b@b3k.us> wrote:
> On Mon, Dec 29, 2014 at 12:25 PM, Watson Ladd <watsonbladd@gmail.com> wrote:
>>
>>
>> I also don't see why this matters: now that Montgomery x form and
>> complete coordinates for signatures are being used, there isn't a
>> difference between the rival proposals on this point.
>>
>
> Does this mean you find the draft with the additions of x-only and the
> cofactor constraint acceptable?

No, for several reasons.

2^389-21 has significant performance benefits on Haswell, 8-9% over
2^384-big, which performs the same way as Ed448. Our early
measurements were on other platforms, with relatively unoptimized
code, and didn't compare to the NUMS code you released, but to your
performance numbers. Because we used different benchmarking setups,
there was a systemic error in our cycle counts vs. yours. Now that we
remeasured your code with our benchmark, we get better numbers. (We is
misleading: Mike Hamburg did a lot more of the work then I did, and
the suggestion was Ilari Liusivaas. My sole contribution was writing a
terrible first cut, which Mike threw out for the second version)

The easiest way to get good numbers across multiple platforms would be
a SUPERCOP run. I've screwed up enough measurements to know that one
needs the same framework for as many numbers as possible, otherwise
you benchmark the testbench. But the NUMS people have made sure that
won't happen.

If you want ECDSA, use Weierstrass form. It's not ECDSA if you don't.
I get the idea of the FrankenECDSA, but I'd like to know that it would
be actually useful and speed adoption in TLS, and it relies on
implementations that have a generic ECDSA that calls curve specific
multiply functions. Maybe FrankenECDSA is useful: my guess is it
isn't, but I could be convinced. But this doesn't affect what curve to
use.

As for customers, if they don't find Curve25519 acceptable, they won't
find a curve that's Curve25519 with a different basepoint acceptable
unless they really have no idea how things work. At this point you've
already agreed to Curve25519, modulo the basepoint, which doesn't
matter for security, but does matter for implementators. Why have this
waste?

Sincerely,
Watson Ladd

>
>
> b
>



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


From nobody Tue Dec 30 09:05:43 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 1F5651A0373 for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 09:05:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level: 
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 LTgRFvipnHsR for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 09:05:29 -0800 (PST)
Received: from prod-mail-xrelay02.akamai.com (prod-mail-xrelay02.akamai.com [72.246.2.14]) by ietfa.amsl.com (Postfix) with ESMTP id 967751A0377 for <cfrg@irtf.org>; Tue, 30 Dec 2014 09:05:23 -0800 (PST)
Received: from prod-mail-xrelay02.akamai.com (localhost [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 59F64284C5; Tue, 30 Dec 2014 17:05:22 +0000 (GMT)
Received: from prod-mail-relay06.akamai.com (prod-mail-relay06.akamai.com [172.17.120.126]) by prod-mail-xrelay02.akamai.com (Postfix) with ESMTP id 462F3284C4; Tue, 30 Dec 2014 17:05:22 +0000 (GMT)
Received: from email.msg.corp.akamai.com (usma1ex-cas1.msg.corp.akamai.com [172.27.123.30]) by prod-mail-relay06.akamai.com (Postfix) with ESMTP id 3C40F202D; Tue, 30 Dec 2014 17:05:22 +0000 (GMT)
Received: from usma1ex-cashub5.kendall.corp.akamai.com (172.27.105.21) by usma1ex-dag1mb5.msg.corp.akamai.com (172.27.123.105) with Microsoft SMTP Server (TLS) id 15.0.913.22; Tue, 30 Dec 2014 12:05:21 -0500
Received: from USMBX1.msg.corp.akamai.com ([169.254.1.15]) by USMA1EX-CASHUB5.kendall.corp.akamai.com ([172.27.105.21]) with mapi; Tue, 30 Dec 2014 12:05:21 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Rob Stradling <rob.stradling@comodo.com>
Date: Tue, 30 Dec 2014 12:05:20 -0500
Thread-Topic: [Cfrg] Curve manipulation, revisited
Thread-Index: AdAkJx8wgI2szPSZTlykTozpZsPxWQAK2mUg
Message-ID: <2A0EFB9C05D0164E98F19BB0AF3708C71D5523708A@USMBX1.msg.corp.akamai.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com><1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com><CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com><CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com><2A0EFB9C05D0164E98F19BB0AF3708C71D55236DA1@USMBX1.msg.corp.akamai.com><68DF78C2-9F4D-457C-A32E-88A58E74A371@gmail.com><2A0EFB9C05D0164E98F19BB0AF3708C71D55236ECC@USMBX1.msg.corp.akamai.com><A7D3783D-0159-486E-8136-63E90E20AC0B@gmail.com><2A0EFB9C05D0164E98F19BB0AF3708C71D55236EE7@USMBX1.msg.corp.akamai.com><CA+Vbu7yaJNgi0JkhyBG6YEoKy+r5BFm_HwjL94sgHHOM7i3zOw@mail.gmail.com><2A0EFB9C05D0164E98F19BB0AF3708C71D55236F10@USMBX1.msg.corp.akamai.com><A09FEC84-6EF1-4886-9D88-E737A0895738@gmail.com><54A1C390.1010803@comodo.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55236F3D@USMBX1.msg.corp.akamai.com> <54A291F4.6060601@comodo.com>
In-Reply-To: <54A291F4.6060601@comodo.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
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/XvN5FwGAIl1y6tRGbKOY9QEK36k
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 30 Dec 2014 17:05:34 -0000

PiBCVFcgUmljaCwgYXJlIHRoZSBPcGVuU1NMIHRlYW0gcGxhbm5pbmcgdG8gYWRkIHN1cHBvcnQg
Zm9yIHdoYXRldmVyIG5ldw0KPiBjdXJ2ZShzKSBhbmQgYXNzb2NpYXRlZCBzaWduYXR1cmUgYWxn
b3JpdGhtKHMpIENGUkcgYmxlc3Nlcz8NCg0KSSBleHBlY3Qgc28sIGFzIHBhcnQgb2YgVExTIDEu
My4gIEhvcGVmdWxseSB0aGF0IHdvbid0IHRha2UgdG9vIGxvbmcgdG8gaGFwcGVuDQoNCj4gQXNz
dW1pbmcgeWVzLCBwbGVhc2Ugd2lsbCB5b3UgYWltIHRvIG1ha2UgaXQgcG9zc2libGUgZm9yIGEg
c2VydmVyIHRvIHJlZ2lzdGVyIDQNCj4gY2VydHMva2V5cGFpcnMgLSBSU0EsIERTQSwgTklTVCBF
Q0MgYW5kIENGUkcgRUNDIC0gZm9yIHRoZSBzYW1lIGhvc3RuYW1lDQo+IChyYXRoZXIgdGhhbiBv
bmx5IHBlcm1pdCBSU0EgKyBEU0EgKyAxIEVDQyBvcHRpb24pPw0KDQpXZSBuZWVkIHRvIHByb3Zp
ZGUgYSB3YXkgdG8gbGV0IHNtYXJ0IGFwcGxpY2F0aW9ucyBwaWNrIHdoaWNoIGtleS9jZXJ0IHRv
IHVzZS4NCg0KRnVydGhlciBkaXNjdXNzaW9uIG9uIHRoaXMgdG9waWMgaXMgcHJvYmFibHkgYmV0
dGVyIG9mZiBhdCBvcGVuc3NsLWRldkBvcGVuc3NsLm9yZw0KDQoJL3IkDQoNCi0tICANClByaW5j
aXBhbCBTZWN1cml0eSBFbmdpbmVlciwgQWthbWFpIFRlY2hub2xvZ2llcw0KSU06IHJzYWx6QGph
YmJlci5tZSBUd2l0dGVyOiBSaWNoU2Fseg0K


From nobody Tue Dec 30 09:34:01 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 5EE311A1A13 for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 09:34:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.947
X-Spam-Level: 
X-Spam-Status: No, score=-0.947 tagged_above=-999 required=5 tests=[BAYES_50=0.8, 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 Dr5DAv18Y2h8 for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 09:33:59 -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 2B4CC1A1A12 for <cfrg@irtf.org>; Tue, 30 Dec 2014 09:33:59 -0800 (PST)
Received: from [10.20.30.90] (50-1-98-91.dsl.dynamic.fusionbroadband.com [50.1.98.91]) (authenticated bits=0) by proper.com (8.14.9/8.14.7) with ESMTP id sBUHXu63009760 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <cfrg@irtf.org>; Tue, 30 Dec 2014 10:33:57 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-1-98-91.dsl.dynamic.fusionbroadband.com [50.1.98.91] claimed to be [10.20.30.90]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <CAHOTMV+jO+8pvU4-McPb+t-4=0jp0-5Gg-3Psis+zZ-FRu-R3w@mail.gmail.com>
Date: Tue, 30 Dec 2014 09:33:56 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <FA87F77E-5709-4F4D-858E-A98F390283AB@vpnc.org>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <CAHOTMV+jO+8pvU4-McPb+t-4=0jp0-5Gg-3Psis+zZ-FRu-R3w@mail.gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/tSezTRrHlnwYYD32jbd4Vd5LLkw
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 30 Dec 2014 17:34:00 -0000

On Dec 29, 2014, at 6:52 PM, Tony Arcieri <bascule@gmail.com> wrote:
> I think you can avoid this slippery slope by the CFRG recommending =
Curve25519 as one of potentially many curves at a 128-bit security =
level, for now, as an interim solution, simply to avoid the current =
situation of apparent infinite deadlock.

No, please no. An "interim solution" signature algorithm is stillborn. =
Few people would want to take the operational effort to create *and =
maintain* keys for an interim solution when the current solution (P256) =
is good enough.

If the CFRG cannot come to an agreement on a curve, a signature =
algorithm, and the necessary format additions, for 128-strength ECC, it =
should tell the IETF so as soon as possible. Stretching this out with =
interim values and half-solutions will be worse than claiming defeat.

--Paul Hoffman=


From nobody Tue Dec 30 09:41:21 2014
Return-Path: <nico@cryptonector.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 9FEDE1A039D for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 09:41:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.855
X-Spam-Level: 
X-Spam-Status: No, score=0.855 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] 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 8L75iWDM-QOX for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 09:41:19 -0800 (PST)
Received: from homiemail-a26.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id E99921A0381 for <cfrg@irtf.org>; Tue, 30 Dec 2014 09:41:19 -0800 (PST)
Received: from homiemail-a26.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTP id C22C2B805B for <cfrg@irtf.org>; Tue, 30 Dec 2014 09:41:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=clnOeaYX8yu2p+7dti6G 7zoXfSs=; b=JBtMZbdg3KHZOy6AxahiDdE6Oru5C3e8zF8J5ray6LuRx7jFXSPH /mHtOtfu5dkMMrJkydL10w/Xf+J2ed5hIzSflfrkIVWpqv4jrmQUvaHFLIap4RpX xplJCsjx/qKkZlOtLA/U6CVtJ367Kf1C8L69YdrUNd/pyFtkbFi8og8=
Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTPSA id 9BC24B8057 for <cfrg@irtf.org>; Tue, 30 Dec 2014 09:41:19 -0800 (PST)
Received: by mail-wg0-f42.google.com with SMTP id k14so21171813wgh.29 for <cfrg@irtf.org>; Tue, 30 Dec 2014 09:41:18 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.180.211.2 with SMTP id my2mr106374459wic.3.1419961278470; Tue, 30 Dec 2014 09:41:18 -0800 (PST)
Received: by 10.217.7.206 with HTTP; Tue, 30 Dec 2014 09:41:18 -0800 (PST)
In-Reply-To: <FA87F77E-5709-4F4D-858E-A98F390283AB@vpnc.org>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <CAHOTMV+jO+8pvU4-McPb+t-4=0jp0-5Gg-3Psis+zZ-FRu-R3w@mail.gmail.com> <FA87F77E-5709-4F4D-858E-A98F390283AB@vpnc.org>
Date: Tue, 30 Dec 2014 11:41:18 -0600
Message-ID: <CAK3OfOgfibHrktLBpEUoAck2WXuPwMjm7t2G6p4SJzjYCVJyEg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/VQaHu_cQqwbQItWAQpYZ8jVaABc
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 30 Dec 2014 17:41:20 -0000

On Tue, Dec 30, 2014 at 11:33 AM, Paul Hoffman <paul.hoffman@vpnc.org> wrote:
> On Dec 29, 2014, at 6:52 PM, Tony Arcieri <bascule@gmail.com> wrote:
>> I think you can avoid this slippery slope by the CFRG recommending Curve25519 as one of potentially many curves at a 128-bit security level, for now, as an interim solution, simply to avoid the current situation of apparent infinite deadlock.
>
> No, please no. An "interim solution" signature algorithm is stillborn. Few people would want to take the operational effort to create *and maintain* keys for an interim solution when the current solution (P256) is good enough.

That's not what Tony proposed though.  Tony proposed recommending
Curve25519 for ECDH soone and considering digital signatures later.  I
think that's a fine proposal, but the slippery slope can't be avoided
anyways: many developers are aching to use off-the-shell ECDH and
anything better than RSA, and EdDSA is looking pretty good.  If
developers should be told not to (e.g., because EdDSA might be no
good), then CFRG should say so.  Waiting won't stop the slide, and it
might be a fun slope to sled anyways, not a dangerous one (pardon the
terrible analogy).

Nico
--


From nobody Tue Dec 30 09:46:02 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 A76A51A039D for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 09:45:58 -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 hZCsXFVhEL2q for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 09:45:55 -0800 (PST)
Received: from mail-yh0-x22c.google.com (mail-yh0-x22c.google.com [IPv6:2607:f8b0:4002:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 191A41A0381 for <cfrg@irtf.org>; Tue, 30 Dec 2014 09:45:55 -0800 (PST)
Received: by mail-yh0-f44.google.com with SMTP id c41so7401642yho.17 for <cfrg@irtf.org>; Tue, 30 Dec 2014 09:45:54 -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=NzInAvcLyA4vFRhGbE3vE1jF8txHhL9JuApA2LvEBwg=; b=GzuRVTKuq16aPgL4w2eIkkQ0yPTd9dvHoQk5ARS0KjGohYz48QrS3ZJZ8DZqSg93Nu XUX8cHsvaFd51uTLDeWi472gx8FjjKY86sGJh0MR/zHpQeTYYA4wRbNhRSo9WQEei8W6 AnJ/DxLCAwLjIz/6O/ahar6cXHBJzMoRXqYAxRicUrmNLXEnNfuE62slXdS9zvd8sjsY +/NrQ+D8denDeupcPmvp6yUYBP9p+DHgBWjbtZFUd8t8PNRgt7JQnUbRJci0eZRBzYCS iO+8CW0TInQAR7ioBhkInE00xFGVIY1OlHZs9FxOH105JfNFMO7VXDppMFXkZpFwT0VN sTog==
MIME-Version: 1.0
X-Received: by 10.236.30.168 with SMTP id k28mr24705183yha.163.1419961554293;  Tue, 30 Dec 2014 09:45:54 -0800 (PST)
Received: by 10.170.207.6 with HTTP; Tue, 30 Dec 2014 09:45:54 -0800 (PST)
In-Reply-To: <FA87F77E-5709-4F4D-858E-A98F390283AB@vpnc.org>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <CAHOTMV+jO+8pvU4-McPb+t-4=0jp0-5Gg-3Psis+zZ-FRu-R3w@mail.gmail.com> <FA87F77E-5709-4F4D-858E-A98F390283AB@vpnc.org>
Date: Tue, 30 Dec 2014 12:45:54 -0500
Message-ID: <CACsn0cmTu8ja=ogC1iCNHwYp0VK62S9bZC7o7aQ+Hy_zz67d9w@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/4Q95lEMzcIXTYn7qEaq-kY7k3QU
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 30 Dec 2014 17:45:59 -0000

On Tue, Dec 30, 2014 at 12:33 PM, Paul Hoffman <paul.hoffman@vpnc.org> wrot=
e:
> On Dec 29, 2014, at 6:52 PM, Tony Arcieri <bascule@gmail.com> wrote:
>> I think you can avoid this slippery slope by the CFRG recommending Curve=
25519 as one of potentially many curves at a 128-bit security level, for no=
w, as an interim solution, simply to avoid the current situation of apparen=
t infinite deadlock.
>
> No, please no. An "interim solution" signature algorithm is stillborn. Fe=
w people would want to take the operational effort to create *and maintain*=
 keys for an interim solution when the current solution (P256) is good enou=
gh.
>
> If the CFRG cannot come to an agreement on a curve, a signature algorithm=
, and the necessary format additions, for 128-strength ECC, it should tell =
the IETF so as soon as possible. Stretching this out with interim values an=
d half-solutions will be worse than claiming defeat.

We already have agreement: It's a Montgomery x-coordinate solution
modulo the prime 2^255-19, with the curve equal to that of Curve25519.
Literally the only difference is the basepoint, which is irrelevant to
security. This is hidden behind the dramatically increased stream of
emails, but it's there.

For signatures, NUMS isn't opposed to EdDSA. Rather they would like to
see FrankenECDSA, which may be slightly easier for some to adopt.

I strongly urge that we finish off the 128-bit level ASAP.


>
> --Paul Hoffman
> _______________________________________________
> 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 Dec 30 09:47:53 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 34F7A1A1A0C for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 09:47:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level: 
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 hEC1HAkuAqyT for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 09:47:50 -0800 (PST)
Received: from prod-mail-xrelay02.akamai.com (prod-mail-xrelay02.akamai.com [72.246.2.14]) by ietfa.amsl.com (Postfix) with ESMTP id BA0D71A03A1 for <cfrg@irtf.org>; Tue, 30 Dec 2014 09:47:50 -0800 (PST)
Received: from prod-mail-xrelay02.akamai.com (localhost [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id BEB032853B; Tue, 30 Dec 2014 17:47:49 +0000 (GMT)
Received: from prod-mail-relay06.akamai.com (prod-mail-relay06.akamai.com [172.17.120.126]) by prod-mail-xrelay02.akamai.com (Postfix) with ESMTP id A9D452852D; Tue, 30 Dec 2014 17:47:49 +0000 (GMT)
Received: from email.msg.corp.akamai.com (usma1ex-casadmn.msg.corp.akamai.com [172.27.123.33]) by prod-mail-relay06.akamai.com (Postfix) with ESMTP id A4BCB202D; Tue, 30 Dec 2014 17:47:49 +0000 (GMT)
Received: from USMA1EX-CASHUB4.kendall.corp.akamai.com (172.27.105.20) by usma1ex-dag1mb4.msg.corp.akamai.com (172.27.123.104) with Microsoft SMTP Server (TLS) id 15.0.913.22; Tue, 30 Dec 2014 12:47:30 -0500
Received: from USMBX1.msg.corp.akamai.com ([169.254.1.15]) by USMA1EX-CASHUB4.kendall.corp.akamai.com ([172.27.105.20]) with mapi; Tue, 30 Dec 2014 12:47:30 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Paul Hoffman <paul.hoffman@vpnc.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Date: Tue, 30 Dec 2014 12:47:29 -0500
Thread-Topic: [Cfrg] Curve manipulation, revisited
Thread-Index: AdAkVs721A2+Yg2EQ42Hsz1ZRE6WKwAAPIlQ
Message-ID: <2A0EFB9C05D0164E98F19BB0AF3708C71D552370AE@USMBX1.msg.corp.akamai.com>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <CAHOTMV+jO+8pvU4-McPb+t-4=0jp0-5Gg-3Psis+zZ-FRu-R3w@mail.gmail.com> <FA87F77E-5709-4F4D-858E-A98F390283AB@vpnc.org>
In-Reply-To: <FA87F77E-5709-4F4D-858E-A98F390283AB@vpnc.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/e5eCEo47ib-Yv4lonatAaYS2tb8
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 30 Dec 2014 17:47:52 -0000

> No, please no. An "interim solution" signature algorithm is stillborn. Fe=
w
> people would want to take the operational effort to create *and maintain*
> keys for an interim solution when the current solution (P256) is good eno=
ugh.

It's important to not mix key exchange and signature.  My interest, and arg=
uably the primary TLS WG interest, is in the former, not the latter.

-- =20
Principal Security Engineer, Akamai Technologies
IM: rsalz@jabber.me Twitter: RichSalz


From nobody Tue Dec 30 10:01:25 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 22E771A039D for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 10:01:24 -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 QyeS3TO5755Y for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 10:01:23 -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 0FEF01A000C for <cfrg@irtf.org>; Tue, 30 Dec 2014 10:01:23 -0800 (PST)
Received: from [10.20.30.90] (50-1-98-91.dsl.dynamic.fusionbroadband.com [50.1.98.91]) (authenticated bits=0) by proper.com (8.14.9/8.14.7) with ESMTP id sBUI1Kxc010634 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 Dec 2014 11:01:21 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-1-98-91.dsl.dynamic.fusionbroadband.com [50.1.98.91] claimed to be [10.20.30.90]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <2A0EFB9C05D0164E98F19BB0AF3708C71D552370AE@USMBX1.msg.corp.akamai.com>
Date: Tue, 30 Dec 2014 10:01:19 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <6ACF18A4-BBAA-4E00-80FE-BCC62E587C67@vpnc.org>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <CAHOTMV+jO+8pvU4-McPb+t-4=0jp0-5Gg-3Psis+zZ-FRu-R3w@mail.gmail.com> <FA87F77E-5709-4F4D-858E-A98F390283AB@vpnc.org> <2A0EFB9C05D0164E98F19BB0AF3708C71D552370AE@USMBX1.msg.corp.akamai.com>
To: "cfrg@irtf.org CFRG" <cfrg@irtf.org>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/fTF1jMBDvqutY8wnAsUwnJ_x0Nw
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 30 Dec 2014 18:01:24 -0000

> It's important to not mix key exchange and signature.  My interest, =
and arguably the primary TLS WG interest, is in the former, not the =
latter.

The TLS WG cares about both, but in the WG meetings so far, it has only =
asked about the former because they assumed the latter would come for =
free. This discussion has made it clearer that the assumption is wrong, =
but no one has brought that back to the TLS WG yet. Once that is done, =
particularly if the CFRG says "here is the curve and base point, but we =
think we're going to have a different signature mechanism later", I =
believe the TLS WG will be just as borked as they are now. I know that =
will certainly be the case for the DNS community looking at EC for =
DNSSEC.

--Paul Hoffman=


From nobody Tue Dec 30 10:39:43 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 11D221A1A1F for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 10:39:42 -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 61xP7YiF_3mE for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 10:39:40 -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 573BA1A0273 for <cfrg@irtf.org>; Tue, 30 Dec 2014 10:39:40 -0800 (PST)
Message-ID: <54A2F174.3050704@akr.io>
Date: Tue, 30 Dec 2014 18:39:48 +0000
From: Alyssa Rowan <akr@akr.io>
MIME-Version: 1.0
To: "cfrg@irtf.org" <cfrg@irtf.org>
References: <CAMfhd9W684XMmXn3ueDmwrsQ_ZdiFG+VqYLxkvs7qDwiJdpk6w@mail.gmail.com> <1725646678.805875.1419539885135.JavaMail.yahoo@jws100115.mail.ne1.yahoo.com> <CAMfhd9Ua5fFZk46Xx1AN2VgyJ=Yng6fnO8aN-_ZfzXQn0Xbxhg@mail.gmail.com> <CA+Vbu7zqFcu8d1053mZ_eEm0q=np6T3snSQ4rfY0k1-4hBVDsA@mail.gmail.com> <CAHOTMV+jO+8pvU4-McPb+t-4=0jp0-5Gg-3Psis+zZ-FRu-R3w@mail.gmail.com> <FA87F77E-5709-4F4D-858E-A98F390283AB@vpnc.org> <CACsn0cmTu8ja=ogC1iCNHwYp0VK62S9bZC7o7aQ+Hy_zz67d9w@mail.gmail.com>
In-Reply-To: <CACsn0cmTu8ja=ogC1iCNHwYp0VK62S9bZC7o7aQ+Hy_zz67d9w@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/BYlI2nszYFhorMRmN-1cttCweqk
Subject: Re: [Cfrg] Curve manipulation, revisited
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, 30 Dec 2014 18:39:42 -0000

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

On 30/12/2014 17:45, Watson Ladd wrote:

> We already have agreement: It's a Montgomery x-coordinate solution 
> modulo the prime 2^255-19, with the curve equal to that of
> Curve25519.

I think we are at, or very near, agreement on Curve25519 (although of
course we would need to confirm that with everyone).

> Literally the only difference is the basepoint, which is irrelevant
> to security.

Yes; that is one of the only remaining sticking points with Ben's
draft, other than the changes he's already agreed to make.

If the draft can be changed to match Curve25519's x=9 basepoint, then
yes, I think that we would have agreement to recommend Curve25519 and
the associated X25519 Montgomery-x key agreement (and people could
more or less go ahead and start rolling that out!).

It's a gratuitous incompatibility with no security justification
otherwise, which makes no sense to me.

> I strongly urge that we finish off the 128-bit level ASAP.

That I definitely agree with.

Would it be beneficial to take the 384-bit curve out of the draft for
now? Or can we relatively quickly reach agreement on something like
2^389-21? If we run with just the WF128 curve for now, we could always
follow it up later.

I'm a little concerned that the twisted-Edwards form proposed by Ben
is not Ed25519's, as that may unnecessarily complicate the discussion
about signatures - but that discussion is (despite having raised it
months ago) in any case in a much earlier phase and I'm unsure where
it'll actually end up.

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

iQIcBAEBCgAGBQJUovF0AAoJEOyEjtkWi2t6wsgQAK0rSjlB+4AbOrWK5uO0+Vma
/HubBmEE4/YaTP85N7qmw0fICLvYXxG+GzUfDzHfRN5T7chJvT6nqYRkmI/zkZL6
FZ3gE6XP3hPgLw65W3cbpgkeyfydLw6ru9dMfOdrY6qniKhDMTNlbmAE5joekuKO
EP9Dm73yN0YN4JLxO/S6WXPfsgaBeEBGszZtsfBOMIerbhCD7O5NruXUkimMw6QI
HnZs1/uK5+S9TdbhR99Wl3Kf71R8wvpKv1A+yNUC047e+j9SPJpqIiNR7LK4QXHr
1qpCSjLR0TCZwPyftXBBiNVHVJu7e8vR4OMDDnyyMcSwU4zD2w3iHRBcy1rVMu1S
uUCgMpoAcL7sGU2sr4IX2E2FJr77cTsOX8I084hbLfz2nyrefCquaaNDcKHoQxMB
LWWW19UqAQrLisENwvEdjqJ/yC0J3I9LFJ3wDgK03hyd5DGqzx6CX79lhe7x88lU
+lkfEOeKC/Epp/oRmysEs6T+QkclhoeVlWD3damFMjqDyMVnddopctuSmOhTqNJQ
dcG54u1uLlet3dtRzWNHzSimgIT7GSLiHmiyXgNub11jLh2vDGfT3bEaJq2FDXAe
zuPFinHjdD3vybSNxoF7kiyr51FkqaCS2JDP3N8GVMCWJ3kc90qCoJSnUTUFHiyf
7v9l/EI3JF2r/8EuBee9
=ljsD
-----END PGP SIGNATURE-----


From nobody Tue Dec 30 13:36: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 567651A1B9B for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 13:36:17 -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 Jbo1P_XNOUnD for <cfrg@ietfa.amsl.com>; Tue, 30 Dec 2014 13:36:13 -0800 (PST)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id AA97C1A1B92 for <cfrg@irtf.org>; Tue, 30 Dec 2014 13:36:12 -0800 (PST)
Received: (qmail 4625 invoked by uid 1017); 30 Dec 2014 21:36:31 -0000
Received: from unknown (unknown) by unknown with QMTP; 30 Dec 2014 21:36:31 -0000
Received: (qmail 22860 invoked by uid 1001); 30 Dec 2014 21:34:58 -0000
Date: 30 Dec 2014 21:34:58 -0000
Message-ID: <20141230213458.22858.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: <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@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/WVUUEnlFEqJOktPhLP2MJK6r4b8
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: Tue, 30 Dec 2014 21:36:17 -0000

I think it's important for the public record to be clear on the security
advantages of Curve25519 over PinkBikeShed.

I realize that most people don't see this as important---"Microsoft has
abandoned the PinkBikeShed proposal now; you're beating a dead horse"---
but I have serious concerns about the procedures that have brought CFRG
to this point. This message first discusses the procedures, and then
discusses the technology issues. Some of these issues are also of
interest beyond PinkBikeShed.

Timeline review:

   * 19 May 2005: http://cr.yp.to/talks/2005.05.19/slides.pdf was the
     original presentation of what I now call PinkBikeShed. At the time
     I didn't give it a name (the talk said "Curve"), and the curve
     didn't last long---very soon afterwards I had thought through the
     security issues carefully enough to see that Curve25519 was better.

   * 16 October 2014: One of the CFRG chairs proposed taking two weeks
     to finalize requirements and agree on "whatever benchmarking system
     we're going to use for performance measurements", and then a month
     to measure and settle on the final "recommendations to the TLS WG".

   * 2 November 2014: Benjamin Black wrote "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."

     Notice the calm long-term perspective here, quite consistent with
     the idea that CFRG wanted to take time to think carefully through
     curve-selection issues---a process I respect and have been happy to
     contribute to.

   * 3 November 2014: The chair wrote "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. ... 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[out] unduly compromising efficiency and
     security, then I am prepared to sacrifice some extra time to
     achieve it. ... And the longer we take, the better answers we can
     hope to get on the things that really matter."

   * 26 November 2014: The chair foreshadowed "significant developments
     ... that will help us move forward with that main work of selecting
     curves to recommend to the TLS WG." What would these developments
     be? Finally the requirements list? The details of the publicly
     verifiable benchmarking process?

   * 26 November 2014, after sundown: Night of the Living PinkBikeShed.

   * Subsequent days: Various followup discussion, both inside and
     outside CFRG. For example, Felix von Leitner characterized
     Microsoft's approach as "embrace+extend", and Trevor Perrin
     characterized Microsoft's approach as a "meaningless tweak" and a
     "terrible idea" given its impact on the existing and future code
     base. (Microsoft can afford this sort of fragmentation, but most
     ECC implementors can't.)
   
   * 28 November 2014: I sent my first "Mishandling twist attacks"
     message, carefully explaining one of the security reasons to reject
     PinkBikeShed. (In my messages to the CFRG mailing list, I've been
     careful to focus on intrinsic long-term merits of curve choices,
     rather than on how well established Curve25519 already is.)

   * 1 December 2014: Black claimed that twist attacks don't apply to
     PinkBikeShed if the curve-specifying document presents the Edwards
     view of PinkBikeShed rather than the Montgomery view.

   * 2 December 2014: I asked how Black could justify _any_ form of
     twist security in his Edwards proposals if he believes his claim;
     this question is still unanswered weeks later. I also explained why
     his claim was wrong.

   * 8 December 2014: Black, in the guise of responding to my message,
     made many erroneous comments about related issues. I was extremely
     busy and didn't have a chance to respond to this before now.

   * 12 December 2014: The chair characterized Black's comments as
     "quite powerful arguments" but said that Black should abandon those
     arguments for the sake of "unblocking our current logjam" and
     "making progress".

     There was no explanation of why CFRG was suddenly in a rush, or why
     CFRG was suddenly in a "logjam", or why CFRG should abandon its
     ongoing process of settling requirements and evaluating curves
     according to those requirements.

   * 12 December 2014: Black wrote "we will acquiesce to the will of the
     co-chairs in the interest of seeing this move forward."

Some of Black's errors related to PinkBikeShed were already pointed out
in the brief period between 8 December and 12 December, but certainly
not all, and after 12 December people seem to have decided that no
further comment was required on his message.

It's easy to imagine how someone looking back at this record could
imagine that Black had raised real technical objections that at this
point are still unaddressed---and that the result was dictated by
non-transparent politics rather than by technology. Look at the
situation from the future reader's perspective:

   * If Black's arguments were plainly bogus, or were considered and
     rejected, or were considered and judged to be outweighed by more
     important factors, then why did the chair four days later declare
     the objections to be "quite powerful arguments"?
     
   * Black's recent behavior is quite explicitly the type of
     "compromise" blasted in RFC 7282---and behind the scenes there's
     even worse "horse-trading" going on. The people who sent me private
     email along the lines of "we'll convince them to stop complaining
     about Curve25519 if you give them their pet 384-bit prime" ought to
     be ashamed of themselves. If a company can so easily push its pet
     cryptography into standards, what stops an attacker from doing the
     same with secretly weak cryptography?

   * Last month Black and the chair were saying how important it was to
     obtain "the highest possible levels of trustworthiness" in "choices
     we will have to live with for 20 years"---and suddenly this month
     they're rushing towards a call for "consensus" on a highly
     questionable new Black document.

The reader should also be faced with the technical evaluation: no, Black
never had good arguments for regressing from Curve25519 to PinkBikeShed;
no, his arguments aren't "powerful"; no, PinkBikeShed isn't some sort of
superior Microsoft technology being repressed by politics.

Enough about procedures; let me now focus on the technology.

In my first "Mishandling twist attacks" message I wrote "every major ECC
standard already multiplies scalars by the curve's cofactor" and then
analyzed the worrisome impact on PinkBikeShed if a "protocol multiplies
the secret scalar s by the cofactor 4 exactly as the standards say".
This security issue for PinkBikeShed is eliminated by Curve25519.

Here's the centerpiece of Black's response: "A sloppy implementor could
just as easily misread guidance and clear cofactor 4 on Curve25519."

Let's think this through, starting from the facts.

The DH factor used in IEEE P1363-2000 Section 7.2.2 is "k", which by
definition is the "cofactor k = #E/r"; of course, "r" is a big "prime
integer" and is the order of the specified generator. The MQV cofactor
in Section 7.2.4 is also k. The DH factor in ANSI X9.63 Section 5.4 is
"h", the same cofactor under a different name. The MQV factor in ANSI
X9.63 Section 5.5 is the same cofactor. I could keep going like this for
a while. There are explanations all over the place, in these standards
and elsewhere, of why you should multiply by the curve's cofactor.

In the case of Curve25519, the curve's cofactor is amply documented as
being 8, and the consistent message of these standards is to multiply by
8. There's no ambiguity here, and Black gives no indication of how a
"sloppy implementor" (or protocol designer) could "misread" any of this.

It's true that, in the types of protocols I've been talking about,
taking cofactor 4 on Curve25519 would cause very similar damage to
taking cofactor 4 on PinkBikeShed. However, to judge the impact of
conceivable failures, one has to rationally evaluate the probability of
the failures. For PinkBikeShed, multiplying by 4 is _exactly_ what all
of these standards recommend, and it's easy to see how the failures
would happen. For Curve25519, Black's imaginary multiplication by 4 is
_contrary_ to what all of these standards recommend. Black's claim of
equal probability ("just as easily") isn't even marginally plausible.

Benjamin Black writes:
> I am objecting to the notion that cofactors (8,4) are in any way more
> secure than (4,8).

See my first "Mishandling twist attacks" message, and see above.

> I am not objecting to twist security and the curves in the draft are
> twist secure.

This doesn't answer the question that I asked on 2 December. Let me try
phrasing it differently.

You claim that, because of your choice to specify curves in Edwards form
rather than Montgomery form, the advanced twist attacks that I'm talking
about "do not apply" to your draft. You therefore claim that "rigidity"
requires taking a smaller coefficient (PinkBikeShed) rather than a
coefficient protected against these attacks (Curve25519).

Obvious analogy: You claim that, because of exactly the same choice,
_no_ twist attacks apply to your draft. You therefore claim that
"rigidity" requires taking a smaller (in fact, _much_ smaller)
coefficient, ignoring _all_ twist attacks.

But wait a minute: you _don't_ seem to be making these last two claims;
these claims aren't consistent with any of the curves you've proposed.
You must therefore have some reason for believing that Edwards curves
_are_ subject to twist attacks. What exactly is this reason, and why do
you think that it _doesn't_ apply to more advanced twist attacks?

> I do not agree with your assertion that "adding twist security" _and_
> "switching to single-coordinate ladders" is the solution against
> security failures when it comes to invalid-curve attacks. Windowing
> implementations on complete Edwards curves can be implemented securely
> and eliminate any risks against those attacks.

Yes, the implementor _can_ check whether the incoming point is on the
curve. However, it's very easy to see how an implementor could end up
using a scalarmult routine that doesn't include this check---see

   https://duckduckgo.com/?q=elliptic+curve+scalar+multiplication

for many, many, many examples---and then the attacker wins. As I wrote
before: "Rather than blaming the implementor, we eliminate these
security failures by adding twist security, for both Montgomery and
Edwards, and switching to single-coordinate ladders."

You say that you don't agree that this is "the solution". You instead
advocate ignoring the problem on the protocol level, and relying on the
implementor to be careful to do this right. The simple fact is that your
"solution" is fragile (even Hugo Krawczyk was bitten by these attacks!)
while mine is not.

More examples of the same general phenomenon, and a more detailed
discussion of this example, appear in the "General context" section of
my first "Mishandling twist attacks" message.

> In fact, looking at the Curve41417 paper, you eschew the
> Montgomery (or Edwards) ladder in favor of windowing.

No, the paper does not "eschew" the Montgomery ladder. It says that (for
this number of bits on this platform, and of course disregarding the
differences in inputs) Montgomery-ladder scalarmult is "not quite as
fast" as windowed-Edwards scalarmult, but it also says that the
Montgomery ladder "has the advantage of fitting the computation into
less SRAM", says that "each curve in Edwards form is birationally
equivalent to one in Montgomery form, so there is no need to choose one
over the other", and mentions the importance of twist-security when
"only the [Montgomery] x-coordinate is transmitted and used".

Furthermore, you're once again confusing the choice of _computation_
with the choice of _coordinates_. I feel like a broken record here---
starting in my first message to CFRG in July, I've pointed out a number
of errors from your team stemming from this rather basic confusion, and
your team has consistently dodged rather than responding.

> In this case, the performance advantages of Edwards trump the
> irrefutable and essential requirement for eliminating "security
> failures" above via use of single-coordinate ladders.

No, the paper says nothing of the sort; it simply evaluates the speed of
scalar multiplication. Furthermore, you're _again_ confusing the choice
of computation with the choice of coordinates.

> I am also objecting to your repeated claims, contradicted by your own
> work, that single-coordinate ladders are required.

Precisely what do you think you mean by "single-coordinate ladders are
required", and precisely which claims do you think you're objecting to?
Exact quotes in context, please, not careless paraphrases.

Here's a sampling of what I've actually written. The Montgomery ladder
is a remarkably simple, fast, constant-time algorithm for single-scalar
multiplication on (e.g.) Curve25519:

   x2,z2,x3,z3 = 1,0,x1,1
   for i in reversed(range(255)):
     bit = 1 & (n >> i)
     x2,x3 = cswap(x2,x3,bit)
     z2,z3 = cswap(z2,z3,bit)
     x3,z3 = ((x2*x3-z2*z3)^2,x1*(x2*z3-z2*x3)^2)
     x2,z2 = ((x2^2-z2^2)^2,4*x2*z2*(x2^2+A*x2*z2+z2^2))
     x2,x3 = cswap(x2,x3,bit)
     z2,z3 = cswap(z2,z3,bit)
   return x2*z2^(p-2)

For DH I've repeatedly said that the Montgomery ladder minimizes
tensions between speed, simplicity, and security; I've seen no arguments
to the contrary. My primary reason for objecting to cofactor-1 curves is
that those curves fail to provide this important option to DH protocol
designers and DH implementors.

There are many situations---most obviously, signatures---where most
implementors will want to do something different from the Montgomery
ladder. If you think that I've told them "No, you have to use the
Montgomery ladder!" then you're mistaken. If you think that specifying a
Montgomery curve forces people to use the Montgomery ladder then you're
again mistaken.

> Suggesting that (4,8) vs (8,4) introduces security risk is not a
> technical argument about the strength of the curve.

Are you trying to say that twist security isn't a technical issue, or
that leaks of scalar bits inside existing and future protocols aren't a
technical issue, or that you have some more limited notion of curve
"strength" that doesn't cover these security issues?

> The additional criterion you are describing is difficult to see as
> "twist security".

That depends on how broad your protocol view is. As I said before,
unless the RNG is backdoored, standard DH is _not_ noticeably damaged by
this particular type of leak of scalar bits; but there are other
protocols that _are_ seriously damaged.

> The curves in the draft are twist secure by any reasonable definition,
> including your own SafeCurves twist security requirements.

There's one attack paper after another showing how to break
implementations of standard ECC (and of semi-standard ECC making similar
mistakes, such as Bitcoin). I'm talking about major failures in major
protocols such as DH and signatures.

The traditional response to these problems is to blame the implementor.
SafeCurves blames the curve choices, declaring the underlying curves to
be "unsafe", since we know exactly how the underlying implementation
pitfalls are eliminated by better choices of curves. SafeCurves is
completely explicit about what it means by "safe", and about why it is
drawing that line.

If some particular curve is labeled as "safe" by SafeCurves, can you
conclude that it has identical security to all of the other curves
labeled "safe" by SafeCurves? Of course not: this conclusion is silly,
and certainly isn't justified by anything SafeCurves says.

It should also be obvious, as a procedural matter, that CFRG needs more
stringent requirements than SafeCurves. The BADA55 paper shows that
there are more than a million "safe" curves (including Brainpool-level
rigidity) even without exploiting variations in primes; something is
seriously wrong if CFRG is actively recommending all of those curves for
deployment.

> A sloppy implementor could even more easily skip checks for weak keys
> when using Montgomery Curve25519 outside of DH. All Curve25519
> documentation makes clear all 32-byte strings are valid keys. That
> this is so only for DH is easily forgotten and I've not found a
> Curve25519 implementation that performs the required check.

Let me get this straight. You think that the amazing simplicity and
robustness of Montgomery coordinates for DH are _bad_ things since

   (1) you think they might encourage implementors to oversimplify some
       unusual protocol that relies on "contributory" behavior and

   (2) you think this oversimplification would be less likely if
       implementors were forced to use other coordinates for DH?

Even if the (many) unclear details in this argument were filled in, the
argument would be completely missing the incredible importance of DH.
DH obviously outweighs all of the "contributory" protocols that have
ever been invented.

The analogy to the PinkBikeShed/Curve25519 comparison also doesn't work.
For PinkBikeShed/Curve25519, the DH situation is the same and the
lesser-known protocols are the tiebreaker.

> using p = 1 mod 4 primes introduces the concern you are raising

First, this isn't an argument for PinkBikeShed over Curve25519; they
both use the same prime.

Second, this argument is incorrect. I'm talking about curves where
multiplying by the curve cofactor doesn't clear the twist cofactor.
Curve25519 is _not_ one of these curves, but the prime _is_ 1 mod 4.

> Rather than blaming the implementor for clearing the "wrong" cofactor,
> we can eliminate this "security failure" by using p = 3 mod 4 to
> ensure the cofactors are equal, which is the choice you made for both
> Curve1174 and Curve41417.

First, this isn't an argument for PinkBikeShed over Curve25519.

Second, this argument gets the technical facts all wrong. Taking primes
that are 3 mod 4 _allows_ equal cofactors but doesn't "ensure" them.
More importantly, having the twist cofactor _divide_ the curve cofactor
fully solves the problem I'm talking about; there is no reason to have
the cofactors equal.

Third, this argument gets the historical facts all wrong. The prime for
Curve41417 was the output of a performance-focused search, and it
happened to be 3 mod 4. Curve1174 _did_ require 3 mod 4---but the reason
for this requirement had nothing to do with cofactors; the reason was to
give an example of a curve supporting the Elligator 1 function. The
introduction of the Elligator paper is completely explicit in saying "we
introduce a high-security high-speed elliptic curve that supports the
[Elligator 1] function".

> Looking at your Curve25519 paper there is a single mention of
> requirements on cofactors: "Multiply the secret key by a small power
> of 2 to account for cofactors in the curve group and the twist group".

Actually, the paper contains a considerably more detailed discussion of
cofactor requirements, although to see this you have to read the paper
and understand what some formulas are saying---a naive word search isn't
adequate.

In particular, in the "Security" section, the "Small-subgroup attacks"
subsection gives a unified description of small-subgroup attacks and
twist attacks, describes the information leaked considering the curve
cofactor 8 and the twist cofactor 4, and observes that the
multiplication of scalars by 8 eliminates the leak.

For the security analysis in the paper, it's irrelevant whether this
multiplication is

   * by the curve cofactor (as all the standards say) or
   * by the lcm of curve and twist cofactors (as the paper introduction
     says).
   
The reason it's irrelevant is that for Curve25519 these two options are
identical. This is exactly where PinkBikeShed would have created an
unnecessary conflict, begging implementations to do the wrong thing.

> Curve1174: "Edwards curve shape x^2+y^2=1+dx^2y^2 chosen for efficiency."
> Curve25519: "Montgomery curve shape y^2=x^3+Ax^2+x chosen for efficiency"
> Curve41417: "Edwards curve shape x^2+y^2=1+dx^2y^2 chosen for efficiency"
> Curve1174: "Complete Edwards curve chosen for security."
> Curve25519: No such statement.
> Curve41417: "Complete Edwards curve chosen for security."
> It is difficult to see this as rigidity.

All of these curves can be viewed as Montgomery curves _and_ as complete
Edwards curves. The Edwards view is better for signatures and similar
speed for DH (depending on exact sizes, compression, etc.), although
Montgomery is by far the simplest DH option.

The reason that Curve25519 didn't require completeness in Edwards form
is obvious from the following timeline:

   * ECC 2005: I introduced Curve25519.

   * 2007: Tanja Lange and I went to a surprising talk by Edwards
     presenting what are now called "original Edwards curves". We then
     introduced "Edwards curves", in particular introduced "complete
     Edwards curves" (none of which are original Edwards curves), and
     introduced fast algorithms for arithmetic on Edwards curves.

Surely you understand that it would have been rather difficult to make
efficiency choices and security choices on the basis of tools that
nobody knew about until two years later. You can think of Curve25519 as
being lucky for also meeting the newer requirements, and then the fact
that it was introduced so early makes it arguably _more_ rigid---curve
manipulation would have had to be based on secret attacks known in 2005.

Of course, any manipulation of, e.g., NIST P-224 would have had to be
based on attacks known in the 1990s. The critical difference is that
P-224 _doesn't_ meet newer public requirements. For example, P-224
doesn't meet the SafeCurves twist-security requirements. P-224 turns out
to be at the attacker's perfect level of twist-insecurity, similar to
DES, breakable at moderate cost while still being plausibly deniable.

> In the recent Curve41417 paper I similarly find a single mention of
> cofactor requirements: "For security we ... insist on the same level
> of twist-security as Curve25519 â€” the cofactors of the curve and its
> twist are in {4, 8}." No mention of either requiring the cofactors be
> equal or that they be minimal (which they aren't).

Obviously very large cofactors aren't compatible with security, but very
specific rules such as cofactor _minimality_ and cofactor _equality_
aren't required. Even NIST managed to get this right in the original
NIST-curve specification: it advocated minimal cofactors for
"efficiency", not for security.

What ultimately matters is the tradeoff between the security level and
performance. This is influenced in a complicated, but measurable, way by
choices of primes, cofactors, etc. In the case of Curve41417, we
obtained a surprisingly small d by allowing (8,8), although of course
this also reduced the rho security from 2^205.8 to 2^205.3.

---Dan


From nobody Wed Dec 31 05:27:40 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 A91471A8AE7 for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 05:27:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.544
X-Spam-Level: **
X-Spam-Status: No, score=2.544 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, URI_HEX=1.122] 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 ujUgXgNO_hyA for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 05:27:37 -0800 (PST)
Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8F1E21A8AE5 for <cfrg@irtf.org>; Wed, 31 Dec 2014 05:27:37 -0800 (PST)
Received: by mail-lb0-f171.google.com with SMTP id w7so13561250lbi.30 for <cfrg@irtf.org>; Wed, 31 Dec 2014 05:27:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=qNq1hOuWxTaOtyqHN6gkDXRy8jfLfk0aHvO46pk2+V8=; b=Ebzl/5KsrUBhTVjEtPW8flsj0a4ikLaH4O6keCo/8O6xzNcdSVht7jbutuHV36Tera uNOCp3q5tUAE1ZyVPEL/DQn48OqjvOnapWn1d/hM6pqE7JbSZstzVTVRCdob+CDT1Gx8 XQHSYic+H5qmHJ5ymfB5gFQZE3DE8Z0EMr05udMU7Hd4QKNjqCTqqBVvCiORq4Fdrjqa oulch4APgMYLbUJjyEPSNfkd/hl+k+G1uhT2qRORIb6c3bsI7onJjTohJwshVFwt/zTV yfMX2I7QhkhSd0K1UMxo6mPMydNjZnl1Cn+jAvCW+L8NnIdMwgqh7cqK9U6LGPlR0NTX R/SQ==
MIME-Version: 1.0
X-Received: by 10.112.163.167 with SMTP id yj7mr19480904lbb.96.1420032455746;  Wed, 31 Dec 2014 05:27:35 -0800 (PST)
Sender: alangley@gmail.com
Received: by 10.112.114.225 with HTTP; Wed, 31 Dec 2014 05:27:35 -0800 (PST)
Date: Wed, 31 Dec 2014 13:27:35 +0000
X-Google-Sender-Auth: lVNEtypRVsdsrrytKlv-w1mvBaE
Message-ID: <CAMfhd9V4tnjQL-orjTjX3KS=-XZRn0snAPrVwmP6pZH_20Cfgg@mail.gmail.com>
From: Adam Langley <agl@imperialviolet.org>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Pdz-CY6azxJDgaSuc-EaAGdQlBg
Subject: [Cfrg] Whether the performance advantage of small d needs to affect specifications.
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, 31 Dec 2014 13:27:39 -0000

As I understand it, we have significant agreement at the ~128-bit
level: Microsoft accepts curve25519 with a different base point and
sending Montgomery-X for ECDH. Everyone else accepts curve25519 with
Montgomery-X for ECDH. (I'm not considering those who want random
primes as the chairs have said that's out of scope for now.)

Since any base point (in the correct subgroup) is as good as any
other, I'm going to make the assumption that significant existing
practice will mean that we can we can all end up accepting x=3D9 as the
base point.

Where Microsoft still differ at ~128-bits is that they specify an
isogenous twisted Edwards curve with small d, while existing practice
uses an isomorphic twisted Edwards curve with d=3D-121665/121666.

There is no security difference between these, but there is an
argument that the small d brings a performance advantage=E2=80=94possibly
leading to a tension between existing practice and performance.

However, I think that tension can be resolved by considering a small d
as an implementation strategy. That requires that implementations who
wish to use the isogenous curve be able to convert inputs and outputs
to/from the isomorphic curve very cheaply.


1) A "small d" implementation wishes to perform a scalarmult:

This case is fairly easy I think. At the point that the implementation
is doing the transformation to affine form, it holds extended
coordinates (X, Y, Z, T) where x'=3DX/Z, y'=3DY/Z and x'y' =3D T/Z. (I'll
write (x', y') for the isogenous curve and (x, y) for the isomorphic
one.)

Rather than calculate 1/Z and then multiply that by X and Y, it can
use different formulas to merge the transform to the isomorphic curve:
x =3D TZ/(2Z^2 - X^2 - Y^2), y =3D (Y^2-X^2)/(Y^2+X^2). (I don't have
Sage, Python or even enough paper with me, so I *probably* have the
equations wrong, but the strategy should hold.)

Since the inversions can be merged, the cost is essentially the same
as outputting affine coordinates on the isogenous curve.

For a modified ECDSA with Edward's curves (which Microsoft have
suggested that they want to do), this is sufficient since the
signature contains only scalars. For EdDSA, the paper[1] says that
they skip the decompression of 'R' and check that the encoding of the
other side of the verification equation matches 'R', thus this should
be sufficient there too.

However, let's assume that some protocol needs to decompress points:


2) A "small d" implementations wishes to use a compressed point on the
isomorphic curve.

The inverse transformation for the isogeny is more complex and results
in 4 times the point. It also needs the decompressed point as an input
to the map.

As the Ed25519 paper shows, it's possible to merge an inversion and
square root when decompressing Edwards points such that only a single
field exponentiation is needed. I certainly won't get the equations
for the inverse map correct here, but it appears that they'll end up
needing an inversion and calculation of 'x', which needs a square
root. (The value to invert needs to be independent of 'x', but that
appears to be easy to arrange.)

Call the value to be inverted 'a', and let b=3Duv^7, which is the value
that we need to raise to (q-5)/8 in order to calculate 'x'. (I'm using
the variable names 'u' and 'v' to match [1].)

Calculate (a^8=C3=97b)^((q-5)/8) =3D c =3D a^(q-5)b^((q-5)/8). Multiplying =
by
a^4 will eliminate the 'a' term leaving b^((q-5)/8), as needed for the
'x' calculation.

Now c^8 =3D a^(7(q-1) + q - 33)b^q-5. Thus c^8=C3=97a^31=C3=97b^4 =3D a^(q-=
2), as
needed for the inversion.

So I think (albeit with the distinct possibility that I've missed
something by not being able to confirm that it works) that a "small d"
implementation can use compressed points from the isomorphic curve
with only a single field exponentiation, which is the same cost as
decompressing points is for implementations of the isomorphic curve
anyway. It does result in 4R, but often that's not a problem, and
could even be an advantage. (Consider ECDH with compressed points on
the wire: since the private scalar is a multiple of 8, the two
low-order bits can just be skipped.)


So, hopefully, a performance advantage of small d, if any, can be
realised even if the isomorphic curve is specified on the wire. Thus
there need not be tension between performance and existing practice
here.

(Time to catch my flight.)

[1] http://ed25519.cr.yp.to/ed25519-20110926.pdf, section 5.


Cheers

AGL

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


From nobody Wed Dec 31 05:50:24 2014
Return-Path: <calestyo@scientia.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 90BD41A8AEF for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 05:50:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.7
X-Spam-Level: 
X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  J_CHICKENPOX_37=0.6, 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 YMcGyRvPKHrj for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 05:50:19 -0800 (PST)
Received: from mailgw01.dd24.net (mailgw01.dd24.net [193.46.215.41]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E89F61A8ADE for <cfrg@irtf.org>; Wed, 31 Dec 2014 05:50:18 -0800 (PST)
Received: from localhost (mailpolicy-02.live.igb.homer.key-systems.net [192.168.1.27]) by mailgw01.dd24.net (Postfix) with ESMTP id 7CF135FAC7 for <cfrg@irtf.org>; Wed, 31 Dec 2014 13:50:17 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at mailpolicy-02.live.igb.homer.key-systems.net
Received: from mailgw01.dd24.net ([192.168.1.35]) by localhost (mailpolicy-02.live.igb.homer.key-systems.net [192.168.1.30]) (amavisd-new, port 10235) with ESMTP id B6ELY_tnSeeA for <cfrg@irtf.org>; Wed, 31 Dec 2014 13:50:07 +0000 (UTC)
Received: from heisenberg.fritz.box (ppp-93-104-116-14.dynamic.mnet-online.de [93.104.116.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailgw01.dd24.net (Postfix) with ESMTPSA for <cfrg@irtf.org>; Wed, 31 Dec 2014 13:50:07 +0000 (UTC)
Message-ID: <1420033807.4638.16.camel@scientia.net>
From: Christoph Anton Mitterer <calestyo@scientia.net>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Date: Wed, 31 Dec 2014 14:50:07 +0100
In-Reply-To: <CAMfhd9V4tnjQL-orjTjX3KS=-XZRn0snAPrVwmP6pZH_20Cfgg@mail.gmail.com>
References: <CAMfhd9V4tnjQL-orjTjX3KS=-XZRn0snAPrVwmP6pZH_20Cfgg@mail.gmail.com>
Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-K1yknwVcjwpQLfmoGZxl"
X-Mailer: Evolution 3.12.9-1 
Mime-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/1_YUddy-7UB_zCQPLGi7p7k9XzA
Subject: [Cfrg] should the CFRG really strive for consensus?
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, 31 Dec 2014 13:50:21 -0000

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

Hi.

On Wed, 2014-12-31 at 13:27 +0000, Adam Langley wrote:=20
> Microsoft accepts=20

vs.

> Everyone else accepts


When following the list recently, a recurring issue that seemed to
dominate the discussions is "Microsoft vs. everyone else" and the urge
to reach consensus.


In principle consensus is of course a good thing, since a new standard
or recommendations would be accepted by everyone, but it's also kinda
disturbing when one big player can apparently basically block what
nearly all others would already agree upon.


But in the light of the NSA&friends scandal which basically gave the
CFRG it's purpose (since it became all too obvious that NIST is
untrustworthy per se)

... and in the light of governments being able to easily control&command
companies from at least their own country with secret court orders, gag
orders etc.
... and in the light that we've already seen government agencies
disturbing crypto/security standards indirectly via straw men

I think it's really a bad idea for the CFRG to strive so much for
consensus.


It basically leads us back to the original problem of simply taking
standards from NIST, in that we don't know whether changes wich seem
harmless and not affecting security actually do for someone who may
posses some more knowledge already.
And even if not, one fraction shouldn't be able to block things for so
long, which in a higher level way also undermines security.


Microsoft (and others) may surely be big players, but what should really
count for the CFRG and for a good standard/recommendation is now how
revenues a player has, but rather how many crypto-experts actually voice
and prove their arguments/objections/etc..
And from that POV Microsoft doesn't look like *that big* player anymore.

The main task of CFRG should be to give as good as possible
recommendations/standards.
Whether these standards are actually taken up in the end by the big
players in their products is completely up to them and not even
guaranteed when consensus would have been reached.
Which is just another reason, not to make (possibly bad) compromises.



Cheers,
Chris.

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

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCCEZIw
ggW/MIIDp6ADAgECAgMCOakwDQYJKoZIhvcNAQENBQAwVDEUMBIGA1UEChMLQ0FjZXJ0IEluYy4x
HjAcBgNVBAsTFWh0dHA6Ly93d3cuQ0FjZXJ0Lm9yZzEcMBoGA1UEAxMTQ0FjZXJ0IENsYXNzIDMg
Um9vdDAeFw0xNDA2MTIxNjM2MThaFw0xNjA2MTExNjM2MThaMHwxITAfBgNVBA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Vy
dCBJbmMuMR4wHAYDVQQLExVodHRwOi8vd3d3LkNBY2VydC5vcmcxHDAaBgNVBAMTE0NBY2VydCBD
bGFzcyAzIFJvb3QCAwI5qTANBgkqhkiG9w0BAQEFAASCAQAfR54RxfKOM01aYe3o12nu9IrH9k4w
HtfOs72Vvq5x86IuS4ePfDvXY4ljU9ZNUK7ysLsc7wt74uadzXZQXQc4sXVhxhrNdUAL5Cp99Kw4
erMI90ClShlhAWTNE8bCGB5KaXeIf/wXfQFZzD6k4OM9H9aSvaK2snp35a9XRSRmVrnLu7iprRPq
20cnNaXDfWWVFUwAfk1sK+1ZsJnfW2Vi3PQl5PTtdRgCbuOcVfyhtinMKFe0Yu8k7ns34tL7vRK0
61LtlsieZOpRFgyxDFTGaRH8l5LmBA4YQAZltWPb3rbL5F008O7MXh2UxQPkr8pRpIta9zQyQtpi
rMKwzXyHAAAAAAAA


--=-K1yknwVcjwpQLfmoGZxl--


From nobody Wed Dec 31 06:44:57 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 B86B11A8BBE for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 06:44:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.622
X-Spam-Level: 
X-Spam-Status: No, score=0.622 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, 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 9vkdAdrCIf4w for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 06:44:53 -0800 (PST)
Received: from mail-la0-x22b.google.com (mail-la0-x22b.google.com [IPv6:2a00:1450:4010:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5CD281A8AFE for <cfrg@irtf.org>; Wed, 31 Dec 2014 06:44:49 -0800 (PST)
Received: by mail-la0-f43.google.com with SMTP id s18so13935991lam.30 for <cfrg@irtf.org>; Wed, 31 Dec 2014 06:44: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; bh=khk+Qy84zM41kqFXqGdXM32fawUPilQvAOrfHe2dWHw=; b=aSH/rL/524O2w15UwDsTF32XYn+9i1mHGrEyaF/j2N/M3skGejo/tx9Rvkp6VkkSmN Tsy4TP87TAn/PsQJ51/DcJTXSJyFt6+91a+Q+l/DAaL4IC+V3QEXzW42BnqeyjU7P4GQ 1Fur7U+lrURrlMFhQvucV0wisn7ayQViXrjNQ8Cw0gpednzUnvHgfm0J2kPypd6zj7uK DisUdd464md3ElP6na6NK0AfAt2WkAWoblYCmOaHPehIVcEBw1a3QmyGD/85MudQjSbt P6GdwBvRpJ6XMP48z5cPWn15m5hGkkpnW0mFsjl9FIK1S1G6SLurdATQABzFG58ay6+a TNoQ==
MIME-Version: 1.0
X-Received: by 10.152.23.38 with SMTP id j6mr67270058laf.81.1420037087579; Wed, 31 Dec 2014 06:44:47 -0800 (PST)
Sender: alangley@gmail.com
Received: by 10.112.114.225 with HTTP; Wed, 31 Dec 2014 06:44:46 -0800 (PST)
Received: by 10.112.114.225 with HTTP; Wed, 31 Dec 2014 06:44:46 -0800 (PST)
In-Reply-To: <1420033807.4638.16.camel@scientia.net>
References: <CAMfhd9V4tnjQL-orjTjX3KS=-XZRn0snAPrVwmP6pZH_20Cfgg@mail.gmail.com> <1420033807.4638.16.camel@scientia.net>
Date: Wed, 31 Dec 2014 14:44:46 +0000
X-Google-Sender-Auth: fpClu5FJU9s5hmr4NW6oJDDmelc
Message-ID: <CAMfhd9V5-Y60fGqCDfmCvk9+9bqm0zpm3kSHmR5_mzELZ2K+Dw@mail.gmail.com>
From: Adam Langley <agl@imperialviolet.org>
To: Christoph Anton Mitterer <calestyo@scientia.net>
Content-Type: multipart/alternative; boundary=089e0160b6f02c54f3050b842691
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/QbP1BQhrWvCH0Blo8cep91OdlVQ
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] should the CFRG really strive for consensus?
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, 31 Dec 2014 14:44:55 -0000

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

On Dec 31, 2014 1:50 PM, "Christoph Anton Mitterer" <calestyo@scientia.net>
wrote:
> I think it's really a bad idea for the CFRG to strive so much for
> consensus.

If you believe in the security of curve25519 then you also believe in the
security of Microsoft's current position at ~128 bits. They have the same
structure and thus strictly the same strength.

There's /no/ possibility of weakening anything, mathematically, with a
different base point (in the correct subgroup) or by using an isogeny.

IRTF groups do not, technically, have to reach consensus. However, everyone
does have to function on the same Internet at the end of the day.

Cheers

AGL

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

<p dir="ltr">On Dec 31, 2014 1:50 PM, &quot;Christoph Anton Mitterer&quot; &lt;<a href="mailto:calestyo@scientia.net">calestyo@scientia.net</a>&gt; wrote:<br>
&gt; I think it&#39;s really a bad idea for the CFRG to strive so much for<br>
&gt; consensus.</p>
<p dir="ltr">If you believe in the security of curve25519 then you also believe in the security of Microsoft&#39;s current position at ~128 bits. They have the same structure and thus strictly the same strength.</p>
<p dir="ltr">There&#39;s /no/ possibility of weakening anything, mathematically, with a different base point (in the correct subgroup) or by using an isogeny.</p>
<p dir="ltr">IRTF groups do not, technically, have to reach consensus. However, everyone does have to function on the same Internet at the end of the day.<br></p>
<p dir="ltr">Cheers</p>
<p dir="ltr">AGL</p>

--089e0160b6f02c54f3050b842691--


From nobody Wed Dec 31 07:07:59 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 93A451A902E for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 07:07:46 -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] 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 HoG1wTL4wPWD for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 07:07:41 -0800 (PST)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id 254501A9030 for <cfrg@irtf.org>; Wed, 31 Dec 2014 07:07:34 -0800 (PST)
Received: from xct107cnc.rim.net ([10.65.161.207]) by mhs214cnc.rim.net with ESMTP/TLS/AES128-SHA; 31 Dec 2014 10:07:23 -0500
Received: from XCT111CNC.rim.net (10.65.161.211) by XCT107CNC.rim.net (10.65.161.207) with Microsoft SMTP Server (TLS) id 14.3.210.2; Wed, 31 Dec 2014 10:07:22 -0500
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT111CNC.rim.net ([::1]) with mapi id 14.03.0210.002; Wed, 31 Dec 2014 10:07:21 -0500
From: Dan Brown <dbrown@certicom.com>
To: Adam Langley <agl@imperialviolet.org>, Christoph Anton Mitterer <calestyo@scientia.net>
Thread-Topic: malicious DH base points [was Re: [Cfrg] should the CFRG really strive for consensus?]
Thread-Index: AdAlC3ncj0vH2sKEQBKKNUfeAAj9hw==
Date: Wed, 31 Dec 2014 15:07:21 +0000
Message-ID: <20141231150719.6639764.27338.24398@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="===============1664686652=="
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/6GBWqF28hvM8LpxOHuVh_EC4cx8
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: [Cfrg] malicious DH base points [was Re: should the CFRG really strive for consensus?]
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, 31 Dec 2014 15:07:47 -0000

--===============1664686652==
Content-Type: multipart/alternative; boundary="===============0872711483=="
MIME-Version: 1.0

--===============0872711483==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64

4oCOVGhlIHBhcGVyIHRhbGtzIGFib3V0IHRoZSBwb3NzaWJpb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dHkgb2YgY3VydmUyNTUxOSB0aGVuIHlvdSBhbHNvIGJlbGlldmUg
aW4gdGhlIHNlY3VyaXR5IG9mIE1pY3Jvc29mdCdzIGN1cnJlbnQgcG9zaXRpb24gYXQgfjEyOCBi
aXRzLiBUaGV5IGhhdmUgdGhlIHNhbWUgc3RydWN0dXJlIGFuZCB0aHVzIHN0cmljdGx5IHRoZSBz
YW1lIHN0cmVuZ3RoLgoKVGhlcmUncyAvbm8vIHBvc3NpYmlsaXR5IG9mIHdlYWtlbmluZyBhbnl0
aGluZywgbWF0aGVtYXRpY2FsbHksIHdpdGggYSBkaWZmZXJlbnQgYmFzZSBwb2ludCAoaW4gdGhl
IGNvcnJlY3Qgc3ViZ3JvdXApIG9yIGJ5IHVzaW5nIGFuIGlzb2dlbnkuCgpJUlRGIGdyb3VwcyBk
byBub3QsIHRlY2huaWNhbGx5LCBoYXZlIHRvIHJlYWNoIGNvbnNlbnN1cy4gSG93ZXZlciwgZXZl
cnlvbmUgZG9lcyBoYXZlIHRvIGZ1bmN0aW9uIG9uIHRoZSBzYW1lIEludGVybmV0IGF0IHRoZSBl
bmQgb2YgdGhlIGRheS4KQ2hlZXJzCgpBR0wKCgo=

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

<html><head></head><body data-blackberry-caret-color=3D"#00a8df" style=3D"b=
ackground-color: rgb(255, 255, 255); line-height: initial;"><div style=3D"w=
idth: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-ser=
if; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255=
, 255, 255);">=E2=80=8EThe paper talks about the possibility of malicious b=
ase points for DH:</div><div style=3D"width: 100%; font-size: initial; font=
-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-al=
ign: initial; background-color: rgb(255, 255, 255);"><span style=3D"line-he=
ight: initial; color: rgb(80, 91, 98); font-family: 'Open Sans', sans-serif=
; font-size: 15px;"><br></span></div><div style=3D"width: 100%; font-size: =
initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, =
125); text-align: initial; background-color: rgb(255, 255, 255);"><span sty=
le=3D"line-height: initial; color: rgb(80, 91, 98); font-family: 'Open Sans=
', sans-serif; font-size: 15px;">Boaz Tsaban</span><span style=3D"line-heig=
ht: initial; color: rgb(80, 91, 98); font-family: 'Open Sans', sans-serif; =
font-size: 15px;">:&nbsp;</span><span style=3D"line-height: initial; color:=
 rgb(102, 102, 102); font-weight: 700; font-family: 'Open Sans', sans-serif=
; font-size: 15px;">Fast generators for the Diffie-Hellman key agreement pr=
otocol and malicious standards.</span><span style=3D"line-height: initial; =
color: rgb(80, 91, 98); font-family: 'Open Sans', sans-serif; font-size: 15=
px;">&nbsp;</span><a href=3D"http://www.informatik.uni-trier.de/~ley/db/jou=
rnals/iacr/iacr2005.html#Tsaban05" style=3D"line-height: initial; color: rg=
b(125, 132, 138); text-decoration: none; font-family: 'Open Sans', sans-ser=
if; font-size: 15px;">IACR Cryptology ePrint Archive 2005</a><span style=3D=
"line-height: initial; color: rgb(80, 91, 98); font-family: 'Open Sans', sa=
ns-serif; font-size: 15px;">: 231 (2005)</span></div>                      =
                                                                           =
                                    <div style=3D"width: 100%; font-size: i=
nitial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 1=
25); text-align: initial; background-color: rgb(255, 255, 255);"><br style=
=3D"display:initial"></div>                                                =
                                                                           =
          <div style=3D"font-size: initial; font-family: Calibri, 'Slate Pr=
o', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-co=
lor: rgb(255, 255, 255);">It may be far-fetched, but the paper seems to sho=
w that the independence of DH from the base point is =E2=80=8Enot quite a m=
athematical certainty, unless the paper has been refuted in further researc=
h.&nbsp;</div><div style=3D"font-size: initial; font-family: Calibri, 'Slat=
e Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; backgroun=
d-color: rgb(255, 255, 255);"><br></div><div style=3D"font-size: initial; f=
ont-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text=
-align: initial; background-color: rgb(255, 255, 255);">Best regards, <br><=
br>-- Dan</div>                                                            =
                                                                           =
                                                 <table width=3D"100%" styl=
e=3D"background-color:white;border-spacing:0px;"> <tbody><tr><td colspan=3D=
"2" style=3D"font-size: initial; text-align: initial; background-color: rgb=
(255, 255, 255);">                                              <div id=3D"=
_persistentHeader" style=3D"border-style: solid none none; border-top-color=
: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in; font-fam=
ily: Tahoma, 'BB Alpha Sans', 'Slate Pro'; font-size: 10pt;">  <div><b>From=
: </b>Adam Langley</div><div><b>Sent: </b>Wednesday, December 31, 2014 9:45=
 AM</div><div><b>To: </b>Christoph Anton Mitterer</div><div><b>Cc: </b>cfrg=
@irtf.org</div><div><b>Subject: </b>Re: [Cfrg] should the CFRG really striv=
e for consensus?</div></div></td></tr></tbody></table><div style=3D"border-=
style: solid none none; border-top-color: rgb(186, 188, 209); border-top-wi=
dth: 1pt; font-size: initial; text-align: initial; background-color: rgb(25=
5, 255, 255);"></div><br><div id=3D"_originalContent" style=3D"">

<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8">


<p dir=3D"ltr">On Dec 31, 2014 1:50 PM, "Christoph Anton Mitterer" &lt;<a h=
ref=3D"mailto:calestyo@scientia.net">calestyo@scientia.net</a>&gt; wrote:<b=
r>
&gt; I think it's really a bad idea for the CFRG to strive so much for<br>
&gt; consensus.</p>
<p dir=3D"ltr">If you believe in the security of curve25519 then you also b=
elieve in the security of Microsoft's current position at ~128 bits. They h=
ave the same structure and thus strictly the same strength.</p>
<p dir=3D"ltr">There's /no/ possibility of weakening anything, mathematical=
ly, with a different base point (in the correct subgroup) or by using an is=
ogeny.</p>
<p dir=3D"ltr">IRTF groups do not, technically, have to reach consensus. Ho=
wever, everyone does have to function on the same Internet at the end of th=
e day.<br>
</p>
<p dir=3D"ltr">Cheers</p>
<p dir=3D"ltr">AGL</p>


<br><!--end of _originalContent --></div></body></html>
--===============0872711483==--

--===============1664686652==
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
NTAOBggqhkiG9w0DAgICAIAwDgYIKoZIhvcNAwQCAgCAMAcGBSsOAwIHMAoGCCqGSIb3DQMHMBcG
CSsGAQQBgjcUAgQKHggAVQBzAGUAcjApBgNVHSUEIjAgBgorBgEEAYI3CgMEBggrBgEFBQcDBAYI
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QcwAoZcaHR0cDovL21jYTAyeWtmLnJpbS5uZXQvQ2VydEVu
cm9sbC9NQ0EwMllLRi5yaW0ubmV0X1JJTSUyMFN1Ym9yZGluYXRlJTIwQ0ElMjBNQ0EwMllLRig0
KS5jcnQwDQYJKoZIhvcNAQEFBQADggEBAHLQZIa8qzIefgvvGIjq0fMYvhtTZFMnHzS7s+H2HUMx
TQfclsckbNitMnZdF+T2V3o4WyIn9HRaMmsZ4YPw+YWH3hiIV3wDhRtthKTCVl1Tmr6mC8bJZ3Nn
p4oVgGHFpIz3xOrX91zF5KHRZDGLxHfqhY/HlL8W23EdXQaogRTTQ3CpQCp/6BJaf4iPy41BjBG/
rSXR7bbBhMb0M0ndc8JNVOnDop2A/NmNPMwOW89/JeWxNvqZZn19xEPLwimAPeabIBoN4bH359ed
LJqWOx3hDxkWYfb4JRn4tsJzKmP0IDvqrO/HajvwtW3t6rkFN1h0OmHGa9yT9UXO8o++iu4xggFf
MIIBWwIBATBeMFAxEzARBgoJkiaJk/IsZAEZFgNuZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xJDAi
BgNVBAMTG1JJTSBTdWJvcmRpbmF0ZSBDQSBNQ0EwMllLRgIKbandRwAEAAAFajAHBgUrDgMCGqBd
MBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTE0MTIzMTE1MDcxN1ow
IwYJKoZIhvcNAQkEMRYEFFezdRbIclOnekpRvT6O3wpRQJkrMAsGCSqGSIb3DQEBBQSBgAPNIwRY
lrkdnLI7eWTyiMZiY1SuMVHw78xlI2U021V88AahgHycWW86zTGQ+LPr/e2fiaCowkksy2kTtemk
KWvSzqpqnbentWsNosNsio2plvAOBNQyyKPYu0830LsaWeMvZ+oNFJAaFOWATw+/G5fH95EXy2r3
THzcsoE+U/CwAAAAAAAA

--===============1664686652==--


From nobody Wed Dec 31 07:30:41 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 EE0B41A9088 for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 07:30:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.51
X-Spam-Level: 
X-Spam-Status: No, score=-14.51 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, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, 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 b5-uhOZjGTXE for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 07:30:38 -0800 (PST)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E4C1B1A9084 for <cfrg@irtf.org>; Wed, 31 Dec 2014 07:30:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=16496; q=dns/txt; s=iport; t=1420039838; x=1421249438; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=GaWGaY6k8hGFF6/3AtiLfIJZW8z5osIxZNCNVapJCgE=; b=MWBSe/9nCFxBBM/XsP59C1VbbZ37EXztHgHhxTttO67uIRZ9TFlgflrz uch5mXUArlLLxQOlhvhfYN6i/ATGm1BDfjAOe7+8aad329Q5Ioj2fjO3L jbKJ6+xJtvFHrEcd7nWi1u27CchC1f/u1BVEtG04btuGVoCI5Cej/IRPk c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhwFAJYVpFStJA2J/2dsb2JhbABcFoItQ1JYBIMBwzWFcQIcahYBAQEBAX2EDAEBAQQjCkwQAgEIDgMEAQEBCh0DAgICMBQJCAEBBAENBQiIJA2ycJRoAQEBAQEBAQEBAQEBAQEBAQEBAQEBF49GFhsGAYJoLoETBYQtiWiaQyKCMoE8bwEBgUN+AQEB
X-IronPort-AV: E=Sophos;i="5.07,673,1413244800";  d="scan'208,217";a="383578546"
Received: from alln-core-4.cisco.com ([173.36.13.137]) by rcdn-iport-5.cisco.com with ESMTP; 31 Dec 2014 15:30:37 +0000
Received: from xhc-aln-x01.cisco.com (xhc-aln-x01.cisco.com [173.36.12.75]) by alln-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id sBVFUamK007130 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 31 Dec 2014 15:30:36 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.122]) by xhc-aln-x01.cisco.com ([173.36.12.75]) with mapi id 14.03.0195.001; Wed, 31 Dec 2014 09:30:36 -0600
From: "Scott Fluhrer (sfluhrer)" <sfluhrer@cisco.com>
To: Dan Brown <dbrown@certicom.com>, Adam Langley <agl@imperialviolet.org>, Christoph Anton Mitterer <calestyo@scientia.net>
Thread-Topic: [Cfrg] malicious DH base points [was Re: should the CFRG really strive for consensus?]
Thread-Index: AdAlC3ncj0vH2sKEQBKKNUfeAAj9hwAAO1rg
Date: Wed, 31 Dec 2014 15:30:35 +0000
Message-ID: <A113ACFD9DF8B04F96395BDEACB340420BE9ABF9@xmb-rcd-x04.cisco.com>
References: <20141231150719.6639764.27338.24398@certicom.com>
In-Reply-To: <20141231150719.6639764.27338.24398@certicom.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.86.248.93]
Content-Type: multipart/alternative; boundary="_000_A113ACFD9DF8B04F96395BDEACB340420BE9ABF9xmbrcdx04ciscoc_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/qcKHnW91P6ss4C8uf-luYjO4zsA
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] malicious DH base points [was Re: should the CFRG really strive for consensus?]
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, 31 Dec 2014 15:30:40 -0000

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

QWN0dWFsbHksIHRoYXQgcGFwZXIgZG9lc27igJl0IGFjdHVhbGx5IHNheSDigJxpdOKAmXMgcG9z
c2libGUgdG8gcGljayBhIG1hbGljaW91cyBnZW5lcmF0b3IgZnJvbSBhIHByaW1lLXNpemVkIGdy
b3Vw4oCdLiAgSW5zdGVhZCwgaXQgKGFjdHVhbGx5LCBjbGFpbSA5KSBzYXlzIOKAnGlmIHdlIGtu
ZXcgb2YgYSBnZW5lcmF0b3IvS0RGIHBhaXIgd2hpY2ggbWFkZSBkZXJpdmluZyB0aGUgc2hhcmVk
IHNlY3JldCBlYXN5LCBzb21lb25lIHNldHRpbmcgdXAgdGhlIGdyb3VwIGNvdWxkIHVzZSB0aGF0
IHRvIHNlbGVjdCBhIHJhbmRvbS1sb29raW5nIGdlbmVyYXRvciB0aGF0LCB3aXRoIHRoYXQgS0RG
LCBjb250YWlucyBhIHRyYXAgZG9vciB0aGF0IGhlIGN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IGFsc28gYmVs
aWV2ZSBpbiB0aGUgc2VjdXJpdHkgb2YgTWljcm9zb2Z0J3MgY3VycmVudCBwb3NpdGlvbiBhdCB+
MTI4IGJpdHMuIFRoZXkgaGF2ZSB0aGUgc2FtZSBzdHJ1Y3R1cmUgYW5kIHRodXMgc3RyaWN0bHkg
dGhlIHNhbWUgc3RyZW5ndGguPG86cD48L286cD48L3A+DQo8cD5UaGVyZSdzIC9uby8gcG9zc2li
aWxpdHkgb2Ygd2Vha2VuaW5nIGFueXRoaW5nLCBtYXRoZW1hdGljYWxseSwgd2l0aCBhIGRpZmZl
cmVudCBiYXNlIHBvaW50IChpbiB0aGUgY29ycmVjdCBzdWJncm91cCkgb3IgYnkgdXNpbmcgYW4g
aXNvZ2VueS48bzpwPjwvbzpwPjwvcD4NCjxwPklSVEYgZ3JvdXBzIGRvIG5vdCwgdGVjaG5pY2Fs
bHksIGhhdmUgdG8gcmVhY2ggY29uc2Vuc3VzLiBIb3dldmVyLCBldmVyeW9uZSBkb2VzIGhhdmUg
dG8gZnVuY3Rpb24gb24gdGhlIHNhbWUgSW50ZXJuZXQgYXQgdGhlIGVuZCBvZiB0aGUgZGF5Ljxv
OnA+PC9vOnA+PC9wPg0KPHA+Q2hlZXJzPG86cD48L286cD48L3A+DQo8cD5BR0w8bzpwPjwvbzpw
PjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxicj4NCjxicj4NCjxvOnA+PC9vOnA+PC9wPg0K
PC9kaXY+DQo8L2Rpdj4NCjwvYm9keT4NCjwvaHRtbD4NCg==

--_000_A113ACFD9DF8B04F96395BDEACB340420BE9ABF9xmbrcdx04ciscoc_--


From nobody Wed Dec 31 07:44: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 546551A00E9 for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 07:44:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=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 I3GX-5zzYyUB for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 07:44:28 -0800 (PST)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id CB2601A00CD for <cfrg@irtf.org>; Wed, 31 Dec 2014 07:44:27 -0800 (PST)
Received: from xct107cnc.rim.net ([10.65.161.207]) by mhs214cnc.rim.net with ESMTP/TLS/AES128-SHA; 31 Dec 2014 10:44:22 -0500
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT107CNC.rim.net ([fe80::b815:71ef:9f8f:e07c%16]) with mapi id 14.03.0210.002; Wed, 31 Dec 2014 10:44:21 -0500
From: Dan Brown <dbrown@certicom.com>
To: "Scott Fluhrer (sfluhrer)" <sfluhrer@cisco.com>, Adam Langley <agl@imperialviolet.org>, Christoph Anton Mitterer <calestyo@scientia.net>
Thread-Topic: [Cfrg] malicious DH base points [was Re: should the CFRG really strive for consensus?]
Thread-Index: AdAlEKR+A6afVSjDUE2VN8MZfIEDUw==
Date: Wed, 31 Dec 2014 15:44:20 +0000
Message-ID: <20141231154418.6639764.33790.24403@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="===============1819635569=="
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/UZUE-nZyvhbp7NltRNzaXF5lUt4
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] malicious DH base points [was Re: should the CFRG really strive for consensus?]
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, 31 Dec 2014 15:44:30 -0000

--===============1819635569==
Content-Type: multipart/alternative; boundary="===============1366155956=="
MIME-Version: 1.0

--===============1366155956==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64

UmlnaHQsIEkgc2hvdWxkIGhhdmUgc2FpZCBoeXBvdGhldGljYWwgcmF0aGVyIHBvc3NpYmxlICh3
aGljaCBjYW4gYWxzbyBiZSByZWFkIGFzIGFibGUpLgoKU28sIHVuZGVyIHRoZSBwYXBlcidzIHVu
bGlrZWx5IE1ESCBoeXBvdGhlc2lzLCBhIGZhc3QgZ2VuZXJhdG9yIGNvdWxkIGJlIHdlYWssIG9y
IHdvcnNlLCBhbiB1bmV4cGxhaW5lZCByYW5kb20tbG9va2luZyBnZW5lcmF0b3IgY291bGQgYmUg
d2Vhay4gVG8gbWUsIHRoZSBiZXN0IGNvdW50ZXJtZWFzdXJlIHRvIHRoaXMgaHlwb3RoZXRpY2Fs
IGF0dGFjayB3b3VsZCBiZSBhbiBleHBsYWluYWJsZSByYW5kb21pc2ggYmFzZSBwb2ludC4gT3Is
IG9uZSBjYW4ganVzdCB1c2UgdGhlIGZhc3Rlc3QgYmFzZSBwb2ludCwgYW5kIGFyZ3VlIHRoaXMg
aHlwb3RoZXNpcyBpcyB0b28g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YW4gaXNvZ2VueS4KCklSVEYgZ3JvdXBzIGRvIG5vdCwgdGVjaG5p
Y2FsbHksIGhhdmUgdG8gcmVhY2ggY29uc2Vuc3VzLiBIb3dldmVyLCBldmVyeW9uZSBkb2VzIGhh
dmUgdG8gZnVuY3Rpb24gb24gdGhlIHNhbWUgSW50ZXJuZXQgYXQgdGhlIGVuZCBvZiB0aGUgZGF5
LgoKQ2hlZXJzCgpBR0wKCgoKCg==

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

<html><head></head><body bgcolor=3D"white" lang=3D"EN-US" link=3D"blue" vli=
nk=3D"purple" data-blackberry-caret-color=3D"#00a8df" style=3D"background-c=
olor: rgb(255, 255, 255); line-height: initial;"><div style=3D"width: 100%;=
 font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: =
rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255)=
;">Right, I should have said hypothetical rather possible (which can also b=
e read as able).</div><div style=3D"width: 100%; font-size: initial; font-f=
amily: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-alig=
n: initial; background-color: rgb(255, 255, 255);"><br></div><div style=3D"=
width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-se=
rif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(25=
5, 255, 255);">So, under the paper's unlikely MDH hypothesis, a fast genera=
tor could be weak, or worse, an unexplained random-looking generator could =
be weak. To me, the best countermeasure to this hypothetical attack would b=
e an explainable randomish base point. Or, one can just use the fastest bas=
e point, and argue this hypothesis is too unlikely to fret over.</div><div =
style=3D"width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro'=
, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-colo=
r: rgb(255, 255, 255);"><br></div><div style=3D"width: 100%; font-size: ini=
tial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125=
); text-align: initial; background-color: rgb(255, 255, 255);">Aside: I thi=
nk X9.62-2005 added an option to have pseudorandom base points...</div>    =
                                                                           =
                                                      <div style=3D"width: =
100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; co=
lor: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255,=
 255);"><br style=3D"display:initial"></div>                               =
                                                                           =
                           <div style=3D"font-size: initial; font-family: C=
alibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initi=
al; background-color: rgb(255, 255, 255);">Best regards, <br><br>-- Dan</di=
v>                                                                         =
                                                                           =
                                    <table width=3D"100%" style=3D"backgrou=
nd-color:white;border-spacing:0px;"> <tbody><tr><td colspan=3D"2" style=3D"=
font-size: initial; text-align: initial; background-color: rgb(255, 255, 25=
5);">                                              <div id=3D"_persistentHe=
ader" style=3D"border-style: solid none none; border-top-color: rgb(181, 19=
6, 223); border-top-width: 1pt; padding: 3pt 0in 0in; font-family: Tahoma, =
'BB Alpha Sans', 'Slate Pro'; font-size: 10pt;">  <div><b>From: </b>Scott F=
luhrer (sfluhrer)</div><div><b>Sent: </b>Wednesday, December 31, 2014 10:30=
 AM</div><div><b>To: </b>Dan Brown; Adam Langley; Christoph Anton Mitterer<=
/div><div><b>Cc: </b>cfrg@irtf.org</div><div><b>Subject: </b>RE: [Cfrg] mal=
icious DH base points [was Re: should the CFRG really strive for consensus?=
]</div></div></td></tr></tbody></table><div style=3D"border-style: solid no=
ne none; border-top-color: rgb(186, 188, 209); border-top-width: 1pt; font-=
size: initial; text-align: initial; background-color: rgb(255, 255, 255);">=
</div><br><div id=3D"_originalContent" style=3D"background-color: white;">

<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8">
<style>
<!--
@font-face
	{font-family:Calibri}
@font-face
	{font-family:Tahoma}
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
	{color:blue;
	text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline}
p
	{margin-right:0in;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman","serif"}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif"}
span.EmailStyle18
	{font-family:"Calibri","sans-serif";
	color:#1F497D}
span.BalloonTextChar
	{font-family:"Tahoma","sans-serif"}
.MsoChpDefault
	{font-size:10.0pt}
@page WordSection1
	{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
	{}
-->
</style>


<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1F497D">Actually, that paper do=
esn=E2=80=99t actually say =E2=80=9Cit=E2=80=99s possible to pick a malicio=
us generator from a prime-sized group=E2=80=9D.&nbsp; Instead, it (actually=
, claim 9) says =E2=80=9Cif
 we knew of a generator/KDF pair which made deriving the shared secret easy=
, someone setting up the group could use that to select a random-looking ge=
nerator that, with that KDF, contains a trap door that he could exploit=E2=
=80=9D.</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1F497D">&nbsp;</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1F497D">If anything, that paper=
 can be construed to be an argument for a nonrandom-looking generator (beca=
use that doesn=E2=80=99t give anyone a chance to build in the above
 trap door).</span></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"font-size:11.0pt; font=
-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">&nbsp;</=
span></p>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;; color:#1F497D">&nbsp;</span></p>
<div>
<div style=3D"border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0i=
n 0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt; font-family:&quo=
t;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-=
size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Cfrg [=
mailto:cfrg-bounces@irtf.org]
<b>On Behalf Of </b>Dan Brown<br>
<b>Sent:</b> Wednesday, December 31, 2014 10:07 AM<br>
<b>To:</b> Adam Langley; Christoph Anton Mitterer<br>
<b>Cc:</b> cfrg@irtf.org<br>
<b>Subject:</b> [Cfrg] malicious DH base points [was Re: should the CFRG re=
ally strive for consensus?]</span></p>
</div>
</div>
<p class=3D"MsoNormal">&nbsp;</p>
<div>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">=E2=80=8EThe p=
aper talks about the possibility of malicious base points for DH:</span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-size:=
11.5pt; font-family:&quot;Arial&quot;,&quot;sans-serif&quot;; color:#505B62=
"><br>
<br>
</span><span style=3D"font-family:&quot;Calibri&quot;,&quot;sans-serif&quot=
;; color:#1F497D"></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-size:=
11.5pt; font-family:&quot;Arial&quot;,&quot;sans-serif&quot;; color:#505B62=
">Boaz Tsaban:&nbsp;</span><b><span style=3D"font-size:11.5pt; font-family:=
&quot;Arial&quot;,&quot;sans-serif&quot;; color:#666666">Fast generators fo=
r the Diffie-Hellman
 key agreement protocol and malicious standards.</span></b><span style=3D"f=
ont-size:11.5pt; font-family:&quot;Arial&quot;,&quot;sans-serif&quot;; colo=
r:#505B62">&nbsp;</span><span style=3D"font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;; color:#1F497D"><a href=3D"http://www.informatik.uni-tri=
er.de/~ley/db/journals/iacr/iacr2005.html#Tsaban05" target=3D"_BLANK"><span=
 style=3D"font-size:11.5pt; font-family:&quot;Arial&quot;,&quot;sans-serif&=
quot;; color:#7D848A; text-decoration:none">IACR
 Cryptology ePrint Archive 2005</span></a></span><span style=3D"font-size:1=
1.5pt; font-family:&quot;Arial&quot;,&quot;sans-serif&quot;; color:#505B62"=
>: 231 (2005)</span><span style=3D"font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;; color:#1F497D"></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">&nbsp;</span><=
/p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">It may be far-=
fetched, but the paper seems to show that the independence of DH from the b=
ase point is =E2=80=8Enot quite a mathematical certainty, unless the
 paper has been refuted in further research.&nbsp;</span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">&nbsp;</span><=
/p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">Best regards,
<br>
<br>
-- Dan</span></p>
</div>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"3" cellpadding=
=3D"0" width=3D"100%" style=3D"width:100.0%; background:white; border-spaci=
ng:0px">
<tbody>
<tr>
<td style=3D"padding:.75pt .75pt .75pt .75pt; font-size:initial; text-align=
:initial">
<div id=3D"_persistentHeader" style=3D"border:none; border-top:solid #B5C4D=
F 1.0pt; padding:3.0pt 0in 0in 0in">
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt; font-family:&quo=
t;Tahoma&quot;,&quot;sans-serif&quot;">From:
</span></b><span style=3D"font-size:10.0pt; font-family:&quot;Tahoma&quot;,=
&quot;sans-serif&quot;">Adam Langley</span></p>
</div>
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt; font-family:&quo=
t;Tahoma&quot;,&quot;sans-serif&quot;">Sent:
</span></b><span style=3D"font-size:10.0pt; font-family:&quot;Tahoma&quot;,=
&quot;sans-serif&quot;">Wednesday, December 31, 2014 9:45 AM</span></p>
</div>
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt; font-family:&quo=
t;Tahoma&quot;,&quot;sans-serif&quot;">To:
</span></b><span style=3D"font-size:10.0pt; font-family:&quot;Tahoma&quot;,=
&quot;sans-serif&quot;">Christoph Anton Mitterer</span></p>
</div>
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt; font-family:&quo=
t;Tahoma&quot;,&quot;sans-serif&quot;">Cc:
</span></b><span style=3D"font-size:10.0pt; font-family:&quot;Tahoma&quot;,=
&quot;sans-serif&quot;"><a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a><=
/span></p>
</div>
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt; font-family:&quo=
t;Tahoma&quot;,&quot;sans-serif&quot;">Subject:
</span></b><span style=3D"font-size:10.0pt; font-family:&quot;Tahoma&quot;,=
&quot;sans-serif&quot;">Re: [Cfrg] should the CFRG really strive for consen=
sus?</span></p>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal">&nbsp;</p>
<div id=3D"_originalContent">
<p>On Dec 31, 2014 1:50 PM, "Christoph Anton Mitterer" &lt;<a href=3D"mailt=
o:calestyo@scientia.net">calestyo@scientia.net</a>&gt; wrote:<br>
&gt; I think it's really a bad idea for the CFRG to strive so much for<br>
&gt; consensus.</p>
<p>If you believe in the security of curve25519 then you also believe in th=
e security of Microsoft's current position at ~128 bits. They have the same=
 structure and thus strictly the same strength.</p>
<p>There's /no/ possibility of weakening anything, mathematically, with a d=
ifferent base point (in the correct subgroup) or by using an isogeny.</p>
<p>IRTF groups do not, technically, have to reach consensus. However, every=
one does have to function on the same Internet at the end of the day.</p>
<p>Cheers</p>
<p>AGL</p>
<p class=3D"MsoNormal"><br>
<br>
</p>
</div>
</div>


<br><!--end of _originalContent --></div></body></html>
--===============1366155956==--

--===============1819635569==
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
NTAOBggqhkiG9w0DAgICAIAwDgYIKoZIhvcNAwQCAgCAMA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5keKvUarJNQebogd5P
5nqKVE9s4z77AAAAAAAA

--===============1819635569==--


From nobody Wed Dec 31 08:08:10 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 7DCC51A9114 for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 08:08:07 -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 bGs2kWesq41s for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 08:08:01 -0800 (PST)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0620.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::620]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0CF9C1A9105 for <cfrg@irtf.org>; Wed, 31 Dec 2014 08:08:00 -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.49.12; Wed, 31 Dec 2014 16:02:51 +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.0049.002; Wed, 31 Dec 2014 16:02:51 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Dan Brown <dbrown@certicom.com>, "Scott Fluhrer (sfluhrer)" <sfluhrer@cisco.com>, Adam Langley <agl@imperialviolet.org>, "Christoph Anton Mitterer" <calestyo@scientia.net>
Thread-Topic: [Cfrg] malicious DH base points [was Re: should the CFRG really strive for consensus?]
Thread-Index: AdAlEKR+j0vH2sKEQBKKNUfeAAj9hwAApFCA
Date: Wed, 31 Dec 2014 16:02:51 +0000
Message-ID: <D0C9CE59.3B14A%kenny.paterson@rhul.ac.uk>
References: <20141231154418.6639764.33790.24403@certicom.com>
In-Reply-To: <20141231154418.6639764.33790.24403@certicom.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.7.141117
x-originating-ip: [2.96.147.218]
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Kenny.Paterson@rhul.ac.uk; 
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB384;
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB384;
x-forefront-prvs: 0442E569BC
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(377454003)(199003)(189002)(51704005)(24454002)(479174004)(20776003)(97736003)(101416001)(4396001)(87936001)(107046002)(66066001)(86362001)(64706001)(92566001)(19580395003)(105586002)(46102003)(21056001)(31966008)(15975445007)(68736005)(76176999)(77156002)(120916001)(62966003)(102836002)(2950100001)(50986999)(40100003)(19580405001)(77096005)(74482002)(36756003)(99396003)(106356001)(2900100001)(54356999)(2656002)(122556002); 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; 
received-spf: None (protection.outlook.com: rhul.ac.uk does not designate permitted sender hosts)
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <C379FBBA29AE274BB46A6CB7429082F9@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Dec 2014 16:02:51.1303 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR03MB384
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/MAL-aCX4DDV0Ux83TDoEm4_lnZs
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] malicious DH base points [was Re: should the CFRG really strive for consensus?]
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, 31 Dec 2014 16:08:08 -0000

Folks,

Please, let's desist from these kinds of side-track discussions. They clog
up peoples' inboxes and make it hard to see the wood from the trees in
what is already a heavily-wooded discussion.

Thanks

Kenny

On 31/12/2014 15:44, "Dan Brown" <dbrown@certicom.com> wrote:

>
>Right, I should have said hypothetical rather possible (which can also be
>read as able).
>
>
>So, under the paper's unlikely MDH hypothesis, a fast generator could be
>weak, or worse, an unexplained random-looking generator could be weak. To
>me, the best countermeasure to this hypothetical attack would be an
>explainable randomish base point. Or, one
> can just use the fastest base point, and argue this hypothesis is too
>unlikely to fret over.
>
>
>Aside: I think X9.62-2005 added an option to have pseudorandom base
>points...
>
>
>Best regards,=20
>
>-- Dan
>From: Scott Fluhrer (sfluhrer)
>Sent: Wednesday, December 31, 2014 10:30 AM
>To: Dan Brown; Adam Langley; Christoph Anton Mitterer
>Cc: cfrg@irtf.org
>Subject: RE: [Cfrg] malicious DH base points [was Re: should the CFRG
>really strive for consensus?]
>
>
>
>Actually, that paper doesn=B9t actually say =B3it=B9s possible to pick a
>malicious generator from a prime-sized group=B2.  Instead, it (actually,
>claim 9) says =B3if
> we knew of a generator/KDF pair which made deriving the shared secret
>easy, someone setting up the group could use that to select a
>random-looking generator that, with that KDF, contains a trap door that
>he could exploit=B2.
>=20
>If anything, that paper can be construed to be an argument for a
>nonrandom-looking generator (because that doesn=B9t give anyone a chance t=
o
>build in the above
> trap door).
>=20
>
>=20
>From: Cfrg [mailto:cfrg-bounces@irtf.org]
>On Behalf Of Dan Brown
>Sent: Wednesday, December 31, 2014 10:07 AM
>To: Adam Langley; Christoph Anton Mitterer
>Cc: cfrg@irtf.org
>Subject: [Cfrg] malicious DH base points [was Re: should the CFRG really
>strive for consensus?]
>
>
>=20
>The paper talks about the possibility of malicious base points for DH:
>
>
>
>
>
>Boaz Tsaban: Fast generators for the Diffie-Hellman
> key agreement protocol and malicious standards. IACR
> Cryptology ePrint Archive 2005
><http://www.informatik.uni-trier.de/~ley/db/journals/iacr/iacr2005.html#Ts
>aban05>: 231 (2005)
>
>=20
>
>It may be far-fetched, but the paper seems to show that the independence
>of DH from the base point is not quite a mathematical certainty, unless
>the
> paper has been refuted in further research.
>
>=20
>
>Best regards,
>
>
>-- Dan
>
>From:
>Adam Langley
>
>Sent:
>Wednesday, December 31, 2014 9:45 AM
>
>To:
>Christoph Anton Mitterer
>
>Cc:
>cfrg@irtf.org
>
>Subject:
>Re: [Cfrg] should the CFRG really strive for consensus?
>
>
>=20
>On Dec 31, 2014 1:50 PM, "Christoph Anton Mitterer"
><calestyo@scientia.net> wrote:
>> I think it's really a bad idea for the CFRG to strive so much for
>> consensus.
>If you believe in the security of curve25519 then you also believe in the
>security of Microsoft's current position at ~128 bits. They have the same
>structure and thus strictly the same strength.
>There's /no/ possibility of weakening anything, mathematically, with a
>different base point (in the correct subgroup) or by using an isogeny.
>IRTF groups do not, technically, have to reach consensus. However,
>everyone does have to function on the same Internet at the end of the day.
>Cheers
>AGL
>
>
>
>
>
>
>


From nobody Wed Dec 31 08:19:50 2014
Return-Path: <calestyo@scientia.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 6B2281A9170 for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 08:19:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.2
X-Spam-Level: 
X-Spam-Status: No, score=-1.2 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, 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 1_6Bylw2_D0m for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 08:19:47 -0800 (PST)
Received: from mailgw01.dd24.net (mailgw01.dd24.net [193.46.215.41]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 11E4C1A916F for <cfrg@irtf.org>; Wed, 31 Dec 2014 08:19:47 -0800 (PST)
Received: from localhost (mailpolicy-02.live.igb.homer.key-systems.net [192.168.1.27]) by mailgw01.dd24.net (Postfix) with ESMTP id B1ADB5FA95 for <cfrg@irtf.org>; Wed, 31 Dec 2014 16:19:45 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at mailpolicy-02.live.igb.homer.key-systems.net
Received: from mailgw01.dd24.net ([192.168.1.35]) by localhost (mailpolicy-02.live.igb.homer.key-systems.net [192.168.1.30]) (amavisd-new, port 10235) with ESMTP id 6djcsu_DyARg for <cfrg@irtf.org>; Wed, 31 Dec 2014 16:19:35 +0000 (UTC)
Received: from heisenberg.fritz.box (ppp-93-104-116-14.dynamic.mnet-online.de [93.104.116.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailgw01.dd24.net (Postfix) with ESMTPSA for <cfrg@irtf.org>; Wed, 31 Dec 2014 16:19:35 +0000 (UTC)
Message-ID: <1420042774.10106.10.camel@scientia.net>
From: Christoph Anton Mitterer <calestyo@scientia.net>
To: cfrg@irtf.org
Date: Wed, 31 Dec 2014 17:19:34 +0100
In-Reply-To: <CAMfhd9V5-Y60fGqCDfmCvk9+9bqm0zpm3kSHmR5_mzELZ2K+Dw@mail.gmail.com>
References: <CAMfhd9V4tnjQL-orjTjX3KS=-XZRn0snAPrVwmP6pZH_20Cfgg@mail.gmail.com> <1420033807.4638.16.camel@scientia.net> <CAMfhd9V5-Y60fGqCDfmCvk9+9bqm0zpm3kSHmR5_mzELZ2K+Dw@mail.gmail.com>
Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-cm3ce+CJhttB1qX5I91N"
X-Mailer: Evolution 3.12.9-1 
Mime-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/vtBeiyoCs3_CbVLii9_mcAilbg4
Subject: Re: [Cfrg] should the CFRG really strive for consensus?
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, 31 Dec 2014 16:19:48 -0000

--=-cm3ce+CJhttB1qX5I91N
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Wed, 2014-12-31 at 14:44 +0000, Adam Langley wrote:
> If you believe in the security of curve25519 then you also believe in
> the security of Microsoft's current position at ~128 bits. They have
> the same structure and thus strictly the same strength.
My point wasn't specifically about that discrepancy between curve25519
and MS' position... as you pointed out already in your previous email,
they have the same security, by all means of current knowledge....


> IRTF groups do not, technically, have to reach consensus. However,
> everyone does have to function on the same Internet at the end of the
> day.
... my point was rather about the general political problem that still
hides behind the "now open and no longer NIST controlled"
standardisation process of crypto stuff:
Even though the current example of MS vs. "everyone else" may not be a
security problem, it still shows that the whole process would be kinda
"vulnerable" to manipulations - namely if a big player puts pressure on
the CFRG on behalf of his own ideas (which may - or may not - have some
evil hidden within).


Cheers,
Chris.

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

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCCEZIw
ggW/MIIDp6ADAgECAgMCOakwDQYJKoZIhvcNAQENBQAwVDEUMBIGA1UEChMLQ0FjZXJ0IEluYy4x
HjAcBgNVBAsTFWh0dHA6Ly93d3cuQ0FjZXJ0Lm9yZzEcMBoGA1UEAxMTQ0FjZXJ0IENsYXNzIDMg
Um9vdDAeFw0xNDA2MTIxNjM2MThaFw0xNjA2MTExNjM2MThaMHwxITAfBgNVBAMTGENocmlzdG9w
aCBBbnRvbiBNaXR0ZXJlcjEkMCIGCSqGSIb3DQEJARYVY2FsZXN0eW9Ac2NpZW50aWEubmV0MTEw
LwYJKoZIhvcNAQkBFiJtYWlsQGNocmlzdG9waC5hbnRvbi5taXR0ZXJlci5uYW1lMIIBIjANBgkq
hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4phP/j9vT9dZT+k3ffHxvRWMOuzBnu5O3Fl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MjUJgV3S44fdk+kgACtlqYbVVjZMbrKw0grp8upg9DstBntb20NYfI9jtomR6GImuKTXB5l91
opwjcoIz/f7T1wQUUPnUHcFe3k0lWQJPy4rbhoVBooIUTLvdfTc6rrPwksGMImzgwSp2LF4fh7wn
lMBMtHRsyP0cfpubx3ffBEPdof7BER80mXMPSip93cThxXjKI4SrOGf/gvY1DBBz8prsgGAJ6x6Z
PcWmUyPxAAAAAAAA


--=-cm3ce+CJhttB1qX5I91N--


From nobody Wed Dec 31 08:29:26 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 AB8911A923D for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 08:29:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.61
X-Spam-Level: 
X-Spam-Status: No, score=-2.61 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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 q-WV16ASbzqH for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 08:29:24 -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 237281A000B for <cfrg@irtf.org>; Wed, 31 Dec 2014 08:29:23 -0800 (PST)
Received: from prod-mail-xrelay07.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 3F50247653; Wed, 31 Dec 2014 16:29:22 +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 2C0404764E; Wed, 31 Dec 2014 16:29:22 +0000 (GMT)
Received: from email.msg.corp.akamai.com (usma1ex-cas3.msg.corp.akamai.com [172.27.123.32]) by prod-mail-relay07.akamai.com (Postfix) with ESMTP id 205A580047; Wed, 31 Dec 2014 16:29:22 +0000 (GMT)
Received: from usma1ex-cashub7.kendall.corp.akamai.com (172.27.105.23) by usma1ex-dag1mb1.msg.corp.akamai.com (172.27.123.101) with Microsoft SMTP Server (TLS) id 15.0.913.22; Wed, 31 Dec 2014 11:29:03 -0500
Received: from USMBX1.msg.corp.akamai.com ([169.254.1.15]) by usma1ex-cashub7.kendall.corp.akamai.com ([172.27.105.23]) with mapi; Wed, 31 Dec 2014 11:29:03 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Adam Langley <agl@imperialviolet.org>, Christoph Anton Mitterer <calestyo@scientia.net>
Date: Wed, 31 Dec 2014 11:29:00 -0500
Thread-Topic: [Cfrg] should the CFRG really strive for consensus?
Thread-Index: AdAlCFs/4Bq9HNWURfmkBpSKURqQhwADhmmg
Message-ID: <2A0EFB9C05D0164E98F19BB0AF3708C71D55237255@USMBX1.msg.corp.akamai.com>
References: <CAMfhd9V4tnjQL-orjTjX3KS=-XZRn0snAPrVwmP6pZH_20Cfgg@mail.gmail.com> <1420033807.4638.16.camel@scientia.net> <CAMfhd9V5-Y60fGqCDfmCvk9+9bqm0zpm3kSHmR5_mzELZ2K+Dw@mail.gmail.com>
In-Reply-To: <CAMfhd9V5-Y60fGqCDfmCvk9+9bqm0zpm3kSHmR5_mzELZ2K+Dw@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
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/dbh9dYQijWdOQk5pFt06hEHSEfU
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] should the CFRG really strive for consensus?
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, 31 Dec 2014 16:29:25 -0000

PiBJUlRGIGdyb3VwcyBkbyBub3QsIHRlY2huaWNhbGx5LCBoYXZlIHRvIHJlYWNoIGNvbnNlbnN1
cy4gSG93ZXZlciwgZXZlcnlvbmUgZG9lcyBoYXZlIHRvIGZ1bmN0aW9uIG9uIHRoZSBzYW1lIElu
dGVybmV0IGF0IHRoZSBlbmQgb2YgdGhlIGRheS4NCg0KTmVpdGhlciBkb2VzIHRoZSBJRVRGLiAg
QXMgSSByZWNhbGwsIHRoZSBwaHJhc2UgaXMgcm91Z2ggY29uc2Vuc3VzLiAgQXQgbGVhc3QgYXMg
cmVnYXJkcyBYMjU1MTksIEkgdGhpbmsgaXQncyBwcmV0dHkgb2J2aW91cyB0aGF0IE1pY3Jvc29m
dCBpcyBpbiB0aGUgcm91Z2guDQoNCkFzIGEgc2VjdXJpdHkgcGVyc29uLCBub3QgYSBjcnlwdG9n
cmFwaGVyIGJ5IGFueSBzdHJldGNoIG9mIGFueW9uZSdzIGltYWdpbmF0aW9uLCB0aGlzIGlzIHN0
YXJ0aW5nIHRvIGxvb2sgbGlrZSB3ZSBhcmUgdHJ5aW5nIHRvIGZpbmQgYSB3YXkgdG8gImdpdmUg
dGhlbSBzb21ldGhpbmciIHNvIHRoYXQgdGhleSBjYW4gc2F2ZSBmYWNlLg0KDQpJIHRoaW5rIHRo
ZSBwcm9wZXIgd2F5IHRvIHBocmFzZSB0aGUgcXVlc3Rpb24gaXMgdGhpczogIGFyZSB0aGVyZSBh
bnkgc2VjdXJpdHkgb2JqZWN0aW9ucyB0byB0aGUgY3VycmVudGx5IGRlcGxveWVkIFgyNTUxOT8g
IEVpdGhlciBJIGhhdmVuJ3Qgc2VlbiBhbnksIG9yIEkgaGF2ZW4ndCB1bmRlcnN0b29kIHRoZW0u
ICBUaGUgb25seSBvYmplY3Rpb25zIGhhdmUgYmVlbiB0aGF0IHRoZXkgZG9uJ3QgZml0IGludG8g
YSBmcmFtZXdvcmsuDQoNCgkvciQNCg0KLS0gIA0KUHJpbmNpcGFsIFNlY3VyaXR5IEVuZ2luZWVy
LCBBa2FtYWkgVGVjaG5vbG9naWVzDQpJTTogcnNhbHpAamFiYmVyLm1lIFR3aXR0ZXI6IFJpY2hT
YWx6DQoNCg==


From nobody Wed Dec 31 08:55:49 2014
Return-Path: <calestyo@scientia.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 35E211AC3A6 for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 08:55:46 -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 RM78vcBEaSJ6 for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 08:55:44 -0800 (PST)
Received: from mailgw01.dd24.net (mailgw01.dd24.net [193.46.215.41]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BBF8D1A01E1 for <cfrg@irtf.org>; Wed, 31 Dec 2014 08:55:43 -0800 (PST)
Received: from localhost (mailpolicy-02.live.igb.homer.key-systems.net [192.168.1.27]) by mailgw01.dd24.net (Postfix) with ESMTP id 90CD65FAC6 for <cfrg@irtf.org>; Wed, 31 Dec 2014 16:55:42 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at mailpolicy-02.live.igb.homer.key-systems.net
Received: from mailgw01.dd24.net ([192.168.1.35]) by localhost (mailpolicy-02.live.igb.homer.key-systems.net [192.168.1.30]) (amavisd-new, port 10235) with ESMTP id mJoDcKF5Wb5N for <cfrg@irtf.org>; Wed, 31 Dec 2014 16:55:32 +0000 (UTC)
Received: from heisenberg.fritz.box (ppp-93-104-116-14.dynamic.mnet-online.de [93.104.116.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailgw01.dd24.net (Postfix) with ESMTPSA for <cfrg@irtf.org>; Wed, 31 Dec 2014 16:55:32 +0000 (UTC)
Message-ID: <1420044932.10106.16.camel@scientia.net>
From: Christoph Anton Mitterer <calestyo@scientia.net>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Date: Wed, 31 Dec 2014 17:55:32 +0100
In-Reply-To: <2A0EFB9C05D0164E98F19BB0AF3708C71D55237255@USMBX1.msg.corp.akamai.com>
References: <CAMfhd9V4tnjQL-orjTjX3KS=-XZRn0snAPrVwmP6pZH_20Cfgg@mail.gmail.com> <1420033807.4638.16.camel@scientia.net> <CAMfhd9V5-Y60fGqCDfmCvk9+9bqm0zpm3kSHmR5_mzELZ2K+Dw@mail.gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55237255@USMBX1.msg.corp.akamai.com>
Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-C27Is3k4SdulGxmpepHS"
X-Mailer: Evolution 3.12.9-1 
Mime-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/vy5C0HC0z4PZQlcIBg7JGgKjMAI
Subject: Re: [Cfrg] should the CFRG really strive for consensus?
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, 31 Dec 2014 16:55:46 -0000

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

On Wed, 2014-12-31 at 11:29 -0500, Salz, Rich wrote:=20
> look like we are trying to find a way to "give them something" so that th=
ey can save face.
I really wouldn't think that this is or should be necessary for them.
They have some known experts in the field and saying "we agree with they
majority if there are no security concerns and drop our own proposal" is
no shame at all - actually I think that's an important part of the
research and the process of finding the best solution.

Actually, *if* MS was trying to push something through in order to save
their face (and this is just hypothetical and I don't want to say that
this might be the case)... then *this* would be what would actually
embarrass them.


Cheers,
Chris.

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

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCCEZIw
ggW/MIIDp6ADAgECAgMCOakwDQYJKoZIhvcNAQENBQAwVDEUMBIGA1UEChMLQ0FjZXJ0IEluYy4x
HjAcBgNVBAsTFWh0dHA6Ly93d3cuQ0FjZXJ0Lm9yZzEcMBoGA1UEAxMTQ0FjZXJ0IENsYXNzIDMg
Um9vdDAeFw0xNDA2MTIxNjM2MThaFw0xNjA2MTExNjM2MThaMHwx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AoTC0NBY2Vy
dCBJbmMuMR4wHAYDVQQLExVodHRwOi8vd3d3LkNBY2VydC5vcmcxHDAaBgNVBAMTE0NBY2VydCBD
bGFzcyAzIFJvb3QCAwI5qTANBgkqhkiG9w0BAQEFAASCAQBJ3XrpPPqRGcDRqKKevt3FuIvQZpTK
BrHSVNYNnfNELU8OkpaNu0nd1HLu29qaJYPArfTdqRXXogCuhBmJmXonXSys8hUfDL3PNYkR9LFT
KlM8v4ygW43pLEqkI0qW+s4C54tcfPzeaEFffeI6BrFI0kw7KRyKC2RmYUDkrd0+LXIuabF/I75H
wYOO/bJHS2DHNjV6S1+OAD+pZAud8+Fr0AYQa0QcAo13ILgD/V4A1ertyYGjQXm4nlNa37Dv9xb9
TG/PJwam0qRqaa988eIvi0uEcY18eGkk82xiu5ASj4KcILtssAeUPuuHrPEpgVcWg32+HgQc+9PL
yW+FYFYNAAAAAAAA


--=-C27Is3k4SdulGxmpepHS--


From nobody Wed Dec 31 09:15:27 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 10BD71A00F0 for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 09:15:27 -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 NtbFI_PkqmhU for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 09:15:25 -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 608E81A0203 for <cfrg@irtf.org>; Wed, 31 Dec 2014 09:15:20 -0800 (PST)
Received: by mail-wi0-f176.google.com with SMTP id ex7so25832249wid.9 for <cfrg@irtf.org>; Wed, 31 Dec 2014 09:15:19 -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=PorrCturkPZ671vcTACL7mNBEnM6Q33aHpqNtIcMsbQ=; b=G09B/juLSSN39J4PYwibkuonDB2OCfoJo+bCZNcpgN5TtinL6KhjzA2GK+v9iKBYda jlI3zelLkYHXiwEsioan2LJ6wGF2mlTSxYrK2Dp2NG7FTfizQ0Uepq5/sYaAQ9HtIBUe d1fchznsoKNu3m1hacudTNyLDrbq85+phn90TC+6dcLqbG7Y8ts0NFftGXRxFMp27b5Y ZYbSqp2oGsoWehc32gjUvV0IYGpHcyujx9hOUi+2Qu180LJFcVzZKgzKvJ/XNt5633LP jrfy9M8FxyDxznCBvFHQEOX3VHWZG91oDBuOQYIYBV2zKy9osYp/sg2r6B5qIp4xu6PI P2Hw==
X-Received: by 10.180.101.200 with SMTP id fi8mr117831057wib.77.1420046118919;  Wed, 31 Dec 2014 09:15:18 -0800 (PST)
Received: from yoavs-mbp.mshome.net ([109.253.145.41]) by mx.google.com with ESMTPSA id wz5sm58218791wjc.29.2014.12.31.09.15.17 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 31 Dec 2014 09:15:18 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <2A0EFB9C05D0164E98F19BB0AF3708C71D55237255@USMBX1.msg.corp.akamai.com>
Date: Wed, 31 Dec 2014 19:15:15 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <8DA42473-4241-4F2F-A813-F4834B3D95DA@gmail.com>
References: <CAMfhd9V4tnjQL-orjTjX3KS=-XZRn0snAPrVwmP6pZH_20Cfgg@mail.gmail.com> <1420033807.4638.16.camel@scientia.net> <CAMfhd9V5-Y60fGqCDfmCvk9+9bqm0zpm3kSHmR5_mzELZ2K+Dw@mail.gmail.com> <2A0EFB9C05D0164E98F19BB0AF3708C71D55237255@USMBX1.msg.corp.akamai.com>
To: Rich Salz <rsalz@akamai.com>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/xjKpAX_5Ty4rjoSdOrzWYFI2854
Cc: Adam Langley <agl@imperialviolet.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] should the CFRG really strive for consensus?
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, 31 Dec 2014 17:15:27 -0000

> On Dec 31, 2014, at 6:29 PM, Salz, Rich <rsalz@akamai.com> wrote:
>=20
>> IRTF groups do not, technically, have to reach consensus. However, =
everyone does have to function on the same Internet at the end of the =
day.
>=20
> Neither does the IETF.  As I recall, the phrase is rough consensus.  =
At least as regards X25519, I think it's pretty obvious that Microsoft =
is in the rough.

The consensus process is pretty terrible at choosing between two or more =
non-horrible alternatives. It=E2=80=99s fairly easy for relatively small =
groups to block consensus.

When it works, the consensus process produces the best solution that =
won=E2=80=99t get a group of participants to say, =E2=80=9CThis sucks, =
we=E2=80=99re taking out ball and going home.=E2=80=9D In our terms that =
would be Microsoft declaring that the product of this process is not =
going into Explorer and IIS.=20

Compare the process for the ChaCha20+Poly1305 draft. We submitted it, =
there were several suggestions for improving the text, one suggestion to =
improve the construction, which was accepted, and a couple of =
suggestions to modify the base algorithms that were not accepted and no =
big arguments came out of it. Contributions included better text, =
pseudo-code, links to research papers about the algorithms, and a more =
thorough set of test vectors. The group made the document better until =
there was consensus that it was done.

If the only proposal before CFRG was Curve25519, the process would be =
the same. I think the extra proposals caught the chairs by surprise. But =
regardless, it exposed how bad the consensus process is at choosing. For =
extra fun, see two similar cases at the IETF in the IPsecME working =
group.=20

And now I should  add a sentence that starts with, =E2=80=9CAnd the key =
to fixing this is=E2=80=A6=E2=80=9D, but I can=E2=80=99t. As long as we =
all want to interoperate on the same Internet, and as long as we don=E2=80=
=99t have any format authority (the way NIST does), we are forced to do =
our best to avoid people =E2=80=9Ctaking their ball and going home=E2=80=9D=
.  I don=E2=80=99t know how to fix this.

Yoav



From nobody Wed Dec 31 09:32:23 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 9A14E1AC442 for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 09:32:15 -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 0PJHvRMp-Xvi for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 09:32:09 -0800 (PST)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0689.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::689]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4CB251AC436 for <cfrg@irtf.org>; Wed, 31 Dec 2014 09:32:09 -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.49.12; Wed, 31 Dec 2014 17:28:21 +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.0049.002; Wed, 31 Dec 2014 17:28:21 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Tanja Lange <tanja@hyperelliptic.org>
Thread-Topic: [Cfrg] draft-black-rpgecc-00-.txt [was: Consensus and a way forward]
Thread-Index: AQHQCg+AA9nvrrBncE2keVevceo8V5x0EbQAgAYJNgCAALPwgIAAqAqAgAAkFICAACxOgIAASVqAgAo/CICABgrbAIAAdduAgALh4gCABkJWgIAAhmwAgABitgCABbTwAIANl4kA
Date: Wed, 31 Dec 2014 17:28:21 +0000
Message-ID: <D0C9CEBD.3B150%kenny.paterson@rhul.ac.uk>
References: <CA+Vbu7ye3bytMZ-j8pfZixrjF8irTOoWmRo_GwjB0LphwjXq+Q@mail.gmail.com> <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk> <CACsn0c=uyPT6xa4CsXPeAV31QeeO+HfsCXAxt7Ba6NOt_Y2hiA@mail.gmail.com> <CABqy+sr1T-VwQx1NaRA+xvnqVn7smjs2+YrG2Uz1Q+8M6c3hng@mail.gmail.com> <D0B8EDCF.3A504%kenny.paterson@rhul.ac.uk> <CACsn0cnkdjEPGZ5Q1Nm+6OZJVdoj6X-ksc0X_atavQ+610MkXA@mail.gmail.com> <D0B9A74B.3A60D%kenny.paterson@rhul.ac.uk> <20141223015430.GC28778@cph.win.tue.nl>
In-Reply-To: <20141223015430.GC28778@cph.win.tue.nl>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.7.141117
x-originating-ip: [2.96.147.218]
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Kenny.Paterson@rhul.ac.uk; 
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB383;
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB383;
x-forefront-prvs: 0442E569BC
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(199003)(51704005)(52044002)(24454002)(479174004)(189002)(107046002)(15975445007)(46102003)(4396001)(62966003)(120916001)(230783001)(93886004)(102836002)(106356001)(77096005)(97736003)(77156002)(66066001)(86362001)(54356999)(2950100001)(20776003)(40100003)(92566001)(74482002)(68736005)(21056001)(2656002)(36756003)(106116001)(64706001)(19580405001)(76176999)(87936001)(19580395003)(110136001)(50986999)(122556002)(105586002)(2900100001)(101416001)(99396003)(31966008)(561944003); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR03MB383; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en; 
received-spf: None (protection.outlook.com: rhul.ac.uk does not designate permitted sender hosts)
Content-Type: text/plain; charset="us-ascii"
Content-ID: <5A40E296CBE8B14C9734486DEB7C1E01@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Dec 2014 17:28:21.1283 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR03MB383
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/g_DC00suGIZ3z0WmN-v5LRz0DzQ
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: Wed, 31 Dec 2014 17:32:15 -0000

Hi Tanja,

On 23/12/2014 01:54, "Tanja Lange" <tanja@hyperelliptic.org> wrote:

>Dear Kenny,
>This is a late reply to your reply to Watson.

And this is a slightly less late reply to your message, which arrived
shortly after my Christmas break had begun.

>>=20
>To me this sounds like an ideal moment to follow through on the plans
>made earlier. Is there a final requirements list?

No. I believe we reached agreement on all but a couple of the criteria,
but the chairs' attempts to bring about a meaningful discussion about
quantifying degrees of rigidity/wiggle room were unsuccessful at that time
(mid-October). We did not also reach agreement on requirements for
hardware. See my messages:

https://www.ietf.org/mail-archive/web/cfrg/current/msg05286.html


https://www.ietf.org/mail-archive/web/cfrg/current/msg05610.html



>Is there a date when
>the list of curves to evaluate will be stable?
>What will be the deadline
>for comparing performance of arithmetic in different prime fields and
>comparing performance of arithmetic on different curve shapes? What
>will be the deadline for quantifying wiggle room in generation
>procedures?

It doesn't seem to be working in that mechanistic way, I'm afraid, even
though it would have been my preferred approach. Rather, we tried a
structured, requirements-driven approach, and I think it's fair to say
that, while we made progress and found some common ground, we did not
reach complete agreement on a set of requirements (more succinctly: we
failed). The chairs (actually, me) called for a discussion of the
remaining points of contention around requirements, namely hardware
requirements and quantifying wiggle room.

We had a long thread on the former, which degenerated into a discussion
about special primes versus random primes, belatedly resulting in my
message (https://www.ietf.org/mail-archive/web/cfrg/current/msg05610.html)
in which I wrote that:

"I think that we should focus in the immediate future on selecting curves
for special primes for recommendation to the TLS".

No-one objected to this message, as far as I recall from the subsequent
discussions, so I consider that issue settled for the purposes of our
current task. I consider it to be a corollary of this that are no
particular hardware considerations for us to take into account, beyond the
obvious ones with which we started.

Concerning the latter ("quantifying wiggle room"): there was no on-list
discussion that I saw after my message. I understand that it's a delicate
task and that everyone may have had many other things to work on with
higher priority (indeed we are all part-timers here, despite the volume of
messages that may suggest the contrary).

Meanwhile, events have moved on, and, from late November, we (the CFRG
chairs) started to receive messages from our superiors in IRTF and IETF,
namely the IRTF chair (Lars Eggert) and one of the IETF Security Area
Directors (Stephen Farrell) asking us to try to move things more rapidly
towards a conclusion.

When the MGN proposal was put forward, it seemed to the chairs that it
represented a reasonable basis for discussion that, with fine tuning as ,
could meet with the approval of the group.

>We will not get optimal results by tweaking one meta proposal when
>creating a meta proposal was not the original mission and there has
>been very little discussion about requirements for meta proposals
>while we discussed requirements for curves.

Point taken. But when the original mission fails and the external clock is
ticking, it is surely time to try something else. And the particular
curves that are produced by the (tweaked) meta proposal that is currently
on the table seem to meet all of our agreed security requirements and have
reasonable-to-execllent performance to boot.

> We will not receive
>transparency by engaging in horse trading.
>
>'Compromise' is a word that should be banned from this discussion; we
>already have (potentially) compromised curves!

That's indeed an unfortunate collision! However, I think we know what we
mean when we say "compromise" here.

>> I'd be grateful if the folks from the MGN team could say more on the
>>list
>> why they chose this particular prime, and give some insight into the
>> performance impact of choosing it over near neighbours such as 2^389-21.
>>=20
>> Others should chime in too - for example, people should feel free to
>> repeat performance numbers from earlier in our discussions (they are out
>> there in the archive somewhere!).
>>=20
>> Please let's collaborate and see if we can swiftly resolve whether there
>> is a significant performance impact or not.
>>=20
>I think a competition has more to offer than a 'collaboration' where
>parties get more influence by having more people send emails to the list.

1. This process has never been a competition, in the AES or SHA-3 sense.
It was not set up that way, and it was not intended to run as such. Maybe
people really are under that misapprehension - it would certainly explain
some of the behaviour and petty point scoring that I've seen on the list.

2. If you want to make an accusation that specific parties have been
"DoSing the list" then I think you need to be more specific than this. You
can direct your comments to the chairs or to Lars Eggert off list if you
wish.

>What should count are the merits of papers, implementations, and internet
>drafts so that proposals get more influence by being objectively better.

I could not agree more. But what what you have to remember, I think, is
that no single party or group has a monopoly on papers or implementations
in this area. While no-one doubts the high value of the contributions that
you and your co-authors have made over a period of many years to the
development of "modern ECC", there are now plenty of other people who have
learned from and built upon your work.

>
>So, I would very much like to support what Kenny said:
>> Let's get past instinct to hard numbers.
>>=20
>... but I think this needs clear requirements, deadlines etc.

And I'll repeat what I wrote above, in short form: we tried to extract
requirements, and while we made progress, we did not complete even this
initial task satisfactorily. I am not apportioning blame for that, and I
will happily take my share of it (and, believe me, some people have been
quick to e-mail me off-list to tell me exactly what my due share of it
is!).

More to follow in the coming days on deadlines and process.

Cheers

Kenny


From nobody Wed Dec 31 10:10:55 2014
Return-Path: <tanja@hyperelliptic.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 934081ACC84 for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 10:10:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.595
X-Spam-Level: *
X-Spam-Status: No, score=1.595 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545] 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 YADg9Rofj7H5 for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 10:10:48 -0800 (PST)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id 068001AC446 for <cfrg@irtf.org>; Wed, 31 Dec 2014 10:10:47 -0800 (PST)
Received: (qmail 22854 invoked from network); 31 Dec 2014 18:11:07 -0000
Received: from pcdhz005.win.tue.nl (HELO hyperelliptic.org) (131.155.71.33) by calvin.win.tue.nl with SMTP; 31 Dec 2014 18:11:07 -0000
Received: (qmail 29792 invoked by uid 1000); 31 Dec 2014 18:10:52 -0000
Date: Wed, 31 Dec 2014 19:10:52 +0100
From: Tanja Lange <tanja@hyperelliptic.org>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
Message-ID: <20141231181051.GK28778@cph.win.tue.nl>
References: <20141202092847.29027.qmail@cr.yp.to> <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <D0B0DC9F.39BD0%kenny.paterson@rhul.ac.uk> <CACsn0c=uyPT6xa4CsXPeAV31QeeO+HfsCXAxt7Ba6NOt_Y2hiA@mail.gmail.com> <CABqy+sr1T-VwQx1NaRA+xvnqVn7smjs2+YrG2Uz1Q+8M6c3hng@mail.gmail.com> <D0B8EDCF.3A504%kenny.paterson@rhul.ac.uk> <CACsn0cnkdjEPGZ5Q1Nm+6OZJVdoj6X-ksc0X_atavQ+610MkXA@mail.gmail.com> <D0B9A74B.3A60D%kenny.paterson@rhul.ac.uk> <20141223015430.GC28778@cph.win.tue.nl> <D0C9CEBD.3B150%kenny.paterson@rhul.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <D0C9CEBD.3B150%kenny.paterson@rhul.ac.uk>
User-Agent: Mutt/1.5.11
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/OuFdSmXMVDBSbjQnkcxoGd8Y7Io
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: Wed, 31 Dec 2014 18:10:53 -0000

Dear Kenny,
Just one short reply since your reply shows me that my comment has been 
misunderstood.

> >What should count are the merits of papers, implementations, and internet
> >drafts so that proposals get more influence by being objectively better.
> 
> I could not agree more. But what what you have to remember, I think, is
> that no single party or group has a monopoly on papers or implementations
> in this area. While no-one doubts the high value of the contributions that
> you and your co-authors have made over a period of many years to the
> development of "modern ECC", there are now plenty of other people who have
> learned from and built upon your work.
> 
This was not meant to point at past achievements and I'm sorry if it was
misunderstood this way.

I'm calling for internet drafts (once we know what the requirements are) 
so that then we can write those papers and implementations and then
benchmark them (for some value of 'we' which is likely to include me).

All the best
	Tanja


From nobody Wed Dec 31 10:32:52 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 A2B4C1A009E for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 10:32:50 -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 Waq7Ry9dd8WT for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 10:32:44 -0800 (PST)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0675.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::675]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EAB6D1A0060 for <cfrg@irtf.org>; Wed, 31 Dec 2014 10:32:43 -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.49.12; Wed, 31 Dec 2014 18:30:37 +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.0049.002; Wed, 31 Dec 2014 18:30:37 +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] Mishandling twist attacks
Thread-Index: AQHQJHiu8f86jJSxUEKDoe4rg4OX25yqBsQA
Date: Wed, 31 Dec 2014 18:30:36 +0000
Message-ID: <D0C9ED09.3B226%kenny.paterson@rhul.ac.uk>
References: <CA+Vbu7yQoYf3ei3MADhJ1iV6BcuqVUmkg8SkQ4ud=8m7pz7AvQ@mail.gmail.com> <20141230213458.22858.qmail@cr.yp.to>
In-Reply-To: <20141230213458.22858.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.7.141117
x-originating-ip: [2.96.147.218]
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Kenny.Paterson@rhul.ac.uk; 
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB381;
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB381;
x-forefront-prvs: 0442E569BC
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(479174004)(164054003)(243025005)(189002)(199003)(51704005)(24454002)(76104003)(36944003)(4396001)(86362001)(83506001)(106356001)(97736003)(1720100001)(92566001)(19580405001)(107886001)(105586002)(66066001)(36756003)(106116001)(19580395003)(15975445007)(2950100001)(2900100001)(561944003)(120916001)(74482002)(64706001)(76176999)(50986999)(102836002)(77096005)(68736005)(54356999)(87936001)(40100003)(62966003)(31966008)(99396003)(46102003)(122556002)(20776003)(77156002)(2501002)(2656002)(21056001)(559001)(579004)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR03MB381; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
received-spf: None (protection.outlook.com: rhul.ac.uk does not designate permitted sender hosts)
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <F77BFE0864C1B24194F71293AE8CE495@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Dec 2014 18:30:36.9024 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR03MB381
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/qqrtZnjV1oTBHtvZ1MPYVvnkDYE
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: Wed, 31 Dec 2014 18:32:50 -0000

Dan,

I was going through the recent CFRG messages in order, and then I spotted
the one below, and decided (after consultation with my co-chair Alexey
Melnikov) that it deserved a more immediate response.

Our view is that you have crossed the line of acceptable behaviour in the
way that you are acting on the list, particularly with respect to, but not
exclusively limited to, the message below. Specifically, the tone of the
language and the way you impute motives to other CFRG participants falls
below the levels of professional behaviour that we expect from
participants in the group.

In short: it's time to stop trying to score petty points, making personal
attacks, and using what we can only assume to be deliberately provocative
language. Instead, it's time to start focussing on helping CFRG deliver
the best solution we can, given the externally imposed time constraints
that we are under, and to do so using respectful, constructive language.

I credit you with way too much intelligence not to realise a) what is at
stake here (not only for this particular process, but also for the
reputation of CFRG as a whole) and b) how your recent behaviour will
negatively affect the process. I also know that you are perfectly capable
of restraining yourself. Please start doing so.

Thanks,

Kenny (for the chairs)



On 30/12/2014 21:34, "D. J. Bernstein" <djb@cr.yp.to> wrote:

>I think it's important for the public record to be clear on the security
>advantages of Curve25519 over PinkBikeShed.
>
>I realize that most people don't see this as important---"Microsoft has
>abandoned the PinkBikeShed proposal now; you're beating a dead horse"---
>but I have serious concerns about the procedures that have brought CFRG
>to this point. This message first discusses the procedures, and then
>discusses the technology issues. Some of these issues are also of
>interest beyond PinkBikeShed.
>
>Timeline review:
>
>   * 19 May 2005: http://cr.yp.to/talks/2005.05.19/slides.pdf was the
>     original presentation of what I now call PinkBikeShed. At the time
>     I didn't give it a name (the talk said "Curve"), and the curve
>     didn't last long---very soon afterwards I had thought through the
>     security issues carefully enough to see that Curve25519 was better.
>
>   * 16 October 2014: One of the CFRG chairs proposed taking two weeks
>     to finalize requirements and agree on "whatever benchmarking system
>     we're going to use for performance measurements", and then a month
>     to measure and settle on the final "recommendations to the TLS WG".
>
>   * 2 November 2014: Benjamin Black wrote "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."
>
>     Notice the calm long-term perspective here, quite consistent with
>     the idea that CFRG wanted to take time to think carefully through
>     curve-selection issues---a process I respect and have been happy to
>     contribute to.
>
>   * 3 November 2014: The chair wrote "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. ... 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[out] unduly compromising efficiency and
>     security, then I am prepared to sacrifice some extra time to
>     achieve it. ... And the longer we take, the better answers we can
>     hope to get on the things that really matter."
>
>   * 26 November 2014: The chair foreshadowed "significant developments
>     ... that will help us move forward with that main work of selecting
>     curves to recommend to the TLS WG." What would these developments
>     be? Finally the requirements list? The details of the publicly
>     verifiable benchmarking process?
>
>   * 26 November 2014, after sundown: Night of the Living PinkBikeShed.
>
>   * Subsequent days: Various followup discussion, both inside and
>     outside CFRG. For example, Felix von Leitner characterized
>     Microsoft's approach as "embrace+extend", and Trevor Perrin
>     characterized Microsoft's approach as a "meaningless tweak" and a
>     "terrible idea" given its impact on the existing and future code
>     base. (Microsoft can afford this sort of fragmentation, but most
>     ECC implementors can't.)
>  =20
>   * 28 November 2014: I sent my first "Mishandling twist attacks"
>     message, carefully explaining one of the security reasons to reject
>     PinkBikeShed. (In my messages to the CFRG mailing list, I've been
>     careful to focus on intrinsic long-term merits of curve choices,
>     rather than on how well established Curve25519 already is.)
>
>   * 1 December 2014: Black claimed that twist attacks don't apply to
>     PinkBikeShed if the curve-specifying document presents the Edwards
>     view of PinkBikeShed rather than the Montgomery view.
>
>   * 2 December 2014: I asked how Black could justify _any_ form of
>     twist security in his Edwards proposals if he believes his claim;
>     this question is still unanswered weeks later. I also explained why
>     his claim was wrong.
>
>   * 8 December 2014: Black, in the guise of responding to my message,
>     made many erroneous comments about related issues. I was extremely
>     busy and didn't have a chance to respond to this before now.
>
>   * 12 December 2014: The chair characterized Black's comments as
>     "quite powerful arguments" but said that Black should abandon those
>     arguments for the sake of "unblocking our current logjam" and
>     "making progress".
>
>     There was no explanation of why CFRG was suddenly in a rush, or why
>     CFRG was suddenly in a "logjam", or why CFRG should abandon its
>     ongoing process of settling requirements and evaluating curves
>     according to those requirements.
>
>   * 12 December 2014: Black wrote "we will acquiesce to the will of the
>     co-chairs in the interest of seeing this move forward."
>
>Some of Black's errors related to PinkBikeShed were already pointed out
>in the brief period between 8 December and 12 December, but certainly
>not all, and after 12 December people seem to have decided that no
>further comment was required on his message.
>
>It's easy to imagine how someone looking back at this record could
>imagine that Black had raised real technical objections that at this
>point are still unaddressed---and that the result was dictated by
>non-transparent politics rather than by technology. Look at the
>situation from the future reader's perspective:
>
>   * If Black's arguments were plainly bogus, or were considered and
>     rejected, or were considered and judged to be outweighed by more
>     important factors, then why did the chair four days later declare
>     the objections to be "quite powerful arguments"?
>    =20
>   * Black's recent behavior is quite explicitly the type of
>     "compromise" blasted in RFC 7282---and behind the scenes there's
>     even worse "horse-trading" going on. The people who sent me private
>     email along the lines of "we'll convince them to stop complaining
>     about Curve25519 if you give them their pet 384-bit prime" ought to
>     be ashamed of themselves. If a company can so easily push its pet
>     cryptography into standards, what stops an attacker from doing the
>     same with secretly weak cryptography?
>
>   * Last month Black and the chair were saying how important it was to
>     obtain "the highest possible levels of trustworthiness" in "choices
>     we will have to live with for 20 years"---and suddenly this month
>     they're rushing towards a call for "consensus" on a highly
>     questionable new Black document.
>
>The reader should also be faced with the technical evaluation: no, Black
>never had good arguments for regressing from Curve25519 to PinkBikeShed;
>no, his arguments aren't "powerful"; no, PinkBikeShed isn't some sort of
>superior Microsoft technology being repressed by politics.
>
>Enough about procedures; let me now focus on the technology.
>
>In my first "Mishandling twist attacks" message I wrote "every major ECC
>standard already multiplies scalars by the curve's cofactor" and then
>analyzed the worrisome impact on PinkBikeShed if a "protocol multiplies
>the secret scalar s by the cofactor 4 exactly as the standards say".
>This security issue for PinkBikeShed is eliminated by Curve25519.
>
>Here's the centerpiece of Black's response: "A sloppy implementor could
>just as easily misread guidance and clear cofactor 4 on Curve25519."
>
>Let's think this through, starting from the facts.
>
>The DH factor used in IEEE P1363-2000 Section 7.2.2 is "k", which by
>definition is the "cofactor k =3D #E/r"; of course, "r" is a big "prime
>integer" and is the order of the specified generator. The MQV cofactor
>in Section 7.2.4 is also k. The DH factor in ANSI X9.63 Section 5.4 is
>"h", the same cofactor under a different name. The MQV factor in ANSI
>X9.63 Section 5.5 is the same cofactor. I could keep going like this for
>a while. There are explanations all over the place, in these standards
>and elsewhere, of why you should multiply by the curve's cofactor.
>
>In the case of Curve25519, the curve's cofactor is amply documented as
>being 8, and the consistent message of these standards is to multiply by
>8. There's no ambiguity here, and Black gives no indication of how a
>"sloppy implementor" (or protocol designer) could "misread" any of this.
>
>It's true that, in the types of protocols I've been talking about,
>taking cofactor 4 on Curve25519 would cause very similar damage to
>taking cofactor 4 on PinkBikeShed. However, to judge the impact of
>conceivable failures, one has to rationally evaluate the probability of
>the failures. For PinkBikeShed, multiplying by 4 is _exactly_ what all
>of these standards recommend, and it's easy to see how the failures
>would happen. For Curve25519, Black's imaginary multiplication by 4 is
>_contrary_ to what all of these standards recommend. Black's claim of
>equal probability ("just as easily") isn't even marginally plausible.
>
>Benjamin Black writes:
>> I am objecting to the notion that cofactors (8,4) are in any way more
>> secure than (4,8).
>
>See my first "Mishandling twist attacks" message, and see above.
>
>> I am not objecting to twist security and the curves in the draft are
>> twist secure.
>
>This doesn't answer the question that I asked on 2 December. Let me try
>phrasing it differently.
>
>You claim that, because of your choice to specify curves in Edwards form
>rather than Montgomery form, the advanced twist attacks that I'm talking
>about "do not apply" to your draft. You therefore claim that "rigidity"
>requires taking a smaller coefficient (PinkBikeShed) rather than a
>coefficient protected against these attacks (Curve25519).
>
>Obvious analogy: You claim that, because of exactly the same choice,
>_no_ twist attacks apply to your draft. You therefore claim that
>"rigidity" requires taking a smaller (in fact, _much_ smaller)
>coefficient, ignoring _all_ twist attacks.
>
>But wait a minute: you _don't_ seem to be making these last two claims;
>these claims aren't consistent with any of the curves you've proposed.
>You must therefore have some reason for believing that Edwards curves
>_are_ subject to twist attacks. What exactly is this reason, and why do
>you think that it _doesn't_ apply to more advanced twist attacks?
>
>> I do not agree with your assertion that "adding twist security" _and_
>> "switching to single-coordinate ladders" is the solution against
>> security failures when it comes to invalid-curve attacks. Windowing
>> implementations on complete Edwards curves can be implemented securely
>> and eliminate any risks against those attacks.
>
>Yes, the implementor _can_ check whether the incoming point is on the
>curve. However, it's very easy to see how an implementor could end up
>using a scalarmult routine that doesn't include this check---see
>
>   https://duckduckgo.com/?q=3Delliptic+curve+scalar+multiplication
>
>for many, many, many examples---and then the attacker wins. As I wrote
>before: "Rather than blaming the implementor, we eliminate these
>security failures by adding twist security, for both Montgomery and
>Edwards, and switching to single-coordinate ladders."
>
>You say that you don't agree that this is "the solution". You instead
>advocate ignoring the problem on the protocol level, and relying on the
>implementor to be careful to do this right. The simple fact is that your
>"solution" is fragile (even Hugo Krawczyk was bitten by these attacks!)
>while mine is not.
>
>More examples of the same general phenomenon, and a more detailed
>discussion of this example, appear in the "General context" section of
>my first "Mishandling twist attacks" message.
>
>> In fact, looking at the Curve41417 paper, you eschew the
>> Montgomery (or Edwards) ladder in favor of windowing.
>
>No, the paper does not "eschew" the Montgomery ladder. It says that (for
>this number of bits on this platform, and of course disregarding the
>differences in inputs) Montgomery-ladder scalarmult is "not quite as
>fast" as windowed-Edwards scalarmult, but it also says that the
>Montgomery ladder "has the advantage of fitting the computation into
>less SRAM", says that "each curve in Edwards form is birationally
>equivalent to one in Montgomery form, so there is no need to choose one
>over the other", and mentions the importance of twist-security when
>"only the [Montgomery] x-coordinate is transmitted and used".
>
>Furthermore, you're once again confusing the choice of _computation_
>with the choice of _coordinates_. I feel like a broken record here---
>starting in my first message to CFRG in July, I've pointed out a number
>of errors from your team stemming from this rather basic confusion, and
>your team has consistently dodged rather than responding.
>
>> In this case, the performance advantages of Edwards trump the
>> irrefutable and essential requirement for eliminating "security
>> failures" above via use of single-coordinate ladders.
>
>No, the paper says nothing of the sort; it simply evaluates the speed of
>scalar multiplication. Furthermore, you're _again_ confusing the choice
>of computation with the choice of coordinates.
>
>> I am also objecting to your repeated claims, contradicted by your own
>> work, that single-coordinate ladders are required.
>
>Precisely what do you think you mean by "single-coordinate ladders are
>required", and precisely which claims do you think you're objecting to?
>Exact quotes in context, please, not careless paraphrases.
>
>Here's a sampling of what I've actually written. The Montgomery ladder
>is a remarkably simple, fast, constant-time algorithm for single-scalar
>multiplication on (e.g.) Curve25519:
>
>   x2,z2,x3,z3 =3D 1,0,x1,1
>   for i in reversed(range(255)):
>     bit =3D 1 & (n >> i)
>     x2,x3 =3D cswap(x2,x3,bit)
>     z2,z3 =3D cswap(z2,z3,bit)
>     x3,z3 =3D ((x2*x3-z2*z3)^2,x1*(x2*z3-z2*x3)^2)
>     x2,z2 =3D ((x2^2-z2^2)^2,4*x2*z2*(x2^2+A*x2*z2+z2^2))
>     x2,x3 =3D cswap(x2,x3,bit)
>     z2,z3 =3D cswap(z2,z3,bit)
>   return x2*z2^(p-2)
>
>For DH I've repeatedly said that the Montgomery ladder minimizes
>tensions between speed, simplicity, and security; I've seen no arguments
>to the contrary. My primary reason for objecting to cofactor-1 curves is
>that those curves fail to provide this important option to DH protocol
>designers and DH implementors.
>
>There are many situations---most obviously, signatures---where most
>implementors will want to do something different from the Montgomery
>ladder. If you think that I've told them "No, you have to use the
>Montgomery ladder!" then you're mistaken. If you think that specifying a
>Montgomery curve forces people to use the Montgomery ladder then you're
>again mistaken.
>
>> Suggesting that (4,8) vs (8,4) introduces security risk is not a
>> technical argument about the strength of the curve.
>
>Are you trying to say that twist security isn't a technical issue, or
>that leaks of scalar bits inside existing and future protocols aren't a
>technical issue, or that you have some more limited notion of curve
>"strength" that doesn't cover these security issues?
>
>> The additional criterion you are describing is difficult to see as
>> "twist security".
>
>That depends on how broad your protocol view is. As I said before,
>unless the RNG is backdoored, standard DH is _not_ noticeably damaged by
>this particular type of leak of scalar bits; but there are other
>protocols that _are_ seriously damaged.
>
>> The curves in the draft are twist secure by any reasonable definition,
>> including your own SafeCurves twist security requirements.
>
>There's one attack paper after another showing how to break
>implementations of standard ECC (and of semi-standard ECC making similar
>mistakes, such as Bitcoin). I'm talking about major failures in major
>protocols such as DH and signatures.
>
>The traditional response to these problems is to blame the implementor.
>SafeCurves blames the curve choices, declaring the underlying curves to
>be "unsafe", since we know exactly how the underlying implementation
>pitfalls are eliminated by better choices of curves. SafeCurves is
>completely explicit about what it means by "safe", and about why it is
>drawing that line.
>
>If some particular curve is labeled as "safe" by SafeCurves, can you
>conclude that it has identical security to all of the other curves
>labeled "safe" by SafeCurves? Of course not: this conclusion is silly,
>and certainly isn't justified by anything SafeCurves says.
>
>It should also be obvious, as a procedural matter, that CFRG needs more
>stringent requirements than SafeCurves. The BADA55 paper shows that
>there are more than a million "safe" curves (including Brainpool-level
>rigidity) even without exploiting variations in primes; something is
>seriously wrong if CFRG is actively recommending all of those curves for
>deployment.
>
>> A sloppy implementor could even more easily skip checks for weak keys
>> when using Montgomery Curve25519 outside of DH. All Curve25519
>> documentation makes clear all 32-byte strings are valid keys. That
>> this is so only for DH is easily forgotten and I've not found a
>> Curve25519 implementation that performs the required check.
>
>Let me get this straight. You think that the amazing simplicity and
>robustness of Montgomery coordinates for DH are _bad_ things since
>
>   (1) you think they might encourage implementors to oversimplify some
>       unusual protocol that relies on "contributory" behavior and
>
>   (2) you think this oversimplification would be less likely if
>       implementors were forced to use other coordinates for DH?
>
>Even if the (many) unclear details in this argument were filled in, the
>argument would be completely missing the incredible importance of DH.
>DH obviously outweighs all of the "contributory" protocols that have
>ever been invented.
>
>The analogy to the PinkBikeShed/Curve25519 comparison also doesn't work.
>For PinkBikeShed/Curve25519, the DH situation is the same and the
>lesser-known protocols are the tiebreaker.
>
>> using p =3D 1 mod 4 primes introduces the concern you are raising
>
>First, this isn't an argument for PinkBikeShed over Curve25519; they
>both use the same prime.
>
>Second, this argument is incorrect. I'm talking about curves where
>multiplying by the curve cofactor doesn't clear the twist cofactor.
>Curve25519 is _not_ one of these curves, but the prime _is_ 1 mod 4.
>
>> Rather than blaming the implementor for clearing the "wrong" cofactor,
>> we can eliminate this "security failure" by using p =3D 3 mod 4 to
>> ensure the cofactors are equal, which is the choice you made for both
>> Curve1174 and Curve41417.
>
>First, this isn't an argument for PinkBikeShed over Curve25519.
>
>Second, this argument gets the technical facts all wrong. Taking primes
>that are 3 mod 4 _allows_ equal cofactors but doesn't "ensure" them.
>More importantly, having the twist cofactor _divide_ the curve cofactor
>fully solves the problem I'm talking about; there is no reason to have
>the cofactors equal.
>
>Third, this argument gets the historical facts all wrong. The prime for
>Curve41417 was the output of a performance-focused search, and it
>happened to be 3 mod 4. Curve1174 _did_ require 3 mod 4---but the reason
>for this requirement had nothing to do with cofactors; the reason was to
>give an example of a curve supporting the Elligator 1 function. The
>introduction of the Elligator paper is completely explicit in saying "we
>introduce a high-security high-speed elliptic curve that supports the
>[Elligator 1] function".
>
>> Looking at your Curve25519 paper there is a single mention of
>> requirements on cofactors: "Multiply the secret key by a small power
>> of 2 to account for cofactors in the curve group and the twist group".
>
>Actually, the paper contains a considerably more detailed discussion of
>cofactor requirements, although to see this you have to read the paper
>and understand what some formulas are saying---a naive word search isn't
>adequate.
>
>In particular, in the "Security" section, the "Small-subgroup attacks"
>subsection gives a unified description of small-subgroup attacks and
>twist attacks, describes the information leaked considering the curve
>cofactor 8 and the twist cofactor 4, and observes that the
>multiplication of scalars by 8 eliminates the leak.
>
>For the security analysis in the paper, it's irrelevant whether this
>multiplication is
>
>   * by the curve cofactor (as all the standards say) or
>   * by the lcm of curve and twist cofactors (as the paper introduction
>     says).
>  =20
>The reason it's irrelevant is that for Curve25519 these two options are
>identical. This is exactly where PinkBikeShed would have created an
>unnecessary conflict, begging implementations to do the wrong thing.
>
>> Curve1174: "Edwards curve shape x^2+y^2=3D1+dx^2y^2 chosen for
>>efficiency."
>> Curve25519: "Montgomery curve shape y^2=3Dx^3+Ax^2+x chosen for
>>efficiency"
>> Curve41417: "Edwards curve shape x^2+y^2=3D1+dx^2y^2 chosen for
>>efficiency"
>> Curve1174: "Complete Edwards curve chosen for security."
>> Curve25519: No such statement.
>> Curve41417: "Complete Edwards curve chosen for security."
>> It is difficult to see this as rigidity.
>
>All of these curves can be viewed as Montgomery curves _and_ as complete
>Edwards curves. The Edwards view is better for signatures and similar
>speed for DH (depending on exact sizes, compression, etc.), although
>Montgomery is by far the simplest DH option.
>
>The reason that Curve25519 didn't require completeness in Edwards form
>is obvious from the following timeline:
>
>   * ECC 2005: I introduced Curve25519.
>
>   * 2007: Tanja Lange and I went to a surprising talk by Edwards
>     presenting what are now called "original Edwards curves". We then
>     introduced "Edwards curves", in particular introduced "complete
>     Edwards curves" (none of which are original Edwards curves), and
>     introduced fast algorithms for arithmetic on Edwards curves.
>
>Surely you understand that it would have been rather difficult to make
>efficiency choices and security choices on the basis of tools that
>nobody knew about until two years later. You can think of Curve25519 as
>being lucky for also meeting the newer requirements, and then the fact
>that it was introduced so early makes it arguably _more_ rigid---curve
>manipulation would have had to be based on secret attacks known in 2005.
>
>Of course, any manipulation of, e.g., NIST P-224 would have had to be
>based on attacks known in the 1990s. The critical difference is that
>P-224 _doesn't_ meet newer public requirements. For example, P-224
>doesn't meet the SafeCurves twist-security requirements. P-224 turns out
>to be at the attacker's perfect level of twist-insecurity, similar to
>DES, breakable at moderate cost while still being plausibly deniable.
>
>> In the recent Curve41417 paper I similarly find a single mention of
>> cofactor requirements: "For security we ... insist on the same level
>> of twist-security as Curve25519 < the cofactors of the curve and its
>> twist are in {4, 8}." No mention of either requiring the cofactors be
>> equal or that they be minimal (which they aren't).
>
>Obviously very large cofactors aren't compatible with security, but very
>specific rules such as cofactor _minimality_ and cofactor _equality_
>aren't required. Even NIST managed to get this right in the original
>NIST-curve specification: it advocated minimal cofactors for
>"efficiency", not for security.
>
>What ultimately matters is the tradeoff between the security level and
>performance. This is influenced in a complicated, but measurable, way by
>choices of primes, cofactors, etc. In the case of Curve41417, we
>obtained a surprisingly small d by allowing (8,8), although of course
>this also reduced the rho security from 2^205.8 to 2^205.3.
>
>---Dan
>
>_______________________________________________
>Cfrg mailing list
>Cfrg@irtf.org
>http://www.irtf.org/mailman/listinfo/cfrg


From nobody Wed Dec 31 12:14:27 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 EC3371A00DF for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 12:14:19 -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 LzQx_9A_dV9O for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 12:14:16 -0800 (PST)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0619.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::619]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 79B291A1A10 for <cfrg@irtf.org>; Wed, 31 Dec 2014 12:14:16 -0800 (PST)
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.49.12; Wed, 31 Dec 2014 20:01: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.0049.002; Wed, 31 Dec 2014 20:01:43 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Mike Hamburg <mike@shiftleft.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Benchmarks: 384 vs 389 vs Goldilocks vs ... on Haswell
Thread-Index: AQHQI701KGpxET6GdkKNiBIGv4KjYZyqIa6A
Date: Wed, 31 Dec 2014 20:01:43 +0000
Message-ID: <D0CA0568.3B27A%kenny.paterson@rhul.ac.uk>
References: <54A1E049.9000404@shiftleft.org>
In-Reply-To: <54A1E049.9000404@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.7.141117
x-originating-ip: [2.96.147.218]
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Kenny.Paterson@rhul.ac.uk; 
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB382;
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB382;
x-forefront-prvs: 0442E569BC
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(479174004)(53754006)(24454002)(199003)(52044002)(51704005)(189002)(50986999)(62966003)(31966008)(68736005)(102836002)(87936001)(2656002)(92566001)(122556002)(40100003)(54356999)(2501002)(77096005)(106116001)(105586002)(120916001)(64706001)(77156002)(74482002)(21056001)(46102003)(66066001)(99396003)(97736003)(19580395003)(19580405001)(106356001)(2900100001)(76176999)(20776003)(36756003)(86362001)(107886001)(83506001)(4396001)(2950100001); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR03MB382; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en; 
received-spf: None (protection.outlook.com: rhul.ac.uk does not designate permitted sender hosts)
Content-Type: text/plain; charset="us-ascii"
Content-ID: <BE2109CEA2A6454CAD91BAC5B521982E@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Dec 2014 20:01:43.6553 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR03MB382
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/qtHfxMcKscIXv1l_B-_4KXBaI28
Subject: Re: [Cfrg] Benchmarks: 384 vs 389 vs Goldilocks vs ... on Haswell
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, 31 Dec 2014 20:14:20 -0000

Hi Mike,

Thanks a lot for doing this work, especially over the holiday season -
it's much appreciated.

My take-away from your work is that there's no strong reason (in
performance terms) to prefer P389 over P384-mers or vice-versa - the 8-9%
difference is there, yes, but could easily disappear or increase with
further optimisations on either side.

Does that seem fair to you? Please feel free to give an alternative
interpretation if you like.

Regards,

Kenny=20

On 29/12/2014 23:14, "Mike Hamburg" <mike@shiftleft.org> wrote:

>
>
>
>Hi all,=20
>
>The chairs requested that I implement and benchmark 2^389 - 21, suggested
>by Ilari.
>
>I've benchmarked several primes that have been discussed on this list.  I
>used a Haswell machine running Linux test everything, including MSR
>ECCLib 1.1.  Cycle counts for mul/sqr:
>
>MSR ECCLib (all asm, but no BMI2):
>P256-mers: M =3D 59.2, S =3D 47.8.
>P384-mers: M =3D 117.5, S =3D 89.8.
>P512-mers: M =3D 199.9, S =3D 140.6.
>
>My code (C with BMI2 mul+acc intrinsics):
>P389: M =3D 112.5, S =3D 75.5.
>Goldilocks P448: M =3D 118.0, S =3D 88.9.
>Ridinghood P480: M =3D 118.2, S =3D 89.1.
>NIST P521: M =3D 145.5, S =3D 110.7.
>
>With this machine/compiler combination, 2^389 - 21 is showing at about
>8-9% faster than MSR 384-mers and Goldilocks, which are within 0.1% of
>each other.
>
>CPU:
>Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz .
>
>Compiler:
>Ubuntu clang version 3.5-1ubuntu1 (trunk) (based on LLVM 3.5)
>Target: x86_64-pc-linux-gnu
>Thread model: posix
>
>Notes:=20
>
>* All benchmarks computed by timing and multiplying by 3.5932GHz, since
>that's what calib() spat out.
>
>
>* The P389 code is mul-after-add clean.  I did this by multiplying the
>arguments to a multiply separately by 8 and 21.  The code without this
>feature is marginally (<1%) faster.
>
>* I haven't tested the correctness of the P389 code, nor have I built it
>into a curve.  So sue me, I'm on vacation.
>
>* ECCLib, P389*, P448: 10^8 trials, noinline'd functions, 32-byte-aligned
>stack buffers, no dependencies in the multiplications.  TurboBoost and
>HyperThreading disabled.  Benchmarks are stable to about 3 significant
>figures.
>
>
>* P480, P521, because I'm lazy: Goldilocks `make bench`, 10^8/2 trials,
>noinlined functions, 32-byte-aligned stack buffers, no dependencies.
>Almost exactly
> consistent when benchmarking P448.
>
>* For MSR ECCLib I called directly into ecc384.o's functions, using the
>same benchmarking framework code as for P389.
>
>* Earlier, offlist testing on a Haswell MacBook Air showed about a 2%
>advantage to 2^389 - 21 instead of 8%.  The code improvements to P389
>since then are not sufficient to explain the better results: they are
>apparently machine/compiler dependent.  I thought
> that Clang 3.5 might be responsible, since I've seen performance
>differences in arithmetic code with it.  But clang-3.3, 3.4 and 3.5 all
>give similar results for those primes.  GCC 4.9 gives slightly worse
>results for everything but the MSR asm code.
>
>* The P389 code is probably less tuned than its competitors. The MS code
>is written in pure asm, but it doesn't take advantage of BMI2.  The
>Goldilocks and P389 code are C with an asm multiply/accumulate intrinsic,
>but I spent more time tuning the Goldilocks
> code.=20
>
>* The Ridinghood code is the same as the Goldilocks code with different
>shift constants.  The P-521 code is the arch_x86_64_r12 version, using 9
>limbs vector-aligned to a 12-word structure.
>
>* I have no data about 2^389 - 21 on other platforms, but offlist
>discussions suggest that it will be OK, if perhaps annoying to implement,
>on 32-bit platforms.
>
>Cheers,=20
>-- Mike
>
>


From nobody Wed Dec 31 13:02: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 A6C831A1AD9 for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 13:01: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 md6gRyqN3H1t for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 13:01:57 -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 BB9721A1AD8 for <cfrg@irtf.org>; Wed, 31 Dec 2014 13:01:56 -0800 (PST)
Received: by mail-yk0-f177.google.com with SMTP id 9so7936621ykp.8 for <cfrg@irtf.org>; Wed, 31 Dec 2014 13:01:56 -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=W8Kvb6cOcI7BEh8CDDgY8G3EezaQwkdAYQ4z9j0KpBc=; b=CZN+jHiQMuKTRkAyH/3PIvOB0yXQ4r8jLxSB2Kebq87Up6BgBVTmzcaKUS6eHD1Feo eWkUNKQysisLCqbTgd+HthaQLjnjJWvUULjg4kB/2JHzDGes0UOAkv6HOaZByGYG/b2r QGCiF7v7wjwmtolAdZg3RJnyCF5wrcfwQsLKL1QJ9hgIBAPmYIc/bCMmEPAFfrJvEi5m 2y+jdRDTuHyXkJQYAzceXSqiXqilyCcO/hzdy8PONrOcnljOT7yw1pywyzctKqeZ6+XD iFxt04NhwiK/Y1Ps+8mKo6Nc2TAxEN0vSk4bDiPjqeKgQlpxDzEnKVFEYee+bmoJz8U7 PCug==
MIME-Version: 1.0
X-Received: by 10.236.229.168 with SMTP id h38mr2594577yhq.172.1420059715922;  Wed, 31 Dec 2014 13:01:55 -0800 (PST)
Received: by 10.170.207.6 with HTTP; Wed, 31 Dec 2014 13:01:55 -0800 (PST)
In-Reply-To: <D0CA0568.3B27A%kenny.paterson@rhul.ac.uk>
References: <54A1E049.9000404@shiftleft.org> <D0CA0568.3B27A%kenny.paterson@rhul.ac.uk>
Date: Wed, 31 Dec 2014 16:01:55 -0500
Message-ID: <CACsn0cnyWY7Z1iK09zwEmfsH1v5zt3H1W7hZfqFabQb8tN3a8A@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/Q1yINY2F8R7HMAY8iGd_jW-ewNU
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Benchmarks: 384 vs 389 vs Goldilocks vs ... on Haswell
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, 31 Dec 2014 21:01:59 -0000

On Wed, Dec 31, 2014 at 3:01 PM, Paterson, Kenny
<Kenny.Paterson@rhul.ac.uk> wrote:
> Hi Mike,
>
> Thanks a lot for doing this work, especially over the holiday season -
> it's much appreciated.
>
> My take-away from your work is that there's no strong reason (in
> performance terms) to prefer P389 over P384-mers or vice-versa - the 8-9%
> difference is there, yes, but could easily disappear or increase with
> further optimisations on either side.

Would you say the same about 2^255-19 vs 2^256-189? That also had a 8%
performance increase iirc, for very similar reasons.

 One could also try 2^382-31, which would be much more similar to the
gain at the lower security level.

Furthermore, if the faster one was more optimized, and the slower one
not as much, that would be a reasonable conclusion. But we are
comparing a C implementation written yesterday to a handwritten
assembler one, with the C outperforming the assembly. Now, with
SUPERCOP, we could measure the fastest one on each machine, across
compilers and implementations.  That unfortunately isn't going to
happen in time, and regrettably the NUMS group did not make ECClib
into a SUPERCOP submission earlier. Having screwed up plenty of
benchmarks myself through stupid things, SUPERCOP is a really good
idea to force oneself to measure the right thing.

There is a theoretical reason to think that a carryless prime will
outperform a slightly larger packed one, and that is the algorithm one
uses for packed arithmetic will work with any c that isn't bigger than
the word, so the packed implementation could be adapted for the
unpacked case.

Sincerely,
Watson Ladd

>
> Does that seem fair to you? Please feel free to give an alternative
> interpretation if you like.
>
> Regards,
>
> Kenny
>
> On 29/12/2014 23:14, "Mike Hamburg" <mike@shiftleft.org> wrote:
>
>>
>>
>>
>>Hi all,
>>
>>The chairs requested that I implement and benchmark 2^389 - 21, suggested
>>by Ilari.
>>
>>I've benchmarked several primes that have been discussed on this list.  I
>>used a Haswell machine running Linux test everything, including MSR
>>ECCLib 1.1.  Cycle counts for mul/sqr:
>>
>>MSR ECCLib (all asm, but no BMI2):
>>P256-mers: M = 59.2, S = 47.8.
>>P384-mers: M = 117.5, S = 89.8.
>>P512-mers: M = 199.9, S = 140.6.
>>
>>My code (C with BMI2 mul+acc intrinsics):
>>P389: M = 112.5, S = 75.5.
>>Goldilocks P448: M = 118.0, S = 88.9.
>>Ridinghood P480: M = 118.2, S = 89.1.
>>NIST P521: M = 145.5, S = 110.7.
>>
>>With this machine/compiler combination, 2^389 - 21 is showing at about
>>8-9% faster than MSR 384-mers and Goldilocks, which are within 0.1% of
>>each other.
>>
>>CPU:
>>Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz .
>>
>>Compiler:
>>Ubuntu clang version 3.5-1ubuntu1 (trunk) (based on LLVM 3.5)
>>Target: x86_64-pc-linux-gnu
>>Thread model: posix
>>
>>Notes:
>>
>>* All benchmarks computed by timing and multiplying by 3.5932GHz, since
>>that's what calib() spat out.
>>
>>
>>* The P389 code is mul-after-add clean.  I did this by multiplying the
>>arguments to a multiply separately by 8 and 21.  The code without this
>>feature is marginally (<1%) faster.
>>
>>* I haven't tested the correctness of the P389 code, nor have I built it
>>into a curve.  So sue me, I'm on vacation.
>>
>>* ECCLib, P389*, P448: 10^8 trials, noinline'd functions, 32-byte-aligned
>>stack buffers, no dependencies in the multiplications.  TurboBoost and
>>HyperThreading disabled.  Benchmarks are stable to about 3 significant
>>figures.
>>
>>
>>* P480, P521, because I'm lazy: Goldilocks `make bench`, 10^8/2 trials,
>>noinlined functions, 32-byte-aligned stack buffers, no dependencies.
>>Almost exactly
>> consistent when benchmarking P448.
>>
>>* For MSR ECCLib I called directly into ecc384.o's functions, using the
>>same benchmarking framework code as for P389.
>>
>>* Earlier, offlist testing on a Haswell MacBook Air showed about a 2%
>>advantage to 2^389 - 21 instead of 8%.  The code improvements to P389
>>since then are not sufficient to explain the better results: they are
>>apparently machine/compiler dependent.  I thought
>> that Clang 3.5 might be responsible, since I've seen performance
>>differences in arithmetic code with it.  But clang-3.3, 3.4 and 3.5 all
>>give similar results for those primes.  GCC 4.9 gives slightly worse
>>results for everything but the MSR asm code.
>>
>>* The P389 code is probably less tuned than its competitors. The MS code
>>is written in pure asm, but it doesn't take advantage of BMI2.  The
>>Goldilocks and P389 code are C with an asm multiply/accumulate intrinsic,
>>but I spent more time tuning the Goldilocks
>> code.
>>
>>* The Ridinghood code is the same as the Goldilocks code with different
>>shift constants.  The P-521 code is the arch_x86_64_r12 version, using 9
>>limbs vector-aligned to a 12-word structure.
>>
>>* I have no data about 2^389 - 21 on other platforms, but offlist
>>discussions suggest that it will be OK, if perhaps annoying to implement,
>>on 32-bit platforms.
>>
>>Cheers,
>>-- Mike
>>
>>
>
> _______________________________________________
> 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 Dec 31 13:26:27 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 9F2621A1B16 for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 13:26:26 -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_40=-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 4YAadRfbCVLM for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 13:26:23 -0800 (PST)
Received: from mail-yk0-x233.google.com (mail-yk0-x233.google.com [IPv6:2607:f8b0:4002:c07::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6023C1A1B0C for <cfrg@irtf.org>; Wed, 31 Dec 2014 13:26:23 -0800 (PST)
Received: by mail-yk0-f179.google.com with SMTP id 19so8030839ykq.38 for <cfrg@irtf.org>; Wed, 31 Dec 2014 13:26: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; bh=QRKmUiIkXErXEr04oyl8bSk/gULbMV1CyrSzFZsOTJE=; b=apaS65MXe2UshpAVnaqzLzvKo6Na/iYIjUb4Pdvcd0KCRec6/FNfELF644oB3N/o81 BBln0ACPV2CCpr+VO9OmHHidTlaIgUO+qK/lfrbZZE12bJCpMzIcc8nUXdnndMIcE1lX KJ5LP23F1HemEKgzRfGriRLyOrEhWw0dm5nrQRdcG+aFOvL9e5R/xCh2nzambRCBZuxY BKg+/CwAWVe1k/aBO1g+1YtPnKz1H9Jgc/PVnxQEMOs2BUiQ/N1s/aNlB1/HowIKjz6S MYOitd6GJeq024IqOzQBbBT57mZfR9uifaYxb5JhA1+Ne4NyVbQ+rMrmyV4Kv95a/8A9 alow==
MIME-Version: 1.0
X-Received: by 10.236.11.45 with SMTP id 33mr45023353yhw.4.1420061182547; Wed, 31 Dec 2014 13:26:22 -0800 (PST)
Received: by 10.170.207.6 with HTTP; Wed, 31 Dec 2014 13:26:22 -0800 (PST)
In-Reply-To: <1420042774.10106.10.camel@scientia.net>
References: <CAMfhd9V4tnjQL-orjTjX3KS=-XZRn0snAPrVwmP6pZH_20Cfgg@mail.gmail.com> <1420033807.4638.16.camel@scientia.net> <CAMfhd9V5-Y60fGqCDfmCvk9+9bqm0zpm3kSHmR5_mzELZ2K+Dw@mail.gmail.com> <1420042774.10106.10.camel@scientia.net>
Date: Wed, 31 Dec 2014 16:26:22 -0500
Message-ID: <CACsn0c=jEXhbUQt7FqZ_KqYQqq0NJsdZow=TEZ2G0te2SUb0RA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Christoph Anton Mitterer <calestyo@scientia.net>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/4JSmudR2AJnACh3W64F_GX0LOD8
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] should the CFRG really strive for consensus?
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, 31 Dec 2014 21:26:26 -0000

On Wed, Dec 31, 2014 at 11:19 AM, Christoph Anton Mitterer
<calestyo@scientia.net> wrote:
> On Wed, 2014-12-31 at 14:44 +0000, Adam Langley wrote:
>> If you believe in the security of curve25519 then you also believe in
>> the security of Microsoft's current position at ~128 bits. They have
>> the same structure and thus strictly the same strength.
> My point wasn't specifically about that discrepancy between curve25519
> and MS' position... as you pointed out already in your previous email,
> they have the same security, by all means of current knowledge....
>
>
>> IRTF groups do not, technically, have to reach consensus. However,
>> everyone does have to function on the same Internet at the end of the
>> day.
> ... my point was rather about the general political problem that still
> hides behind the "now open and no longer NIST controlled"
> standardisation process of crypto stuff:
> Even though the current example of MS vs. "everyone else" may not be a
> security problem, it still shows that the whole process would be kinda
> "vulnerable" to manipulations - namely if a big player puts pressure on
> the CFRG on behalf of his own ideas (which may - or may not - have some
> evil hidden within).

Yeah, but we would be done now if that was what was going on. Might
even be worth it ;)

What people might not be aware of, particularly if they joined the
list late, is that we've been discussing all of these proposals
(except for 2^389-21) since April. Nothing new has been discovered.
Yet we've missed two self-imposed deadlines, and have no visible plan
to actually meet hard external deadlines, coming close to a year since
we decided to start.

Why? Unclear. We've had requests since 2010 to add X25519 to TLS. In
the meantime, Brainpool and ANSSI curves got added without this mess.
Why are we treating Curve25519 differently from these national
standards? And why did it take so long for the initial request to get
sent to CFRG? Irrelevant the problem we face now, but interesting in
considering how avoid it in the future, or, punt it to someone else.

The CFRG is potentially very good at answering questions about
security. But we shouldn't be surprised that it is bad at having to
make choices, particularly when one group remains determined to stay
in the running by consistently modifying its proposal as issues are
raised. The net effect is that people will go out of their way to not
involve CFRG, new cryptography will not get proposed, and attempts to
ensure that protocols are reviewed by people who know what they are
doing in cryptography will meet resistance due to the long delay that
will be feared.

The IRTF and IETF leadership bear a substantial amount of blame for
this situation, as does the leadership of the TLS WG. By kicking over
to the CFRG a question that wasn't "is X25519 secure? What are the
issues with adoption?", they managed to ensnare us. Meanwhile, SSH
continues to adopt Ed25519, and X25519 without a problem.

The proposed longer curve over 2^384-317 or whatever, is inferior in
security to the equally fast Ed448, and equal in security to the 8%
faster 2^389-21. This is a substantial difference between the
proposals, and is not going away, even with the lower-security curve
being a bikeshed color away from X25519. It's the same difference
between Curve25519 and the original NUMS proposal in terms of prime.

The NUMS group has repeatedly explained that they will not take their
ball and go home, and I doubt that IE and IIS will make the decision
to support or not based on whether or not we pick the NUMS proposal,
which has been repeatedly modified to try to stay in the game. The
concern that we need an actual consensus, or Microsoft won't add these
curves, is one I think is overblown, judging from public statements
from many of the proponents of the NUMS draft.

The fewer differences between the two rival proposals there are, the
more pointless this debate gets. In April the differences were in
point format on the wire, choice of prime (with DJB et al favoring
faster primes, and NUMS slower primes) and signature method. Now we've
eliminated the point format difference, leaving the prime choice
difference, except that the 2^255-19 prime is now being used by both,
and NUMS is open to adding a different signature scheme in addition to
their FrankenECDSA proposal, of which several implementors have been
skeptical of the utility.

The choice is between the extra security of Ed448, extra speed of
2^389-21, or a prime with few redeeming features. Far from being "not
horrible", the NUMS proposal is pure bikeshedding at the 255 bit
length, and retains some of the original disadvantages at the 384
length. We don't know how well it performs in as much detail as I
would like, because there has not been an eBATS submission. Almost all
of the bad original features of the NUMS proposal have been fixed:
they are now proposing the point format for ECDH that was originally
suggested for Curve25519, have corrected the use of incomplete
coordinates, and I think any remaining questions about signatures are
uncontroversial enough to be easily resolved. (If one sentence will
get thrown back at me, this one is it)

TL,DR: I think there are technical factors in favor of either Ed448 or
2^389-21 over the proposed prime at the 384 bit level, either extra
security or extra speed. If the chairs think it necessary to pick the
2^384-317 prime for political reasons they should do, ruling that at
the 384 level the extra performance or security are less important.
They shouldn't rely on the variance between differing benchmarking
systems as an excuse, or try to claim a political choice as due to
spurious technical reasons: I doubt anyone is going to be fooled and
it will only further undermine the reputation of CFRG.

Sincerely,
Watson Ladd


>
>
> Cheers,
> Chris.
>
> _______________________________________________
> 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 Dec 31 14:14:27 2014
Return-Path: <nico@cryptonector.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 236C31A1A6D for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 14:14:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.034
X-Spam-Level: *
X-Spam-Status: No, score=1.034 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] 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 nmAbkukavYQp for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 14:14:25 -0800 (PST)
Received: from homiemail-a30.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 60B7E1A1A47 for <cfrg@irtf.org>; Wed, 31 Dec 2014 14:14:25 -0800 (PST)
Received: from homiemail-a30.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a30.g.dreamhost.com (Postfix) with ESMTP id C6CC021DE58; Wed, 31 Dec 2014 14:14:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=2u9HI+tV0cNHPS /poOZo3nsPHVc=; b=MJi+D0ZjaWVlzPGEROuwo+FNJh0+aLU50UfToJu4VNlrCw IfaCc35qQGbepuMzFBUOmfUnXXZtUG0PUfjMfBZUXc8CjK84bdZjSeY1zHGNPfPI pG9c4MKga7fDuZ9mp4JLctecoRkv6QFLg+N93JUNnNpzBag0q8iuBlnj5oOTU=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a30.g.dreamhost.com (Postfix) with ESMTPA id 6B02821DE57; Wed, 31 Dec 2014 14:14:24 -0800 (PST)
Date: Wed, 31 Dec 2014 16:14:23 -0600
From: Nico Williams <nico@cryptonector.com>
To: Watson Ladd <watsonbladd@gmail.com>
Message-ID: <20141231221420.GX24442@localhost>
References: <CAMfhd9V4tnjQL-orjTjX3KS=-XZRn0snAPrVwmP6pZH_20Cfgg@mail.gmail.com> <1420033807.4638.16.camel@scientia.net> <CAMfhd9V5-Y60fGqCDfmCvk9+9bqm0zpm3kSHmR5_mzELZ2K+Dw@mail.gmail.com> <1420042774.10106.10.camel@scientia.net> <CACsn0c=jEXhbUQt7FqZ_KqYQqq0NJsdZow=TEZ2G0te2SUb0RA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACsn0c=jEXhbUQt7FqZ_KqYQqq0NJsdZow=TEZ2G0te2SUb0RA@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/npALl9NphnToaMGKmshcay4o_ao
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] should the CFRG really strive for consensus?
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, 31 Dec 2014 22:14:26 -0000

On Wed, Dec 31, 2014 at 04:26:22PM -0500, Watson Ladd wrote:
> What people might not be aware of, particularly if they joined the
> list late, is that we've been discussing all of these proposals
> (except for 2^389-21) since April. Nothing new has been discovered.
> Yet we've missed two self-imposed deadlines, and have no visible plan
> to actually meet hard external deadlines, coming close to a year since
> we decided to start.
> 
> Why? Unclear. We've had requests since 2010 to add X25519 to TLS. In
> the meantime, Brainpool and ANSSI curves got added without this mess.
> Why are we treating Curve25519 differently from these national
> standards? And why did it take so long for the initial request to get
> sent to CFRG? Irrelevant the problem we face now, but interesting in
> considering how avoid it in the future, or, punt it to someone else.
> 
> The CFRG is potentially very good at answering questions about
> security. But we shouldn't be surprised that it is bad at having to
> make choices, particularly when one group remains determined to stay
> in the running by consistently modifying its proposal as issues are
> raised. [...]

The IETF will allow the use of many modern cryptographic algorithms, but
wants to have a limited number of REQUIRED to implement ones.  This is a
good thing: it limits the amount of work needed to produce interoperable
implementations of Internet protocols while still giving us usable
algorithm agility (if there are more than one RTI algorithms; IMO there
should be at least two for each class).

If the IRTF in general, or CFRG in particular are bad at making
recommendations about REQUIRED to implement algorithms, then CFRG should
limit itself to reporting what it has learned -- let the IETF make the
engineering decisions.

That's what I'd expected anyways.  Why are we making this harder than it
needs to be?

Let the IRTF publish one or more documents describing various curves
suitable for use in Internet protocols.  The IETF can pick from among
those.

Nico
-- 


From nobody Wed Dec 31 14:18:31 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 47AE81A1A83 for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 14:18:29 -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 Qi2BXYpliSme for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 14:18:27 -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 9FC9C1A1A4E for <cfrg@irtf.org>; Wed, 31 Dec 2014 14:18:27 -0800 (PST)
Received: from [192.168.1.117] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 89A283AA12; Wed, 31 Dec 2014 14:16:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1420064175; bh=ixb4j4EW8nxiGvlT/IQBZ43K4XvaN0x8nmHuSEv/y1I=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=KVF3SDWtUJOJtRwEHN3PxnSFGVHUIpuNF4otG1TQd5dZmfrlrbZi2VazAQGlNY8wY RDv8hQaUaMAYUe/y3KuwfMbe4SOTGEZOE18ii90dIREsV/pb3QAooa/tDq8zrvPVNz Qv5Ev3S4A9lFM7WliHUtjvGhDoxxEx7YWgTIPL4Q=
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2064\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <D0CA0568.3B27A%kenny.paterson@rhul.ac.uk>
Date: Wed, 31 Dec 2014 14:18:25 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <8B06C2AB-A4D3-4ADD-898A-135C06497458@shiftleft.org>
References: <54A1E049.9000404@shiftleft.org> <D0CA0568.3B27A%kenny.paterson@rhul.ac.uk>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
X-Mailer: Apple Mail (2.2064)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/sMjVWflOkTRkN6VJgIcy2H0wk4E
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Benchmarks: 384 vs 389 vs Goldilocks vs ... on Haswell
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, 31 Dec 2014 22:18:29 -0000

Hi Kenny,

I think that the differences on Haswell are probably real, but I suspect =
that most people on this list won=E2=80=99t be convinced by a <10% =
performance difference.  On other architectures, it may depend on how =
unfavorable packed arithmetic is.  So on ARM scalar, the 384-bit prime =
is probably OK, but on ARM NEON the 389-bit one will probably be better. =
 It=E2=80=99d be kind of nice to get actual numbers on the subject, =
though, instead of wishy-washy speculation.

I=E2=80=99m still a little bit perplexed about why you asked me to do =
this exercise.  The argument at the WF128 level seems to be about the =
existing trust and deployment of Curve25519 compared to a =
=E2=80=9Crigidly-generated=E2=80=9D ed-256-mers.  At the WF192 and WF256 =
levels, there are no widely deployed =E2=80=9Csafe" curves, and it is =
between this same notion of =E2=80=9Crigidity=E2=80=9D vs more =
=E2=80=9Cefficient=E2=80=9D curves such as Curve41417, Ed448-Goldilocks =
and E-521.  [Scarequoted because it=E2=80=99s MSR's definition of =
rigidity, DJB and Tanja=E2=80=99s safety criteria, and Trevor=E2=80=99s =
and my efficiency metric.]

Is the introduction of another efficient curve near WF192 suggested to =
sway the rigidity camp=E2=80=99s opinion about any of these proposals?  =
Especially with people so sick of the endless arguments that they=E2=80=99=
re cutting backroom deals?

If you think data has a chance of moving things forward, I suggest that =
benchmarks of the Microsoft curves=E2=80=99 (or at least primes=E2=80=99) =
performance on ARM scalar/NEON would be more informative, because =
they=E2=80=99d help determine whether the efficiency camp=E2=80=99s =
curves are broadly more efficient and by how much.

Cheers,
=E2=80=94 Mike

> On Dec 31, 2014, at 12:01 PM, Paterson, Kenny =
<Kenny.Paterson@rhul.ac.uk> wrote:
>=20
> Hi Mike,
>=20
> Thanks a lot for doing this work, especially over the holiday season -
> it's much appreciated.
>=20
> My take-away from your work is that there's no strong reason (in
> performance terms) to prefer P389 over P384-mers or vice-versa - the =
8-9%
> difference is there, yes, but could easily disappear or increase with
> further optimisations on either side.
>=20
> Does that seem fair to you? Please feel free to give an alternative
> interpretation if you like.
>=20
> Regards,
>=20
> Kenny=20
>=20
> On 29/12/2014 23:14, "Mike Hamburg" <mike@shiftleft.org> wrote:
>=20
>>=20
>>=20
>>=20
>> Hi all,=20
>>=20
>> The chairs requested that I implement and benchmark 2^389 - 21, =
suggested
>> by Ilari.
>>=20
>> I've benchmarked several primes that have been discussed on this =
list.  I
>> used a Haswell machine running Linux test everything, including MSR
>> ECCLib 1.1.  Cycle counts for mul/sqr:
>>=20
>> MSR ECCLib (all asm, but no BMI2):
>> P256-mers: M =3D 59.2, S =3D 47.8.
>> P384-mers: M =3D 117.5, S =3D 89.8.
>> P512-mers: M =3D 199.9, S =3D 140.6.
>>=20
>> My code (C with BMI2 mul+acc intrinsics):
>> P389: M =3D 112.5, S =3D 75.5.
>> Goldilocks P448: M =3D 118.0, S =3D 88.9.
>> Ridinghood P480: M =3D 118.2, S =3D 89.1.
>> NIST P521: M =3D 145.5, S =3D 110.7.
>>=20
>> With this machine/compiler combination, 2^389 - 21 is showing at =
about
>> 8-9% faster than MSR 384-mers and Goldilocks, which are within 0.1% =
of
>> each other.
>>=20
>> CPU:
>> Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz .
>>=20
>> Compiler:
>> Ubuntu clang version 3.5-1ubuntu1 (trunk) (based on LLVM 3.5)
>> Target: x86_64-pc-linux-gnu
>> Thread model: posix
>>=20
>> Notes:=20
>>=20
>> * All benchmarks computed by timing and multiplying by 3.5932GHz, =
since
>> that's what calib() spat out.
>>=20
>>=20
>> * The P389 code is mul-after-add clean.  I did this by multiplying =
the
>> arguments to a multiply separately by 8 and 21.  The code without =
this
>> feature is marginally (<1%) faster.
>>=20
>> * I haven't tested the correctness of the P389 code, nor have I built =
it
>> into a curve.  So sue me, I'm on vacation.
>>=20
>> * ECCLib, P389*, P448: 10^8 trials, noinline'd functions, =
32-byte-aligned
>> stack buffers, no dependencies in the multiplications.  TurboBoost =
and
>> HyperThreading disabled.  Benchmarks are stable to about 3 =
significant
>> figures.
>>=20
>>=20
>> * P480, P521, because I'm lazy: Goldilocks `make bench`, 10^8/2 =
trials,
>> noinlined functions, 32-byte-aligned stack buffers, no dependencies.
>> Almost exactly
>> consistent when benchmarking P448.
>>=20
>> * For MSR ECCLib I called directly into ecc384.o's functions, using =
the
>> same benchmarking framework code as for P389.
>>=20
>> * Earlier, offlist testing on a Haswell MacBook Air showed about a 2%
>> advantage to 2^389 - 21 instead of 8%.  The code improvements to P389
>> since then are not sufficient to explain the better results: they are
>> apparently machine/compiler dependent.  I thought
>> that Clang 3.5 might be responsible, since I've seen performance
>> differences in arithmetic code with it.  But clang-3.3, 3.4 and 3.5 =
all
>> give similar results for those primes.  GCC 4.9 gives slightly worse
>> results for everything but the MSR asm code.
>>=20
>> * The P389 code is probably less tuned than its competitors. The MS =
code
>> is written in pure asm, but it doesn't take advantage of BMI2.  The
>> Goldilocks and P389 code are C with an asm multiply/accumulate =
intrinsic,
>> but I spent more time tuning the Goldilocks
>> code.=20
>>=20
>> * The Ridinghood code is the same as the Goldilocks code with =
different
>> shift constants.  The P-521 code is the arch_x86_64_r12 version, =
using 9
>> limbs vector-aligned to a 12-word structure.
>>=20
>> * I have no data about 2^389 - 21 on other platforms, but offlist
>> discussions suggest that it will be OK, if perhaps annoying to =
implement,
>> on 32-bit platforms.
>>=20
>> Cheers,=20
>> -- Mike
>>=20
>>=20


From nobody Wed Dec 31 14:53:01 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 D26021A1A6D for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 14:52: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 dpMrIhK0KIzD for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 14:52:57 -0800 (PST)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id 0B2031A1A51 for <cfrg@irtf.org>; Wed, 31 Dec 2014 14:52:56 -0800 (PST)
Received: (qmail 16567 invoked by uid 1017); 31 Dec 2014 22:53:16 -0000
Received: from unknown (unknown) by unknown with QMTP; 31 Dec 2014 22:53:16 -0000
Received: (qmail 26395 invoked by uid 1001); 31 Dec 2014 22:52:45 -0000
Date: 31 Dec 2014 22:52:45 -0000
Message-ID: <20141231225245.26393.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: <D0C9ED09.3B226%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/wmfgI2j76naOY03qlkZgNlPZt0Q
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: Wed, 31 Dec 2014 22:52:59 -0000

Wow. Make a little "Night of the Living PinkBikeShed" joke and suddenly
the chairs go bonkers. :-)

For the record, it was never my intention to characterize Microsoft as a
company that supports zombies. Since PinkBikeShed is a curve that I had
found and publicly rejected a decade ago, and one where Microsoft's
support here didn't even last three weeks, I don't see how anyone could
possibly be offended by this small bit of humor in my message.

I also don't see how people who actually _read_ my message would agree
with the chairs' puzzling list of accusations (namely, that I'm making
"personal attacks"; imputing "motives to other CFRG participants"; using
"deliberately provocative language"; not taking a "professional" tone;
crossing "the line of acceptable behavior"; etc.). Of course, anyone who
_does_ see a problem anywhere in any of my CFRG messages is welcome to
discuss the details with me, in private or in public; but I would
suggest to everyone here---including the chairs---that the CFRG mailing
list should focus on technical issues rather than such side discussions.
My own message started with the relevant procedural background but was
almost entirely about the technical issues, and obviously my messages
overall are very close to 100% about the technical issues, despite the
chairs now (to my disappointment) dragging the percentage down.

I also don't expect my message to cause discussion out of proportion to
the importance of the underlying issues. The reason for the message, as
I said, is for the security advantages of Curve25519 over PinkBikeShed
to be clear for the public record. I don't see any actual technical
dispute remaining; perhaps there will be a few more messages in the
"Mishandling twist attacks" thread, but people who aren't interested can
easily disregard those messages. Of course, it's possible that some of
the related issues will be important for curves that are still on the
table; those issues can and should start new threads.

---Dan

P.S. Happy new year, everybody! Let's try to get the whole Internet
properly authenticated and encrypted in 2015.


From nobody Wed Dec 31 14:55:13 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 ADA251A1A6D for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 14:55:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.311
X-Spam-Level: 
X-Spam-Status: No, score=-2.311 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_MED=-2.3, 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 bbBFEzlPY7MD for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 14:55:09 -0800 (PST)
Received: from prod-mail-xrelay02.akamai.com (prod-mail-xrelay02.akamai.com [72.246.2.14]) by ietfa.amsl.com (Postfix) with ESMTP id 367AA1A1A52 for <cfrg@irtf.org>; Wed, 31 Dec 2014 14:55:08 -0800 (PST)
Received: from prod-mail-xrelay02.akamai.com (localhost [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 51184283E0; Wed, 31 Dec 2014 22:55:07 +0000 (GMT)
Received: from prod-mail-relay07.akamai.com (prod-mail-relay07.akamai.com [172.17.121.112]) by prod-mail-xrelay02.akamai.com (Postfix) with ESMTP id 3B17D282F1; Wed, 31 Dec 2014 22:55:07 +0000 (GMT)
Received: from email.msg.corp.akamai.com (usma1ex-cas1.msg.corp.akamai.com [172.27.123.30]) by prod-mail-relay07.akamai.com (Postfix) with ESMTP id 0AC7B80054; Wed, 31 Dec 2014 22:55:07 +0000 (GMT)
Received: from usma1ex-cashub5.kendall.corp.akamai.com (172.27.105.21) by usma1ex-dag1mb2.msg.corp.akamai.com (172.27.123.102) with Microsoft SMTP Server (TLS) id 15.0.913.22; Wed, 31 Dec 2014 17:54:23 -0500
Received: from USMBX1.msg.corp.akamai.com ([169.254.1.15]) by USMA1EX-CASHUB5.kendall.corp.akamai.com ([172.27.105.21]) with mapi; Wed, 31 Dec 2014 17:54:23 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: "D. J. Bernstein" <djb@cr.yp.to>, "cfrg@irtf.org" <cfrg@irtf.org>
Date: Wed, 31 Dec 2014 17:54:23 -0500
Thread-Topic: [Cfrg] Mishandling twist attacks
Thread-Index: AdAlTI6U8Uxpx9/WQA+c8ALQ6lTB3wAACFLw
Message-ID: <2A0EFB9C05D0164E98F19BB0AF3708C71D552372F3@USMBX1.msg.corp.akamai.com>
References: <D0C9ED09.3B226%kenny.paterson@rhul.ac.uk> <20141231225245.26393.qmail@cr.yp.to>
In-Reply-To: <20141231225245.26393.qmail@cr.yp.to>
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/ntLQeWT2K01XykVtJCERzYoDsGg
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: Wed, 31 Dec 2014 22:55:10 -0000

=20
> P.S. Happy new year, everybody! Let's try to get the whole Internet prope=
rly
> authenticated and encrypted in 2015.

Hear, hear!


From nobody Wed Dec 31 17:13:05 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 D41DD1A1B1A for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 17:13:03 -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 1v23qxSXEivj for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 17:13:01 -0800 (PST)
Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com [IPv6:2607:f8b0:4003:c06::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 30C861A1AF9 for <cfrg@irtf.org>; Wed, 31 Dec 2014 17:13:01 -0800 (PST)
Received: by mail-oi0-f52.google.com with SMTP id a3so6581750oib.11 for <cfrg@irtf.org>; Wed, 31 Dec 2014 17:13:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:from:date:message-id:subject:to:content-type; bh=yeKz6xA46D3AtxIAvyaOjTZpiSTenZ+zfnSTeUnvnfw=; b=z8XPWa5mWrQIRfytwAtb5A92xXlWiqPIPloSlbX9ih/kLIaC4IihMQLsm5wYwFiQhx SUZ1nbyyiYMvdpgLNnEeoL4DU3pyXYpiqk3jZbwKlydckE+ZifoYw8hM2bpYOvl2520v 8eE+wsf0WHfpU6hg+mwqws0UI/d2YVTyE2kRpgkyrjRdSa26zLtktzs8hgN2DGfv9oTb 7HeA924dhe8+HbIKaUH9EI0vhxqJIAzzKN7kHomRNjohJy7p2WHkqba5jS2kqp9nV++M 6ZvMPR+8vb8RmNjZg4gFDLMzkvaLVM2+GC2VPk6lrlHhDs0HnnKRwe/E2AFQsnaBGWRv e5Cg==
X-Received: by 10.182.211.70 with SMTP id na6mr40879652obc.13.1420074780283; Wed, 31 Dec 2014 17:13:00 -0800 (PST)
MIME-Version: 1.0
Received: by 10.60.227.225 with HTTP; Wed, 31 Dec 2014 17:12:40 -0800 (PST)
From: Tony Arcieri <bascule@gmail.com>
Date: Wed, 31 Dec 2014 17:12:40 -0800
Message-ID: <CAHOTMVLrThLThuHP_U6idVCJCGEJSSOkS-71HOPo3mSLQUGcUw@mail.gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: multipart/alternative; boundary=e89a8f838df7d55a3e050b8cec61
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/VMxmlQQWCBOu5NTem_pn2tFjAaA
Subject: [Cfrg] Alternatives to rigidity?
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, 01 Jan 2015 01:13:04 -0000

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

It seems the purpose of proposed "rigid" curve generation guidelines is to
produce so-called "nothing up my sleeve" curves, i.e. curves we are
confident haven't been tampered with to reduce security because we assume
we can create an algorithm to pick good curves.

However it seems there are differing opinions on what constitutes rigidity,
e.g. the Ben Black draft vs:

http://safecurves.cr.yp.to/rigid.html

Instead of trying to come up with constraints to generate curves de novo,
why not judge curves on the merits of how they were generated and what
known properties they hold? The SafeCurves web site lays out a rubric for
doing this:

http://safecurves.cr.yp.to/

Surely people would want to bikeshed this rubric, but isn't it a good start?

It also seems like the most important thing is producing a performant safe
curve. Some promising ones seem to be:

- Curve25519
- Ed448-Goldilocks
- Ilari's 2^389-21 curve

There are certainly others, but the above seem to perform well.

My take is that the CFRG is otherwise deadlocked, and the central issue
seems to be the trustworthiness of curves. However, at least as far as I
can gather from the crypto community, Curve25519 is widely accepted and
nobody (except Microsoft?) is questioning that.

There are certainly other questions like a signature algorithm, but even
there I think EdDSA is widely accepted, and performs well too.

I guess my main question is: does anyone else care about rigidity (as
defined by Ben Black) except Microsoft and if not, should the CFRG just
punt on it and pick some curves everyone else considers non-controversial?

-- 
Tony Arcieri

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

<div dir=3D"ltr">It seems the purpose of proposed &quot;rigid&quot; curve g=
eneration guidelines is to produce so-called &quot;nothing up my sleeve&quo=
t; curves, i.e. curves we are confident haven&#39;t been tampered with to r=
educe security because we assume we can create an algorithm to pick good cu=
rves.<br clear=3D"all"><div><br></div><div>However it seems there are diffe=
ring opinions on what constitutes rigidity, e.g. the Ben Black draft vs:</d=
iv><div><br></div><div><a href=3D"http://safecurves.cr.yp.to/rigid.html">ht=
tp://safecurves.cr.yp.to/rigid.html</a><br></div><div><br></div><div>Instea=
d of trying to come up with constraints to generate curves de novo, why not=
 judge curves on the merits of how they were generated and what known prope=
rties they hold? The SafeCurves web site lays out a rubric for doing this:<=
/div><div><br></div><div><a href=3D"http://safecurves.cr.yp.to/">http://saf=
ecurves.cr.yp.to/</a><br></div><div><br></div><div>Surely people would want=
 to bikeshed this rubric, but isn&#39;t it a good start?</div><div><br></di=
v><div>It also seems like the most important thing is producing a performan=
t safe curve. Some promising ones seem to be:</div><div><br></div><div>- Cu=
rve25519</div><div>- Ed448-Goldilocks</div><div>- Ilari&#39;s 2^389-21 curv=
e</div><div><br></div><div>There are certainly others, but the above seem t=
o perform well.</div><div><br></div><div>My take is that the CFRG is otherw=
ise deadlocked, and the central issue seems to be the trustworthiness of cu=
rves. However, at least as far as I can gather from the crypto community, C=
urve25519 is widely accepted and nobody (except Microsoft?) is questioning =
that.</div><div><br></div><div>There are certainly other questions like a s=
ignature algorithm, but even there I think EdDSA is widely accepted, and pe=
rforms well too.</div><div><br></div><div>I guess my main question is: does=
 anyone else care about rigidity (as defined by Ben Black) except Microsoft=
 and if not, should the CFRG just punt on it and pick some curves everyone =
else considers non-controversial?</div><div><br></div>-- <br><div class=3D"=
gmail_signature">Tony Arcieri<br></div>
</div>

--e89a8f838df7d55a3e050b8cec61--


From nobody Wed Dec 31 18:50:20 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 01C4D1A1B2D for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 18:50:17 -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 qhBT1YNudUaF for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 18:50:15 -0800 (PST)
Received: from mail-oi0-x22c.google.com (mail-oi0-x22c.google.com [IPv6:2607:f8b0:4003:c06::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 066071A1B2B for <cfrg@irtf.org>; Wed, 31 Dec 2014 18:50:15 -0800 (PST)
Received: by mail-oi0-f44.google.com with SMTP id a141so3686542oig.3 for <cfrg@irtf.org>; Wed, 31 Dec 2014 18:50:14 -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 :content-type; bh=1wO5eUwqwZ1cthmhWbiMvQCh5HUvjzBooleWeWO+dgA=; b=jyCqU4vyAvOSbfdhcZRubWX7e1ZrHfhho/xCrWHk7/nUC4hNNZKw2cDCul7OrU5xFH gPVoLw3TKmKmUDT1mIX4tXrhcMRZIh+QX19kyoLYGyGM0gPey86fW0dQVb+OuuP854mK /kaUXmiIDHLAtFQLvE9QG0exp48wl7FwHg+IaPRcsl2U9fDqYmEQTF7SjO+IAvEZAct8 eQ8EMCSkry1BaQZQV9ezt9U8zOqLLLx0PHptMSVpA9fKY6MlkqrW6yrP8P1QvjPL28Zk FCYv9a+BMesJ0CLOIAGjg4jVe9o127eGOWfVquTLwIIfMOy1qlKeZ5xB1wJJFN+lNCpr kkpQ==
X-Received: by 10.202.45.79 with SMTP id t76mr38910586oit.100.1420080614087; Wed, 31 Dec 2014 18:50:14 -0800 (PST)
MIME-Version: 1.0
Received: by 10.60.227.225 with HTTP; Wed, 31 Dec 2014 18:49:53 -0800 (PST)
In-Reply-To: <CAHOTMVLrThLThuHP_U6idVCJCGEJSSOkS-71HOPo3mSLQUGcUw@mail.gmail.com>
References: <CAHOTMVLrThLThuHP_U6idVCJCGEJSSOkS-71HOPo3mSLQUGcUw@mail.gmail.com>
From: Tony Arcieri <bascule@gmail.com>
Date: Wed, 31 Dec 2014 18:49:53 -0800
Message-ID: <CAHOTMVJf_k8YN0g5aV+oSOnS-6Wo-O__R9yDcVo4iiqmDtkL-A@mail.gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: multipart/alternative; boundary=001a1137d0228e223c050b8e4824
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/8VbT5GVn1KVw1lDmI3m39CnpXlo
Subject: Re: [Cfrg] Alternatives to rigidity?
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, 01 Jan 2015 02:50:17 -0000

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

On Wed, Dec 31, 2014 at 5:12 PM, Tony Arcieri <bascule@gmail.com> wrote:

> There are certainly other questions like a signature algorithm, but even
> there I think EdDSA is widely accepted, and performs well too.
>

And if EdDSA vs ECDSA is an issue, perhaps consider using Ed25519 keys and
convert to Weierstrass to do ECDSA. No need for FrankenECDSA that way.

-- 
Tony Arcieri

--001a1137d0228e223c050b8e4824
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, Dec 31, 2014 at 5:12 PM, Tony Arcieri <span dir=3D"ltr">&lt;<a href=3D"=
mailto:bascule@gmail.com" target=3D"_blank" onclick=3D"window.open(&#39;htt=
ps://mail.google.com/mail/?view=3Dcm&amp;tf=3D1&amp;to=3Dbascule@gmail.com&=
amp;cc=3D&amp;bcc=3D&amp;su=3D&amp;body=3D&#39;,&#39;_blank&#39;);return fa=
lse;">bascule@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 dir=3D"ltr"><div>There are certainly other questions like a signa=
ture algorithm, but even there I think EdDSA is widely accepted, and perfor=
ms well too.</div></div></blockquote></div><div><br></div><div>And if EdDSA=
 vs ECDSA is an issue, perhaps consider using Ed25519 keys and convert to W=
eierstrass to do ECDSA. No need for FrankenECDSA that way.</div><div><br></=
div>-- <br><div class=3D"gmail_signature">Tony Arcieri<br></div>
</div></div>

--001a1137d0228e223c050b8e4824--


From nobody Wed Dec 31 19:01:08 2014
Return-Path: <nico@cryptonector.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 5214D1A1B25 for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 19:01:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.034
X-Spam-Level: *
X-Spam-Status: No, score=1.034 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] 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 sN5YcxEZifMz for <cfrg@ietfa.amsl.com>; Wed, 31 Dec 2014 19:01:05 -0800 (PST)
Received: from homiemail-a84.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id F13921A1B23 for <cfrg@irtf.org>; Wed, 31 Dec 2014 19:01:04 -0800 (PST)
Received: from homiemail-a84.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a84.g.dreamhost.com (Postfix) with ESMTP id 412811DE05D; Wed, 31 Dec 2014 19:01:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=2FCWm4Nv+jF1lm pZwpH2v57U0go=; b=ch697IPG/js+6i0v4uKKbBwGYOKhmU1M6ghjdjxER0woAI msITtY64i2w5ZZxR8RmiAfXkQgN1UFtqaug9aRV/EhK9jBOdyqF1+SiqV5e6cHMt zPQS5ytIvoHU3O1hV/7QvR3eoMumWP82DooWmf9A+gF5QHFK6hdRSC9zjHHSI=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a84.g.dreamhost.com (Postfix) with ESMTPA id E93661DE059; Wed, 31 Dec 2014 19:01:03 -0800 (PST)
Date: Wed, 31 Dec 2014 21:01:03 -0600
From: Nico Williams <nico@cryptonector.com>
To: Tony Arcieri <bascule@gmail.com>
Message-ID: <20150101030058.GZ24442@localhost>
References: <CAHOTMVLrThLThuHP_U6idVCJCGEJSSOkS-71HOPo3mSLQUGcUw@mail.gmail.com> <CAHOTMVJf_k8YN0g5aV+oSOnS-6Wo-O__R9yDcVo4iiqmDtkL-A@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAHOTMVJf_k8YN0g5aV+oSOnS-6Wo-O__R9yDcVo4iiqmDtkL-A@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/8piav-YCGJmdEI3cTFs8fDhJ_Ww
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Alternatives to rigidity?
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, 01 Jan 2015 03:01:06 -0000

On Wed, Dec 31, 2014 at 06:49:53PM -0800, Tony Arcieri wrote:
> On Wed, Dec 31, 2014 at 5:12 PM, Tony Arcieri <bascule@gmail.com> wrote:
> > There are certainly other questions like a signature algorithm, but even
> > there I think EdDSA is widely accepted, and performs well too.
> 
> And if EdDSA vs ECDSA is an issue, perhaps consider using Ed25519 keys and
> convert to Weierstrass to do ECDSA. No need for FrankenECDSA that way.

EdDSA is quite convincing and has some convenient advantages over ECDSA.
It'd be nice to see a complete treatment of it by CFRG.

Nico
-- 

