
From nobody Sat Mar  1 09:21:53 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 F22791A024F for <cfrg@ietfa.amsl.com>; Sat,  1 Mar 2014 09:21:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.347
X-Spam-Level: 
X-Spam-Status: No, score=-1.347 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553] 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 U4FS4o-2jUkE for <cfrg@ietfa.amsl.com>; Sat,  1 Mar 2014 09:21:48 -0800 (PST)
Received: from hoffman.proper.com (IPv6.Hoffman.Proper.COM [IPv6:2605:8e00:100:41::81]) by ietfa.amsl.com (Postfix) with ESMTP id 927351A0221 for <cfrg@irtf.org>; Sat,  1 Mar 2014 09:21:48 -0800 (PST)
Received: from [172.16.32.52] (82-71-30-153.dsl.in-addr.zen.co.uk [82.71.30.153]) (authenticated bits=0) by hoffman.proper.com (8.14.8/8.14.7) with ESMTP id s21HLeI8024126 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 1 Mar 2014 10:21:43 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: hoffman.proper.com: Host 82-71-30-153.dsl.in-addr.zen.co.uk [82.71.30.153] claimed to be [172.16.32.52]
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com>
Date: Sat, 1 Mar 2014 17:21:39 +0000
Content-Transfer-Encoding: quoted-printable
Message-Id: <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com>
To: Robert Ransom <rransom.8774@gmail.com>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/MWFnvLeiUD8Lf_siIiccA82YkcM
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: [Cfrg] Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 01 Mar 2014 17:21:50 -0000

[[ Subject line changed to be relevant to the discussion ]]

On Mar 1, 2014, at 4:16 AM, Robert Ransom <rransom.8774@gmail.com> =
wrote:

> On 2/28/14, David McGrew <mcgrew@cisco.com> wrote:
>> I am wary of relying on the curve25519 paper as a normative =
reference.
>> Perhaps your goal here is to provide an informational document (the
>> draft that you mention above) that offers implementation guidance,
>> instead of a normative reference?
>=20
> RFC 4492 (ECC ciphersuites for TLS) cites ANSI X9.62, IEEE 1363, and a
> few documents labeled as =91standards=92 by the corporations which
> authored them as normative references.  It cannot be implemented
> without the information in ANSI X9.62 and IEEE 1363.  ANSI X9.62 is
> available from ANSI for 100 USD; IEEE 1363 is available from ANSI for
> 168 USD.

I have been told by implementers that you can implement RFC 4492 just =
fine without those references, only with [SECG]. What information in the =
ANSI and IEEE spec do you feel is needed to implement 4492?

> It is true that the author of the Curve25519 paper is neither a large
> corporation nor an organization with =93Standards=94 in its name, and =
did
> not label Curve25519 as a =91standard=92 in the paper's title.  =
However,
> the Curve25519 scalar multiplication function specified in the paper
> became a =91standard=92, in the sense which IETF claims to use the =
word,
> when software developers came to the rough consensus that it was a
> good cryptographic primitive to use, and wrote and deployed running
> code which implements it. =20

That is not the sense which the IETF claims to use the word.

> The Curve25519 paper is available for free
> from the URL <http://cr.yp.to/ecdh/curve25519-20060209.pdf>.
>=20
> What is your objection to using the Curve25519 paper as a normative
> reference for the standard Curve25519 scalar multiplication function?

The paper is at a URL; the contents of that URL can change any time. =
RFCs can sometimes make normative reference to URLs that seem very =
stable, and Dan's might or might not be. Dan has a history of poking at =
the IETF (sometimes for good reason), so it is quite believable that he =
might change the contents of that URL just to make a point. Having a =
more stable reference would clearly be better.

--Paul Hoffman=


From nobody Sat Mar  1 09:39:46 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 1E6731A0227 for <cfrg@ietfa.amsl.com>; Sat,  1 Mar 2014 09:39:44 -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 DfpnJU4UQ7j7 for <cfrg@ietfa.amsl.com>; Sat,  1 Mar 2014 09:39:41 -0800 (PST)
Received: from mail-yh0-x22d.google.com (mail-yh0-x22d.google.com [IPv6:2607:f8b0:4002:c01::22d]) by ietfa.amsl.com (Postfix) with ESMTP id 843801A0202 for <cfrg@irtf.org>; Sat,  1 Mar 2014 09:39:41 -0800 (PST)
Received: by mail-yh0-f45.google.com with SMTP id i57so2100500yha.4 for <cfrg@irtf.org>; Sat, 01 Mar 2014 09:39:39 -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=ckhoaaB9Fbb/477AzO8a6pjSXX0UidB93tjWtpxEWa0=; b=vpyqcsmiXI5O0chN8pCM1ZhJNTZeXfS1qdo64vwTAmglmQBCC0Cnb7Lb/rv3UqslJh fBFECl0tbzpGje9GBc5g7IMgTxwFf0uZJmx8PXsSI7NySgpeUAV1iL0HHRPncm/iZHYB b6ylP5QkDNHAqvS+enJl8FgF3oC3IjGR8DrY/nEnMwQC8aukBqaVCRQDeAyMvsx9G78f RY41sCP41Qlpu1gtmkUpOoUVQfh5fiCmfvUa96PsJyxmNEBFSgzrulx1kmrOtHgd8FIY o7fWMJ6hjhi5QfwVXCv6qjSq+VU1uK/Nb02VnC8zAB+CCoZLEr2JtHy4MV4O6Gskc2cU nibg==
MIME-Version: 1.0
X-Received: by 10.236.124.104 with SMTP id w68mr11110646yhh.2.1393695579179; Sat, 01 Mar 2014 09:39:39 -0800 (PST)
Received: by 10.170.92.85 with HTTP; Sat, 1 Mar 2014 09:39:39 -0800 (PST)
In-Reply-To: <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com> <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org>
Date: Sat, 1 Mar 2014 09:39:39 -0800
Message-ID: <CACsn0ck6FZ4repE6Zwaqx5SbVF=CkGL8fP70zDZD6GziUyfH_w@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/scdTXQgLiZlkOT8I7Sz7aO0aPQA
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 01 Mar 2014 17:39:44 -0000

On Sat, Mar 1, 2014 at 9:21 AM, Paul Hoffman <paul.hoffman@vpnc.org> wrote:
> [[ Subject line changed to be relevant to the discussion ]]
>
> On Mar 1, 2014, at 4:16 AM, Robert Ransom <rransom.8774@gmail.com> wrote:
>
>> On 2/28/14, David McGrew <mcgrew@cisco.com> wrote:
>>> I am wary of relying on the curve25519 paper as a normative reference.
>>> Perhaps your goal here is to provide an informational document (the
>>> draft that you mention above) that offers implementation guidance,
>>> instead of a normative reference?
>>
>> RFC 4492 (ECC ciphersuites for TLS) cites ANSI X9.62, IEEE 1363, and a
>> few documents labeled as =E2=80=98standards=E2=80=99 by the corporations=
 which
>> authored them as normative references.  It cannot be implemented
>> without the information in ANSI X9.62 and IEEE 1363.  ANSI X9.62 is
>> available from ANSI for 100 USD; IEEE 1363 is available from ANSI for
>> 168 USD.
>
> I have been told by implementers that you can implement RFC 4492 just fin=
e without those references, only with [SECG]. What information in the ANSI =
and IEEE spec do you feel is needed to implement 4492?
>
>> It is true that the author of the Curve25519 paper is neither a large
>> corporation nor an organization with =E2=80=9CStandards=E2=80=9D in its =
name, and did
>> not label Curve25519 as a =E2=80=98standard=E2=80=99 in the paper's titl=
e.  However,
>> the Curve25519 scalar multiplication function specified in the paper
>> became a =E2=80=98standard=E2=80=99, in the sense which IETF claims to u=
se the word,
>> when software developers came to the rough consensus that it was a
>> good cryptographic primitive to use, and wrote and deployed running
>> code which implements it.
>
> That is not the sense which the IETF claims to use the word.
>
>> The Curve25519 paper is available for free
>> from the URL <http://cr.yp.to/ecdh/curve25519-20060209.pdf>.
>>
>> What is your objection to using the Curve25519 paper as a normative
>> reference for the standard Curve25519 scalar multiplication function?
>
> The paper is at a URL; the contents of that URL can change any time. RFCs=
 can sometimes make normative reference to URLs that seem very stable, and =
Dan's might or might not be. Dan has a history of poking at the IETF (somet=
imes for good reason), so it is quite believable that he might change the c=
ontents of that URL just to make a point. Having a more stable reference wo=
uld clearly be better.

Bernstein, Daniel. "Curve25519:New Diffie-Hellman Speed Records".
Appears in Moti Yung, Yevgeniy Dodis, Aggelos Kiayias, Tal Malkin
Public Key Cryptography - PKC 2006, 9th International Conference on
Theory and Practice of Public-Key Cryptography, New York, NY, USA,
April 24-26, 2006, Proceedings. Springer 2006 Lecture Notes in
Computer Science ISBN 3-540-33851-9

This comes straight from Dan Bernstein's bibliography.

Alternatively one could put the paragraph that defines Curve25519 into
the draft.

I don't see a problem with either one of these alternatives.

Sincerely,
Watson Ladd

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


From nobody Sat Mar  1 15:17:06 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 11E471A0AEF for <cfrg@ietfa.amsl.com>; Sat,  1 Mar 2014 15:17:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.347
X-Spam-Level: 
X-Spam-Status: No, score=-1.347 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553] 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 YOFMSnMglIvm for <cfrg@ietfa.amsl.com>; Sat,  1 Mar 2014 15:17:03 -0800 (PST)
Received: from hoffman.proper.com (IPv6.Hoffman.Proper.COM [IPv6:2605:8e00:100:41::81]) by ietfa.amsl.com (Postfix) with ESMTP id 4C0561A0AED for <cfrg@irtf.org>; Sat,  1 Mar 2014 15:17:03 -0800 (PST)
Received: from [172.16.32.52] (82-71-30-153.dsl.in-addr.zen.co.uk [82.71.30.153]) (authenticated bits=0) by hoffman.proper.com (8.14.8/8.14.7) with ESMTP id s21NFINg034331 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 1 Mar 2014 16:16:50 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: hoffman.proper.com: Host 82-71-30-153.dsl.in-addr.zen.co.uk [82.71.30.153] claimed to be [172.16.32.52]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <CACsn0ck6FZ4repE6Zwaqx5SbVF=CkGL8fP70zDZD6GziUyfH_w@mail.gmail.com>
Date: Sat, 1 Mar 2014 23:16:42 +0000
Content-Transfer-Encoding: 7bit
Message-Id: <56E13B27-5392-47F5-8A44-E644864809EA@vpnc.org>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com> <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org> <CACsn0ck6FZ4repE6Zwaqx5SbVF=CkGL8fP70zDZD6GziUyfH_w@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/qSLR4yWpBGiZ6k-xd6S0EFcq9fM
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 01 Mar 2014 23:17:04 -0000

On Mar 1, 2014, at 5:39 PM, Watson Ladd <watsonbladd@gmail.com> wrote:

> Bernstein, Daniel. "Curve25519:New Diffie-Hellman Speed Records".
> Appears in Moti Yung, Yevgeniy Dodis, Aggelos Kiayias, Tal Malkin
> Public Key Cryptography - PKC 2006, 9th International Conference on
> Theory and Practice of Public-Key Cryptography, New York, NY, USA,
> April 24-26, 2006, Proceedings. Springer 2006 Lecture Notes in
> Computer Science ISBN 3-540-33851-9
> 
> This comes straight from Dan Bernstein's bibliography.
> 
> Alternatively one could put the paragraph that defines Curve25519 into
> the draft.
> 
> I don't see a problem with either one of these alternatives.

Both look fine to me, the latter being better.

--Paul Hoffman


From nobody Sat Mar  1 16:39:35 2014
Return-Path: <mcgrew@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 48F301A0B43 for <cfrg@ietfa.amsl.com>; Sat,  1 Mar 2014 16:39:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.048
X-Spam-Level: 
X-Spam-Status: No, score=-10.048 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.547, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Gm40PrJvLuQ for <cfrg@ietfa.amsl.com>; Sat,  1 Mar 2014 16:39:31 -0800 (PST)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) by ietfa.amsl.com (Postfix) with ESMTP id 1B33A1A0B38 for <cfrg@irtf.org>; Sat,  1 Mar 2014 16:39:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1251; q=dns/txt; s=iport; t=1393720769; x=1394930369; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=Rc4k3Gt+mgR0M4QYm8qQxc03RVuRJtuZbhn/VTXjcds=; b=IrJwvnpI00TZX1Gj48AtozP58+131xehduQwlDUr6hGp+3FLigYqtpEC XkET5m6zFumCBo5VOiKnKmAxu/r9GneMkDbsdMJ9HQsj6xJdpLE2AcRBV KDZzXYpJdbvjZsdc6Xt0f26xqVkcX1IGKS7gi/piJWLY15FT1t62hktOq c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AiUFAP58ElOtJXG//2dsb2JhbABagwY7g1q6J4N1gRMWdIIlAQEBAgIjFUABEAsOCgICBRYLAgIJAwIBAgFFBg0BBwIQh2UNqwKgMheBKY0wB4JvgUkBA4lLjnGGSothg0se
X-IronPort-AV: E=Sophos;i="4.97,569,1389744000"; d="scan'208";a="24237615"
Received: from rcdn-core2-4.cisco.com ([173.37.113.191]) by alln-iport-5.cisco.com with ESMTP; 02 Mar 2014 00:39:27 +0000
Received: from [10.0.2.15] (rtp-mcgrew-8912.cisco.com [10.117.10.227]) by rcdn-core2-4.cisco.com (8.14.5/8.14.5) with ESMTP id s220dQho024017; Sun, 2 Mar 2014 00:39:27 GMT
Message-ID: <53127DBE.7070001@cisco.com>
Date: Sat, 01 Mar 2014 19:39:26 -0500
From: David McGrew <mcgrew@cisco.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130922 Icedove/17.0.9
MIME-Version: 1.0
To: Robert Ransom <rransom.8774@gmail.com>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com>
In-Reply-To: <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/CyZMI79_7ws_BYq28f0uLUARQRA
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] tentative agenda for CFRG at IETF 89
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Mar 2014 00:39:33 -0000

On 02/28/2014 11:16 PM, Robert Ransom wrote:
>
> What is your objection to using the Curve25519 paper as a normative
> reference for the standard Curve25519 scalar multiplication function?
>
>


That it is not clear or precise enough.   Specifically, it is not 
written so that a hardware or software engineer would know how to 
implement it, and it describes multiple alternatives rather than a 
single specific algorithm.

Let me point out some examples from the end of Section 2 of 
http://cr.yp.to/ecdh/curve25519-20060209.pdf, where the document 
actually defines the curve function: "By Theorem 2.1, there is a unique 
integer s .... with the following property: s = X0(nQ) .... Note that 
Curve25519 is not surjective: in particular, its final output bit is 
always 0 and need not be transmitted."   Engineers will be confused by 
the lack of an imperative description of the function, and will not know 
whether to expect the last bit to be transmitted or not.

It would be a disservice to the community to not offer implementers a 
more usable description.   If the curve is worth using, it is worth a 
draft that specifies it.

Or perhaps there was another document about the curve that you had in mind?

David


From nobody Sat Mar  1 20:02:16 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 A37BC1A03BA for <cfrg@ietfa.amsl.com>; Sat,  1 Mar 2014 20:02:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.567
X-Spam-Level: 
X-Spam-Status: No, score=-1.567 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, 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 mxBBf_0LV3GP for <cfrg@ietfa.amsl.com>; Sat,  1 Mar 2014 20:02:13 -0800 (PST)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by ietfa.amsl.com (Postfix) with ESMTP id DC1351A02F9 for <cfrg@irtf.org>; Sat,  1 Mar 2014 20:02:12 -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 s22428H5004455; Sat, 1 Mar 2014 20:02:08 -0800
Received: from sc-owa.marvell.com ([199.233.58.135]) by mx0b-0016f401.pphosted.com with ESMTP id 1jbctw3366-23 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sat, 01 Mar 2014 20:02:08 -0800
Received: from SC-vEXCH2.marvell.com ([10.93.76.134]) by SC-OWA.marvell.com ([::1]) with mapi; Sat, 1 Mar 2014 20:02:01 -0800
From: Paul Lambert <paul@marvell.com>
To: Paul Hoffman <paul.hoffman@vpnc.org>, Robert Ransom <rransom.8774@gmail.com>
Date: Sat, 1 Mar 2014 20:02:06 -0800
Thread-Topic: [Cfrg] Citing specs in specs
Thread-Index: Ac81zCo+PvBCdk/qSvGZryFHPgOW0w==
Message-ID: <CF37EA5F.338D8%paul@marvell.com>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com> <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org>
In-Reply-To: <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.3.9.131030
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.11.87, 1.0.14,  0.0.0000 definitions=2014-03-01_03:2014-02-28,2014-03-01,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-1305240000 definitions=main-1403010225
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/_LP4wL8ALjxSpxjo1wNlz1KyOGQ
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Mar 2014 04:02:15 -0000

The curve25519 is NOT a good normative reference IETF protocols.
It=B9s useful as an informative reference on the curve
Selection, but lacks clarity and completeness on
implementation details.

One of the main reasons 25519 is popular is that a nicely optimized
open source library is available for some of the more
Useful curve functions.


On 3/1/14, 9:21 AM, "Paul Hoffman" <paul.hoffman@vpnc.org> wrote:

>[[ Subject line changed to be relevant to the discussion ]]
>
>On Mar 1, 2014, at 4:16 AM, Robert Ransom <rransom.8774@gmail.com> wrote:
>
>> On 2/28/14, David McGrew <mcgrew@cisco.com> wrote:
>>> I am wary of relying on the curve25519 paper as a normative reference.
>>> Perhaps your goal here is to provide an informational document (the
>>> draft that you mention above) that offers implementation guidance,
>>> instead of a normative reference?
>>=20
>> RFC 4492 (ECC ciphersuites for TLS) cites ANSI X9.62, IEEE 1363, and a
>> few documents labeled as =8Cstandards=B9 by the corporations which
>> authored them as normative references.  It cannot be implemented
>> without the information in ANSI X9.62 and IEEE 1363.  ANSI X9.62 is
>> available from ANSI for 100 USD; IEEE 1363 is available from ANSI for
>> 168 USD.
>
>I have been told by implementers that you can implement RFC 4492 just
>fine without those references, only with [SECG]. What information in the
>ANSI and IEEE spec do you feel is needed to implement 4492?

We should be working here to document Edwards/Montgomery curves to
the same level of clarity as the SECG documents.  Perhaps we
could be even more concise and complete - SECG left out
details of most optimizations.

My favorite examples of clarity are:
http://www.nsa.gov/ia/_files/nist-routines.pdf

http://www.nsa.gov/ia/_files/SuiteB_Implementer_G-113808.pdf

Right now there is no equivalent documentation as the nist-routines.pdf
for Edwards/Montgomery curves.

Paul

>
>> It is true that the author of the Curve25519 paper is neither a large
>> corporation nor an organization with =B3Standards=B2 in its name, and di=
d
>> not label Curve25519 as a =8Cstandard=B9 in the paper's title.  However,
>> the Curve25519 scalar multiplication function specified in the paper
>> became a =8Cstandard=B9, in the sense which IETF claims to use the word,
>> when software developers came to the rough consensus that it was a
>> good cryptographic primitive to use, and wrote and deployed running
>> code which implements it.
>
>That is not the sense which the IETF claims to use the word.
>
>> The Curve25519 paper is available for free
>> from the URL <http://cr.yp.to/ecdh/curve25519-20060209.pdf>.
>>=20
>> What is your objection to using the Curve25519 paper as a normative
>> reference for the standard Curve25519 scalar multiplication function?
>
>The paper is at a URL; the contents of that URL can change any time. RFCs
>can sometimes make normative reference to URLs that seem very stable, and
>Dan's might or might not be. Dan has a history of poking at the IETF
>(sometimes for good reason), so it is quite believable that he might
>change the contents of that URL just to make a point. Having a more
>stable reference would clearly be better.
>
>--Paul Hoffman
>_______________________________________________
>Cfrg mailing list
>Cfrg@irtf.org
>http://www.irtf.org/mailman/listinfo/cfrg


From nobody Sun Mar  2 10:38:49 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 D687C1A09BC for <cfrg@ietfa.amsl.com>; Sun,  2 Mar 2014 10:38:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=unavailable
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OUN2uSdRbhGC for <cfrg@ietfa.amsl.com>; Sun,  2 Mar 2014 10:38:33 -0800 (PST)
Received: from mail-yh0-x234.google.com (mail-yh0-x234.google.com [IPv6:2607:f8b0:4002:c01::234]) by ietfa.amsl.com (Postfix) with ESMTP id D730D1A09D3 for <cfrg@irtf.org>; Sun,  2 Mar 2014 10:38:28 -0800 (PST)
Received: by mail-yh0-f52.google.com with SMTP id a41so2755412yho.25 for <cfrg@irtf.org>; Sun, 02 Mar 2014 10:38:26 -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=O1Ut7ZDKElA0Zt0/06rOMX9ILDHNt40tPvVOBR+BZcc=; b=C3J+xOJG2ahaYgzxIehfSZ9c1/7c9eJmWaAbe2tH2+1/vZ2zFP5EREKbxtRfSuu2lC ViAqnIW5FbaYAil8nR1MPtY59p/1daRBn4TNNuN9KoQtkSYc9Ge6sQZ95+wtRd5XhQfI abYuZsxQP4xRa0LMXlO3xWHGTGhORslP3omPQnQDt4IMcWJGfhgFfC8SNbl9k9DuNy/n 5WCQ6AVfQhbR33MFB8E7eqHKl8XeVZuWKsSU5yaASjwhn/Rw8ZPeuGzLpgliU3Kp/vV1 SfNAmv3GGzk4wGqLG8yKmfjI/WNUOlq0+lLIe/lOuTWvN/vk0E1HHPbGYgTWRKtTAW4C yG7g==
MIME-Version: 1.0
X-Received: by 10.236.121.194 with SMTP id r42mr2531481yhh.82.1393785505993; Sun, 02 Mar 2014 10:38:25 -0800 (PST)
Received: by 10.170.92.85 with HTTP; Sun, 2 Mar 2014 10:38:25 -0800 (PST)
In-Reply-To: <CF37EA5F.338D8%paul@marvell.com>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com> <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org> <CF37EA5F.338D8%paul@marvell.com>
Date: Sun, 2 Mar 2014 10:38:25 -0800
Message-ID: <CACsn0cmewBrOzaRF5XXC1p1A_gUSwkdE1_7V-1x8nta-ESyA+A@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/iFV201ZK2_fwGIEegW090S2ThfY
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, Paul Hoffman <paul.hoffman@vpnc.org>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [Cfrg] Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Mar 2014 18:38:40 -0000

(Moving to TLS because that is where this draft is)

On Sat, Mar 1, 2014 at 8:02 PM, Paul Lambert <paul@marvell.com> wrote:
>
> The curve25519 is NOT a good normative reference IETF protocols.
> It=C2=B9s useful as an informative reference on the curve
> Selection, but lacks clarity and completeness on
> implementation details.

Since when does a normative reference contain implementation details?

IEEE 745 doesn't, RnRS doesn't, the ANSI C standard doesn't, POSIX
doesn't, etc. This doesn't affect being able to judge compliance which
is the normative function of a spec.

If you want RFCs, try writing a NTP protocol implementation (that is,
a client that keeps track of the current time accurately) without
understanding PLL control theory. This isn't in the spec at all, but
is completely necessary to get a functioning implementation.

Furthermore, the Curve25519 paper describes a very clever
implementation in great detail.

>
> One of the main reasons 25519 is popular is that a nicely optimized
> open source library is available for some of the more
> Useful curve functions.
>
>
> On 3/1/14, 9:21 AM, "Paul Hoffman" <paul.hoffman@vpnc.org> wrote:
>
>>[[ Subject line changed to be relevant to the discussion ]]
>>
>>On Mar 1, 2014, at 4:16 AM, Robert Ransom <rransom.8774@gmail.com> wrote:
>>
>>> On 2/28/14, David McGrew <mcgrew@cisco.com> wrote:
>>>> I am wary of relying on the curve25519 paper as a normative reference.
>>>> Perhaps your goal here is to provide an informational document (the
>>>> draft that you mention above) that offers implementation guidance,
>>>> instead of a normative reference?
>>>
>>> RFC 4492 (ECC ciphersuites for TLS) cites ANSI X9.62, IEEE 1363, and a
>>> few documents labeled as =C5=92standards=C2=B9 by the corporations whic=
h
>>> authored them as normative references.  It cannot be implemented
>>> without the information in ANSI X9.62 and IEEE 1363.  ANSI X9.62 is
>>> available from ANSI for 100 USD; IEEE 1363 is available from ANSI for
>>> 168 USD.
>>
>>I have been told by implementers that you can implement RFC 4492 just
>>fine without those references, only with [SECG]. What information in the
>>ANSI and IEEE spec do you feel is needed to implement 4492?
>
> We should be working here to document Edwards/Montgomery curves to
> the same level of clarity as the SECG documents.  Perhaps we
> could be even more concise and complete - SECG left out
> details of most optimizations.
>
> My favorite examples of clarity are:
> http://www.nsa.gov/ia/_files/nist-routines.pdf
>
> http://www.nsa.gov/ia/_files/SuiteB_Implementer_G-113808.pdf
>
> Right now there is no equivalent documentation as the nist-routines.pdf
> for Edwards/Montgomery curves.

So your argument is that until such a document is written, the IETF
should not approve any RFC containing such a curve because absent such
a document, the specification is unclear? I disagree: the information
you demand to be placed into the spec can be figured out in a few days
of research in the library. There are numerous standard references on
bignum arithmetic, and given this with the paper of Montgomery, there
is nothing else that is needed to write an implementation that is
correct.

Sincerely,
Watson Ladd
>
> Paul
>
>>
>>> It is true that the author of the Curve25519 paper is neither a large
>>> corporation nor an organization with =C2=B3Standards=C2=B2 in its name,=
 and did
>>> not label Curve25519 as a =C5=92standard=C2=B9 in the paper's title.  H=
owever,
>>> the Curve25519 scalar multiplication function specified in the paper
>>> became a =C5=92standard=C2=B9, in the sense which IETF claims to use th=
e word,
>>> when software developers came to the rough consensus that it was a
>>> good cryptographic primitive to use, and wrote and deployed running
>>> code which implements it.
>>
>>That is not the sense which the IETF claims to use the word.
>>
>>> The Curve25519 paper is available for free
>>> from the URL <http://cr.yp.to/ecdh/curve25519-20060209.pdf>.
>>>
>>> What is your objection to using the Curve25519 paper as a normative
>>> reference for the standard Curve25519 scalar multiplication function?
>>
>>The paper is at a URL; the contents of that URL can change any time. RFCs
>>can sometimes make normative reference to URLs that seem very stable, and
>>Dan's might or might not be. Dan has a history of poking at the IETF
>>(sometimes for good reason), so it is quite believable that he might
>>change the contents of that URL just to make a point. Having a more
>>stable reference would clearly be better.
>>
>>--Paul Hoffman
>>_______________________________________________
>>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 Sun Mar  2 14:41:51 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 DB81A1A099D; Sun,  2 Mar 2014 14:41:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.567
X-Spam-Level: 
X-Spam-Status: No, score=-1.567 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, 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 PhU97Xc67Erl; Sun,  2 Mar 2014 14:41:44 -0800 (PST)
Received: from mx0a-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by ietfa.amsl.com (Postfix) with ESMTP id DF4FA1A07CA; Sun,  2 Mar 2014 14:41:44 -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 s22Mfdff025800; Sun, 2 Mar 2014 14:41:39 -0800
Received: from sc-owa01.marvell.com ([199.233.58.136]) by mx0a-0016f401.pphosted.com with ESMTP id 1jbctpnjgt-284 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Sun, 02 Mar 2014 14:41:36 -0800
Received: from SC-vEXCH2.marvell.com ([10.93.76.134]) by SC-OWA01.marvell.com ([10.93.76.21]) with mapi; Sun, 2 Mar 2014 14:41:05 -0800
From: Paul Lambert <paul@marvell.com>
To: Watson Ladd <watsonbladd@gmail.com>
Date: Sun, 2 Mar 2014 14:41:03 -0800
Thread-Topic: [Cfrg] Citing specs in specs
Thread-Index: Ac82aH6lreVgle/bQLGnnXZhDmMtSg==
Message-ID: <CF38F2D4.33940%paul@marvell.com>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com> <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org> <CF37EA5F.338D8%paul@marvell.com> <CACsn0cmewBrOzaRF5XXC1p1A_gUSwkdE1_7V-1x8nta-ESyA+A@mail.gmail.com>
In-Reply-To: <CACsn0cmewBrOzaRF5XXC1p1A_gUSwkdE1_7V-1x8nta-ESyA+A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.3.9.131030
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87, 1.0.14,  0.0.0000 definitions=2014-03-02_02:2014-02-28,2014-03-02,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-1305240000 definitions=main-1403020154
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/dvZRDQgwBipZhPlmCKow8rhEL1o
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, Paul Hoffman <paul.hoffman@vpnc.org>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [Cfrg] Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Mar 2014 22:41:47 -0000

DQoNCk9uIDMvMi8xNCwgMTA6MzggQU0sICJXYXRzb24gTGFkZCIgPHdhdHNvbmJsYWRkQGdtYWls
LmNvbT4gd3JvdGU6DQoNCj4oTW92aW5nIHRvIFRMUyBiZWNhdXNlIHRoYXQgaXMgd2hlcmUgdGhp
cyBkcmFmdCBpcykNCj4NCj5PbiBTYXQsIE1hciAxLCAyMDE0IGF0IDg6MDIgUE0sIFBhdWwgTGFt
YmVydCA8cGF1bEBtYXJ2ZWxsLmNvbT4gd3JvdGU6DQo+Pg0KPj4gVGhlIGN1cnZlMjU1MTkgaXMg
Tk9UIGEgZ29vZCBub3JtYXRpdmUgcmVmZXJlbmNlIElFVEYgcHJvdG9jb2xzLg0KPj4gSXTCuXMg
dXNlZnVsIGFzIGFuIGluZm9ybWF0aXZlIHJlZmVyZW5jZSBvbiB0aGUgY3VydmUNCj4+IFNlbGVj
dGlvbiwgYnV0IGxhY2tzIGNsYXJpdHkgYW5kIGNvbXBsZXRlbmVzcyBvbg0KPj4gaW1wbGVtZW50
YXRpb24gZGV0YWlscy4NCj4NCj5TaW5jZSB3aGVuIGRvZXMgYSBub3JtYXRpdmUgcmVmZXJlbmNl
IGNvbnRhaW4gaW1wbGVtZW50YXRpb24gZGV0YWlscz8NCj4NCj5JRUVFIDc0NSBkb2Vzbid0LCBS
blJTIGRvZXNuJ3QsIHRoZSBBTlNJIEMgc3RhbmRhcmQgZG9lc24ndCwgUE9TSVgNCj5kb2Vzbid0
LCBldGMuIFRoaXMgZG9lc24ndCBhZmZlY3QgYmVpbmcgYWJsZSB0byBqdWRnZSBjb21wbGlhbm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o+
DQo+DQo+LS0gDQo+IlRob3NlIHdobyB3b3VsZCBnaXZlIHVwIEVzc2VudGlhbCBMaWJlcnR5IHRv
IHB1cmNoYXNlIGEgbGl0dGxlDQo+VGVtcG9yYXJ5IFNhZmV0eSBkZXNlcnZlIG5laXRoZXIgIExp
YmVydHkgbm9yIFNhZmV0eS4iDQo+LS0gQmVuamFtaW4gRnJhbmtsaW4NCg0K


From nobody Sun Mar  2 14:48:52 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 300841A0933; Sun,  2 Mar 2014 14:48:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.567
X-Spam-Level: 
X-Spam-Status: No, score=-1.567 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, 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 2sXVhM6d2Cow; Sun,  2 Mar 2014 14:48:48 -0800 (PST)
Received: from mx0a-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by ietfa.amsl.com (Postfix) with ESMTP id BF3781A0932; Sun,  2 Mar 2014 14:48:48 -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 s22MmhCq032382; Sun, 2 Mar 2014 14:48:43 -0800
Received: from sc-owa01.marvell.com ([199.233.58.136]) by mx0a-0016f401.pphosted.com with ESMTP id 1jbctpnm0j-25 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Sun, 02 Mar 2014 14:48:43 -0800
Received: from SC-vEXCH2.marvell.com ([10.93.76.134]) by SC-OWA01.marvell.com ([10.93.76.21]) with mapi; Sun, 2 Mar 2014 14:48:39 -0800
From: Paul Lambert <paul@marvell.com>
To: Paul Lambert <paul@marvell.com>, Watson Ladd <watsonbladd@gmail.com>
Date: Sun, 2 Mar 2014 14:48:36 -0800
Thread-Topic: [Cfrg] Citing specs in specs
Thread-Index: Ac82aYy/lMV42sZuSAaqtalpBBKyBw==
Message-ID: <CF38F41E.33949%paul@marvell.com>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com> <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org> <CF37EA5F.338D8%paul@marvell.com> <CACsn0cmewBrOzaRF5XXC1p1A_gUSwkdE1_7V-1x8nta-ESyA+A@mail.gmail.com> <CF38F2D4.33940%paul@marvell.com>
In-Reply-To: <CF38F2D4.33940%paul@marvell.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.3.9.131030
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87, 1.0.14,  0.0.0000 definitions=2014-03-02_02:2014-02-28,2014-03-02,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-1305240000 definitions=main-1403020156
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Yxlb5IpBEsoqfX-QItJO-SAKAC4
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, Paul Hoffman <paul.hoffman@vpnc.org>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [Cfrg] Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Mar 2014 22:48:50 -0000

DQoNCj4+DQo+PlNvIHlvdXIgYXJndW1lbnQgaXMgdGhhdCB1bnRpbCBzdWNoIGEgZG9jdW1lbnQg
aXMgd3JpdHRlbiwgdGhlIElFVEYNCj4+c2hvdWxkIG5vdCBhcHByb3ZlIGFueSBSRkMgY29udGFp
bmluZyBzdWNoIGEgY3VydmUgYmVjYXVzZSBhYnNlbnQgc3VjaA0KPj5hIGRvY3VtZW50LCB0aGUg
c3BlY2lmaWNhdGlvbiBpcyB1bmNsZWFyPw0KPg0KPk5vIC0gSeKAmW0gYXNraW5nIHRoYXQgYW4g
UkZDIGJlIHdlbGwgd3JpdHRlbiBhbmQgY29udGFpbiBlbm91Z2ggaW5mb3JtYXRpb24NCj50byBp
bXBsZW1lbnQgdGhlIFJGQy4NCg0KU2VlaW5nIG5vdyB0aGF0IHRoaXMgaXMgY3Jvc3MgcG9zdGVk
IHRvIFRMU+KApiBsZXQgbWUgYmUgY2xlYXIuDQpUaGUgb251cyBpcyBvbnRoZSBDUkZHIHRvIHBy
b2R1Y2UgYSB1c2VhYmxlIG5vcm1hdGl2ZSByZWZlcmVuY2UgdGhhdCBjYW4NCmJlIHVzZWQNCmJ5
IFRMUyBhbmQgb3RoZXIgSUVURiBwcm90b2NvbHMgZm9yIHVzaW5nIEVkd2FyZHMgYW5kIE1vbnRv
Z29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X19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fDQo+Q2ZyZyBtYWlsaW5nIGxpc3QNCj5DZnJnQGlydGYub3JnDQo+aHR0
cDovL3d3dy5pcnRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2NmcmcNCg0K


From nobody Sun Mar  2 15:40:58 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 8C9541A09A6; Sun,  2 Mar 2014 15:40:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.567
X-Spam-Level: 
X-Spam-Status: No, score=-1.567 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, 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 893rITyLgq4V; Sun,  2 Mar 2014 15:40:53 -0800 (PST)
Received: from mx0a-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by ietfa.amsl.com (Postfix) with ESMTP id 59F431A0B21; Sun,  2 Mar 2014 15:40:52 -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 s22Nekn9015807; Sun, 2 Mar 2014 15:40:46 -0800
Received: from sc-owa03.marvell.com ([199.233.58.149]) by mx0a-0016f401.pphosted.com with ESMTP id 1jbctpnq6n-513 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 02 Mar 2014 15:40:44 -0800
Received: from SC-vEXCH2.marvell.com ([10.93.76.134]) by SC-OWA03.marvell.com ([fe80::4561:8e1c:d59b:f770%17]) with mapi; Sun, 2 Mar 2014 15:40:31 -0800
From: Paul Lambert <paul@marvell.com>
To: "Salz, Rich" <rsalz@akamai.com>, Watson Ladd <watsonbladd@gmail.com>
Date: Sun, 2 Mar 2014 15:40:33 -0800
Thread-Topic: [Cfrg] Citing specs in specs
Thread-Index: Ac82aH6lreVgle/bQLGnnXZhDmMtSgABhksgAABy9jA=
Message-ID: <7BAC95F5A7E67643AAFB2C31BEE662D018B8516C6E@SC-VEXCH2.marvell.com>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com> <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org> <CF37EA5F.338D8%paul@marvell.com> <CACsn0cmewBrOzaRF5XXC1p1A_gUSwkdE1_7V-1x8nta-ESyA+A@mail.gmail.com> <CF38F2D4.33940%paul@marvell.com> <2A0EFB9C05D0164E98F19BB0AF3708C711EF97AD05@USMBX1.msg.corp.akamai.com>
In-Reply-To: <2A0EFB9C05D0164E98F19BB0AF3708C711EF97AD05@USMBX1.msg.corp.akamai.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87, 1.0.14,  0.0.0000 definitions=2014-03-02_02:2014-02-28,2014-03-02,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-1305240000 definitions=main-1403020165
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/b_Px0he1wRl-Ee3JnD0ZeagolN8
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [Cfrg] Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Mar 2014 23:40:54 -0000

DQoNCl0tLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KXUZyb206IFNhbHosIFJpY2ggW21haWx0
bzpyc2FsekBha2FtYWkuY29tXQ0KXQ0KXT4gTm8gLSBJ4oCZbSBhc2tpbmcgdGhhdCBhbiBSRkMg
YmUgd2VsbCB3cml0dGVuIGFuZCBjb250YWluIGVub3VnaA0KXWluZm9ybWF0aW9uIHRvIGltcGxl
bWVudCB0aGUgUkZDLg0KXQ0KXU9rYXksIHlvdSBkb24ndCB0aGluayBpdCdzIHBvc3NpYmxlIHVz
aW5nLCBhbW9uZyBvdGhlciBpbmZvcm1hdGlvbiwgdGhlDQpdMjU1MTkgcGFwZXIgYXMgYW4gaW5m
b3JtYXRpb24gc291cmNlLiAgT3RoZXJzIGRvIHRoaW5rIGl0IHBvc3NpYmxlLCBhbmQNCl1oYXZl
IG1hZGUgdGhlIHBvaW50IHRoYXQgdGhleSB0aGluayB0aGlzIGlzIGFuIHVudXN1YWxseSBoaWdo
DQpdcmVxdWlyZW1lbnQgYmVpbmcgaW1wb3NlZCBoZXJlLg0KDQpJbXBsZW1lbnRhdGlvbnMgYXJl
IHBvc3NpYmxlIGJ5IHVzaW5nIHRoZSByZWFkaWx5IGF2YWlsYWJsZSBvcGVuIHNvdXJjZQ0KaW1w
bGVtZW50YXRpb24uICBUaGlzIGlzIGEgZ29vZCB0aGluZywgYnV0IGl0IGlzIGFsc28gZGVzaXJh
YmxlDQp0byBoYXZlIGEgdW5hbWJpZ3VvdXMgZGVzY3JpcHRpb24gb2YgdGhlIGFsZ29yaXRobXMg
dGhhdCBpcyBub3QgDQphIEMgY29kZSBmaWxlLiAgVGhpcyBpcyB3aHkgd2Ugd3JpdGUgUkZDcy4u
Lg0KDQpQYXVsIA0KDQoNCl0NCl1IYXZlIEkgc3VtbWVkIHVwIHRoZSBhbmdsZSBicmFja2V0cyB3
ZWxsIGVub3VnaD8NCl0NCl0tLQ0KXVByaW5jaXBhbCBTZWN1cml0eSBFbmdpbmVlcg0KXUFrYW1h
aSBUZWNobm9sb2d5DQpdQ2FtYnJpZGdlLCBNQQ0K


From nobody Sun Mar  2 18:17:26 2014
Return-Path: <sm@elandsys.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 D77891A0BF4; Sun,  2 Mar 2014 18:17:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.337
X-Spam-Level: 
X-Spam-Status: No, score=-2.337 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RP_MATCHES_RCVD=-0.547, T_DKIM_INVALID=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 gRA9FgwN11iz; Sun,  2 Mar 2014 18:17:19 -0800 (PST)
Received: from mx.ipv6.elandsys.com (mx.ipv6.elandsys.com [IPv6:2001:470:f329:1::1]) by ietfa.amsl.com (Postfix) with ESMTP id 4FC151A0BE0; Sun,  2 Mar 2014 18:17:19 -0800 (PST)
Received: from SUBMAN.elandsys.com ([197.226.232.202]) (authenticated bits=0) by mx.elandsys.com (8.14.5/8.14.5) with ESMTP id s232GrJp009010 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 2 Mar 2014 18:17:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=opendkim.org; s=mail2010; t=1393813028; bh=GfgXYNQh6mtkBgvG5aHzY7gPqVkLO7tjGabCP6thw0I=; h=Date:To:From:Subject:Cc:In-Reply-To:References; b=s9MSs79mhcoISHjqg7Q3GcuDpS3OvFUppDCOkdhSLBG/F7yPqjzZdKTYtPp6ZW98d HU1PXl2o94sVIrJS/Azft8Q3uwmEiNqv2TswZ4+NKe/joyYTi2PfLGjDbyUc+dzFf/ RvEY+AhaWXCowqSEAyA9s5L5Pq92gpoeBm5v+Izo=
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elandsys.com; s=mail; t=1393813028; i=@elandsys.com; bh=GfgXYNQh6mtkBgvG5aHzY7gPqVkLO7tjGabCP6thw0I=; h=Date:To:From:Subject:Cc:In-Reply-To:References; b=jsjDO7+OnHYHeRiWKVQ3GRNWqOdT/7opBEQKYDxOyhsRPKLvsq5Tp4rKv5tLgwzF4 lWNWzBt0imiPwwccrwP+mYGfUVhb0EIVSUeV+EowocF7Haorbx8OmpGTbovhE8/Fdb 4JZ2XR6AIaoLVqQxoj3UUeWt2v8gAmYxBAyflY0s=
Message-Id: <6.2.5.6.2.20140302175050.0b3b1558@elandnews.com>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6
Date: Sun, 02 Mar 2014 18:14:58 -0800
To: Paul Lambert <paul@marvell.com>, "Salz, Rich" <rsalz@akamai.com>, Watson Ladd <watsonbladd@gmail.com>
From: S Moonesamy <sm+ietf@elandsys.com>
In-Reply-To: <7BAC95F5A7E67643AAFB2C31BEE662D018B8516C6E@SC-VEXCH2.marve ll.com>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com> <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org> <CF37EA5F.338D8%paul@marvell.com> <CACsn0cmewBrOzaRF5XXC1p1A_gUSwkdE1_7V-1x8nta-ESyA+A@mail.gmail.com> <CF38F2D4.33940%paul@marvell.com> <2A0EFB9C05D0164E98F19BB0AF3708C711EF97AD05@USMBX1.msg.corp.akamai.com> <7BAC95F5A7E67643AAFB2C31BEE662D018B8516C6E@SC-VEXCH2.marvell.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Vf4gQpzPhzmgonxgm_L-WP5dOpQ
Cc: cfrg@irtf.org, tls@ietf.org
Subject: Re: [Cfrg] Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Mar 2014 02:17:22 -0000

Hi Paul,
At 15:40 02-03-2014, Paul Lambert wrote:
>Implementations are possible by using the readily available open source
>implementation.  This is a good thing, but it is also desirable
>to have a unambiguous description of the algorithms that is not
>a C code file.  This is why we write RFCs...

A Proposed Standard is about interoperability.  It does not prescribe 
a method.  The test is to determine whether the standard actually 
works is see whether there are different implementations which have 
been deployed.

There is a Proposed Standard which contains the source code for a 
reference implementation.  That was unusual.

Please note that I currently have a draft referencing ED25519 [1].

Regards,
S. Moonesamy

1. http://tools.ietf.org/html/draft-moonesamy-sshfp-ed25519-00 


From nobody Sun Mar  2 18:51:44 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 3C31F1A0C44 for <cfrg@ietfa.amsl.com>; Sun,  2 Mar 2014 18:51:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4VeKyiVzJBfk for <cfrg@ietfa.amsl.com>; Sun,  2 Mar 2014 18:51:39 -0800 (PST)
Received: from mail-yh0-x22d.google.com (mail-yh0-x22d.google.com [IPv6:2607:f8b0:4002:c01::22d]) by ietfa.amsl.com (Postfix) with ESMTP id AE4511A0C1F for <cfrg@irtf.org>; Sun,  2 Mar 2014 18:51:39 -0800 (PST)
Received: by mail-yh0-f45.google.com with SMTP id i57so3052129yha.18 for <cfrg@irtf.org>; Sun, 02 Mar 2014 18:51: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; bh=yIEjPp4o/1N6ZwwnlEGBhwXdF/2nHNmgBf9g4AHftPk=; b=Cgllt7jgEyezzPQd798wP+eWJNuNP5BgReauTgATIjrKL1Ra6Yebt73UBCtQu0AoMo xiAHoMHh+aP71LL/SIcyD3Nko3+48D1+ys4s4rnPfvZhYhb4N51bVfHNfPw20fszxJ2s YxzB47PjfXUG3pGi4s/TQcw68NPmcX311puSDZopZwXC76uZS+wJyVBDflNAukuT1ope 6gINviBRveNDcNuM5tChdY/tJPhFWMwLQ14UJEOtVLHhzIMtsraoPJqj4xyjJA1Z8qPI cRJHkB8FGeYJIqQ6T2inZizny2gdd4/JQpuKNK+WQwf6e6dXSwpqK7e8X7vcR88W4+d6 mnLA==
MIME-Version: 1.0
X-Received: by 10.236.142.198 with SMTP id i46mr4264936yhj.66.1393815096737; Sun, 02 Mar 2014 18:51:36 -0800 (PST)
Received: by 10.170.92.85 with HTTP; Sun, 2 Mar 2014 18:51:36 -0800 (PST)
In-Reply-To: <6.2.5.6.2.20140302175050.0b3b1558@elandnews.com>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com> <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org> <CF37EA5F.338D8%paul@marvell.com> <CACsn0cmewBrOzaRF5XXC1p1A_gUSwkdE1_7V-1x8nta-ESyA+A@mail.gmail.com> <CF38F2D4.33940%paul@marvell.com> <2A0EFB9C05D0164E98F19BB0AF3708C711EF97AD05@USMBX1.msg.corp.akamai.com> <7BAC95F5A7E67643AAFB2C31BEE662D018B8516C6E@SC-VEXCH2.marvell.com> <6.2.5.6.2.20140302175050.0b3b1558@elandnews.com>
Date: Sun, 2 Mar 2014 18:51:36 -0800
Message-ID: <CACsn0cmK8_+4xgOjy5brKn1n7SLsqg7djpJrE8zJ4h-W+LG5Sg@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: S Moonesamy <sm+ietf@elandsys.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/wv-KkVa7UbnsexLyClUZHOgVTko
Cc: "Salz, Rich" <rsalz@akamai.com>, "cfrg@irtf.org" <cfrg@irtf.org>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [Cfrg] Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Mar 2014 02:51:41 -0000

On Sun, Mar 2, 2014 at 6:14 PM, S Moonesamy <sm+ietf@elandsys.com> wrote:
> Hi Paul,
>
> At 15:40 02-03-2014, Paul Lambert wrote:
>>
>> Implementations are possible by using the readily available open source
>> implementation.  This is a good thing, but it is also desirable
>> to have a unambiguous description of the algorithms that is not
>> a C code file.  This is why we write RFCs...
>
>
> A Proposed Standard is about interoperability.  It does not prescribe a
> method.  The test is to determine whether the standard actually works is see
> whether there are different implementations which have been deployed.

>From that perspective let me note that DJB's original assembly
language implementation, Matthew Dempsky's 32 bit C implementation,
and Adam Langley's 64 bit C implementations, were all independently
developed from the paper. Furthermore, I've been able to do the same
in a few hours, if not extremely concerned with speed.

Sincerely,
Watson Ladd

>
> There is a Proposed Standard which contains the source code for a reference
> implementation.  That was unusual.
>
> Please note that I currently have a draft referencing ED25519 [1].
>
> Regards,
> S. Moonesamy
>
> 1. http://tools.ietf.org/html/draft-moonesamy-sshfp-ed25519-00



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


From nobody Sun Mar  2 20:59:38 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 5B52A1A0CAD for <cfrg@ietfa.amsl.com>; Sun,  2 Mar 2014 20:59:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.45
X-Spam-Level: ****
X-Spam-Status: No, score=4.45 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, J_CHICKENPOX_31=0.6, J_CHICKENPOX_41=0.6, MANGLED_OFF=2.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 FeQY2jVeET1C for <cfrg@ietfa.amsl.com>; Sun,  2 Mar 2014 20:59:34 -0800 (PST)
Received: from mail-qc0-x22e.google.com (mail-qc0-x22e.google.com [IPv6:2607:f8b0:400d:c01::22e]) by ietfa.amsl.com (Postfix) with ESMTP id B7C2E1A0C96 for <cfrg@irtf.org>; Sun,  2 Mar 2014 20:59:34 -0800 (PST)
Received: by mail-qc0-f174.google.com with SMTP id x13so3227690qcv.19 for <cfrg@irtf.org>; Sun, 02 Mar 2014 20:59:31 -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=39/odyBN7ZOB3vYH8Loi6Kp1VtHXxmUkcxQrKu8V0bw=; b=0zHkhx3MfSJKYKVb1Ezw+w6Svl2GpHBpvmnN2cwqAALlGY0sOELg29llpivJtOg+Px icxsOmmKLC71f2/xNKhFONPyuvKMbqYEUIDnZ8YSPNtyKVoz7Z7RYY/okwPS0DCQ32Iz E4elVsweHzjVNc606JR1xetsQQjnNAlCMUtOO6q7g24avbxDKI0iBUEb/x+Rml55Ax63 5q1ypL15HjvwPsr5oV9UVEP35OK/Io5vbbkGF4qQhlLJHeMq/Cio1eiD5VUMC40XIU/m M+TpNKj9j7/3n3DBmwh8R2CEbO+es1RiiXNYKMZokCmQT+U6/Z7xysmgVhvUw4/510Cx /Owg==
MIME-Version: 1.0
X-Received: by 10.140.38.168 with SMTP id t37mr19672622qgt.33.1393822771767; Sun, 02 Mar 2014 20:59:31 -0800 (PST)
Received: by 10.140.20.243 with HTTP; Sun, 2 Mar 2014 20:59:31 -0800 (PST)
In-Reply-To: <CACsn0cnEXGrF-icsVMSp0x+RbhYXaU59FEnq+sBCxenGMgEDJw@mail.gmail.com>
References: <CABqy+soS=t3riOZkDnJ5jMApJfWv95So34DdFona5JXERAws_w@mail.gmail.com> <CACsn0cnEXGrF-icsVMSp0x+RbhYXaU59FEnq+sBCxenGMgEDJw@mail.gmail.com>
Date: Sun, 2 Mar 2014 20:59:31 -0800
Message-ID: <CABqy+sqeiwxx5P7v4LxaBXHDzUc7rnDZKfA5gWKg3Uk1Onn2uw@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/FfP7EJXODr343m5pKukxEKmfbGc
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Review of ECC topics
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Mar 2014 04:59:36 -0000

On 2/28/14, Watson Ladd <watsonbladd@gmail.com> wrote:
> Some notes, from the concrete to the abstract:
> I do not see what the grade school definition of polynomial has to
> offer above the one recorded below.

The reason that I mention the grade-school definition of =E2=80=9Cpolynomia=
l=E2=80=9D
is that (a) everyone is likely to know it, and (b) it's not good
enough for use in abstract algebra, in a very subtle way.  I want to
make sure that the reader sees why that definition is inadequate
before I give the Right definition.

> Furthermore, polynomial addition
> and multiplication are defined so as to make F[x] a commutative ring:
> it is not the case that one can show that the results hold without
> defining the multiplication and addition.

On the contrary, declaring that X satisfies the axioms of a
commutative ring is sufficient to define addition and multiplication
for all polynomials.

More formally:

Let R' be the set of the following:

* x, for each x in F;

* X;

* sum(x, y), for each x, y in R';

* prod(x, y), for each x, y in R'.

Let ~ be the equivalence relation on R' defined as follows, for every
x, y, z in R':

* if x ~ y, then sum(x, z) ~ sum(y, z) and sum(z, x) ~ sum(z, y);

* if x ~ y, then prod(x, z) ~ prod(y, z) and prod(z, x) ~ prod(z, y);

* sum(x, sum(y, z)) ~ sum(sum(x, y), z);

* sum(x, y) ~ sum(y, x);

* sum(0_F, x) ~ x, and sum(x, 0_F) ~ x;

* prod(x, prod(y, z)) ~ prod(prod(x, y), z);

* prod(1_F, x) ~ x, and prod(x, 1_F) ~ x;

* prod(x, sum(y, z)) ~ sum(prod(x, y), prod(x, z));

* prod(sum(x, y), z) ~ sum(prod(x, z), prod(y, z));

* prod(x, y) ~ prod(y, x);

* if x, y are in F, then sum(x, y) ~ x + y and prod(x, y) ~ x*y.

Let R =3D R'/~; define + and * by [x] + [y] =3D [sum(x, y)] and [x] * [y]
=3D [prod(x, y)]; and let 0_R =3D [0_F] and 1_R =3D [1_F].  It is obvious
that (if I didn't miss or typo any of the axioms) R is a commutative
ring, that the evaluation homomorphisms (defined in the obvious way)
are well-defined, and that any ring homomorphism from R is defined by
its values at [X] and the embedded elements of F; so R satisfies the
property which defines F[X].

This type of construction is analogous to specifying a group by
generators and relations, or defining the tensor product of modules as
a quotient of a huge free commutative group, or defining an algebraic
extension field F[t] by specifying some polynomial equation which t
satisfies.  It is just as rigorous as the usual constructions of F[X],
and I expect that it will be easier for the non-mathematicians to
grasp.


> Vector space is mentioned but is never defined.

* Everyone who completes an undergraduate course of study in
  engineering or a =E2=80=98hard=E2=80=99 science should have had a course =
in linear
  algebra; at least some other programmers will have seen linear
  algebra (and thus vector spaces over the real numbers) in their
  computing work (e.g. in audio or 3-D graphics programming).

* The concept of a vector space is not especially important here; I
  only mention it to give some idea of the size of an algebraic
  extension field.  If I had needed to use vector spaces over general
  fields for more than that, I would have defined them.


> Despite desiring to avoid algebraic geometry, the world "multiplicity"
> is used without explanation. The parenthetical is an explanation only
> for the initiate or the credulous. Furthermore, to avoid algebraic
> geometry in explaining elliptic curves is to evade the nature of the
> subject. I strongly question the comprehensibility of any such attempt
> in the final reckoning.

* =E2=80=9CMultiplicity=E2=80=9D is defined for roots of polynomials in one=
 variable
  in high-school algebra.  I don't know whether any reader will
  remember anything about it from then, but if they do, it will help
  them unify the cases of the addition law.

* I don't have an immediate excuse to define =E2=80=9Cmultiplicity=E2=80=9D=
 in enough
  detail to be useful as more than a vague concept, but I will have an
  excuse to (and need to) define it if I have to provide proofs that
  the addition and doubling formulas are correct.

* I'm not trying to avoid algebraic geometry at all.  I'm trying to
  include considerably more of algebraic geometry than I have usually
  seen in elementary introductions to elliptic-curve cryptography, so
  that I can explain several critical aspects of Montgomery and
  Edwards curves properly (including twist security and the P_1 * P_1
  form of the Hisil et al. addition formulas).


> An algebraic curve is not the zero set of f(x,y) in some affine plane:
> the field must be algebraically closed for the classical definition,
> and in the modern definition that only is the F_p rational points. In
> particular one runs into the issue of x^p+y^p=3D0 over F_p, which is not
> the same curve as x+y=3D0.

Good point.  I'll change the definition of a curve to be the curve's
polynomial equation itself (with appropriate restrictions on the
polynomial), since curves are usually identified with their equations
in practice.

(Also, I see that I screwed up the notation for the affine and
projective spaces; it should be e.g. A^2 with a *super*script 2, not a
subscript 2.)


> Not every morphism is given by a single polynomial, but rather a rule
> assigning to every open set a polynomial in a compatible manner. This
> matters because the addition morphism on a curve in short Weierstrass
> form is not given by a single polynomial, hence the need for complete
> addition laws in the first place.

The need for complete addition laws (a) demonstrates that it is more
important to handle maps which induce partial functions from the
beginning, and (b) demonstrates that it is critical to *not* consider
all curves to be defined over algebraically closed fields.

> (I will temporarily leave aside the
> issue of defining the product to define the addition law as a
> morphism).

Edwards curves live in P_1 * P_1, so I won't be able to avoid the
product of projective spaces.  A product of curves wouldn't be much
harder.


> Your definition of isogeny differs from that of Silverman, the
> standard text in this area. In particular your first condition is
> somewhat mystifying to me: it is not part of the definition of
> Silverman, and so I am concerned the there might actually be a
> difference between them that is material. I have not thought about
> this hard enough to be sure either way. But in one case it is
> unnecessary, and in the other it is wrong.

Thank you for catching that mistake.  Unfortunately, I don't have
Silverman's book, so I tried to piece together the definition of
=E2=80=9Cisogeny=E2=80=9D from what I thought I had learned from other sour=
ces, in a
hurry.


> Lastly, intuition does not come from definitions and quoted results.
> It comes from examples. Perhaps "convey the definitions of a few
> critical concepts" would better fit the goals here.

I will add more examples, and the sections on Montgomery and Edwards
curves will provide more, but examples aren't enough.  Good
definitions, and explicit explanations of the underlying concepts (to
the extent that those are possible given the audience), are far more
important, especially when readers will not have the time (or
patience) to slog through dozens of exercises in order to arrive at
insights for themselves.


Thank you for your comments.  I should be able to post an updated
version some time this week.


Robert Ransom


From nobody Sun Mar  2 22:52:50 2014
Return-Path: <jon@callas.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 411671A0CA3 for <cfrg@ietfa.amsl.com>; Sun,  2 Mar 2014 22:52:47 -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, 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 cRP-YmuMt-Nk for <cfrg@ietfa.amsl.com>; Sun,  2 Mar 2014 22:52:45 -0800 (PST)
Received: from mail.merrymeet.com (merrymeet.com [173.164.244.100]) by ietfa.amsl.com (Postfix) with ESMTP id 3B2BA1A0D31 for <cfrg@irtf.org>; Sun,  2 Mar 2014 22:52:45 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mail.merrymeet.com (Postfix) with ESMTP id A54834E5D44D for <cfrg@irtf.org>; Sun,  2 Mar 2014 22:52:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at merrymeet.com
Received: from mail.merrymeet.com ([127.0.0.1]) by localhost (merrymeet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id siCUJuby4C7q for <cfrg@irtf.org>; Sun,  2 Mar 2014 22:52:31 -0800 (PST)
Received: from keys.merrymeet.com (keys.merrymeet.com [173.164.244.97]) by mail.merrymeet.com (Postfix) with ESMTPSA id 760FB4E5D424 for <cfrg@irtf.org>; Sun,  2 Mar 2014 22:52:31 -0800 (PST)
Received: from [10.0.23.100] ([173.164.244.98]) by keys.merrymeet.com (PGP Universal service); Sun, 02 Mar 2014 22:52:31 -0800
X-PGP-Universal: processed; by keys.merrymeet.com on Sun, 02 Mar 2014 22:52:31 -0800
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Jon Callas <jon@callas.org>
In-Reply-To: <7BAC95F5A7E67643AAFB2C31BEE662D018B8516C6E@SC-VEXCH2.marvell.com>
Date: Sun, 2 Mar 2014 22:52:28 -0800
Message-Id: <7A2637AF-5A16-404B-B7A1-49FB17D5345A@callas.org>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com> <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org> <CF37EA5F.338D8%paul@marvell.com> <CACsn0cmewBrOzaRF5XXC1p1A_gUSwkdE1_7V-1x8nta-ESyA+A@mail.gmail.com> <CF38F2D4.33940%paul@marvell.com> <2A0EFB9C05D0164E98F19BB0AF3708C711EF97AD05@USMBX1.msg.corp.akamai.com> <7BAC95F5A7E67643AAFB2C31BEE662D018B8516C6E@SC-VEXCH2.marvell.com>
To: Paul Lambert <paul@marvell.com>
X-Mailer: Apple Mail (2.1874)
X-PGP-Encoding-Format: Partitioned
X-PGP-Encoding-Version: 2.0.2
X-Content-PGP-Universal-Saved-Content-Transfer-Encoding: quoted-printable
X-Content-PGP-Universal-Saved-Content-Type: text/plain; charset=us-ascii
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: QUOTED-PRINTABLE
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/RZ39RjZXKcvWRr0Y88PeydwSufs
Cc: "Salz, Rich" <rsalz@akamai.com>, "cfrg@irtf.org" <cfrg@irtf.org>, Jon Callas <jon@callas.org>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [Cfrg] Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Mar 2014 06:52:47 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mar 2, 2014, at 3:40 PM, Paul Lambert <paul@marvell.com> wrote:

> Implementations are possible by using the readily available open source
> implementation.  This is a good thing, but it is also desirable
> to have a unambiguous description of the algorithms that is not=20
> a C code file.  This is why we write RFCs...

It's hard to disagree with this, in a similar way that it's hard to disagre=
e with the idea of peace on earth, living at one with nature, etc.

But in practice, code needs to be in a computer language rather than Englis=
h and I've seen (and been involved with) a document that started with rough=
 consensus and running code, translated that into English, and the English =
was (and is) devilishly hard to compile back into C.

Portably implemented algorithms are hard to do in any computer language. Th=
ey're harder to do in words. I don't see how you're going to get an unambig=
uous description of the language in anything but a computer language. It do=
esn't have to be C, it could be Python, Ruby, or Algol-58 (which I mention =
because it was originally designed as an algorithmic description language).=
 English is a suboptimal implementation language.

	Jon


-----BEGIN PGP SIGNATURE-----
Version: PGP Universal 3.2.0 (Build 1672)
Charset: us-ascii

wj8DBQFTFCavsTedWZOD3gYRAnpnAJ0ZcUx6IORfqXfNPqNa1lhoicmceQCgyrpm
RboNDDmmWv0tv0zoAMaFuSo=3D
=3D8K3M
-----END PGP SIGNATURE-----


From nobody Mon Mar  3 01:31:36 2014
Return-Path: <mcgrew@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 13DB61A0D4E for <cfrg@ietfa.amsl.com>; Mon,  3 Mar 2014 01:31:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -13.926
X-Spam-Level: 
X-Spam-Status: No, score=-13.926 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.547, SPF_PASS=-0.001, URI_HEX=1.122, 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 Jt_R1gilc0uf for <cfrg@ietfa.amsl.com>; Mon,  3 Mar 2014 01:31:33 -0800 (PST)
Received: from mtv-iport-2.cisco.com (mtv-iport-2.cisco.com [173.36.130.13]) by ietfa.amsl.com (Postfix) with ESMTP id 00F6A1A0056 for <cfrg@irtf.org>; Mon,  3 Mar 2014 01:31:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4013; q=dns/txt; s=iport; t=1393839090; x=1395048690; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=3mVe/gMTf1XncbI2ZLwo/vZxUfDJanrPMch3Rq5Re68=; b=d8twKieKt3KgHDmwnBm0qYJ3QbqxKmF5a+MtuXRe7aPmaF0cMdBRnk5E nH9DdOoRWneXpFzy0im/iw34MyrhjWc/4Kd9xMcMpx/iXRbYdk3JkoP6U fI/vs0m47qKgfywcxQTRN83hS8xQtrEqW/HbTbqDfYjh4G9DIOxUWKTrC o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgcFANpKFFOrRDoI/2dsb2JhbABagwY7vTCDdYEeFnSCJQEBAQICOEABEAsYCRYPCQMCAQIBRQYBDAEFAgKHdA7MLxeOWQeEOAEDiUuKQoQvgTKFGIthg0se
X-IronPort-AV: E=Sophos;i="4.97,576,1389744000"; d="scan'208";a="107495573"
Received: from mtv-core-3.cisco.com ([171.68.58.8]) by mtv-iport-2.cisco.com with ESMTP; 03 Mar 2014 09:31:30 +0000
Received: from [10.0.2.15] (sjc-vpn5-1074.cisco.com [10.21.92.50]) by mtv-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id s239VSQL014514; Mon, 3 Mar 2014 09:31:29 GMT
Message-ID: <53144BEF.7090407@cisco.com>
Date: Mon, 03 Mar 2014 04:31:27 -0500
From: David McGrew <mcgrew@cisco.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130922 Icedove/17.0.9
MIME-Version: 1.0
To: "D. J. Bernstein" <djb@cr.yp.to>, cfrg@irtf.org
References: <20140303075807.19923.qmail@cr.yp.to>
In-Reply-To: <20140303075807.19923.qmail@cr.yp.to>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/abAwMDFnI1BqKxK8uD4ADTkY7dU
Subject: Re: [Cfrg] Curve25519 specification, test vectors, etc.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Mar 2014 09:31:35 -0000

Hi Dan, forwarding your note to the list to make sure that it doesn't 
get dropped by the system. (Still not sure what the issue is.)   David

On 03/03/2014 02:58 AM, D. J. Bernstein wrote:
> Apparently there's some interest in specifying protocols that use
> Curve25519 for DH, especially for forward secrecy. Five years ago I
> wrote a 45-page document
>
>     http://cr.yp.to/highspeed/naclcrypto-20090310.pdf
>
> with a complete specification of NaCl's default mechanism for public-key
> authenticated encryption, including
>
>     * a specification of Curve25519 secret keys and the corresponding
>       public keys (serialized as sequences of bytes);
>
>     * a specification of Curve25519 shared secrets;
>
>     * an example of two secret keys, two public keys, and the shared
>       secret, with three independent implementations (C code using NaCl;
>       Sage script using Sage's elliptic-curve functions; self-contained
>       Python script);
>
>     * a specification of secret-key authentication and encryption using
>       Poly1305 and Salsa20;
>
>     * an example of secret-key authentication and encryption, with two
>       independent implementations (Salsa20: C code using NaCl, and
>       self-contained Python script; Poly1305: C code using NaCl, and C++
>       code using GMP); and
>
>     * extensive security notes.
>
> There are also many different tests in the SUPERCOP benchmarking suite
> (http://bench.cr.yp.to/supercop.html), and in NaCl itself.
>
> Let me also mention three items that _aren't_ in this document:
>
>     1. ChaCha20. One can of course imagine a similar document that
>        replaces Salsa20 with ChaCha20, if that's of interest.
>        
>     2. Implementation advice. In particular, this specification does not
>        explain how to build high-performance constant-time Curve25519
>        software. Readers interested in this topic will have to study
>        various papers and several freely available interoperable
>        high-performance constant-time Curve25519 implementations.
>
>        It seems to me that, out of all the deployed implementations of
>        existing IETF cryptographic specifications, very close to 0% are
>        constant-time software, and precisely 0% are high-performance
>        constant-time software. It also seems to me that there's very
>        little useful advice in IETF specifications on achieving high
>        performance for cryptography (beyond bad advice such as limiting
>        DNSSEC RSA keys to 1024 bits), and essentially no advice in IETF
>        specifications on constant-time cryptographic software. It would
>        be strange for a higher-security specification to be delayed on
>        the grounds that the specification doesn't include such advice.
>
>        I do think that it's important for users to stick to constant-time
>        cryptographic software, and I do think that the ease of building
>        such software should be weighed heavily in selecting cryptographic
>        primitives and protocols, but I also think that state-of-the-art
>        implementation details should be covered separately from the
>        specifications that are needed for interoperability.
>
>     3. The Ed25519 signature system. This system isn't in NaCl yet (code
>        review still ongoing) but is fully defined in Section 2 of the
>        Ed25519 paper, available for free from the Ed25519 web site:
>
>           http://ed25519.cr.yp.to/papers.html
>
>        There is also a self-contained Python implementation of Ed25519,
>        including extensive test vectors:
>
>           http://ed25519.cr.yp.to/software.html
>
>        SUPERCOP also contains various Ed25519 tests.
>
> Btw, every message I've sent to cfrg@irtf.org, including my first
> attempt to send this one a month ago, have been disappearing without a
> trace, despite David's attempts to diagnose and fix.
>
> ---Dan
> .
>


From nobody Mon Mar  3 02:01:41 2014
Return-Path: <mcgrew@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 C193B1A0D6D for <cfrg@ietfa.amsl.com>; Mon,  3 Mar 2014 02:01:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.048
X-Spam-Level: 
X-Spam-Status: No, score=-15.048 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.547, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HBHl6rmETsrJ for <cfrg@ietfa.amsl.com>; Mon,  3 Mar 2014 02:01:29 -0800 (PST)
Received: from mtv-iport-2.cisco.com (mtv-iport-2.cisco.com [173.36.130.13]) by ietfa.amsl.com (Postfix) with ESMTP id 1D95A1A0D56 for <cfrg@irtf.org>; Mon,  3 Mar 2014 02:01:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=492; q=dns/txt; s=iport; t=1393840886; x=1395050486; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=OC7wsCIAK3v3G3vecw8/9AQQwVti8P4/u4F/hzaAdvw=; b=kZEGc1EIH+MK+6xnhiqxhGSBvfHXtIc1TtvyUionVWkQudJ2OT7ngFSf Wx0Nq+mCiLhBAdfmTMU40AlYJVXMMvNdcPMYCn6b/vONYpAAZw94vDI/4 kTkqmY7AfFGsHcPXjoJUcGfYQ2jAbjWQ6tqQcCmmD7zDFTvx7hbwsfdpo c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: As0JAOZRFFOrRDoH/2dsb2JhbABagwY7Ua9wkGSBHhZ0giUBAQEEOEABEAsYCRYPCQMCAQIBRQYNAQcCh3QJBcwzF45ZB4Q4AQOJS45xgTKFGIthg0se
X-IronPort-AV: E=Sophos;i="4.97,576,1389744000"; d="scan'208";a="107497112"
Received: from mtv-core-2.cisco.com ([171.68.58.7]) by mtv-iport-2.cisco.com with ESMTP; 03 Mar 2014 10:01:26 +0000
Received: from [10.0.2.15] (sjc-vpn5-1074.cisco.com [10.21.92.50]) by mtv-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id s23A1Ov6027491; Mon, 3 Mar 2014 10:01:25 GMT
Message-ID: <531452F4.7060303@cisco.com>
Date: Mon, 03 Mar 2014 05:01:24 -0500
From: David McGrew <mcgrew@cisco.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130922 Icedove/17.0.9
MIME-Version: 1.0
To: Tanja Lange <tanja@hyperelliptic.org>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com> <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org> <CF37EA5F.338D8%paul@marvell.com> <CACsn0cmewBrOzaRF5XXC1p1A_gUSwkdE1_7V-1x8nta-ESyA+A@mail.gmail.com> <CF38F2D4.33940%paul@marvell.com> <2A0EFB9C05D0164E98F19BB0AF3708C711EF97AD05@USMBX1.msg.corp.akamai.com> <20140302235525.GV5925@cph.win.tue.nl>
In-Reply-To: <20140302235525.GV5925@cph.win.tue.nl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/FKZGFbBVcPtCezQRGe1WPjqPlLY
Cc: "Salz, Rich" <rsalz@akamai.com>, "cfrg@irtf.org" <cfrg@irtf.org>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [Cfrg] [TLS]  Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Mar 2014 10:01:33 -0000

On 03/02/2014 06:55 PM, Tanja Lange wrote:
> Easy ways out:
> a) Refer to
> 	http://cr.yp.to/ecdh.html#curve25519-paper
>     which lists all (2) versions of the paper.
> b) Refer to the Springer version -- it's open access per contract
>     bewteen Springer and the IACR.
> 	http://link.springer.com/chapter/10.1007%2F11745853_14
>

Thanks, Tanja, the PKC2006 reference (including the link to the Springer 
PDF) would definitely be the best way to reference this work.

David


From nobody Mon Mar  3 03:04:57 2014
Return-Path: <codesinchaos@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 C6AF01A0EB8 for <cfrg@ietfa.amsl.com>; Mon,  3 Mar 2014 03:04: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 OxhO1FGv7CJp for <cfrg@ietfa.amsl.com>; Mon,  3 Mar 2014 03:04:54 -0800 (PST)
Received: from mail-yh0-x233.google.com (mail-yh0-x233.google.com [IPv6:2607:f8b0:4002:c01::233]) by ietfa.amsl.com (Postfix) with ESMTP id 17C4B1A0785 for <cfrg@irtf.org>; Mon,  3 Mar 2014 03:04:53 -0800 (PST)
Received: by mail-yh0-f51.google.com with SMTP id f10so2928049yha.10 for <cfrg@irtf.org>; Mon, 03 Mar 2014 03:04:51 -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=K77r5fMd/VWfH4ohlBGW7q0Z6SorSTe4y8C7M3uua9w=; b=qRRZt8RSKomsnoPDUPmJWhdnDnEYxh/PFlw2h24fDz8IVwkZLHasPRPuOKB1TwmEig DHHdOBr/ibrSc2zOtauZdo/ZtxvGoa97fTKesLNZ6XIXYUfVfVqA1oUubBIGGJqkLs68 W/lsXxEU5BfsHXFGTlDGiT5Jv8bF+2YdBvw/2LXEfQE0FVzAvoKjs9+IpVWzMS/mnxsA HDtRirA9HEcjAU9GP+JJGf0FqIlovKOV6d7z9atCO7yjGXU2VPrF3Fj5mxHLeM8BD2Nl bSkBYWnL0rafPPPfwS4whCNr2GFf6GtvUQU0kgDEMDJC8jrEsdowIrq3e6B9JduTDTHx s9Bw==
MIME-Version: 1.0
X-Received: by 10.236.231.234 with SMTP id l100mr4324yhq.135.1393844691084; Mon, 03 Mar 2014 03:04:51 -0800 (PST)
Received: by 10.170.87.6 with HTTP; Mon, 3 Mar 2014 03:04:51 -0800 (PST)
In-Reply-To: <53144BEF.7090407@cisco.com>
References: <20140303075807.19923.qmail@cr.yp.to> <53144BEF.7090407@cisco.com>
Date: Mon, 3 Mar 2014 12:04:51 +0100
Message-ID: <CAK9dnSxqC4dqNi6ghBx6PcVTVj+XR-PF05cCZMyggf5krjZfWg@mail.gmail.com>
From: CodesInChaos <codesinchaos@gmail.com>
To: David McGrew <mcgrew@cisco.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/YdRsIZivNkyRIuaaAgtm9hLxZJU
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "D. J. Bernstein" <djb@cr.yp.to>
Subject: Re: [Cfrg] Curve25519 specification, test vectors, etc.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Mar 2014 11:04:56 -0000

Two potential pitfalls for a Curve25519 implementation:

* Parsing non standard public keys where the most significant bit is set.

  The Curve25519 spec requires parsing the input as a 256 bit integer
which is then reduced mod p.
  Some implementations parse it as 255 bit integer, ignoring the last
bit. (Similar to the way Ed25519 parses its public keys).

  Older versions of Curve25519-donna and LibSodium had this flaw. See
https://github.com/jedisct1/libsodium/issues/78 for details.

  I suggest adding a test vector for the public key with all bits set.

* The shared secret gets hashed with (H)Salsa20.

  The hashing differs between the original Curve25519 paper and NaCl.
  The Curve25519 paper specifies a hash based on Salsa20 with custom constants
  The NaCl paper specifies HSalsa20 (i.e. without xor-ing the input)
with standard constants and an all zero nonce.

  I have only seen the NaCl variant in practice.


From nobody Mon Mar  3 21:33: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 1209A1A036C; Mon,  3 Mar 2014 21:33:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.567
X-Spam-Level: 
X-Spam-Status: No, score=-1.567 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, 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 k6RlryHj7wcn; Mon,  3 Mar 2014 21:33:06 -0800 (PST)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by ietfa.amsl.com (Postfix) with ESMTP id B97AA1A0366; Mon,  3 Mar 2014 21:33:06 -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 s245Wu0d011203; Mon, 3 Mar 2014 21:32:57 -0800
Received: from sc-owa.marvell.com ([199.233.58.135]) by mx0b-0016f401.pphosted.com with ESMTP id 1jcrfcv5m0-27 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 03 Mar 2014 21:32:57 -0800
Received: from SC-vEXCH2.marvell.com ([10.93.76.134]) by SC-OWA.marvell.com ([::1]) with mapi; Mon, 3 Mar 2014 21:32:52 -0800
From: Paul Lambert <paul@marvell.com>
To: Jon Callas <jon@callas.org>
Date: Mon, 3 Mar 2014 21:32:52 -0800
Thread-Topic: [Cfrg] Citing specs in specs
Thread-Index: Ac83ay/UcpeQCEuqTpurMCDpBspGng==
Message-ID: <CF3B846F.3415E%paul@marvell.com>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com> <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org> <CF37EA5F.338D8%paul@marvell.com> <CACsn0cmewBrOzaRF5XXC1p1A_gUSwkdE1_7V-1x8nta-ESyA+A@mail.gmail.com> <CF38F2D4.33940%paul@marvell.com> <2A0EFB9C05D0164E98F19BB0AF3708C711EF97AD05@USMBX1.msg.corp.akamai.com> <7BAC95F5A7E67643AAFB2C31BEE662D018B8516C6E@SC-VEXCH2.marvell.com> <7A2637AF-5A16-404B-B7A1-49FB17D5345A@callas.org>
In-Reply-To: <7A2637AF-5A16-404B-B7A1-49FB17D5345A@callas.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.3.9.131030
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87, 1.0.14,  0.0.0000 definitions=2014-03-04_02:2014-03-03,2014-03-04,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-1305240000 definitions=main-1403030212
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/M5f87hW06VidLFZ7n628e2-RqSw
Cc: "Salz, Rich" <rsalz@akamai.com>, "cfrg@irtf.org" <cfrg@irtf.org>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [Cfrg] Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Mar 2014 05:33:08 -0000

On 3/3/14, 2:52 PM, "Jon Callas" <jon@callas.org> wrote:

>On Mar 2, 2014, at 3:40 PM, Paul Lambert <paul@marvell.com> wrote:
>
>> Implementations are possible by using the readily available open source
>> implementation.  This is a good thing, but it is also desirable
>> to have a unambiguous description of the algorithms that is not
>> a C code file.  This is why we write RFCs...
>
>It's hard to disagree with this, in a similar way that it's hard to
>disagree with the idea of peace on earth, living at one with nature, etc.
>
>But in practice, code needs to be in a computer language rather than
>English and I've seen (and been involved with) a document that started
>with rough consensus and running code, translated that into English, and
>the English was (and is) devilishly hard to compile back into C.
Yes - I=B9e seen the same problem.  English is not a concise or clear way t=
o
document an algorithm.

HAC is pretty clear and is a decent example of cryptographic algorithm
descriptions (http://cacr.uwaterloo.ca/hac/about/chap8.pdf), but still
uses a mix of math notation and english text.
>
>Portably implemented algorithms are hard to do in any computer language.
>They're harder to do in words. I don't see how you're going to get an
>unambiguous description of the language in anything but a computer
>language. It doesn't have to be C, it could be Python, Ruby, or Algol-58
>(which I mention because it was originally designed as an algorithmic
>description language). English is a suboptimal implementation language.

Yes, exactly!   'Readable code=B9 would be a very good way to provide an
algorithm description.  Why bother with pseudo code when a executable
syntax could be used.   I submitted earlier on this list some Python code
fragments as examples of this approach.  Python allows operator
overloading, so it can provide some very readable ECC algorithm
descriptions.

Paul




>
>	Jon
>


From nobody Mon Mar  3 23:03:51 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 289811A03A9 for <cfrg@ietfa.amsl.com>; Mon,  3 Mar 2014 23:03:47 -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_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, J_BACKHAIR_44=1, J_CHICKENPOX_46=0.6, J_CHICKENPOX_51=0.6, J_CHICKENPOX_56=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 YqiMzJuqiQBj for <cfrg@ietfa.amsl.com>; Mon,  3 Mar 2014 23:03:45 -0800 (PST)
Received: from mail-yh0-x22b.google.com (mail-yh0-x22b.google.com [IPv6:2607:f8b0:4002:c01::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 5E3351A0377 for <cfrg@irtf.org>; Mon,  3 Mar 2014 23:03:45 -0800 (PST)
Received: by mail-yh0-f43.google.com with SMTP id b6so4190074yha.30 for <cfrg@irtf.org>; Mon, 03 Mar 2014 23:03:42 -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=zxhC2/ykuNnzzYlieCzcpoK3Fw9egssrV17I3Nx6kTo=; b=tTByGK51A99798VpMAlSfzyODSMaepm0vq3AnhrCt6bTLdb69eQfcbL6KK1RWDdiro TMoikmAik2bQVuLgZbihDsMTwFJy3k8/muH9VmBLl6PU0woQt+fSusOajD/r1qaZ2LyA vCd7nMQ0pFqYHDesKLbffUCu64OnMEH3/FifmdEoKchKU3njWY/Rvic9efyRWcwMHSVP TQBaHd/jcDRH1ahLoEns/gyuMdmtaVuaHUkonGoGEAsNASpVe0PLdw0cI3/hOU2phTBT YPyhyLHxDd4vLoDqqZ3vbuOsg7+XufcUUhkGDBHC2Eoot4rZvtiyU0l3dD/TUbpglqu+ Ed8w==
MIME-Version: 1.0
X-Received: by 10.236.24.196 with SMTP id x44mr6717795yhx.92.1393916621999; Mon, 03 Mar 2014 23:03:41 -0800 (PST)
Received: by 10.170.92.85 with HTTP; Mon, 3 Mar 2014 23:03:41 -0800 (PST)
In-Reply-To: <CF3B846F.3415E%paul@marvell.com>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com> <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org> <CF37EA5F.338D8%paul@marvell.com> <CACsn0cmewBrOzaRF5XXC1p1A_gUSwkdE1_7V-1x8nta-ESyA+A@mail.gmail.com> <CF38F2D4.33940%paul@marvell.com> <2A0EFB9C05D0164E98F19BB0AF3708C711EF97AD05@USMBX1.msg.corp.akamai.com> <7BAC95F5A7E67643AAFB2C31BEE662D018B8516C6E@SC-VEXCH2.marvell.com> <7A2637AF-5A16-404B-B7A1-49FB17D5345A@callas.org> <CF3B846F.3415E%paul@marvell.com>
Date: Mon, 3 Mar 2014 23:03:41 -0800
Message-ID: <CACsn0cnyvkD1X5JDPJaoB83jZeFrj=uugMmWG9nPB+4jaC+POw@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/kVOYuWCLLdy3jiK-zZHk8pYLjts
Cc: "Salz, Rich" <rsalz@akamai.com>, "cfrg@irtf.org" <cfrg@irtf.org>, Jon Callas <jon@callas.org>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [Cfrg] Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Mar 2014 07:03:47 -0000

On Mon, Mar 3, 2014 at 9:32 PM, Paul Lambert <paul@marvell.com> wrote:
>
>
> On 3/3/14, 2:52 PM, "Jon Callas" <jon@callas.org> wrote:
>
>>On Mar 2, 2014, at 3:40 PM, Paul Lambert <paul@marvell.com> wrote:
>>
>>> Implementations are possible by using the readily available open source
>>> implementation.  This is a good thing, but it is also desirable
>>> to have a unambiguous description of the algorithms that is not
>>> a C code file.  This is why we write RFCs...
>>
>>It's hard to disagree with this, in a similar way that it's hard to
>>disagree with the idea of peace on earth, living at one with nature, etc.
>>
>>But in practice, code needs to be in a computer language rather than
>>English and I've seen (and been involved with) a document that started
>>with rough consensus and running code, translated that into English, and
>>the English was (and is) devilishly hard to compile back into C.
> Yes - I=C2=B9e seen the same problem.  English is not a concise or clear =
way to
> document an algorithm.

Really? Because all the people doing algorithms I've seen use English
to describe their results because it is clearer then code.

For instance, consider the following short C code.

typedef struct{ member *p; int rank} member;

void init(member *a){a->p=3Da; rank=3D0;}

member * find(member *a){
   member *q=3Da;
   member *r=3DNULL;
   member *t;
   while(q !=3Dq->p){
            t=3Dq->p;
            q->p=3Dr;
            r=3Dq;
            q=3Dt;
    }
 while (r !=3DNULL){
         t=3Dr->p;
         r->p=3Dq;
        r=3Dt;
  }
return q;
}

void union(member *a, member *b){
   a=3Dfind(a);
   b=3Dfind(b);
   if(a->rank<b->rank){
          a->p=3Db->p;
          b->rank++;
    } else {
       b->p=3Da->p;
      a->rank++;
   }
}

The above code is of course union-find. However, I don't know what
looking at the above code tells you about the algorithm. By contrast
the following description gets the point across much more clearly.
"We consider a forest where the root node of each tree points to
itself, and pointers point up. The find operation takes the node it is
given, and follows the chain of pointers to the root, reversing each
pointer. It then descends the chain, setting each encountered pointer
to the root. The union operation links the root with lower rank to the
one with greater rank and increments the rank of the new root."

In particular the description makes clear the invariant that is
maintained: each set has a unique element that points to itself, the
rank of a node is an upper bound on the height of the tree rooted at
that node. The code makes none of this clear: it is concerned entirely
with bookkeeping that seems as important as the main idea.

For something like F5, or point counting, or inverse square root, or
direct sparse matrix factoring, or the Fast Fourier Transform, the gap
between what English is able to do and what an executable
representation can do in terms of ideas is only bigger. There is a
reason computer science produces books, not code.

>
> HAC is pretty clear and is a decent example of cryptographic algorithm
> descriptions (http://cacr.uwaterloo.ca/hac/about/chap8.pdf), but still
> uses a mix of math notation and english text.

Your use of the word "still" implies that you think the two are in
some way opposed. They aren't: programming languages have nowhere near
the capacity of expressing ideas that the English language does.

>>
>>Portably implemented algorithms are hard to do in any computer language.
>>They're harder to do in words. I don't see how you're going to get an
>>unambiguous description of the language in anything but a computer
>>language. It doesn't have to be C, it could be Python, Ruby, or Algol-58
>>(which I mention because it was originally designed as an algorithmic
>>description language). English is a suboptimal implementation language.
>
> Yes, exactly!   'Readable code=C2=B9 would be a very good way to provide =
an
> algorithm description.  Why bother with pseudo code when a executable
> syntax could be used.   I submitted earlier on this list some Python code
> fragments as examples of this approach.  Python allows operator
> overloading, so it can provide some very readable ECC algorithm
> descriptions.

Readable without a working Python implementation to see what happens?

Note that Python code implementing Curve25519 exists in "Cryptography
in NaCl", which also contains test vectors.
Does anyone have an objection to putting equivalent Python in the
draft/would this satisfy those calling for more documentation?
If I have the nroff source of the draft I can do it in a few hours.

Sincerely,
Watson Ladd
>
> Paul
>
>
>
>
>>
>>       Jon
>>
>



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


From nobody Tue Mar  4 02:58:30 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 0ACCB1A02CE; Tue,  4 Mar 2014 02:58:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.833
X-Spam-Level: *
X-Spam-Status: No, score=1.833 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, J_BACKHAIR_44=1, J_CHICKENPOX_46=0.6, J_CHICKENPOX_51=0.6, J_CHICKENPOX_56=0.6, J_CHICKENPOX_57=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 meVzC-Dg5FaN; Tue,  4 Mar 2014 02:58:16 -0800 (PST)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by ietfa.amsl.com (Postfix) with ESMTP id F2A8A1A06D6; Tue,  4 Mar 2014 02:58:15 -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 s24Aw1GW022475; Tue, 4 Mar 2014 02:58:01 -0800
Received: from sc-owa03.marvell.com ([199.233.58.149]) by mx0b-0016f401.pphosted.com with ESMTP id 1jcrfcw98c-17 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 04 Mar 2014 02:58:01 -0800
Received: from SC-vEXCH2.marvell.com ([10.93.76.134]) by SC-OWA03.marvell.com ([fe80::4561:8e1c:d59b:f770%17]) with mapi; Tue, 4 Mar 2014 02:58:00 -0800
From: Paul Lambert <paul@marvell.com>
To: Watson Ladd <watsonbladd@gmail.com>
Date: Tue, 4 Mar 2014 02:57:58 -0800
Thread-Topic: [Cfrg] Citing specs in specs
Thread-Index: Ac83mJvkWMeWwwBDQkKRJ68Rj1zacg==
Message-ID: <CF3BC8BA.34258%paul@marvell.com>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com> <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org> <CF37EA5F.338D8%paul@marvell.com> <CACsn0cmewBrOzaRF5XXC1p1A_gUSwkdE1_7V-1x8nta-ESyA+A@mail.gmail.com> <CF38F2D4.33940%paul@marvell.com> <2A0EFB9C05D0164E98F19BB0AF3708C711EF97AD05@USMBX1.msg.corp.akamai.com> <7BAC95F5A7E67643AAFB2C31BEE662D018B8516C6E@SC-VEXCH2.marvell.com> <7A2637AF-5A16-404B-B7A1-49FB17D5345A@callas.org> <CF3B846F.3415E%paul@marvell.com> <CACsn0cnyvkD1X5JDPJaoB83jZeFrj=uugMmWG9nPB+4jaC+POw@mail.gmail.com>
In-Reply-To: <CACsn0cnyvkD1X5JDPJaoB83jZeFrj=uugMmWG9nPB+4jaC+POw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.3.9.131030
acceptlanguage: en-US
Content-Type: text/plain; charset="euc-kr"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87, 1.0.14,  0.0.0000 definitions=2014-03-04_04:2014-03-04,2014-03-04,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-1305240000 definitions=main-1403040016
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/094FqQ-Xw7F7k_j-4h8-xPnVisc
Cc: "Salz, Rich" <rsalz@akamai.com>, "cfrg@irtf.org" <cfrg@irtf.org>, Jon Callas <jon@callas.org>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [Cfrg] Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Mar 2014 10:58:18 -0000

DQoNCk9uIDMvNC8xNCwgMzowMyBQTSwgIldhdHNvbiBMYWRkIiA8d2F0c29uYmxhZGRAZ21haWwu
Y29tPiB3cm90ZToNCg0KPk9uIE1vbiwgTWFyIDMsIDIwMTQgYXQgOTozMiBQTSwgUGF1bCBMYW1i
ZXJ0IDxwYXVsQG1hcnZlbGwuY29tPiB3cm90ZToNCj4+DQo+Pg0KPj4gT24gMy8zLzE0LCAyOjUy
IFBNLCAiSm9uIENhbGxhcyIgPGpvbkBjYWxsYXMub3JnPiB3cm90ZToNCj4+DQo+Pj5PbiBNYXIg
MiwgMjAxNCwgYXQgMzo0MCBQTSwgUGF1bCBMYW1iZXJ0IDxwYXVsQG1hcnZlbGwuY29tPiB3cm90
ZToNCj4+Pg0KPj4+PiBJbXBsZW1lbnRhdGlvbnMgYXJlIHBvc3NpYmxlIGJ5IHVzaW5nIHRoZSBy
ZWFkaWx5IGF2YWlsYWJsZSBvcGVuDQo+Pj4+c291cmNlDQo+Pj4+IGltcGxlbWVudGF0aW9uLiAg
VGhpcyBpcyBhIGdvb2QgdGhpbmcs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HVwIEVzc2VudGlhbCBMaWJlcnR5
IHRvIHB1cmNoYXNlIGEgbGl0dGxlDQo+VGVtcG9yYXJ5IFNhZmV0eSBkZXNlcnZlIG5laXRoZXIg
IExpYmVydHkgbm9yIFNhZmV0eS4iDQo+LS0gQmVuamFtaW4gRnJhbmtsaW4NCg0K


From nobody Tue Mar  4 09:03:06 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E710C1A020B for <cfrg@ietfa.amsl.com>; Tue,  4 Mar 2014 09:02:44 -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=unavailable
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sA7uSP8d6LO4 for <cfrg@ietfa.amsl.com>; Tue,  4 Mar 2014 09:02:39 -0800 (PST)
Received: from mail-yh0-x22e.google.com (mail-yh0-x22e.google.com [IPv6:2607:f8b0:4002:c01::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 3128D1A01EC for <cfrg@irtf.org>; Tue,  4 Mar 2014 09:02:39 -0800 (PST)
Received: by mail-yh0-f46.google.com with SMTP id v1so5193831yhn.19 for <cfrg@irtf.org>; Tue, 04 Mar 2014 09:02: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:date:message-id:subject:from:to :cc:content-type; bh=js/tZT83Kp50kv+NtDxPp0VwBHnfHeLkG2VY0uImDvc=; b=0eFJUVwwHtMZrnhPLvWJ+iFcay38xYiEEqZXu9nMlCVsKBEwfAt/gRza7i8VaeLgMA Ige/1n9P6iFeTgBRUHN1g2WHoPYxmJfCMnqjs63caxDXXwAn59zeC//OGeOH+3ta9A7+ qCB5EMv3yrGfyITZIaViFvw5KH6izeWA37tQ14uKw1HhuMoQo78h/YhqcqbSD0rgemXu +3lz5MAFRiIQ4LCqkJTXibaC85MbETNgB9g3CEKpaVQexIT5LdOxMdr9qcS7HLwWS7oT WVXEpcoDhKVvTvSPfjO3j8hCkS2KF4f2sqQoCYb80M1sXbcteIMrdoPb9dqM54rl22ws jV5w==
MIME-Version: 1.0
X-Received: by 10.236.32.36 with SMTP id n24mr730122yha.116.1393952555792; Tue, 04 Mar 2014 09:02:35 -0800 (PST)
Received: by 10.170.92.85 with HTTP; Tue, 4 Mar 2014 09:02:35 -0800 (PST)
In-Reply-To: <CF3BC8BA.34258%paul@marvell.com>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com> <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org> <CF37EA5F.338D8%paul@marvell.com> <CACsn0cmewBrOzaRF5XXC1p1A_gUSwkdE1_7V-1x8nta-ESyA+A@mail.gmail.com> <CF38F2D4.33940%paul@marvell.com> <2A0EFB9C05D0164E98F19BB0AF3708C711EF97AD05@USMBX1.msg.corp.akamai.com> <7BAC95F5A7E67643AAFB2C31BEE662D018B8516C6E@SC-VEXCH2.marvell.com> <7A2637AF-5A16-404B-B7A1-49FB17D5345A@callas.org> <CF3B846F.3415E%paul@marvell.com> <CACsn0cnyvkD1X5JDPJaoB83jZeFrj=uugMmWG9nPB+4jaC+POw@mail.gmail.com> <CF3BC8BA.34258%paul@marvell.com>
Date: Tue, 4 Mar 2014 09:02:35 -0800
Message-ID: <CACsn0c=OBvLfG+Sv1vYbhF9F6+mYSoYEji3SUtUzd7ZLP0fXHw@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Paul Lambert <paul@marvell.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/3xJyti9Cg2zJQwFDt6SWDz7EcWY
Cc: "Salz, Rich" <rsalz@akamai.com>, "cfrg@irtf.org" <cfrg@irtf.org>, Jon Callas <jon@callas.org>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [Cfrg] Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Mar 2014 17:02:45 -0000

Dear all,
This is provisionally my last word on the matter.

Any consensus based process only works if people will block a largely
formed consensus for a good reason only. A document being unclear, or
having unanalyzed security properties, or major issues with regards to
alternatives not being discussed are good reasons. But the argument
that Paul I think is making, that until the CFRG produces a draft ala
RFC 6090 for Edwards curve we cannot use them, is fundamentally
unconvincing.

First off, let me note that black box implementations of Curve25519
using the paper are possible: I've written them, Adam Langley has
written them, as have lots of other people. So that leaves the
argument that the implementations require too much knowledge about
cryptography, and that such an issue is worth blocking specs.

The simplest argument for why it is unconvincing is the date of RFC
6090 vs. the dates of protocols that included Suite B and ECC. RFC
4869 includes Suite B a full 4 years before RFC 6090 was published.
Now, it is possible that Paul's argument was valid, but simply wasn't
raised at the time RFC 4869 was being published. But I don't see any
evidence that implementors of RFC 4869 were hamstrung by the
nonexistence of RFC 6090.

The second reason I am unconvinced is that I don't see why we
shouldn't assume the availability of standard references such as the
Handbook Of Elliptic and Hyperelliptic Curve Cryptography, or volume 2
of Knuth, to implementors. Such documents are available for far less
money than ISO standards, and in many regions of North America, Europe
and Asia, can be found for free in the library. The goal of a spec is
to explain to humans what is to be done: including excessive
information makes this much harder.

Finally, Mr. Lambert writes in terms of the "onus" being on CFRG to
produce such a document, which he calls a "usable normative
reference". Such a bare assertion is entirely unconvincing.
Furthermore, CFRG owes Paul nothing. While I would be happy to review
such a document for accuracy, I have no obligation to review or
produce such a document, and the same holds for all the members of the
CFRG. I can just as easily say that Mr. Lambert has the onus to
produce such a document.

I've changed my mind about the desirability of such a document as Mr.
Lambert wants. It would be nice if it existed, and it would be a nice
project to learn CWEB. However, I see no reason to consider the
absence of such a document a good reason to block
draft-josefsson-tls-curve25519-04.

Sincerely,
Watson Ladd


From nobody Tue Mar  4 09:10:43 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 006931A01F1 for <cfrg@ietfa.amsl.com>; Tue,  4 Mar 2014 09:10:41 -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 RkIaPs2hqBzu for <cfrg@ietfa.amsl.com>; Tue,  4 Mar 2014 09:10:36 -0800 (PST)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 2A88A1A00BB for <cfrg@irtf.org>; Tue,  4 Mar 2014 09:10:34 -0800 (PST)
Received: from xct106cnc.rim.net ([10.65.161.206]) by mhs211cnc.rim.net with ESMTP/TLS/AES128-SHA; 04 Mar 2014 12:10:26 -0500
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT106CNC.rim.net ([fe80::d824:6c98:60dc:3918%16]) with mapi id 14.03.0158.001; Tue, 4 Mar 2014 12:10:25 -0500
From: Dan Brown <dbrown@certicom.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: Key establishment advice (say, for TLS): How about MQV?
Thread-Index: Ac83y/XzDQiu/1FDQ1CkcoITbwYX2w==
Date: Tue, 4 Mar 2014 17:10:24 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5C46AB5@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.252]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_00C4_01CF37A2.B8D6FAC0"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/UWjYPnFwfV5wurwXEtDqUwJskVE
Subject: [Cfrg] Key establishment advice (say, for TLS): How about MQV?
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Mar 2014 17:10:41 -0000

------=_NextPart_000_00C4_01CF37A2.B8D6FAC0
Content-Type: multipart/related;
	boundary="----=_NextPart_001_00C5_01CF37A2.B8D6FAC0"


------=_NextPart_001_00C5_01CF37A2.B8D6FAC0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_002_00C6_01CF37A2.B8D6FAC0"


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

Dear CFRG list,

 

If I understand correctly, the TLS WG plans a protocol revision which will
modify the underlying key establishment scheme.  Should CFRG advise TLS on
key establishment?  

 

Naturally, TLS may have some specific requirements, directed towards the
nature of the client and server in the transport layer, whereas CFRG might
have expertise on a more generic security level.  So, perhaps, TLS could
convey its requirements to CFRG, and CFRG could return a set of key
establishment schemes that meet those requirements, in particular, those
which have been extensively researched.  (Well, that's a bit formal, and
probably requires a few more iterations than I described, but seems sensible
to me.)  More likely, TLS will pick their own key establishment scheme, and
ask for CFRG's blessing. 

 

I haven't followed the TLS list too closely, but I'd summarize two main
possible approaches as: (1) patch and (2) overhaul.  On the overhaul side,
I've seen Watson Ladd's suggestion of signed ephemeral DH: which is
something TLS already has, with the core of the proposal being to narrow the
options drastically.  I've also seen a couple of IACR eprints analyzing the
security of certain TLS ciphersuites.  (Maybe these would go on the patch
side?)  If I recall those papers correctly, they define some special
security models just for TLS, but I forget if these models were chosen just
to make the proofs work for the protocols used in the ciphersuites, or for
something more fundamental like the nature of the transport layer.

 

***

 

I'd like to suggest a key establishment scheme for CFRG consideration: MQV
(or one of its successors, maybe), with an eye to perhaps recommend to IETF
WGs such as TLS.  

 

***

 

Some generic (non-TLS-specific) issues for MQV:

 

Two benefits of MQV over signed ephemeral DH, as I see it, would be
efficiency (though I'm no expert) and better plausible deniability (due to
the lack of signatures).  I wonder what CFRG thinks of these benefits.

 

Existing standards that specify versions of MQV include ANSI X9.{44,63,98},
NIST SP 800-56A, IEEE P1363, and SEC1.  Therefore, it may be redundant for
CFRG to draft on RFC for MQV, although CFRG may wish to write an RFC to
profile the version that they like best.   

 

These standards go towards the maturity of MQV, in the sense that they
received scrutiny from the committees that drafted them, and have been
public for a long time, and have served as an incentive to cryptanalytic
research, being fairly high profile targets.

 

The HMQV paper by Krawczyk critiques MQV, but these critiques did not seem
terribly serious to me, at least when I last read them years ago.  Also, I'm
not sure how other key establishment schemes fare under these more stringent
requirements (session-state reveal attacks, and so on).

 

The version of the MQV from NIST requires identifiers in the KDF, which
helps prevent UKS attacks.  (I'm not sure if TLS needs to resist UKS
attacks, but a recent thread on the TLS reminds of UKS attacks.)

 

I recently released a (rather theoretical and very incomplete) IACR eprint
on MQV.  It only covers a modest, but essential, level of security for key
agreement schemes.  I think other people on the CFRG list are much more up
to speed on the key establishment schemes.  

 

***

 

Some TLS-specific issues for MQV, but at a high level for CFRG
consideration:

 

Past proposals to integrate MQV into TLS a few times include:

 

https://datatracker.ietf.org/doc/search/?name=mqv
<https://datatracker.ietf.org/doc/search/?name=mqv&rfcs=on&activedrafts=on&o
lddrafts=on&sort> &rfcs=on&activedrafts=on&olddrafts=on&sort=

 

Perhaps these could be improved, given current knowledge on key agreement.

 

A major issue is that MQV usually presumes mutual authentication, but TLS
accommodates anonymous clients. Leaving the MQV client "static" key
unauthenticated seems, at least intuitively, to reduce MQV to DH, on the
client side, which is not much of a loss.  It may be possible to have
stateful TLS client retain a static MQV key, but still unauthenticated. This
could be used for the weaker TOFU model of trust, so may still have some
security benefit.

 

If I understand correctly, TLS may now want to add some kind of anonymity,
e.g. encryption of certificates and other identifiers.  Since MQV involves
sending ephemeral key, these could, at the cost of an extra shared key
computation, protect the static (certified or trusted) keys against passive
adversaries.  I'm not sure if the resulting double use of the ephemeral keys
would undermine the security of MQV.

 

Best regards,

 

-        Dan

	

 

 

	

 




	

 


------=_NextPart_002_00C6_01CF37A2.B8D6FAC0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator 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:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@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";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
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;}
/* List Definitions */
@list l0
	{mso-list-id:1522359252;
	mso-list-type:hybrid;
	mso-list-template-ids:1908421540 -1318784894 67698691 67698693 67698689 =
67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:.75in;
	text-indent:-.25in;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:1.25in;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:1.75in;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:2.25in;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:2.75in;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:3.25in;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:3.75in;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:4.25in;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:4.75in;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
lang=3DEN-CA>Dear CFRG list,<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>If I understand correctly, the TLS =
WG plans a protocol revision which will modify the underlying key =
establishment scheme.&nbsp; Should CFRG advise TLS on key =
establishment?&nbsp; <o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>Naturally, TLS may have some specific requirements, =
directed towards the nature of the client and server in the transport =
layer, whereas CFRG might have expertise on a more generic security =
level.&nbsp; So, perhaps, TLS could convey its requirements to CFRG, and =
CFRG could return a set of key establishment schemes that meet those =
requirements, in particular, those which have been extensively =
researched.&nbsp; (Well, that&#8217;s a bit formal, and probably =
requires a few more iterations than I described, but seems sensible to =
me.)&nbsp; More likely, TLS will pick their own key establishment =
scheme, and ask for CFRG&#8217;s blessing. <o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>I haven&#8217;t followed the TLS =
list too closely, but I&#8217;d summarize two main possible approaches =
as: (1) patch and (2) overhaul.&nbsp; On the overhaul side, I&#8217;ve =
seen Watson Ladd&#8217;s suggestion of signed ephemeral DH: which is =
something TLS already has, with the core of the proposal being to narrow =
the options drastically.&nbsp; I&#8217;ve also seen a couple of IACR =
eprints analyzing the security of certain TLS ciphersuites.&nbsp; (Maybe =
these would go on the patch side?)&nbsp; If I recall those papers =
correctly, they define some special security models just for TLS, but I =
forget if these models were chosen just to make the proofs work for the =
protocols used in the ciphersuites, or for something more fundamental =
like the nature of the transport layer.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>***<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>I&#8217;d like to suggest a key =
establishment scheme for CFRG consideration: MQV (or one of its =
successors, maybe), with an eye to perhaps recommend to IETF WGs such as =
TLS.&nbsp; <o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>***<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>Some generic (non-TLS-specific) issues for =
MQV:<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>Two benefits of MQV over signed ephemeral DH, as I see it, =
would be efficiency (though I&#8217;m no expert) and better plausible =
deniability (due to the lack of signatures).&nbsp; I wonder what CFRG =
thinks of these benefits.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>Existing standards that specify =
versions of MQV include ANSI X9.{44,63,98}, NIST SP 800-56A, IEEE P1363, =
and SEC1.&nbsp; Therefore, it may be redundant for CFRG to draft on RFC =
for MQV, although CFRG may wish to write an RFC to profile the version =
that they like best.&nbsp; &nbsp;<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>These standards go towards the =
maturity of MQV, in the sense that they received scrutiny from the =
committees that drafted them, and have been public for a long time, and =
have served as an incentive to cryptanalytic research, being fairly high =
profile targets.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>The HMQV paper by Krawczyk critiques MQV, but these =
critiques did not seem terribly serious to me, at least when I last read =
them years ago.&nbsp; Also, I&#8217;m not sure how other key =
establishment schemes fare under these more stringent requirements =
(session-state reveal attacks, and so on).<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>The version of the MQV from NIST =
requires identifiers in the KDF, which helps prevent UKS attacks.&nbsp; =
(I&#8217;m not sure if TLS needs to resist UKS attacks, but a recent =
thread on the TLS reminds of UKS attacks.)<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>I recently released a (rather =
theoretical and very incomplete) IACR eprint on MQV. &nbsp;It only =
covers a modest, but essential, level of security for key agreement =
schemes.&nbsp; I think other people on the CFRG list are much more up to =
speed on the key establishment schemes.&nbsp; <o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>***<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>Some TLS-specific issues for MQV, =
but at a high level for CFRG consideration:<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>Past proposals to integrate MQV =
into TLS a few times include:<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><a =
href=3D"https://datatracker.ietf.org/doc/search/?name=3Dmqv&amp;rfcs=3Don=
&amp;activedrafts=3Don&amp;olddrafts=3Don&amp;sort">https://datatracker.i=
etf.org/doc/search/?name=3Dmqv&amp;rfcs=3Don&amp;activedrafts=3Don&amp;ol=
ddrafts=3Don&amp;sort</a>=3D<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>Perhaps these could be improved, =
given current knowledge on key agreement.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>A major issue is that MQV usually =
presumes mutual authentication, but TLS accommodates anonymous clients. =
Leaving the MQV client &#8220;static&#8221; key unauthenticated seems, =
at least intuitively, to reduce MQV to DH, on the client side, which is =
not much of a loss.&nbsp; It may be possible to have stateful TLS client =
retain a static MQV key, but still unauthenticated. This could be used =
for the weaker TOFU model of trust, so may still have some security =
benefit.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>If I understand correctly, TLS may now want to add some =
kind of anonymity, e.g. encryption of certificates and other =
identifiers.&nbsp; Since MQV involves sending ephemeral key, these =
could, at the cost of an extra shared key computation, protect the =
static (certified or trusted) keys against passive adversaries.&nbsp; =
I&#8217;m not sure if the resulting double use of the ephemeral keys =
would undermine the security of MQV.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>Best =
regards,<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoListParagraph =
style=3D'margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 =
lfo1'><![if !supportLists]><span lang=3DEN-CA><span =
style=3D'mso-list:Ignore'>-<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span =
lang=3DEN-CA>Dan<o:p></o:p></span></p><table class=3DMsoNormalTable =
border=3D0 cellspacing=3D0 cellpadding=3D0 width=3D750 =
style=3D'width:6.25in'><tr><td style=3D'padding:0in 0in 3.0pt =
0in'></td></tr><tr><td style=3D'padding:0in 0in 0in 0in'><p =
class=3DMsoNormal style=3D'margin-top:3.75pt'><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'><o=
:p>&nbsp;</o:p></span></p></td></tr></table><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif";display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:0in 0in 0in =
0in'></td></tr></table><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif";display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D3 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:9.75pt 0in =
0in 0in'><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><img =
border=3D0 width=3D176 height=3D43 id=3D"_x0000_i1025" =
src=3D"cid:image001.jpg@01CF37A2.B70EBDE0"></span><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif"'><o:p></o:p></span></p></td></tr><tr><td width=3D750 =
style=3D'width:6.25in;padding:9.75pt 0in 0in 0in'></td></tr></table><p =
class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p></div></body></html>
------=_NextPart_002_00C6_01CF37A2.B8D6FAC0--

------=_NextPart_001_00C5_01CF37A2.B8D6FAC0
Content-Type: image/jpeg;
	name="image001.jpg"
Content-Transfer-Encoding: base64
Content-ID: <image001.jpg@01CF37A2.B70EBDE0>

/9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAArALADASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx
BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK
U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3
uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAI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vQOoIFElvBLEIpIY3jHRWUEflUtFAFDVJriw0e4k060E1xHGfJgXgM3YfSvPPhb4J1PTtQ1D
xH4khK6tdSEIrNuKKepz78D8K9SooAKKKKAP/9k=

------=_NextPart_001_00C5_01CF37A2.B8D6FAC0--

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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUgTCCBnAw
ggVYoAMCAQICChfYCekAAwAXxTIwDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGMB4XDTEzMDUyODE1NDQwOVoXDTE0MDUxNzAwMjMzM1owgYUxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xETAPBgNVBAsTCENlcnRpY29tMQ4wDAYDVQQLEwVVc2Vy
czESMBAGA1UEAxMJRGFuIEJyb3duMSIwIAYJKoZIhvcNAQkBFhNkYnJvd25AY2VydGljb20uY29t
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDRc70RE0/FL9ZbfN64YjA0lkQOLR9ipGebc9nH
jB93OfYfR7CVsCUYy3+v9PO1DiUS9MeWWR4nxB9Ztee32d3syDxGg3PGFwSrms/ORAW9pgiS/yKH
An9SKRKyqMz9LSn/VQrEgoyPBPT0S/vg521MGH58MwMXyLm1cLBQU5gtCQIDAQABo4IDmDCCA5Qw
CwYDVR0PBAQDAgWgMEQGCSqGSIb3DQEJDwQ3MDUwDgYIKoZIhvcNAwICAgCAMA4GCCqGSIb3DQME
AgIAgDAHBgUrDgMCBzAKBggqhkiG9w0DBzAdBgNVHQ4EFgQUAlQmTNpWxnz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QBGRYDcmlt
MSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZS0YCChfYCekAAwAXxTIwCQYFKw4D
AhoFAKCCAaYwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTQwMzA0
MTcxMDI0WjAjBgkqhkiG9w0BCQQxFgQUqppXBh2aHj5MEVfedkyYkQuBqQkwZwYJKoZIhvcNAQkP
MVowWDAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcw
DQYIKoZIhvcNAwICASgwBwYFKw4DAhowCgYIKoZIhvcNAgUwbQYJKwYBBAGCNxAEMWAwXjBQMRMw
EQYKCZImiZPyLGQBGRYDbmV0MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vi
b3JkaW5hdGUgQ0EgTUNBMDNZS0YCChfYCekAAwAXxTIwbwYLKoZIhvcNAQkQAgsxYKBeMFAxEzAR
BgoJkiaJk/IsZAEZFgNuZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xJDAiBgNVBAMTG1JJTSBTdWJv
cmRpbmF0ZSBDQSBNQ0EwM1lLRgIKF9gJ6QADABfFMjANBgkqhkiG9w0BAQEFAASBgFvpW1VPYIth
fZCIjza2ZdjKqwljTNIszG13QOQfeGt5d2H4eWqjI+HfY//2+X5CpHAAx8CQmofGpy3JVlMdtX93
6t7q2a1vdYSbV2MiB0QgXHsu2xeamLH3Bew8B6SHEKQnA0s6cm+GEBnPhPclVaY6l4f73WQU3/XB
BCsggzUCAAAAAAAA

------=_NextPart_000_00C4_01CF37A2.B8D6FAC0--


From nobody Tue Mar  4 09:29:48 2014
Return-Path: <prvs=814020a26e=uri@ll.mit.edu>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EB51C1A0232 for <cfrg@ietfa.amsl.com>; Tue,  4 Mar 2014 09:29:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.744
X-Spam-Level: 
X-Spam-Status: No, score=-4.744 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.547, 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 UPJK39ajcYJK for <cfrg@ietfa.amsl.com>; Tue,  4 Mar 2014 09:29:43 -0800 (PST)
Received: from mx2.ll.mit.edu (MX2.LL.MIT.EDU [129.55.12.46]) by ietfa.amsl.com (Postfix) with ESMTP id B1FE81A0240 for <cfrg@irtf.org>; Tue,  4 Mar 2014 09:29:42 -0800 (PST)
Received: from LLE2K7-HUB02.mitll.ad.local (LLE2K7-HUB02.mitll.ad.local) by mx2.ll.mit.edu (unknown) with ESMTP id s24HTFap001578; Tue, 4 Mar 2014 12:29:27 -0500
From: "Blumenthal, Uri - 0558 - MITLL" <uri@ll.mit.edu>
To: Dan Brown <dbrown@certicom.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Date: Tue, 4 Mar 2014 12:29:19 -0500
Thread-Topic: [Cfrg] Key establishment advice (say, for TLS): How about MQV?
Thread-Index: Ac83z0llZtT/vCOFQoawCOkdH1P3UQ==
Message-ID: <CF3B7563.125D8%uri@ll.mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.3.9.131030
acceptlanguage: en-US
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha256; boundary="B_3476780959_5030047"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87, 1.0.14,  0.0.0000 definitions=2014-03-04_06:2014-03-04,2014-03-04,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1403040086
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/wlQZX47GkH2HyxFjOC5K_rHoC-0
Subject: Re: [Cfrg] Key establishment advice (say, for TLS): How about MQV?
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Mar 2014 17:29:48 -0000

--B_3476780959_5030047
Content-type: multipart/alternative;
	boundary="B_3476780959_5051953"


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

> If I understand correctly, the TLS WG plans a protocol revision which wil=
l
> modify the underlying key establishment scheme.  Should CFRG advise TLS o=
n key
> establishment?=20

IMHO, yes.

> I=E2=80=99d like to suggest a key establishment scheme for CFRG consideration: =
MQV (or
> one of its successors, maybe), with an eye to perhaps recommend to IETF W=
Gs
> such as TLS.=20

I'd love to see an MQV-like algorithm, with my personal preference being
FHMQV. I'm aware of the fact that X9.63 stays with MQV itself, still I'd
rather see FHMQV. Even though it is unclear (to me) whether the attacks
published against MQV are practical.

My main concern with *MQV is its IPR status. MQV was patented. I don't know
when that patent (those patents?) expires. Also, I don't know whether those
patents would cover HMQV/FHMQV as well (but suspect they would?).

> Two benefits of MQV over signed ephemeral DH, as I see it, would be effic=
iency
> (though I=E2=80=99m no expert) and better plausible deniability (due to the lac=
k of
> signatures).  I wonder what CFRG thinks of these benefits.

:-) That these are benefits worth of having, what else? :-)

> Existing standards that specify versions of MQV include ANSI X9.{44,63,98=
},
> NIST SP 800-56A, IEEE P1363, and SEC1.  Therefore, it may be redundant fo=
r
> CFRG to draft on RFC for MQV, although CFRG may wish to write an RFC to
> profile the version that they like best.

AFAIK, it has been a tradition at IETF to fully document the
algorithms/protocols it standardizes, rather than just referring to another
standards body. For example, see RFC 6234.

>  The HMQV paper by Krawczyk critiques MQV, but these critiques did not se=
em
> terribly serious to me, at least when I last read them years ago.

Waiting for others to join & comment.

>  Also, I=E2=80=99m not sure how other key establishment schemes fare under thes=
e more
> stringent requirements (session-state reveal attacks, and so on).

This should not matter. If we have a better scheme that resists attacks,
which affect other schemes =E2=80=93 all the more reasons to adopt the stronger o=
ne.

>  The version of the MQV from NIST requires identifiers in the KDF, which =
helps
> prevent UKS attacks.  (I=E2=80=99m not sure if TLS needs to resist UKS attacks,=
 but a
> recent thread on the TLS reminds of UKS attacks.)

If it is possible to adopt a stronger method =E2=80=93 I don't see why not.

>  I recently released a (rather theoretical and very incomplete) IACR epri=
nt on
> MQV.  It only covers a modest, but essential, level of security for key
> agreement schemes.  I think other people on the CFRG list are much more u=
p to
> speed on the key establishment schemes.

Great!

> A major issue is that MQV usually presumes mutual authentication, but TLS
> accommodates anonymous clients. Leaving the MQV client =E2=80=9Cstatic=E2=80=9D key
> unauthenticated seems, at least intuitively, to reduce MQV to DH, on the
> client side, which is not much of a loss.  It may be possible to have sta=
teful
> TLS client retain a static MQV key, but still unauthenticated. This could=
 be
> used for the weaker TOFU model of trust, so may still have some security
> benefit.=20

Since *MQV won't become the only mechanism =E2=80=93 it shouldn't be a concern:
whoever has client anonymity as a higher priority, will use something else.
Whoever is more concerned of UKS, would use FHMQV. Sounds like a win-win to
me. :-)

TNX!

> ***
> Some TLS-specific issues for MQV, but at a high level for CFRG considerat=
ion:
> Past proposals to integrate MQV into TLS a few times include:
> https://datatracker.ietf.org/doc/search/?name=3Dmqv&rfcs=3Don&activedrafts=3Don=
&oldd
> rafts=3Don&sort=3D




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

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-famil=
y: Calibri, sans-serif; "><span id=3D"OLK_SRC_BODY_SECTION"><blockquote id=3D"MA=
C_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"border-left-color: rgb(181, 196, 22=
3); border-left-width: 5px; border-left-style: solid; padding: 0px 0px 0px 5=
px; margin: 0px 0px 0px 5px; "><div xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:schemas-micro=
soft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/o=
mml" xmlns=3D"http://www.w3.org/TR/REC-html40"><div lang=3D"EN-US" link=3D"blue" v=
link=3D"purple"><div class=3D"WordSection1"><p class=3D"MsoNormal"><span lang=3D"EN-=
CA"><font size=3D"3">If I understand correctly, the TLS WG plans a protocol re=
vision which will modify the underlying key establishment scheme.&nbsp; Shou=
ld CFRG advise TLS on key establishment?&nbsp;</font></span></p></div></div>=
</div></blockquote></span><div style=3D"font-size: 14px; "><br></div><div styl=
e=3D"font-size: 14px; ">IMHO, yes.</div><div style=3D"font-size: 14px; "><br></d=
iv><span id=3D"OLK_SRC_BODY_SECTION" style=3D"font-size: 14px; "><blockquote id=3D=
"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid; PA=
DDING:0 0 0 5; MARGIN:0 0 0 5;"><div xmlns:v=3D"urn:schemas-microsoft-com:vml"=
 xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:schemas-micr=
osoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/=
omml" xmlns=3D"http://www.w3.org/TR/REC-html40"><div lang=3D"EN-US" link=3D"blue" =
vlink=3D"purple"><div class=3D"WordSection1"><p class=3D"MsoNormal"><span lang=3D"EN=
-CA">
<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size: 14px; ">=
I&#8217;d like to suggest a key establishment scheme for CFRG consideration:=
 MQV (or one of its successors, maybe), with an eye to perhaps recommend to =
IETF WGs such as TLS.&nbsp;</span></p></div></div></div></blockquote></span>=
<div style=3D"font-size: 14px; "><br></div><div style=3D"font-size: 14px; ">I'd =
love to see an MQV-like algorithm, with my personal preference being FHMQV. =
I'm aware of the fact that X9.63 stays with MQV itself, still I'd rather see=
 FHMQV. Even though it is unclear (to me) whether the attacks published agai=
nst MQV are practical.</div><div style=3D"font-size: 14px; "><br></div><div st=
yle=3D"font-size: 14px; ">My main concern with *MQV is its IPR status. MQV was=
 patented. I don't know when that patent (those patents?) expires. Also, I d=
on't know whether those patents would cover HMQV/FHMQV as well (but suspect =
they would?).</div><div style=3D"font-size: 14px; "><br></div><span id=3D"OLK_SR=
C_BODY_SECTION" style=3D"font-size: 14px; "><blockquote id=3D"MAC_OUTLOOK_ATTRIB=
UTION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARG=
IN:0 0 0 5;"><div xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schem=
as-microsoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:wo=
rd" xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:/=
/www.w3.org/TR/REC-html40"><div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div=
 class=3D"WordSection1"><p class=3D"MsoNormal"><span style=3D"font-size: 14px; ">T=
wo benefits of MQV over signed ephemeral DH, as I see it, would be efficienc=
y (though I&#8217;m no expert) and better plausible deniability (due to the =
lack of signatures).&nbsp; I wonder what CFRG thinks of these benefits.</spa=
n></p></div></div></div></blockquote></span><div><br></div><div>:-) That the=
se are benefits worth of having, what else? :-)</div><div><br></div><span id=
=3D"OLK_SRC_BODY_SECTION" style=3D"font-size: 14px; "><blockquote id=3D"MAC_OUTLOO=
K_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0=
 5; MARGIN:0 0 0 5;"><div xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"u=
rn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:o=
ffice:word" xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=
=3D"http://www.w3.org/TR/REC-html40"><div lang=3D"EN-US" link=3D"blue" vlink=3D"purp=
le"><div class=3D"WordSection1"><p class=3D"MsoNormal"><span style=3D"font-size: 1=
4px; ">Existing standards that specify versions of MQV include ANSI X9.{44,6=
3,98}, NIST SP 800-56A, IEEE P1363, and SEC1.&nbsp; Therefore, it may be red=
undant for CFRG to draft on RFC for MQV, although CFRG may wish to write an =
RFC
 to profile the version that they like best. &nbsp;&nbsp;</span></p></div><=
/div></div></blockquote></span><div><br></div><div>AFAIK, it has been a trad=
ition at IETF to fully document the algorithms/protocols it standardizes, ra=
ther than just referring to another standards body. For example, see RFC 623=
4.</div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION" style=3D"font-size: 14p=
x; "><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT:=
 #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div xmlns:v=3D"urn:schema=
s-microsoft-com:vml" xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns=
:w=3D"urn:schemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft=
.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40"><div lang=3D=
"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1"><p class=3D"MsoNo=
rmal"><span lang=3D"EN-CA"><o:p>&nbsp;</o:p></span><span style=3D"font-size: 14p=
x; ">The HMQV paper by Krawczyk critiques MQV, but these critiques did not s=
eem terribly serious to me, at least when I last read them years ago.&nbsp;<=
/span></p></div></div></div></blockquote></span><div><br></div><div>Waiting =
for others to join &amp; comment.</div><div><br></div><span id=3D"OLK_SRC_BODY=
_SECTION" style=3D"font-size: 14px; "><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_=
BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0=
 0 5;"><div xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-mic=
rosoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" xm=
lns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http://www.w=
3.org/TR/REC-html40"><div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=
=3D"WordSection1"><p class=3D"MsoNormal"><span style=3D"font-size: 14px; "> Also, =
I&#8217;m not sure how other key establishment schemes fare under these more=

 stringent requirements (session-state reveal attacks, and so on).</span></=
p></div></div></div></blockquote></span><div><br></div><div>This should not =
matter. If we have a better scheme that resists attacks, which affect other =
schemes &#8211; all the more reasons to adopt the stronger one.</div><div><b=
r></div><span id=3D"OLK_SRC_BODY_SECTION" style=3D"font-size: 14px; "><blockquot=
e id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 soli=
d; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div xmlns:v=3D"urn:schemas-microsoft-com=
:vml" xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:schemas=
-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/office/200=
4/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40"><div lang=3D"EN-US" link=3D"b=
lue" vlink=3D"purple"><div class=3D"WordSection1"><p class=3D"MsoNormal"><span lan=
g=3D"EN-CA"><o:p>&nbsp;</o:p></span><span style=3D"font-size: 14px; ">The versio=
n of the MQV from NIST requires identifiers in the KDF, which helps prevent =
UKS attacks.&nbsp; (I&#8217;m not sure if TLS needs to resist UKS attacks, b=
ut a recent thread on the TLS reminds of UKS attacks.)</span></p></div></div=
></div></blockquote></span><div><br></div><div>If it is possible to adopt a =
stronger method &#8211; I don't see why not.</div><div><br></div><span id=3D"O=
LK_SRC_BODY_SECTION"><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" sty=
le=3D"border-left-color: rgb(181, 196, 223); border-left-width: 5px; border-le=
ft-style: solid; padding: 0px 0px 0px 5px; margin: 0px 0px 0px 5px; "><div x=
mlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-microsoft-com:of=
fice: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"><div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection=
1"><p class=3D"MsoNormal" style=3D"font-size: 14px; "><span lang=3D"EN-CA"><o:p>&n=
bsp;</o:p></span><span style=3D"font-size: 14px; ">I recently released a (rath=
er theoretical and very incomplete) IACR eprint on MQV. &nbsp;It only covers=
 a modest, but essential, level of security for key agreement schemes.&nbsp;=
 I think other people on the CFRG list are much
 more up to speed on the key establishment schemes.&nbsp;</span><span style=
=3D"font-size: 14px; ">&nbsp;</span></p></div></div></div></blockquote></span>=
<div><br></div><div>Great!</div><div><br></div><span id=3D"OLK_SRC_BODY_SECTIO=
N"><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"border-left-co=
lor: rgb(181, 196, 223); border-left-width: 5px; border-left-style: solid; p=
adding: 0px 0px 0px 5px; margin: 0px 0px 0px 5px; "><div xmlns:v=3D"urn:schema=
s-microsoft-com:vml" xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns=
:w=3D"urn:schemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft=
.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40"><div lang=3D=
"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1"><p class=3D"MsoNo=
rmal"><span lang=3D"EN-CA"><font size=3D"3">A major issue is that MQV usually pr=
esumes mutual authentication, but TLS accommodates anonymous clients. Leavin=
g the MQV client &#8220;static&#8221; key unauthenticated seems, at least in=
tuitively, to reduce MQV to DH, on the client side, which is not much of a l=
oss.&nbsp; It may be possible to have stateful TLS client retain a static MQ=
V key, but still unauthenticated. This could be used for the weaker TOFU mod=
el of trust, so may still have some security benefit.&nbsp;</font></span></p=
></div></div></div></blockquote></span><div><br></div><div>Since *MQV won't =
become the only mechanism &#8211; it shouldn't be a concern: whoever has cli=
ent anonymity as a higher priority, will use something else. Whoever is more=
 concerned of UKS, would use FHMQV. Sounds like a win-win to me. :-)</div><d=
iv><br></div><div>TNX!</div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION" s=
tyle=3D"font-size: 14px; "><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"=
 style=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div=
 xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-microsoft-com:=
office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" xmlns:m=3D"http=
://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/RE=
C-html40"><div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSecti=
on1"><p class=3D"MsoNormal"><span style=3D"font-size: 14px; ">***</span></p><p c=
lass=3D"MsoNormal"><span style=3D"font-size: 14px; ">Some TLS-specific issues fo=
r MQV, but at a high level for CFRG consideration:</span></p><p class=3D"MsoNo=
rmal"><span style=3D"font-size: 14px; ">Past proposals to integrate MQV into T=
LS a few times include:</span></p><p class=3D"MsoNormal"><a href=3D"https://data=
tracker.ietf.org/doc/search/?name=3Dmqv&amp;rfcs=3Don&amp;activedrafts=3Don&amp;ol=
ddrafts=3Don&amp;sort" style=3D"font-size: 14px; ">https://datatracker.ietf.org/=
doc/search/?name=3Dmqv&amp;rfcs=3Don&amp;activedrafts=3Don&amp;olddrafts=3Don&amp;so=
rt</a><span style=3D"font-size: 14px; ">=3D</span></p></div></div></div></blockq=
uote></span><div><br></div><style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@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";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
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;}
/* List Definitions */
@list l0
	{mso-list-id:1522359252;
	mso-list-type:hybrid;
	mso-list-template-ids:1908421540 -1318784894 67698691 67698693 67698689 67=
698691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:.75in;
	text-indent:-.25in;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:1.25in;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:1.75in;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:2.25in;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:2.75in;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:3.25in;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:3.75in;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:4.25in;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:4.75in;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style></body></html>

--B_3476780959_5051953--

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

MIIUFAYJKoZIhvcNAQcCoIIUBTCCFAECAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0B
BwGgghHjMIIEyzCCA7OgAwIBAgIKa7HhIQAAAACRlDANBgkqhkiG9w0BAQsFADBRMQswCQYD
VQQGEwJVUzEfMB0GA1UEChMWTUlUIExpbmNvbG4gTGFib3JhdG9yeTEMMAoGA1UECxMDUEtJ
MRMwEQYDVQQDEwpNSVRMTCBDQS0yMB4XDTE0MDEyNzE2MTg1MloXDTE1MDEyNzE2MTg1Mlow
YTELMAkGA1UEBhMCVVMxHzAdBgNVBAoTFk1JVCBMaW5jb2xuIExhYm9yYXRvcnkxDzANBgNV
BAsTBlBlb3BsZTEgMB4GA1UEAxMXQmx1bWVudGhhbC5VcmkuNTAwMTA1ODQwggEiMA0GCSqG
SIb3DQEBAQUAA4IBDwAwggEKAoIBAQCMzX2AgWtgCJ2VJBfeiXUnR7FHfrCpElYl5agkmKEe
0kbvlM1XrVnvCbzgSXyiPD9pHAjj/fE0XEjEgLy3M3h6H7LX503XwoicBtYKO+OcuP6Z/cbt
+mHlVpa5zrTBtHdbxM/Dg3Km7UvVqfVoCW4LJ6YCH4eBGg49efKVDWE5fReO90fWAQQZJ4ou
tvYjPAlRVn2F0pr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s+lU8fU2F2ELpV8q8eYgqLLw7PG09z5s/GkajlxVZ/FHj/9hNHTfwlicrCRY3zrna1GbOMZg
WFz8R6akAoLKpqGulNrvjvU8c63U+JVmgJmBPCMv5JlH10m87+WPJ+ToK0m4XfZjl7n5OKDJ
/hOyBwbBntc+W2gDppfR1BCtDNfEG0+zHjFqF+Of1Q5NI5abhgvw5IEuVA1M4SV/utwmmdre
BEv/YuLnDd/PhVgQwp3LHGCXX1dANyiKso2aACl9jrkylq39cA/WgvAlS21w9vxVpDGCAfUw
ggHxAgEBMF8wUTELMAkGA1UEBhMCVVMxHzAdBgNVBAoTFk1JVCBMaW5jb2xuIExhYm9yYXRv
cnkxDDAKBgNVBAsTA1BLSTETMBEGA1UEAxMKTUlUTEwgQ0EtMgIKa7HhIQAAAACRlDANBglg
hkgBZQMEAgEFAKBpMC8GCSqGSIb3DQEJBDEiBCCn4NBHBg0YiC9hiJOfFLayfYUWeNgtXO/O
UKInS1kbbzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNDAz
MDQxNzI5MTlaMA0GCSqGSIb3DQEBAQUABIIBABEmpuHgXowLUNTInhXBE8Ve+7IKhs9DtPGu
pllEW9L1ZE3Cw2nSl394zFtA9ijJyTk5xFc7yAMq2fQXTJsNAyDKVw29o+OtJrJariDwW2Ja
6WYV8lCLZzRc6wENKKV/NrkTDg+HWU4TM5gt4UWdSw709d24B0W0ot1EX20WHKh+giFrUiX/
Xzktx29Y/btf/gkTxdKprvAlq2RoECAJ8B4OFBJlp3p8gQnda9aI7dEQBusGPsMSNHXH8zQD
XWBfd89p0ZuVUWReAxIuzf5uxZb++m9TDiClrG6+qvQBXe/gWLc5DVvUK9PFsjq7PfJdC0Tx
rkvbQC3NpajSftz5Ml8=

--B_3476780959_5030047--


From nobody Tue Mar  4 17:21: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 3CBBE1A00DD for <cfrg@ietfa.amsl.com>; Tue,  4 Mar 2014 17:21:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RhFv8sRZKZ0i for <cfrg@ietfa.amsl.com>; Tue,  4 Mar 2014 17:21:29 -0800 (PST)
Received: from mail-yh0-x233.google.com (mail-yh0-x233.google.com [IPv6:2607:f8b0:4002:c01::233]) by ietfa.amsl.com (Postfix) with ESMTP id EE20E1A0084 for <cfrg@irtf.org>; Tue,  4 Mar 2014 17:21:28 -0800 (PST)
Received: by mail-yh0-f51.google.com with SMTP id f10so365225yha.24 for <cfrg@irtf.org>; Tue, 04 Mar 2014 17:21:25 -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=VwTPSkeODGBP3QNRW7P8eHsIoZyoj3yWecCKLIL+Sr0=; b=pI6DmU/SZZHTgMfh2rimOo3AWG0s1wS7U1bj0MKV/w9obPEqEmcMwrgliJXkVAvDAX aSZqWqpzH/9HagCCePBYkZJq1C1x002p4alr9RwvA9DyqUfZU9/kusPiVRGmr6mez0Cv 8fpLCZRk9dxN/x9Z6539hA+PHdZpXWUk3zL3SRgb8oz6NdakkRZwf/1aOFng+ydFdCQs gRreXK1TuJimWkGcY1v1l4cL+tm8I7jVhgydK/5dyyPeMe4SoisECo/d+AgsWPeKJV3D C73CznhysscFDsq57tth4DAAx1Tbw+XExvczPmmdZS0AkD3ZpWSGvoz4ysf7+6thcsx+ gEhw==
MIME-Version: 1.0
X-Received: by 10.236.118.212 with SMTP id l60mr3303911yhh.78.1393982485417; Tue, 04 Mar 2014 17:21:25 -0800 (PST)
Received: by 10.170.92.85 with HTTP; Tue, 4 Mar 2014 17:21:25 -0800 (PST)
In-Reply-To: <CF3B7563.125D8%uri@ll.mit.edu>
References: <CF3B7563.125D8%uri@ll.mit.edu>
Date: Tue, 4 Mar 2014 17:21:25 -0800
Message-ID: <CACsn0c=V0bakFm+bn-6V3aQud=MbUDvTsiRnZw7SapEZ1pnVHw@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: "Blumenthal, Uri - 0558 - MITLL" <uri@ll.mit.edu>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/gxxO_gMxuxHUdQZ1mh2EoHBSHag
Cc: Dan Brown <dbrown@certicom.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Key establishment advice (say, for TLS): How about MQV?
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Mar 2014 01:21:31 -0000

Dear all,
I think this is a beautiful idea. It unifies client-auth with
anon-client, a weakness of my proposal, is based on very well
understood primitives, and takes only one round. It's also fairly
efficient.

However, one does need (F?)HMQV, because the unkown-key share attack
on MQV can be mounted if private key possession is not proved. In some
of the environments TLS will run this is an essential property. The
anonymous variant has been analyzed: it's the ACE protocol that Tor is
considering using.

The efficiency is very good, but not the best depending on what
happens. In the usual case signatures will be verified anyway, and the
marginal cost for a signature verification in a batched scheme is
small, and the signature generation cost is a fixed-based
exponentiation on a genus 1 curve. However, the diffie-hellman
exchange can use Kummer surfaces or curves in genus 1 or 2, leading to
major gains in efficiency. Because of the need for signature creation
the gain isn't a full 50%, but until we implement and test it won't be
clear which is faster. Recently genus 2 set a major speed record for
diffie-hellman, and because of technical issues addition isn't
possible in a clean way with fast implementations. (It's analogous to
the Montgomery curve tradeoff)

The proposal is likely fast enough however, and the cleanness of the
exchange (one flow, everything hashed, add your favorite AEAD scheme
on the backend for sending application data back and forth) make me
think that signed DH exchanges might be on the way out. In particular,
the gains from batching aren't achievable in the real world of X509,
because ECDSA isn't batchable, and change won't happen any time soon.

Sincerely,
Watson Ladd


From nobody Wed Mar  5 02:21:03 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 8A6521A00B6 for <cfrg@ietfa.amsl.com>; Mon,  3 Mar 2014 08:10:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level: 
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id naW7Sb5O0Z5q for <cfrg@ietfa.amsl.com>; Mon,  3 Mar 2014 08:10:48 -0800 (PST)
Received: from co9outboundpool.messaging.microsoft.com (co9ehsobe002.messaging.microsoft.com [207.46.163.25]) by ietfa.amsl.com (Postfix) with ESMTP id 6DD781A0089 for <cfrg@irtf.org>; Mon,  3 Mar 2014 08:10:48 -0800 (PST)
Received: from mail215-co9-R.bigfish.com (10.236.132.251) by CO9EHSOBE022.bigfish.com (10.236.130.85) with Microsoft SMTP Server id 14.1.225.22; Mon, 3 Mar 2014 16:10:45 +0000
Received: from mail215-co9 (localhost [127.0.0.1])	by mail215-co9-R.bigfish.com (Postfix) with ESMTP id 078523200A9	for <cfrg@irtf.org>; Mon,  3 Mar 2014 16:10:45 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:157.56.249.149; KIP:(null); UIP:(null); IPV:NLI; H:AM2PRD0311HT003.eurprd03.prod.outlook.com; RD:none; EFVD:NLI
X-SpamScore: 0
X-BigFish: PS0(zzc85fhe0eahddc2hde40hzz1f42h208ch1ee6h1de0h1d18h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah21bch1fc6hzz1de098h8275bh8275dh1de097h186068hz2fh793h109h2a8h839he5bhf0ah1288h12a5h12bdh137ah1441h1504h1537h153bh162dh1631h1758h18e1h1946h19b5h19ceh1ad9h1b0ah1bceh224fh1d0ch1d2eh1d3fh1dc1h1dfeh1dffh1fe8h1ff5h209eh20f0h2216h22d0h2336h2438h2461h2487h24d7h2516h2545h255eh25cch34h1155h)
Received-SPF: pass (mail215-co9: domain of rhul.ac.uk designates 157.56.249.149 as permitted sender) client-ip=157.56.249.149; envelope-from=Kenny.Paterson@rhul.ac.uk; helo=AM2PRD0311HT003.eurprd03.prod.outlook.com ; .outlook.com ; 
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10019001)(6009001)(428001)(199002)(189002)(86362001)(81686001)(85852003)(87936001)(15975445006)(54356001)(51856001)(92726001)(19580395003)(83322001)(83072002)(93136001)(93516002)(81816001)(74662001)(74482001)(47446002)(76482001)(31966008)(83506001)(54316002)(74502001)(46102001)(56816005)(90146001)(95666003)(80022001)(53806001)(49866001)(85306002)(95416001)(76796001)(69226001)(4396001)(50986001)(47976001)(59766001)(94316002)(77982001)(94946001)(2656002)(87266001)(66066001)(92566001)(56776001)(81342001)(81542001)(47736001)(65816001)(36756003)(80976001)(74366001)(76786001)(76176001)(63696002)(74706001)(74876001); DIR:OUT; SFP:1102; SCL:1; SRVR:DBXPR03MB030; H:DBXPR03MB383.eurprd03.prod.outlook.com; CLIP:157.140.35.7; FPR:57AA499D.BF198AEB.25FF3DFB.D6FAD63C.200ED; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en; 
Received: from mail215-co9 (localhost.localdomain [127.0.0.1]) by mail215-co9 (MessageSwitch) id 1393863042619262_18071; Mon,  3 Mar 2014 16:10:42 +0000 (UTC)
Received: from CO9EHSMHS018.bigfish.com (unknown [10.236.132.251])	by mail215-co9.bigfish.com (Postfix) with ESMTP id 862C046004C	for <cfrg@irtf.org>; Mon,  3 Mar 2014 16:10:42 +0000 (UTC)
Received: from AM2PRD0311HT003.eurprd03.prod.outlook.com (157.56.249.149) by CO9EHSMHS018.bigfish.com (10.236.130.28) with Microsoft SMTP Server (TLS) id 14.16.227.3; Mon, 3 Mar 2014 16:10:41 +0000
Received: from DBXPR03MB030.eurprd03.prod.outlook.com (10.242.145.146) by AM2PRD0311HT003.eurprd03.prod.outlook.com (10.255.162.38) with Microsoft SMTP Server (TLS) id 14.16.423.0; Mon, 3 Mar 2014 16:10:39 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by DBXPR03MB030.eurprd03.prod.outlook.com (10.242.145.146) with Microsoft SMTP Server (TLS) id 15.0.888.9; Mon, 3 Mar 2014 16:10:38 +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.00.0888.003; Mon, 3 Mar 2014 16:10:37 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: Short report from research breakout at STRINT workshop
Thread-Index: AQHPNvsd1K2Tj1ohhkWwNaE8QadtZg==
Date: Mon, 3 Mar 2014 16:10:37 +0000
Message-ID: <CF3A59F7.184EA%kenny.paterson@rhul.ac.uk>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.3.9.131030
x-originating-ip: [157.140.35.7]
x-forefront-prvs: 0139052FDB
Content-Type: multipart/mixed; boundary="_002_CF3A59F7184EAkennypatersonrhulacuk_"
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/CublgF8Ik2FgsB6c9WfKnlgNw8Y
X-Mailman-Approved-At: Wed, 05 Mar 2014 02:20:55 -0800
Subject: [Cfrg] Short report from research breakout at STRINT workshop
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Mar 2014 16:10:52 -0000

--_002_CF3A59F7184EAkennypatersonrhulacuk_
Content-Type: text/plain; charset="us-ascii"
Content-ID: <907DD7CD02CC224FBB15B99FB0112608@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable

Dear All,

I was asked at today's cfrg meeting at IETF 89 to circulate a short
summary of the research breakout discussion held at the recent STRINT
workshop (https://www.w3.org/2014/strint/). Attached are the slides I
presented back to the STRINT plenary from this breakout. Please note that
they are not comprehensive in covering the topics that were discussed
during the research breakout.

Best wishes

Kenny


--_002_CF3A59F7184EAkennypatersonrhulacuk_
Content-Type: application/pdf; name="strint-researchbreakout.pdf"
Content-Description: strint-researchbreakout.pdf
Content-Disposition: attachment; filename="strint-researchbreakout.pdf";
	size=45501; creation-date="Mon, 03 Mar 2014 16:10:37 GMT";
	modification-date="Mon, 03 Mar 2014 16:10:37 GMT"
Content-ID: <E6F6A7B61C0E904C99BB68C37C351BD9@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: base64

JVBERi0xLjMKJcTl8uXrp/Og0MTGCjQgMCBvYmoKPDwgL0xlbmd0aCA1IDAgUiAvRmlsdGVyIC9G
bGF0ZURlY29kZSA+PgpzdHJlYW0KeAF1UslOwzAQvecrHpQlKcT1eOy4uYK4cKtkiQPlFFEh1CCV
/L/E2HUSoGAfMpnFb7EP2OAADa20LMPGujXBU6taWXBW4/MVT/jA6n4gdAMo7aGTIce5rZ8miim3
n3L5cNa+5TVjP8HNmTfslhHBRARhI3voioNAxZDQkKJEiBuvyDt0Pe4CrE11+Rh2yjfao5af0GMV
gozIZNjhGeVZVdRaOZTnFSRglIuLy0qIfU9dVXhBeMRDSKacYpOL2MVvbGKt1g3zP9iL6whkUW7L
BE4op0y1rIpUu4k9UrlNLdIsZISoZOpcWeZT5lmVM6tRk04qZZh+SBGV7I2zbdR7EslNzj6TSDRi
pnDKMtkki+VDlhUZh1riU4dNJCNujvR4FMIjKZvpTspcTmwrGqdGkbNVk7h8YBGd+euajtSpNWL1
8YZm6oa9vA7XCPdWNT6+7NAX399IPDW8H69+8wX+/ZkvCmVuZHN0cmVhbQplbmRvYmoKNSAwIG9i
agozNTQKZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAzIDAgUiAvUmVzb3Vy
Y2VzIDYgMCBSIC9Db250ZW50cyA0IDAgUiAvTWVkaWFCb3ggWzAgMCA3MjAgNTQwXQo+PgplbmRv
YmoKNiAwIG9iago8PCAvUHJvY1NldCBbIC9QREYgL1RleHQgXSAvQ29sb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DAwMCBuIAowMDAwMDEwNDc3IDAwMDAwIG4gCjAwMDAwMTMyODQgMDAwMDAgbiAK
MDAwMDAxNDM5MSAwMDAwMCBuIAowMDAwMDEzNzAwIDAwMDAwIG4gCjAwMDAwMTQzNzEgMDAwMDAg
biAKMDAwMDAxNDYyNiAwMDAwMCBuIAowMDAwMDMxMTUwIDAwMDAwIG4gCjAwMDAwMzE0MzUgMDAw
MDAgbiAKMDAwMDAzMTY5NSAwMDAwMCBuIAowMDAwMDM2NDUyIDAwMDAwIG4gCjAwMDAwMzcwMzEg
MDAwMDAgbiAKMDAwMDAzNjY2NSAwMDAwMCBuIAowMDAwMDM3MDExIDAwMDAwIG4gCjAwMDAwMzcy
NzEgMDAwMDAgbiAKMDAwMDA0Mzg0MiAwMDAwMCBuIAowMDAwMDQzODYzIDAwMDAwIG4gCjAwMDAw
NDM5MTUgMDAwMDAgbiAKMDAwMDA0Mzk0OCAwMDAwMCBuIAowMDAwMDQzOTc3IDAwMDAwIG4gCjAw
MDAwNDQwMTkgMDAwMDAgbiAKMDAwMDA0NDAzOCAwMDAwMCBuIAp0cmFpbGVyCjw8IC9TaXplIDU3
IC9Sb290IDMyIDAgUiAvSW5mbyAxIDAgUiAvSUQgWyA8NTI0YWM1MTRiNDk3M2RlZjllZDQ4MjEw
MjlkZTZkMzM+Cjw1MjRhYzUxNGI0OTczZGVmOWVkNDgyMTAyOWRlNmQzMz4gXSA+PgpzdGFydHhy
ZWYKNDQyMDMKJSVFT0YK

--_002_CF3A59F7184EAkennypatersonrhulacuk_--


From nobody Wed Mar  5 02:50:06 2014
Return-Path: <feng.hao@newcastle.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 43B6E1A0416 for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 02:50:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.601
X-Spam-Level: 
X-Spam-Status: No, score=-3.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_31=0.6, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bg78lUvptQXP for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 02:50:01 -0800 (PST)
Received: from cheviot22.ncl.ac.uk (cheviot22.ncl.ac.uk [128.240.234.22]) by ietfa.amsl.com (Postfix) with ESMTP id 74C191A0404 for <cfrg@irtf.org>; Wed,  5 Mar 2014 02:50:01 -0800 (PST)
Received: from exhubvm02.ncl.ac.uk ([128.240.234.9] helo=EXHUBVM02.campus.ncl.ac.uk) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from <feng.hao@newcastle.ac.uk>) id 1WL9Of-0007xj-Ds; Wed, 05 Mar 2014 10:49:57 +0000
Received: from EXMBDB02.campus.ncl.ac.uk ([fe80::c039:e17:9d60:9f3]) by EXHUBVM02.campus.ncl.ac.uk ([2002:80f0:ea09::80f0:ea09]) with mapi id 14.03.0158.001; Wed, 5 Mar 2014 10:48:31 +0000
From: Feng Hao <feng.hao@newcastle.ac.uk>
To: 'Watson Ladd' <watsonbladd@gmail.com>, "Blumenthal, Uri - 0558 - MITLL" <uri@ll.mit.edu>
Thread-Topic: [Cfrg] Key establishment advice (say, for TLS): How about MQV?
Thread-Index: Ac83z0llZtT/vCOFQoawCOkdH1P3UQAQfBCAABBwelA=
Date: Wed, 5 Mar 2014 10:48:30 +0000
Message-ID: <B15015334706B5489C2DCD6698A3D6CC112461@EXMBDB02.campus.ncl.ac.uk>
References: <CF3B7563.125D8%uri@ll.mit.edu> <CACsn0c=V0bakFm+bn-6V3aQud=MbUDvTsiRnZw7SapEZ1pnVHw@mail.gmail.com>
In-Reply-To: <CACsn0c=V0bakFm+bn-6V3aQud=MbUDvTsiRnZw7SapEZ1pnVHw@mail.gmail.com>
Accept-Language: en-US, en-GB
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.4.160.7]
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/pUmY_5aQmI_P8gm9leTxl_BTLHg
Cc: Dan Brown <dbrown@certicom.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Key establishment advice (say, for TLS): How about MQV?
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Mar 2014 10:50:04 -0000

Hi,

>However, one does need (F?)HMQV, because the unkown-key share attack
>on MQV can be mounted if private key possession is not proved. In some
>of the environments TLS will run this is an essential property. The
>anonymous variant has been analyzed: it's the ACE protocol that Tor is
>considering using.

Sorry to be nitpicking, but the UKS attack on MQV was not because of the re=
ason mentioned above (it still works even if PoP is done properly by the CA=
). It was because the user identities were not included in the key exchange=
 flows [1]. In the original MQV, the user identities are only included in t=
he explicit key confirmation phase. Hence, the UKS attack only works on the=
 2-pass MQV (i.e., without explicit key confirmation), but not on the 3-pas=
s MQV (with explicit key confirmation).

In any case, this shows a weakness in the original MQV. In [2], a variant o=
f the MQV is described, which includes the user identities into the key der=
ivation function (see Sec 2.2, K =3D H(.., A, B)).  Thus, the 2-pass MQV is=
 immune to UKS attack as well, but it brings a subtle issue: two users need=
 to agree whose identity comes first. This would imply at least in theory, =
the protocol is no longer one-round. (Yes, I know we can fix it by using K =
=3D H(... Min(A,B), Max(A,B)), though it won't look pretty.)

HMQV was designed with motivation for "provable security". However, calling=
 it as hash variant of MQV would be a bit misleading, as it is actually mor=
e than that. On one hand, it does the right thing by including user identit=
ies within the key exchange flows using a hash function, hence preventing t=
he UKS attack. On the other hand, it explicitly drops two important safegua=
rds: 1) during CA registration, it doesn't require CA to validate the submi=
tted public key other than checking the value is not 0; 2) during key excha=
nge, it doesn't require validating the received ephemeral public key, hence=
 accepting any key even when it is apparently invalid (say a small subgroup=
 element). The HMQV author presents formal proofs to argue two safeguards a=
re redundant. However, I have reserved opinions on dropping those two safeg=
uards (despite the proofs) and I wrote a paper on this subject in 2010 [3] =
(a journal version of the paper with more details can be found in [4]). It =
is fair to say when implementing HMQV, one needs to at least be aware of th=
ese issues.

As I understand it, one practical issue with MQV is that it was patented. H=
owever, I am not sure what the current patent status of MQV (and ECMQV) is.

[1] B. Kaliski, "An unknown key-sharing attack on the MQV key agreement pro=
tocol," ACM Transactions on Information and System Security, Vol. 4. No. 3,=
 2001, pp. 275-288.

[2] A. Menezes, B. Ustaoglu, "On the importance of public-key validation in=
 the MQV and HMQV key agreement protocols," INDOCRYPT'06, LNCS 4329, pp. 13=
3-147, 2006.

[3] F. Hao, "On Robust Key Agreement Based on Public Key Authentication", P=
roceedings of the 14th International Conference on Financial Cryptography a=
nd Data Security (FC'10), Tenerife, Spain, LNCS 6052, pp. 383-390, 2010.

[4] F, Hao, "On Robust Key Agreement Based on Public Key Authentication," S=
ecurity and Communication Networks, Special issue on Design and Engineering=
 of Cryptographic Solutions for Secure Information Systems, Wiley, 2012

Cheers,
Feng


From nobody Wed Mar  5 03:11:56 2014
Return-Path: <mcgrew@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 0F36D1A04A2 for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 03:11:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.048
X-Spam-Level: 
X-Spam-Status: No, score=-15.048 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.547, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=unavailable
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nrhYhIJhcu1s for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 03:11:50 -0800 (PST)
Received: from mtv-iport-3.cisco.com (mtv-iport-3.cisco.com [173.36.130.14]) by ietfa.amsl.com (Postfix) with ESMTP id 547D01A048D for <cfrg@irtf.org>; Wed,  5 Mar 2014 03:11:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5728; q=dns/txt; s=iport; t=1394017892; x=1395227492; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=b/EXz/9t1hzIilG1lAvDDING11j7FsulbcrsBqcI7G4=; b=NjSpyPJItMQ4IKGzUchKAjDdLztwcDQyLwGj80iDrvXRN6q04PT/7M5L 9RU+3N5ZFeAOQ8b1xmiN8h7fgVg/az7kQ83Gf7nujX64lPQguHQxwQMAg NRhJun9Hb4/Lkw4GPDws+qhRpCNp8caZ9KHmtD33rDL8y4z2YqdaPWmXn Y=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AnIIAP0FF1OrRDoJ/2dsb2JhbABagwY7wWJCVxZ0giUBAQEDAQEBATU2BQUBBQsLGAkWDwkDAgECARUwBg0BBQICEIddBw7NWhMEjlEHhDgBA4lLiweDa4ZKi2GDSx4
X-IronPort-AV: E=Sophos;i="4.97,592,1389744000"; d="scan'208";a="105091291"
Received: from mtv-core-4.cisco.com ([171.68.58.9]) by mtv-iport-3.cisco.com with ESMTP; 05 Mar 2014 11:11:30 +0000
Received: from [10.0.2.15] (sjc-vpn6-1579.cisco.com [10.21.126.43]) by mtv-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id s25BBRAJ014324; Wed, 5 Mar 2014 11:11:28 GMT
Message-ID: <5317065E.1090007@cisco.com>
Date: Wed, 05 Mar 2014 06:11:26 -0500
From: David McGrew <mcgrew@cisco.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130922 Icedove/17.0.9
MIME-Version: 1.0
To: Watson Ladd <watsonbladd@gmail.com>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com> <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org> <CF37EA5F.338D8%paul@marvell.com> <CACsn0cmewBrOzaRF5XXC1p1A_gUSwkdE1_7V-1x8nta-ESyA+A@mail.gmail.com> <CF38F2D4.33940%paul@marvell.com> <2A0EFB9C05D0164E98F19BB0AF3708C711EF97AD05@USMBX1.msg.corp.akamai.com> <7BAC95F5A7E67643AAFB2C31BEE662D018B8516C6E@SC-VEXCH2.marvell.com> <7A2637AF-5A16-404B-B7A1-49FB17D5345A@callas.org> <CF3B846F.3415E%paul@marvell.com> <CACsn0cnyvkD1X5JDPJaoB83jZeFrj=uugMmWG9nPB+4jaC+POw@mail.gmail.com> <CF3BC8BA.34258%paul@marvell.com> <CACsn0c=OBvLfG+Sv1vYbhF9F6+mYSoYEji3SUtUzd7ZLP0fXHw@mail.gmail.com>
In-Reply-To: <CACsn0c=OBvLfG+Sv1vYbhF9F6+mYSoYEji3SUtUzd7ZLP0fXHw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/LQXYCv6CTle1YuyOFwX6WS-osd8
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, Jon Callas <jon@callas.org>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [Cfrg] [TLS]  Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Mar 2014 11:11:54 -0000

On 03/04/2014 12:02 PM, Watson Ladd wrote:
> Dear all,
> This is provisionally my last word on the matter.
>
> Any consensus based process only works if people will block a largely
> formed consensus for a good reason only. A document being unclear, or
> having unanalyzed security properties, or major issues with regards to
> alternatives not being discussed are good reasons. But the argument
> that Paul I think is making, that until the CFRG produces a draft ala
> RFC 6090 for Edwards curve we cannot use them, is fundamentally
> unconvincing.
>
> First off, let me note that black box implementations of Curve25519
> using the paper are possible: I've written them, Adam Langley has
> written them, as have lots of other people. So that leaves the
> argument that the implementations require too much knowledge about
> cryptography, and that such an issue is worth blocking specs.
>
> The simplest argument for why it is unconvincing is the date of RFC
> 6090 vs. the dates of protocols that included Suite B and ECC. RFC
> 4869 includes Suite B a full 4 years before RFC 6090 was published.
> Now, it is possible that Paul's argument was valid, but simply wasn't
> raised at the time RFC 4869 was being published. But I don't see any
> evidence that implementors of RFC 4869 were hamstrung by the
> nonexistence of RFC 6090.
>
> The second reason I am unconvinced is that I don't see why we
> shouldn't assume the availability of standard references such as the
> Handbook Of Elliptic and Hyperelliptic Curve Cryptography, or volume 2
> of Knuth, to implementors. Such documents are available for far less
> money than ISO standards, and in many regions of North America, Europe
> and Asia, can be found for free in the library. The goal of a spec is
> to explain to humans what is to be done: including excessive
> information makes this much harder.
>
> Finally, Mr. Lambert writes in terms of the "onus" being on CFRG to
> produce such a document, which he calls a "usable normative
> reference". Such a bare assertion is entirely unconvincing.

 From our charter: "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".     We have an opportunity to 
promote the understanding, use, and applicability of newer ECC 
mechanisms, and I hope that we do so.   I woud not say we have the 
"onus" to do so, but if CFRG does anything in this area, it should do 
what its charter says.

> Furthermore, CFRG owes Paul nothing. While I would be happy to review
> such a document for accuracy, I have no obligation to review or
> produce such a document, and the same holds for all the members of the
> CFRG. I can just as easily say that Mr. Lambert has the onus to
> produce such a document.
>
> I've changed my mind about the desirability of such a document as Mr.
> Lambert wants. It would be nice if it existed, and it would be a nice
> project to learn CWEB. However, I see no reason to consider the
> absence of such a document a good reason to block
> draft-josefsson-tls-curve25519-04.

draft-josefsson-tls-curve25519-04 defines a way to use a variant of 
Curve25519 in TLS, by describing the differences between RFC4492 
(Weierstrass ECC in TLS) and Curve25519 processing, and some differences 
and clarifications relative to the Curve25519 processing described in 
the PKC2006 publication.   This is clear from the following quotes:

"Private keys MUST be selected as specified in [Curve25519].  That is, 
private keys are 255-bits numbers with the following properties: ..."

"ECPoint.point differs from the definition of public keys in 
[Curve25519] in two ways: ..."

"Again, in line with [RFC4492] and as a departure from the convention 
chosen in [Curve25519], the x coordinate is converted to a byte  string 
using big endian order. ..."

"The following subsections describe the differences between using 
Curve25519 and the curves defined by RFC 4492 for key exchange in TLS. ... "

Defining a new thing by its differences from two existing things is not 
the best way to get a clear and easy to implement specification.    The 
authors could improve clarity by brining in more of the description of 
Curve25519, or by referencing external work such as an informational 
draft/RFC that describes Curve25519 (preferably the same variant as in 
draft-josefsson-tls-curve25519).

One way that RFC6090 added clarity was by clearly separating normative 
references from informative ones, and relying only on a small sufficient 
set of normative references that were early (pre-1994).   It would be 
good to have this sort of clarity for IETF work on Curve25519.

It would be better to have a separate draft/RFC on Curve25519, as 
described above, because it will be clearer and more conducive to re-use 
of the mechanism across IETF protocols.   If no separate normative 
document is produced, then it will be important for 
draft-josefsson-tls-curve25519 to incorporated a more complete 
description of Curve25519.

Disclaimer: I have not tried to implement 
draft-josefsson-tls-curve25519, and I'm not claiming that it is 
ambiguous.   The authors deserve thanks for writing this document. Our 
aim should be to produce clear, well-understood specifications.   Not 
all RFC are clear or well-understood, but we don't need to emulate that 
precedent.

David



>
> Sincerely,
> Watson Ladd
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>


From nobody Wed Mar  5 09:11:54 2014
Return-Path: <y.oiwa@aist.go.jp>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E66471A0179 for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 09:11:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.679
X-Spam-Level: 
X-Spam-Status: No, score=-3.679 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2TB8rh5wvBpp for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 09:11:43 -0800 (PST)
Received: from na3sys010aog113.obsmtp.com (na3sys010aog113.obsmtp.com [74.125.245.94]) by ietfa.amsl.com (Postfix) with ESMTP id 00EE31A0150 for <cfrg@irtf.org>; Wed,  5 Mar 2014 09:11:42 -0800 (PST)
Received: from mail-vc0-f169.google.com ([209.85.220.169]) (using TLSv1) by na3sys010aob113.postini.com ([74.125.244.12]) with SMTP ID DSNKUxdayyMY5aPDpaP0Gp2N2/t9LvxhwFum@postini.com; Wed, 05 Mar 2014 09:11:39 PST
Received: by mail-vc0-f169.google.com with SMTP id hq11so1323726vcb.14 for <cfrg@irtf.org>; Wed, 05 Mar 2014 09:11:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google;  h=mime-version:from:date:message-id:subject:to:content-type; bh=q+TCQoPxCFqICCMCrHr+A4MMYBRVQ1fzu/ZV/oWXX/E=; b=cb2kDs/Xy7PP7l76pUhSl2WiHKWNrt/UQw/j1/f0dBfrVHrKlVWnHYAZIQ1aWKwT3U 8WmTZrrD4ihgKYVVp9M+yq/eizMkGTbyEFtANmjhFQdQnyfv75v9ZuCee3M5Few5EGus WUBrvRYnjtcrme8r14elXZb+YA+sZgj1AlW18=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=q+TCQoPxCFqICCMCrHr+A4MMYBRVQ1fzu/ZV/oWXX/E=; b=h4tRHlfAXY4P8PZ3bzxVS0WBvkLm8v9CVf1Fv4tBBIwXW5IAcjbgrHSXN0gNY4pG22 u0hKc+yM8vvYRWV7J3RRGtQYYrk8Gs2DLpcDHrIk923nHsOrJZg8aETYU95es9xJGYwK jEVEB8ZVHfLOhMw9ZpNW7YMHvLvcy438RYgV1ktFA61Yawt1JMUcbW41ge06PzIC8O5l fGOyO75HRToOvCyrgRVTQPTIeI0NW/rG6SeW+XMxkoT51Y837HULdol8DZ3A00/pcXvI 2EDtvrtqKfFSQ905QLVu5sRryqNxg8HdZkheiH8o3zqVmM1V/mW7uK4zbIM8QHnncuVz 6YxQ==
X-Gm-Message-State: ALoCoQlQf/g6HEKjt15QatDCatCPb+AIkmiGWpd0UsoaJbcAxMErjYKA+UXbT3sOSyLaiNmUlF9Bn+wuB+jLs116OBM3YwFdnqaW2HmjHaQytBcZlYK80irzG3BscmZpKSQKVdnBCnryJlinthYI0oOSwwNde7RaxQ==
X-Received: by 10.221.74.65 with SMTP id yv1mr769222vcb.31.1394039498932; Wed, 05 Mar 2014 09:11:38 -0800 (PST)
X-Received: by 10.221.74.65 with SMTP id yv1mr769202vcb.31.1394039498603; Wed, 05 Mar 2014 09:11:38 -0800 (PST)
MIME-Version: 1.0
Received: by 10.58.100.227 with HTTP; Wed, 5 Mar 2014 09:11:18 -0800 (PST)
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Thu, 6 Mar 2014 02:11:18 +0900
Message-ID: <CAMeZVwu_g_h5LN1be=c3PS-Yjfhp=U6e5LvZ7tFEGtF15jO=BQ@mail.gmail.com>
To: cfrg <cfrg@irtf.org>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/IDtFGVbo-sTtaSsx6G7ZZUxdYDs
Subject: [Cfrg] [requesting suggestions] password hashing for PAKE
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Mar 2014 17:11:52 -0000

Dear all in CFRG mailing list,

I want to have some suggestions about the use of strengthened password
hash for the PAKE family of protocols in reality.

As you know (better than me), "password" in cryptographic primitives
is just an element of some group, usually an integer element in a cyclic group.
In real world, "passwords" is just an octet string of unlimited, unfixed length.
So we need to convert the latter to the former.

We assume, hereafter, we use 256-bit hash, and some cyclic group Z/rZ
generated by 2047-bit prime r as a target group.

The simple way of doing that conversion is to apply an existing hash function.
To prevent off-line attacks from credentials stolen from server-side storage,
we suggested use of some existing password-strengthening hashes
such as PBKDF2 (RFC 2898), and are preparing to do so.
The usual hash produces an integer in [0, 2^256 - 1], and
PBKDF2 can produce some larger output like one in [0, 2^1792 - 1], but
what we want best is an integer uniformly distributed in range [0, r - 1].
(PBKDF2's output length is limited to the multiple of that of the base
hash function.)
So, how do you think what is the best tactics among below?

 1) PAKE allows non-uniform distribution of passwords, so
     just having 256-bit is fine.
 2) It's better do as long as possible with existing functions, so
have 1792 bit.
 3) We may introduce a small trick to PBKDF2 to produce 2046 bit (the
best integer).
 4) We should implement SOMETHING which will produce the best [0, r-1] range.

Especially for 4), do you have some suggestions for doing that?
Do you also have some recommendations for better alternatives other
than PBKDF2 for use with IETF experimental (or standard-track) documents?

Thanks a lot,

-- 
Yutaka OIWA, Ph.D.                 Leader, System Life-cycle Research Group
                               Research Institute for Secure Systems (RISEC)
     National Institute of Advanced Industrial Science and Technology (AIST)
                       Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 46B5]


From nobody Wed Mar  5 10:28:48 2014
Return-Path: <dan@geer.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 550B81A02F3 for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 10:28:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.2
X-Spam-Level: 
X-Spam-Status: No, score=-3.2 tagged_above=-999 required=5 tests=[BAYES_50=0.8, GB_I_INVITATION=-2, GB_I_LETTER=-2] 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 Im53GWYUwzTM for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 10:28:43 -0800 (PST)
Received: from palinka.tinho.net (palinka.tinho.net [166.84.6.13]) by ietfa.amsl.com (Postfix) with ESMTP id 86EE01A02AD for <cfrg@irtf.org>; Wed,  5 Mar 2014 10:28:43 -0800 (PST)
Received: by palinka.tinho.net (Postfix, from userid 126) id 097212280E2; Wed,  5 Mar 2014 13:28:36 -0500 (EST)
Received: from palinka.tinho.net (localhost [127.0.0.1]) by palinka.tinho.net (Postfix) with ESMTP id 070DC2280CE for <cfrg@irtf.org>; Wed,  5 Mar 2014 13:28:36 -0500 (EST)
From: dan@geer.org
To: cfrg@irtf.org
Date: Wed, 05 Mar 2014 13:28:36 -0500
Message-Id: <20140305182836.097212280E2@palinka.tinho.net>
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/nq_d0SJmGb2dWqfZ2UL1BAWyUuE
Subject: [Cfrg] OMB Circular A-119
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Mar 2014 18:28:46 -0000

This is all quotation from a newsletter on consortia generally.
I've no time today and since the fuse is short, I am just forwarding
it here and now.  De-html-ized using /usr/local/bin/lynx.

-----------------8<------------cut-here------------8<-----------------

   Recently, the U.S. Office of Management and Budget (OMB) proposed
   changes to the rules that govern not only participation by agency
   personnel in standards development, but also all procurement by
   government agencies as well. These changes are far-ranging, and some
   could have a significant negative impact on consortium-developed
   standards unless the proposed changes are modified.  Public comments
   will be accepted through May 14.

   The American National Standards Institute (ANSI), coordinator of the
   U.S. standardization system, will be holding a Webinar on March 6 that
   will ouline the proposed amendments. The Webinar is free, but space is
   limited and advance registration is required, and I am forwarding that
   invitation to you below.

   Further engagement and information on these issues are available to
   ANSI members, and I will be circulating additional information, as well
   as proposed comments, to interested organizations (and OMB) as well.
   Please contact me if you would like to participate in those comments.

   Here is the Webinar invitation:



   Dear colleagues,

   On March 6, ANSI will host a webinar about the proposed revisions to
   Office of Management and Budget (OMB) [1]Circular A-119, "Federal
   Participation in the Development and Use of Voluntary Consensus
   Standards and in Conformity Assessment Activities."

   Thursday, March 6, 2014
   2 to 3:45 pm Eastern
   [2]Register here

   The webinar will focus on a number of topics, including voluntary
   consensus standards and voluntary non-consensus standards, SDO process
   issues, IPR and incorporation by reference, conformity assessment, and
   agency-related issues. Several guest facilitators from the
   standardization community - both public and private sectors - will join
   us for the dialogue.

   Due to the anticipated level of interest in this webinar, please
   register in advance. Participation will be listen-only, but there will
   be an opportunity to pose questions to the facilitators via chat.

   By way of background, earlier this month, OMB posted a Federal Register
   [3]notice inviting public comment on the revised circular. ANSI will
   develop a consensus response on behalf of the standardization
   community, and we are asking stakeholders to submit any input on the
   revision to [4]eneiman@ansi.org by Friday, March 21. We also encourage
   individual companies and organizations to submit their own comments in
   direct response to the notice. Please note that final responses must be
   submitted to the Federal Register by May 12, 2014.

   If you have any questions or concerns about this issue, please feel
   free to reach out to me at any time.

   Thank you very much for your attention.

   Best regards,
   Liz Neiman


     __________________________________________________________________

References

   1. http://www.whitehouse.gov/omb/circulars_a119/
   2. https://goansi.webex.com/mw0401l/mywebex/default.do?nomenu=true&siteurl=goansi&service=6&rnd=0.14018919824110876&main_url=https%3A%2F%2Fgoansi.webex.com%2Fec0701l%2Feventcenter%2Fevent%2FeventAction.do%3FtheAction%3Ddetail%26confViewID%3D1559627649%26%26%26%26siteurl%3Dgoansi
   3. https://www.federalregister.gov/articles/2014/02/11/2014-02891/request-for-comments-on-a-proposed-revision-of-omb-circular-no-a-119-federal-participation-in-the
   4. mailto:eneiman@ansi.org


From nobody Wed Mar  5 10:31:03 2014
Return-Path: <y.oiwa@aist.go.jp>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A5DB1A01A8 for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 10:30:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.679
X-Spam-Level: 
X-Spam-Status: No, score=-3.679 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4cYm_lwC5ZZJ for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 10:30:51 -0800 (PST)
Received: from na3sys010aog101.obsmtp.com (na3sys010aog101.obsmtp.com [74.125.245.70]) by ietfa.amsl.com (Postfix) with ESMTP id 431EB1A016E for <cfrg@irtf.org>; Wed,  5 Mar 2014 10:30:51 -0800 (PST)
Received: from mail-vc0-f176.google.com ([209.85.220.176]) (using TLSv1) by na3sys010aob101.postini.com ([74.125.244.12]) with SMTP ID DSNKUxdtV62lorp7g/FlZ0ATmMASaO4FkwEN@postini.com; Wed, 05 Mar 2014 10:30:48 PST
Received: by mail-vc0-f176.google.com with SMTP id lc6so972225vcb.35 for <cfrg@irtf.org>; Wed, 05 Mar 2014 10:30:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=RhoTWbx5b+8Vsml70kOOxnFNMVRyLv3hTGKvOpOX9Zc=; b=DpATLrWkGka/OCCatX7fEfnek7Es7Kr+DqVMYkEMzPM9/9UJs0N3Y32NIP89ENUoYX me1SBO6lGN+L7G7Q4WtbyknIrOWthLDiwNKEkUyJWoLCVbt/MDZxXwsXnQN69Zq0sDQ2 A2ouhNiUQlRfm7VG/yK/NlGB8NqvfD3X7lsg4=
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=RhoTWbx5b+8Vsml70kOOxnFNMVRyLv3hTGKvOpOX9Zc=; b=nFw7HC5nyyvaTFOopMUCVXhpfQemfiCb9WBZ8XVYeWI6ZQiSg7D82A5t72cXZl30dy 1wq76Bv7Im1zYSKPqqCVrADeCGqu/92Co6KTQMvxoM3V0GinUMWeNT6rhz6rTUQ8Yf+R 2+SHFoygXJHdO4HUV2UkoYSABzXlxQpq3abDB9rmc8yS2zAjJU5eaQhuVqrED2ML5UsE voPNkOswy+Vjrkl2vPFCnGgVtCevzCiLv2mZzwamSFK07YJHCTX+czpqxkSa1dTNLA2Y 7TUbuWZerznJDsTY897zvXnALCp/uRSHaWDKgCoB7Ghvl4dii+2BSWzuK4rZ+dxSiZnk q7fg==
X-Gm-Message-State: ALoCoQk9L0sKP82deLBZjS0KEHQJuDiJ4iDkiL+pqQbK+zaGSjrAbqmtJVafQPE0oFaWMv3YxT4tuB7S/0JsISVF/YqjycB0CNfkh21mp1dJl45iTyHv9Kuz0pTd2hsuPNJK4JTt4+iAjgd/4bxWcdGOg5Jo8LLkkQ==
X-Received: by 10.220.99.72 with SMTP id t8mr1154682vcn.10.1394044247081; Wed, 05 Mar 2014 10:30:47 -0800 (PST)
X-Received: by 10.220.99.72 with SMTP id t8mr1154670vcn.10.1394044246942; Wed, 05 Mar 2014 10:30:46 -0800 (PST)
MIME-Version: 1.0
Received: by 10.58.100.227 with HTTP; Wed, 5 Mar 2014 10:30:26 -0800 (PST)
In-Reply-To: <A4A326BF-6C6B-482F-85FB-36880BF315DA@checkpoint.com>
References: <CACsn0cmSH0hfuZs19Epvh_=vCPszx3Y3_GP5+snFDMcmAQUyQg@mail.gmail.com> <A4A326BF-6C6B-482F-85FB-36880BF315DA@checkpoint.com>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Thu, 6 Mar 2014 03:30:26 +0900
Message-ID: <CAMeZVwsv1LWAcEdqFU94d8GXMYLmgC=E=ji1O_Cx_cDgBQAOOw@mail.gmail.com>
To: Yoav Nir <ynir@checkpoint.com>, Watson Ladd <watsonbladd@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/LSrAA3jsRs1mu5fSkYv5rBt0K2E
Cc: "http-auth@ietf.org" <http-auth@ietf.org>, cfrg@irtf.org
Subject: Re: [Cfrg] [http-auth] Fwd:  Another PAKE question
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Mar 2014 18:30:53 -0000

Watson, Sorry, I completely missed this mail in the pile of unread mails.

# Thanks Yoav, your comment in WG reminds me and help finding out of this.

AFAIK, putting the transaction history into the calculation is
already embedded as the values t_1 and t_2 described in
the algorithm in
<https://tools.ietf.org/html/draft-oiwa-httpauth-mutual-algo-01>,
Sections 2.2 and 2.3.
Isn't this t_1 and t_2 (put into the calculation of z) suffice for the purpose?

My understanding is that the functionality what Watson mentioned is a
fundamental requirements for all PAKE primitives, and
is already embedded in the specification of such primitives' layer.
If this assumption is not, or if we need to protect more values than
the values appear in the cryptographic primitives, I agree that the
functionality
should be again implemented in the layer of the "HTTP Mutual authentication".
In such case I will do it with our cryptographer colleagues.

Sorry for the very late reply, but I'm very happy if you can help me
better understanding of this issue.


2014-01-10 0:24 GMT+09:00 Yoav Nir <ynir@checkpoint.com>:
> Hi.
>
> CFRG has recently had some discussion about PAKEs in general. I have asked
> them to take a look at MutualAuth. This is one of the replies that we got.
>
> Yoav
>
> Begin forwarded message:
>
> From: Watson Ladd <watsonbladd@gmail.com>
> Subject: Re: [Cfrg] Another PAKE question
> Date: January 9, 2014 4:57:19 PM GMT+02:00
> To: Yoav Nir <ynir@checkpoint.com>
>
> Why is this protocol secure?
> I would recommend taking the z, and computing a hash of z and the
> transcript of the protocol. In
> this way under the ROM, the computed value doesn't reveal information.
> It ensures that any
> manipulation of the messages leads to different z values.
>
> I'll try to think of ways to make a proof given that change.
> Sincerely,
> Watson Ladd
>
>
> On Wed, Jan 8, 2014 at 10:09 PM, Yoav Nir <ynir@checkpoint.com> wrote:
>
> Hi
>
> I almost feel like I'm asking for trouble after the roast that Dan went
> through, but some on this list might want to consider another PAKE going
> through an IETF working group.
>
> HTTP-Auth is making experimental authentication mechanisms for the HTTP
> layer. One of those is a PAKE. If people here on the CFRG list would like to
> comment on it, that would be great. We can have some discussion here, but
> ultimately, comments criticisms and suggestions should go to the HTTP-auth
> list (details below).
>
> The draft in question is called "Mutual Authentication Protocol for HTTP".
>
> Link: http://tools.ietf.org/html/draft-ietf-httpauth-mutual-01
>
> Yoav
> co-chair of HTTP-Auth
>
> Mailing list details:
> * http-auth List Information:
> https://www.ietf.org/mailman/listinfo/http-auth
> * http-auth List Archives:
> http://www.ietf.org/mail-archive/web/http-auth/current/maillist.html
> * http-auth Posting Address (requires registration): http-auth@ietf.org
> _______________________________________________
> 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
>
>
> Email secured by Check Point
>
>
>
> _______________________________________________
> http-auth mailing list
> http-auth@ietf.org
> https://www.ietf.org/mailman/listinfo/http-auth
>



-- 
Yutaka OIWA, Ph.D.                 Leader, System Life-cycle Research Group
                               Research Institute for Secure Systems (RISEC)
     National Institute of Advanced Industrial Science and Technology (AIST)
                       Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 46B5]


From nobody Wed Mar  5 18:10:16 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 51FB41A0061 for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 18:10:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PpcaSzOqFbSy for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 18:10:10 -0800 (PST)
Received: from mail-yh0-x22f.google.com (mail-yh0-x22f.google.com [IPv6:2607:f8b0:4002:c01::22f]) by ietfa.amsl.com (Postfix) with ESMTP id A3C161A0056 for <cfrg@irtf.org>; Wed,  5 Mar 2014 18:10:10 -0800 (PST)
Received: by mail-yh0-f47.google.com with SMTP id c41so2035586yho.6 for <cfrg@irtf.org>; Wed, 05 Mar 2014 18:10:06 -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=IhHWiWWGGw7J6hxQXNEs4ARWBGt5gWRAwTR4cV4Ict0=; b=ly3rO7iycql2k8Jb6pC6fzrMw1y+39JQwACvR791+UFvUYVvNHkT0k4q8WarrRYUtJ kSVgTBppSC61yeyC8pFyApaT/thzaZMIfN2H/xsQq3Uzy2EkYaaoR9gfUKq8I9TfwL7D IzzwqUC7UWCav1mjEZOUge+OUDCO6lX5fkercMsS58r8DZiNb43jLARca5JRANXIKfYs CcRUrzbPl/MnXulDtoAAkt/mpYChwZ5PccMsvmbkSJbO8t4BpZJhOK5OrUB4Oet06NAG KI5kRb49h6SZgyDskD8T6UjT55ixYJ8Rzbn6HX1GP5UTHeKXwp1dRQuJZOaz0Nhm7vdd 0AcQ==
MIME-Version: 1.0
X-Received: by 10.236.24.196 with SMTP id x44mr11594763yhx.92.1394071806712; Wed, 05 Mar 2014 18:10:06 -0800 (PST)
Received: by 10.170.92.85 with HTTP; Wed, 5 Mar 2014 18:10:06 -0800 (PST)
Date: Wed, 5 Mar 2014 18:10:06 -0800
Message-ID: <CACsn0c==kKAWD=hhWoMb0r2VK5nx2GRHX_LemwyeuToCEsM6LQ@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/QbCWKSQhrGiuFXxkimSyNmN34Hc
Subject: [Cfrg] Upcoming competition deadlines
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Mar 2014 02:10:14 -0000

Dear all,
The Password Hashing Competition and CAESER have deadlines coming up
soon. I strongly encourage anyone interested in these topics, either
as an implementor or designer, to pay attention. It would be
particularly useful to understand usecases in more detail than we do
now. Comments would be strongly helpful for both competitions.

Secondly, a major bug in OpenSSL's implementation of the SEC p256k
implementation was discovered and exploited. The issue was side
channels in control flow and memory accesses, together with new
techniques for using the information gathered to extract private keys.

I think it's clear that we need a side-channels draft: since people
seem to vehemently disagree about ladd-safecurves, and there are some
open technical questions about what formats are good, I'm going to
redirect my efforts to getting the side-channels draft further along.
Comments on what would make it useful/scarier would be greatly
appreciated.

Sincerely,
Watson Ladd


From nobody Wed Mar  5 18:49: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 97FE81A006A for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 18:49:56 -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 FTWfOwJbtlFS for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 18:49:54 -0800 (PST)
Received: from mail-yh0-x22d.google.com (mail-yh0-x22d.google.com [IPv6:2607:f8b0:4002:c01::22d]) by ietfa.amsl.com (Postfix) with ESMTP id BFA871A0021 for <cfrg@irtf.org>; Wed,  5 Mar 2014 18:49:53 -0800 (PST)
Received: by mail-yh0-f45.google.com with SMTP id i57so2077607yha.32 for <cfrg@irtf.org>; Wed, 05 Mar 2014 18:49:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=c9MSAUe69bjV8QVts/x5VLLYJRY6Fa907TDgX1qOoe8=; b=DkNtFCd8dgbRcpG8K3UvSFcT8IcKnqyruozunSzMKljgcQhLi041ND2oaizRw4cGjb ki2JG4upt72x5mNRj2h5wYiCisltjArJv7RQHygJKit12vEW8S+WCLszFo9s7qPTli0V YdP1XE6Qkv5XGCvQpR9NnKD+t3y8hCtc1wZA4Hbd82ExCiBkB78PnvKNqeKCD2e7pIZ/ k4W5RjC6UlwO9M/eSlKCNlnnYfcK0nPje5ajaZt2yvGia71nrLM+ceMpK8I+sLLEpRye 9E92DO20XNvPnKnwWreVAJ3GCqxtieNNSNLGcb+NVcnvzNHgaY7yrNgSxxRyaerVazCu vqlw==
MIME-Version: 1.0
X-Received: by 10.236.45.69 with SMTP id o45mr11774796yhb.64.1394074189802; Wed, 05 Mar 2014 18:49:49 -0800 (PST)
Received: by 10.170.92.85 with HTTP; Wed, 5 Mar 2014 18:49:49 -0800 (PST)
In-Reply-To: <014501cf3845$03f747b0$0be5d710$@is.ac.cn>
References: <045f01cf32c3$ae3d2cd0$0ab78670$@is.ac.cn> <CACsn0cnB6wJPkvEkdudr5YW13xai5rY_u2y7Sxf0=hUi2+txgg@mail.gmail.com> <014501cf3845$03f747b0$0be5d710$@is.ac.cn>
Date: Wed, 5 Mar 2014 18:49:49 -0800
Message-ID: <CACsn0ck0_mVRsj-2iMrVG236HzKxo9vmG9DMb=Qx5+abAWSMSA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Limin LIU <lmliu@is.ac.cn>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/gDnTq8TlTlKSD8-fOnX35xvoFrY
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Response to the Attacks on key agreement in SM2
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Mar 2014 02:49:56 -0000

On Tue, Mar 4, 2014 at 11:32 PM, Limin LIU <lmliu@is.ac.cn> wrote:
> Hi Watson,
> In my previous email, I addressed that the attack you mentioned is not fe=
asible since it is based on an unpractical assumption.
> As for the security model of SM2 key exchange, it's another problem. The =
key exchange protocol in SM2 is based on MQV, a widely standardized (ANSI, =
ISO/IEC, IEEE) and recommended (NIST, NSA suite B) EC-DH-based key agreemen=
t protocol. The security proof of MQV was given by Kunz-Jacques in paper " =
About the Security of MTI/C0 and MQV" in 2006, which you might have already=
 read.

Actually the situation is a bit better: it looks to me like the paper
by Kunz-Jacques covers SM2: one needs to adjust the function f, and
then everything works. However, this is not a standard assumption, and
the paper takes place in weaker models then CK, something I would like
to see in the security considerations. Note that MQV is no longer in
suite B.

Minor nits I found:
The encryption scheme has a major issue: t=3D0 is disallowed, leaking
information about M. In particular encrypting single bits is trivially
insecure. I would recommend that short lengths be avoided if it is
impossible to change the standard/this isn't a translation issue.

It also uses a hash as a MAC, which is not the right thing. (x2,y2) is
distinguishable from random bits, making an analysis of H(x1 || M ||
y1) hard. Encrypt and MAC is insecure because the MAC can always leak
information about the message and remain a good MAC. For a hash
function in the standard model I don't know why H(x1 || M || y1) has
to be a MAC. Maybe the construction mentioned is secure: it's
difficult to say. Certainly I would feel much happier with C3=3DHMAC(k2,
C2) with k1 || k2=3DKDF(p, keylength).

Pick a random number in [1, n-1] is difficult to do in constant time
and with zero bias. In particular the naive modular reduction approach
will leak enough bits to reconstruct the secret key. Maybe this is
handled by the random number generator, but this has bitten people
(including me) in the past. NIST actually had to edit ECDSA standards
to fix this issue.

I can't make head or tail of the message expansion in SM3.

Sincerely,
Watson Ladd
>
> Best,
> Limin
> -----Original Message-----
> From: Watson Ladd [mailto:watsonbladd@gmail.com]
> Sent: Thursday, February 27, 2014 12:15 AM
> To: liulimin
> Cc: cfrg@irtf.org
> Subject: Re: Response to the Attacks on key agreement in SM2
>
> On Tue, Feb 25, 2014 at 11:23 PM, Limin LIU <lmliu@is.ac.cn> wrote:
>> Dear Watson,
>>
>>     This is Limin from the team of SM2 patent holder, Data Assurance
>> and Communication Security Center in Chinese Academy of Sciences.
>> Following is the response to your concern about the attacks on SM2.
>> (Attacks on key agreement in SM2.
>> http://www.ietf.org/mail-archive/web/cfrg/current/msg04297.html )
>>
>>     In Xu's (CANS 2011) paper, the attack towards SM2 key exchange
>> protocol is launched in Canetti-Krawczyk model, where adversary could
>> reveal private session state. To make the attack successful, the
>> adversary should have the ability to reveal the state variable
>> (x_v,y_v). (x_v,y_v) is the result of a computation from B's private
>> key d_B, B's private random number r_B, along with other public
>> parameters. The question here is, d_B and r_B are not easy to be
>> obtained in real world. What's more, if the adversary has such kind of
>> knowledge, he could already obtain the session key K_B by K_B =3D KDF(x_=
v||y_v||z_A||z_B,klen), it seems unnecessary to launch other attacks.
>> Overall, this attack is academic crypto analysis based on strong
>> assumptions. It's not a practical threaten to the algorithm.
>>
>>    Hope this could address your concerns. Any further comments will be
>> greatly appreciated.
>
> It doesn't. Instead of an analysis showing that in some reasonable threat=
 model SM2 security reduces to some reasonable assumptions, you present an =
argument that the one attack I found in the literature doesn't matter in pr=
actical applications. There is a large literature and well-understood theor=
y of key negotiation protocols, and I have yet to see any demonstration tha=
t SM2 was designed with that in mind.
>
> Sincerely,
> Watson Ladd
>>
>> Best,
>> Limin
>>
>
>
>
> --
> "Those who would give up Essential Liberty to purchase a little Temporary=
 Safety deserve neither  Liberty nor Safety."
> -- Benjamin Franklin
>



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


From nobody Wed Mar  5 19:30:50 2014
Return-Path: <dmjacobson@sbcglobal.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8A7521A0085 for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 19:30:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lRt_0Ss2uRNR for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 19:30:45 -0800 (PST)
Received: from nm11-vm5.access.bullet.mail.bf1.yahoo.com (nm11-vm5.access.bullet.mail.bf1.yahoo.com [216.109.114.228]) by ietfa.amsl.com (Postfix) with ESMTP id EB40F1A007D for <cfrg@irtf.org>; Wed,  5 Mar 2014 19:30:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1394076640; bh=13ECrMd4R1EaMoQt3jRpKlbqnBX1Z/7gITcisFec7DU=; h=Received:Received:Received:DKIM-Signature:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=iJdJwvEdzqC1F+vf3iUVuWyx0dL6D/0x+QPEc6Bv0+d1enE8Ezng9yIy5jIEMb2HeAg4OwnaPCPF0bUHkItfWg/dWs+u51DN0jlHIIvS6FV58xLV5C0iZRnmmCJPV+UQwshWbZF3gpQxHgxzeLsqg8Z0NneXF4gb4wMOguv6srw=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; b=exoDUVi9EkguOPJbI4MwqIC0yZYQ8YbYd8B25dgJLSzHPK4Ipex6URT9XIm8wRVeIRbcV5I209cRu0aIRbllJNPFI78qtCfRGwxytf6qzzAVz1gYaCceL6KGQmk9VfI/IjrM7icxayxH/qxqods2p658iGn4APJfQonxT0ODIr0=;
Received: from [66.196.81.160] by nm11.access.bullet.mail.bf1.yahoo.com with NNFMP; 06 Mar 2014 03:30:40 -0000
Received: from [98.138.226.240] by tm6.access.bullet.mail.bf1.yahoo.com with NNFMP; 06 Mar 2014 03:30:40 -0000
Received: from [127.0.0.1] by smtp111.sbc.mail.ne1.yahoo.com with NNFMP; 06 Mar 2014 03:30:40 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1394076640; bh=13ECrMd4R1EaMoQt3jRpKlbqnBX1Z/7gITcisFec7DU=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Poy95drh09kulh4xRgQaV31RRViQU1i/mDidc1N8yAVBgl/79OI/qHzoAApSTjw8rorrwRCpF+lRTotXEhk0ggEXaHZ+S4LI7kJmtVWQZTPfMifLYptCV0upJixVbR39ELS7z8CBsFSdMTVsbJ6UKcZq+LSsyO7lAcjQdM6uInM=
X-Yahoo-Newman-Id: 487528.95059.bm@smtp111.sbc.mail.ne1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: LqeFffAVM1kHlPrB5rQo7MKuf3m3TU0eGNgXXh.nl1VaBtl Jh3jCBUDcVuiUPotRCwwgT.EAuO461uQd2orqTWhDTNyLJsST4ieB.ySnxbs _nUgvNiJIZfYePScpWaWYPSc0Lynhf40DRT62qoi.J62N3RePfgGvfJzQjbp s1ozDswc15lRV2MbyaFHz17NVPk9qRNAO6x53vhMWES11H4XJMLT_FQSnap1 EI6YTpDicCDW39CNhJiwdNLvKJZhhsgFvj6kPRZdPuacnb7GJ4OBlOlT6bqj Gwry7wB4zABujSyYdSa7ir8.8JvVWxz.ZZ7Ql5G8b8QHSlUbmjYwop8W2WIw x8M.E0GUUipYhvmNOWByLVqx49RXR8dFziGCZerg3Uf6iBbp2gEMrNHgRgkB Pkp36i0qtml5G4EvzTo9q.gbpaPQLx5wAnCwBKzLg0IB_U431jd0uzPfp_3S wazEIxDYcMuu0IvNHshRzzdaT9aMWZ.1hSQM9wV1l2f_Hb2BOlJPgNlxUGyz 7vWTNv_j4Os0y1jNAHlxgzdpdkDtcKHKHOHQ9qGfbw3JisEB_mHkvDztYop1 1ugJW.i2qaO922NcqaOVENAqZtpgvaPyR9.9V9MYRi.PLwNnoSfqOS2re1a7 B2UQ8WSBsXTS6gSKNecT6zJSXtQJbIEqSZSttOY_mQ3rBS2fBaFe5pPowIUD Bc.ntzxk-
X-Yahoo-SMTP: nOrmCa6swBAE50FabWnlVFUpgFVJ9Gbi__8U5mpvhtQq7tTV1g--
X-Rocket-Received: from [192.168.1.64] (dmjacobson@99.120.97.155 with plain [98.138.84.52]) by smtp111.sbc.mail.ne1.yahoo.com with SMTP; 05 Mar 2014 19:30:40 -0800 PST
Message-ID: <5317EBDE.70004@sbcglobal.net>
Date: Wed, 05 Mar 2014 19:30:38 -0800
From: David Jacobson <dmjacobson@sbcglobal.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: Watson Ladd <watsonbladd@gmail.com>, Limin LIU <lmliu@is.ac.cn>
References: <045f01cf32c3$ae3d2cd0$0ab78670$@is.ac.cn> <CACsn0cnB6wJPkvEkdudr5YW13xai5rY_u2y7Sxf0=hUi2+txgg@mail.gmail.com> <014501cf3845$03f747b0$0be5d710$@is.ac.cn> <CACsn0ck0_mVRsj-2iMrVG236HzKxo9vmG9DMb=Qx5+abAWSMSA@mail.gmail.com>
In-Reply-To: <CACsn0ck0_mVRsj-2iMrVG236HzKxo9vmG9DMb=Qx5+abAWSMSA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/P3Gi-qvSkUCoDlYAKAdP1NWCA-M
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Response to the Attacks on key agreement in SM2
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Mar 2014 03:30:48 -0000

You said that picking a random number in [1, n-1] is in constant time is 
hard.  Here is a solution that doesn't run in constant time.

let w be the minimum number of bits to represent n-2.
do {
     candidate = generate_random_bits(w);   // generate w random bits 
(in practice you generate a block and mask to w bits)
} until interpret_as_integer(candidate) <= n-2.

return interpret_as_integer(candidate) + 1;


Sure, it doesn't run in constant time. But, assuming that n is not a 
secret, this is harmless.  The probability of success is at least 1/2, 
so the typical running time is at most 2 rounds.

The reason it is safe is that the running time only tells the attacker 
the number of times the random bit generator generated a value > n-2.  
Even if on every iteration that failed, the algorithm revealed the 
entire candidate, it would be okay, since one security property of an a 
cryptographic quality RBG is that knowing some bits gives an attacker no 
advantage at guessing bits he hasn't seen.

     --David Jacobson


On 3/5/14 6:49 PM, Watson Ladd wrote:
> On Tue, Mar 4, 2014 at 11:32 PM, Limin LIU <lmliu@is.ac.cn> wrote:
>> Hi Watson,
>> In my previous email, I addressed that the attack you mentioned is not feasible since it is based on an unpractical assumption.
>> As for the security model of SM2 key exchange, it's another problem. The key exchange protocol in SM2 is based on MQV, a widely standardized (ANSI, ISO/IEC, IEEE) and recommended (NIST, NSA suite B) EC-DH-based key agreement protocol. The security proof of MQV was given by Kunz-Jacques in paper " About the Security of MTI/C0 and MQV" in 2006, which you might have already read.
> Actually the situation is a bit better: it looks to me like the paper
> by Kunz-Jacques covers SM2: one needs to adjust the function f, and
> then everything works. However, this is not a standard assumption, and
> the paper takes place in weaker models then CK, something I would like
> to see in the security considerations. Note that MQV is no longer in
> suite B.
>
> Minor nits I found:
> The encryption scheme has a major issue: t=0 is disallowed, leaking
> information about M. In particular encrypting single bits is trivially
> insecure. I would recommend that short lengths be avoided if it is
> impossible to change the standard/this isn't a translation issue.
>
> It also uses a hash as a MAC, which is not the right thing. (x2,y2) is
> distinguishable from random bits, making an analysis of H(x1 || M ||
> y1) hard. Encrypt and MAC is insecure because the MAC can always leak
> information about the message and remain a good MAC. For a hash
> function in the standard model I don't know why H(x1 || M || y1) has
> to be a MAC. Maybe the construction mentioned is secure: it's
> difficult to say. Certainly I would feel much happier with C3=HMAC(k2,
> C2) with k1 || k2=KDF(p, keylength).
>
> Pick a random number in [1, n-1] is difficult to do in constant time
> and with zero bias. In particular the naive modular reduction approach
> will leak enough bits to reconstruct the secret key. Maybe this is
> handled by the random number generator, but this has bitten people
> (including me) in the past. NIST actually had to edit ECDSA standards
> to fix this issue.
>
> I can't make head or tail of the message expansion in SM3.
>
> Sincerely,
> Watson Ladd
>> Best,
>> Limin
>> -----Original Message-----
>> From: Watson Ladd [mailto:watsonbladd@gmail.com]
>> Sent: Thursday, February 27, 2014 12:15 AM
>> To: liulimin
>> Cc: cfrg@irtf.org
>> Subject: Re: Response to the Attacks on key agreement in SM2
>>
>> On Tue, Feb 25, 2014 at 11:23 PM, Limin LIU <lmliu@is.ac.cn> wrote:
>>> Dear Watson,
>>>
>>>      This is Limin from the team of SM2 patent holder, Data Assurance
>>> and Communication Security Center in Chinese Academy of Sciences.
>>> Following is the response to your concern about the attacks on SM2.
>>> (Attacks on key agreement in SM2.
>>> http://www.ietf.org/mail-archive/web/cfrg/current/msg04297.html )
>>>
>>>      In Xu's (CANS 2011) paper, the attack towards SM2 key exchange
>>> protocol is launched in Canetti-Krawczyk model, where adversary could
>>> reveal private session state. To make the attack successful, the
>>> adversary should have the ability to reveal the state variable
>>> (x_v,y_v). (x_v,y_v) is the result of a computation from B's private
>>> key d_B, B's private random number r_B, along with other public
>>> parameters. The question here is, d_B and r_B are not easy to be
>>> obtained in real world. What's more, if the adversary has such kind of
>>> knowledge, he could already obtain the session key K_B by K_B = KDF(x_v||y_v||z_A||z_B,klen), it seems unnecessary to launch other attacks.
>>> Overall, this attack is academic crypto analysis based on strong
>>> assumptions. It's not a practical threaten to the algorithm.
>>>
>>>     Hope this could address your concerns. Any further comments will be
>>> greatly appreciated.
>> It doesn't. Instead of an analysis showing that in some reasonable threat model SM2 security reduces to some reasonable assumptions, you present an argument that the one attack I found in the literature doesn't matter in practical applications. There is a large literature and well-understood theory of key negotiation protocols, and I have yet to see any demonstration that SM2 was designed with that in mind.
>>
>> Sincerely,
>> Watson Ladd
>>> Best,
>>> Limin
>>>
>>
>>
>> --
>> "Those who would give up Essential Liberty to purchase a little Temporary Safety deserve neither  Liberty nor Safety."
>> -- Benjamin Franklin
>>
>
>


From nobody Wed Mar  5 19:53: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 18D961A0099 for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 19:52: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 ih2dC9-8ZUyR for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 19:52:56 -0800 (PST)
Received: from mail-qg0-x22d.google.com (mail-qg0-x22d.google.com [IPv6:2607:f8b0:400d:c04::22d]) by ietfa.amsl.com (Postfix) with ESMTP id DA1031A0085 for <cfrg@irtf.org>; Wed,  5 Mar 2014 19:52:55 -0800 (PST)
Received: by mail-qg0-f45.google.com with SMTP id j5so5629015qga.4 for <cfrg@irtf.org>; Wed, 05 Mar 2014 19:52:51 -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=owAedyQYAYtloVr2Ogkb+FwULAKTJ7ufWC9YElF/oos=; b=obrbxSmEY9Th9073Trf5yiq5qkBFYvwAthsGNIAwvfXkFOKCYAjg7AcAjYLsPpTAa2 Oz6FIArJd/czp5WMohQygesam5PZEM8smuAz7UhxtCYopVaXs80of6cdJ/oYwd/cLs7t GqpWHVzkTPdcyMG5uIZa3sMPLv8EvrRguWlT2A5IFzZHRuFjRjqqO9qzbz+u7fbk6XRv fo1XUyS2n6lt64D+rncmwH15PK47V/wqCnkOQlKr4xbjJd7xi82uY4XZQN87svAZ8Hua YYcXsecqNd8xfYEUn5DDqnCnD4IQ+CY1kXGIlJLoDCvYqExqVIiVDxX0TlBktt+NacLx 13bQ==
MIME-Version: 1.0
X-Received: by 10.229.56.200 with SMTP id z8mr4949340qcg.1.1394077971869; Wed, 05 Mar 2014 19:52:51 -0800 (PST)
Received: by 10.140.97.134 with HTTP; Wed, 5 Mar 2014 19:52:51 -0800 (PST)
In-Reply-To: <5317EBDE.70004@sbcglobal.net>
References: <045f01cf32c3$ae3d2cd0$0ab78670$@is.ac.cn> <CACsn0cnB6wJPkvEkdudr5YW13xai5rY_u2y7Sxf0=hUi2+txgg@mail.gmail.com> <014501cf3845$03f747b0$0be5d710$@is.ac.cn> <CACsn0ck0_mVRsj-2iMrVG236HzKxo9vmG9DMb=Qx5+abAWSMSA@mail.gmail.com> <5317EBDE.70004@sbcglobal.net>
Date: Wed, 5 Mar 2014 19:52:51 -0800
Message-ID: <CACsn0cmbt2oYb9ZZt+Un6W0vC+SSF=ojx1TXkYZNP6wPqKU6jw@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: David Jacobson <dmjacobson@sbcglobal.net>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/7PhdH1HGOoFx-AScttFMaphhedI
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Response to the Attacks on key agreement in SM2
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Mar 2014 03:52:59 -0000

On Wed, Mar 5, 2014 at 7:30 PM, David Jacobson <dmjacobson@sbcglobal.net> wrote:
> You said that picking a random number in [1, n-1] is in constant time is
> hard.  Here is a solution that doesn't run in constant time.
>
> let w be the minimum number of bits to represent n-2.
> do {
>     candidate = generate_random_bits(w);   // generate w random bits (in
> practice you generate a block and mask to w bits)
> } until interpret_as_integer(candidate) <= n-2.
>
> return interpret_as_integer(candidate) + 1;
>
>
> Sure, it doesn't run in constant time. But, assuming that n is not a secret,
> this is harmless.  The probability of success is at least 1/2, so the
> typical running time is at most 2 rounds.
>
> The reason it is safe is that the running time only tells the attacker the
> number of times the random bit generator generated a value > n-2.  Even if
> on every iteration that failed, the algorithm revealed the entire candidate,
> it would be okay, since one security property of an a cryptographic quality
> RBG is that knowing some bits gives an attacker no advantage at guessing
> bits he hasn't seen.

Yes, the above is true. However, a standard trick for removing
randomness is to use a second key K and compute
H(k || M). Randomness At this point one does have secret data being
used, so you do need to watch out. But maybe an interation isn't so
bad...
I just prefer not to do that kind of leak analysis, and write
constant-time code.

Sincerely,
Watson Ladd

>
>     --David Jacobson
>
>
>
> On 3/5/14 6:49 PM, Watson Ladd wrote:
>>
>> On Tue, Mar 4, 2014 at 11:32 PM, Limin LIU <lmliu@is.ac.cn> wrote:
>>>
>>> Hi Watson,
>>> In my previous email, I addressed that the attack you mentioned is not
>>> feasible since it is based on an unpractical assumption.
>>> As for the security model of SM2 key exchange, it's another problem. The
>>> key exchange protocol in SM2 is based on MQV, a widely standardized (ANSI,
>>> ISO/IEC, IEEE) and recommended (NIST, NSA suite B) EC-DH-based key agreement
>>> protocol. The security proof of MQV was given by Kunz-Jacques in paper "
>>> About the Security of MTI/C0 and MQV" in 2006, which you might have already
>>> read.
>>
>> Actually the situation is a bit better: it looks to me like the paper
>> by Kunz-Jacques covers SM2: one needs to adjust the function f, and
>> then everything works. However, this is not a standard assumption, and
>> the paper takes place in weaker models then CK, something I would like
>> to see in the security considerations. Note that MQV is no longer in
>> suite B.
>>
>> Minor nits I found:
>> The encryption scheme has a major issue: t=0 is disallowed, leaking
>> information about M. In particular encrypting single bits is trivially
>> insecure. I would recommend that short lengths be avoided if it is
>> impossible to change the standard/this isn't a translation issue.
>>
>> It also uses a hash as a MAC, which is not the right thing. (x2,y2) is
>> distinguishable from random bits, making an analysis of H(x1 || M ||
>> y1) hard. Encrypt and MAC is insecure because the MAC can always leak
>> information about the message and remain a good MAC. For a hash
>> function in the standard model I don't know why H(x1 || M || y1) has
>> to be a MAC. Maybe the construction mentioned is secure: it's
>> difficult to say. Certainly I would feel much happier with C3=HMAC(k2,
>> C2) with k1 || k2=KDF(p, keylength).
>>
>> Pick a random number in [1, n-1] is difficult to do in constant time
>> and with zero bias. In particular the naive modular reduction approach
>> will leak enough bits to reconstruct the secret key. Maybe this is
>> handled by the random number generator, but this has bitten people
>> (including me) in the past. NIST actually had to edit ECDSA standards
>> to fix this issue.
>>
>> I can't make head or tail of the message expansion in SM3.
>>
>> Sincerely,
>> Watson Ladd
>>>
>>> Best,
>>> Limin
>>> -----Original Message-----
>>> From: Watson Ladd [mailto:watsonbladd@gmail.com]
>>> Sent: Thursday, February 27, 2014 12:15 AM
>>> To: liulimin
>>> Cc: cfrg@irtf.org
>>> Subject: Re: Response to the Attacks on key agreement in SM2
>>>
>>> On Tue, Feb 25, 2014 at 11:23 PM, Limin LIU <lmliu@is.ac.cn> wrote:
>>>>
>>>> Dear Watson,
>>>>
>>>>      This is Limin from the team of SM2 patent holder, Data Assurance
>>>> and Communication Security Center in Chinese Academy of Sciences.
>>>> Following is the response to your concern about the attacks on SM2.
>>>> (Attacks on key agreement in SM2.
>>>> http://www.ietf.org/mail-archive/web/cfrg/current/msg04297.html )
>>>>
>>>>      In Xu's (CANS 2011) paper, the attack towards SM2 key exchange
>>>> protocol is launched in Canetti-Krawczyk model, where adversary could
>>>> reveal private session state. To make the attack successful, the
>>>> adversary should have the ability to reveal the state variable
>>>> (x_v,y_v). (x_v,y_v) is the result of a computation from B's private
>>>> key d_B, B's private random number r_B, along with other public
>>>> parameters. The question here is, d_B and r_B are not easy to be
>>>> obtained in real world. What's more, if the adversary has such kind of
>>>> knowledge, he could already obtain the session key K_B by K_B =
>>>> KDF(x_v||y_v||z_A||z_B,klen), it seems unnecessary to launch other attacks.
>>>> Overall, this attack is academic crypto analysis based on strong
>>>> assumptions. It's not a practical threaten to the algorithm.
>>>>
>>>>     Hope this could address your concerns. Any further comments will be
>>>> greatly appreciated.
>>>
>>> It doesn't. Instead of an analysis showing that in some reasonable threat
>>> model SM2 security reduces to some reasonable assumptions, you present an
>>> argument that the one attack I found in the literature doesn't matter in
>>> practical applications. There is a large literature and well-understood
>>> theory of key negotiation protocols, and I have yet to see any demonstration
>>> that SM2 was designed with that in mind.
>>>
>>> Sincerely,
>>> Watson Ladd
>>>>
>>>> Best,
>>>> Limin
>>>>
>>>
>>>
>>> --
>>> "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 Wed Mar  5 20:46:41 2014
Return-Path: <hugokraw@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 91A921A00B9 for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 20:46:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level: 
X-Spam-Status: No, score=-1.277 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, 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 Ff8NBtR49uao for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 20:46:34 -0800 (PST)
Received: from mail-qa0-x236.google.com (mail-qa0-x236.google.com [IPv6:2607:f8b0:400d:c00::236]) by ietfa.amsl.com (Postfix) with ESMTP id 8EB991A00B0 for <cfrg@irtf.org>; Wed,  5 Mar 2014 20:46:34 -0800 (PST)
Received: by mail-qa0-f54.google.com with SMTP id w8so1989464qac.41 for <cfrg@irtf.org>; Wed, 05 Mar 2014 20:46:30 -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:from:date:message-id :subject:to:cc:content-type; bh=80F1LmRuBYjPgDvy4GNyw4VyssMADCUl7vzH3PYxvfI=; b=uw4FIj4RD+EjibY1CDZIxC4yUuTrdeNaMohOJ0W1nGc2kNuymnicV+6HSufUrgiHmo cqLj8Dl8OZAF0udxcK4eOzePyTjOe9yFNV0bLKLrYmGofcW5M7JRD/mNyJoWvTrb3s9w omx51nSGn38If5v+hD3VyU1Yo4haC3EVDd8yZI/YCWQ9NkN7A1Rf2ElzO59YJrCmoPid djST9gU5D7Sj5ggnj5kA8/wc5rlS9UFKo96EB+17DBKLHgXEYeQvtZ/EbxsWhVyVuVDt bpxwenM6KAHLH4f37mRaLlmm8esbcfnXQV658cX/X608/fsh1AdknPsV3x6wuUSVS7ar a+mw==
X-Received: by 10.224.87.193 with SMTP id x1mr11696424qal.70.1394081190626; Wed, 05 Mar 2014 20:46:30 -0800 (PST)
MIME-Version: 1.0
Sender: hugokraw@gmail.com
Received: by 10.96.181.9 with HTTP; Wed, 5 Mar 2014 20:45:57 -0800 (PST)
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5C46AB5@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5C46AB5@XMB116CNC.rim.net>
From: Hugo Krawczyk <hugo@ee.technion.ac.il>
Date: Wed, 5 Mar 2014 23:45:57 -0500
X-Google-Sender-Auth: 848QGOaLzER_8vd3KlM_o7y6c04
Message-ID: <CADi0yUMAnbbWg7iXJdAddc+9YOr5-B=XRN3VbTO48hAS1acwBg@mail.gmail.com>
To: Dan Brown <dbrown@certicom.com>
Content-Type: multipart/related; boundary=001a11c3e24627f90a04f3e8d277
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/6dnfxUKs3FhjHwJZsJoAvFBRTbE
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Key establishment advice (say, for TLS): How about MQV?
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Mar 2014 04:46:38 -0000

--001a11c3e24627f90a04f3e8d277
Content-Type: multipart/alternative; boundary=001a11c3e24627f90704f3e8d276

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

=E2=80=8BA few notes on the potential use of HMQV for TLS.

I do believe that HMQV could be a good basis for TLS 3.0 due to its
efficiency,
versatility, and proof of security (I comment a bit on these aspects
below).
But given the patent issues surrounding the protocol I doubt it would be
feasible to get this standardized by the IETF. As I understand, Certicom ha=
s
some claims on the MQV protocol and IBM has a patent on HMQV.

HMQV gives an authenticated DH exchange *at essentially the cost of plain
DH*
(plus certificate verification) and can support "seamlessly" several
functional
variants: from implicit mutual or unilateral authentication to explicit
authentication with key confirmation to a single message key exchange with
unilateral or mutual authentication. The latter mode is particularly well
suited
as a one-message key exchange of the type I've seen in some "TLS 3.0"
proposals
(which assume some form of anti-replay state) and has the advantage of
optionally accommodating client authentication almost for free.

The protocol has a proof of security (scrutinized through several hundred
papers
that build upon HMQV) which not only serves to have confidence in the
design but
also avoids the "safety margins" typically needed for not-well-understood
protocols. Very importantly, it avoids the need to rely on the CA to check
the
algebraic properties of public keys (as it is required, for example, by
MQV).
Indeed, such reliance would be a kiss of death to a protocol intended for
wide
use as CA's do not typically do such tests. In particular, it would be
totally
unusable for TLS where a server signs its own HMQV key (and the CA
certifies the
server signature key).

There has been some contention about the need to do group membership tests
in
HMQV. Indeed, the need for this depends on the use case and security model.
However, this issue is relevant for mod p groups where such tests are
expensive.
For elliptic curves the test is inexpensive hence can be made an integral
part
of the protocol.

Finally, for those wondering if UKS attacks should be avoided in TLS. For
many
years I had to work hard to convince people that UKS attacks are real
threats.
The counter-intuitive nature of these attacks is that an attacker can cause
harm
without having to learn the key. Fortunately (or should I say
unfortunately), the
"re-negotiation bug" in TLS is an excellent demonstration of how practical
such an
attack can be. Nothing better than the history of TLS to show that one
better
takes seriously attacks that seem theoretical at first glance.
=E2=80=8B

Hugo


On Tue, Mar 4, 2014 at 12:10 PM, Dan Brown <dbrown@certicom.com> wrote:

> Dear CFRG list,
>
>
>
> If I understand correctly, the TLS WG plans a protocol revision which wil=
l
> modify the underlying key establishment scheme.  Should CFRG advise TLS o=
n
> key establishment?
>
>
>
> Naturally, TLS may have some specific requirements, directed towards the
> nature of the client and server in the transport layer, whereas CFRG migh=
t
> have expertise on a more generic security level.  So, perhaps, TLS could
> convey its requirements to CFRG, and CFRG could return a set of key
> establishment schemes that meet those requirements, in particular, those
> which have been extensively researched.  (Well, that=E2=80=99s a bit form=
al, and
> probably requires a few more iterations than I described, but seems
> sensible to me.)  More likely, TLS will pick their own key establishment
> scheme, and ask for CFRG=E2=80=99s blessing.
>
>
>
> I haven=E2=80=99t followed the TLS list too closely, but I=E2=80=99d summ=
arize two main
> possible approaches as: (1) patch and (2) overhaul.  On the overhaul side=
,
> I=E2=80=99ve seen Watson Ladd=E2=80=99s suggestion of signed ephemeral DH=
: which is
> something TLS already has, with the core of the proposal being to narrow
> the options drastically.  I=E2=80=99ve also seen a couple of IACR eprints=
 analyzing
> the security of certain TLS ciphersuites.  (Maybe these would go on the
> patch side?)  If I recall those papers correctly, they define some specia=
l
> security models just for TLS, but I forget if these models were chosen ju=
st
> to make the proofs work for the protocols used in the ciphersuites, or fo=
r
> something more fundamental like the nature of the transport layer.
>
>
>
> ***
>
>
>
> I=E2=80=99d like to suggest a key establishment scheme for CFRG considera=
tion: MQV
> (or one of its successors, maybe), with an eye to perhaps recommend to IE=
TF
> WGs such as TLS.
>
>
>
> ***
>
>
>
> Some generic (non-TLS-specific) issues for MQV:
>
>
>
> Two benefits of MQV over signed ephemeral DH, as I see it, would be
> efficiency (though I=E2=80=99m no expert) and better plausible deniabilit=
y (due to
> the lack of signatures).  I wonder what CFRG thinks of these benefits.
>
>
>
> Existing standards that specify versions of MQV include ANSI
> X9.{44,63,98}, NIST SP 800-56A, IEEE P1363, and SEC1.  Therefore, it may =
be
> redundant for CFRG to draft on RFC for MQV, although CFRG may wish to wri=
te
> an RFC to profile the version that they like best.
>
>
>
> These standards go towards the maturity of MQV, in the sense that they
> received scrutiny from the committees that drafted them, and have been
> public for a long time, and have served as an incentive to cryptanalytic
> research, being fairly high profile targets.
>
>
>
> The HMQV paper by Krawczyk critiques MQV, but these critiques did not see=
m
> terribly serious to me, at least when I last read them years ago.  Also,
> I=E2=80=99m not sure how other key establishment schemes fare under these=
 more
> stringent requirements (session-state reveal attacks, and so on).
>
>
>
> The version of the MQV from NIST requires identifiers in the KDF, which
> helps prevent UKS attacks.  (I=E2=80=99m not sure if TLS needs to resist =
UKS
> attacks, but a recent thread on the TLS reminds of UKS attacks.)
>
>
>
> I recently released a (rather theoretical and very incomplete) IACR eprin=
t
> on MQV.  It only covers a modest, but essential, level of security for ke=
y
> agreement schemes.  I think other people on the CFRG list are much more u=
p
> to speed on the key establishment schemes.
>
>
>
> ***
>
>
>
> Some TLS-specific issues for MQV, but at a high level for CFRG
> consideration:
>
>
>
> Past proposals to integrate MQV into TLS a few times include:
>
>
>
>
> https://datatracker.ietf.org/doc/search/?name=3Dmqv&rfcs=3Don&activedraft=
s=3Don&olddrafts=3Don&sort
> =3D
>
>
>
> Perhaps these could be improved, given current knowledge on key agreement=
.
>
>
>
> A major issue is that MQV usually presumes mutual authentication, but TLS
> accommodates anonymous clients. Leaving the MQV client =E2=80=9Cstatic=E2=
=80=9D key
> unauthenticated seems, at least intuitively, to reduce MQV to DH, on the
> client side, which is not much of a loss.  It may be possible to have
> stateful TLS client retain a static MQV key, but still unauthenticated.
> This could be used for the weaker TOFU model of trust, so may still have
> some security benefit.
>
>
>
> If I understand correctly, TLS may now want to add some kind of anonymity=
,
> e.g. encryption of certificates and other identifiers.  Since MQV involve=
s
> sending ephemeral key, these could, at the cost of an extra shared key
> computation, protect the static (certified or trusted) keys against passi=
ve
> adversaries.  I=E2=80=99m not sure if the resulting double use of the eph=
emeral
> keys would undermine the security of MQV.
>
>
>
> Best regards,
>
>
>
> -        Dan
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>
>

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

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:verdana,=
sans-serif;font-size:small"><div class=3D"gmail_default" style=3D"font-fami=
ly:verdana,sans-serif;font-size:small;display:inline">=E2=80=8BA few notes =
on the potential use of HMQV for TLS.<br>

<br>I do believe that HMQV could be a good basis for TLS 3.0 due to its eff=
iciency,<br>versatility, and proof of security (I comment a bit on these as=
pects below). <br>But given the patent issues surrounding the protocol I do=
ubt it would be<br>

feasible to get this standardized by the IETF. As I understand, Certicom ha=
s<br>some claims on the MQV protocol and IBM has a patent on HMQV.=C2=A0 <b=
r><br>HMQV gives an authenticated DH exchange <i>at essentially the cost of=
 plain DH</i> <br>

(plus certificate verification) and can support &quot;seamlessly&quot; seve=
ral functional<br>variants: from implicit mutual or unilateral authenticati=
on to explicit<br>authentication with key confirmation to a single message =
key exchange with<br>

unilateral or mutual authentication. The latter mode is particularly well s=
uited<br>as a one-message key exchange of the type I&#39;ve seen in some &q=
uot;TLS 3.0&quot; proposals<br>(which assume some form of anti-replay state=
) and has the advantage of<br>

optionally accommodating client authentication almost for free.<br><br>The =
protocol has a proof of security (scrutinized through several hundred paper=
s<br>that build upon HMQV) which not only serves to have confidence in the =
design but<br>

also avoids the &quot;safety margins&quot; typically needed for not-well-un=
derstood <br>protocols. Very importantly, it avoids the need to rely on the=
 CA to check the<br>algebraic properties of public keys (as it is required,=
 for example, by MQV).<br>

Indeed, such reliance would be a kiss of death to a protocol intended for w=
ide<br>use as CA&#39;s do not typically do such tests. In particular, it wo=
uld be totally<br>unusable for TLS where a server signs its own HMQV key (a=
nd the CA certifies the<br>

server signature key).<br><br>There has been some contention about the need=
 to do group membership tests in<br>HMQV. Indeed, the need for this depends=
 on the use case and security model.<br>However, this issue is relevant for=
 mod p groups where such tests are expensive.<br>

For elliptic curves the test is inexpensive hence can be made an integral p=
art<br>of the protocol.<br><br>Finally, for those wondering if UKS attacks =
should be avoided in TLS. For many<br>years I had to work hard to convince =
people that UKS attacks are real threats. <br>

The counter-intuitive nature of these attacks is that an attacker can cause=
 harm<br>without having to learn the key. Fortunately (or should I say unfo=
rtunately), the<br>&quot;re-negotiation bug&quot; in TLS is an excellent de=
monstration of how practical such an<br>

attack can be. Nothing better than the history of TLS to show that one bett=
er<br>takes seriously attacks that seem theoretical at first glance.<br>=E2=
=80=8B</div><br>Hugo</div><div class=3D"gmail_extra"><br><br><div class=3D"=
gmail_quote">

On Tue, Mar 4, 2014 at 12:10 PM, Dan Brown <span dir=3D"ltr">&lt;<a href=3D=
"mailto:dbrown@certicom.com" target=3D"_blank">dbrown@certicom.com</a>&gt;<=
/span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">

<div link=3D"blue" vlink=3D"purple" lang=3D"EN-US"><div><p class=3D"MsoNorm=
al"><span lang=3D"EN-CA">Dear CFRG list,<u></u><u></u></span></p><p class=
=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p class=
=3D"MsoNormal"><span lang=3D"EN-CA">If I understand correctly, the TLS WG p=
lans a protocol revision which will modify the underlying key establishment=
 scheme.=C2=A0 Should CFRG advise TLS on key establishment?=C2=A0 <u></u><u=
></u></span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Naturally, TLS may have some sp=
ecific requirements, directed towards the nature of the client and server i=
n the transport layer, whereas CFRG might have expertise on a more generic =
security level.=C2=A0 So, perhaps, TLS could convey its requirements to CFR=
G, and CFRG could return a set of key establishment schemes that meet those=
 requirements, in particular, those which have been extensively researched.=
=C2=A0 (Well, that=E2=80=99s a bit formal, and probably requires a few more=
 iterations than I described, but seems sensible to me.)=C2=A0 More likely,=
 TLS will pick their own key establishment scheme, and ask for CFRG=E2=80=
=99s blessing. <u></u><u></u></span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">I haven=E2=80=99t followed the =
TLS list too closely, but I=E2=80=99d summarize two main possible approache=
s as: (1) patch and (2) overhaul.=C2=A0 On the overhaul side, I=E2=80=99ve =
seen Watson Ladd=E2=80=99s suggestion of signed ephemeral DH: which is some=
thing TLS already has, with the core of the proposal being to narrow the op=
tions drastically.=C2=A0 I=E2=80=99ve also seen a couple of IACR eprints an=
alyzing the security of certain TLS ciphersuites.=C2=A0 (Maybe these would =
go on the patch side?)=C2=A0 If I recall those papers correctly, they defin=
e some special security models just for TLS, but I forget if these models w=
ere chosen just to make the proofs work for the protocols used in the ciphe=
rsuites, or for something more fundamental like the nature of the transport=
 layer.<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">***<u></u><u></u></span></p><p =
class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p =
class=3D"MsoNormal">

<span lang=3D"EN-CA">I=E2=80=99d like to suggest a key establishment scheme=
 for CFRG consideration: MQV (or one of its successors, maybe), with an eye=
 to perhaps recommend to IETF WGs such as TLS.=C2=A0 <u></u><u></u></span><=
/p><p class=3D"MsoNormal">

<span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNormal">=
<span lang=3D"EN-CA">***<u></u><u></u></span></p><p class=3D"MsoNormal"><sp=
an lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNormal"><sp=
an lang=3D"EN-CA">Some generic (non-TLS-specific) issues for MQV:<u></u><u>=
</u></span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Two benefits of MQV over signed=
 ephemeral DH, as I see it, would be efficiency (though I=E2=80=99m no expe=
rt) and better plausible deniability (due to the lack of signatures).=C2=A0=
 I wonder what CFRG thinks of these benefits.<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Existing standards that specify=
 versions of MQV include ANSI X9.{44,63,98}, NIST SP 800-56A, IEEE P1363, a=
nd SEC1.=C2=A0 Therefore, it may be redundant for CFRG to draft on RFC for =
MQV, although CFRG may wish to write an RFC to profile the version that the=
y like best.=C2=A0 =C2=A0<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">These standards go towards the =
maturity of MQV, in the sense that they received scrutiny from the committe=
es that drafted them, and have been public for a long time, and have served=
 as an incentive to cryptanalytic research, being fairly high profile targe=
ts.<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">The HMQV paper by Krawczyk crit=
iques MQV, but these critiques did not seem terribly serious to me, at leas=
t when I last read them years ago.=C2=A0 Also, I=E2=80=99m not sure how oth=
er key establishment schemes fare under these more stringent requirements (=
session-state reveal attacks, and so on).<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">The version of the MQV from NIS=
T requires identifiers in the KDF, which helps prevent UKS attacks.=C2=A0 (=
I=E2=80=99m not sure if TLS needs to resist UKS attacks, but a recent threa=
d on the TLS reminds of UKS attacks.)<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">I recently released a (rather t=
heoretical and very incomplete) IACR eprint on MQV. =C2=A0It only covers a =
modest, but essential, level of security for key agreement schemes.=C2=A0 I=
 think other people on the CFRG list are much more up to speed on the key e=
stablishment schemes.=C2=A0 <u></u><u></u></span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">***<u></u><u></u></span></p><p =
class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p =
class=3D"MsoNormal">

<span lang=3D"EN-CA">Some TLS-specific issues for MQV, but at a high level =
for CFRG consideration:<u></u><u></u></span></p><p class=3D"MsoNormal"><spa=
n lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNormal"><spa=
n lang=3D"EN-CA">Past proposals to integrate MQV into TLS a few times inclu=
de:<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA"><a href=3D"https://datatracker.=
ietf.org/doc/search/?name=3Dmqv&amp;rfcs=3Don&amp;activedrafts=3Don&amp;old=
drafts=3Don&amp;sort" target=3D"_blank">https://datatracker.ietf.org/doc/se=
arch/?name=3Dmqv&amp;rfcs=3Don&amp;activedrafts=3Don&amp;olddrafts=3Don&amp=
;sort</a>=3D<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Perhaps these could be improved=
, given current knowledge on key agreement.<u></u><u></u></span></p><p clas=
s=3D"MsoNormal">

<span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNormal">=
<span lang=3D"EN-CA">A major issue is that MQV usually presumes mutual auth=
entication, but TLS accommodates anonymous clients. Leaving the MQV client =
=E2=80=9Cstatic=E2=80=9D key unauthenticated seems, at least intuitively, t=
o reduce MQV to DH, on the client side, which is not much of a loss.=C2=A0 =
It may be possible to have stateful TLS client retain a static MQV key, but=
 still unauthenticated. This could be used for the weaker TOFU model of tru=
st, so may still have some security benefit.<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">If I understand correctly, TLS =
may now want to add some kind of anonymity, e.g. encryption of certificates=
 and other identifiers.=C2=A0 Since MQV involves sending ephemeral key, the=
se could, at the cost of an extra shared key computation, protect the stati=
c (certified or trusted) keys against passive adversaries.=C2=A0 I=E2=80=99=
m not sure if the resulting double use of the ephemeral keys would undermin=
e the security of MQV.<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Best regards,<u></u><u></u></sp=
an></p><p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></sp=
an></p><p style=3D"margin-left:.75in">

<u></u><span lang=3D"EN-CA"><span>-<span style=3D"font:7.0pt &quot;Times Ne=
w Roman&quot;">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </span></span></s=
pan><u></u><span lang=3D"EN-CA">Dan<u></u><u></u></span></p><table style=3D=
"width:6.25in" border=3D"0" cellpadding=3D"0" cellspacing=3D"0" width=3D"75=
0">

<tbody><tr><td style=3D"padding:0in 0in 3.0pt 0in"></td></tr><tr><td style=
=3D"padding:0in 0in 0in 0in"><p class=3D"MsoNormal" style=3D"margin-top:3.7=
5pt"><span style=3D"font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;san=
s-serif&quot;"><u></u>=C2=A0<u></u></span></p>

</td></tr></tbody></table><p class=3D"MsoNormal"><span style=3D"font-size:1=
2.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><u></u>=C2=
=A0<u></u></span></p><table style=3D"width:6.25in" border=3D"0" cellpadding=
=3D"0" cellspacing=3D"0" width=3D"750">

<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;"><u></u>=C2=A0<u></u></span></p><tabl=
e style=3D"width:6.25in" border=3D"0" cellpadding=3D"0" cellspacing=3D"3" w=
idth=3D"750">

<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;Times New Roman&quot;,&qu=
ot;serif&quot;"><img src=3D"cid:image001.jpg@01CF37A2.B70EBDE0" height=3D"4=
3" border=3D"0" width=3D"176"></span><span style=3D"font-size:12.0pt;font-f=
amily:&quot;Times New Roman&quot;,&quot;serif&quot;"><u></u><u></u></span><=
/p>

</td></tr><tr><td style=3D"width:6.25in;padding:9.75pt 0in 0in 0in" width=
=3D"750"></td></tr></tbody></table><p class=3D"MsoNormal"><span lang=3D"EN-=
CA"><u></u>=C2=A0<u></u></span></p></div></div><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>
<br></blockquote></div><br></div></div>

--001a11c3e24627f90704f3e8d276--
--001a11c3e24627f90a04f3e8d277
Content-Type: image/jpeg; name="image001.jpg"
Content-Disposition: inline; filename="image001.jpg"
Content-Transfer-Encoding: base64
Content-ID: <image001.jpg@01CF37A2.B70EBDE0>
X-Attachment-Id: cefddd6471b9e8e5_0.0.0.1

/9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAArALADASIA
AhEBAxEB/8QAHwAA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5ijIxnv04+tYeiw+L/HS3Pi271x7PTbaUuI1YgMqHJQAflz61VurRNN+FWoa
nBob6ZcanLHBFGXZ2kjB5OMcV192G8N/s9rEkbJc3FsBtC8h3OTx9KAMDQovGHxU1K41NdYfT9Jg
m2pGpI4/ugD271e+FPiWfTV8V/21fSyRaf8AODM5OACw7+vFdp8IdMbTfh3YCRNksxaVwR6nj9K8
U8R6PqFz8UNW8O6c7gX12FZVPBXg5P05oA9E+Fv9seLPEmo+LNRubhbESMtrb7zsyfbuAOK9irO0
HRrbw/olrpdooEVugXOPvHuT7k1o0CCiiigAooooAhms7a4YNNbxSMOhdAafFDFAmyGNI1/uouBT
6KAKzafZvdi6a0gNwOkpjG4fj1psml6fNci5lsrd5wc+Y0QLfnVuigCGO1t4pWljgjSRvvMqAE/j
UVzplheuHurK3ncDAaSMMR+dW6KAIfstv9nFv5EfkjgR7Bt/KnpDHFEIo41WMDAVRgflT6KAIYbW
3t93kwRx7vvbEAz9ajGm2IYMLO3DA5B8sVaooAKpSaRps05nl0+1eUnJdolJz9cVdooAiltoJ0CT
QxyKvQOoIFElvBLEIpIY3jHRWUEflUtFAFDVJriw0e4k060E1xHGfJgXgM3YfSvPPhb4J1PTtQ1D
xH4khK6tdSEIrNuKKepz78D8K9SooAKKKKAP/9k=
--001a11c3e24627f90a04f3e8d277--


From nobody Wed Mar  5 23:38:40 2014
Return-Path: <stebila@qut.edu.au>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1F701A0103 for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 23:38:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.744
X-Spam-Level: 
X-Spam-Status: No, score=-1.744 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_AU=0.377, HOST_EQ_AU=0.327, RP_MATCHES_RCVD=-0.547, 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 GcWl5gxnnsei for <cfrg@ietfa.amsl.com>; Wed,  5 Mar 2014 23:38:35 -0800 (PST)
Received: from QUTEXEDGE06.qut.edu.au (qutexedge06.qut.edu.au [131.181.191.23]) by ietfa.amsl.com (Postfix) with ESMTP id BF3811A0101 for <cfrg@irtf.org>; Wed,  5 Mar 2014 23:38:33 -0800 (PST)
Received: from EX10HT01.qut.edu.au (131.181.107.232) by QUTEXEDGE06.qut.edu.au (131.181.191.23) with Microsoft SMTP Server (TLS) id 8.3.279.5; Thu, 6 Mar 2014 17:38:28 +1000
Received: from EX10MB6.qut.edu.au ([169.254.8.72]) by EX10HT01.qut.edu.au ([131.181.107.232]) with mapi id 14.03.0158.001; Thu, 6 Mar 2014 17:38:28 +1000
From: Douglas Stebila <stebila@qut.edu.au>
To: Yutaka OIWA <y.oiwa@aist.go.jp>
Thread-Topic: [Cfrg] [requesting suggestions] password hashing for PAKE
Thread-Index: AQHPOJYLQjINuzE2s0iqo2Lbt3G5SprTBTqA
Date: Thu, 6 Mar 2014 07:38:28 +0000
Message-ID: <7A208E69-61AB-4243-9402-C072A097D73B@qut.edu.au>
References: <CAMeZVwu_g_h5LN1be=c3PS-Yjfhp=U6e5LvZ7tFEGtF15jO=BQ@mail.gmail.com>
In-Reply-To: <CAMeZVwu_g_h5LN1be=c3PS-Yjfhp=U6e5LvZ7tFEGtF15jO=BQ@mail.gmail.com>
Accept-Language: en-CA, en-AU, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [131.181.118.223]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <EF5D8D9AA655FC49987C00F47840BDD4@exchange.qut.edu.au>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/fV7XPltuDQ3THIzNkniZsThdQoc
Cc: cfrg <cfrg@irtf.org>
Subject: Re: [Cfrg] [requesting suggestions] password hashing for PAKE
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Mar 2014 07:38:37 -0000

Section B.5.1 of NIST SP 800-90A discusses different ways and relative meri=
ts of pseudorandomly generating integers in a range using a pseudorandom bi=
t generator. =20

I don't know enough about your protocol to know whether just using a 256-bi=
t value is fine or whether you need a full-domain value, in some cases it c=
an matter and in some cases it doesn't matter.  If you're not certain, it's=
 probably safest to go with a full domain value.

As for PBKDF2's role in this, the PBKDF2 spec allows for variable (block) l=
ength output, basically by running multiple blocks of PBKDF2 with the same =
password/salt/iteration but the input concatenated with a counter for the b=
lock number.  Thus you can use standardized PBKDF2 to produce as many bits =
are required for the method you choose from B.5.1 of NIST SP 800-90A.

(My intuition is that PBKDF2's method for generating multiple block outputs=
 is overkill: I think for hardening purposes it would suffice to generate a=
 single block output key using PBKDF2 and then generating the desired varia=
ble length output using a non-hardened KDF from that single block key.  But=
 since PBKDF2 does do variable length output itself, you might as well use =
that for compatibility.)

Douglas


On 2014/03/06, at 03:11, Yutaka OIWA <y.oiwa@aist.go.jp> wrote:

> Dear all in CFRG mailing list,
>=20
> I want to have some suggestions about the use of strengthened password
> hash for the PAKE family of protocols in reality.
>=20
> As you know (better than me), "password" in cryptographic primitives
> is just an element of some group, usually an integer element in a cyclic =
group.
> In real world, "passwords" is just an octet string of unlimited, unfixed =
length.
> So we need to convert the latter to the former.
>=20
> We assume, hereafter, we use 256-bit hash, and some cyclic group Z/rZ
> generated by 2047-bit prime r as a target group.
>=20
> The simple way of doing that conversion is to apply an existing hash func=
tion.
> To prevent off-line attacks from credentials stolen from server-side stor=
age,
> we suggested use of some existing password-strengthening hashes
> such as PBKDF2 (RFC 2898), and are preparing to do so.
> The usual hash produces an integer in [0, 2^256 - 1], and
> PBKDF2 can produce some larger output like one in [0, 2^1792 - 1], but
> what we want best is an integer uniformly distributed in range [0, r - 1]=
.
> (PBKDF2's output length is limited to the multiple of that of the base
> hash function.)
> So, how do you think what is the best tactics among below?
>=20
> 1) PAKE allows non-uniform distribution of passwords, so
>     just having 256-bit is fine.
> 2) It's better do as long as possible with existing functions, so
> have 1792 bit.
> 3) We may introduce a small trick to PBKDF2 to produce 2046 bit (the
> best integer).
> 4) We should implement SOMETHING which will produce the best [0, r-1] ran=
ge.
>=20
> Especially for 4), do you have some suggestions for doing that?
> Do you also have some recommendations for better alternatives other
> than PBKDF2 for use with IETF experimental (or standard-track) documents?
>=20
> Thanks a lot,
>=20
> --=20
> Yutaka OIWA, Ph.D.                 Leader, System Life-cycle Research Gro=
up
>                               Research Institute for Secure Systems (RISE=
C)
>     National Institute of Advanced Industrial Science and Technology (AIS=
T)
>                       Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.j=
p>
> OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 46=
B5]
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Thu Mar  6 01:44:17 2014
Return-Path: <feng.hao@newcastle.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 1B8B91A0189 for <cfrg@ietfa.amsl.com>; Thu,  6 Mar 2014 01:44:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.601
X-Spam-Level: 
X-Spam-Status: No, score=-3.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, J_CHICKENPOX_31=0.6, RCVD_IN_DNSWL_MED=-2.3, 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 UdcPSeKRDRs3 for <cfrg@ietfa.amsl.com>; Thu,  6 Mar 2014 01:44:07 -0800 (PST)
Received: from cheviot12.ncl.ac.uk (cheviot12.ncl.ac.uk [128.240.234.12]) by ietfa.amsl.com (Postfix) with ESMTP id 9A6FF1A0188 for <cfrg@irtf.org>; Thu,  6 Mar 2014 01:44:06 -0800 (PST)
Received: from exhubvm02.ncl.ac.uk ([128.240.234.9] helo=EXHUBVM02.campus.ncl.ac.uk) by cheviot12.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from <feng.hao@newcastle.ac.uk>) id 1WLUqQ-00046W-9s; Thu, 06 Mar 2014 09:44:02 +0000
Received: from EXMBDB02.campus.ncl.ac.uk ([fe80::c039:e17:9d60:9f3]) by EXHUBVM02.campus.ncl.ac.uk ([2002:80f0:ea09::80f0:ea09]) with mapi id 14.03.0158.001; Thu, 6 Mar 2014 09:43:44 +0000
From: Feng Hao <feng.hao@newcastle.ac.uk>
To: Watson Ladd <watsonbladd@gmail.com>
Thread-Topic: [Cfrg] Key establishment advice (say, for TLS): How about MQV?
Thread-Index: Ac83z0llZtT/vCOFQoawCOkdH1P3UQAQfBCAABBwelAAHU/XgAAVu440
Date: Thu, 6 Mar 2014 09:43:43 +0000
Message-ID: <B15015334706B5489C2DCD6698A3D6CC11370E@EXMBDB02.campus.ncl.ac.uk>
References: <CF3B7563.125D8%uri@ll.mit.edu> <CACsn0c=V0bakFm+bn-6V3aQud=MbUDvTsiRnZw7SapEZ1pnVHw@mail.gmail.com> <B15015334706B5489C2DCD6698A3D6CC112461@EXMBDB02.campus.ncl.ac.uk>, <CACsn0cnZVLD8hf58B4qFv0zLXK3y9WRqz+0qiNTMGKKzRjHzow@mail.gmail.com>
In-Reply-To: <CACsn0cnZVLD8hf58B4qFv0zLXK3y9WRqz+0qiNTMGKKzRjHzow@mail.gmail.com>
Accept-Language: en-US, en-GB
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.4.160.6]
Content-Type: multipart/alternative; boundary="_000_B15015334706B5489C2DCD6698A3D6CC11370EEXMBDB02campusncl_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/3-tw9j5ZT5lwsYVmP24DvEoZ4DA
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Key establishment advice (say, for TLS): How about MQV?
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Mar 2014 09:44:12 -0000

--_000_B15015334706B5489C2DCD6698A3D6CC11370EEXMBDB02campusncl_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hi Watson,

i cc CFRG as other people may have the similar question.

________________________________
From: Watson Ladd [watsonbladd@gmail.com]
Sent: Wednesday, March 05, 2014 11:11 PM
To: Feng Hao
Subject: RE: [Cfrg] Key establishment advice (say, for TLS): How about MQV?


On Mar 5, 2014 2:49 AM, "Feng Hao" <feng.hao@newcastle.ac.uk<mailto:feng.ha=
o@newcastle.ac.uk>> wrote:
>
> Hi,
>
> >However, one does need (F?)HMQV, because the unkown-key share attack
> >on MQV can be mounted if private key possession is not proved. In some
> >of the environments TLS will run this is an essential property. The
> >anonymous variant has been analyzed: it's the ACE protocol that Tor is
> >considering using.
>
> Sorry to be nitpicking, but the UKS attack on MQV was not because of the =
reason mentioned above (it still works even if PoP is done properly by the =
CA). It was because the user identities were not included in the key exchan=
ge flows [1]. In the original MQV, the user identities are only included in=
 the explicit key confirmation phase. Hence, the UKS attack only works on t=
he 2-pass MQV (i.e., without explicit key confirmation), but not on the 3-p=
ass MQV (with explicit key confirmation).
>
> In any case, this shows a weakness in the original MQV. In [2], a variant=
 of the MQV is described, which includes the user identities into the key d=
erivation function (see Sec 2.2, K =3D H(.., A, B)).  Thus, the 2-pass MQV =
is immune to UKS attack as well, but it brings a subtle issue: two users ne=
ed to agree whose identity comes first. This would imply at least in theory=
, the protocol is no longer one-round. (Yes, I know we can fix it by using =
K =3D H(... Min(A,B), Max(A,B)), though it won't look pretty.)
>
> HMQV was designed with motivation for "provable security". However, calli=
ng it as hash variant of MQV would be a bit misleading, as it is actually m=
ore than that. On one hand, it does the right thing by including user ident=
ities within the key exchange flows using a hash function, hence preventing=
 the UKS attack. On the other hand, it explicitly drops two important safeg=
uards: 1) during CA registration, it doesn't require CA to validate the sub=
mitted public key other than checking the value is not 0; 2) during key exc=
hange, it doesn't require validating the received ephemeral public key, hen=
ce accepting any key even when it is apparently invalid (say a small subgro=
up element). The HMQV author presents formal proofs to argue two safeguards=
 are redundant. However, I have reserved opinions on dropping those two saf=
eguards (despite the proofs) and I wrote a paper on this subject in 2010 [3=
] (a journal version of the paper with more details can be found in [4]). I=
t is fair to say when implementing HMQV, one needs to at least be aware of =
these issues.
>

Would using exponents that kill the cofactor solve this?


Not entirely. In the prime field mod p, there is always at least one small =
subgroup (size 2), hence the need to check it.


In the EC setting, one needs to at least check if the public key is a valid=
 point on the curve (rather than a random string). If the EC group has co-f=
actor > 1, one also needs to check if the public key on the curve has the p=
roper order.


As u can see, the cost of validating public keys varies according to differ=
ent group settings, from very expensive to almost negligible. But the main =
point here is the need, rather than the cost, of doing such security checks=
.


In some very specialized applications (which are not clear to me at the mom=
ent), you might want to remove all these checks altogether as said in the H=
MQV paper. But one will need to be cautious =96 especially considering that=
 the security environments may change over time (and they often do).


> As I understand it, one practical issue with MQV is that it was patented.=
 However, I am not sure what the current patent status of MQV (and ECMQV) i=
s.
>
> [1] B. Kaliski, "An unknown key-sharing attack on the MQV key agreement p=
rotocol," ACM Transactions on Information and System Security, Vol. 4. No. =
3, 2001, pp. 275-288.
>
> [2] A. Menezes, B. Ustaoglu, "On the importance of public-key validation =
in the MQV and HMQV key agreement protocols," INDOCRYPT'06, LNCS 4329, pp. =
133-147, 2006.
>
> [3] F. Hao, "On Robust Key Agreement Based on Public Key Authentication",=
 Proceedings of the 14th International Conference on Financial Cryptography=
 and Data Security (FC'10), Tenerife, Spain, LNCS 6052, pp. 383-390, 2010.
>
> [4] F, Hao, "On Robust Key Agreement Based on Public Key Authentication,"=
 Security and Communication Networks, Special issue on Design and Engineeri=
ng of Cryptographic Solutions for Secure Information Systems, Wiley, 2012
>
> Cheers,
> Feng

--_000_B15015334706B5489C2DCD6698A3D6CC11370EEXMBDB02campusncl_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html dir=3D"ltr">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
<style id=3D"owaParaStyle" type=3D"text/css">P {margin-top:0;margin-bottom:=
0;}</style>
</head>
<body ocsi=3D"0" fpstyle=3D"1">
<div style=3D"direction: ltr;font-family: Tahoma;color: #000000;font-size: =
10pt;">Hi Watson,<br>
<br>
i cc CFRG as other people may have the similar question.<br>
<br>
<div style=3D"font-family: Times New Roman; color: #000000; font-size: 16px=
">
<hr tabindex=3D"-1">
<div style=3D"direction: ltr;" id=3D"divRpF863306"><font color=3D"#000000" =
face=3D"Tahoma" size=3D"2"><b>From:</b> Watson Ladd [watsonbladd@gmail.com]=
<br>
<b>Sent:</b> Wednesday, March 05, 2014 11:11 PM<br>
<b>To:</b> Feng Hao<br>
<b>Subject:</b> RE: [Cfrg] Key establishment advice (say, for TLS): How abo=
ut MQV?<br>
</font><br>
</div>
<div></div>
<div>
<p dir=3D"ltr"><br>
On Mar 5, 2014 2:49 AM, &quot;Feng Hao&quot; &lt;<a href=3D"mailto:feng.hao=
@newcastle.ac.uk" target=3D"_blank">feng.hao@newcastle.ac.uk</a>&gt; wrote:=
<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; &gt;However, one does need (F?)HMQV, because the unkown-key share atta=
ck<br>
&gt; &gt;on MQV can be mounted if private key possession is not proved. In =
some<br>
&gt; &gt;of the environments TLS will run this is an essential property. Th=
e<br>
&gt; &gt;anonymous variant has been analyzed: it's the ACE protocol that To=
r is<br>
&gt; &gt;considering using.<br>
&gt;<br>
&gt; Sorry to be nitpicking, but the UKS attack on MQV was not because of t=
he reason mentioned above (it still works even if PoP is done properly by t=
he CA). It was because the user identities were not included in the key exc=
hange flows [1]. In the original MQV,
 the user identities are only included in the explicit key confirmation pha=
se. Hence, the UKS attack only works on the 2-pass MQV (i.e., without expli=
cit key confirmation), but not on the 3-pass MQV (with explicit key confirm=
ation).<br>
&gt;<br>
&gt; In any case, this shows a weakness in the original MQV. In [2], a vari=
ant of the MQV is described, which includes the user identities into the ke=
y derivation function (see Sec 2.2, K =3D H(.., A, B)). &nbsp;Thus, the 2-p=
ass MQV is immune to UKS attack as well, but
 it brings a subtle issue: two users need to agree whose identity comes fir=
st. This would imply at least in theory, the protocol is no longer one-roun=
d. (Yes, I know we can fix it by using K =3D H(... Min(A,B), Max(A,B)), tho=
ugh it won't look pretty.)<br>
&gt;<br>
&gt; HMQV was designed with motivation for &quot;provable security&quot;. H=
owever, calling it as hash variant of MQV would be a bit misleading, as it =
is actually more than that. On one hand, it does the right thing by includi=
ng user identities within the key exchange flows
 using a hash function, hence preventing the UKS attack. On the other hand,=
 it explicitly drops two important safeguards: 1) during CA registration, i=
t doesn't require CA to validate the submitted public key other than checki=
ng the value is not 0; 2) during
 key exchange, it doesn't require validating the received ephemeral public =
key, hence accepting any key even when it is apparently invalid (say a smal=
l subgroup element). The HMQV author presents formal proofs to argue two sa=
feguards are redundant. However,
 I have reserved opinions on dropping those two safeguards (despite the pro=
ofs) and I wrote a paper on this subject in 2010 [3] (a journal version of =
the paper with more details can be found in [4]). It is fair to say when im=
plementing HMQV, one needs to at
 least be aware of these issues.<br>
&gt;</p>
<p dir=3D"ltr">Would using exponents that kill the cofactor solve this?</p>
<br>
<p dir=3D"ltr"><!--[if gte mso 9]><xml>=0A=
 <o:OfficeDocumentSettings>=0A=
  <o:AllowPNG/>=0A=
 </o:OfficeDocumentSettings>=0A=
</xml><![endif]--></p>
<p dir=3D"ltr"><!--[if gte mso 9]><xml>=0A=
 <w:WordDocument>=0A=
  <w:View>Normal</w:View>=0A=
  <w:Zoom>0</w:Zoom>=0A=
  <w:TrackMoves/>=0A=
  <w:TrackFormatting/>=0A=
  <w:PunctuationKerning/>=0A=
  <w:ValidateAgainstSchemas/>=0A=
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>=0A=
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>=0A=
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>=0A=
  <w:DoNotPromoteQF/>=0A=
  <w:LidThemeOther>EN-GB</w:LidThemeOther>=0A=
  <w:LidThemeAsian>ZH-CN</w:LidThemeAsian>=0A=
  <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>=0A=
  <w:Compatibility>=0A=
   <w:BreakWrappedTables/>=0A=
   <w:SnapToGridInCell/>=0A=
   <w:WrapTextWithPunct/>=0A=
   <w:UseAsianBreakRules/>=0A=
   <w:DontGrowAutofit/>=0A=
   <w:SplitPgBreakAndParaMark/>=0A=
   <w:EnableOpenTypeKerning/>=0A=
   <w:DontFlipMirrorIndents/>=0A=
   <w:OverrideTableStyleHps/>=0A=
   <w:UseFELayout/>=0A=
  </w:Compatibility>=0A=
  <m:mathPr>=0A=
   <m:mathFont m:val=3D"Cambria Math"/>=0A=
   <m:brkBin m:val=3D"before"/>=0A=
   <m:brkBinSub m:val=3D"&#45;-"/>=0A=
   <m:smallFrac m:val=3D"off"/>=0A=
   <m:dispDef/>=0A=
   <m:lMargin m:val=3D"0"/>=0A=
   <m:rMargin m:val=3D"0"/>=0A=
   <m:defJc m:val=3D"centerGroup"/>=0A=
   <m:wrapIndent m:val=3D"1440"/>=0A=
   <m:intLim m:val=3D"subSup"/>=0A=
   <m:naryLim m:val=3D"undOvr"/>=0A=
  </m:mathPr></w:WordDocument>=0A=
</xml><![endif]--><!--[if gte mso 9]><xml>=0A=
 <w:LatentStyles DefLockedState=3D"false" DefUnhideWhenUsed=3D"true"=0A=
  DefSemiHidden=3D"true" DefQFormat=3D"false" DefPriority=3D"99"=0A=
  LatentStyleCount=3D"267">=0A=
  <w:LsdException Locked=3D"false" Priority=3D"0" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Normal"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"9" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"heading 1"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"=
heading 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"=
heading 3"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"=
heading 4"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"=
heading 5"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"=
heading 6"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"=
heading 7"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"=
heading 8"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" Name=3D"=
heading 9"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 1"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 3"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 4"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 5"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 6"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 7"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 8"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 9"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"35" QFormat=3D"true" Name=3D=
"caption"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"10" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Title"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"1" Name=3D"Default Paragraph=
 Font"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"11" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Subtitle"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"22" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Strong"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"20" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Emphasis"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"59" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Table Grid"/>=0A=
  <w:LsdException Locked=3D"false" UnhideWhenUsed=3D"false" Name=3D"Placeho=
lder Text"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"1" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"No Spacing"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light Shading"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light List"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light Grid"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium List 1"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium List 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Dark List"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful Shading"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful List"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful Grid"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 1"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light List Accent 1"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 1"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 1"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 1"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 1"/>=0A=
  <w:LsdException Locked=3D"false" UnhideWhenUsed=3D"false" Name=3D"Revisio=
n"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"34" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"List Paragraph"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"29" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Quote"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"30" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Intense Quote"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 1"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 1"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 1"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 1"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 1"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 1"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 1"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 1"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light List Accent 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 2"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 3"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light List Accent 3"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 3"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 3"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 3"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 3"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 3"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 3"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 3"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 3"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 3"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 3"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 3"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 3"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 4"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light List Accent 4"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 4"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 4"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 4"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 4"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 4"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 4"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 4"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 4"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 4"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 4"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 4"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 4"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 5"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light List Accent 5"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 5"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 5"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 5"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 5"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 5"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 5"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 5"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 5"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 5"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 5"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 5"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 5"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 6"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light List Accent 6"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 6"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 6"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 6"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 6"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 6"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 6"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 6"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 6"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 6"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 6"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 6"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 6"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"19" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Subtle Emphasis"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"21" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Intense Emphasis"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"31" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Subtle Reference"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"32" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Intense Reference"/>=
=0A=
  <w:LsdException Locked=3D"false" Priority=3D"33" SemiHidden=3D"false"=0A=
   UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Book Title"/>=0A=
  <w:LsdException Locked=3D"false" Priority=3D"37" Name=3D"Bibliography"/>=
=0A=
  <w:LsdException Locked=3D"false" Priority=3D"39" QFormat=3D"true" Name=3D=
"TOC Heading"/>=0A=
 </w:LatentStyles>=0A=
</xml><![endif]--><!--[if gte mso 10]>=0A=
<style>=0A=
 /* Style Definitions */=0A=
 table.MsoNormalTable=0A=
	{mso-style-name:"Table Normal";=0A=
	mso-tstyle-rowband-size:0;=0A=
	mso-tstyle-colband-size:0;=0A=
	mso-style-noshow:yes;=0A=
	mso-style-priority:99;=0A=
	mso-style-parent:"";=0A=
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;=0A=
	mso-para-margin:0cm;=0A=
	mso-para-margin-bottom:.0001pt;=0A=
	mso-pagination:widow-orphan;=0A=
	font-size:11.0pt;=0A=
	font-family:"Calibri","sans-serif";=0A=
	mso-ascii-font-family:Calibri;=0A=
	mso-ascii-theme-font:minor-latin;=0A=
	mso-hansi-font-family:Calibri;=0A=
	mso-hansi-theme-font:minor-latin;}=0A=
</style>=0A=
<![endif]--></p>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;mso-ascii-theme-font:=0A=
minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&quot;Tim=
es New Roman&quot;;=0A=
mso-bidi-theme-font:minor-bidi;color:#1F497D;mso-themecolor:dark2">Not enti=
rely. In
 the prime field mod p, there is always at least one small subgroup (size 2=
), hence the need to check it.</span></p>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;mso-ascii-theme-font:=0A=
minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&quot;Tim=
es New Roman&quot;;=0A=
mso-bidi-theme-font:minor-bidi;color:#1F497D;mso-themecolor:dark2"><br>
</span></p>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;mso-ascii-theme-font:=0A=
minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&quot;Tim=
es New Roman&quot;;=0A=
mso-bidi-theme-font:minor-bidi;color:#1F497D;mso-themecolor:dark2">In the E=
C setting,
 one needs to at least check if the public key is a valid point on the curv=
e (rather than a random string). If the EC group has co-factor &gt; 1, one =
also needs to check if the public key on the curve has the proper order.</s=
pan></p>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;mso-ascii-theme-font:=0A=
minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&quot;Tim=
es New Roman&quot;;=0A=
mso-bidi-theme-font:minor-bidi;color:#1F497D;mso-themecolor:dark2"><br>
</span></p>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;mso-ascii-theme-font:=0A=
minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&quot;Tim=
es New Roman&quot;;=0A=
mso-bidi-theme-font:minor-bidi;color:#1F497D;mso-themecolor:dark2">As u can=
 see, the
 cost of validating public keys varies according to different group setting=
s, from very expensive to almost negligible. But the main point here is the=
 need, rather than the cost, of doing such security checks.
<br>
</span></p>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;mso-ascii-theme-font:=0A=
minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&quot;Tim=
es New Roman&quot;;=0A=
mso-bidi-theme-font:minor-bidi;color:#1F497D;mso-themecolor:dark2"><br>
</span></p>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;mso-ascii-theme-font:=0A=
minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&quot;Tim=
es New Roman&quot;;=0A=
mso-bidi-theme-font:minor-bidi;color:#1F497D;mso-themecolor:dark2">In some =
very specialized
 applications (which are not clear to me at the moment), you might want to =
remove all these checks altogether as said in the HMQV paper. But one will =
need to be cautious =96 especially considering that the security environmen=
ts may change over time (and they
 often do).</span></p>
<p></p>
<p dir=3D"ltr"><br>
</p>
<p dir=3D"ltr">&gt; As I understand it, one practical issue with MQV is tha=
t it was patented. However, I am not sure what the current patent status of=
 MQV (and ECMQV) is.<br>
&gt;<br>
&gt; [1] B. Kaliski, &quot;An unknown key-sharing attack on the MQV key agr=
eement protocol,&quot; ACM Transactions on Information and System Security,=
 Vol. 4. No. 3, 2001, pp. 275-288.<br>
&gt;<br>
&gt; [2] A. Menezes, B. Ustaoglu, &quot;On the importance of public-key val=
idation in the MQV and HMQV key agreement protocols,&quot; INDOCRYPT'06, LN=
CS 4329, pp. 133-147, 2006.<br>
&gt;<br>
&gt; [3] F. Hao, &quot;On Robust Key Agreement Based on Public Key Authenti=
cation&quot;, Proceedings of the 14th International Conference on Financial=
 Cryptography and Data Security (FC'10), Tenerife, Spain, LNCS 6052, pp. 38=
3-390, 2010.<br>
&gt;<br>
&gt; [4] F, Hao, &quot;On Robust Key Agreement Based on Public Key Authenti=
cation,&quot; Security and Communication Networks, Special issue on Design =
and Engineering of Cryptographic Solutions for Secure Information Systems, =
Wiley, 2012<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Feng<br>
</p>
</div>
</div>
</div>
</body>
</html>

--_000_B15015334706B5489C2DCD6698A3D6CC11370EEXMBDB02campusncl_--


From nobody Thu Mar  6 01:58:20 2014
Return-Path: <hanno@hboeck.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 1244D1A01D3 for <cfrg@ietfa.amsl.com>; Thu,  6 Mar 2014 01:58:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MANGLED_BACK=2.3, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, 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 mk2eRSLpuy71 for <cfrg@ietfa.amsl.com>; Thu,  6 Mar 2014 01:58:13 -0800 (PST)
Received: from zucker.schokokeks.org (zucker.schokokeks.org [178.63.68.96]) by ietfa.amsl.com (Postfix) with ESMTP id 598611A01C8 for <cfrg@irtf.org>; Thu,  6 Mar 2014 01:58:13 -0800 (PST)
Received: from localhost (91-64-48-103-dynip.superkabel.de [::ffff:91.64.48.103]) (AUTH: LOGIN hanno-default@schokokeks.org, TLS: TLSv1/SSLv3, 128bits, AES128-GCM-SHA256) by zucker.schokokeks.org with ESMTPSA; Thu, 06 Mar 2014 10:58:08 +0100 id 00000000000200C9.00000000531846B0.00007351
Date: Thu, 6 Mar 2014 10:57:38 +0100
From: Hanno =?UTF-8?B?QsO2Y2s=?= <hanno@hboeck.de>
To: cfrg@irtf.org
Message-ID: <20140306105738.65e922dd@hboeck.de>
In-Reply-To: <CACsn0c==kKAWD=hhWoMb0r2VK5nx2GRHX_LemwyeuToCEsM6LQ@mail.gmail.com>
References: <CACsn0c==kKAWD=hhWoMb0r2VK5nx2GRHX_LemwyeuToCEsM6LQ@mail.gmail.com>
X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="=_zucker.schokokeks.org-29521-1394099888-0001-2"
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/PcvZV6tpQ-mUejqw2DnleffVTUk
Subject: Re: [Cfrg] Upcoming competition deadlines
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Mar 2014 09:58:16 -0000

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_zucker.schokokeks.org-29521-1394099888-0001-2
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Wed, 5 Mar 2014 18:10:06 -0800
Watson Ladd <watsonbladd@gmail.com> wrote:

> I think it's clear that we need a side-channels draft: since people
> seem to vehemently disagree about ladd-safecurves, and there are some
> open technical questions about what formats are good, I'm going to
> redirect my efforts to getting the side-channels draft further along.
> Comments on what would make it useful/scarier would be greatly
> appreciated.

Just some quick thoughts on that: I think this is remarkably
challenging. Because you're faced with a pretty tough question: What
exactly is a "side channel"?

We can probably come up with a formal definition of a timing side
channel easily. But "side channels" in general are an almost infinite
amunt of things. You could probably sum them up as "every information
about keys and encrypted messages that leaves a cryptosystem through
any kind of channel, including physics".

It's probably just plain impossible to build any kind of system that
does calculations without affecting its surrounding physics based on
the content of the calculation. That said: We probably have to face the
fact that a side channel-free system is impossible.

So any kind of side channel protection can only work with some kind of
heuristics. We can lower the information impact on the outside world
(this is what RSA blinding does for example).

--=20
Hanno B=C3=B6ck
http://hboeck.de/

mail/jabber: hanno@hboeck.de
GPG: BBB51E42

--=_zucker.schokokeks.org-29521-1394099888-0001-2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBCgAGBQJTGEaSAAoJEKWIAHK7tR5C0jEP/2+gCNYL1ZhZa8jboaVnM0VD
TWf3Ux9eOxe5LfzG5vEs1YJnC4p/OFWzPdr87L6wWVLsSpdzpGw9OCm2xyTngnpH
n1AvdztB1+lZYOY3InYRX5ISRpFkYJ+nnbR3Un/BwKRwblLcA1ue2JZ37k6k0z0f
77QpE+rflkkrz/2o4+mG0jM7Ejt06Dx8/1cBd2WlRtMjiBGHp1+GckBU9s7eBzF7
/VQ0y/3NcNv5Sfw0MgBTRN0sThD4cdfzyjdj6Z27lN9tSOgo4KL3V+lzg+o1y7uN
z5WXBF9CYT8uBw/+XVFfMHcIrjrZRKbpCHW8bwdS7EYZm/qt6t+78G2/xjQJvEo+
/sESxppoM2yOi5KIdqBwQ3i5gyjxRbIhMDQPXJyr2JUIrUjfuP2T5EA0VEzVx7qH
wduoG5PuHo+T/3MW476ASBXJZjV82bgsIBvVDSyL+esCx9yZgdGk8K0SO7nZXVqg
XRkUazzOBS6S2tygSUvQW9TT4MYuATywZnZHndOzF2YbXlA5rgTLyS/EBfWYuKAB
kckO+89Fbemf2lUpI85e3+EvA7hno1ueg0pA+yP9BAMAAMx+axnUxK9WUsab7itl
73cWT2V34CqqvLaD/ofi0MX0yUbq73ofFOMTxpr35iKKjX+o23zOMHovLIWRGWw3
jg30uGfE8gigUTyJrSRt
=jDg8
-----END PGP SIGNATURE-----

--=_zucker.schokokeks.org-29521-1394099888-0001-2--


From nobody Thu Mar  6 08:28:39 2014
Return-Path: <hugokraw@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 94F4D1A0226 for <cfrg@ietfa.amsl.com>; Thu,  6 Mar 2014 08:28:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.677
X-Spam-Level: 
X-Spam-Status: No, score=-0.677 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, HTML_MESSAGE=0.001, J_CHICKENPOX_21=0.6, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GdIjUy_ShjuR for <cfrg@ietfa.amsl.com>; Thu,  6 Mar 2014 08:28:16 -0800 (PST)
Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com [IPv6:2607:f8b0:400d:c01::22a]) by ietfa.amsl.com (Postfix) with ESMTP id 8987C1A01DF for <cfrg@irtf.org>; Thu,  6 Mar 2014 08:28:13 -0800 (PST)
Received: by mail-qc0-f170.google.com with SMTP id e9so3222836qcy.1 for <cfrg@irtf.org>; Thu, 06 Mar 2014 08:28: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:from:date:message-id :subject:to:content-type; bh=Ro+3zDFbrROXvEBrOLY9sQDrtiYMHtrlin5hMZSyBDs=; b=Msk85F5JWXkbUrKFKRYLOv9nviSmnxR6POFqD48Dc+Eqr6qDEPPUkzR5tcLt/nIabd YWhthuFazDLD3qsAF6OGxZjnOahbt7jy4OnpIUM3xkAW9ahX1MOWRJuhSSacRLkeoiaV xuEJRZadIp+HYzXWb+PSP5aVd7BDWALlQgPPDlxPs/rICWvaqg+1Rr4IOrpa7f7fPx94 az0M8VfvRwrwiJAx3htKPULlBNf86vGiGvzf/rifb2YCy9kVTKtZYvBgXxIHI7e4xRlC 5iEOp+NibBPhfsGSCB1LAy1ShJk0+RpdZrxxcazFc1cg+Dx+GwML6Wq/bQQzPEJ8tD+u eYMQ==
X-Received: by 10.140.23.52 with SMTP id 49mr14223952qgo.17.1394123289292; Thu, 06 Mar 2014 08:28:09 -0800 (PST)
MIME-Version: 1.0
Sender: hugokraw@gmail.com
Received: by 10.96.181.9 with HTTP; Thu, 6 Mar 2014 08:27:39 -0800 (PST)
In-Reply-To: <CADi0yUMAnbbWg7iXJdAddc+9YOr5-B=XRN3VbTO48hAS1acwBg@mail.gmail.com>
References: <810C31990B57ED40B2062BA10D43FBF5C46AB5@XMB116CNC.rim.net> <CADi0yUMAnbbWg7iXJdAddc+9YOr5-B=XRN3VbTO48hAS1acwBg@mail.gmail.com>
From: Hugo Krawczyk <hugo@ee.technion.ac.il>
Date: Thu, 6 Mar 2014 11:27:39 -0500
X-Google-Sender-Auth: drCftXlwXHhT4rKa-BS8x8GZsBY
Message-ID: <CADi0yUOxJhztH_S-j1TSN4WNdb5BBuLPHdSXVhfaB0-DpjPFqQ@mail.gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: multipart/related; boundary=001a11c148366ea25904f3f29fe8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/onDuGu7ayEx4DQzKPY4GTPKB2QQ
Subject: Re: [Cfrg] Key establishment advice (say, for TLS): How about MQV?
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Mar 2014 16:28:21 -0000

--001a11c148366ea25904f3f29fe8
Content-Type: multipart/alternative; boundary=001a11c148366ea25704f3f29fe7

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

A clarification on my previous email:

> There has been some contention about the need to do group membership
tests in
> HMQV. Indeed, the need for this depends on the use case and security
model.
> However, this issue is relevant for mod p groups where such tests are
expensive.
> For elliptic curves the test is inexpensive hence can be made an integral
part
> of the protocol.

The group membership test would be performed by the parties in the
protocol, not by the CA. It would be applied to a single element that
combines the static and ephemeral values (in the HMQV paper notation Alice
applies the test to  YB^e and Bob to XA^e). The part of the test checking
the order of these elements is needed in two cases: for the one-pass
variant of the protocol and to achieve security in case of compromise of
the ephemeral exponents (x and y in HMQV notation). The latter makes sense
in settings where the long-term keys are better protected than the
ephemeral exponents. But as said, in the EC setting the group membership
test, including testing the order, is inexpensive so it makes sense to
always perform it.

If one wanted to use HMQV in the IETF, a full detailed spec would be
required of the type written for the mod p groups in P1363. But there is no
point in doing it as long as the patent issues stand in the way of
standardization.

Hugo



On Wed, Mar 5, 2014 at 11:45 PM, Hugo Krawczyk <hugo@ee.technion.ac.il>wrot=
e:

> =E2=80=8BA few notes on the potential use of HMQV for TLS.
>
> I do believe that HMQV could be a good basis for TLS 3.0 due to its
> efficiency,
> versatility, and proof of security (I comment a bit on these aspects
> below).
> But given the patent issues surrounding the protocol I doubt it would be
> feasible to get this standardized by the IETF. As I understand, Certicom
> has
> some claims on the MQV protocol and IBM has a patent on HMQV.
>
> HMQV gives an authenticated DH exchange *at essentially the cost of plain
> DH*
> (plus certificate verification) and can support "seamlessly" several
> functional
> variants: from implicit mutual or unilateral authentication to explicit
> authentication with key confirmation to a single message key exchange wit=
h
> unilateral or mutual authentication. The latter mode is particularly well
> suited
> as a one-message key exchange of the type I've seen in some "TLS 3.0"
> proposals
> (which assume some form of anti-replay state) and has the advantage of
> optionally accommodating client authentication almost for free.
>
> The protocol has a proof of security (scrutinized through several hundred
> papers
> that build upon HMQV) which not only serves to have confidence in the
> design but
> also avoids the "safety margins" typically needed for not-well-understood
> protocols. Very importantly, it avoids the need to rely on the CA to chec=
k
> the
> algebraic properties of public keys (as it is required, for example, by
> MQV).
> Indeed, such reliance would be a kiss of death to a protocol intended for
> wide
> use as CA's do not typically do such tests. In particular, it would be
> totally
> unusable for TLS where a server signs its own HMQV key (and the CA
> certifies the
> server signature key).
>
> There has been some contention about the need to do group membership test=
s
> in
> HMQV. Indeed, the need for this depends on the use case and security mode=
l.
> However, this issue is relevant for mod p groups where such tests are
> expensive.
> For elliptic curves the test is inexpensive hence can be made an integral
> part
> of the protocol.
>
> Finally, for those wondering if UKS attacks should be avoided in TLS. For
> many
> years I had to work hard to convince people that UKS attacks are real
> threats.
> The counter-intuitive nature of these attacks is that an attacker can
> cause harm
> without having to learn the key. Fortunately (or should I say
> unfortunately), the
> "re-negotiation bug" in TLS is an excellent demonstration of how practica=
l
> such an
> attack can be. Nothing better than the history of TLS to show that one
> better
> takes seriously attacks that seem theoretical at first glance.
> =E2=80=8B
>
> Hugo
>
>
> On Tue, Mar 4, 2014 at 12:10 PM, Dan Brown <dbrown@certicom.com> wrote:
>
>>  Dear CFRG list,
>>
>>
>>
>> If I understand correctly, the TLS WG plans a protocol revision which
>> will modify the underlying key establishment scheme.  Should CFRG advise
>> TLS on key establishment?
>>
>>
>>
>> Naturally, TLS may have some specific requirements, directed towards the
>> nature of the client and server in the transport layer, whereas CFRG mig=
ht
>> have expertise on a more generic security level.  So, perhaps, TLS could
>> convey its requirements to CFRG, and CFRG could return a set of key
>> establishment schemes that meet those requirements, in particular, those
>> which have been extensively researched.  (Well, that=E2=80=99s a bit for=
mal, and
>> probably requires a few more iterations than I described, but seems
>> sensible to me.)  More likely, TLS will pick their own key establishment
>> scheme, and ask for CFRG=E2=80=99s blessing.
>>
>>
>>
>> I haven=E2=80=99t followed the TLS list too closely, but I=E2=80=99d sum=
marize two main
>> possible approaches as: (1) patch and (2) overhaul.  On the overhaul sid=
e,
>> I=E2=80=99ve seen Watson Ladd=E2=80=99s suggestion of signed ephemeral D=
H: which is
>> something TLS already has, with the core of the proposal being to narrow
>> the options drastically.  I=E2=80=99ve also seen a couple of IACR eprint=
s analyzing
>> the security of certain TLS ciphersuites.  (Maybe these would go on the
>> patch side?)  If I recall those papers correctly, they define some speci=
al
>> security models just for TLS, but I forget if these models were chosen j=
ust
>> to make the proofs work for the protocols used in the ciphersuites, or f=
or
>> something more fundamental like the nature of the transport layer.
>>
>>
>>
>> ***
>>
>>
>>
>> I=E2=80=99d like to suggest a key establishment scheme for CFRG consider=
ation:
>> MQV (or one of its successors, maybe), with an eye to perhaps recommend =
to
>> IETF WGs such as TLS.
>>
>>
>>
>> ***
>>
>>
>>
>> Some generic (non-TLS-specific) issues for MQV:
>>
>>
>>
>> Two benefits of MQV over signed ephemeral DH, as I see it, would be
>> efficiency (though I=E2=80=99m no expert) and better plausible deniabili=
ty (due to
>> the lack of signatures).  I wonder what CFRG thinks of these benefits.
>>
>>
>>
>> Existing standards that specify versions of MQV include ANSI
>> X9.{44,63,98}, NIST SP 800-56A, IEEE P1363, and SEC1.  Therefore, it may=
 be
>> redundant for CFRG to draft on RFC for MQV, although CFRG may wish to wr=
ite
>> an RFC to profile the version that they like best.
>>
>>
>>
>> These standards go towards the maturity of MQV, in the sense that they
>> received scrutiny from the committees that drafted them, and have been
>> public for a long time, and have served as an incentive to cryptanalytic
>> research, being fairly high profile targets.
>>
>>
>>
>> The HMQV paper by Krawczyk critiques MQV, but these critiques did not
>> seem terribly serious to me, at least when I last read them years ago.
>> Also, I=E2=80=99m not sure how other key establishment schemes fare unde=
r these
>> more stringent requirements (session-state reveal attacks, and so on).
>>
>>
>>
>> The version of the MQV from NIST requires identifiers in the KDF, which
>> helps prevent UKS attacks.  (I=E2=80=99m not sure if TLS needs to resist=
 UKS
>> attacks, but a recent thread on the TLS reminds of UKS attacks.)
>>
>>
>>
>> I recently released a (rather theoretical and very incomplete) IACR
>> eprint on MQV.  It only covers a modest, but essential, level of securit=
y
>> for key agreement schemes.  I think other people on the CFRG list are mu=
ch
>> more up to speed on the key establishment schemes.
>>
>>
>>
>> ***
>>
>>
>>
>> Some TLS-specific issues for MQV, but at a high level for CFRG
>> consideration:
>>
>>
>>
>> Past proposals to integrate MQV into TLS a few times include:
>>
>>
>>
>>
>> https://datatracker.ietf.org/doc/search/?name=3Dmqv&rfcs=3Don&activedraf=
ts=3Don&olddrafts=3Don&sort
>> =3D
>>
>>
>>
>> Perhaps these could be improved, given current knowledge on key agreemen=
t.
>>
>>
>>
>> A major issue is that MQV usually presumes mutual authentication, but TL=
S
>> accommodates anonymous clients. Leaving the MQV client =E2=80=9Cstatic=
=E2=80=9D key
>> unauthenticated seems, at least intuitively, to reduce MQV to DH, on the
>> client side, which is not much of a loss.  It may be possible to have
>> stateful TLS client retain a static MQV key, but still unauthenticated.
>> This could be used for the weaker TOFU model of trust, so may still have
>> some security benefit.
>>
>>
>>
>> If I understand correctly, TLS may now want to add some kind of
>> anonymity, e.g. encryption of certificates and other identifiers.  Since
>> MQV involves sending ephemeral key, these could, at the cost of an extra
>> shared key computation, protect the static (certified or trusted) keys
>> against passive adversaries.  I=E2=80=99m not sure if the resulting doub=
le use of
>> the ephemeral keys would undermine the security of MQV.
>>
>>
>>
>> Best regards,
>>
>>
>>
>> -        Dan
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> http://www.irtf.org/mailman/listinfo/cfrg
>>
>>
>

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

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:verdana,=
sans-serif;font-size:small">A clarification on my previous email:<br><br>&g=
t; There has been some contention about the need to do group membership tes=
ts in<br>

&gt; HMQV. Indeed, the need for this depends on the use case and security m=
odel.<br>&gt; However, this issue is relevant for mod p groups where such t=
ests are expensive.<br>&gt; For elliptic curves the test is inexpensive hen=
ce can be made an integral part<br>

&gt; of the protocol.<br><br></div><div class=3D"gmail_default" style=3D"fo=
nt-family:verdana,sans-serif;font-size:small">The group membership test wou=
ld be performed by the parties in the protocol, not by the CA. It would be =
applied to a single element that combines the static and ephemeral values (=
in the HMQV paper notation Alice applies the test to=C2=A0 YB^e and Bob to =
XA^e). The part of the test checking the order of these elements is needed =
in two cases: for the one-pass variant of the protocol and to achieve secur=
ity in case of compromise of the ephemeral exponents (x and y in HMQV notat=
ion). The latter makes sense in settings where the long-term keys are bette=
r protected than the ephemeral exponents. But as said, in the EC setting th=
e group membership test, including testing the order, is inexpensive so it =
makes sense to always perform it.<br>

<br></div><div class=3D"gmail_default" style=3D"font-family:verdana,sans-se=
rif;font-size:small">If one wanted to use HMQV in the IETF, a full detailed=
 spec would be required of the type written for the mod p groups in P1363. =
But there is no point in doing it as long as the patent issues stand in the=
 way of standardization.<br>

<br></div><div class=3D"gmail_default" style=3D"font-family:verdana,sans-se=
rif;font-size:small">Hugo<br><br></div></div><div class=3D"gmail_extra"><br=
><br><div class=3D"gmail_quote">On Wed, Mar 5, 2014 at 11:45 PM, Hugo Krawc=
zyk <span dir=3D"ltr">&lt;<a href=3D"mailto:hugo@ee.technion.ac.il" target=
=3D"_blank">hugo@ee.technion.ac.il</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_default=
" style=3D"font-family:verdana,sans-serif;font-size:small"><div class=3D"gm=
ail_default" style=3D"font-family:verdana,sans-serif;font-size:small;displa=
y:inline">

=E2=80=8BA few notes on the potential use of HMQV for TLS.<br>
<br>I do believe that HMQV could be a good basis for TLS 3.0 due to its eff=
iciency,<br>versatility, and proof of security (I comment a bit on these as=
pects below). <br>But given the patent issues surrounding the protocol I do=
ubt it would be<br>


feasible to get this standardized by the IETF. As I understand, Certicom ha=
s<br>some claims on the MQV protocol and IBM has a patent on HMQV.=C2=A0 <b=
r><br>HMQV gives an authenticated DH exchange <i>at essentially the cost of=
 plain DH</i> <br>


(plus certificate verification) and can support &quot;seamlessly&quot; seve=
ral functional<br>variants: from implicit mutual or unilateral authenticati=
on to explicit<br>authentication with key confirmation to a single message =
key exchange with<br>


unilateral or mutual authentication. The latter mode is particularly well s=
uited<br>as a one-message key exchange of the type I&#39;ve seen in some &q=
uot;TLS 3.0&quot; proposals<br>(which assume some form of anti-replay state=
) and has the advantage of<br>


optionally accommodating client authentication almost for free.<br><br>The =
protocol has a proof of security (scrutinized through several hundred paper=
s<br>that build upon HMQV) which not only serves to have confidence in the =
design but<br>


also avoids the &quot;safety margins&quot; typically needed for not-well-un=
derstood <br>protocols. Very importantly, it avoids the need to rely on the=
 CA to check the<br>algebraic properties of public keys (as it is required,=
 for example, by MQV).<br>


Indeed, such reliance would be a kiss of death to a protocol intended for w=
ide<br>use as CA&#39;s do not typically do such tests. In particular, it wo=
uld be totally<br>unusable for TLS where a server signs its own HMQV key (a=
nd the CA certifies the<br>


server signature key).<br><br>There has been some contention about the need=
 to do group membership tests in<br>HMQV. Indeed, the need for this depends=
 on the use case and security model.<br>However, this issue is relevant for=
 mod p groups where such tests are expensive.<br>


For elliptic curves the test is inexpensive hence can be made an integral p=
art<br>of the protocol.<br><br>Finally, for those wondering if UKS attacks =
should be avoided in TLS. For many<br>years I had to work hard to convince =
people that UKS attacks are real threats. <br>


The counter-intuitive nature of these attacks is that an attacker can cause=
 harm<br>without having to learn the key. Fortunately (or should I say unfo=
rtunately), the<br>&quot;re-negotiation bug&quot; in TLS is an excellent de=
monstration of how practical such an<br>


attack can be. Nothing better than the history of TLS to show that one bett=
er<br>takes seriously attacks that seem theoretical at first glance.<br>=E2=
=80=8B</div><span class=3D"HOEnZb"><font color=3D"#888888"><br>Hugo</font><=
/span></div>

<div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote"><div><div cla=
ss=3D"h5">
On Tue, Mar 4, 2014 at 12:10 PM, Dan Brown <span dir=3D"ltr">&lt;<a href=3D=
"mailto:dbrown@certicom.com" target=3D"_blank">dbrown@certicom.com</a>&gt;<=
/span> wrote:<br></div></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div class=3D"h5">
<div link=3D"blue" vlink=3D"purple" lang=3D"EN-US"><div><p class=3D"MsoNorm=
al"><span lang=3D"EN-CA">Dear CFRG list,<u></u><u></u></span></p><p class=
=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p class=
=3D"MsoNormal"><span lang=3D"EN-CA">If I understand correctly, the TLS WG p=
lans a protocol revision which will modify the underlying key establishment=
 scheme.=C2=A0 Should CFRG advise TLS on key establishment?=C2=A0 <u></u><u=
></u></span></p>


<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Naturally, TLS may have some sp=
ecific requirements, directed towards the nature of the client and server i=
n the transport layer, whereas CFRG might have expertise on a more generic =
security level.=C2=A0 So, perhaps, TLS could convey its requirements to CFR=
G, and CFRG could return a set of key establishment schemes that meet those=
 requirements, in particular, those which have been extensively researched.=
=C2=A0 (Well, that=E2=80=99s a bit formal, and probably requires a few more=
 iterations than I described, but seems sensible to me.)=C2=A0 More likely,=
 TLS will pick their own key establishment scheme, and ask for CFRG=E2=80=
=99s blessing. <u></u><u></u></span></p>


<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">I haven=E2=80=99t followed the =
TLS list too closely, but I=E2=80=99d summarize two main possible approache=
s as: (1) patch and (2) overhaul.=C2=A0 On the overhaul side, I=E2=80=99ve =
seen Watson Ladd=E2=80=99s suggestion of signed ephemeral DH: which is some=
thing TLS already has, with the core of the proposal being to narrow the op=
tions drastically.=C2=A0 I=E2=80=99ve also seen a couple of IACR eprints an=
alyzing the security of certain TLS ciphersuites.=C2=A0 (Maybe these would =
go on the patch side?)=C2=A0 If I recall those papers correctly, they defin=
e some special security models just for TLS, but I forget if these models w=
ere chosen just to make the proofs work for the protocols used in the ciphe=
rsuites, or for something more fundamental like the nature of the transport=
 layer.<u></u><u></u></span></p>


<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">***<u></u><u></u></span></p><p =
class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p =
class=3D"MsoNormal">


<span lang=3D"EN-CA">I=E2=80=99d like to suggest a key establishment scheme=
 for CFRG consideration: MQV (or one of its successors, maybe), with an eye=
 to perhaps recommend to IETF WGs such as TLS.=C2=A0 <u></u><u></u></span><=
/p><p class=3D"MsoNormal">


<span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNormal">=
<span lang=3D"EN-CA">***<u></u><u></u></span></p><p class=3D"MsoNormal"><sp=
an lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNormal"><sp=
an lang=3D"EN-CA">Some generic (non-TLS-specific) issues for MQV:<u></u><u>=
</u></span></p>


<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Two benefits of MQV over signed=
 ephemeral DH, as I see it, would be efficiency (though I=E2=80=99m no expe=
rt) and better plausible deniability (due to the lack of signatures).=C2=A0=
 I wonder what CFRG thinks of these benefits.<u></u><u></u></span></p>


<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Existing standards that specify=
 versions of MQV include ANSI X9.{44,63,98}, NIST SP 800-56A, IEEE P1363, a=
nd SEC1.=C2=A0 Therefore, it may be redundant for CFRG to draft on RFC for =
MQV, although CFRG may wish to write an RFC to profile the version that the=
y like best.=C2=A0 =C2=A0<u></u><u></u></span></p>


<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">These standards go towards the =
maturity of MQV, in the sense that they received scrutiny from the committe=
es that drafted them, and have been public for a long time, and have served=
 as an incentive to cryptanalytic research, being fairly high profile targe=
ts.<u></u><u></u></span></p>


<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">The HMQV paper by Krawczyk crit=
iques MQV, but these critiques did not seem terribly serious to me, at leas=
t when I last read them years ago.=C2=A0 Also, I=E2=80=99m not sure how oth=
er key establishment schemes fare under these more stringent requirements (=
session-state reveal attacks, and so on).<u></u><u></u></span></p>


<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">The version of the MQV from NIS=
T requires identifiers in the KDF, which helps prevent UKS attacks.=C2=A0 (=
I=E2=80=99m not sure if TLS needs to resist UKS attacks, but a recent threa=
d on the TLS reminds of UKS attacks.)<u></u><u></u></span></p>


<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">I recently released a (rather t=
heoretical and very incomplete) IACR eprint on MQV. =C2=A0It only covers a =
modest, but essential, level of security for key agreement schemes.=C2=A0 I=
 think other people on the CFRG list are much more up to speed on the key e=
stablishment schemes.=C2=A0 <u></u><u></u></span></p>


<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">***<u></u><u></u></span></p><p =
class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p =
class=3D"MsoNormal">


<span lang=3D"EN-CA">Some TLS-specific issues for MQV, but at a high level =
for CFRG consideration:<u></u><u></u></span></p><p class=3D"MsoNormal"><spa=
n lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNormal"><spa=
n lang=3D"EN-CA">Past proposals to integrate MQV into TLS a few times inclu=
de:<u></u><u></u></span></p>


<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA"><a href=3D"https://datatracker.=
ietf.org/doc/search/?name=3Dmqv&amp;rfcs=3Don&amp;activedrafts=3Don&amp;old=
drafts=3Don&amp;sort" target=3D"_blank">https://datatracker.ietf.org/doc/se=
arch/?name=3Dmqv&amp;rfcs=3Don&amp;activedrafts=3Don&amp;olddrafts=3Don&amp=
;sort</a>=3D<u></u><u></u></span></p>


<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Perhaps these could be improved=
, given current knowledge on key agreement.<u></u><u></u></span></p><p clas=
s=3D"MsoNormal">


<span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNormal">=
<span lang=3D"EN-CA">A major issue is that MQV usually presumes mutual auth=
entication, but TLS accommodates anonymous clients. Leaving the MQV client =
=E2=80=9Cstatic=E2=80=9D key unauthenticated seems, at least intuitively, t=
o reduce MQV to DH, on the client side, which is not much of a loss.=C2=A0 =
It may be possible to have stateful TLS client retain a static MQV key, but=
 still unauthenticated. This could be used for the weaker TOFU model of tru=
st, so may still have some security benefit.<u></u><u></u></span></p>


<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">If I understand correctly, TLS =
may now want to add some kind of anonymity, e.g. encryption of certificates=
 and other identifiers.=C2=A0 Since MQV involves sending ephemeral key, the=
se could, at the cost of an extra shared key computation, protect the stati=
c (certified or trusted) keys against passive adversaries.=C2=A0 I=E2=80=99=
m not sure if the resulting double use of the ephemeral keys would undermin=
e the security of MQV.<u></u><u></u></span></p>


<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Best regards,<u></u><u></u></sp=
an></p><p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></sp=
an></p><p style=3D"margin-left:.75in">


<u></u><span lang=3D"EN-CA"><span>-<span style=3D"font:7.0pt &quot;Times Ne=
w Roman&quot;">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </span></span></s=
pan><u></u><span lang=3D"EN-CA">Dan<u></u><u></u></span></p><table style=3D=
"width:6.25in" border=3D"0" cellpadding=3D"0" cellspacing=3D"0" width=3D"75=
0">


<tbody><tr><td style=3D"padding:0in 0in 3.0pt 0in"></td></tr><tr><td style=
=3D"padding:0in 0in 0in 0in"><p class=3D"MsoNormal" style=3D"margin-top:3.7=
5pt"><span style=3D"font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;san=
s-serif&quot;"><u></u>=C2=A0<u></u></span></p>


</td></tr></tbody></table><p class=3D"MsoNormal"><span style=3D"font-size:1=
2.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><u></u>=C2=
=A0<u></u></span></p><table style=3D"width:6.25in" border=3D"0" cellpadding=
=3D"0" cellspacing=3D"0" width=3D"750">


<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;"><u></u>=C2=A0<u></u></span></p><tabl=
e style=3D"width:6.25in" border=3D"0" cellpadding=3D"0" cellspacing=3D"3" w=
idth=3D"750">


<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;Times New Roman&quot;,&qu=
ot;serif&quot;"><img src=3D"cid:image001.jpg@01CF37A2.B70EBDE0" height=3D"4=
3" border=3D"0" width=3D"176"></span><span style=3D"font-size:12.0pt;font-f=
amily:&quot;Times New Roman&quot;,&quot;serif&quot;"><u></u><u></u></span><=
/p>


</td></tr><tr><td style=3D"width:6.25in;padding:9.75pt 0in 0in 0in" width=
=3D"750"></td></tr></tbody></table><p class=3D"MsoNormal"><span lang=3D"EN-=
CA"><u></u>=C2=A0<u></u></span></p></div></div><br></div></div><div class=
=3D"">_______________________________________________<br>



Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.org</a><br>
<a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" target=3D"_blank">htt=
p://www.irtf.org/mailman/listinfo/cfrg</a><br>
<br></div></blockquote></div><br></div></div>
</blockquote></div><br></div>

--001a11c148366ea25704f3f29fe7--
--001a11c148366ea25904f3f29fe8
Content-Type: image/jpeg; name="image001.jpg"
Content-Disposition: inline; filename="image001.jpg"
Content-Transfer-Encoding: base64
Content-ID: <image001.jpg@01CF37A2.B70EBDE0>
X-Attachment-Id: cefddd6471b9e8e5_0.0.0.1

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


From nobody Thu Mar  6 09:35:45 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 495781A00F4 for <cfrg@ietfa.amsl.com>; Thu,  6 Mar 2014 09:35:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.399
X-Spam-Level: 
X-Spam-Status: No, score=-1.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, J_CHICKENPOX_21=0.6, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7tm_oaCqCPJP for <cfrg@ietfa.amsl.com>; Thu,  6 Mar 2014 09:35:40 -0800 (PST)
Received: from mail-yh0-x22b.google.com (mail-yh0-x22b.google.com [IPv6:2607:f8b0:4002:c01::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 39F871A0051 for <cfrg@irtf.org>; Thu,  6 Mar 2014 09:35:40 -0800 (PST)
Received: by mail-yh0-f43.google.com with SMTP id b6so2967540yha.2 for <cfrg@irtf.org>; Thu, 06 Mar 2014 09:35: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; bh=liXdwOQ28VT5uVhYuDF0TFSnIfbwYGJJtPZ/eCfUV3I=; b=gtgfHvXF8MIpUxfPCCABfXZf5P/eZLksD55t9TYDa3K4VrbS2+DxF7hRJS8ZFfXNT/ 1NuZ8PktNKpghnzEQXVGr9WcHeAeki1ITWqltsloJnp/VokMK2NYZLj1JnWYLMbZN6q0 +BlTixMHsVMOxmWKRDuy3hsY43dRkthbEAJ4AEoxJviJa1rbyX/E5ZXWXQjy3+IfJiu2 8/XRo7P4zt3Sgto2MB97vaTHA00k5X4HQtjHcS/sYn28mhEHXqJ5eyHlRI/yP20m7V9A T21WdDTutCVN57wVzabW63oxRJbGZwOxLX+jfJm+whasW5R/uWruImMqJi5JzoJTb9Wn xXiA==
MIME-Version: 1.0
X-Received: by 10.236.142.198 with SMTP id i46mr16817626yhj.66.1394127335643;  Thu, 06 Mar 2014 09:35:35 -0800 (PST)
Received: by 10.170.92.85 with HTTP; Thu, 6 Mar 2014 09:35:35 -0800 (PST)
In-Reply-To: <CADi0yUOxJhztH_S-j1TSN4WNdb5BBuLPHdSXVhfaB0-DpjPFqQ@mail.gmail.com>
References: <810C31990B57ED40B2062BA10D43FBF5C46AB5@XMB116CNC.rim.net> <CADi0yUMAnbbWg7iXJdAddc+9YOr5-B=XRN3VbTO48hAS1acwBg@mail.gmail.com> <CADi0yUOxJhztH_S-j1TSN4WNdb5BBuLPHdSXVhfaB0-DpjPFqQ@mail.gmail.com>
Date: Thu, 6 Mar 2014 09:35:35 -0800
Message-ID: <CACsn0cnDNM7C3176wbW8UvTY9VTsc_10oDV9XSGcppuQgnffYg@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Hugo Krawczyk <hugo@ee.technion.ac.il>
Content-Type: multipart/related; boundary=20cf306849ed9d126504f3f39095
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/UdPClWpdKnXMz7w7jAvatMgaDhc
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Key establishment advice (say, for TLS): How about MQV?
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Mar 2014 17:35:43 -0000

--20cf306849ed9d126504f3f39095
Content-Type: multipart/alternative; boundary=20cf306849ed9d126204f3f39094

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

On Thu, Mar 6, 2014 at 8:27 AM, Hugo Krawczyk <hugo@ee.technion.ac.il>wrote=
:

> A clarification on my previous email:
>
>
> > There has been some contention about the need to do group membership
> tests in
> > HMQV. Indeed, the need for this depends on the use case and security
> model.
> > However, this issue is relevant for mod p groups where such tests are
> expensive.
> > For elliptic curves the test is inexpensive hence can be made an
> integral part
> > of the protocol.
>
> The group membership test would be performed by the parties in the
> protocol, not by the CA. It would be applied to a single element that
> combines the static and ephemeral values (in the HMQV paper notation Alic=
e
> applies the test to  YB^e and Bob to XA^e). The part of the test checking
> the order of these elements is needed in two cases: for the one-pass
> variant of the protocol and to achieve security in case of compromise of
> the ephemeral exponents (x and y in HMQV notation). The latter makes sens=
e
> in settings where the long-term keys are better protected than the
> ephemeral exponents. But as said, in the EC setting the group membership
> test, including testing the order, is inexpensive so it makes sense to
> always perform it.
>

I don't think that's right. To check that P is in E[N], one has to
calculate [N] unless there is a method I don't know about. What does
suffice (I think) is to check that (YB^e)^h is not the identity and use
that as a key: even if one plays fun and games with group element
representations, contributory behaviour is still ensured as the cofactor
annihilates E_p/E[N] by definition.

The difference is one full exponentiation vs. four doublings if the
cofactor is 16. I think these are bisimulatable protocols as 16 is
invertible mod N, so we haven't changed anything in E[N].

One always does on-curve checks, or uses point compression to avoid them,
or the Montgomery ladder on twist secure curves.

Thank you once again for contributing your knowledge to our efforts.

>
> If one wanted to use HMQV in the IETF, a full detailed spec would be
> required of the type written for the mod p groups in P1363. But there is =
no
> point in doing it as long as the patent issues stand in the way of
> standardization.
>

SM2 is already quite similar and has been written up already. However, it's
not quite as well studied/is MQV. The alternative is signed diffie-hellman
exchanges, but the details are fiddly and need to be gotten exactly
correct, and I've not figured out one flow that works for everything. As
for the patent that will really come down to IBM and whether they want to
get the speed gains from HMQV, and in exchange let us use the patent for
IETF protocols.

Sincerely,
Watson Ladd

>
> Hugo
>
>
>
> On Wed, Mar 5, 2014 at 11:45 PM, Hugo Krawczyk <hugo@ee.technion.ac.il>wr=
ote:
>
>>  =E2=80=8BA few notes on the potential use of HMQV for TLS.
>>
>> I do believe that HMQV could be a good basis for TLS 3.0 due to its
>> efficiency,
>> versatility, and proof of security (I comment a bit on these aspects
>> below).
>> But given the patent issues surrounding the protocol I doubt it would be
>> feasible to get this standardized by the IETF. As I understand, Certicom
>> has
>> some claims on the MQV protocol and IBM has a patent on HMQV.
>>
>> HMQV gives an authenticated DH exchange *at essentially the cost of
>> plain DH*
>> (plus certificate verification) and can support "seamlessly" several
>> functional
>> variants: from implicit mutual or unilateral authentication to explicit
>> authentication with key confirmation to a single message key exchange wi=
th
>> unilateral or mutual authentication. The latter mode is particularly wel=
l
>> suited
>> as a one-message key exchange of the type I've seen in some "TLS 3.0"
>> proposals
>> (which assume some form of anti-replay state) and has the advantage of
>> optionally accommodating client authentication almost for free.
>>
>> The protocol has a proof of security (scrutinized through several hundre=
d
>> papers
>> that build upon HMQV) which not only serves to have confidence in the
>> design but
>> also avoids the "safety margins" typically needed for not-well-understoo=
d
>> protocols. Very importantly, it avoids the need to rely on the CA to
>> check the
>> algebraic properties of public keys (as it is required, for example, by
>> MQV).
>> Indeed, such reliance would be a kiss of death to a protocol intended fo=
r
>> wide
>> use as CA's do not typically do such tests. In particular, it would be
>> totally
>> unusable for TLS where a server signs its own HMQV key (and the CA
>> certifies the
>> server signature key).
>>
>> There has been some contention about the need to do group membership
>> tests in
>> HMQV. Indeed, the need for this depends on the use case and security
>> model.
>> However, this issue is relevant for mod p groups where such tests are
>> expensive.
>> For elliptic curves the test is inexpensive hence can be made an integra=
l
>> part
>> of the protocol.
>>
>> Finally, for those wondering if UKS attacks should be avoided in TLS. Fo=
r
>> many
>> years I had to work hard to convince people that UKS attacks are real
>> threats.
>> The counter-intuitive nature of these attacks is that an attacker can
>> cause harm
>> without having to learn the key. Fortunately (or should I say
>> unfortunately), the
>> "re-negotiation bug" in TLS is an excellent demonstration of how
>> practical such an
>> attack can be. Nothing better than the history of TLS to show that one
>> better
>> takes seriously attacks that seem theoretical at first glance.
>> =E2=80=8B
>>
>> Hugo
>>
>>
>> On Tue, Mar 4, 2014 at 12:10 PM, Dan Brown <dbrown@certicom.com> wrote:
>>
>>>  Dear CFRG list,
>>>
>>>
>>>
>>> If I understand correctly, the TLS WG plans a protocol revision which
>>> will modify the underlying key establishment scheme.  Should CFRG advis=
e
>>> TLS on key establishment?
>>>
>>>
>>>
>>> Naturally, TLS may have some specific requirements, directed towards th=
e
>>> nature of the client and server in the transport layer, whereas CFRG mi=
ght
>>> have expertise on a more generic security level.  So, perhaps, TLS coul=
d
>>> convey its requirements to CFRG, and CFRG could return a set of key
>>> establishment schemes that meet those requirements, in particular, thos=
e
>>> which have been extensively researched.  (Well, that=E2=80=99s a bit fo=
rmal, and
>>> probably requires a few more iterations than I described, but seems
>>> sensible to me.)  More likely, TLS will pick their own key establishmen=
t
>>> scheme, and ask for CFRG=E2=80=99s blessing.
>>>
>>>
>>>
>>> I haven=E2=80=99t followed the TLS list too closely, but I=E2=80=99d su=
mmarize two main
>>> possible approaches as: (1) patch and (2) overhaul.  On the overhaul si=
de,
>>> I=E2=80=99ve seen Watson Ladd=E2=80=99s suggestion of signed ephemeral =
DH: which is
>>> something TLS already has, with the core of the proposal being to narro=
w
>>> the options drastically.  I=E2=80=99ve also seen a couple of IACR eprin=
ts analyzing
>>> the security of certain TLS ciphersuites.  (Maybe these would go on the
>>> patch side?)  If I recall those papers correctly, they define some spec=
ial
>>> security models just for TLS, but I forget if these models were chosen =
just
>>> to make the proofs work for the protocols used in the ciphersuites, or =
for
>>> something more fundamental like the nature of the transport layer.
>>>
>>>
>>>
>>> ***
>>>
>>>
>>>
>>> I=E2=80=99d like to suggest a key establishment scheme for CFRG conside=
ration:
>>> MQV (or one of its successors, maybe), with an eye to perhaps recommend=
 to
>>> IETF WGs such as TLS.
>>>
>>>
>>>
>>> ***
>>>
>>>
>>>
>>> Some generic (non-TLS-specific) issues for MQV:
>>>
>>>
>>>
>>> Two benefits of MQV over signed ephemeral DH, as I see it, would be
>>> efficiency (though I=E2=80=99m no expert) and better plausible deniabil=
ity (due to
>>> the lack of signatures).  I wonder what CFRG thinks of these benefits.
>>>
>>>
>>>
>>> Existing standards that specify versions of MQV include ANSI
>>> X9.{44,63,98}, NIST SP 800-56A, IEEE P1363, and SEC1.  Therefore, it ma=
y be
>>> redundant for CFRG to draft on RFC for MQV, although CFRG may wish to w=
rite
>>> an RFC to profile the version that they like best.
>>>
>>>
>>>
>>> These standards go towards the maturity of MQV, in the sense that they
>>> received scrutiny from the committees that drafted them, and have been
>>> public for a long time, and have served as an incentive to cryptanalyti=
c
>>> research, being fairly high profile targets.
>>>
>>>
>>>
>>> The HMQV paper by Krawczyk critiques MQV, but these critiques did not
>>> seem terribly serious to me, at least when I last read them years ago.
>>> Also, I=E2=80=99m not sure how other key establishment schemes fare und=
er these
>>> more stringent requirements (session-state reveal attacks, and so on).
>>>
>>>
>>>
>>> The version of the MQV from NIST requires identifiers in the KDF, which
>>> helps prevent UKS attacks.  (I=E2=80=99m not sure if TLS needs to resis=
t UKS
>>> attacks, but a recent thread on the TLS reminds of UKS attacks.)
>>>
>>>
>>>
>>> I recently released a (rather theoretical and very incomplete) IACR
>>> eprint on MQV.  It only covers a modest, but essential, level of securi=
ty
>>> for key agreement schemes.  I think other people on the CFRG list are m=
uch
>>> more up to speed on the key establishment schemes.
>>>
>>>
>>>
>>> ***
>>>
>>>
>>>
>>> Some TLS-specific issues for MQV, but at a high level for CFRG
>>> consideration:
>>>
>>>
>>>
>>> Past proposals to integrate MQV into TLS a few times include:
>>>
>>>
>>>
>>>
>>> https://datatracker.ietf.org/doc/search/?name=3Dmqv&rfcs=3Don&activedra=
fts=3Don&olddrafts=3Don&sort
>>> =3D
>>>
>>>
>>>
>>> Perhaps these could be improved, given current knowledge on key
>>> agreement.
>>>
>>>
>>>
>>> A major issue is that MQV usually presumes mutual authentication, but
>>> TLS accommodates anonymous clients. Leaving the MQV client =E2=80=9Csta=
tic=E2=80=9D key
>>> unauthenticated seems, at least intuitively, to reduce MQV to DH, on th=
e
>>> client side, which is not much of a loss.  It may be possible to have
>>> stateful TLS client retain a static MQV key, but still unauthenticated.
>>> This could be used for the weaker TOFU model of trust, so may still hav=
e
>>> some security benefit.
>>>
>>>
>>>
>>> If I understand correctly, TLS may now want to add some kind of
>>> anonymity, e.g. encryption of certificates and other identifiers.  Sinc=
e
>>> MQV involves sending ephemeral key, these could, at the cost of an extr=
a
>>> shared key computation, protect the static (certified or trusted) keys
>>> against passive adversaries.  I=E2=80=99m not sure if the resulting dou=
ble use of
>>> the ephemeral keys would undermine the security of MQV.
>>>
>>>
>>>
>>> Best regards,
>>>
>>>
>>>
>>> -        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

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On Thu, Mar 6, 2014 at 8:27 AM, Hugo Krawczyk <span dir=3D"ltr">&lt=
;<a href=3D"mailto:hugo@ee.technion.ac.il" target=3D"_blank">hugo@ee.techni=
on.ac.il</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;p=
adding-left:1ex"><div dir=3D"ltr"><div style=3D"font-family:verdana,sans-se=
rif;font-size:small">

A clarification on my previous email:<div><br><br>&gt; There has been some =
contention about the need to do group membership tests in<br>

&gt; HMQV. Indeed, the need for this depends on the use case and security m=
odel.<br>&gt; However, this issue is relevant for mod p groups where such t=
ests are expensive.<br>&gt; For elliptic curves the test is inexpensive hen=
ce can be made an integral part<br>



&gt; of the protocol.<br><br></div></div><div style=3D"font-family:verdana,=
sans-serif;font-size:small">The group membership test would be performed by=
 the parties in the protocol, not by the CA. It would be applied to a singl=
e element that combines the static and ephemeral values (in the HMQV paper =
notation Alice applies the test to=C2=A0 YB^e and Bob to XA^e). The part of=
 the test checking the order of these elements is needed in two cases: for =
the one-pass variant of the protocol and to achieve security in case of com=
promise of the ephemeral exponents (x and y in HMQV notation). The latter m=
akes sense in settings where the long-term keys are better protected than t=
he ephemeral exponents. But as said, in the EC setting the group membership=
 test, including testing the order, is inexpensive so it makes sense to alw=
ays perform it.<br>

</div></div></blockquote><div><br></div><div>I don&#39;t think that&#39;s r=
ight. To check that P is in E[N], one has to calculate [N] unless there is =
a method I don&#39;t know about. What does suffice (I think) is to check th=
at (YB^e)^h is not the identity and use that as a key: even if one plays fu=
n and games with group element representations, contributory behaviour is s=
till ensured as the cofactor annihilates E_p/E[N] by definition.</div>

<div><br></div><div>The difference is one full exponentiation vs. four doub=
lings if the cofactor is 16. I think these are bisimulatable protocols as 1=
6 is invertible mod N, so we haven&#39;t changed anything in E[N].<br>
</div>
<div><br></div><div>One always does on-curve checks, or uses point compress=
ion to avoid them, or the Montgomery ladder on twist secure curves.</div><d=
iv><br></div><div>Thank you once again for contributing your knowledge to o=
ur efforts.</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;p=
adding-left:1ex"><div dir=3D"ltr"><div style=3D"font-family:verdana,sans-se=
rif;font-size:small">



<br></div><div style=3D"font-family:verdana,sans-serif;font-size:small">If =
one wanted to use HMQV in the IETF, a full detailed spec would be required =
of the type written for the mod p groups in P1363. But there is no point in=
 doing it as long as the patent issues stand in the way of standardization.=
</div>

</div></blockquote><div><br></div><div>SM2 is already quite similar and has=
 been written up already. However, it&#39;s not quite as well studied/is MQ=
V. The alternative is signed diffie-hellman exchanges, but the details are =
fiddly and need to be gotten exactly correct, and I&#39;ve not figured out =
one flow that works for everything. As for the patent that will really come=
 down to IBM and whether they want to get the speed gains from HMQV, and in=
 exchange let us use the patent for IETF protocols.</div>

<div><br></div><div>Sincerely,<br>Watson Ladd</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 di=
r=3D"ltr">

<div style=3D"font-family:verdana,sans-serif;font-size:small"><span><font c=
olor=3D"#888888">

<br></font></span></div><span><font color=3D"#888888"><div style=3D"font-fa=
mily:verdana,sans-serif;font-size:small">Hugo<br><br></div></font></span></=
div><div><div><div class=3D"gmail_extra"><br><br>
<div class=3D"gmail_quote">On Wed, Mar 5, 2014 at 11:45 PM, Hugo Krawczyk <=
span dir=3D"ltr">&lt;<a href=3D"mailto:hugo@ee.technion.ac.il" target=3D"_b=
lank">hugo@ee.technion.ac.il</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;p=
adding-left:1ex"><div dir=3D"ltr"><div style=3D"font-family:verdana,sans-se=
rif;font-size:small">

<div style=3D"font-family:verdana,sans-serif;font-size:small;display:inline=
">

=E2=80=8BA few notes on the potential use of HMQV for TLS.<br>
<br>I do believe that HMQV could be a good basis for TLS 3.0 due to its eff=
iciency,<br>versatility, and proof of security (I comment a bit on these as=
pects below). <br>But given the patent issues surrounding the protocol I do=
ubt it would be<br>




feasible to get this standardized by the IETF. As I understand, Certicom ha=
s<br>some claims on the MQV protocol and IBM has a patent on HMQV.=C2=A0 <b=
r><br>HMQV gives an authenticated DH exchange <i>at essentially the cost of=
 plain DH</i> <br>




(plus certificate verification) and can support &quot;seamlessly&quot; seve=
ral functional<br>variants: from implicit mutual or unilateral authenticati=
on to explicit<br>authentication with key confirmation to a single message =
key exchange with<br>




unilateral or mutual authentication. The latter mode is particularly well s=
uited<br>as a one-message key exchange of the type I&#39;ve seen in some &q=
uot;TLS 3.0&quot; proposals<br>(which assume some form of anti-replay state=
) and has the advantage of<br>




optionally accommodating client authentication almost for free.<br><br>The =
protocol has a proof of security (scrutinized through several hundred paper=
s<br>that build upon HMQV) which not only serves to have confidence in the =
design but<br>




also avoids the &quot;safety margins&quot; typically needed for not-well-un=
derstood <br>protocols. Very importantly, it avoids the need to rely on the=
 CA to check the<br>algebraic properties of public keys (as it is required,=
 for example, by MQV).<br>




Indeed, such reliance would be a kiss of death to a protocol intended for w=
ide<br>use as CA&#39;s do not typically do such tests. In particular, it wo=
uld be totally<br>unusable for TLS where a server signs its own HMQV key (a=
nd the CA certifies the<br>




server signature key).<br><br>There has been some contention about the need=
 to do group membership tests in<br>HMQV. Indeed, the need for this depends=
 on the use case and security model.<br>However, this issue is relevant for=
 mod p groups where such tests are expensive.<br>




For elliptic curves the test is inexpensive hence can be made an integral p=
art<br>of the protocol.<br><br>Finally, for those wondering if UKS attacks =
should be avoided in TLS. For many<br>years I had to work hard to convince =
people that UKS attacks are real threats. <br>




The counter-intuitive nature of these attacks is that an attacker can cause=
 harm<br>without having to learn the key. Fortunately (or should I say unfo=
rtunately), the<br>&quot;re-negotiation bug&quot; in TLS is an excellent de=
monstration of how practical such an<br>




attack can be. Nothing better than the history of TLS to show that one bett=
er<br>takes seriously attacks that seem theoretical at first glance.<br>=E2=
=80=8B</div><span><font color=3D"#888888"><br>Hugo</font></span></div>

<div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote"><div><div>
On Tue, Mar 4, 2014 at 12:10 PM, Dan Brown <span dir=3D"ltr">&lt;<a href=3D=
"mailto:dbrown@certicom.com" target=3D"_blank">dbrown@certicom.com</a>&gt;<=
/span> wrote:<br></div></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">



<div><div>
<div link=3D"blue" vlink=3D"purple" lang=3D"EN-US"><div><p class=3D"MsoNorm=
al"><span lang=3D"EN-CA">Dear CFRG list,<u></u><u></u></span></p><p class=
=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p class=
=3D"MsoNormal"><span lang=3D"EN-CA">If I understand correctly, the TLS WG p=
lans a protocol revision which will modify the underlying key establishment=
 scheme.=C2=A0 Should CFRG advise TLS on key establishment?=C2=A0 <u></u><u=
></u></span></p>




<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Naturally, TLS may have some sp=
ecific requirements, directed towards the nature of the client and server i=
n the transport layer, whereas CFRG might have expertise on a more generic =
security level.=C2=A0 So, perhaps, TLS could convey its requirements to CFR=
G, and CFRG could return a set of key establishment schemes that meet those=
 requirements, in particular, those which have been extensively researched.=
=C2=A0 (Well, that=E2=80=99s a bit formal, and probably requires a few more=
 iterations than I described, but seems sensible to me.)=C2=A0 More likely,=
 TLS will pick their own key establishment scheme, and ask for CFRG=E2=80=
=99s blessing. <u></u><u></u></span></p>




<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">I haven=E2=80=99t followed the =
TLS list too closely, but I=E2=80=99d summarize two main possible approache=
s as: (1) patch and (2) overhaul.=C2=A0 On the overhaul side, I=E2=80=99ve =
seen Watson Ladd=E2=80=99s suggestion of signed ephemeral DH: which is some=
thing TLS already has, with the core of the proposal being to narrow the op=
tions drastically.=C2=A0 I=E2=80=99ve also seen a couple of IACR eprints an=
alyzing the security of certain TLS ciphersuites.=C2=A0 (Maybe these would =
go on the patch side?)=C2=A0 If I recall those papers correctly, they defin=
e some special security models just for TLS, but I forget if these models w=
ere chosen just to make the proofs work for the protocols used in the ciphe=
rsuites, or for something more fundamental like the nature of the transport=
 layer.<u></u><u></u></span></p>




<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">***<u></u><u></u></span></p><p =
class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p =
class=3D"MsoNormal">




<span lang=3D"EN-CA">I=E2=80=99d like to suggest a key establishment scheme=
 for CFRG consideration: MQV (or one of its successors, maybe), with an eye=
 to perhaps recommend to IETF WGs such as TLS.=C2=A0 <u></u><u></u></span><=
/p><p class=3D"MsoNormal">




<span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNormal">=
<span lang=3D"EN-CA">***<u></u><u></u></span></p><p class=3D"MsoNormal"><sp=
an lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNormal"><sp=
an lang=3D"EN-CA">Some generic (non-TLS-specific) issues for MQV:<u></u><u>=
</u></span></p>




<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Two benefits of MQV over signed=
 ephemeral DH, as I see it, would be efficiency (though I=E2=80=99m no expe=
rt) and better plausible deniability (due to the lack of signatures).=C2=A0=
 I wonder what CFRG thinks of these benefits.<u></u><u></u></span></p>




<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Existing standards that specify=
 versions of MQV include ANSI X9.{44,63,98}, NIST SP 800-56A, IEEE P1363, a=
nd SEC1.=C2=A0 Therefore, it may be redundant for CFRG to draft on RFC for =
MQV, although CFRG may wish to write an RFC to profile the version that the=
y like best.=C2=A0 =C2=A0<u></u><u></u></span></p>




<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">These standards go towards the =
maturity of MQV, in the sense that they received scrutiny from the committe=
es that drafted them, and have been public for a long time, and have served=
 as an incentive to cryptanalytic research, being fairly high profile targe=
ts.<u></u><u></u></span></p>




<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">The HMQV paper by Krawczyk crit=
iques MQV, but these critiques did not seem terribly serious to me, at leas=
t when I last read them years ago.=C2=A0 Also, I=E2=80=99m not sure how oth=
er key establishment schemes fare under these more stringent requirements (=
session-state reveal attacks, and so on).<u></u><u></u></span></p>




<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">The version of the MQV from NIS=
T requires identifiers in the KDF, which helps prevent UKS attacks.=C2=A0 (=
I=E2=80=99m not sure if TLS needs to resist UKS attacks, but a recent threa=
d on the TLS reminds of UKS attacks.)<u></u><u></u></span></p>




<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">I recently released a (rather t=
heoretical and very incomplete) IACR eprint on MQV. =C2=A0It only covers a =
modest, but essential, level of security for key agreement schemes.=C2=A0 I=
 think other people on the CFRG list are much more up to speed on the key e=
stablishment schemes.=C2=A0 <u></u><u></u></span></p>




<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">***<u></u><u></u></span></p><p =
class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p =
class=3D"MsoNormal">




<span lang=3D"EN-CA">Some TLS-specific issues for MQV, but at a high level =
for CFRG consideration:<u></u><u></u></span></p><p class=3D"MsoNormal"><spa=
n lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNormal"><spa=
n lang=3D"EN-CA">Past proposals to integrate MQV into TLS a few times inclu=
de:<u></u><u></u></span></p>




<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA"><a href=3D"https://datatracker.=
ietf.org/doc/search/?name=3Dmqv&amp;rfcs=3Don&amp;activedrafts=3Don&amp;old=
drafts=3Don&amp;sort" target=3D"_blank">https://datatracker.ietf.org/doc/se=
arch/?name=3Dmqv&amp;rfcs=3Don&amp;activedrafts=3Don&amp;olddrafts=3Don&amp=
;sort</a>=3D<u></u><u></u></span></p>




<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Perhaps these could be improved=
, given current knowledge on key agreement.<u></u><u></u></span></p><p clas=
s=3D"MsoNormal">




<span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNormal">=
<span lang=3D"EN-CA">A major issue is that MQV usually presumes mutual auth=
entication, but TLS accommodates anonymous clients. Leaving the MQV client =
=E2=80=9Cstatic=E2=80=9D key unauthenticated seems, at least intuitively, t=
o reduce MQV to DH, on the client side, which is not much of a loss.=C2=A0 =
It may be possible to have stateful TLS client retain a static MQV key, but=
 still unauthenticated. This could be used for the weaker TOFU model of tru=
st, so may still have some security benefit.<u></u><u></u></span></p>




<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">If I understand correctly, TLS =
may now want to add some kind of anonymity, e.g. encryption of certificates=
 and other identifiers.=C2=A0 Since MQV involves sending ephemeral key, the=
se could, at the cost of an extra shared key computation, protect the stati=
c (certified or trusted) keys against passive adversaries.=C2=A0 I=E2=80=99=
m not sure if the resulting double use of the ephemeral keys would undermin=
e the security of MQV.<u></u><u></u></span></p>




<p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></span></p>=
<p class=3D"MsoNormal"><span lang=3D"EN-CA">Best regards,<u></u><u></u></sp=
an></p><p class=3D"MsoNormal"><span lang=3D"EN-CA"><u></u>=C2=A0<u></u></sp=
an></p><p style=3D"margin-left:0.75in">




<u></u><span lang=3D"EN-CA"><span>-<span style=3D"font-style:normal;font-va=
riant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-famil=
y:&#39;Times New Roman&#39;">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </s=
pan></span></span><u></u><span lang=3D"EN-CA">Dan<u></u><u></u></span></p>

<table style=3D"width:6.25in" border=3D"0" cellpadding=3D"0" cellspacing=3D=
"0" width=3D"750">


<tbody><tr><td style=3D"padding:0in 0in 3pt"></td></tr><tr><td style=3D"pad=
ding:0in"><p class=3D"MsoNormal" style=3D"margin-top:3.75pt"><span style=3D=
"font-size:9pt;font-family:Arial,sans-serif"><u></u>=C2=A0<u></u></span></p=
>


</td></tr></tbody></table><p class=3D"MsoNormal"><span style=3D"font-size:1=
2pt;font-family:&#39;Times New Roman&#39;,serif"><u></u>=C2=A0<u></u></span=
></p><table style=3D"width:6.25in" border=3D"0" cellpadding=3D"0" cellspaci=
ng=3D"0" width=3D"750">




<tbody><tr><td style=3D"padding:0in"></td></tr></tbody></table><p class=3D"=
MsoNormal"><span style=3D"font-size:12pt;font-family:&#39;Times New Roman&#=
39;,serif"><u></u>=C2=A0<u></u></span></p><table style=3D"width:6.25in" bor=
der=3D"0" cellpadding=3D"0" cellspacing=3D"3" width=3D"750">




<tbody><tr><td style=3D"padding:9.75pt 0in 0in"><p class=3D"MsoNormal"><spa=
n style=3D"font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><img=
 src=3D"cid:image001.jpg@01CF37A2.B70EBDE0" height=3D"43" border=3D"0" widt=
h=3D"176"></span><span style=3D"font-size:12pt;font-family:&#39;Times New R=
oman&#39;,serif"><u></u><u></u></span></p>




</td></tr><tr><td style=3D"width:6.25in;padding:9.75pt 0in 0in" width=3D"75=
0"></td></tr></tbody></table><p class=3D"MsoNormal"><span lang=3D"EN-CA"><u=
></u>=C2=A0<u></u></span></p></div></div><br></div></div><div>_____________=
__________________________________<br>





Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.org</a><br>
<a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" target=3D"_blank">htt=
p://www.irtf.org/mailman/listinfo/cfrg</a><br>
<br></div></blockquote></div><br></div></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.org</a><br>
<a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" target=3D"_blank">htt=
p://www.irtf.org/mailman/listinfo/cfrg</a><br>
<br></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>&quot;Th=
ose who would give up Essential Liberty to purchase a little Temporary Safe=
ty deserve neither=C2=A0 Liberty nor Safety.&quot;<br>-- Benjamin Franklin=
=20
</div></div>

--20cf306849ed9d126204f3f39094--
--20cf306849ed9d126504f3f39095
Content-Type: image/jpeg; name="image001.jpg"
Content-Disposition: inline; filename="image001.jpg"
Content-Transfer-Encoding: base64
Content-ID: <image001.jpg@01CF37A2.B70EBDE0>
X-Attachment-Id: cefddd6471b9e8e5_0.0.0.1

/9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAArALADASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx
BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK
U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3
uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3qW6t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IY3jHRWUEflUtFAFDVJriw0e4k060E1xHGfJgXgM3YfSvPPhb4J1PTtQ1D
xH4khK6tdSEIrNuKKepz78D8K9SooAKKKKAP/9k=
--20cf306849ed9d126504f3f39095--


From nobody Thu Mar  6 20:57:10 2014
Return-Path: <y.oiwa@aist.go.jp>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4EB081A01B6 for <cfrg@ietfa.amsl.com>; Thu,  6 Mar 2014 20:57:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.679
X-Spam-Level: 
X-Spam-Status: No, score=-3.679 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SX9EyefDeiot for <cfrg@ietfa.amsl.com>; Thu,  6 Mar 2014 20:57:07 -0800 (PST)
Received: from na3sys010aog105.obsmtp.com (na3sys010aog105.obsmtp.com [74.125.245.78]) by ietfa.amsl.com (Postfix) with ESMTP id F3AB51A009E for <cfrg@irtf.org>; Thu,  6 Mar 2014 20:57:06 -0800 (PST)
Received: from mail-vc0-f175.google.com ([209.85.220.175]) (using TLSv1) by na3sys010aob105.postini.com ([74.125.244.12]) with SMTP ID DSNKUxlRnqHU0h9t316LPjmtvbGOwJmGkKsW@postini.com; Thu, 06 Mar 2014 20:57:03 PST
Received: by mail-vc0-f175.google.com with SMTP id lh14so1661586vcb.6 for <cfrg@irtf.org>; Thu, 06 Mar 2014 20:57:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=EKERpcFfZXimDS05T4oVCB7VFh85kPVKJgOKl3jZgK4=; b=ZY5KoX0mplbgkqWMcTZ8k5skeswaJE0HAOnPuy2J4IOFm1iS5b4mlwv8Kfk+2b3e0O 5ZmCMbwNkumxToHXXphkBX+SGAIXpnDrq5K+nYkXio6r/3geFsue8WRVifbGjBfwJanv nTgOaISno114ACiM6ZIGQAoOW3r7EzWHK+WeY=
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=EKERpcFfZXimDS05T4oVCB7VFh85kPVKJgOKl3jZgK4=; b=iD0mXaCakRAFvK++1/J1Zu2lrgx5i7lpiFGCLYL84tdJpKajoFTkNYlWPWnbHEzMjg LA0fdMglmoGp3WR5fmhkSIAy07JLNB7vyyfsOZphrshFOc5J9makZXfqwwZpZxFdscR2 wYH2SGZbWFx1wg16cykZutVubGE6yiz/vf+Yc/G0wgEv5dHGQTzWBHGpOrNW/TeyT2Xs HI9kVTbe1KGdoeM6P8xFNDIYsmH8gQzEVtz0kNprydOPxeHSpNyELl+whEpXUMWfYyQN gOeFaCTn30jaJ1NJTkdzDKdeDoEVccspBH6+6C+TNQmESpIUUxT5k6N9XEzfh336oOUk g8Dg==
X-Gm-Message-State: ALoCoQnmn1PQIiPLS079UYxHSveuRDmMMYlymhrsrlYtVlxmWO3g0tdese00BdtszwFQfxRmlqUHgsXwvPQc7rMV10T8vOkP1qKmJpApcyT5u6JKTmYD0d+RXlG4eu+03Z3qgl03zLtB3DEuXGdpogbpR5Ef7ouD2A==
X-Received: by 10.220.133.80 with SMTP id e16mr8350456vct.13.1394168222235; Thu, 06 Mar 2014 20:57:02 -0800 (PST)
X-Received: by 10.220.133.80 with SMTP id e16mr8350441vct.13.1394168222117; Thu, 06 Mar 2014 20:57:02 -0800 (PST)
MIME-Version: 1.0
Received: by 10.58.100.227 with HTTP; Thu, 6 Mar 2014 20:56:42 -0800 (PST)
In-Reply-To: <CAMeZVwsv1LWAcEdqFU94d8GXMYLmgC=E=ji1O_Cx_cDgBQAOOw@mail.gmail.com>
References: <CACsn0cmSH0hfuZs19Epvh_=vCPszx3Y3_GP5+snFDMcmAQUyQg@mail.gmail.com> <A4A326BF-6C6B-482F-85FB-36880BF315DA@checkpoint.com> <CAMeZVwsv1LWAcEdqFU94d8GXMYLmgC=E=ji1O_Cx_cDgBQAOOw@mail.gmail.com>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Fri, 7 Mar 2014 13:56:42 +0900
Message-ID: <CAMeZVwu-UPDWM7P+m6xj7inryY8PYFs-AAoD5ALwYZe3NTYQ1g@mail.gmail.com>
To: Yoav Nir <ynir@checkpoint.com>, Watson Ladd <watsonbladd@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/vQkhGTmHs3BGX8AotekPJQCWCj8
Cc: "http-auth@ietf.org" <http-auth@ietf.org>, cfrg@irtf.org
Subject: Re: [Cfrg] [http-auth] Fwd:  Another PAKE question
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Mar 2014 04:57:09 -0000

Dear Watson and all,

I received a private communication from internal colleagues
and would like to update my description.

What Watson has mentioned seems to be the one in
Section 11.2 of the main draft
<http://tools.ietf.org/html/draft-ietf-httpauth-mutual-01#section-11.2>.
VK_c and VK_s contain the log of the transactions
K_c1 and K_s1 into the calculation.
These values were already included in the original
cryptographic primitives, and is treated as a
"common" structure among primitives in the drafts
(that's why it is in the main draft, instead of the algo draft).

# Do you think we need more to be embedded, such as
# session IDs into consideration?

I think this makes a correct answer to the question, and
I'd like to update the specs so that it becomes more
clearer to the readers in the cryptographic community and
future designers of additional algorithms.
Thank you very much again for informative comments.


2014-03-06 3:30 GMT+09:00 Yutaka OIWA <y.oiwa@aist.go.jp>:
> Watson, Sorry, I completely missed this mail in the pile of unread mails.
>
> # Thanks Yoav, your comment in WG reminds me and help finding out of this.
>
> AFAIK, putting the transaction history into the calculation is
> already embedded as the values t_1 and t_2 described in
> the algorithm in
> <https://tools.ietf.org/html/draft-oiwa-httpauth-mutual-algo-01>,
> Sections 2.2 and 2.3.
> Isn't this t_1 and t_2 (put into the calculation of z) suffice for the purpose?
>
> My understanding is that the functionality what Watson mentioned is a
> fundamental requirements for all PAKE primitives, and
> is already embedded in the specification of such primitives' layer.
> If this assumption is not, or if we need to protect more values than
> the values appear in the cryptographic primitives, I agree that the
> functionality
> should be again implemented in the layer of the "HTTP Mutual authentication".
> In such case I will do it with our cryptographer colleagues.
>
> Sorry for the very late reply, but I'm very happy if you can help me
> better understanding of this issue.
>
>
> 2014-01-10 0:24 GMT+09:00 Yoav Nir <ynir@checkpoint.com>:
>> Hi.
>>
>> CFRG has recently had some discussion about PAKEs in general. I have asked
>> them to take a look at MutualAuth. This is one of the replies that we got.
>>
>> Yoav
>>
>> Begin forwarded message:
>>
>> From: Watson Ladd <watsonbladd@gmail.com>
>> Subject: Re: [Cfrg] Another PAKE question
>> Date: January 9, 2014 4:57:19 PM GMT+02:00
>> To: Yoav Nir <ynir@checkpoint.com>
>>
>> Why is this protocol secure?
>> I would recommend taking the z, and computing a hash of z and the
>> transcript of the protocol. In
>> this way under the ROM, the computed value doesn't reveal information.
>> It ensures that any
>> manipulation of the messages leads to different z values.
>>
>> I'll try to think of ways to make a proof given that change.
>> Sincerely,
>> Watson Ladd
>>
>>
>> On Wed, Jan 8, 2014 at 10:09 PM, Yoav Nir <ynir@checkpoint.com> wrote:
>>
>> Hi
>>
>> I almost feel like I'm asking for trouble after the roast that Dan went
>> through, but some on this list might want to consider another PAKE going
>> through an IETF working group.
>>
>> HTTP-Auth is making experimental authentication mechanisms for the HTTP
>> layer. One of those is a PAKE. If people here on the CFRG list would like to
>> comment on it, that would be great. We can have some discussion here, but
>> ultimately, comments criticisms and suggestions should go to the HTTP-auth
>> list (details below).
>>
>> The draft in question is called "Mutual Authentication Protocol for HTTP".
>>
>> Link: http://tools.ietf.org/html/draft-ietf-httpauth-mutual-01
>>
>> Yoav
>> co-chair of HTTP-Auth
>>
>> Mailing list details:
>> * http-auth List Information:
>> https://www.ietf.org/mailman/listinfo/http-auth
>> * http-auth List Archives:
>> http://www.ietf.org/mail-archive/web/http-auth/current/maillist.html
>> * http-auth Posting Address (requires registration): http-auth@ietf.org
>> _______________________________________________
>> 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
>>
>>
>> Email secured by Check Point
>>
>>
>>
>> _______________________________________________
>> http-auth mailing list
>> http-auth@ietf.org
>> https://www.ietf.org/mailman/listinfo/http-auth
>>
>
>
>
> --
> Yutaka OIWA, Ph.D.                 Leader, System Life-cycle Research Group
>                                Research Institute for Secure Systems (RISEC)
>      National Institute of Advanced Industrial Science and Technology (AIST)
>                        Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
> OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 46B5]



-- 
Yutaka OIWA, Ph.D.                 Leader, System Life-cycle Research Group
                               Research Institute for Secure Systems (RISEC)
     National Institute of Advanced Industrial Science and Technology (AIST)
                       Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 46B5]


From nobody Sun Mar  9 07:56:24 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 B10781A0361 for <cfrg@ietfa.amsl.com>; Sun,  9 Mar 2014 07:56:22 -0700 (PDT)
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 j3uUsknntth1 for <cfrg@ietfa.amsl.com>; Sun,  9 Mar 2014 07:56:21 -0700 (PDT)
Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [IPv6:2a00:1450:400c:c03::232]) by ietfa.amsl.com (Postfix) with ESMTP id B24FF1A0265 for <cfrg@irtf.org>; Sun,  9 Mar 2014 07:56:20 -0700 (PDT)
Received: by mail-we0-f178.google.com with SMTP id u56so7364204wes.9 for <cfrg@irtf.org>; Sun, 09 Mar 2014 07:56:15 -0700 (PDT)
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=7kovu93QTRcB+S8L/SnkxyDORwKeoS/TDniu8RRcWDo=; b=ouRoLqxH4I7an/x8tn5GUnrfURoPwmAcIx8z7Z3Bo9AEzTRDOVJ3RjBH/yzapoKx2I 7VhZSrwr6ZurD1qYXn2bRxH2evIXdXEYKb/tFHgV4pN18t0LocMbI4MXBWP2UoUauV5l P+qiqyxQXnjIbzS1U3wbKRYQlUOcUNMy+LC+IS86/bxKZwpZJQUX7dRyqrIU6U/6O0mt AuOtfQR4XIG8FPV4Ux5K+2fCwZQlVCF4f7R7d4iUhD+Lsn2sqV9Q/H3oBc7BDdsn0kET QqUVU6MdXzLffD3e18EqKOc5lcN4b9eBbBSRjvy/PLxC+rQtSwjYYGlzsb5MiturLz1v BAcQ==
MIME-Version: 1.0
X-Received: by 10.180.165.174 with SMTP id yz14mr5663500wib.34.1394376975013;  Sun, 09 Mar 2014 07:56:15 -0700 (PDT)
Received: by 10.194.89.1 with HTTP; Sun, 9 Mar 2014 07:56:14 -0700 (PDT)
Date: Sun, 9 Mar 2014 16:56:14 +0200
Message-ID: <CAGvU-a7Mpn9Wrie=QEftsZrojQAcwysnQgNt5BOjdr8ZRY08Zg@mail.gmail.com>
From: Yoav Nir <ynir.ietf@gmail.com>
To: cfrg@irtf.org
Content-Type: multipart/alternative; boundary=90e6ba309824475d7e04f42db078
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/YrdhfvSV_zojPBAFKEjdkqfeJzI
Subject: [Cfrg] Poly1305 and timing 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: Sun, 09 Mar 2014 14:56:22 -0000

--90e6ba309824475d7e04f42db078
Content-Type: text/plain; charset=ISO-8859-1

Hi

I mentioned this during the meeting, but there was no discussion on this
subject there, so I thought I'd raise it here.

I got a private message in response to draft-nir-cfrg-chacha20-poly1305
that questions the text about constant time implementations for Poly1305.
The argument can be outlined as follows:

Side channels in general and timing vulnerabilities in particular are bad
because they reveal either parts of the plaintext they work on, or parts of
the key that is used. However, Poly1305 works on the ciphertext that is
sent on the wire anyway, so exposing that does not matter. Also, Poly1305
requires a different one-time key for each invocation, so revealing some
information about that one-time key doesn't matter, because it will not be
used again. So in summary, timing attacks on Poly1305 don't matter.

This argument is very attractive to me, because if it is valid, it makes
the security considerations much simpler, and significantly reduces the
complexity of implementing these algorithms (the "competent" vs "good"
coder from slide 2).

So can anyone on this list comment on this argument?

Thanks

Yoav

--90e6ba309824475d7e04f42db078
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div><div>Hi<br><br></div>I mentioned =
this during the meeting, but there was no discussion on this subject there,=
 so I thought I&#39;d raise it here.<br><br></div>I got a private message i=
n response to draft-nir-cfrg-chacha20-poly1305 that questions the text abou=
t constant time implementations for Poly1305. The argument can be outlined =
as follows:<br>
<br></div><div style=3D"margin-left:40px"><span style=3D"font-family:arial,=
helvetica,sans-serif">Side channels in general and timing vulnerabilities i=
n particular are bad because they reveal either parts of the plaintext they=
 work on, or parts of the key that is used. However, Poly1305 works on the =
ciphertext that is sent on the wire anyway, so exposing that does not matte=
r. Also, Poly1305 requires a different one-time key for each invocation, so=
 revealing some information about that one-time key doesn&#39;t matter, bec=
ause it will not be used again. So in summary, timing attacks on Poly1305 d=
on&#39;t matter.</span><br>
</div><br></div>This argument is very attractive to me, because if it is va=
lid, it makes the security considerations much simpler, and significantly r=
educes the complexity of implementing these algorithms (the &quot;competent=
&quot; vs &quot;good&quot; coder from slide 2).<br>
</div><div><br></div>So can anyone on this list comment on this argument?<b=
r><br></div>Thanks<br><br>Yoav<br><br></div>

--90e6ba309824475d7e04f42db078--


From nobody Sun Mar  9 09:45: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 E77DF1A025E for <cfrg@ietfa.amsl.com>; Sun,  9 Mar 2014 09:45:25 -0700 (PDT)
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 2a9MHU5VCfPM for <cfrg@ietfa.amsl.com>; Sun,  9 Mar 2014 09:45:24 -0700 (PDT)
Received: from mail-yh0-x22e.google.com (mail-yh0-x22e.google.com [IPv6:2607:f8b0:4002:c01::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 2AACE1A0268 for <cfrg@irtf.org>; Sun,  9 Mar 2014 09:45:24 -0700 (PDT)
Received: by mail-yh0-f46.google.com with SMTP id b6so3188675yha.5 for <cfrg@irtf.org>; Sun, 09 Mar 2014 09:45:19 -0700 (PDT)
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=KuKbcgRaclE7nbY0cFudge29evg9HtxxJMsusL2qxp0=; b=Lbyu2QgAEX9B6Mdcy3bur/WW5qpL/eVKLQdFhdgS8Czter5m/xDHc64V6ezQyNm7TG IY71EnCJAvXSEjYUHjYgjxL6xx3DAcg/rKgElTOssuBY8/p64813ETE1v5wjpadZbmih fIqiBMWknQGHsAnZi0ZKM2Y/JP1dGDS4NMeIr/tr/Iay/0ODb4jM6vgdKfR/bG4lCw1P NbmgscFt1irmCtkFvBS6HaXJHcTDUGowg4Dj/+kPRiZE0gklBUfDXWdiMOrs6I6744Yd jZJIipEe0kjfTyScAPjfZRr6uQl88ilxOPNfUsZ0fITZdFeniltVgl22kVrERoywZuTl hVyw==
MIME-Version: 1.0
X-Received: by 10.236.123.38 with SMTP id u26mr5904012yhh.93.1394383518694; Sun, 09 Mar 2014 09:45:18 -0700 (PDT)
Received: by 10.170.80.214 with HTTP; Sun, 9 Mar 2014 09:45:18 -0700 (PDT)
In-Reply-To: <CAGvU-a7Mpn9Wrie=QEftsZrojQAcwysnQgNt5BOjdr8ZRY08Zg@mail.gmail.com>
References: <CAGvU-a7Mpn9Wrie=QEftsZrojQAcwysnQgNt5BOjdr8ZRY08Zg@mail.gmail.com>
Date: Sun, 9 Mar 2014 09:45:18 -0700
Message-ID: <CACsn0ckrTB37jB4Apj7GxAZUjou_=RUj7j4dgFeWpqxS4HKq6Q@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Yoav Nir <ynir.ietf@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/hWnw7o7BaX0zF8nuKXzZyCd316A
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Poly1305 and timing 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: Sun, 09 Mar 2014 16:45:26 -0000

On Sun, Mar 9, 2014 at 7:56 AM, Yoav Nir <ynir.ietf@gmail.com> wrote:
> Hi
>
> I mentioned this during the meeting, but there was no discussion on this
> subject there, so I thought I'd raise it here.
>
> I got a private message in response to draft-nir-cfrg-chacha20-poly1305 that
> questions the text about constant time implementations for Poly1305. The
> argument can be outlined as follows:
>
> Side channels in general and timing vulnerabilities in particular are bad
> because they reveal either parts of the plaintext they work on, or parts of
> the key that is used. However, Poly1305 works on the ciphertext that is sent
> on the wire anyway, so exposing that does not matter. Also, Poly1305
> requires a different one-time key for each invocation, so revealing some
> information about that one-time key doesn't matter, because it will not be
> used again. So in summary, timing attacks on Poly1305 don't matter.
>
> This argument is very attractive to me, because if it is valid, it makes the
> security considerations much simpler, and significantly reduces the
> complexity of implementing these algorithms (the "competent" vs "good" coder
> from slide 2).
>
> So can anyone on this list comment on this argument?

An implementation of Poly1305 that isn't constant time imposes a
significant additional burden on callers to generate the entire key
pseudorandomly, as opposed to changing the last part. In the AEAD or
MAC as defined here that's okay.

The place where Poly1305 leaks information is likely in the polynomial
evaluation. It is acceptable to have (r, s1), (r, s2) ... with r
unchanging and the s generated pseudorandomly. But in an
implementation which isn't constant time could eventually reveal r
over multiple messages.

For Poly1305 as used in this draft, I am very, very hesitant about
approving any draft that says not-constant time is okay. However, if
the entire keys are being generated pseudorandomly, then I think, if
the side channel isn't gratuitously large, it's possibly safe. Saying
anything more concrete would require a lot of painful analysis of what
is leaked and how it can be used.

Personally, I don't understand why making the crypto not constant
time, and thus open to attacks, simplifies the security
considerations. It might make the job of the implementor easier, but
it makes the job of the person who builds on top harder.

Two sidenotes: IVs are not nonces, and there is a typo where "times
might be great then 2^256 or less then 2^256".

Sincerely,
Watson Ladd
>
> Thanks
>
> Yoav
>
>
> _______________________________________________
> 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 Mar  9 15:00:13 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 552711A03A4 for <cfrg@ietfa.amsl.com>; Sun,  9 Mar 2014 15:00:12 -0700 (PDT)
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 zjJeqwPv-HDq for <cfrg@ietfa.amsl.com>; Sun,  9 Mar 2014 15:00:10 -0700 (PDT)
Received: from mail-ea0-x232.google.com (mail-ea0-x232.google.com [IPv6:2a00:1450:4013:c01::232]) by ietfa.amsl.com (Postfix) with ESMTP id 4AE7E1A03A1 for <cfrg@irtf.org>; Sun,  9 Mar 2014 15:00:10 -0700 (PDT)
Received: by mail-ea0-f178.google.com with SMTP id a15so3433639eae.9 for <cfrg@irtf.org>; Sun, 09 Mar 2014 15:00:04 -0700 (PDT)
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=vwsSqJ3UhXVbUjGkvJODT1sbUvNEkLpsKUVIjLfgu1k=; b=b+sdUzwufRgx1J6hn5f4FAdAtgVuSAzkBVOFEL4eSCHogkHZjoyN+iO7x3NW73pfPF 8ftHueXU71kLJAqVKhhniBeBWe4cGXrh4eWAb9ENVoaZwnZ0A7q/m7cOtaswfci67tIC LeVSO8nl6iOkP0o7+TjI8wUtjFHwXKFrMSkS5zvsshhiwfNKAUdxmvTu9Kp/RCrAQXQ4 d6SXYAprPB36C1pDQE9lY41IGBw0d8XZ28QI8hwMEWtRFeMP51g5sCDs0LO6IfF90gh2 66z71BRXgFDrSDeEsKU6Zx7bsSBfnUm7HYk3anSA/Xkt1eJiqgCf/DFr7VkDCMFkzO2A PQtA==
X-Received: by 10.14.119.139 with SMTP id n11mr42257eeh.103.1394402404654; Sun, 09 Mar 2014 15:00:04 -0700 (PDT)
Received: from [192.168.1.102] (bzq-84-109-50-18.red.bezeqint.net. [84.109.50.18]) by mx.google.com with ESMTPSA id 46sm37226966ees.4.2014.03.09.15.00.03 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 09 Mar 2014 15:00:04 -0700 (PDT)
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <CACsn0ckrTB37jB4Apj7GxAZUjou_=RUj7j4dgFeWpqxS4HKq6Q@mail.gmail.com>
Date: Mon, 10 Mar 2014 00:00:03 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <CA0A4F63-89AB-4AC2-8955-E3C575E3B01C@gmail.com>
References: <CAGvU-a7Mpn9Wrie=QEftsZrojQAcwysnQgNt5BOjdr8ZRY08Zg@mail.gmail.com> <CACsn0ckrTB37jB4Apj7GxAZUjou_=RUj7j4dgFeWpqxS4HKq6Q@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ZeaVI1o-iI9XY8nAUH0Yu2WvOcY
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Poly1305 and timing 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: Sun, 09 Mar 2014 22:00:12 -0000

On Mar 9, 2014, at 6:45 PM, Watson Ladd <watsonbladd@gmail.com> wrote:

>=20
> An implementation of Poly1305 that isn't constant time imposes a
> significant additional burden on callers to generate the entire key
> pseudorandomly, as opposed to changing the last part. In the AEAD or
> MAC as defined here that's okay.

Understood.

> The place where Poly1305 leaks information is likely in the polynomial
> evaluation. It is acceptable to have (r, s1), (r, s2) ... with r
> unchanging and the s generated pseudorandomly. But in an
> implementation which isn't constant time could eventually reveal r
> over multiple messages.

Agree. However, from what I have heard in both the IPsec and TLS working =
groups, there is little to no interest in the stand-alone versions of =
chacha20 and poly1305, only the AEAD combination, So I might divide the =
security considerations into stuff that is for poly1305 stand-alone, and =
other considerations for the AEAD, which can possibly be less onerous.

> For Poly1305 as used in this draft, I am very, very hesitant about
> approving any draft that says not-constant time is okay. However, if
> the entire keys are being generated pseudorandomly, then I think, if
> the side channel isn't gratuitously large, it's possibly safe. Saying
> anything more concrete would require a lot of painful analysis of what
> is leaked and how it can be used.
>=20
> Personally, I don't understand why making the crypto not constant
> time, and thus open to attacks, simplifies the security
> considerations. It might make the job of the implementor easier, but
> it makes the job of the person who builds on top harder.

It makes the security considerations simpler because it makes all the =
talk about constant time implementations go away and eliminates the need =
for pointing people at how to accomplish this. I agree I probably can=92t =
do this, as this implementation might later be used as part of a library =
for other things. It=92s not generally good to instruct people on how to =
make an implementation with a warning label (that they will later =
ignore).

> Two sidenotes: IVs are not nonces, and there is a typo where "times
> might be great then 2^256 or less then 2^256=94.

Yes, =93sometimes=94 is a single word.=20

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


From nobody Sun Mar  9 15:22:55 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 8305F1A022C for <cfrg@ietfa.amsl.com>; Sun,  9 Mar 2014 15:22:53 -0700 (PDT)
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, HTML_MESSAGE=0.001, 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 ckPuFgt0TP7A for <cfrg@ietfa.amsl.com>; Sun,  9 Mar 2014 15:22:50 -0700 (PDT)
Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe004.messaging.microsoft.com [216.32.181.184]) by ietfa.amsl.com (Postfix) with ESMTP id 2F74C1A022B for <cfrg@irtf.org>; Sun,  9 Mar 2014 15:22:50 -0700 (PDT)
Received: from mail49-ch1-R.bigfish.com (10.43.68.240) by CH1EHSOBE013.bigfish.com (10.43.70.63) with Microsoft SMTP Server id 14.1.225.22; Sun, 9 Mar 2014 22:22:44 +0000
Received: from mail49-ch1 (localhost [127.0.0.1])	by mail49-ch1-R.bigfish.com (Postfix) with ESMTP id C8F5B4006C; Sun,  9 Mar 2014 22:22:44 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:157.56.249.149; KIP:(null); UIP:(null); IPV:NLI; H:AM2PRD0311HT005.eurprd03.prod.outlook.com; RD:none; EFVD:NLI
X-SpamScore: -1
X-BigFish: PS-1(zz98dIc85fh146fIdbf2izz1f42h208ch1ee6h1de0h1d18h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah21bch1fc6hzz1de098h17326ah8275bh8275dh18c673h1de097h186068h1d68dehz2fh109h2a8h839hd25he5bhf0ah1288h12a5h12bdh137ah1441h1504h1537h153bh162dh1631h1758h18e1h1946h19b5h19ceh1ad9h1b0ah1bceh224fh1d0ch1d2eh1d3fh1dfeh1dffh1fe8h1ff5h2052h20b3h20f0h2216h22d0h2336h2438h2461h2487h24d7h2516h2545h255eh25cch25f6h2605h1155h)
Received-SPF: pass (mail49-ch1: domain of rhul.ac.uk designates 157.56.249.149 as permitted sender) client-ip=157.56.249.149; envelope-from=Kenny.Paterson@rhul.ac.uk; helo=AM2PRD0311HT005.eurprd03.prod.outlook.com ; .outlook.com ; 
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10019001)(428001)(189002)(199002)(52314003)(24454002)(66066001)(80022001)(74876001)(90146001)(56816005)(65816001)(81816001)(63696002)(94946001)(95416001)(92566001)(92726001)(93136001)(97186001)(50986001)(76796001)(59766001)(85852003)(79102001)(36756003)(74366001)(86362001)(49866001)(74662001)(76786001)(31966008)(93516002)(81542001)(15202345003)(2656002)(47976001)(33656001)(81342001)(87936001)(74502001)(56776001)(69226001)(19273905006)(77982001)(74482001)(81686001)(95666003)(16236675002)(54316002)(80976001)(83322001)(94316002)(97336001)(74706001)(47736001)(83072002)(46102001)(87266001)(53806001)(51856001)(4396001)(19580405001)(19580395003)(85306002)(82746002)(83716003)(15975445006)(54356001)(76482001); DIR:OUT; SFP:1102; SCL:1; SRVR:DBXPR03MB029; H:DBXPR03MB383.eurprd03.prod.outlook.com; CLIP:80.42.226.146; FPR:9C0F6135.932834D3.B0D17193.8AB4F86C.2035E; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
Received: from mail49-ch1 (localhost.localdomain [127.0.0.1]) by mail49-ch1 (MessageSwitch) id 1394403762819686_11405; Sun,  9 Mar 2014 22:22:42 +0000 (UTC)
Received: from CH1EHSMHS037.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.254])	by mail49-ch1.bigfish.com (Postfix) with ESMTP id C3E5C20055; Sun,  9 Mar 2014 22:22:42 +0000 (UTC)
Received: from AM2PRD0311HT005.eurprd03.prod.outlook.com (157.56.249.149) by CH1EHSMHS037.bigfish.com (10.43.69.246) with Microsoft SMTP Server (TLS) id 14.16.227.3; Sun, 9 Mar 2014 22:22:42 +0000
Received: from DBXPR03MB029.eurprd03.prod.outlook.com (10.242.145.145) by AM2PRD0311HT005.eurprd03.prod.outlook.com (10.255.162.40) with Microsoft SMTP Server (TLS) id 14.16.423.0; Sun, 9 Mar 2014 22:22:40 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by DBXPR03MB029.eurprd03.prod.outlook.com (10.242.145.145) with Microsoft SMTP Server (TLS) id 15.0.893.10; Sun, 9 Mar 2014 22:22:39 +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.00.0893.001; Sun, 9 Mar 2014 22:22:39 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Yoav Nir <ynir.ietf@gmail.com>
Thread-Topic: [Cfrg] Poly1305 and timing attacks
Thread-Index: AQHPO6fBJBkHi6qVekCadSn5VKUGVprZVNn7
Date: Sun, 9 Mar 2014 22:22:38 +0000
Message-ID: <37CD9BE1-3576-4818-B03C-2C1C2890EBAE@rhul.ac.uk>
References: <CAGvU-a7Mpn9Wrie=QEftsZrojQAcwysnQgNt5BOjdr8ZRY08Zg@mail.gmail.com>
In-Reply-To: <CAGvU-a7Mpn9Wrie=QEftsZrojQAcwysnQgNt5BOjdr8ZRY08Zg@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [80.42.226.146]
x-forefront-prvs: 0145758B1D
Content-Type: multipart/alternative; boundary="_000_37CD9BE135764818B03C2C1C2890EBAErhulacuk_"
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/OZDAIhdD_bUhqTuZRIyqZtIJRGQ
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Poly1305 and timing 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: Sun, 09 Mar 2014 22:22:53 -0000

--_000_37CD9BE135764818B03C2C1C2890EBAErhulacuk_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi Yoav,

I disagree with the argument as it is currently stated. Suppose 96 bits of =
a 128-bit MAC key leak via a side channel analysis from a single invocation=
 of the MAC. (Somewhat extreme but within the scope of the scenario you men=
tion.)

Then an active MITM adversary can successfully inject a modified packet for=
 the same key/sequence number with probability 2^{-32}, simply by guessing =
the missing key bits. That is, the effect of partial key leakage on securit=
y is not "null", even in the scenario where keys are only used once.

The argument you cite needs to be more carefully stated to properly account=
 for this weakness.

Cheers

Kenny

Sent from my iPad

On 9 Mar 2014, at 14:56, "Yoav Nir" <ynir.ietf@gmail.com<mailto:ynir.ietf@g=
mail.com>> wrote:

Hi

I mentioned this during the meeting, but there was no discussion on this su=
bject there, so I thought I'd raise it here.

I got a private message in response to draft-nir-cfrg-chacha20-poly1305 tha=
t questions the text about constant time implementations for Poly1305. The =
argument can be outlined as follows:

Side channels in general and timing vulnerabilities in particular are bad b=
ecause they reveal either parts of the plaintext they work on, or parts of =
the key that is used. However, Poly1305 works on the ciphertext that is sen=
t on the wire anyway, so exposing that does not matter. Also, Poly1305 requ=
ires a different one-time key for each invocation, so revealing some inform=
ation about that one-time key doesn't matter, because it will not be used a=
gain. So in summary, timing attacks on Poly1305 don't matter.

This argument is very attractive to me, because if it is valid, it makes th=
e security considerations much simpler, and significantly reduces the compl=
exity of implementing these algorithms (the "competent" vs "good" coder fro=
m slide 2).

So can anyone on this list comment on this argument?

Thanks

Yoav

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

--_000_37CD9BE135764818B03C2C1C2890EBAErhulacuk_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body dir=3D"auto">
<div>Hi Yoav,</div>
<div><br>
</div>
<div>I disagree with the argument as it is currently stated. Suppose 96 bit=
s of a 128-bit MAC key leak via a side channel analysis from a single invoc=
ation of the MAC. (Somewhat extreme but within the scope of the scenario yo=
u mention.)&nbsp;</div>
<div><br>
</div>
<div>Then an active MITM adversary can successfully inject a modified packe=
t for the same key/sequence number with probability 2^{-32}, simply by gues=
sing the missing key bits. That&nbsp;is, the effect of partial key leakage =
on security is not &quot;null&quot;, even in the
 scenario where keys are only used once.&nbsp;</div>
<div><br>
</div>
<div>The argument you cite needs to be more carefully stated to properly ac=
count for this weakness.&nbsp;</div>
<div><br>
</div>
<div>Cheers</div>
<div><br>
</div>
<div>Kenny&nbsp;<br>
<br>
Sent from my iPad</div>
<div><br>
On 9 Mar 2014, at 14:56, &quot;Yoav Nir&quot; &lt;<a href=3D"mailto:ynir.ie=
tf@gmail.com">ynir.ietf@gmail.com</a>&gt; wrote:<br>
<br>
</div>
<blockquote type=3D"cite">
<div>
<div dir=3D"ltr">
<div>
<div>
<div>
<div>
<div>
<div>Hi<br>
<br>
</div>
I mentioned this during the meeting, but there was no discussion on this su=
bject there, so I thought I'd raise it here.<br>
<br>
</div>
I got a private message in response to draft-nir-cfrg-chacha20-poly1305 tha=
t questions the text about constant time implementations for Poly1305. The =
argument can be outlined as follows:<br>
<br>
</div>
<div style=3D"margin-left:40px"><span style=3D"font-family:arial,helvetica,=
sans-serif">Side channels in general and timing vulnerabilities in particul=
ar are bad because they reveal either parts of the plaintext they work on, =
or parts of the key that is used. However,
 Poly1305 works on the ciphertext that is sent on the wire anyway, so expos=
ing that does not matter. Also, Poly1305 requires a different one-time key =
for each invocation, so revealing some information about that one-time key =
doesn't matter, because it will
 not be used again. So in summary, timing attacks on Poly1305 don't matter.=
</span><br>
</div>
<br>
</div>
This argument is very attractive to me, because if it is valid, it makes th=
e security considerations much simpler, and significantly reduces the compl=
exity of implementing these algorithms (the &quot;competent&quot; vs &quot;=
good&quot; coder from slide 2).<br>
</div>
<div><br>
</div>
So can anyone on this list comment on this argument?<br>
<br>
</div>
Thanks<br>
<br>
Yoav<br>
<br>
</div>
</div>
</blockquote>
<blockquote type=3D"cite">
<div><span>_______________________________________________</span><br>
<span>Cfrg mailing list</span><br>
<span><a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a></span><br>
<span><a href=3D"http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf=
.org/mailman/listinfo/cfrg</a></span><br>
</div>
</blockquote>
</body>
</html>

--_000_37CD9BE135764818B03C2C1C2890EBAErhulacuk_--


From nobody Sun Mar  9 15:49: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 77D3D1A0247 for <cfrg@ietfa.amsl.com>; Sun,  9 Mar 2014 15:48:59 -0700 (PDT)
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 kcc0bd1PIdw9 for <cfrg@ietfa.amsl.com>; Sun,  9 Mar 2014 15:48:57 -0700 (PDT)
Received: from mail-yh0-x233.google.com (mail-yh0-x233.google.com [IPv6:2607:f8b0:4002:c01::233]) by ietfa.amsl.com (Postfix) with ESMTP id 7544D1A0196 for <cfrg@irtf.org>; Sun,  9 Mar 2014 15:48:57 -0700 (PDT)
Received: by mail-yh0-f51.google.com with SMTP id f10so6317869yha.38 for <cfrg@irtf.org>; Sun, 09 Mar 2014 15:48:52 -0700 (PDT)
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=g6ZwLIzlZu4LNRdQeIygjzU3wo17fEDmWNmLq9FdRZQ=; b=djmTN+rLiUQGXlzGddur+WewXmLudQpUJaxRqEko9UbXAxAHgMlLlTTWoPQv0Zo+Mo YWQeqZuEC8R/DD9I1vpdqj4lSH88HtwMGaPqsIoXsMwjb6P7fauqG337tZtGicB3S9IK W06Gfwuxhe6UaFj1rl0+EHkEZunfi6bAZZVxjSn9DM3+h8YlpUiE7CEwt9/JdL8Ijd3M poyd3yhGFXVoyY9pdg5SpuYLs2QPT/f8RxhgVGcSGOhR6ebJAy7niFZcLEN04ZpqJ5o6 k74l4FbDs9FRIk2Kzq74XXjjKHF00MNnGbhcmqBjiIcs304DbWMbmN4g2qTDwQynlHqH BelA==
MIME-Version: 1.0
X-Received: by 10.236.191.67 with SMTP id f43mr39186263yhn.60.1394405332143; Sun, 09 Mar 2014 15:48:52 -0700 (PDT)
Received: by 10.170.80.214 with HTTP; Sun, 9 Mar 2014 15:48:52 -0700 (PDT)
In-Reply-To: <CA0A4F63-89AB-4AC2-8955-E3C575E3B01C@gmail.com>
References: <CAGvU-a7Mpn9Wrie=QEftsZrojQAcwysnQgNt5BOjdr8ZRY08Zg@mail.gmail.com> <CACsn0ckrTB37jB4Apj7GxAZUjou_=RUj7j4dgFeWpqxS4HKq6Q@mail.gmail.com> <CA0A4F63-89AB-4AC2-8955-E3C575E3B01C@gmail.com>
Date: Sun, 9 Mar 2014 15:48:52 -0700
Message-ID: <CACsn0cmNA15ZM9S2s73oTtKGH5SujSef9_3ez12jzg934HW9ow@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Yoav Nir <ynir.ietf@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/v3xL0bVZVZZ9agNzINzaWJTZ0zU
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Poly1305 and timing 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: Sun, 09 Mar 2014 22:48:59 -0000

On Sun, Mar 9, 2014 at 3:00 PM, Yoav Nir <ynir.ietf@gmail.com> wrote:
>
> On Mar 9, 2014, at 6:45 PM, Watson Ladd <watsonbladd@gmail.com> wrote:
<snipped agreement>
>
>> For Poly1305 as used in this draft, I am very, very hesitant about
>> approving any draft that says not-constant time is okay. However, if
>> the entire keys are being generated pseudorandomly, then I think, if
>> the side channel isn't gratuitously large, it's possibly safe. Saying
>> anything more concrete would require a lot of painful analysis of what
>> is leaked and how it can be used.
>>
>> Personally, I don't understand why making the crypto not constant
>> time, and thus open to attacks, simplifies the security
>> considerations. It might make the job of the implementor easier, but
>> it makes the job of the person who builds on top harder.
>
> It makes the security considerations simpler because it makes all the tal=
k about constant time implementations go away and eliminates the need for p=
ointing people at how to accomplish this. I agree I probably can=E2=80=99t =
do this, as this implementation might later be used as part of a library fo=
r other things. It=E2=80=99s not generally good to instruct people on how t=
o make an implementation with a warning label (that they will later ignore)=
.

Well, I have to fundamentally disagree with this. A constant-time,
constant-memory access, constant-control flow implementation is far
more reassuring than one which doesn't have these properties. The
security of a system using the second is far less evident than one
using the first. While implementing the second might be easier, it's
less trustworthy, and hence using it in a system requires more, rather
than less, analysis. The stronger the building blocks of a protocol
are, the easier it is to argue for its security.

Sincerely,
Watson Ladd

>
>> Two sidenotes: IVs are not nonces, and there is a typo where "times
>> might be great then 2^256 or less then 2^256=E2=80=9D.
>
> Yes, =E2=80=9Csometimes=E2=80=9D is a single word.
>
>> Sincerely,
>> Watson Ladd
>>>
>>> Thanks
>>>
>>> Yoav
>>>
>>>
>>> _______________________________________________
>>> Cfrg mailing list
>>> Cfrg@irtf.org
>>> http://www.irtf.org/mailman/listinfo/cfrg
>>>
>>
>>
>>
>> --
>> "Those who would give up Essential Liberty to purchase a little
>> Temporary Safety deserve neither  Liberty nor Safety."
>> -- Benjamin Franklin
>



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


From nobody Mon Mar 10 06:19:44 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 D47221A0441 for <cfrg@ietfa.amsl.com>; Mon, 10 Mar 2014 06:19:41 -0700 (PDT)
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 45nspraVtmnk for <cfrg@ietfa.amsl.com>; Mon, 10 Mar 2014 06:19:39 -0700 (PDT)
Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 390051A043E for <cfrg@irtf.org>; Mon, 10 Mar 2014 06:19:39 -0700 (PDT)
Received: by mail-wg0-f46.google.com with SMTP id b13so2485487wgh.29 for <cfrg@irtf.org>; Mon, 10 Mar 2014 06:19:33 -0700 (PDT)
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=5NTmSFqg/Fwj4k2Ue9l1cqaXBfPOoUJg0wv//znFTi0=; b=QTC5ycze1829ZH1rop25Jwew38z46575nOxxz44a+vwoX7ktxKMLdsHWgEpTqYB6yb b1r42Q2+bf/LJ8SfHsDMOzil6D6iL6eAuoFahtFcLd/nCq4MY2aQ9nnr3hC0gtCNqnHq BDj2TfjhTC9oT7kjU4rHd1p/OVp+51xoRZmrNpiDvaSRi+2XhZP99lcm+ghBX7SeR1sH ugAXW5jYPq1C/IDwUX9Xd2Ll0ldnQCsX6iefIfJK0MAwH7oB9kOt9wBblK4j0FjhiPcs /WyzD6k0NAqotN6P0C+jKMbMD7lAXmKbkLRWUcQet95QSVvdtlPixjLJZbZXvtWnT+C9 13AA==
MIME-Version: 1.0
X-Received: by 10.194.188.41 with SMTP id fx9mr1388596wjc.56.1394457573303; Mon, 10 Mar 2014 06:19:33 -0700 (PDT)
Received: by 10.194.89.1 with HTTP; Mon, 10 Mar 2014 06:19:33 -0700 (PDT)
In-Reply-To: <CACsn0cmNA15ZM9S2s73oTtKGH5SujSef9_3ez12jzg934HW9ow@mail.gmail.com>
References: <CAGvU-a7Mpn9Wrie=QEftsZrojQAcwysnQgNt5BOjdr8ZRY08Zg@mail.gmail.com> <CACsn0ckrTB37jB4Apj7GxAZUjou_=RUj7j4dgFeWpqxS4HKq6Q@mail.gmail.com> <CA0A4F63-89AB-4AC2-8955-E3C575E3B01C@gmail.com> <CACsn0cmNA15ZM9S2s73oTtKGH5SujSef9_3ez12jzg934HW9ow@mail.gmail.com>
Date: Mon, 10 Mar 2014 15:19:33 +0200
Message-ID: <CAGvU-a4m+ZVw6Gsq-_hPX_aLTajKkHD31G++otx5B-xu1vJ78g@mail.gmail.com>
From: Yoav Nir <ynir.ietf@gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: multipart/alternative; boundary=047d7beb909c4fa95f04f4407410
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/AXgzmSOte_f39uT5Vk3Q8hGxBgQ
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Poly1305 and timing 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, 10 Mar 2014 13:19:42 -0000

--047d7beb909c4fa95f04f4407410
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Mar 10, 2014 at 12:48 AM, Watson Ladd <watsonbladd@gmail.com> wrote:

> On Sun, Mar 9, 2014 at 3:00 PM, Yoav Nir <ynir.ietf@gmail.com> wrote:
> >
> > On Mar 9, 2014, at 6:45 PM, Watson Ladd <watsonbladd@gmail.com> wrote:
> <snipped agreement>
> >
> >> For Poly1305 as used in this draft, I am very, very hesitant about
> >> approving any draft that says not-constant time is okay. However, if
> >> the entire keys are being generated pseudorandomly, then I think, if
> >> the side channel isn't gratuitously large, it's possibly safe. Saying
> >> anything more concrete would require a lot of painful analysis of what
> >> is leaked and how it can be used.
> >>
> >> Personally, I don't understand why making the crypto not constant
> >> time, and thus open to attacks, simplifies the security
> >> considerations. It might make the job of the implementor easier, but
> >> it makes the job of the person who builds on top harder.
> >
> > It makes the security considerations simpler because it makes all the
> talk about constant time implementations go away and eliminates the need
> for pointing people at how to accomplish this. I agree I probably can't do
> this, as this implementation might later be used as part of a library for
> other things. It's not generally good to instruct people on how to make an
> implementation with a warning label (that they will later ignore).
>
> Well, I have to fundamentally disagree with this. A constant-time,
> constant-memory access, constant-control flow implementation is far
> more reassuring than one which doesn't have these properties.


Hey, no need to pile it on. You've already convinced me that the text needs
to stay.

Do you have a reference I can point to on how to make the Poly1305
calculations constant-time?

Yoav

--047d7beb909c4fa95f04f4407410
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On Mon, Mar 10, 2014 at 12:48 AM, Watson Ladd <span dir=3D"ltr">&lt=
;<a href=3D"mailto:watsonbladd@gmail.com" target=3D"_blank">watsonbladd@gma=
il.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"">On Sun, Mar 9, 2014 at 3:00 =
PM, Yoav Nir &lt;<a href=3D"mailto:ynir.ietf@gmail.com">ynir.ietf@gmail.com=
</a>&gt; wrote:<br>

&gt;<br>
&gt; On Mar 9, 2014, at 6:45 PM, Watson Ladd &lt;<a href=3D"mailto:watsonbl=
add@gmail.com">watsonbladd@gmail.com</a>&gt; wrote:<br>
</div>&lt;snipped agreement&gt;<br>
<div class=3D"">&gt;<br>
&gt;&gt; For Poly1305 as used in this draft, I am very, very hesitant about=
<br>
&gt;&gt; approving any draft that says not-constant time is okay. However, =
if<br>
&gt;&gt; the entire keys are being generated pseudorandomly, then I think, =
if<br>
&gt;&gt; the side channel isn&#39;t gratuitously large, it&#39;s possibly s=
afe. Saying<br>
&gt;&gt; anything more concrete would require a lot of painful analysis of =
what<br>
&gt;&gt; is leaked and how it can be used.<br>
&gt;&gt;<br>
&gt;&gt; Personally, I don&#39;t understand why making the crypto not const=
ant<br>
&gt;&gt; time, and thus open to attacks, simplifies the security<br>
&gt;&gt; considerations. It might make the job of the implementor easier, b=
ut<br>
&gt;&gt; it makes the job of the person who builds on top harder.<br>
&gt;<br>
&gt; It makes the security considerations simpler because it makes all the =
talk about constant time implementations go away and eliminates the need fo=
r pointing people at how to accomplish this. I agree I probably can&rsquo;t=
 do this, as this implementation might later be used as part of a library f=
or other things. It&rsquo;s not generally good to instruct people on how to=
 make an implementation with a warning label (that they will later ignore).=
<br>

<br>
</div>Well, I have to fundamentally disagree with this. A constant-time,<br=
>
constant-memory access, constant-control flow implementation is far<br>
more reassuring than one which doesn&#39;t have these properties. </blockqu=
ote><div><br></div><div>Hey, no need to pile it on. You&#39;ve already conv=
inced me that the text needs to stay.<br><br></div><div>Do you have a refer=
ence I can point to on how to make the Poly1305 calculations constant-time?=
 <br>
<br></div><div>Yoav<br></div></div></div></div>

--047d7beb909c4fa95f04f4407410--


From nobody Mon Mar 10 07:38:17 2014
Return-Path: <dmjacobson@sbcglobal.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 06FD21A0437 for <cfrg@ietfa.amsl.com>; Mon, 10 Mar 2014 07:38:14 -0700 (PDT)
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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FE6VAcBIe8Yd for <cfrg@ietfa.amsl.com>; Mon, 10 Mar 2014 07:38:10 -0700 (PDT)
Received: from nm8-vm7.access.bullet.mail.bf1.yahoo.com (nm8-vm7.access.bullet.mail.bf1.yahoo.com [216.109.114.182]) by ietfa.amsl.com (Postfix) with ESMTP id 09B981A0434 for <cfrg@irtf.org>; Mon, 10 Mar 2014 07:38:09 -0700 (PDT)
Received: from [66.196.81.157] by nm8.access.bullet.mail.bf1.yahoo.com with NNFMP; 10 Mar 2014 14:38:04 -0000
Received: from [98.138.226.242] by tm3.access.bullet.mail.bf1.yahoo.com with NNFMP; 10 Mar 2014 14:38:03 -0000
Received: from [127.0.0.1] by smtp113.sbc.mail.ne1.yahoo.com with NNFMP; 10 Mar 2014 14:38:03 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1394462283; bh=k7x1u4IRWiBh/qdSqlcGw6/J0uR48CuW/XPnsYwR/bk=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type; b=QyOIRi+B+wlOKuzfmyS/eQrU3tFFuJYV1EHfSYyIwO6rTFXzTG/TqIuG8FZ3/Lgsb76oMWIcqMIuxi1MnsiidITHPbhjm6gnzzEy/zl9f4k+tEh1ZEE1pJTrAWQ2jgF0tODNNJTydRXX7lUQLGQoA4rO17R3gTvjUnSewqe0Ck0=
X-Yahoo-Newman-Id: 815261.98227.bm@smtp113.sbc.mail.ne1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: baGHNnYVM1niLrG0x31rspoa.IUayh9xTXwj1NfaSVzuC1Y ovrMizNG4a0rcCRYcRaqs.8JaltM335x7XcLLjHM.SvyOImLaeKm3T7G96oC dxF5Rfs99HILV8s79fTUflqNppu.kJxi9Fqjpab_ukaCOBWXqZ3pJ9sLwPtj W4PoWvJHppgasylESwCP1Om6yx6X5gn3QU_XZujhZr2JNCPj3uTruOaQZi.g r72BvO6O6oBaNw3imJ1LhHvqLi3xP14BoMtkfzetJ.nl0B0AIVcYL8RsJODg 9kIxiAzg1z3BuMgddSRezVbD5xv9UyRpNGEZI3DqUA8m7YMsICDNrPPQBMYu RmmpUDRYJHbbbt4rVXkMBe.Bavgfrif1_yebksDGtmwLTSXN3N4TGaLzuW6x Sd2AvKU5_WftGiZOU69lg.oZCxcYHNzrGDv_18l2I9BOjhxCmtBGYboinYyi Kmpm9wWznFh5EtvG_nBbQUxX.hjbt..hYyHpI6FWJ.qOcmzsLkxv3CpE1z.a BVgDTfgXcvtcRsHE6PE1dQJ02NkoWVLA73poTMvOHAHUnlutbAfIcJHVUPOI UuMBWcf0xxRU-
X-Yahoo-SMTP: nOrmCa6swBAE50FabWnlVFUpgFVJ9Gbi__8U5mpvhtQq7tTV1g--
X-Rocket-Received: from [192.168.1.64] (dmjacobson@99.120.97.155 with plain [98.138.84.52]) by smtp113.sbc.mail.ne1.yahoo.com with SMTP; 10 Mar 2014 14:38:03 +0000 UTC
Message-ID: <531DCE48.1010300@sbcglobal.net>
Date: Mon, 10 Mar 2014 07:38:00 -0700
From: David Jacobson <dmjacobson@sbcglobal.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: Yoav Nir <ynir.ietf@gmail.com>, Watson Ladd <watsonbladd@gmail.com>
References: <CAGvU-a7Mpn9Wrie=QEftsZrojQAcwysnQgNt5BOjdr8ZRY08Zg@mail.gmail.com> <CACsn0ckrTB37jB4Apj7GxAZUjou_=RUj7j4dgFeWpqxS4HKq6Q@mail.gmail.com> <CA0A4F63-89AB-4AC2-8955-E3C575E3B01C@gmail.com> <CACsn0cmNA15ZM9S2s73oTtKGH5SujSef9_3ez12jzg934HW9ow@mail.gmail.com> <CAGvU-a4m+ZVw6Gsq-_hPX_aLTajKkHD31G++otx5B-xu1vJ78g@mail.gmail.com>
In-Reply-To: <CAGvU-a4m+ZVw6Gsq-_hPX_aLTajKkHD31G++otx5B-xu1vJ78g@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------070204060401070109040600"
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/U_Qt7_v3zjTReP5fKwdBl2qIqdw
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Poly1305 and timing 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, 10 Mar 2014 14:38:14 -0000

This is a multi-part message in MIME format.
--------------070204060401070109040600
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 3/10/14 6:19 AM, Yoav Nir wrote:
>
>
>
> On Mon, Mar 10, 2014 at 12:48 AM, Watson Ladd <watsonbladd@gmail.com 
> <mailto:watsonbladd@gmail.com>> wrote:
>
>     On Sun, Mar 9, 2014 at 3:00 PM, Yoav Nir <ynir.ietf@gmail.com
>     <mailto:ynir.ietf@gmail.com>> wrote:
>     >
>     > On Mar 9, 2014, at 6:45 PM, Watson Ladd <watsonbladd@gmail.com
>     <mailto:watsonbladd@gmail.com>> wrote:
>     <snipped agreement>
>     >
>     >> For Poly1305 as used in this draft, I am very, very hesitant about
>     >> approving any draft that says not-constant time is okay.
>     However, if
>     >> the entire keys are being generated pseudorandomly, then I
>     think, if
>     >> the side channel isn't gratuitously large, it's possibly safe.
>     Saying
>     >> anything more concrete would require a lot of painful analysis
>     of what
>     >> is leaked and how it can be used.
>     >>
>     >> Personally, I don't understand why making the crypto not constant
>     >> time, and thus open to attacks, simplifies the security
>     >> considerations. It might make the job of the implementor
>     easier, but
>     >> it makes the job of the person who builds on top harder.
>     >
>     > It makes the security considerations simpler because it makes
>     all the talk about constant time implementations go away and
>     eliminates the need for pointing people at how to accomplish this.
>     I agree I probably can't do this, as this implementation might
>     later be used as part of a library for other things. It's not
>     generally good to instruct people on how to make an implementation
>     with a warning label (that they will later ignore).
>
>     Well, I have to fundamentally disagree with this. A constant-time,
>     constant-memory access, constant-control flow implementation is far
>     more reassuring than one which doesn't have these properties. 
>
>
> Hey, no need to pile it on. You've already convinced me that the text 
> needs to stay.
>
> Do you have a reference I can point to on how to make the Poly1305 
> calculations constant-time?
>
> Yoav
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
I do want to disagree with this approach that everything should be 
constant time.

Sometimes the constant time approach is very onerous and inefficient.

For example, the binary method of inversion in a prime modulus field 
makes many data-dependent branches and the running time is not 
constant.  The constant time approach is to do a modular exponentiation 
to the p-2 power, which is very expensive.  But is is really easy to 
compute  b * inverse(b*x), where b is a randomly chosen blinding value.

In other cases it doesn't matter at all.

For example (and I mentioned this just a couple of days ago) consider 
the case of picking a random field element in a prime modulus field, 
were the modulus p is public.   Just pick random values less that the 
smallest power of 2 >= p-1  Repeat until you have a value < p.   That 
doesn't run in constant time, but it is perfectly safe.  The reason is 
that all it does is at worst reveal something about random numbers that 
you are not going to use. (Watson objected to this, but his objection 
was based on the distinctly different problem of getting a workable 
non-random value based on some other secret, as you might want to do for 
k in ECDSA.)

So in summary, I think it better to say that good crypto-engineering 
practice requires the avoidance of data-dependent branches and array 
indexes unless the data does not depend on any secret or is blinded.  
This is a simple rule that doesn't require complicated analysis.

     --David Jacobson




--------------070204060401070109040600
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 3/10/14 6:19 AM, Yoav Nir wrote:<br>
    </div>
    <blockquote
cite="mid:CAGvU-a4m+ZVw6Gsq-_hPX_aLTajKkHD31G++otx5B-xu1vJ78g@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On Mon, Mar 10, 2014 at 12:48 AM,
            Watson Ladd <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:watsonbladd@gmail.com" target="_blank">watsonbladd@gmail.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div class="">On Sun, Mar 9, 2014 at 3:00 PM, Yoav Nir
                &lt;<a moz-do-not-send="true"
                  href="mailto:ynir.ietf@gmail.com">ynir.ietf@gmail.com</a>&gt;
                wrote:<br>
                &gt;<br>
                &gt; On Mar 9, 2014, at 6:45 PM, Watson Ladd &lt;<a
                  moz-do-not-send="true"
                  href="mailto:watsonbladd@gmail.com">watsonbladd@gmail.com</a>&gt;
                wrote:<br>
              </div>
              &lt;snipped agreement&gt;<br>
              <div class="">&gt;<br>
                &gt;&gt; For Poly1305 as used in this draft, I am very,
                very hesitant about<br>
                &gt;&gt; approving any draft that says not-constant time
                is okay. However, if<br>
                &gt;&gt; the entire keys are being generated
                pseudorandomly, then I think, if<br>
                &gt;&gt; the side channel isn't gratuitously large, it's
                possibly safe. Saying<br>
                &gt;&gt; anything more concrete would require a lot of
                painful analysis of what<br>
                &gt;&gt; is leaked and how it can be used.<br>
                &gt;&gt;<br>
                &gt;&gt; Personally, I don't understand why making the
                crypto not constant<br>
                &gt;&gt; time, and thus open to attacks, simplifies the
                security<br>
                &gt;&gt; considerations. It might make the job of the
                implementor easier, but<br>
                &gt;&gt; it makes the job of the person who builds on
                top harder.<br>
                &gt;<br>
                &gt; It makes the security considerations simpler
                because it makes all the talk about constant time
                implementations go away and eliminates the need for
                pointing people at how to accomplish this. I agree I
                probably can&#8217;t do this, as this implementation might
                later be used as part of a library for other things.
                It&#8217;s not generally good to instruct people on how to
                make an implementation with a warning label (that they
                will later ignore).<br>
                <br>
              </div>
              Well, I have to fundamentally disagree with this. A
              constant-time,<br>
              constant-memory access, constant-control flow
              implementation is far<br>
              more reassuring than one which doesn't have these
              properties. </blockquote>
            <div><br>
            </div>
            <div>Hey, no need to pile it on. You've already convinced me
              that the text needs to stay.<br>
              <br>
            </div>
            <div>Do you have a reference I can point to on how to make
              the Poly1305 calculations constant-time? <br>
              <br>
            </div>
            <div>Yoav<br>
            </div>
          </div>
        </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>
    I do want to disagree with this approach that everything should be
    constant time.&nbsp; <br>
    <br>
    Sometimes the constant time approach is very onerous and
    inefficient.&nbsp; <br>
    <br>
    For example, the binary method of inversion in a prime modulus field
    makes many data-dependent branches and the running time is not
    constant.&nbsp; The constant time approach is to do a modular
    exponentiation to the p-2 power, which is very expensive.&nbsp; But is is
    really easy to compute&nbsp; b * inverse(b*x), where b is a randomly
    chosen blinding value.<br>
    <br>
    In other cases it doesn't matter at all.<br>
    <br>
    For example (and I mentioned this just a couple of days ago)
    consider the case of picking a random field element in a prime
    modulus field, were the modulus p is public. &nbsp; Just pick random
    values less that the smallest power of 2 &gt;= p-1&nbsp; Repeat until you
    have a value &lt; p.&nbsp;&nbsp; That doesn't run in constant time, but it is
    perfectly safe.&nbsp; The reason is that all it does is at worst reveal
    something about random numbers that you are not going to use.&nbsp;
    (Watson objected to this, but his objection was based on the
    distinctly different problem of getting a workable non-random value
    based on some other secret, as you might want to do for k in
    ECDSA.)&nbsp; <br>
    <br>
    So in summary, I think it better to say that good crypto-engineering
    practice requires the avoidance of data-dependent branches and array
    indexes unless the data does not depend on any secret or is
    blinded.&nbsp; This is a simple rule that doesn't require complicated
    analysis.<br>
    <br>
    &nbsp;&nbsp;&nbsp; --David Jacobson<br>
    <br>
    <br>
    <br>
  </body>
</html>

--------------070204060401070109040600--


From nobody Mon Mar 10 08:32:25 2014
Return-Path: <dmjacobson@sbcglobal.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 411871A0438 for <cfrg@ietfa.amsl.com>; Mon, 10 Mar 2014 08:32:23 -0700 (PDT)
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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hteqkb1juWWW for <cfrg@ietfa.amsl.com>; Mon, 10 Mar 2014 08:32:20 -0700 (PDT)
Received: from nm6-vm5.access.bullet.mail.bf1.yahoo.com (nm6-vm5.access.bullet.mail.bf1.yahoo.com [216.109.114.148]) by ietfa.amsl.com (Postfix) with ESMTP id C7B4B1A01AD for <cfrg@irtf.org>; Mon, 10 Mar 2014 08:32:19 -0700 (PDT)
Received: from [66.196.81.156] by nm6.access.bullet.mail.bf1.yahoo.com with NNFMP; 10 Mar 2014 15:32:14 -0000
Received: from [98.138.104.97] by tm2.access.bullet.mail.bf1.yahoo.com with NNFMP; 10 Mar 2014 15:32:13 -0000
Received: from [127.0.0.1] by smtp117.sbc.mail.ne1.yahoo.com with NNFMP; 10 Mar 2014 15:32:13 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1394465533; bh=9fDa9lgLMyKYyOjvCKrMdNCH3Zf6DyPQ4/KGkhvtuB0=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type; b=QuBy7UnO2S0RPHyEd6/lKdDFBSEDzk/oyeHUKrzpudoPmxkGUS2f7mCbOJTiKP4oT/l6FDaVAsGLcScejxVq8kjdnVIC/diWY4AKJ7FyfPHfzYpSo8ArAJKQ5byyysxuq/V8ZqC5vWUrNrXcPUuadOxTaoO3L563Clv5wi6+wAs=
X-Yahoo-Newman-Id: 731579.62720.bm@smtp117.sbc.mail.ne1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: m_b3bHMVM1lHLatptuGTbFQMGzzJcmP0xh72mOCgA5uUzS6 ngA574cj9zOppmCDl2bmpcBQc2ZGTojrDxB5ZaXx02QqNQJ_e4Q6hxAqmkDz V84ZgnCj6_54z_PxDjX_qW2N9ImzlW2CtuTVs18P_eRlKmOCwPtrJTSeiaE8 tKWyuz66y5HcGY5YFxpdBEMxxuFdvp.7g36E6RfgS9IYeFyjVdc2iR2A99qn LznSEQ3eogfquNC.1688IHJjoP3po2qGH9WYe39.H6M3TbtvdH19XVgVhrlf uLt9Q.3XlhwJM92aalS4ppI.RGYxZxvyi5rKsTBaTPofCs6J.KC1Onr95iqd sz7Y.5hvEeBYXDiCS3rf9jRGgoVvycrMxZVRFQQBKIf_m1DqDKFfd0nTmr_q BnVVfoDYmmLQaAc6oBPIJdNAZVtkZ0HDoteZJNQ1aC3pncA0YKa_CterTEuZ ih0EmvpS6LKRq8BOYzqz0j1.9tjtm6uJjP7d7jWXdgyKAxUUP9C7gAaAfRJG WPKXObA2T0UOE33FO3yPIDnOgoSnPVYjLGyUcPmtKsKiN6KWUEz.ujDrOyrT JVstCoSohIFUmyEvq
X-Yahoo-SMTP: nOrmCa6swBAE50FabWnlVFUpgFVJ9Gbi__8U5mpvhtQq7tTV1g--
X-Rocket-Received: from [192.168.1.64] (dmjacobson@99.120.97.155 with plain [98.138.84.52]) by smtp117.sbc.mail.ne1.yahoo.com with SMTP; 10 Mar 2014 15:32:13 +0000 UTC
Message-ID: <531DDAFA.3030403@sbcglobal.net>
Date: Mon, 10 Mar 2014 08:32:10 -0700
From: David Jacobson <dmjacobson@sbcglobal.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: Yoav Nir <ynir.ietf@gmail.com>, Watson Ladd <watsonbladd@gmail.com>
References: <CAGvU-a7Mpn9Wrie=QEftsZrojQAcwysnQgNt5BOjdr8ZRY08Zg@mail.gmail.com> <CACsn0ckrTB37jB4Apj7GxAZUjou_=RUj7j4dgFeWpqxS4HKq6Q@mail.gmail.com> <CA0A4F63-89AB-4AC2-8955-E3C575E3B01C@gmail.com> <CACsn0cmNA15ZM9S2s73oTtKGH5SujSef9_3ez12jzg934HW9ow@mail.gmail.com> <CAGvU-a4m+ZVw6Gsq-_hPX_aLTajKkHD31G++otx5B-xu1vJ78g@mail.gmail.com> <531DCE48.1010300@sbcglobal.net>
In-Reply-To: <531DCE48.1010300@sbcglobal.net>
Content-Type: multipart/alternative; boundary="------------020504000707060104030908"
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/p1o0mv21knoQnCPvMzCjRNw9xlc
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Poly1305 and timing attacks (clarification)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Mar 2014 15:32:23 -0000

This is a multi-part message in MIME format.
--------------020504000707060104030908
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

On 3/10/14 7:38 AM, David Jacobson wrote:
> On 3/10/14 6:19 AM, Yoav Nir wrote:
>>
>>
>>
>> On Mon, Mar 10, 2014 at 12:48 AM, Watson Ladd <watsonbladd@gmail.com 
>> <mailto:watsonbladd@gmail.com>> wrote:
>>
>>     On Sun, Mar 9, 2014 at 3:00 PM, Yoav Nir <ynir.ietf@gmail.com
>>     <mailto:ynir.ietf@gmail.com>> wrote:
>>     >
>>     > On Mar 9, 2014, at 6:45 PM, Watson Ladd <watsonbladd@gmail.com
>>     <mailto:watsonbladd@gmail.com>> wrote:
>>     <snipped agreement>
>>     >
>>     >> For Poly1305 as used in this draft, I am very, very hesitant about
>>     >> approving any draft that says not-constant time is okay.
>>     However, if
>>     >> the entire keys are being generated pseudorandomly, then I
>>     think, if
>>     >> the side channel isn't gratuitously large, it's possibly safe.
>>     Saying
>>     >> anything more concrete would require a lot of painful analysis
>>     of what
>>     >> is leaked and how it can be used.
>>     >>
>>     >> Personally, I don't understand why making the crypto not constant
>>     >> time, and thus open to attacks, simplifies the security
>>     >> considerations. It might make the job of the implementor
>>     easier, but
>>     >> it makes the job of the person who builds on top harder.
>>     >
>>     > It makes the security considerations simpler because it makes
>>     all the talk about constant time implementations go away and
>>     eliminates the need for pointing people at how to accomplish
>>     this. I agree I probably can't do this, as this implementation
>>     might later be used as part of a library for other things. It's
>>     not generally good to instruct people on how to make an
>>     implementation with a warning label (that they will later ignore).
>>
>>     Well, I have to fundamentally disagree with this. A constant-time,
>>     constant-memory access, constant-control flow implementation is far
>>     more reassuring than one which doesn't have these properties. 
>>
>>
>> Hey, no need to pile it on. You've already convinced me that the text 
>> needs to stay.
>>
>> Do you have a reference I can point to on how to make the Poly1305 
>> calculations constant-time?
>>
>> Yoav
>>
>>
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> http://www.irtf.org/mailman/listinfo/cfrg
> I do want to disagree with this approach that everything should be 
> constant time.
>
> Sometimes the constant time approach is very onerous and inefficient.
>
> For example, the binary method of inversion in a prime modulus field 
> makes many data-dependent branches and the running time is not 
> constant.  The constant time approach is to do a modular 
> exponentiation to the p-2 power, which is very expensive.  But is is 
> really easy to compute  b * inverse(b*x), where b is a randomly chosen 
> blinding value.
>
> In other cases it doesn't matter at all.
>
> For example (and I mentioned this just a couple of days ago) consider 
> the case of picking a random field element in a prime modulus field, 
> were the modulus p is public.   Just pick random values less that the 
> smallest power of 2 >= p-1  Repeat until you have a value < p.   That 
> doesn't run in constant time, but it is perfectly safe.  The reason is 
> that all it does is at worst reveal something about random numbers 
> that you are not going to use.  (Watson objected to this, but his 
> objection was based on the distinctly different problem of getting a 
> workable non-random value based on some other secret, as you might 
> want to do for k in ECDSA.)
>
> So in summary, I think it better to say that good crypto-engineering 
> practice requires the avoidance of data-dependent branches and array 
> indexes unless the data does not depend on any secret or is blinded.  
> This is a simple rule that doesn't require complicated analysis.
>
>     --David Jacobson
Before somebody else pounces on me and tries to generalize to 
demolishing my entire point, one more condition needs to be added. And 
that is that in things like the discard method where the generated value 
is going to be a secret, it is sensitive right from the beginning of its 
generation.  Thus the generation and validation of a successful 
candidate must run in constant time.

    --David



--------------020504000707060104030908
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 3/10/14 7:38 AM, David Jacobson
      wrote:<br>
    </div>
    <blockquote cite="mid:531DCE48.1010300@sbcglobal.net" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">On 3/10/14 6:19 AM, Yoav Nir wrote:<br>
      </div>
      <blockquote
cite="mid:CAGvU-a4m+ZVw6Gsq-_hPX_aLTajKkHD31G++otx5B-xu1vJ78g@mail.gmail.com"
        type="cite">
        <div dir="ltr"><br>
          <div class="gmail_extra"><br>
            <br>
            <div class="gmail_quote">On Mon, Mar 10, 2014 at 12:48 AM,
              Watson Ladd <span dir="ltr">&lt;<a moz-do-not-send="true"
                  href="mailto:watsonbladd@gmail.com" target="_blank">watsonbladd@gmail.com</a>&gt;</span>
              wrote:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div class="">On Sun, Mar 9, 2014 at 3:00 PM, Yoav Nir
                  &lt;<a moz-do-not-send="true"
                    href="mailto:ynir.ietf@gmail.com">ynir.ietf@gmail.com</a>&gt;

                  wrote:<br>
                  &gt;<br>
                  &gt; On Mar 9, 2014, at 6:45 PM, Watson Ladd &lt;<a
                    moz-do-not-send="true"
                    href="mailto:watsonbladd@gmail.com">watsonbladd@gmail.com</a>&gt;

                  wrote:<br>
                </div>
                &lt;snipped agreement&gt;<br>
                <div class="">&gt;<br>
                  &gt;&gt; For Poly1305 as used in this draft, I am
                  very, very hesitant about<br>
                  &gt;&gt; approving any draft that says not-constant
                  time is okay. However, if<br>
                  &gt;&gt; the entire keys are being generated
                  pseudorandomly, then I think, if<br>
                  &gt;&gt; the side channel isn't gratuitously large,
                  it's possibly safe. Saying<br>
                  &gt;&gt; anything more concrete would require a lot of
                  painful analysis of what<br>
                  &gt;&gt; is leaked and how it can be used.<br>
                  &gt;&gt;<br>
                  &gt;&gt; Personally, I don't understand why making the
                  crypto not constant<br>
                  &gt;&gt; time, and thus open to attacks, simplifies
                  the security<br>
                  &gt;&gt; considerations. It might make the job of the
                  implementor easier, but<br>
                  &gt;&gt; it makes the job of the person who builds on
                  top harder.<br>
                  &gt;<br>
                  &gt; It makes the security considerations simpler
                  because it makes all the talk about constant time
                  implementations go away and eliminates the need for
                  pointing people at how to accomplish this. I agree I
                  probably can&#8217;t do this, as this implementation might
                  later be used as part of a library for other things.
                  It&#8217;s not generally good to instruct people on how to
                  make an implementation with a warning label (that they
                  will later ignore).<br>
                  <br>
                </div>
                Well, I have to fundamentally disagree with this. A
                constant-time,<br>
                constant-memory access, constant-control flow
                implementation is far<br>
                more reassuring than one which doesn't have these
                properties. </blockquote>
              <div><br>
              </div>
              <div>Hey, no need to pile it on. You've already convinced
                me that the text needs to stay.<br>
                <br>
              </div>
              <div>Do you have a reference I can point to on how to make
                the Poly1305 calculations constant-time? <br>
                <br>
              </div>
              <div>Yoav<br>
              </div>
            </div>
          </div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Cfrg mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/mailman/listinfo/cfrg</a>
</pre>
      </blockquote>
      I do want to disagree with this approach that everything should be
      constant time.&nbsp; <br>
      <br>
      Sometimes the constant time approach is very onerous and
      inefficient.&nbsp; <br>
      <br>
      For example, the binary method of inversion in a prime modulus
      field makes many data-dependent branches and the running time is
      not constant.&nbsp; The constant time approach is to do a modular
      exponentiation to the p-2 power, which is very expensive.&nbsp; But is
      is really easy to compute&nbsp; b * inverse(b*x), where b is a randomly
      chosen blinding value.<br>
      <br>
      In other cases it doesn't matter at all.<br>
      <br>
      For example (and I mentioned this just a couple of days ago)
      consider the case of picking a random field element in a prime
      modulus field, were the modulus p is public. &nbsp; Just pick random
      values less that the smallest power of 2 &gt;= p-1&nbsp; Repeat until
      you have a value &lt; p.&nbsp;&nbsp; That doesn't run in constant time, but
      it is perfectly safe.&nbsp; The reason is that all it does is at worst
      reveal something about random numbers that you are not going to
      use.&nbsp; (Watson objected to this, but his objection was based on the
      distinctly different problem of getting a workable non-random
      value based on some other secret, as you might want to do for k in
      ECDSA.)&nbsp; <br>
      <br>
      So in summary, I think it better to say that good
      crypto-engineering practice requires the avoidance of
      data-dependent branches and array indexes unless the data does not
      depend on any secret or is blinded.&nbsp; This is a simple rule that
      doesn't require complicated analysis.<br>
      <br>
      &nbsp;&nbsp;&nbsp; --David Jacobson<br>
    </blockquote>
    Before somebody else pounces on me and tries to generalize to
    demolishing my entire point, one more condition needs to be added.&nbsp;
    And that is that in things like the discard method where the
    generated value is going to be a secret, it is sensitive right from
    the beginning of its generation.&nbsp; Thus the generation and validation
    of a successful candidate must run in constant time.<br>
    <br>
    &nbsp;&nbsp; --David<br>
    <br>
    <br>
  </body>
</html>

--------------020504000707060104030908--


From nobody Mon Mar 10 08:44:17 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2889F1A049E for <cfrg@ietfa.amsl.com>; Mon, 10 Mar 2014 08:44:15 -0700 (PDT)
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 eNUB04boZzoh for <cfrg@ietfa.amsl.com>; Mon, 10 Mar 2014 08:44:13 -0700 (PDT)
Received: from mail-yk0-x230.google.com (mail-yk0-x230.google.com [IPv6:2607:f8b0:4002:c07::230]) by ietfa.amsl.com (Postfix) with ESMTP id CE0661A049C for <cfrg@irtf.org>; Mon, 10 Mar 2014 08:44:12 -0700 (PDT)
Received: by mail-yk0-f176.google.com with SMTP id 19so19576580ykq.7 for <cfrg@irtf.org>; Mon, 10 Mar 2014 08:44:07 -0700 (PDT)
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=z5kWXCTQCUoLFgXxwh469+NcnzaP/egSZ4Xhka/cGJI=; b=p0DzOpeijPwKl/5zjVxZnx+Fig9iDa6PmRbHbrV/ZptrevDSAtatiUr6G6iPInJ4IL BjlN9qVdPyDdqSCpLy6244Oo0Xz8cFH5ttKgooAul3cyRtAQQebFhj6p46VneJ1XOjvM ItOBxzK0oz3nDXZ8PCejO0rFvEEtgQUr1i5PIkBn3avcFq+YKtk1fRWvKIFGUEN9w0AN H/5Obbk3o2Qj0tiJtj7Idxc0GTUR9CEFT6BhJPpQW5xXpspLrEjRXx5tYhzhgMp3EHyn b2MCciDS4/DfKXN9GQo31437ZBiQa1n4juuu9Ta4acEXNUr4oh8S8kaTo3LiYryglURD +gvQ==
MIME-Version: 1.0
X-Received: by 10.236.90.12 with SMTP id d12mr2676489yhf.120.1394466247265; Mon, 10 Mar 2014 08:44:07 -0700 (PDT)
Received: by 10.170.80.214 with HTTP; Mon, 10 Mar 2014 08:44:07 -0700 (PDT)
In-Reply-To: <CAGvU-a4m+ZVw6Gsq-_hPX_aLTajKkHD31G++otx5B-xu1vJ78g@mail.gmail.com>
References: <CAGvU-a7Mpn9Wrie=QEftsZrojQAcwysnQgNt5BOjdr8ZRY08Zg@mail.gmail.com> <CACsn0ckrTB37jB4Apj7GxAZUjou_=RUj7j4dgFeWpqxS4HKq6Q@mail.gmail.com> <CA0A4F63-89AB-4AC2-8955-E3C575E3B01C@gmail.com> <CACsn0cmNA15ZM9S2s73oTtKGH5SujSef9_3ez12jzg934HW9ow@mail.gmail.com> <CAGvU-a4m+ZVw6Gsq-_hPX_aLTajKkHD31G++otx5B-xu1vJ78g@mail.gmail.com>
Date: Mon, 10 Mar 2014 08:44:07 -0700
Message-ID: <CACsn0cm+Ab5tzEt5zHKmypCa9rH0WD36jp5yaEaNC2asEYnQsg@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Yoav Nir <ynir.ietf@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/sE3gEK0Fyrow84oV2WZiUQCClOo
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Poly1305 and timing 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, 10 Mar 2014 15:44:15 -0000

On Mon, Mar 10, 2014 at 6:19 AM, Yoav Nir <ynir.ietf@gmail.com> wrote:
>
>
>
> On Mon, Mar 10, 2014 at 12:48 AM, Watson Ladd <watsonbladd@gmail.com> wro=
te:
>>
>> On Sun, Mar 9, 2014 at 3:00 PM, Yoav Nir <ynir.ietf@gmail.com> wrote:
>> >
>> > On Mar 9, 2014, at 6:45 PM, Watson Ladd <watsonbladd@gmail.com> wrote:
>> <snipped agreement>
>> >
>> >> For Poly1305 as used in this draft, I am very, very hesitant about
>> >> approving any draft that says not-constant time is okay. However, if
>> >> the entire keys are being generated pseudorandomly, then I think, if
>> >> the side channel isn't gratuitously large, it's possibly safe. Saying
>> >> anything more concrete would require a lot of painful analysis of wha=
t
>> >> is leaked and how it can be used.
>> >>
>> >> Personally, I don't understand why making the crypto not constant
>> >> time, and thus open to attacks, simplifies the security
>> >> considerations. It might make the job of the implementor easier, but
>> >> it makes the job of the person who builds on top harder.
>> >
>> > It makes the security considerations simpler because it makes all the
>> > talk about constant time implementations go away and eliminates the ne=
ed for
>> > pointing people at how to accomplish this. I agree I probably can=E2=
=80=99t do this,
>> > as this implementation might later be used as part of a library for ot=
her
>> > things. It=E2=80=99s not generally good to instruct people on how to m=
ake an
>> > implementation with a warning label (that they will later ignore).
>>
>> Well, I have to fundamentally disagree with this. A constant-time,
>> constant-memory access, constant-control flow implementation is far
>> more reassuring than one which doesn't have these properties.
>
>
> Hey, no need to pile it on. You've already convinced me that the text nee=
ds
> to stay.

Ah, I was disagreeing with the claim that this makes "security
considerations simpler". But yes, I think we are in agreement.

>
> Do you have a reference I can point to on how to make the Poly1305
> calculations constant-time?

Yes, DJB's Poly1305-AES paper. But that uses the FPU heavily: It uses
2^26 as a base, taking advantage of the mantissa being 2^53 bits, and
uses special rounding instructions for carries. This is because the
integer multiplier on 32 bit Intels had issues.

In assembler one can use saturated word arithmetic, taking care to
avoid data dependent loops. Barrett reduction always involves a
maximum of three reductions, so you write a constant time
reduce_if_necessary function, and apply to the product during the
cleanup. But this isn't the fastest. It's a small modification to the
usual method.

On a 64-bit machine 5 limbs of 26 bits, base 2^26 works fine. One does
the addition, with no need to reduce as the limbs grow to only 27
bits, then does the multiplication, getting 10 44 bit limbs. These
represent a number at most 2^262, so after carrying the top limb is a
maximum of 28 bits. Using the fact that we are modulo 2^130-5, limb 6
is multiplied by 5 and added to limb 1 and so on. Finally a carry
chain is used, and some analysis has to be done to see if you reduce
back to something you can add again. This still might not be optimal:
I've skimmed over the multiplication, and the carry chain can be
tricky.

On a 32-bit machine I'm not sure what one does. There are a lot of
options, but I don't know which is best.

As a sidenote blinding is just too slow: it doubles the number of
multiplications that have to be done. It's also not clear that it can
eliminate the side channel because you need to operate on two values,
not just one.

Sincerely,
Watson Ladd


From nobody Tue Mar 11 19:58:04 2014
Return-Path: <ted@krovetz.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 0AD5E1A08D4 for <cfrg@ietfa.amsl.com>; Tue, 11 Mar 2014 19:58:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.821
X-Spam-Level: 
X-Spam-Status: No, score=-1.821 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_NEUTRAL=0.779] 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 ERS2jzOiF1pf for <cfrg@ietfa.amsl.com>; Tue, 11 Mar 2014 19:58:01 -0700 (PDT)
Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by ietfa.amsl.com (Postfix) with ESMTP id C503E1A08D3 for <cfrg@irtf.org>; Tue, 11 Mar 2014 19:58:01 -0700 (PDT)
Received: by mail-pa0-f52.google.com with SMTP id rd3so444838pab.11 for <cfrg@irtf.org>; Tue, 11 Mar 2014 19:57:56 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=TU6ufEue8PWIAEcF7U3nK+CVzVTU1zgQ5OP18qaZ9Lk=; b=B+cEpp92FCCe6ZzR5f1Dyp+L0KatKKuFC/LzqQhI1XkVgTJoTfuEZLR/WUhHqyITBO HnE2doKADoI2Srki+xAQ+M4bHvU9VvAWEoAiXPwRUcM6ZjaHCVDhDqU9HTXuR7YWHx48 r0DoDe3Tuho220qpU0MQIw/cSrJxct/jp2al1FKAf8S2mvjCJqx5eKG0zIK6yw+Dcmzw GKHUGy6CcXWrBsuTq0bgIPQtvO7Nbosy8zN5NCRVQ57Rd84uA50FNpf+LZ7+BfRmLavF RbYkM7+qumz+mc3Ex0nirc6n7e1Ib5iHif5AxhsPTavDI0ngFBpBlE8dKSIcG+iYKPMz uiHg==
X-Gm-Message-State: ALoCoQlE5e98YAvE+VhlHPmurQC/n7o4JiTY8VGom6fsTPo9/X7bijiYbLSsd4XNSkiUL0ktRPKI
X-Received: by 10.67.14.69 with SMTP id fe5mr1904736pad.120.1394593075898; Tue, 11 Mar 2014 19:57:55 -0700 (PDT)
Received: from [192.168.1.100] (adsl-69-230-109-90.dsl.scrm01.pacbell.net. [69.230.109.90]) by mx.google.com with ESMTPSA id sh5sm2064506pbc.21.2014.03.11.19.57.54 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Mar 2014 19:57:54 -0700 (PDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Ted Krovetz <ted@krovetz.net>
In-Reply-To: <20140228121448.1c123bab@chromobil.localdomain>
Date: Tue, 11 Mar 2014 19:57:55 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <1AC3290E-64A3-4D74-AE2B-C578236E60EA@krovetz.net>
References: <20140228121448.1c123bab@chromobil.localdomain>
To: Yoav Nir <ynir@checkpoint.com>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/B7saqSV0k5WBC1prmU4Q8mXVttQ
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] I-D Action: draft-nir-cfrg-chacha20-poly1305-01.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Mar 2014 02:58:03 -0000

Hello Yoav,

Nice work on draft-nir-cfrg-chacha20-poly1305-01.txt. It's a useful =
document. I wonder, though, if endian conventions are clear enough. What =
exactly is a little-endian integer? (I thought there was only one kind =
of integer.) I think you mean that keys, etc, residing in memory are =
read little-endian, 32-bits at a time. But, what if these quantities do =
not come from memory? What if the nonce, or key, or counter happens to =
be a computed value and resides in registers? When exactly do these need =
byte reversal? As an example, when you talk about the counter being 1, =
is that 00:00:00:01 in memory, which then becomes 01:00:00:00 in a =
register, or vice-versa? I was able to figure it out by looking at your =
examples, but it might be better if it were made clearer and didn't =
*need* looking at examples.

One approach you might consider is defining the interfaces as taking =
plain old integers, but then writing a note that explains how big-endian =
and little-endian systems would interact with such an interface to get =
standard behavior.

Damn Intel for making the world primarily little-endian! It's such a =
pain.

Cheers,
Ted


From nobody Thu Mar 13 07:16:06 2014
Return-Path: <SChokhani@cygnacom.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 CF97F1A09C7 for <cfrg@ietfa.amsl.com>; Thu, 13 Mar 2014 07:15:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.447
X-Spam-Level: 
X-Spam-Status: No, score=-2.447 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.547, 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 rqr3lR9Ss2ms for <cfrg@ietfa.amsl.com>; Thu, 13 Mar 2014 07:15:50 -0700 (PDT)
Received: from ipedge2.cygnacom.com (ipedge2.cygnacom.com [216.191.252.27]) by ietfa.amsl.com (Postfix) with ESMTP id 7CC731A096E for <cfrg@irtf.org>; Thu, 13 Mar 2014 07:15:50 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.97,647,1389762000"; d="scan'208,217";a="495669"
Received: from unknown (HELO scygexch10.cygnacom.com) ([10.4.60.26]) by ipedge2.cygnacom.com with ESMTP; 13 Mar 2014 10:15:43 -0400
Received: from SCYGEXCH10.cygnacom.com ([::1]) by scygexch10.cygnacom.com ([::1]) with mapi id 14.02.0247.003; Thu, 13 Mar 2014 10:15:42 -0400
From: Santosh Chokhani <SChokhani@cygnacom.com>
To: "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: Request For Paid Assistance
Thread-Index: Ac8+xrdnjU5MNa2bS+u0vLrmJFaYFw==
Date: Thu, 13 Mar 2014 14:15:42 +0000
Message-ID: <4262AC0DB9856847A2D00EF817E8113916F758@scygexch10.cygnacom.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.60.117.6]
Content-Type: multipart/alternative; boundary="_000_4262AC0DB9856847A2D00EF817E8113916F758scygexch10cygnaco_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/bR25f6klj4o0_FEMl4KVT3zdPbM
Subject: [Cfrg] Request For Paid Assistance
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 13 Mar 2014 14:15:58 -0000

--_000_4262AC0DB9856847A2D00EF817E8113916F758scygexch10cygnaco_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Folks,

I hope sending this e-mail to this mail list is acceptable.

The PCI industry is looking for a crypto mathematician to provide a formal =
proof of bit leakage in a set of transforms.

Those interested in performing this work should contact Ralph Poore RPoore@=
pcisecuritystandards.org<mailto:RPoore@pcisecuritystandards.org>


Santosh Chokhani
CygnaCom Solutions, Inc.


--_000_4262AC0DB9856847A2D00EF817E8113916F758scygexch10cygnaco_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* 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;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.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">Folks,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I hope sending this e-mail to this mail list is acce=
ptable.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The PCI industry is looking for a crypto mathematici=
an to provide a formal proof of bit leakage in a set of transforms.<o:p></o=
:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Those interested in performing this work should cont=
act Ralph Poore
<a href=3D"mailto:RPoore@pcisecuritystandards.org">RPoore@pcisecuritystanda=
rds.org</a>
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Santosh Chokhani<o:p></o:p></p>
<p class=3D"MsoNormal">CygnaCom Solutions, Inc.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4262AC0DB9856847A2D00EF817E8113916F758scygexch10cygnaco_--


From nobody Thu Mar 13 07:46:08 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 758341A09F6 for <cfrg@ietfa.amsl.com>; Thu, 13 Mar 2014 07:46:06 -0700 (PDT)
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 GlB4ulBb_hqN for <cfrg@ietfa.amsl.com>; Thu, 13 Mar 2014 07:46:02 -0700 (PDT)
Received: from mail-ee0-x232.google.com (mail-ee0-x232.google.com [IPv6:2a00:1450:4013:c00::232]) by ietfa.amsl.com (Postfix) with ESMTP id 698291A09EE for <cfrg@irtf.org>; Thu, 13 Mar 2014 07:46:02 -0700 (PDT)
Received: by mail-ee0-f50.google.com with SMTP id c13so475810eek.9 for <cfrg@irtf.org>; Thu, 13 Mar 2014 07:45:55 -0700 (PDT)
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=XkZj8CuopJ9vEsCz1Zuxtu1hvpln3ThYn8Us1Zk/6rs=; b=L8gX5UkRpZ8c90N+3AKuZfblFxS9v/8AkW9ViJBkezw/2J5p/Bwx1/aeIWgSeS0S9B vkxSwwDn/pMNxOrwRomo9FGPDW7M/ZR23vdL4Ae0ETZZPbsCoQ2YPxeYXqqB3R9BNhiM axxqYb6wUyYRSMmoKqv7Z/YMmm33hTfQmZENhXrYRQE+OBa3N8D2aIM/NkpKD95gel48 xXi4fj9Vktf5hgENqKE8rBxbUmxkHhbRseIC36pIIV0aSDZMwLFUPCzXEZ/e4AlWOLum ez3UJe83IKPywla15A41/P/cqVEJU8ayvYwpELIjNvPWGt7i8xJXXD8wUaiKDMSg9VYh xj9Q==
X-Received: by 10.15.56.130 with SMTP id y2mr2673258eew.17.1394721955484; Thu, 13 Mar 2014 07:45:55 -0700 (PDT)
Received: from [172.24.250.117] (dyn32-131.checkpoint.com. [194.29.32.131]) by mx.google.com with ESMTPSA id o5sm8936883eeg.8.2014.03.13.07.45.54 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Mar 2014 07:45:54 -0700 (PDT)
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <1AC3290E-64A3-4D74-AE2B-C578236E60EA@krovetz.net>
Date: Thu, 13 Mar 2014 16:45:55 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <411966EE-1A23-4B38-8A50-E479832CC13B@gmail.com>
References: <20140228121448.1c123bab@chromobil.localdomain> <1AC3290E-64A3-4D74-AE2B-C578236E60EA@krovetz.net>
To: Ted Krovetz <ted@krovetz.net>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Qkp9vKFTyj5qDwj3wXAI36kC5Pk
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] I-D Action: draft-nir-cfrg-chacha20-poly1305-01.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Mar 2014 14:46:06 -0000

On Mar 12, 2014, at 4:57 AM, Ted Krovetz <ted@krovetz.net> wrote:

> Hello Yoav,
>=20
> Nice work on draft-nir-cfrg-chacha20-poly1305-01.txt. It's a useful =
document. I wonder, though, if endian conventions are clear enough. What =
exactly is a little-endian integer? (I thought there was only one kind =
of integer.)

I don=92t know what a 32-bit integer is, either. I thought the list of =
integers extended to infinity. I guess I should change the text to say =
that it=92s a little-endian representation of integers limited to 32 =
bits.

> I think you mean that keys, etc, residing in memory are read =
little-endian, 32-bits at a time. But, what if these quantities do not =
come from memory? What if the nonce, or key, or counter happens to be a =
computed value and resides in registers?

That is exactly what happens in both ESP and TLS (and I assume SSH). =
Some KDF churns out an octet string, and that has to be used as keys. So =
if my draft says that the key to ChaCha is 8 little-endian 32-bit =
integers, what I mean is that the 32 octets (or 256 bits) are taken 4 =
(or 32) at a time, and taken to be a 32-bit little-endian representation =
of an integer. This produces that 8 integers that are the input to =
ChaCha.

> When exactly do these need byte reversal? As an example, when you talk =
about the counter being 1, is that 00:00:00:01 in memory, which then =
becomes 01:00:00:00 in a register, or vice-versa? I was able to figure =
it out by looking at your examples, but it might be better if it were =
made clearer and didn't *need* looking at examples.

I=92m guessing you didn=92t attend the JSON meeting on Friday, where =
someone (I don=92t remember who) said something to the effect that real =
developers look first at the examples rather than read ABNF. Some =
cheered (I know I did)

Anyway, the block counter is internally generated, so it=92s simply a =
number regardless of the internal architecture of the machine. The nonce =
in ChaCha, however, and the blocks in Poly1305 are read from an octet =
string as if they were a 32-bit little-endian representation of =
integers.

> One approach you might consider is defining the interfaces as taking =
plain old integers, but then writing a note that explains how big-endian =
and little-endian systems would interact with such an interface to get =
standard behavior.

It could be a good idea. I=92ll see if it fits for the next revision.

> Damn Intel for making the world primarily little-endian! It's such a =
pain.

I don=92t know. This is pretty nifty:

int main(int argc, char** argv)
{
    long long int num;
    long long int* llp;
    long int* lp;
    int* p;
    short* sp;
    char* cp;

    num =3D 7;
    llp =3D &num;
    lp =3D (long*) llp;
    p =3D (int*) llp;
    sp =3D (short*) llp;
    cp =3D (char*) llp;

    printf(=93%lld %ld %d %hd %hhd\n=94,=20
        *llp, *lp, *p, *sp, *cp);=20
}

Yoav


From nobody Thu Mar 13 08:17:04 2014
Return-Path: <ted@krovetz.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 F0E481A09A8 for <cfrg@ietfa.amsl.com>; Thu, 13 Mar 2014 08:16:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.821
X-Spam-Level: 
X-Spam-Status: No, score=-1.821 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_NEUTRAL=0.779] 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 HtCnYAPVWThw for <cfrg@ietfa.amsl.com>; Thu, 13 Mar 2014 08:16:52 -0700 (PDT)
Received: from mail-pb0-f47.google.com (mail-pb0-f47.google.com [209.85.160.47]) by ietfa.amsl.com (Postfix) with ESMTP id 8AA5E1A09F9 for <cfrg@irtf.org>; Thu, 13 Mar 2014 08:16:52 -0700 (PDT)
Received: by mail-pb0-f47.google.com with SMTP id up15so1237260pbc.34 for <cfrg@irtf.org>; Thu, 13 Mar 2014 08:16:46 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=/TX/E9bg5REmIGpzAdm99b45Xmki3kPVUJo5rqyNqdk=; b=AuNqRW+EjRZcrc0XHFLClkm41IVCPTCDF5noxAsmKvotGBFdUB3jSV4F21dV5t8eKl 1VIRtecb8VnoqdT3+fMQE5H/RXCV/pWw1G4gEvg6bdcOYdIJhhE4neWCe6spOrQcE74D 0li7lrxSns2/gsMKjRuouqzSKWo96WVh0VUx3N1gzTz7NoL64cEBxiuM1yezQYblSK/J ZujTqe8i8u3sVfODNocCsXREEEtTbeoDaUjX6Txc4M+C3IP48aNrUJ/npb/kS0dXVcXU BjVvqbttU8EAQdUutKP4V9/odbU9GYw+syCIIhe7dxTL5wT9M0KcvAzgdZSiUoh6J1Xc 1Jfg==
X-Gm-Message-State: ALoCoQkh+gFF95+yh9c31k3VF0ihMqcywEjrsR/Q+bTiu18DyxC7FLB3d7SdkK0tdLsm4Liipd0E
X-Received: by 10.66.251.42 with SMTP id zh10mr3066495pac.84.1394723806134; Thu, 13 Mar 2014 08:16:46 -0700 (PDT)
Received: from [192.168.1.100] (adsl-69-230-109-90.dsl.scrm01.pacbell.net. [69.230.109.90]) by mx.google.com with ESMTPSA id rk15sm11235539pab.37.2014.03.13.08.16.44 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Mar 2014 08:16:45 -0700 (PDT)
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Ted Krovetz <ted@krovetz.net>
In-Reply-To: <411966EE-1A23-4B38-8A50-E479832CC13B@gmail.com>
Date: Thu, 13 Mar 2014 08:16:49 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <9AB2F389-409D-408E-BAB6-000E74E6E43A@krovetz.net>
References: <20140228121448.1c123bab@chromobil.localdomain> <1AC3290E-64A3-4D74-AE2B-C578236E60EA@krovetz.net> <411966EE-1A23-4B38-8A50-E479832CC13B@gmail.com>
To: Yoav Nir <ynir.ietf@gmail.com>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ewcxOH6xwoIz_BRmKbFDUSLFmvg
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] I-D Action: draft-nir-cfrg-chacha20-poly1305-01.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Mar 2014 15:16:56 -0000

> I guess I should change the text to say that it=92s a little-endian =
representation of integers limited to 32 bits.

I would recommend that you never use endianess to describe integers. An =
integer is an integer, and endianess has only to do with cpu-memory =
interfacing. An integer can be read little-endian from memory, but the =
resulting integer is not a little-endian integer, it's just an integer. =
It may be clearest to talk about inputs and output being strings and =
each successive 32-bit chunk getting byte-reversed.

So, for example, the input to chacha is a 256-bit key string, 96-bit =
nonce string and 32-bit unsigned integer. The first thing that happens =
in chacha is the key and nonce are split into 32-bit unsigned integers =
by byte reversing each 32-bit chunk and then interpreting each 32-bit =
chunk as an unsigned integer. Now we're in the realm of integers, and =
the word endianess is never mentioned.

-Ted=


From nobody Thu Mar 13 10:06:08 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 120DC1A0499 for <cfrg@ietfa.amsl.com>; Thu, 13 Mar 2014 10:06:06 -0700 (PDT)
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, RDNS_DYNAMIC=0.982, 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 gzS0S9fyABow for <cfrg@ietfa.amsl.com>; Thu, 13 Mar 2014 10:06:04 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-157-v301.PUBLIC.monkeybrains.net [199.116.74.157]) by ietfa.amsl.com (Postfix) with ESMTP id E170D1A08ED for <cfrg@irtf.org>; Thu, 13 Mar 2014 10:06:04 -0700 (PDT)
Received: from [192.168.1.147] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 31B253AA3B; Thu, 13 Mar 2014 10:04:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1394730295; bh=U0V5fWxGio+HrF+nWvXILGqlOQXUzkaAbpQz/Bgp6r8=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=TyAnvtYAZ1Tn3KOFqZktJgh+BER3o5S49gkDp1xsiLvS8KK0p6F2GFmpGPhQRPHsu sjGk0GyjVjw1s9noVDnGtWLVWkk3v2D43kWIIS/efcq4XB3ZoHErRO6fFGrrEXUOlq ySdA2CywApuLd4OTkHAjyG/68Z2i93g3HIMSNfRA=
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Mike Hamburg <mike@shiftleft.org>
In-Reply-To: <9AB2F389-409D-408E-BAB6-000E74E6E43A@krovetz.net>
Date: Thu, 13 Mar 2014 10:05:55 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <CF20B966-98D7-4982-84C4-0E461C8ECA54@shiftleft.org>
References: <20140228121448.1c123bab@chromobil.localdomain> <1AC3290E-64A3-4D74-AE2B-C578236E60EA@krovetz.net> <411966EE-1A23-4B38-8A50-E479832CC13B@gmail.com> <9AB2F389-409D-408E-BAB6-000E74E6E43A@krovetz.net>
To: Ted Krovetz <ted@krovetz.net>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ux5xaJgFXxdICrgymgz-5UOeRNk
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] I-D Action: draft-nir-cfrg-chacha20-poly1305-01.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Mar 2014 17:06:06 -0000

On Mar 13, 2014, at 8:16 AM, Ted Krovetz <ted@krovetz.net> wrote:

>=20
>> I guess I should change the text to say that it=92s a little-endian =
representation of integers limited to 32 bits.
>=20
> I would recommend that you never use endianess to describe integers. =
An integer is an integer, and endianess has only to do with cpu-memory =
interfacing. An integer can be read little-endian from memory, but the =
resulting integer is not a little-endian integer, it's just an integer.

I probably would have said "little-endian integer" too, but this =
suggestion is clearer.

> So, for example, the input to chacha is a 256-bit key string, 96-bit =
nonce string and 32-bit unsigned integer. The first thing that happens =
in chacha is the key and nonce are split into 32-bit unsigned integers =
by byte reversing each 32-bit chunk and then interpreting each 32-bit =
chunk as an unsigned integer. Now we're in the realm of integers, and =
the word endianess is never mentioned.


I don't like this, though.  Your target is software on computers that =
use octets, right?  In that case, the key contains 32 octets, and the =
nonce contains 12 octets.  The first thing that happens is that the key =
and nonce are split into 4-octet fields, which are then converted to =
unsigned 32-bit integers by interpreting them in little-endian order, =
that is, with least significant octet first.

On a computer that uses 32-bit unsigned integer words as the addressable =
unit instead of octets (eg, a DSP), the input is an 8-word key and a =
3-word nonce, and there's no endian issue.  That's why it's tempting to =
say "little-endian integers" even though it's less clear: it specifies =
the input on multiple platforms simultaneously.

I say this because "interpreting each 32-bit chunk as an unsigned =
integer" is ambiguous.  The natural meaning is "according to the =
platform's endian" which is not what you want.

-- Mike=


From nobody Thu Mar 13 11:29:55 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 4DFF61A058E for <cfrg@ietfa.amsl.com>; Thu, 13 Mar 2014 11:29:54 -0700 (PDT)
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 2aCeDnKK_VOd for <cfrg@ietfa.amsl.com>; Thu, 13 Mar 2014 11:29:52 -0700 (PDT)
Received: from entima.net (entima.net [78.129.143.175]) by ietfa.amsl.com (Postfix) with ESMTP id 2FEFE1A09F0 for <cfrg@irtf.org>; Thu, 13 Mar 2014 11:29:52 -0700 (PDT)
Received: from [10.10.42.10] (cpc5-derb12-2-0-cust796.8-3.cable.virginm.net [82.31.91.29]) by entima.net (Postfix) with ESMTPSA id E97CA60345 for <cfrg@irtf.org>; Thu, 13 Mar 2014 18:29:44 +0000 (GMT)
Message-ID: <5321F8AE.6070500@akr.io>
Date: Thu, 13 Mar 2014 18:27:58 +0000
From: Alyssa Rowan <akr@akr.io>
MIME-Version: 1.0
To: cfrg@irtf.org
References: <20140228121448.1c123bab@chromobil.localdomain> <1AC3290E-64A3-4D74-AE2B-C578236E60EA@krovetz.net> <411966EE-1A23-4B38-8A50-E479832CC13B@gmail.com> <9AB2F389-409D-408E-BAB6-000E74E6E43A@krovetz.net> <CF20B966-98D7-4982-84C4-0E461C8ECA54@shiftleft.org>
In-Reply-To: <CF20B966-98D7-4982-84C4-0E461C8ECA54@shiftleft.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/dulJWu9iKtjpX9h6yF914hRh77o
Subject: Re: [Cfrg] I-D Action: draft-nir-cfrg-chacha20-poly1305-01.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Mar 2014 18:29:54 -0000

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

On 13/03/2014 15:16, Ted Krovetz wrote:
>> So, for example, the input to chacha is a 256-bit key string,
>> 96-bit nonce string and 32-bit unsigned integer. The first thing
>> that happens in chacha is the key and nonce are split into 32-bit
>> unsigned integers by byte reversing each 32-bit chunk and then
>> interpreting each 32-bit chunk as an unsigned integer. Now we're
>> in the realm of integers, and the word endianess is never
>> mentioned.

Putting my programmer hat on for a moment, I find this wording rather
opaque, because of (as Mike mentions)…

On 13/03/2014 17:05, Mike Hamburg wrote:
> I say this because "interpreting each 32-bit chunk as an unsigned
> integer" is ambiguous.  The natural meaning is "according to the
> platform's endian" which is not what you want.

…this.

I'm not sure avoiding the term 'little-endian' when that's what people
will recognise as explicitly describing the byte order (well, _octet_
order, if you must) of the representation of an integer in memory
makes it any clearer.
- -- 
/akr
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJTIfitAAoJEOyEjtkWi2t6uUMP/jYseQ1kGj7CM3Eug3IwFmdw
XCm6SOZY9aFtDjnUcr/AjIMYB2supeL0fcfMuwItALFY4XCRlrGDPa6DvSKGSFL2
oKUGENoO9OQaIvDZ9v5aWp+pNvZKX+DY/5f12YUfDVLuHbtjUMhHtx2RbXDZTjRF
mHd+UL71wB9aFTNFaZ9XZ+IR5wGrQY/DGL1Rsp+ZHQlYOwT7TO7mHB0h/HgQLPhs
typ0bWppTMzkyHV/MfHa80zRrgQy0tsGjIuraC9GZAGLY8SFFfD3c3knRIsZBGt5
T1o3s+B2kGk7lgB+/DHslfpADXwtq5XIxMbxC1uZtwKOAxEkQ3f0g02hwgQEMgeh
2PsuxkIANcAkIf7f6ZRa1t5YgZxcDEnodF7iXCNK4wkZ6FEkMW6dRFkB4w86SkM4
LfKcrQtwSsxwgzbN1yVo1NsA7hh/hJhtFHdQeeI/DmCYhAyU0Lmr5iiWBmjk2lJo
O/HMCBBwm34/kHuP1ZKQ4Zz0CSMFDNK9y9eRoqxI9oRUFttgJDdCzimyJSUYs47j
3pMQXCyVHUiIyPfV2j8NW9iP3hDEDYGCFBaQ/3YOezX6ilevlAo8LwVV4GhdYYxe
JpIwovtmWM9vsiVBvE6GIz+YDTqlAD8tskDUzb1xFgJeo9dU8qcJR1nVBzT6Vav/
/IJouGg+2G6BhMAJYMCw
=hUgy
-----END PGP SIGNATURE-----


From nobody Thu Mar 13 22:56:33 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 5999A1A0043; Thu, 13 Mar 2014 22:56:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.567
X-Spam-Level: 
X-Spam-Status: No, score=-1.567 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, 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 ev6znW8QVzaL; Thu, 13 Mar 2014 22:56:31 -0700 (PDT)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by ietfa.amsl.com (Postfix) with ESMTP id EBBB61A0040; Thu, 13 Mar 2014 22:56:30 -0700 (PDT)
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 s2E5tqEk021400; Thu, 13 Mar 2014 22:56:13 -0700
Received: from sc-owa.marvell.com ([199.233.58.135]) by mx0b-0016f401.pphosted.com with ESMTP id 1jkm8rshvs-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 13 Mar 2014 22:56:13 -0700
Received: from SC-vEXCH2.marvell.com ([10.93.76.134]) by SC-OWA.marvell.com ([::1]) with mapi; Thu, 13 Mar 2014 22:56:12 -0700
From: Paul Lambert <paul@marvell.com>
To: David McGrew <mcgrew@cisco.com>, Watson Ladd <watsonbladd@gmail.com>
Date: Thu, 13 Mar 2014 22:56:08 -0700
Thread-Topic: [TLS] [Cfrg] Citing specs in specs
Thread-Index: Ac8/ShpmJ0NbR9RRTZ2b/aiqk1wNOg==
Message-ID: <CF47E638.3591A%paul@marvell.com>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com> <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org> <CF37EA5F.338D8%paul@marvell.com> <CACsn0cmewBrOzaRF5XXC1p1A_gUSwkdE1_7V-1x8nta-ESyA+A@mail.gmail.com> <CF38F2D4.33940%paul@marvell.com> <2A0EFB9C05D0164E98F19BB0AF3708C711EF97AD05@USMBX1.msg.corp.akamai.com> <7BAC95F5A7E67643AAFB2C31BEE662D018B8516C6E@SC-VEXCH2.marvell.com> <7A2637AF-5A16-404B-B7A1-49FB17D5345A@callas.org> <CF3B846F.3415E%paul@marvell.com> <CACsn0cnyvkD1X5JDPJaoB83jZeFrj=uugMmWG9nPB+4jaC+POw@mail.gmail.com> <CF3BC8BA.34258%paul@marvell.com> <CACsn0c=OBvLfG+Sv1vYbhF9F6+mYSoYEji3SUtUzd7ZLP0fXHw@mail.gmail.com> <5317065E.1090007@cisco.com>
In-Reply-To: <5317065E.1090007@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.3.9.131030
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.11.87, 1.0.14,  0.0.0000 definitions=2014-03-14_03:2014-03-14,2014-03-14,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-1305240000 definitions=main-1403130207
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/iTnBXoVeMUssOJRf3GFOpXfwwj8
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, Jon Callas <jon@callas.org>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [Cfrg] [TLS]  Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 14 Mar 2014 05:56:32 -0000

On 3/5/14, 7:11 PM, "David McGrew" <mcgrew@cisco.com> wrote:

>On 03/04/2014 12:02 PM, Watson Ladd wrote:
>> Dear all,
>> This is provisionally my last word on the matter.
>>
>> Any consensus based process only works if people will block a largely
>> formed consensus for a good reason only. A document being unclear, or
>> having unanalyzed security properties, or major issues with regards to
>> alternatives not being discussed are good reasons. But the argument
>> that Paul I think is making, that until the CFRG produces a draft ala
>> RFC 6090 for Edwards curve we cannot use them, is fundamentally
>> unconvincing.
>>
>> First off, let me note that black box implementations of Curve25519
>> using the paper are possible: I've written them, Adam Langley has
>> written them, as have lots of other people. So that leaves the
>> argument that the implementations require too much knowledge about
>> cryptography, and that such an issue is worth blocking specs.

I was never advocating blocking these specifications.

The use of Edwards and Montgomery curves for Internet protocols are
relatively new.  There are gaps in the documentation of these new
mechanisms that should be filled at some point. I was trying to
constructively point to worked examples from twenty years of ECC
specifications.

Paul

>>
>> The simplest argument for why it is unconvincing is the date of RFC
>> 6090 vs. the dates of protocols that included Suite B and ECC. RFC
>> 4869 includes Suite B a full 4 years before RFC 6090 was published.
>> Now, it is possible that Paul's argument was valid, but simply wasn't
>> raised at the time RFC 4869 was being published. But I don't see any
>> evidence that implementors of RFC 4869 were hamstrung by the
>> nonexistence of RFC 6090.
>>
>> The second reason I am unconvinced is that I don't see why we
>> shouldn't assume the availability of standard references such as the
>> Handbook Of Elliptic and Hyperelliptic Curve Cryptography, or volume 2
>> of Knuth, to implementors. Such documents are available for far less
>> money than ISO standards, and in many regions of North America, Europe
>> and Asia, can be found for free in the library. The goal of a spec is
>> to explain to humans what is to be done: including excessive
>> information makes this much harder.
>>
>> Finally, Mr. Lambert writes in terms of the "onus" being on CFRG to
>> produce such a document, which he calls a "usable normative
>> reference". Such a bare assertion is entirely unconvincing.
>
> From our charter: "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".     We have an opportunity to
>promote the understanding, use, and applicability of newer ECC
>mechanisms, and I hope that we do so.   I woud not say we have the
>"onus" to do so, but if CFRG does anything in this area, it should do
>what its charter says.
>
>> Furthermore, CFRG owes Paul nothing. While I would be happy to review
>> such a document for accuracy, I have no obligation to review or
>> produce such a document, and the same holds for all the members of the
>> CFRG. I can just as easily say that Mr. Lambert has the onus to
>> produce such a document.
>>
>> I've changed my mind about the desirability of such a document as Mr.
>> Lambert wants. It would be nice if it existed, and it would be a nice
>> project to learn CWEB. However, I see no reason to consider the
>> absence of such a document a good reason to block
>> draft-josefsson-tls-curve25519-04.
>
>draft-josefsson-tls-curve25519-04 defines a way to use a variant of
>Curve25519 in TLS, by describing the differences between RFC4492
>(Weierstrass ECC in TLS) and Curve25519 processing, and some differences
>and clarifications relative to the Curve25519 processing described in
>the PKC2006 publication.   This is clear from the following quotes:
>
>"Private keys MUST be selected as specified in [Curve25519].  That is,
>private keys are 255-bits numbers with the following properties: ..."
>
>"ECPoint.point differs from the definition of public keys in
>[Curve25519] in two ways: ..."
>
>"Again, in line with [RFC4492] and as a departure from the convention
>chosen in [Curve25519], the x coordinate is converted to a byte  string
>using big endian order. ..."
>
>"The following subsections describe the differences between using
>Curve25519 and the curves defined by RFC 4492 for key exchange in TLS.
>... "
>
>Defining a new thing by its differences from two existing things is not
>the best way to get a clear and easy to implement specification.    The
>authors could improve clarity by brining in more of the description of
>Curve25519, or by referencing external work such as an informational
>draft/RFC that describes Curve25519 (preferably the same variant as in
>draft-josefsson-tls-curve25519).
>
>One way that RFC6090 added clarity was by clearly separating normative
>references from informative ones, and relying only on a small sufficient
>set of normative references that were early (pre-1994).   It would be
>good to have this sort of clarity for IETF work on Curve25519.
>
>It would be better to have a separate draft/RFC on Curve25519, as
>described above, because it will be clearer and more conducive to re-use
>of the mechanism across IETF protocols.   If no separate normative
>document is produced, then it will be important for
>draft-josefsson-tls-curve25519 to incorporated a more complete
>description of Curve25519.
>
>Disclaimer: I have not tried to implement
>draft-josefsson-tls-curve25519, and I'm not claiming that it is
>ambiguous.   The authors deserve thanks for writing this document. Our
>aim should be to produce clear, well-understood specifications.   Not
>all RFC are clear or well-understood, but we don't need to emulate that
>precedent.
>
>David
>
>
>
>>
>> Sincerely,
>> Watson Ladd
>>
>> _______________________________________________
>> TLS mailing list
>> TLS@ietf.org
>> https://www.ietf.org/mailman/listinfo/tls
>>
>


From nobody Thu Mar 13 23:41:50 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DACD91A005C for <cfrg@ietfa.amsl.com>; Thu, 13 Mar 2014 23:41:47 -0700 (PDT)
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 t3WzIWdtZGVw for <cfrg@ietfa.amsl.com>; Thu, 13 Mar 2014 23:41:45 -0700 (PDT)
Received: from mail-yh0-x231.google.com (mail-yh0-x231.google.com [IPv6:2607:f8b0:4002:c01::231]) by ietfa.amsl.com (Postfix) with ESMTP id 459311A0059 for <cfrg@irtf.org>; Thu, 13 Mar 2014 23:41:45 -0700 (PDT)
Received: by mail-yh0-f49.google.com with SMTP id z6so2125860yhz.36 for <cfrg@irtf.org>; Thu, 13 Mar 2014 23:41:38 -0700 (PDT)
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=KeJDKJbh97JxnYvtqJ/jdevqBlEzv3mwKVebMWf5ywM=; b=qk/WLAwBZklYe3Nh7yYMivXVr7BHzN1gxrQdr86gPO67oHk+cmVZlF2rV975JHo5Bu M2/8loxdz/9Oa6fdkKh+nna5tPislI/ximsWkI1pskFrj3Wy2MiUudqq+fmBvOqI5jyH RQi1neEME4E8LJWEjQnr5Wz92gQTConSwVqamjUbNSduK98tlYQTXxPBA1syp6GsOi0Z Z0dfNpDKUauoE9c4Q4379p2RtpUlabnJ4iaCS9Medo3vf3WEWeL5EJFMD2jG8VLaLwgt reB59NVfJ7nz7g71Jq17sbN8QUN/5Hbwkxt+ivCU35U0Mx0ncTbX8SML5DVvwdQtBzK2 AivA==
MIME-Version: 1.0
X-Received: by 10.236.131.163 with SMTP id m23mr8191169yhi.61.1394779298439; Thu, 13 Mar 2014 23:41:38 -0700 (PDT)
Received: by 10.170.80.214 with HTTP; Thu, 13 Mar 2014 23:41:38 -0700 (PDT)
In-Reply-To: <CF47E638.3591A%paul@marvell.com>
References: <530FDC7A.4060404@cisco.com> <CABqy+srTqCXjOR4DMNgWyxf2pZ7dwZfWyznhBuJaY5w8VeuR4Q@mail.gmail.com> <5310B12E.4070603@cisco.com> <CABqy+srrbtdHOckjPqTj5SFuQwQEqXBjgc8kwagMi8E6ZRf=qg@mail.gmail.com> <28A7736F-A791-4552-8D42-DB99AC7B7F9B@vpnc.org> <CF37EA5F.338D8%paul@marvell.com> <CACsn0cmewBrOzaRF5XXC1p1A_gUSwkdE1_7V-1x8nta-ESyA+A@mail.gmail.com> <CF38F2D4.33940%paul@marvell.com> <2A0EFB9C05D0164E98F19BB0AF3708C711EF97AD05@USMBX1.msg.corp.akamai.com> <7BAC95F5A7E67643AAFB2C31BEE662D018B8516C6E@SC-VEXCH2.marvell.com> <7A2637AF-5A16-404B-B7A1-49FB17D5345A@callas.org> <CF3B846F.3415E%paul@marvell.com> <CACsn0cnyvkD1X5JDPJaoB83jZeFrj=uugMmWG9nPB+4jaC+POw@mail.gmail.com> <CF3BC8BA.34258%paul@marvell.com> <CACsn0c=OBvLfG+Sv1vYbhF9F6+mYSoYEji3SUtUzd7ZLP0fXHw@mail.gmail.com> <5317065E.1090007@cisco.com> <CF47E638.3591A%paul@marvell.com>
Date: Thu, 13 Mar 2014 23:41:38 -0700
Message-ID: <CACsn0cnC+-9P+tLbVot25WnJbXCubJPCbR5qAzFkYgBL1ARArA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Paul Lambert <paul@marvell.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/D00YSG8RZDY3rM3_iiW1gjqYyQg
Cc: David McGrew <mcgrew@cisco.com>, "cfrg@irtf.org" <cfrg@irtf.org>, Jon Callas <jon@callas.org>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [Cfrg] [TLS]  Citing specs in specs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 14 Mar 2014 06:41:48 -0000

On Thu, Mar 13, 2014 at 10:56 PM, Paul Lambert <paul@marvell.com> wrote:
>
>
> On 3/5/14, 7:11 PM, "David McGrew" <mcgrew@cisco.com> wrote:
>
>>On 03/04/2014 12:02 PM, Watson Ladd wrote:
>>> Dear all,
>>> This is provisionally my last word on the matter.
>>>
>>> Any consensus based process only works if people will block a largely
>>> formed consensus for a good reason only. A document being unclear, or
>>> having unanalyzed security properties, or major issues with regards to
>>> alternatives not being discussed are good reasons. But the argument
>>> that Paul I think is making, that until the CFRG produces a draft ala
>>> RFC 6090 for Edwards curve we cannot use them, is fundamentally
>>> unconvincing.
>>>
>>> First off, let me note that black box implementations of Curve25519
>>> using the paper are possible: I've written them, Adam Langley has
>>> written them, as have lots of other people. So that leaves the
>>> argument that the implementations require too much knowledge about
>>> cryptography, and that such an issue is worth blocking specs.
>
> I was never advocating blocking these specifications.

I have to apologise: I misread your initial email as saying that the
Curve25519 was an insufficient normative reference as meaning that it
didn't define things clearly enough, and therefore you thought the
spec was ambiguous. I realise now you meant that, independent of the
citation issue, you wanted more documentation.

>
> The use of Edwards and Montgomery curves for Internet protocols are
> relatively new.  There are gaps in the documentation of these new
> mechanisms that should be filled at some point. I was trying to
> constructively point to worked examples from twenty years of ECC
> specifications.

And that is currently being worked on by Robert Ransom, who seems to
have taken over right now from myself. I'll probably jump in this
weekend and write up the algorithms that are required to compute point
multiples, together with the precautions to avoid side channels.

The big problem with Edwards is we don't have a good point format yet.
Robert Ransom has a good idea, but I haven't seen explicit formulas
for encoding and decoding yet.

Sincerely,
Watson Ladd
>
> Paul
>
>>>
>>> The simplest argument for why it is unconvincing is the date of RFC
>>> 6090 vs. the dates of protocols that included Suite B and ECC. RFC
>>> 4869 includes Suite B a full 4 years before RFC 6090 was published.
>>> Now, it is possible that Paul's argument was valid, but simply wasn't
>>> raised at the time RFC 4869 was being published. But I don't see any
>>> evidence that implementors of RFC 4869 were hamstrung by the
>>> nonexistence of RFC 6090.
>>>
>>> The second reason I am unconvinced is that I don't see why we
>>> shouldn't assume the availability of standard references such as the
>>> Handbook Of Elliptic and Hyperelliptic Curve Cryptography, or volume 2
>>> of Knuth, to implementors. Such documents are available for far less
>>> money than ISO standards, and in many regions of North America, Europe
>>> and Asia, can be found for free in the library. The goal of a spec is
>>> to explain to humans what is to be done: including excessive
>>> information makes this much harder.
>>>
>>> Finally, Mr. Lambert writes in terms of the "onus" being on CFRG to
>>> produce such a document, which he calls a "usable normative
>>> reference". Such a bare assertion is entirely unconvincing.
>>
>> From our charter: "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".     We have an opportunity to
>>promote the understanding, use, and applicability of newer ECC
>>mechanisms, and I hope that we do so.   I woud not say we have the
>>"onus" to do so, but if CFRG does anything in this area, it should do
>>what its charter says.
>>
>>> Furthermore, CFRG owes Paul nothing. While I would be happy to review
>>> such a document for accuracy, I have no obligation to review or
>>> produce such a document, and the same holds for all the members of the
>>> CFRG. I can just as easily say that Mr. Lambert has the onus to
>>> produce such a document.
>>>
>>> I've changed my mind about the desirability of such a document as Mr.
>>> Lambert wants. It would be nice if it existed, and it would be a nice
>>> project to learn CWEB. However, I see no reason to consider the
>>> absence of such a document a good reason to block
>>> draft-josefsson-tls-curve25519-04.
>>
>>draft-josefsson-tls-curve25519-04 defines a way to use a variant of
>>Curve25519 in TLS, by describing the differences between RFC4492
>>(Weierstrass ECC in TLS) and Curve25519 processing, and some differences
>>and clarifications relative to the Curve25519 processing described in
>>the PKC2006 publication.   This is clear from the following quotes:
>>
>>"Private keys MUST be selected as specified in [Curve25519].  That is,
>>private keys are 255-bits numbers with the following properties: ..."
>>
>>"ECPoint.point differs from the definition of public keys in
>>[Curve25519] in two ways: ..."
>>
>>"Again, in line with [RFC4492] and as a departure from the convention
>>chosen in [Curve25519], the x coordinate is converted to a byte  string
>>using big endian order. ..."
>>
>>"The following subsections describe the differences between using
>>Curve25519 and the curves defined by RFC 4492 for key exchange in TLS.
>>... "
>>
>>Defining a new thing by its differences from two existing things is not
>>the best way to get a clear and easy to implement specification.    The
>>authors could improve clarity by brining in more of the description of
>>Curve25519, or by referencing external work such as an informational
>>draft/RFC that describes Curve25519 (preferably the same variant as in
>>draft-josefsson-tls-curve25519).
>>
>>One way that RFC6090 added clarity was by clearly separating normative
>>references from informative ones, and relying only on a small sufficient
>>set of normative references that were early (pre-1994).   It would be
>>good to have this sort of clarity for IETF work on Curve25519.
>>
>>It would be better to have a separate draft/RFC on Curve25519, as
>>described above, because it will be clearer and more conducive to re-use
>>of the mechanism across IETF protocols.   If no separate normative
>>document is produced, then it will be important for
>>draft-josefsson-tls-curve25519 to incorporated a more complete
>>description of Curve25519.
>>
>>Disclaimer: I have not tried to implement
>>draft-josefsson-tls-curve25519, and I'm not claiming that it is
>>ambiguous.   The authors deserve thanks for writing this document. Our
>>aim should be to produce clear, well-understood specifications.   Not
>>all RFC are clear or well-understood, but we don't need to emulate that
>>precedent.
>>
>>David
>>
>>
>>
>>>
>>> Sincerely,
>>> Watson Ladd
>>>
>>> _______________________________________________
>>> TLS mailing list
>>> TLS@ietf.org
>>> https://www.ietf.org/mailman/listinfo/tls
>>>
>>
>



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


From nobody Sat Mar 15 12:25:18 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 720A61A01B5 for <cfrg@ietfa.amsl.com>; Sat, 15 Mar 2014 12:25:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.25
X-Spam-Level: ***
X-Spam-Status: No, score=3.25 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, MANGLED_OFF=2.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 ynEfWx2pCjaP for <cfrg@ietfa.amsl.com>; Sat, 15 Mar 2014 12:25:13 -0700 (PDT)
Received: from mail-qa0-x231.google.com (mail-qa0-x231.google.com [IPv6:2607:f8b0:400d:c00::231]) by ietfa.amsl.com (Postfix) with ESMTP id 678821A0199 for <cfrg@irtf.org>; Sat, 15 Mar 2014 12:25:13 -0700 (PDT)
Received: by mail-qa0-f49.google.com with SMTP id j7so3810775qaq.22 for <cfrg@irtf.org>; Sat, 15 Mar 2014 12:25:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=VFgxiVaKvA59dYUPwsZSH9vxQPIudL/gvarlQWRH4JY=; b=s7LOW8eYZn6Umea00M94IUpY+UTe44Dn1hU+G2s1kPnjncCvWbi1kj92Mq+3T8HD4F nTopUtOG4b3g5Sy81V4szwJzh8hK6bxdY2ApXEg1r1uQdD3IbRjtcdNqDWZTPMsB58B8 ewQhZn5lJl9CTMjSoXxDlAQefplEVH0Z4dmon0ZyZHjk+bwXolutgQ8KneW6DD4oT76R eU3yT3gX27Y+k5dnbxHIBw+/Sl8E5jdAERiEWNdJjIygcZZBWSVwgwoZMhguM5GYIVPa WsbJyU119v61xJZBKaJn+LegeYyqjzUmB11f/Y/HnYWSqvGzUniHKiYWYNnBpknKQsuQ VIyQ==
MIME-Version: 1.0
X-Received: by 10.224.98.197 with SMTP id r5mr17957786qan.47.1394911505905; Sat, 15 Mar 2014 12:25:05 -0700 (PDT)
Received: by 10.140.43.2 with HTTP; Sat, 15 Mar 2014 12:25:05 -0700 (PDT)
In-Reply-To: <CABqy+sqeiwxx5P7v4LxaBXHDzUc7rnDZKfA5gWKg3Uk1Onn2uw@mail.gmail.com>
References: <CABqy+soS=t3riOZkDnJ5jMApJfWv95So34DdFona5JXERAws_w@mail.gmail.com> <CACsn0cnEXGrF-icsVMSp0x+RbhYXaU59FEnq+sBCxenGMgEDJw@mail.gmail.com> <CABqy+sqeiwxx5P7v4LxaBXHDzUc7rnDZKfA5gWKg3Uk1Onn2uw@mail.gmail.com>
Date: Sat, 15 Mar 2014 12:25:05 -0700
Message-ID: <CABqy+srXjC3gormot4H0Yvd=8jLHpavgTSESJJqn3v8a5C+1bQ@mail.gmail.com>
From: Robert Ransom <rransom.8774@gmail.com>
To: cfrg@irtf.org
Content-Type: multipart/mixed; boundary=089e013cba98cd89e604f4aa2474
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/5JfctLCqUt6AZWz7tq79yBDz3t0
Subject: Re: [Cfrg] Review of ECC topics
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 15 Mar 2014 19:25:17 -0000

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

On 3/2/14, Robert Ransom <rransom.8774@gmail.com> wrote:

> Thank you for your comments.  I should be able to post an updated
> version some time this week.

That took longer than I expected.  I've corrected the errors, improved
the definition of =E2=80=9Cirreducible=E2=80=9D, and added a short paragrap=
h of
examples of fields (and a non-field).


Robert Ransom

--089e013cba98cd89e604f4aa2474
Content-Type: text/plain; charset=UTF-8; name="2014-03-15-01-review.txt"
Content-Disposition: attachment; filename="2014-03-15-01-review.txt"
Content-Transfer-Encoding: base64
X-Attachment-Id: file1

CiogZ3JvdXAtdGhlb3J5IGZhY3RzCgogICogZGVmaW5pdGlvbiBvZiBtb25vaWQKCiAgICBBIOKA
mG1vbm9pZOKAmSAoTSwgKikgY29uc2lzdHMgb2YgYSBzZXQgb2YgZWxlbWVudHMgKGhlcmUgZGVu
b3RlZCBNKSwKICAgIGEgYmluYXJ5IG9wZXJhdG9yIChoZXJlIGRlbm90ZWQgKiksIGFuZCBhbiBp
ZGVudGl0eSBlbGVtZW50IChoZXJlCiAgICBkZW5vdGVkIDFfTSksIHNhdGlzZnlpbmcgdGhlIGZv
bGxvd2luZyBwcm9wZXJ0aWVzOgoKICAgICogRm9yIGV2ZXJ5IHgsIHksIHogaW4gTSwgKHggKiB5
KSAqIHogPSB4ICogKHkgKiB6KSAodGhlCiAgICAgIOKAmGFzc29jaWF0aXZlIGxhd+KAmSkuCgog
ICAgKiBGb3IgZXZlcnkgeCBpbiBNLCAxX00gKiB4ID0geCBhbmQgeCAqIDFfTSA9IHguCgogICAg
Rm9yIGV2ZXJ5IHggaW4gTSBhbmQgZ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AnGlzb21vcnBoaXNt4oCdLCBmb3Ig
YXQgbGVhc3QgdHdvIHJlYXNvbnM6CgogICogSXNvbW9ycGhpc21zIGFyZSBmYXIgbW9yZSBjb21t
b25seSB1c2VkIHRoYW4gaXNvZ2VuaWVzIHdoaWNoIGFyZQogICAgbm90IGlzb21vcnBoaXNtcy4g
IFRodXMsIHJlZmVycmluZyB0byB0aGUgY29tbW9ubHkgdXNlZAogICAgaXNvbW9ycGhpc21zIGFz
IGlzb2dlbmllcyBpcyBsaWtlbHkgdG8gbWlzbGVhZCByZWFkZXJzIHdobyBhcmUgbmV3CiAgICB0
byB0aGUgc3ViamVjdCBpbnRvIGJlbGlldmluZyB0aGF0IOKAnGlzb2dlbnnigJ0gaXMgbWVyZWx5
IGEgdGVybSBmb3IKICAgIGFuIGlzb21vcnBoaXNtIG9mIGVsbGlwdGljIGN1cnZlcy4KCiAgKiBB
biBpc29tb3JwaGlzbSBpcyBlYXNpbHkgaW52ZXJ0aWJsZSwgc28gcG9pbnRzIGluIHByb2plY3Rp
dmUgZm9ybQogICAgY2FuIGJlIHRyYW5zZmVycmVkIGJldHdlZW4gaXNvbW9ycGhpYyBjdXJ2ZXMg
d2l0aCB0cml2aWFsCiAgICBjb21wdXRhdGlvbmFsIGNvc3QuICBPdGhlciBpc29nZW5pZXMgYXJl
IG5vdCBlZmZpY2llbnRseQogICAgaW52ZXJ0aWJsZS4KCg==
--089e013cba98cd89e604f4aa2474
Content-Type: text/plain; charset=US-ASCII; name="2014-03-15-01-acknowledgements.txt"
Content-Disposition: attachment; 
	filename="2014-03-15-01-acknowledgements.txt"
Content-Transfer-Encoding: base64
X-Attachment-Id: file2

CiogZm9yIHJldmlldy50eHQ6CgogIFdhdHNvbiBMYWRkIHBvaW50ZWQgb3V0IGEgZmV3IGVycm9y
cyBpbiBhbiBlYXJsaWVyIHZlcnNpb24gb2YgdGhpcwogIGRvY3VtZW50LgoK
--089e013cba98cd89e604f4aa2474--


From nobody Sat Mar 15 13:18:47 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 15D191A01DF for <cfrg@ietfa.amsl.com>; Sat, 15 Mar 2014 13:18:46 -0700 (PDT)
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 ISXI--9ktXKQ for <cfrg@ietfa.amsl.com>; Sat, 15 Mar 2014 13:18:44 -0700 (PDT)
Received: from mail-yh0-x22f.google.com (mail-yh0-x22f.google.com [IPv6:2607:f8b0:4002:c01::22f]) by ietfa.amsl.com (Postfix) with ESMTP id 8E5601A01B6 for <cfrg@irtf.org>; Sat, 15 Mar 2014 13:18:44 -0700 (PDT)
Received: by mail-yh0-f47.google.com with SMTP id 29so3918988yhl.6 for <cfrg@irtf.org>; Sat, 15 Mar 2014 13:18:37 -0700 (PDT)
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=Rgwlv8Z5D5fRW4BOTRuMla4s79KLE1R9SMISlkhPVhM=; b=EIcZe1kZM5EFdDufvzVQv83Wyjy4UrQg1c5Je1OXPJ4FiwxEWZhwCI01P6qpmhDf2/ VhGEiyBXQeEj1nA0oQ7tBeivoRC74NmXZ3ILjaqC1hFQg+HScj4iqj3ttsvOw4J/1tHG 3UJV20Jg/bQDldjSf+W5L1LBoQa9CDxJbw2xJdGT/TIXX+TucfG4y6niSH9vOgmCI6kj IaZiLp0+RG2ZwUAls8eaUvXMql/Mxzrn6MjFp5vygDoYDvtj9GAK4OIzTZXupwMbjqVE 7DB3CcRnLw5a9DUndngypftYKBpd095RJUDDruJjHpCFLvRyAX5rsa1AVCQsWat17oJJ LJFg==
MIME-Version: 1.0
X-Received: by 10.236.112.39 with SMTP id x27mr5026091yhg.103.1394914717123; Sat, 15 Mar 2014 13:18:37 -0700 (PDT)
Received: by 10.170.80.214 with HTTP; Sat, 15 Mar 2014 13:18:37 -0700 (PDT)
Date: Sat, 15 Mar 2014 13:18:37 -0700
Message-ID: <CACsn0ck+8Rhxc1_4bp9za7n+Pe5Oan755CoxBs1ZnPFuruG6OQ@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/OGlku2CKf6C1MODrPjm6D8cmizA
Subject: [Cfrg] RFC 6090 correctness
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 15 Mar 2014 20:18:46 -0000

Dear all,

It is not obvious to me why the algorithm in appendix F.2 in RFC 6090
is correct. Why is u=0, v !=0 prohibited? In particular, given a
single y coordinate there are potentially three x coordinates in the
field with that y coordinate. When presented with two of these points,
the algorithm given then falls through to computing 2*P1, which isn't
the right answer.

Explicitly, on the curve y=(x-a)(x-b)(x-c) over any field of large
enough characteristic, adding (a,0,1) to (b,0,1) will not produce
(c,0,1), but rather the point at infinity as these are 2-torsion
points.

Sincerely,
Watson Ladd


From nobody Sat Mar 15 17:18: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 7DDF71A02A8 for <cfrg@ietfa.amsl.com>; Sat, 15 Mar 2014 17:18:29 -0700 (PDT)
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 26inCb2sA20R for <cfrg@ietfa.amsl.com>; Sat, 15 Mar 2014 17:18:28 -0700 (PDT)
Received: from mail-yk0-x22c.google.com (mail-yk0-x22c.google.com [IPv6:2607:f8b0:4002:c07::22c]) by ietfa.amsl.com (Postfix) with ESMTP id 215711A02AC for <cfrg@irtf.org>; Sat, 15 Mar 2014 17:18:28 -0700 (PDT)
Received: by mail-yk0-f172.google.com with SMTP id 200so11075034ykr.3 for <cfrg@irtf.org>; Sat, 15 Mar 2014 17:18:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=e/3ntl3LzGlJxUKIJd5MVquRn3/c7w/HM5nhBHy6Xwc=; b=Be27GonLv2QF1fQK3s01nobzSvp9Q63Nqca0zGlLEm2fPOM/OauzYnZ+batrq/KtWn y9MXdszReAaqlNEuC1+r97mJo2ob+HiA7+BEf1HBrfxV0lMJgxEJ4sD145lYumGEk6zC M2VkrytWjZ/8YvaoF7wZE57vNmPvuvtSMmyChWI+0NI9LceWXYjIWPtH9O/XafQyRV2V S11F2cqofd9Bi4jqT1gqMOv/EyqezK+YI0LkgFF5LOWJ/bYp6N2Cq9y2DEjfWy3EjHER rayeh1nuZqPLPtV7fuyb7H7+wJeU05foz5bk4WIYUTRDEmckDHK1vTrEBVn2snUtjvlk lxtw==
MIME-Version: 1.0
X-Received: by 10.236.124.104 with SMTP id w68mr23105398yhh.2.1394929100691; Sat, 15 Mar 2014 17:18:20 -0700 (PDT)
Received: by 10.170.80.214 with HTTP; Sat, 15 Mar 2014 17:18:20 -0700 (PDT)
In-Reply-To: <CACsn0ck+8Rhxc1_4bp9za7n+Pe5Oan755CoxBs1ZnPFuruG6OQ@mail.gmail.com>
References: <CACsn0ck+8Rhxc1_4bp9za7n+Pe5Oan755CoxBs1ZnPFuruG6OQ@mail.gmail.com>
Date: Sat, 15 Mar 2014 17:18:20 -0700
Message-ID: <CACsn0ckXVPtkDiyNUNTTj+oTzVeLBqOr9-tijDRc_2C5mn0_jA@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/q1KgVD0V_iXY8UveMDPe1i6zYM8
Subject: Re: [Cfrg] RFC 6090 correctness
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 16 Mar 2014 00:18:29 -0000

On Sat, Mar 15, 2014 at 1:18 PM, Watson Ladd <watsonbladd@gmail.com> wrote:
> Dear all,
>
> It is not obvious to me why the algorithm in appendix F.2 in RFC 6090
> is correct. Why is u=0, v !=0 prohibited? In particular, given a
> single y coordinate there are potentially three x coordinates in the
> field with that y coordinate. When presented with two of these points,
> the algorithm given then falls through to computing 2*P1, which isn't
> the right answer.
>
> Explicitly, on the curve y=(x-a)(x-b)(x-c) over any field of large
> enough characteristic, adding (a,0,1) to (b,0,1) will not produce
> (c,0,1), but rather the point at infinity as these are 2-torsion
> points.

For clarification, I meant addition as given in the RFC. The correct
answer is the third point, but the RFC gives the point at infinity.
Thanks to Tanja Lange for pointing this out.

>
> Sincerely,
> Watson Ladd


From nobody Sat Mar 15 17:28:19 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 ACF191A02B5 for <cfrg@ietfa.amsl.com>; Sat, 15 Mar 2014 17:28:17 -0700 (PDT)
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 U1zEPFUvNJWd for <cfrg@ietfa.amsl.com>; Sat, 15 Mar 2014 17:28:16 -0700 (PDT)
Received: from mace.cs.uic.edu (mace.cs.uic.edu [131.193.32.224]) by ietfa.amsl.com (Postfix) with SMTP id E405E1A02B0 for <cfrg@irtf.org>; Sat, 15 Mar 2014 17:28:15 -0700 (PDT)
Received: (qmail 28252 invoked from network); 16 Mar 2014 00:28:09 -0000
Received: from pcdhz005.win.tue.nl (HELO hyperelliptic.org) (131.155.71.33) by mace.cs.uic.edu with SMTP; 16 Mar 2014 00:28:09 -0000
Received: (qmail 3903 invoked by uid 1000); 16 Mar 2014 00:28:06 -0000
Date: Sun, 16 Mar 2014 01:28:06 +0100
From: Tanja Lange <tanja@hyperelliptic.org>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Message-ID: <20140316002806.GL5925@cph.win.tue.nl>
References: <CACsn0ck+8Rhxc1_4bp9za7n+Pe5Oan755CoxBs1ZnPFuruG6OQ@mail.gmail.com> <CACsn0ckXVPtkDiyNUNTTj+oTzVeLBqOr9-tijDRc_2C5mn0_jA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACsn0ckXVPtkDiyNUNTTj+oTzVeLBqOr9-tijDRc_2C5mn0_jA@mail.gmail.com>
User-Agent: Mutt/1.5.11
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/NYrB3hq3QURZPfOSpn1WxA1tyVA
Subject: Re: [Cfrg] RFC 6090 correctness
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 16 Mar 2014 00:28:17 -0000

Dear all,
> > It is not obvious to me why the algorithm in appendix F.2 in RFC 6090
> > is correct. Why is u=0, v !=0 prohibited? In particular, given a
> > single y coordinate there are potentially three x coordinates in the
> > field with that y coordinate. When presented with two of these points,
> > the algorithm given then falls through to computing 2*P1, which isn't
> > the right answer.
> 
To phrase it stronger than Watson: The algorithm is wrong. It merges the
cases of adding (x1,y1) to (x2,y1) into the case of doubling (x1,y1).

The correct algorithm needs a different case distinction

if P1=infty
elif P2=infty 
elif P1=-P2
elif P1!=P2
else (which is the P1=P2) case

All the best
	Tanja


From nobody Sat Mar 15 17:45:10 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 20E281A02AE for <cfrg@ietfa.amsl.com>; Sat, 15 Mar 2014 17:45:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.347
X-Spam-Level: 
X-Spam-Status: No, score=-1.347 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553] 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 dqhgy7NAHUJl for <cfrg@ietfa.amsl.com>; Sat, 15 Mar 2014 17:45:06 -0700 (PDT)
Received: from hoffman.proper.com (IPv6.Hoffman.Proper.COM [IPv6:2605:8e00:100:41::81]) by ietfa.amsl.com (Postfix) with ESMTP id 23F911A02AA for <cfrg@irtf.org>; Sat, 15 Mar 2014 17:45:06 -0700 (PDT)
Received: from [10.20.30.90] (50-1-98-175.dsl.dynamic.sonic.net [50.1.98.175]) (authenticated bits=0) by hoffman.proper.com (8.14.8/8.14.7) with ESMTP id s2G0ivxv047067 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for <cfrg@irtf.org>; Sat, 15 Mar 2014 17:44:58 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: hoffman.proper.com: Host 50-1-98-175.dsl.dynamic.sonic.net [50.1.98.175] claimed to be [10.20.30.90]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <CACsn0ck+8Rhxc1_4bp9za7n+Pe5Oan755CoxBs1ZnPFuruG6OQ@mail.gmail.com>
Date: Sat, 15 Mar 2014 17:44:54 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <28EB012B-C9FE-4CF4-A039-E9DA5ECCD787@vpnc.org>
References: <CACsn0ck+8Rhxc1_4bp9za7n+Pe5Oan755CoxBs1ZnPFuruG6OQ@mail.gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/vIdDxy9uA8JlxBJx1mjc1cRBXjs
Subject: Re: [Cfrg] RFC 6090 correctness
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 16 Mar 2014 00:45:07 -0000

Please note that RFC 6090 already has a bunch of errata; see =
<http://www.rfc-editor.org/errata_search.php?rfc=3D6090>. Maybe Watson =
and Tanja can coordinate on a concise statement of the current error and =
turn in a new errata. It would also be grand if people on the list went =
through the RFC with a finer-tooth comb than they did before it was =
published and report anything else.

There are enough errata that it feels like the RFC should be updated to =
deal with them all.

--Paul Hoffman=


From nobody Sat Mar 15 18:42: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 EFC5E1A0233 for <cfrg@ietfa.amsl.com>; Sat, 15 Mar 2014 18:42:19 -0700 (PDT)
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_22=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 1nan89NSqEtl for <cfrg@ietfa.amsl.com>; Sat, 15 Mar 2014 18:42:18 -0700 (PDT)
Received: from mail-yh0-x22c.google.com (mail-yh0-x22c.google.com [IPv6:2607:f8b0:4002:c01::22c]) by ietfa.amsl.com (Postfix) with ESMTP id 840301A022A for <cfrg@irtf.org>; Sat, 15 Mar 2014 18:42:18 -0700 (PDT)
Received: by mail-yh0-f44.google.com with SMTP id f10so4100155yha.31 for <cfrg@irtf.org>; Sat, 15 Mar 2014 18:42:11 -0700 (PDT)
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=8iWs2iwzeVYM4Qn3QfOaACMGT0b8xSEmkXzCMEF3NqY=; b=ZsUjVYvJltkYJnRN8JJ0as1qGAyvlP78LII+nCHP4T9MdNZZd47GkFcgzH2S/cFRtp Bf6BPhZVFMSIHJPtyE5me6OLqRhNPjmlH/FX+WDcdsMGCFqWW/6A1SUlXVW8Wdx1zTSu HaZOVjo0wigZfhvOP5Gu1/dGXZDQ/eYKie5Pvn3AbyFk0nV8DBLcFTZgQFZ/v/KMP72n Y0mIWEGIIO+lHdoorwEf1Rt7pKCRB2Vrw1a3vesguHIEDbYL+SKK7aDIFwC6zhZ4zLTa 441rUepqpEsbAc1K2hZx0SwYjg99r04nmcpKklrwgkQPthe06xpXsZSm5VrASnRwPmwJ FiHg==
MIME-Version: 1.0
X-Received: by 10.236.30.230 with SMTP id k66mr3639554yha.57.1394934130956; Sat, 15 Mar 2014 18:42:10 -0700 (PDT)
Received: by 10.170.80.214 with HTTP; Sat, 15 Mar 2014 18:42:10 -0700 (PDT)
In-Reply-To: <28EB012B-C9FE-4CF4-A039-E9DA5ECCD787@vpnc.org>
References: <CACsn0ck+8Rhxc1_4bp9za7n+Pe5Oan755CoxBs1ZnPFuruG6OQ@mail.gmail.com> <28EB012B-C9FE-4CF4-A039-E9DA5ECCD787@vpnc.org>
Date: Sat, 15 Mar 2014 18:42:10 -0700
Message-ID: <CACsn0cke8h-evUmQOQ3ehxiwzmU5CzTnQLrQMzh6s50egxosuA@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/AOii4vXUpPTs2jQGGglPkE9R3Pw
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] RFC 6090 correctness
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 16 Mar 2014 01:42:20 -0000

On Sat, Mar 15, 2014 at 5:44 PM, Paul Hoffman <paul.hoffman@vpnc.org> wrote=
:
> Please note that RFC 6090 already has a bunch of errata; see <http://www.=
rfc-editor.org/errata_search.php?rfc=3D6090>. Maybe Watson and Tanja can co=
ordinate on a concise statement of the current error and turn in a new erra=
ta. It would also be grand if people on the list went through the RFC with =
a finer-tooth comb than they did before it was published and report anythin=
g else.
>
> There are enough errata that it feels like the RFC should be updated to d=
eal with them all.

I've submitted an erratum, but there are multiple possible fixes.
Furthermore, the nature of this error is significant: it may be
possible to exploit this mistake in implementations that slavishly
adhere to the RFC. One example of this causing security problems is in
Petersen commitments: ag+bh is usually computed by taking
(a-b)g+b(h+g) and so on recursively. If g and h are crafted so that
h+g results in 2g, not h+g, the commitment doesn't bind to any value
of b. Note that this doesn't require knowing the discrete log of g to
the base h, and in fact is compatible with some "nothing up my sleeve"
means of point generation.

Sincerely,
Watson Ladd
>
> --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 Sat Mar 15 19:17: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 848FD1A024E for <cfrg@ietfa.amsl.com>; Sat, 15 Mar 2014 19:17:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.347
X-Spam-Level: 
X-Spam-Status: No, score=-1.347 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553] 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 0RDmpB44tp1c for <cfrg@ietfa.amsl.com>; Sat, 15 Mar 2014 19:16:59 -0700 (PDT)
Received: from hoffman.proper.com (IPv6.Hoffman.Proper.COM [IPv6:2605:8e00:100:41::81]) by ietfa.amsl.com (Postfix) with ESMTP id 1CB4F1A024D for <cfrg@irtf.org>; Sat, 15 Mar 2014 19:16:59 -0700 (PDT)
Received: from [10.20.30.90] (50-1-98-175.dsl.dynamic.sonic.net [50.1.98.175]) (authenticated bits=0) by hoffman.proper.com (8.14.8/8.14.7) with ESMTP id s2G2GlDP049214 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 15 Mar 2014 19:16:48 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: hoffman.proper.com: Host 50-1-98-175.dsl.dynamic.sonic.net [50.1.98.175] claimed to be [10.20.30.90]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <CACsn0cke8h-evUmQOQ3ehxiwzmU5CzTnQLrQMzh6s50egxosuA@mail.gmail.com>
Date: Sat, 15 Mar 2014 19:16:44 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <570C2FF9-55A2-48D9-9462-4531540CAC7F@vpnc.org>
References: <CACsn0ck+8Rhxc1_4bp9za7n+Pe5Oan755CoxBs1ZnPFuruG6OQ@mail.gmail.com> <28EB012B-C9FE-4CF4-A039-E9DA5ECCD787@vpnc.org> <CACsn0cke8h-evUmQOQ3ehxiwzmU5CzTnQLrQMzh6s50egxosuA@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/9i9GJhashc3LxkzoYmgeFb8ajNk
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] RFC 6090 correctness
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 16 Mar 2014 02:17:00 -0000

On Mar 15, 2014, at 6:42 PM, Watson Ladd <watsonbladd@gmail.com> wrote:

> I've submitted an erratum, but there are multiple possible fixes.

Given that, it would be good to have group review of the erratum: =
http://www.rfc-editor.org/errata_search.php?rfc=3D6090&eid=3D3920

--Paul Hoffman=


From nobody Sun Mar 16 04:50:04 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 A83291A00FB for <cfrg@ietfa.amsl.com>; Sun, 16 Mar 2014 04:50:00 -0700 (PDT)
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 qUTznLHQFQOw for <cfrg@ietfa.amsl.com>; Sun, 16 Mar 2014 04:49:59 -0700 (PDT)
Received: from mace.cs.uic.edu (mace.cs.uic.edu [131.193.32.224]) by ietfa.amsl.com (Postfix) with SMTP id C13DF1A02DD for <cfrg@irtf.org>; Sun, 16 Mar 2014 04:49:58 -0700 (PDT)
Received: (qmail 28797 invoked from network); 16 Mar 2014 11:49:52 -0000
Received: from pcdhz005.win.tue.nl (HELO hyperelliptic.org) (131.155.71.33) by mace.cs.uic.edu with SMTP; 16 Mar 2014 11:49:52 -0000
Received: (qmail 5610 invoked by uid 1000); 16 Mar 2014 11:49:46 -0000
Date: Sun, 16 Mar 2014 12:49:46 +0100
From: Tanja Lange <tanja@hyperelliptic.org>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Message-ID: <20140316114946.GR5925@cph.win.tue.nl>
References: <CACsn0ck+8Rhxc1_4bp9za7n+Pe5Oan755CoxBs1ZnPFuruG6OQ@mail.gmail.com> <28EB012B-C9FE-4CF4-A039-E9DA5ECCD787@vpnc.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <28EB012B-C9FE-4CF4-A039-E9DA5ECCD787@vpnc.org>
User-Agent: Mutt/1.5.11
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/vE6ObK_w8Mk-n-kXse-2bGqI2Oc
Subject: Re: [Cfrg] RFC 6090 correctness
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 16 Mar 2014 11:50:00 -0000

> There are enough errata that it feels like the RFC should be updated to deal with them all.
> 
If there is an update I suggest to include Jacobi coordinates. They are
mentioned in 3.2 but not stated anywhere. This is the coordinate system
most implementations use (they often call it projective though). 

	Tanja


From nobody Tue Mar 18 16:47:02 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 003381A0463; Tue, 18 Mar 2014 16:47:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.566
X-Spam-Level: 
X-Spam-Status: No, score=-1.566 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, IP_NOT_FRIENDLY=0.334, 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 SbtRk40v8z-F; Tue, 18 Mar 2014 16:46:59 -0700 (PDT)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by ietfa.amsl.com (Postfix) with ESMTP id 055CD1A0434; Tue, 18 Mar 2014 16:46:58 -0700 (PDT)
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 s2INknHN032097; Tue, 18 Mar 2014 16:46:49 -0700
Received: from sc-owa04.marvell.com ([199.233.58.150]) by mx0b-0016f401.pphosted.com with ESMTP id 1jpnsdb3f9-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 18 Mar 2014 16:46:48 -0700
Received: from SC-vEXCH2.marvell.com ([10.93.76.134]) by SC-OWA04.marvell.com ([fe80::e56e:83a7:9eef:b5a1%16]) with mapi; Tue, 18 Mar 2014 16:46:48 -0700
From: Paul Lambert <paul@marvell.com>
To: "perpass@ietf.org" <perpass@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Date: Tue, 18 Mar 2014 16:46:47 -0700
Thread-Topic: AES-SIV
Thread-Index: Ac9DBFORf4LPmfdkT7W4Rq1pZD0wSQ==
Message-ID: <CF4E28F7.35FA1%paul@marvell.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.3.9.131030
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_CF4E28F735FA1paulmarvellcom_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87, 1.0.14,  0.0.0000 definitions=2014-03-18_08:2014-03-19,2014-03-18,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-1305240000 definitions=main-1403180139
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/lbXpyMkjokAZ_72Z5qC0g8B2hgo
Subject: [Cfrg] AES-SIV
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Mar 2014 23:47:01 -0000

--_000_CF4E28F735FA1paulmarvellcom_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable


There=92s been a debate going on in IEEE 802.11 on using AES-CCM with a fix=
ed nonce for a key wrap versus using AES-SIV:
https://mentor.ieee.org/802.11/documents?is_dcn=3DDCN%2C%20Title%2C%20Autho=
r%20or%20Affiliation&is_group=3D00ai

In the voting, I see a very strong reaction from Government representatives=
 to any inclusion of AES-SIV in this activity (IMHO).  It=92s an interestin=
g AEAD mode that has not been broadly adopted =96 largely because it=92s be=
en impossible to get NIST interested in adding it to their list of approved=
 algorithms(also IMO).  It=92s a chicken and egg problem, only algorithms t=
hat are being used get put on the list =85 it=92s hard to use something not=
 on the list in standards.

AES-SIV is clearly a better =91key wrap=92 algorithm, but there is no liter=
ature or recommendations that are adequately prescriptive.

This is an IETF list =85 so IEEE is not too relevant for activities here, b=
ut it might be an interesting exercise to compare the relative merits of SI=
V versus CCM modes of operation.

Also, online or off, I could really use a =91famous cryptographers=92 quote=
 that AES-CCM is less desirable for key wrap than AES-SIV.  The spec was al=
so using a fixed nonce for CCM since it was only sending two key exchange m=
essages (two fixed values), but this may get changed to a sequence number. =
 AES-SIV would be a safer choice and much easier to document and implement =
than a new sequence number.

Thanks,

Paul

PS =96 IEEE documents are openly available, mailing list is closed (only fo=
r voters), voting requires F2F attendance, group is meeting this week in Be=
ijing.





--_000_CF4E28F735FA1paulmarvellcom_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html><head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space;=
 -webkit-line-break: after-white-space; font-size: 14px; font-family: Calib=
ri, sans-serif; color: rgb(0, 0, 0);"><div><br></div><div>There=92s been a =
debate going on in IEEE 802.11 on using AES-CCM with a fixed nonce for a ke=
y wrap versus using AES-SIV:</div><div><a href=3D"https://mentor.ieee.org/8=
02.11/documents?is_dcn=3DDCN%2C%20Title%2C%20Author%20or%20Affiliation&amp;=
is_group=3D00ai">https://mentor.ieee.org/802.11/documents?is_dcn=3DDCN%2C%2=
0Title%2C%20Author%20or%20Affiliation&amp;is_group=3D00ai</a></div><div><br=
></div><div>In the voting, I see a very strong reaction from Government rep=
resentatives to any inclusion of AES-SIV in this activity (IMHO). &nbsp;It=
=92s an interesting AEAD mode that has not been broadly adopted =96 largely=
 because it=92s been impossible to get NIST interested in adding it to thei=
r list of approved algorithms(also IMO). &nbsp;It=92s a chicken and egg pro=
blem, only algorithms that are being used get put on the list =85 it=92s ha=
rd to use something not on the list in standards.</div><div><br></div><div>=
AES-SIV is clearly a better =91key wrap=92 algorithm, but there is no liter=
ature or recommendations that are adequately prescriptive.</div><div><br></=
div><div>This is an IETF list =85 so IEEE is not too relevant for activitie=
s here, but it might be an interesting exercise to compare the relative mer=
its of SIV versus CCM modes of operation.&nbsp;</div><div><br></div><div>Al=
so, online or off, I could really use a =91famous cryptographers=92 quote t=
hat AES-CCM is less desirable for key wrap than AES-SIV. &nbsp;The spec was=
 also using a fixed nonce for CCM since it was only sending two key exchang=
e messages (two fixed values), but this may get changed to a sequence numbe=
r. &nbsp;AES-SIV would be a safer choice and much easier to document and im=
plement than a new sequence number.</div><div><br></div><div>Thanks,</div><=
div><br></div><div>Paul</div><div><br></div><div>PS =96 IEEE documents are =
openly available, mailing list is closed (only for voters), voting requires=
 F2F attendance, group is meeting this week in Beijing.</div><div><br></div=
><div><br></div><div><br></div><div><br></div></body></html>

--_000_CF4E28F735FA1paulmarvellcom_--


From nobody Thu Mar 20 09:19:48 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 C95F61A08D0 for <cfrg@ietfa.amsl.com>; Thu, 20 Mar 2014 09:19:46 -0700 (PDT)
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 FhaR9q73Jkj5 for <cfrg@ietfa.amsl.com>; Thu, 20 Mar 2014 09:19:44 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id B30931A08C7 for <cfrg@irtf.org>; Thu, 20 Mar 2014 09:19:42 -0700 (PDT)
Received: from xct108cnc.rim.net ([10.65.161.208]) by mhs215cnc.rim.net with ESMTP/TLS/AES128-SHA; 20 Mar 2014 12:19:30 -0400
Received: from XCT104CNC.rim.net (10.65.161.204) by XCT108CNC.rim.net (10.65.161.208) with Microsoft SMTP Server (TLS) id 14.3.174.1; Thu, 20 Mar 2014 12:19:30 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT104CNC.rim.net ([::1]) with mapi id 14.03.0174.001; Thu, 20 Mar 2014 12:19:30 -0400
From: Dan Brown <dbrown@certicom.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: MAC tags with unauthenticated keys provide a service called what? [was [saag] better ** terminology]
Thread-Index: Ac9EVU7fq39mF3xQSOim9H0KPZeqoQ==
Date: Thu, 20 Mar 2014 16:19:29 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5C5BB71@XMB116CNC.rim.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
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/Hfh60PKoLqN4NAKEr-SG5CMZebQ
Subject: [Cfrg] MAC tags with unauthenticated keys provide a service called what? [was [saag] better ** terminology]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Mar 2014 16:19:47 -0000

Dear CFRG list,

Being a terminology question, this is more of a mole hill than a mountain. =
 Anyway, for those mountain climbers still interested in this stuff, here i=
s a little mountain on the matter.

Stephen Kent wrote a nice I-D on pervasive encryption, which is being discu=
ssed on the SAAG list.  One of the proposals concerns using encryption desp=
ite encryption keys being unauthenticated.   One of the issues discussed in=
 the I-D is terminology regarding this practice, both in terms of encryptio=
n and in terms of authentication.  The I-D already alludes to authenticatio=
n in case of the store-and-forward context, citing the "murky" distinction =
between integrity and authentication.  To me, the authentication terminolog=
y issue also seems in other contexts, including TLS and SSH.  So, I think t=
hat this raises a more general terminology issue: what to call symmetric me=
ssage authentication with unauthenticated shared keys?  I wouldn't want ter=
minology debates to distract from any proposed actions, but terminology can=
 sometimes help avoid mistakes.

Of course, this would also apply to the "authenticated" term in authenticat=
ed encryption modes (e.g. CCM, GCM, OCB), or not just to the A in MAC.

In case cryptographers have already satisfactorily resolved this minor term=
inology issue, I've brought the discussion to CFRG.

Most of the current terminology reduce the term authentication (e.g. the A =
in MAC) with something weaker when the MAC keys is unauthenticated.  So, it=
 is not at all a problem of understanding for experts, as far as I can tell=
.  Nevertheless, a consistent terminology might be helpful for expository r=
easons, as comparison between comparable protocols.  Some examples:

1. Client-anonymous TLS has a client applying a MAC.  So, the protocol does=
 the terminology downgrade, by using the term "anonymous".  I'm not sure if=
 TLS says anywhere the term "anonymous authentication".

2. The encryption schemes DHIES or ECIES approach: use a MAC, but then call=
 the result "integrated".

3. Shoup, in ISO 18033-2, introduced DEM, where encapsulation replaces auth=
entication, at an even lower level than TLS or ECIES: symmetric key.

4. In a reversal Shoup's terminology DEM, the essentially equivalent class =
of symmetric authenticated encryption, added back the term "authentication"=
 even though it is well-known (e.g. TLS) that shared symmetric keys are som=
etimes unauthenticated.

5. S/MIME's AuthenticatedData has not really downgraded the term, but maybe=
 idea the shared keys here are required to be authenticated?

6. TOFU and LoF refers to the practice of just trusting a key, but perhaps =
that seems to something deeper than just terminology.

7. Some key agreement and certificate schemes use the term implicit (key) a=
uthentication, but that refers to something quite different, that authentic=
ation is pending some proof-of-knowledge, and usually an identity is includ=
ed with an assurance that only the identified could possibly know the share=
d secret (but accepting the possibility that nobody (or at least just an au=
thority) knows the shared secret).

8. In the MAC layer, crypto MACs get called MIC.  This is lowest level prim=
itive of my examples, in which the term "authentication" is avoided. Unfort=
unately, this may fail to convey the idea that a MIC can provide authentica=
tion if the shared symmetric keys are authenticated.

9. MACs and authenticated encryption modes clearly assume authenticated key=
s, but also provide some value of the keys are unauthenticated.  One argume=
nt for using the term "authentication" is that is relative to whoever knows=
 the shared keys.  But that conflicts with the term "unauthenticated" when =
applies to the keys.

10. In public-key encryption, the relevant security properties (that someth=
ing a MAC built-in the scheme provides), are called non-malleability or cho=
sen-ciphertext security.

Ten or more may be too many approaches for nearly the same thing.  Of cours=
e, it's hard to break with precedents.

I wonder if the heart of the problem is the lack of separation between the =
tool and the task.  Encryption provides confidentiality (or some might say =
privacy).  Authentication provides authentication.  If signatures provide a=
uthentication, then it perhaps it is the just tool that need renaming.  We =
already have MAC tag, so maybe tag as a verb would do.  So, tagging provide=
s authentication, provide the tag keys are authenticated.  (Maybe mark inst=
ead of tag would be nice too, because of its similarity to MAC, but that re=
quires breaking new terminological ground.)

The term tagging does not completely resolve what service tagging with unau=
thenticated keys provides, but the separation of terms may still be enough =
to avoid a novice's potential mistake of thinking that a MAC always provide=
s authentication.  It does unable us to talk about anonymous tagging, unaut=
henticated tagging, and so on.  I'd suggest one of the existing terms for t=
his service provided, either integrity or non-malleability.

Best regards,

Dan

> -----Original Message-----
> From: saag [mailto:saag-bounces@ietf.org] On Behalf Of Stephen Kent
> Sent: Tuesday, March 18, 2014 6:05 PM
> To: saag
> Subject: [saag] better ** terminology
>
> I have just posted an I-D that does a few things:
>
>      - it proposes yet another term for the subject of our protracted ter=
minology
> discussion
>      - it defines what that term means, based on a STRINT workshop breako=
ut
> group
>      - it argues why "opportunistic encryption" is a poor terminology cho=
ice
>        for what we want to describe
>      - it examines some other aspects of terminology for key management
>        that yields authenticated, anonymous, or pseudonymous communicatio=
ns
>
> I extracted this text form a bigger document, and made changes based on t=
he
> debate that has been taking place on SAAG, replacing my preferred
> "opportunistic keying"
> with a term that seems tailor made to the problem we're addressing :-).
>
> https://datatracker.ietf.org/doc/draft-kent-pervasive-encryption/
>
> Steve
>
>
> _______________________________________________
> saag mailing list
> saag@ietf.org
> https://www.ietf.org/mailman/listinfo/saag


From nobody Fri Mar 21 10:20:15 2014
Return-Path: <ogud@ogud.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 9ABEE1A07A0 for <cfrg@ietfa.amsl.com>; Fri, 21 Mar 2014 10:20:13 -0700 (PDT)
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, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ypcU9-R6f1aT for <cfrg@ietfa.amsl.com>; Fri, 21 Mar 2014 10:20:11 -0700 (PDT)
Received: from smtp93.ord1c.emailsrvr.com (smtp93.ord1c.emailsrvr.com [108.166.43.93]) by ietfa.amsl.com (Postfix) with ESMTP id 2B90C1A098A for <Cfrg@irtf.org>; Fri, 21 Mar 2014 10:20:07 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp4.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id D12A0141AEB for <Cfrg@irtf.org>; Fri, 21 Mar 2014 13:19:57 -0400 (EDT)
X-Virus-Scanned: OK
Received: by smtp4.relay.ord1c.emailsrvr.com (Authenticated sender: ogud-AT-ogud.com) with ESMTPSA id A0F3C270024 for <Cfrg@irtf.org>; Fri, 21 Mar 2014 13:19:57 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Olafur Gudmundsson <ogud@ogud.com>
In-Reply-To: <52D928A1.6070201@cs.tcd.ie>
Date: Fri, 21 Mar 2014 13:19:56 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <3851D33B-3201-498C-84E1-AAD2FAA0418A@ogud.com>
References: <52D928A1.6070201@cs.tcd.ie>
To: Cfrg@irtf.org
X-Mailer: Apple Mail (2.1510)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/XXW564RQLpkeQ06PBOKJu4SkgUU
Subject: [Cfrg] Validation performance Re:  new curves vs. algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Mar 2014 17:20:13 -0000

While we are it, here is another criteria to keep in mind when =
designing/recommending new curves.=20
This relates to an old question I asked on CFRG in 2006 (wow that is a =
long time ago)=20
in regards to using ECC in DNSSEC=20
http://www.ietf.org/mail-archive/web/cfrg/current/msg01170.html

Since then DNSSEC has specified the use of 3 curves P256, P384[RFC6605] =
and ECC-GOST[RFC5933],=20
none of these seems to be in wide spread use, as support is rolling out.=20=


What we have learned in the mean time (from DNS perspective), is =
verification time is the most critical part
as the world wants happy eyeballs to work and any microseconds that =
verification takes add up.
Consider the case that most web pages have in excess of 50 links and =
many of those are unique
and can not be reused by resolvers/validators.=20

Fast signing is nice as that may enable on the fly signing off unique =
names.=20

As for criteria I would propose the following, as starting point for =
discussion=20
	verification time < verification of 2048 bit RSA signature
	signing time      <  signing with 1024  bit RSA key=20

As an example comparing here is comparison of=20
performance of RSA1024 and 2048 bit keys  vs NIST P256 and P384 on =
modern hardware, only relative performance should
be derived.=20

> OpenSSL> version=20
> OpenSSL 1.0.1 14 Mar 2012
> OpenSSL> speed rsa1024 rsa2048 ecdsap256 ecdsap384
> Doing 1024 bit private rsa's for 10s: 38935 1024 bit private RSA's in =
9.97s
> Doing 1024 bit public rsa's for 10s: 621683 1024 bit public RSA's in =
9.98s
> Doing 2048 bit private rsa's for 10s: 5792 2048 bit private RSA's in =
9.98s
> Doing 2048 bit public rsa's for 10s: 187826 2048 bit public RSA's in =
9.97s
> Doing 256 bit sign ecdsa's for 10s: 58772 256 bit ECDSA signs in 9.98s=20=

> Doing 256 bit verify ecdsa's for 10s: 23120 256 bit ECDSA verify in =
9.97s
> Doing 384 bit sign ecdsa's for 10s: 34564 384 bit ECDSA signs in 9.97s=20=

> Doing 384 bit verify ecdsa's for 10s: 7695 384 bit ECDSA verify in =
9.98s
> OpenSSL 1.0.1 14 Mar 2012
> built on: Tue Jun  4 07:26:06 UTC 2013
> options:bn(64,64) rc4(8x,int) des(idx,cisc,16,int) aes(partial) =
blowfish(idx)=20
> compiler: cc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT =
-DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -g -O2 =
-fstack-protector --param=3Dssp-buffer-size=3D4 -Wformat =
-Wformat-security -Werror=3Dformat-security -D_FORTIFY_SOURCE=3D2 =
-Wl,-Bsymbolic-functions -Wl,-z,relro -Wa,--noexecstack -Wall =
-DOPENSSL_NO_TLS1_2_CLIENT -DOPENSSL_MAX_TLS1_2_CIPHER_LENGTH=3D50 =
-DMD32_REG_T=3Dint -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT =
-DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM =
-DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM =
-DGHASH_ASM
>                   sign    verify    sign/s verify/s
> rsa 1024 bits 0.000256s 0.000016s   3905.2  62292.9
> rsa 2048 bits 0.001723s 0.000053s    580.4  18839.1
>                               sign    verify    sign/s verify/s
>  256 bit ecdsa (nistp256)   0.0002s   0.0004s   5889.0   2319.0
>  384 bit ecdsa (nistp384)   0.0003s   0.0013s   3466.8    771.0


As you can see these ECC curves verification performance SUCKS big time =
when we compare smallest sizes.=20
I know the RSA code is much more mature than the ECC code but the =
verification code needs to improve by 25x=20
For these curves Signing speeds meets the criteria.=20

	Olafur=20



From nobody Fri Mar 21 10:56:34 2014
Return-Path: <SChokhani@cygnacom.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 AD3AC1A09C8 for <cfrg@ietfa.amsl.com>; Fri, 21 Mar 2014 10:56:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.448
X-Spam-Level: 
X-Spam-Status: No, score=-2.448 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.547, 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 KarZbcyNT_dA for <cfrg@ietfa.amsl.com>; Fri, 21 Mar 2014 10:56:28 -0700 (PDT)
Received: from ipedge2.cygnacom.com (ipedge2.cygnacom.com [216.191.252.27]) by ietfa.amsl.com (Postfix) with ESMTP id 88DB71A08D1 for <Cfrg@irtf.org>; Fri, 21 Mar 2014 10:56:28 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.97,704,1389762000";  d="scan'208";a="563569"
Received: from unknown (HELO scygexch10.cygnacom.com) ([10.4.60.26]) by ipedge2.cygnacom.com with ESMTP; 21 Mar 2014 13:56:19 -0400
Received: from SCYGEXCH10.cygnacom.com ([::1]) by scygexch10.cygnacom.com ([::1]) with mapi id 14.02.0247.003; Fri, 21 Mar 2014 13:56:18 -0400
From: Santosh Chokhani <SChokhani@cygnacom.com>
To: Olafur Gudmundsson <ogud@ogud.com>, "Cfrg@irtf.org" <Cfrg@irtf.org>
Thread-Topic: [Cfrg] Validation performance Re:  new curves vs. algorithms
Thread-Index: AQHPRSnQ38HyMKfrn0CppXvFYXhAAZrr0nFQ
Date: Fri, 21 Mar 2014 17:56:16 +0000
Message-ID: <4262AC0DB9856847A2D00EF817E81139173896@scygexch10.cygnacom.com>
References: <52D928A1.6070201@cs.tcd.ie> <3851D33B-3201-498C-84E1-AAD2FAA0418A@ogud.com>
In-Reply-To: <3851D33B-3201-498C-84E1-AAD2FAA0418A@ogud.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.60.117.6]
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/rXMdtrHoI-CBIdm59XYvGo2mSpY
Subject: Re: [Cfrg] Validation performance Re:  new curves vs. algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Mar 2014 17:56:31 -0000

You cannot expect EC to match RSA for public key operation performance give=
n the typical 17 bit exponent for RSA public key.

The perform problem for EC and discrete logs in finite field gets worse for=
 pubic key operations when taking PKI into consideration because of a numbe=
r of certificates and their revocation status need to be checked (all use p=
ublic key operations) before trust in a public key is established.

-----Original Message-----
From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Olafur Gudmundsson
Sent: Friday, March 21, 2014 1:20 PM
To: Cfrg@irtf.org
Subject: [Cfrg] Validation performance Re: new curves vs. algorithms


While we are it, here is another criteria to keep in mind when designing/re=
commending new curves.=20
This relates to an old question I asked on CFRG in 2006 (wow that is a long=
 time ago) in regards to using ECC in DNSSEC http://www.ietf.org/mail-archi=
ve/web/cfrg/current/msg01170.html

Since then DNSSEC has specified the use of 3 curves P256, P384[RFC6605] and=
 ECC-GOST[RFC5933], none of these seems to be in wide spread use, as suppor=
t is rolling out.=20

What we have learned in the mean time (from DNS perspective), is verificati=
on time is the most critical part as the world wants happy eyeballs to work=
 and any microseconds that verification takes add up.
Consider the case that most web pages have in excess of 50 links and many o=
f those are unique and can not be reused by resolvers/validators.=20

Fast signing is nice as that may enable on the fly signing off unique names=
.=20

As for criteria I would propose the following, as starting point for discus=
sion=20
	verification time < verification of 2048 bit RSA signature
	signing time      <  signing with 1024  bit RSA key=20

As an example comparing here is comparison of performance of RSA1024 and 20=
48 bit keys  vs NIST P256 and P384 on modern hardware, only relative perfor=
mance should be derived.=20

> OpenSSL> version
> OpenSSL 1.0.1 14 Mar 2012
> OpenSSL> speed rsa1024 rsa2048 ecdsap256 ecdsap384
> Doing 1024 bit private rsa's for 10s: 38935 1024 bit private RSA's in=20
> 9.97s Doing 1024 bit public rsa's for 10s: 621683 1024 bit public=20
> RSA's in 9.98s Doing 2048 bit private rsa's for 10s: 5792 2048 bit=20
> private RSA's in 9.98s Doing 2048 bit public rsa's for 10s: 187826=20
> 2048 bit public RSA's in 9.97s Doing 256 bit sign ecdsa's for 10s:=20
> 58772 256 bit ECDSA signs in 9.98s Doing 256 bit verify ecdsa's for=20
> 10s: 23120 256 bit ECDSA verify in 9.97s Doing 384 bit sign ecdsa's=20
> for 10s: 34564 384 bit ECDSA signs in 9.97s Doing 384 bit verify=20
> ecdsa's for 10s: 7695 384 bit ECDSA verify in 9.98s OpenSSL 1.0.1 14=20
> Mar 2012 built on: Tue Jun  4 07:26:06 UTC 2013
> options:bn(64,64) rc4(8x,int) des(idx,cisc,16,int) aes(partial)=20
> blowfish(idx)
> compiler: cc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -D=
DSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -g -O2 -fstack-protector =
--param=3Dssp-buffer-size=3D4 -Wformat -Wformat-security -Werror=3Dformat-s=
ecurity -D_FORTIFY_SOURCE=3D2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wa,--n=
oexecstack -Wall -DOPENSSL_NO_TLS1_2_CLIENT -DOPENSSL_MAX_TLS1_2_CIPHER_LEN=
GTH=3D50 -DMD32_REG_T=3Dint -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPE=
NSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_AS=
M -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM
>                   sign    verify    sign/s verify/s
> rsa 1024 bits 0.000256s 0.000016s   3905.2  62292.9
> rsa 2048 bits 0.001723s 0.000053s    580.4  18839.1
>                               sign    verify    sign/s verify/s
>  256 bit ecdsa (nistp256)   0.0002s   0.0004s   5889.0   2319.0
>  384 bit ecdsa (nistp384)   0.0003s   0.0013s   3466.8    771.0


As you can see these ECC curves verification performance SUCKS big time whe=
n we compare smallest sizes.=20
I know the RSA code is much more mature than the ECC code but the verificat=
ion code needs to improve by 25x For these curves Signing speeds meets the =
criteria.=20

	Olafur=20


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


From nobody Fri Mar 21 11:15:59 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 594EC1A0A22 for <cfrg@ietfa.amsl.com>; Fri, 21 Mar 2014 11:15:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=unavailable
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aQuJGJQRM40e for <cfrg@ietfa.amsl.com>; Fri, 21 Mar 2014 11:15:49 -0700 (PDT)
Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe001.messaging.microsoft.com [216.32.181.181]) by ietfa.amsl.com (Postfix) with ESMTP id BCD4E1A07C1 for <cfrg@irtf.org>; Fri, 21 Mar 2014 11:15:49 -0700 (PDT)
Received: from mail3-ch1-R.bigfish.com (10.43.68.251) by CH1EHSOBE008.bigfish.com (10.43.70.58) with Microsoft SMTP Server id 14.1.225.22; Fri, 21 Mar 2014 18:15:40 +0000
Received: from mail3-ch1 (localhost [127.0.0.1])	by mail3-ch1-R.bigfish.com (Postfix) with ESMTP id E4D0420018C;	Fri, 21 Mar 2014 18:15:39 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:157.56.248.5; KIP:(null); UIP:(null); IPV:NLI; H:AMSPRD0310HT004.eurprd03.prod.outlook.com; RD:none; EFVD:NLI
X-SpamScore: -5
X-BigFish: PS-5(zf7Izbb2dI98dI542I1432Izz1f42h208ch1ee6h1de0h1d18h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah21bch1fc6hzz1de098h17326ah8275bh8275dh1de097h186068hz2fh109h2a8h839h944he5bhf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h18e1h1946h19b5h19ceh1ad9h1b0ah224fh1d0ch1d2eh1d3fh1dfeh1dffh1fe8h1ff5h209eh2216h22d0h2336h2438h2461h2487h24d7h2516h2545h255eh25cch25f6h2605h262fh268bh1155h)
Received-SPF: pass (mail3-ch1: domain of rhul.ac.uk designates 157.56.248.5 as permitted sender) client-ip=157.56.248.5; envelope-from=Kenny.Paterson@rhul.ac.uk; helo=AMSPRD0310HT004.eurprd03.prod.outlook.com ; .outlook.com ; 
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10019001)(6009001)(428001)(189002)(199002)(51704005)(2473001)(479174003)(24454002)(13464003)(54316002)(47736001)(56776001)(54356001)(76482001)(47976001)(50986001)(53806001)(86362001)(4396001)(92566001)(46102001)(93516002)(85852003)(49866001)(15975445006)(83506001)(81816001)(95416001)(81686001)(94316002)(94946001)(98676001)(19580395003)(80976001)(19580405001)(83322001)(97336001)(97186001)(93136001)(2656002)(87266001)(83072002)(87936001)(92726001)(56816005)(90146001)(85306002)(74366001)(63696002)(79102001)(77982001)(74482001)(36756003)(74876001)(81342001)(81542001)(15202345003)(76786001)(74662001)(74502001)(47446002)(66066001)(65816001)(80022001)(95666003)(20776003)(51856001)(59766001)(31966008); DIR:OUT; SFP:1102; SCL:1; SRVR:DBXPR03MB384; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:174E7A93.89E695C2.41FB9F8B.D1EADB5C.202DA; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
Received: from mail3-ch1 (localhost.localdomain [127.0.0.1]) by mail3-ch1 (MessageSwitch) id 1395425738193523_13936; Fri, 21 Mar 2014 18:15:38 +0000 (UTC)
Received: from CH1EHSMHS008.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.238])	by mail3-ch1.bigfish.com (Postfix) with ESMTP id 2A4461E00CA; Fri, 21 Mar 2014 18:15:38 +0000 (UTC)
Received: from AMSPRD0310HT004.eurprd03.prod.outlook.com (157.56.248.5) by CH1EHSMHS008.bigfish.com (10.43.70.8) with Microsoft SMTP Server (TLS) id 14.16.227.3; Fri, 21 Mar 2014 18:15:37 +0000
Received: from DBXPR03MB384.eurprd03.prod.outlook.com (10.141.10.20) by AMSPRD0310HT004.eurprd03.prod.outlook.com (10.255.40.39) with Microsoft SMTP Server (TLS) id 14.16.423.0; Fri, 21 Mar 2014 18:15:35 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by DBXPR03MB384.eurprd03.prod.outlook.com (10.141.10.20) with Microsoft SMTP Server (TLS) id 15.0.898.11; Fri, 21 Mar 2014 18:15:35 +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.00.0898.005; Fri, 21 Mar 2014 18:15:35 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>, "saag@ietf.org" <saag@ietf.org>
Thread-Topic: [saag] Fwd: W3C Web Crypto API - moving to Last Call
Thread-Index: AQHPRS696WWZ7Sz43EejtnMM+IzKnprr2LaA
Date: Fri, 21 Mar 2014 18:15:34 +0000
Message-ID: <CF522EF0.19491%kenny.paterson@rhul.ac.uk>
References: <239D7A53E5B17B4BB20795A7977613A40207DB59F189@CROEXCFWP04.gemalto.com> <9cb524b6-c260-484e-bf44-45d52e7319a1@email.android.com>
In-Reply-To: <9cb524b6-c260-484e-bf44-45d52e7319a1@email.android.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.3.9.131030
x-originating-ip: [80.42.226.146]
x-forefront-prvs: 0157DEB61B
Content-Type: text/plain; charset="us-ascii"
Content-ID: <30D4493425C9C64E86C44CD6F77DB678@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/v5FxGEeXcb3WaR9N_cVBv2Kh1WA
Cc: "Virginie.GALINDO@gemalto.com" <Virginie.GALINDO@gemalto.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] [saag] Fwd: W3C Web Crypto API - moving to Last Call
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Mar 2014 18:15:53 -0000

Hi Stephen,

[Cross-posting to CFRG, since it seems relevant]

On 21/03/2014 17:54, "Stephen Farrell" <stephen.farrell@cs.tcd.ie> wrote:

>-------- Original Message --------
>From: GALINDO Virginie <Virginie.GALINDO@gemalto.com>
>Sent: 21 March 2014 17:10:45 GMT+00:00
>To: Jim Schaad <ietf@augustcellars.com>, "odonoghue@isoc.org"
><odonoghue@isoc.org>, "stephen.farrell@cs.tcd.ie"
><stephen.farrell@cs.tcd.ie>, "Kathleen.Moriarty.ietf@gmail.com"
><Kathleen.Moriarty.ietf@gmail.com>
>Cc: Harry Halpin <hhalpin@w3.org>, "wseltzer@w3.org" <wseltzer@w3.org>
>Subject: W3C Web Crypto API - moving to Last Call
>
>Hi IETF and JOSE team,
>
>
>
>The Web Cryptography Working Group has decided to go to Last Call for the
>Web Cryptography API next week. We'd like to make sure your group has
>enough time to review the specification. Is four weeks enough time? If I
>don't hear back from you, I am going to assume it is enough time. Our
>latest draft is here:
>
>
>
>https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html
>
>
>
>Regards,
>
>Virginie Galindo
>
>Gemalto
>
>chair of W3C web crypto wg
>


Tibor Jager, Juarj Somorovsky and I sent this team feedback some time ago
about the undesirability of standardising already-broken algorithms and
modes (e.g. PKCS#1v1.5 encryption, CBC-mode encryption with no integrity
protection).=20

This was in response to a request for feedback from CFRG. We gave them
chapter and verse (and citations) about why this is generally a BAD IDEA:

http://lists.w3.org/Archives/Public/public-webcrypto/2012Sep/0186.html

The broken algorithms and modes are still in the Web Crypto document.
Moreover, there are no relevant warnings about these broken algorithms and
modes in the "security considerations" section of the current Web Crypto
draft.

Needless to say, I'm not minded to provide any more free advice to this
group.

Cheers,

Kenny=20




From nobody Fri Mar 21 11:29:58 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 D8BA51A0A01 for <cfrg@ietfa.amsl.com>; Fri, 21 Mar 2014 11:29:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.557
X-Spam-Level: *
X-Spam-Status: No, score=1.557 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_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 0zHx1sK7S4Uk for <cfrg@ietfa.amsl.com>; Fri, 21 Mar 2014 11:29:53 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-157-v301.PUBLIC.monkeybrains.net [199.116.74.157]) by ietfa.amsl.com (Postfix) with ESMTP id 5ADC41A09FD for <Cfrg@irtf.org>; Fri, 21 Mar 2014 11:29:53 -0700 (PDT)
Received: from [10.184.148.249] (w035.z205158021.lax-ca.dsl.cnc.net [205.158.21.35]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 22C233AA04; Fri, 21 Mar 2014 11:28:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1395426489; bh=gtneOa3faRZ21IjIVgR+0UEKYdd0COatlmVxNp1ouLU=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=WBdhn3x1R0qaNC8kQuoK3QwEQuaf5asi/74qRj0NXz7O1yvtW4swOp12daMMmO/AD Tuqs3GE07+ZKrR7eNjBPxYsm3nrEAOepMvXxepW1hk2cbXi14tkE/FXebgikgjXWGZ gboUjf3V9bQODvK3diheJtcxdAPuq0HgsttwI6rU=
Content-Type: multipart/alternative; boundary="Apple-Mail=_298F27E5-200B-4289-B28C-BF2AF7CFF335"
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <3851D33B-3201-498C-84E1-AAD2FAA0418A@ogud.com>
Date: Fri, 21 Mar 2014 11:29:41 -0700
Message-Id: <29B8E8B0-AB73-4705-B623-20EDD6B63FA6@shiftleft.org>
References: <52D928A1.6070201@cs.tcd.ie> <3851D33B-3201-498C-84E1-AAD2FAA0418A@ogud.com>
To: Olafur Gudmundsson <ogud@ogud.com>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ladRX-HSBj6FYRY4kSpjg9e-aRo
Cc: Cfrg@irtf.org
Subject: Re: [Cfrg] Validation performance Re:  new curves vs. algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Mar 2014 18:29:56 -0000

--Apple-Mail=_298F27E5-200B-4289-B28C-BF2AF7CFF335
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Hi Olafur,

Can you give some insight on a couple aspects of DNSSEC validation:

* How frequently will implementations be verifying signatures with the =
same small set of keys?
* How frequently will implementations be verifying multiple signatures =
simultaneously?

For example, Ed25519 can batch verify, and many EC signatures schemes =
have this ability.
This improves performance (double or more) when verifying more than one =
signature at a time.

As for verification with precomputation, consider the following =
benchmarks from my laptop.
RSA OpenSSL 1.0.1f:
                  sign    verify    sign/s verify/s
rsa 1024 bits 0.000155s 0.000012s   6443.4  84645.8
rsa 2048 bits 0.001172s 0.000036s    853.1  27954.7

252-bit =93Montgomery Station=94 curve, measurements in milliseconds and =
cycles:
Keygen                        0.013ms,   40812
Sign                          0.014ms,   45763
Verify                 PASS   0.047ms,  155313
Precompute             PASS   0.061ms,  201570
Verify pre             PASS   0.016ms,   53747
Compute shared secret  PASS   0.042ms,  136256

So verification takes 47=B5s, vs 36=B5s with RSA-2048.  But if a key is =
used frequently, then a
61=B5s precomputation using 7.5kiB of RAM will drop the verification =
time to 16=B5s, which is
indeed faster than RSA.  Additionally, with a curve like this, =
signatures are 64 bytes instead
of 256 bytes.  If your client is verifying and has a 24 megabit link, =
then this difference is
worth 64 microseconds by itself, which is more time than either =
algorithm takes to verify.

This is also not the fastest curve in the world, it=92s just a project I =
had lying around.  GLS/GLV-
flavored curves are faster, at least if you don=92t have precomputation. =
 The math for this curve,
like with most curves, supports batch verification, but I haven=92t =
coded it up (I think only
Ed25519 actually implements this).

So in sum, I hope that any new 256-ish-bit curve will perform comparably =
to RSA-2048 for
verification, though the exact details will depend on the implementation =
and on whether keys
are reused.  ECC will also have smaller signatures and faster (and =
possibly precomputable)
signing.

Cheers,
=97 Mike


On Mar 21, 2014, at 10:19 AM, Olafur Gudmundsson <ogud@ogud.com> wrote:

>=20
> While we are it, here is another criteria to keep in mind when =
designing/recommending new curves.=20
> This relates to an old question I asked on CFRG in 2006 (wow that is a =
long time ago)=20
> in regards to using ECC in DNSSEC=20
> http://www.ietf.org/mail-archive/web/cfrg/current/msg01170.html
>=20
> Since then DNSSEC has specified the use of 3 curves P256, =
P384[RFC6605] and ECC-GOST[RFC5933],=20
> none of these seems to be in wide spread use, as support is rolling =
out.=20
>=20
> What we have learned in the mean time (from DNS perspective), is =
verification time is the most critical part
> as the world wants happy eyeballs to work and any microseconds that =
verification takes add up.
> Consider the case that most web pages have in excess of 50 links and =
many of those are unique
> and can not be reused by resolvers/validators.=20
>=20
> Fast signing is nice as that may enable on the fly signing off unique =
names.=20
>=20
> As for criteria I would propose the following, as starting point for =
discussion=20
> 	verification time < verification of 2048 bit RSA signature
> 	signing time      <  signing with 1024  bit RSA key=20
>=20
> As an example comparing here is comparison of=20
> performance of RSA1024 and 2048 bit keys  vs NIST P256 and P384 on =
modern hardware, only relative performance should
> be derived.=20
>=20
>> OpenSSL> version=20
>> OpenSSL 1.0.1 14 Mar 2012
>> OpenSSL> speed rsa1024 rsa2048 ecdsap256 ecdsap384
>> Doing 1024 bit private rsa's for 10s: 38935 1024 bit private RSA's in =
9.97s
>> Doing 1024 bit public rsa's for 10s: 621683 1024 bit public RSA's in =
9.98s
>> Doing 2048 bit private rsa's for 10s: 5792 2048 bit private RSA's in =
9.98s
>> Doing 2048 bit public rsa's for 10s: 187826 2048 bit public RSA's in =
9.97s
>> Doing 256 bit sign ecdsa's for 10s: 58772 256 bit ECDSA signs in =
9.98s=20
>> Doing 256 bit verify ecdsa's for 10s: 23120 256 bit ECDSA verify in =
9.97s
>> Doing 384 bit sign ecdsa's for 10s: 34564 384 bit ECDSA signs in =
9.97s=20
>> Doing 384 bit verify ecdsa's for 10s: 7695 384 bit ECDSA verify in =
9.98s
>> OpenSSL 1.0.1 14 Mar 2012
>> built on: Tue Jun  4 07:26:06 UTC 2013
>> options:bn(64,64) rc4(8x,int) des(idx,cisc,16,int) aes(partial) =
blowfish(idx)=20
>> compiler: cc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS =
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -g -O2 =
-fstack-protector --param=3Dssp-buffer-size=3D4 -Wformat =
-Wformat-security -Werror=3Dformat-security -D_FORTIFY_SOURCE=3D2 =
-Wl,-Bsymbolic-functions -Wl,-z,relro -Wa,--noexecstack -Wall =
-DOPENSSL_NO_TLS1_2_CLIENT -DOPENSSL_MAX_TLS1_2_CIPHER_LENGTH=3D50 =
-DMD32_REG_T=3Dint -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT =
-DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM =
-DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM =
-DGHASH_ASM
>>                  sign    verify    sign/s verify/s
>> rsa 1024 bits 0.000256s 0.000016s   3905.2  62292.9
>> rsa 2048 bits 0.001723s 0.000053s    580.4  18839.1
>>                              sign    verify    sign/s verify/s
>> 256 bit ecdsa (nistp256)   0.0002s   0.0004s   5889.0   2319.0
>> 384 bit ecdsa (nistp384)   0.0003s   0.0013s   3466.8    771.0
>=20
>=20
> As you can see these ECC curves verification performance SUCKS big =
time when we compare smallest sizes.=20
> I know the RSA code is much more mature than the ECC code but the =
verification code needs to improve by 25x=20
> For these curves Signing speeds meets the criteria.=20
>=20
> 	Olafur=20
>=20
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


--Apple-Mail=_298F27E5-200B-4289-B28C-BF2AF7CFF335
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;"><div>Hi Olafur,</div><div><br></div><div>Can you =
give some insight on a couple aspects of DNSSEC =
validation:</div><div><br></div><div>* How frequently will =
implementations be verifying signatures with the same small set of =
keys?</div><div>* How frequently will implementations be verifying =
multiple signatures simultaneously?</div><div><br></div><div>For =
example, Ed25519 can batch verify, and many EC signatures schemes have =
this ability.</div><div>This improves performance (double or more) when =
verifying more than one signature at a time.</div><div><br></div><div>As =
for verification with precomputation, consider the following benchmarks =
from my laptop.</div><div>RSA OpenSSL 1.0.1f:</div><div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);">&nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;sign&nbsp; &nbsp; =
verify&nbsp; &nbsp; sign/s verify/s</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);"><div style=3D"margin: 0px;">rsa 1024 =
bits 0.000155s 0.000012s &nbsp; 6443.4&nbsp; 84645.8</div></div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);">rsa 2048 bits =
0.001172s 0.000036s&nbsp; &nbsp; 853.1&nbsp; =
27954.7</div></div><div><br></div><div>252-bit =93Montgomery Station=94 =
curve, measurements in milliseconds and cycles:</div><div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);">Keygen&nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
0.013ms, &nbsp; 40812</div><div style=3D"margin: 0px; font-size: 10px; =
font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, =
0, 0);">Sign&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.014ms, &nbsp; 45763</div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);">Verify &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PASS &nbsp; =
0.047ms,&nbsp; 155313</div><div style=3D"margin: 0px; font-size: 10px; =
font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, =
0, 0);">Precompute &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PASS &nbsp; =
0.061ms,&nbsp; 201570</div><div style=3D"margin: 0px; font-size: 10px; =
font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, =
0, 0);">Verify pre &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PASS &nbsp; =
0.016ms, &nbsp; 53747</div><div style=3D"margin: 0px; font-size: 10px; =
font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, =
0, 0);">Compute shared secret&nbsp; PASS &nbsp; 0.042ms,&nbsp; =
136256</div></div><div><br></div><div>So verification takes 47=B5s, vs =
36=B5s with RSA-2048. &nbsp;But if a key is used frequently, then =
a</div><div>61=B5s precomputation using 7.5kiB of RAM will drop the =
verification time to 16=B5s, which is</div><div>indeed faster than RSA. =
&nbsp;Additionally, with a curve like this, signatures are 64 bytes =
instead</div><div>of 256 bytes. &nbsp;If your client is verifying and =
has a 24 megabit link, then this difference is</div><div>worth 64 =
microseconds by itself, which is more time than either algorithm takes =
to verify.</div><div><br></div><div>This is also not the fastest curve =
in the world, it=92s just a project I had lying around. =
&nbsp;GLS/GLV-</div><div>flavored curves are faster, at least if you =
don=92t have precomputation. &nbsp;The math for this =
curve,</div><div>like with most curves, supports batch verification, but =
I haven=92t coded it up (I think only</div><div>Ed25519 actually =
implements this).</div><div><br></div><div>So in sum, I hope that any =
new 256-ish-bit curve will perform comparably to RSA-2048 =
for</div><div>verification, though the exact details will depend on the =
implementation and on whether keys</div><div>are reused. &nbsp;ECC will =
also have smaller signatures and faster (and possibly =
precomputable)</div><div>signing.</div><div><br></div><div>Cheers,</div><d=
iv>=97 Mike</div><div><br></div><br><div><div>On Mar 21, 2014, at 10:19 =
AM, Olafur Gudmundsson &lt;<a =
href=3D"mailto:ogud@ogud.com">ogud@ogud.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><br>While =
we are it, here is another criteria to keep in mind when =
designing/recommending new curves. <br>This relates to an old question I =
asked on CFRG in 2006 (wow that is a long time ago) <br>in regards to =
using ECC in DNSSEC <br><a =
href=3D"http://www.ietf.org/mail-archive/web/cfrg/current/msg01170.html">h=
ttp://www.ietf.org/mail-archive/web/cfrg/current/msg01170.html</a><br><br>=
Since then DNSSEC has specified the use of 3 curves P256, P384[RFC6605] =
and ECC-GOST[RFC5933], <br>none of these seems to be in wide spread use, =
as support is rolling out. <br><br>What we have learned in the mean time =
(from DNS perspective), is verification time is the most critical =
part<br>as the world wants happy eyeballs to work and any microseconds =
that verification takes add up.<br>Consider the case that most web pages =
have in excess of 50 links and many of those are unique<br>and can not =
be reused by resolvers/validators. <br><br>Fast signing is nice as that =
may enable on the fly signing off unique names. <br><br>As for criteria =
I would propose the following, as starting point for discussion =
<br><span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>verification time &lt; verification of 2048 bit RSA =
signature<br><span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>signing time &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt; &nbsp;signing =
with 1024 &nbsp;bit RSA key <br><br>As an example comparing here is =
comparison of <br>performance of RSA1024 and 2048 bit keys &nbsp;vs NIST =
P256 and P384 on modern hardware, only relative performance should<br>be =
derived. <br><br><blockquote type=3D"cite">OpenSSL&gt; version =
<br>OpenSSL 1.0.1 14 Mar 2012<br>OpenSSL&gt; speed rsa1024 rsa2048 =
ecdsap256 ecdsap384<br>Doing 1024 bit private rsa's for 10s: 38935 1024 =
bit private RSA's in 9.97s<br>Doing 1024 bit public rsa's for 10s: =
621683 1024 bit public RSA's in 9.98s<br>Doing 2048 bit private rsa's =
for 10s: 5792 2048 bit private RSA's in 9.98s<br>Doing 2048 bit public =
rsa's for 10s: 187826 2048 bit public RSA's in 9.97s<br>Doing 256 bit =
sign ecdsa's for 10s: 58772 256 bit ECDSA signs in 9.98s <br>Doing 256 =
bit verify ecdsa's for 10s: 23120 256 bit ECDSA verify in 9.97s<br>Doing =
384 bit sign ecdsa's for 10s: 34564 384 bit ECDSA signs in 9.97s =
<br>Doing 384 bit verify ecdsa's for 10s: 7695 384 bit ECDSA verify in =
9.98s<br>OpenSSL 1.0.1 14 Mar 2012<br>built on: Tue Jun &nbsp;4 07:26:06 =
UTC 2013<br>options:bn(64,64) rc4(8x,int) des(idx,cisc,16,int) =
aes(partial) blowfish(idx) <br>compiler: cc -fPIC -DOPENSSL_PIC -DZLIB =
-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 =
-DL_ENDIAN -DTERMIO -g -O2 -fstack-protector --param=3Dssp-buffer-size=3D4=
 -Wformat -Wformat-security -Werror=3Dformat-security =
-D_FORTIFY_SOURCE=3D2 -Wl,-Bsymbolic-functions -Wl,-z,relro =
-Wa,--noexecstack -Wall -DOPENSSL_NO_TLS1_2_CLIENT =
-DOPENSSL_MAX_TLS1_2_CIPHER_LENGTH=3D50 -DMD32_REG_T=3Dint =
-DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 =
-DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM =
-DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;sign &nbsp;&nbsp;&nbsp;verify =
&nbsp;&nbsp;&nbsp;sign/s verify/s<br>rsa 1024 bits 0.000256s 0.000016s =
&nbsp;&nbsp;3905.2 &nbsp;62292.9<br>rsa 2048 bits 0.001723s 0.000053s =
&nbsp;&nbsp;&nbsp;580.4 &nbsp;18839.1<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;sign &nbsp;&nbsp;&nbsp;verify =
&nbsp;&nbsp;&nbsp;sign/s verify/s<br> 256 bit ecdsa (nistp256) =
&nbsp;&nbsp;0.0002s &nbsp;&nbsp;0.0004s &nbsp;&nbsp;5889.0 =
&nbsp;&nbsp;2319.0<br> 384 bit ecdsa (nistp384) &nbsp;&nbsp;0.0003s =
&nbsp;&nbsp;0.0013s &nbsp;&nbsp;3466.8 =
&nbsp;&nbsp;&nbsp;771.0<br></blockquote><br><br>As you can see these ECC =
curves verification performance SUCKS big time when we compare smallest =
sizes. <br>I know the RSA code is much more mature than the ECC code but =
the verification code needs to improve by 25x <br>For these curves =
Signing speeds meets the criteria. <br><br><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>Olafur =
<br><br><br>_______________________________________________<br>Cfrg =
mailing =
list<br>Cfrg@irtf.org<br>http://www.irtf.org/mailman/listinfo/cfrg<br></bl=
ockquote></div><br></body></html>=

--Apple-Mail=_298F27E5-200B-4289-B28C-BF2AF7CFF335--


From nobody Fri Mar 21 11:30:54 2014
Return-Path: <ogud@ogud.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 B901B1A0A0A for <cfrg@ietfa.amsl.com>; Fri, 21 Mar 2014 11:30:52 -0700 (PDT)
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, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2f8mPRciJlYD for <cfrg@ietfa.amsl.com>; Fri, 21 Mar 2014 11:30:50 -0700 (PDT)
Received: from smtp125.ord1c.emailsrvr.com (smtp125.ord1c.emailsrvr.com [108.166.43.125]) by ietfa.amsl.com (Postfix) with ESMTP id 2DA091A03DD for <Cfrg@irtf.org>; Fri, 21 Mar 2014 11:30:50 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp8.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 9D7EE1A0B94; Fri, 21 Mar 2014 14:30:40 -0400 (EDT)
X-Virus-Scanned: OK
Received: by smtp8.relay.ord1c.emailsrvr.com (Authenticated sender: ogud-AT-ogud.com) with ESMTPSA id 0BC8A1A021D;  Fri, 21 Mar 2014 14:30:37 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Olafur Gudmundsson <ogud@ogud.com>
In-Reply-To: <4262AC0DB9856847A2D00EF817E81139173896@scygexch10.cygnacom.com>
Date: Fri, 21 Mar 2014 14:30:37 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <685032C1-3A72-457C-9BEF-D357FFAC67C3@ogud.com>
References: <52D928A1.6070201@cs.tcd.ie> <3851D33B-3201-498C-84E1-AAD2FAA0418A@ogud.com> <4262AC0DB9856847A2D00EF817E81139173896@scygexch10.cygnacom.com>
To: Santosh Chokhani <SChokhani@cygnacom.com>
X-Mailer: Apple Mail (2.1510)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/uqUp549Hc_84Of_hs63xIL67uZ8
Cc: "Cfrg@irtf.org" <Cfrg@irtf.org>
Subject: Re: [Cfrg] Validation performance Re:  new curves vs. algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Mar 2014 18:30:53 -0000

On Mar 21, 2014, at 1:56 PM, Santosh Chokhani <SChokhani@cygnacom.com> =
wrote:

> You cannot expect EC to match RSA for public key operation performance =
given the typical 17 bit exponent for RSA public key.
>=20
> The perform problem for EC and discrete logs in finite field gets =
worse for pubic key operations when taking PKI into consideration =
because of a number of certificates and their revocation status need to =
be checked (all use public key operations) before trust in a public key =
is established.
>=20
Santosh,=20

FWIW, all I care about is raw performance of core operations, as that is =
what is used by the protocols i work on and=20
that is what can be used for comparisons when selecting algorithms.=20
Different protocols/systems add different overheads and in many cases =
these overhead are algorithm independent.=20

	Olafur

> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Olafur =
Gudmundsson
> Sent: Friday, March 21, 2014 1:20 PM
> To: Cfrg@irtf.org
> Subject: [Cfrg] Validation performance Re: new curves vs. algorithms
>=20
>=20
> While we are it, here is another criteria to keep in mind when =
designing/recommending new curves.=20
> This relates to an old question I asked on CFRG in 2006 (wow that is a =
long time ago) in regards to using ECC in DNSSEC =
http://www.ietf.org/mail-archive/web/cfrg/current/msg01170.html
>=20
> Since then DNSSEC has specified the use of 3 curves P256, =
P384[RFC6605] and ECC-GOST[RFC5933], none of these seems to be in wide =
spread use, as support is rolling out.=20
>=20
> What we have learned in the mean time (from DNS perspective), is =
verification time is the most critical part as the world wants happy =
eyeballs to work and any microseconds that verification takes add up.
> Consider the case that most web pages have in excess of 50 links and =
many of those are unique and can not be reused by resolvers/validators.=20=

>=20
> Fast signing is nice as that may enable on the fly signing off unique =
names.=20
>=20
> As for criteria I would propose the following, as starting point for =
discussion=20
> 	verification time < verification of 2048 bit RSA signature
> 	signing time      <  signing with 1024  bit RSA key=20
>=20
> As an example comparing here is comparison of performance of RSA1024 =
and 2048 bit keys  vs NIST P256 and P384 on modern hardware, only =
relative performance should be derived.=20
>=20
>> OpenSSL> version
>> OpenSSL 1.0.1 14 Mar 2012
>> OpenSSL> speed rsa1024 rsa2048 ecdsap256 ecdsap384
>> Doing 1024 bit private rsa's for 10s: 38935 1024 bit private RSA's in=20=

>> 9.97s Doing 1024 bit public rsa's for 10s: 621683 1024 bit public=20
>> RSA's in 9.98s Doing 2048 bit private rsa's for 10s: 5792 2048 bit=20
>> private RSA's in 9.98s Doing 2048 bit public rsa's for 10s: 187826=20
>> 2048 bit public RSA's in 9.97s Doing 256 bit sign ecdsa's for 10s:=20
>> 58772 256 bit ECDSA signs in 9.98s Doing 256 bit verify ecdsa's for=20=

>> 10s: 23120 256 bit ECDSA verify in 9.97s Doing 384 bit sign ecdsa's=20=

>> for 10s: 34564 384 bit ECDSA signs in 9.97s Doing 384 bit verify=20
>> ecdsa's for 10s: 7695 384 bit ECDSA verify in 9.98s OpenSSL 1.0.1 14=20=

>> Mar 2012 built on: Tue Jun  4 07:26:06 UTC 2013
>> options:bn(64,64) rc4(8x,int) des(idx,cisc,16,int) aes(partial)=20
>> blowfish(idx)
>> compiler: cc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS =
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -g -O2 =
-fstack-protector --param=3Dssp-buffer-size=3D4 -Wformat =
-Wformat-security -Werror=3Dformat-security -D_FORTIFY_SOURCE=3D2 =
-Wl,-Bsymbolic-functions -Wl,-z,relro -Wa,--noexecstack -Wall =
-DOPENSSL_NO_TLS1_2_CLIENT -DOPENSSL_MAX_TLS1_2_CIPHER_LENGTH=3D50 =
-DMD32_REG_T=3Dint -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT =
-DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM =
-DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM =
-DGHASH_ASM
>>                  sign    verify    sign/s verify/s
>> rsa 1024 bits 0.000256s 0.000016s   3905.2  62292.9
>> rsa 2048 bits 0.001723s 0.000053s    580.4  18839.1
>>                              sign    verify    sign/s verify/s
>> 256 bit ecdsa (nistp256)   0.0002s   0.0004s   5889.0   2319.0
>> 384 bit ecdsa (nistp384)   0.0003s   0.0013s   3466.8    771.0
>=20
>=20
> As you can see these ECC curves verification performance SUCKS big =
time when we compare smallest sizes.=20
> I know the RSA code is much more mature than the ECC code but the =
verification code needs to improve by 25x For these curves Signing =
speeds meets the criteria.=20
>=20
> 	Olafur=20
>=20
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Fri Mar 21 11:56:05 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 82D481A09F5 for <cfrg@ietfa.amsl.com>; Fri, 21 Mar 2014 11:56:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.447
X-Spam-Level: 
X-Spam-Status: No, score=-2.447 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.547] autolearn=unavailable
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AOaS1nwmjRQp for <cfrg@ietfa.amsl.com>; Fri, 21 Mar 2014 11:56:02 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (prod-mail-xrelay07.akamai.com [72.246.2.115]) by ietfa.amsl.com (Postfix) with ESMTP id 3930C1A091B for <cfrg@irtf.org>; Fri, 21 Mar 2014 11:56:02 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 89781473F4; Fri, 21 Mar 2014 18:55:52 +0000 (GMT)
Received: from prod-mail-relay07.akamai.com (unknown [172.17.121.112]) by prod-mail-xrelay07.akamai.com (Postfix) with ESMTP id 1415A47492; Fri, 21 Mar 2014 18:55:52 +0000 (GMT)
Received: from usma1ex-cashub.kendall.corp.akamai.com (usma1ex-cashub6.kendall.corp.akamai.com [172.27.105.22]) by prod-mail-relay07.akamai.com (Postfix) with ESMTP id CDE9D80040; Fri, 21 Mar 2014 18:55:51 +0000 (GMT)
Received: from USMBX1.msg.corp.akamai.com ([172.27.107.26]) by USMA1EX-CASHUB6.kendall.corp.akamai.com ([172.27.105.22]) with mapi; Fri, 21 Mar 2014 14:55:51 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>, Stephen Farrell <stephen.farrell@cs.tcd.ie>, "saag@ietf.org" <saag@ietf.org>
Date: Fri, 21 Mar 2014 14:55:50 -0400
Thread-Topic: [saag] Fwd: W3C Web Crypto API - moving to Last Call
Thread-Index: AQHPRS696WWZ7Sz43EejtnMM+IzKnprr2LaAgAAKdzA=
Message-ID: <2A0EFB9C05D0164E98F19BB0AF3708C711FCF24F04@USMBX1.msg.corp.akamai.com>
References: <239D7A53E5B17B4BB20795A7977613A40207DB59F189@CROEXCFWP04.gemalto.com> <9cb524b6-c260-484e-bf44-45d52e7319a1@email.android.com> <CF522EF0.19491%kenny.paterson@rhul.ac.uk>
In-Reply-To: <CF522EF0.19491%kenny.paterson@rhul.ac.uk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/kKn-9tBsXXACiBhkkHG1rHxk2Ss
Cc: "Virginie.GALINDO@gemalto.com" <Virginie.GALINDO@gemalto.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] [saag] Fwd: W3C Web Crypto API - moving to Last Call
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Mar 2014 18:56:04 -0000

Their response seems to have been "we're designing an API for folks who und=
erstand the issues."
(e.g., http://lists.w3.org/Archives/Public/public-webcrypto/2012Sep/0189.ht=
ml)

That seems na=EFve to me.

-- =20
Principal Security Engineer
Akamai Technology
Cambridge, MA


From nobody Fri Mar 21 12:01:16 2014
Return-Path: <ogud@ogud.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 2C7951A0A23 for <cfrg@ietfa.amsl.com>; Fri, 21 Mar 2014 12:01:15 -0700 (PDT)
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, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zhlx9Yt2rdim for <cfrg@ietfa.amsl.com>; Fri, 21 Mar 2014 12:01:10 -0700 (PDT)
Received: from smtp69.ord1c.emailsrvr.com (smtp69.ord1c.emailsrvr.com [108.166.43.69]) by ietfa.amsl.com (Postfix) with ESMTP id 408031A0A1A for <Cfrg@irtf.org>; Fri, 21 Mar 2014 12:01:04 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp1.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id B090B148EBB; Fri, 21 Mar 2014 15:00:54 -0400 (EDT)
X-Virus-Scanned: OK
Received: by smtp1.relay.ord1c.emailsrvr.com (Authenticated sender: ogud-AT-ogud.com) with ESMTPSA id E295B148874;  Fri, 21 Mar 2014 15:00:53 -0400 (EDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_46E92520-5271-46BF-9695-39D60B1C9B1E"
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Olafur Gudmundsson <ogud@ogud.com>
In-Reply-To: <29B8E8B0-AB73-4705-B623-20EDD6B63FA6@shiftleft.org>
Date: Fri, 21 Mar 2014 15:00:53 -0400
Message-Id: <6B774F8B-A3FF-4DAF-BA9E-FB313E8E6D62@ogud.com>
References: <52D928A1.6070201@cs.tcd.ie> <3851D33B-3201-498C-84E1-AAD2FAA0418A@ogud.com> <29B8E8B0-AB73-4705-B623-20EDD6B63FA6@shiftleft.org>
To: Michael Hamburg <mike@shiftleft.org>
X-Mailer: Apple Mail (2.1510)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/VmqkKUGpwBZ83ogdwcLgfXeMWD0
Cc: Cfrg@irtf.org
Subject: Re: [Cfrg] Validation performance Re:  new curves vs. algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Mar 2014 19:01:15 -0000

--Apple-Mail=_46E92520-5271-46BF-9695-39D60B1C9B1E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


On Mar 21, 2014, at 2:29 PM, Michael Hamburg <mike@shiftleft.org> wrote:

> Hi Olafur,
>=20
> Can you give some insight on a couple aspects of DNSSEC validation:
>=20
> * How frequently will implementations be verifying signatures with the =
same small set of keys?

Here is a common example you look up =
"_443._tcp.serverx.lax.content.example.  TLSA"=20
each dot here is a zone boundary=20
thus to validate the TLSA record you need to have following work done by =
your validator=20
1.	.example DS  signed by root key ZSK=20
2.	.example DNSKEY signed by .example KSK
3.	.content.example DS  signed by .example  ZSK=20
4.	.content.example DNSKEY signed by content.example KSK=20
5.	lax.content.example DS signed by content.example. ZSK=20
6.	lax.content.example. DNSKEY signed by lax.content.example KSK=20
7.     _443._tcp.severx.lax.content.example. TLSA signed by =
serverx.lax.content. ZSK=20

KSK is a Key Signing key that is vouched for by the DS=20
ZSK is a Zone Signing key that is included in the DNSKEY set.=20
In some operations the KSK is different from the ZSK, but in other cases =
it is the same one.=20
A validator can not predict what keys it will need until when it sees =
the query.=20
Depending on what is in the cache of the validator it starts at the =
lowest step it can.=20

> * How frequently will implementations be verifying multiple signatures =
simultaneously?
as in signatures by the same key at the same time?  almost never=20

>=20
> For example, Ed25519 can batch verify, and many EC signatures schemes =
have this ability.
> This improves performance (double or more) when verifying more than =
one signature at a time.
>=20

If there is one time overhead in starting to use key that might get =
aggregated over the time the key stays in cache on
the validator,  the same key may get used many times during the time it =
is cached.=20
For example your validator is likely to reuse the ZSK for ".com"  over =
the one day it can be cached,
on the other hand, if it ever looks up ogud.com it is unlikely to reuse =
that key much :-)=20

> As for verification with precomputation, consider the following =
benchmarks from my laptop.
> RSA OpenSSL 1.0.1f:
>                   sign    verify    sign/s verify/s
> rsa 1024 bits 0.000155s 0.000012s   6443.4  84645.8
> rsa 2048 bits 0.001172s 0.000036s    853.1  27954.7
>=20
> 252-bit =93Montgomery Station=94 curve, measurements in milliseconds =
and cycles:
> Keygen                        0.013ms,   40812
> Sign                          0.014ms,   45763
> Verify                 PASS   0.047ms,  155313
> Precompute             PASS   0.061ms,  201570
> Verify pre             PASS   0.016ms,   53747
> Compute shared secret  PASS   0.042ms,  136256
>=20
> So verification takes 47=B5s, vs 36=B5s with RSA-2048.  But if a key =
is used frequently, then a
> 61=B5s precomputation using 7.5kiB of RAM will drop the verification =
time to 16=B5s, which is
> indeed faster than RSA.  Additionally, with a curve like this, =
signatures are 64 bytes instead
> of 256 bytes.  If your client is verifying and has a 24 megabit link, =
then this difference is
> worth 64 microseconds by itself, which is more time than either =
algorithm takes to verify.

For DNS operators that have high load link speed is not an issue.=20
This curve is good news,  but you raise a new question can the key be=20
represented on the wire in such a way that the pre computation is not =
needed ?=20
Same question for the signatures ?=20

In a paper that I read by DJB he argued for compressing keys and =
signatures, but for=20
high-speed-low-latency use the tradeoff between size and speed might be =
different.=20

>=20
> This is also not the fastest curve in the world, it=92s just a project =
I had lying around.  GLS/GLV-
> flavored curves are faster, at least if you don=92t have =
precomputation.  The math for this curve,
> like with most curves, supports batch verification, but I haven=92t =
coded it up (I think only
> Ed25519 actually implements this).
>=20
> So in sum, I hope that any new 256-ish-bit curve will perform =
comparably to RSA-2048 for
> verification, though the exact details will depend on the =
implementation and on whether keys
> are reused.  ECC will also have smaller signatures and faster (and =
possibly precomputable)
> signing.
>=20

I hope that we can find signature curves that make RSA redundant in any =
use, as that=20
helps overcome UDP packet size limits we are dealing with.=20

The reason I posted my message was the desire to inject real work needs =
into the discussions
and make crypto people aware that "strength" and "size" are not only =
important issues in selecting a
good curve.=20

=09
> Cheers,
> =97 Mike
>=20
Toast
	Olafur

>=20
> On Mar 21, 2014, at 10:19 AM, Olafur Gudmundsson <ogud@ogud.com> =
wrote:
>=20
>>=20
>> While we are it, here is another criteria to keep in mind when =
designing/recommending new curves.=20
>> This relates to an old question I asked on CFRG in 2006 (wow that is =
a long time ago)=20
>> in regards to using ECC in DNSSEC=20
>> http://www.ietf.org/mail-archive/web/cfrg/current/msg01170.html
>>=20
>> Since then DNSSEC has specified the use of 3 curves P256, =
P384[RFC6605] and ECC-GOST[RFC5933],=20
>> none of these seems to be in wide spread use, as support is rolling =
out.=20
>>=20
>> What we have learned in the mean time (from DNS perspective), is =
verification time is the most critical part
>> as the world wants happy eyeballs to work and any microseconds that =
verification takes add up.
>> Consider the case that most web pages have in excess of 50 links and =
many of those are unique
>> and can not be reused by resolvers/validators.=20
>>=20
>> Fast signing is nice as that may enable on the fly signing off unique =
names.=20
>>=20
>> As for criteria I would propose the following, as starting point for =
discussion=20
>> 	verification time < verification of 2048 bit RSA signature
>> 	signing time      <  signing with 1024  bit RSA key=20
>>=20
>> As an example comparing here is comparison of=20
>> performance of RSA1024 and 2048 bit keys  vs NIST P256 and P384 on =
modern hardware, only relative performance should
>> be derived.=20
>>=20
>>> OpenSSL> version=20
>>> OpenSSL 1.0.1 14 Mar 2012
>>> OpenSSL> speed rsa1024 rsa2048 ecdsap256 ecdsap384
>>> Doing 1024 bit private rsa's for 10s: 38935 1024 bit private RSA's =
in 9.97s
>>> Doing 1024 bit public rsa's for 10s: 621683 1024 bit public RSA's in =
9.98s
>>> Doing 2048 bit private rsa's for 10s: 5792 2048 bit private RSA's in =
9.98s
>>> Doing 2048 bit public rsa's for 10s: 187826 2048 bit public RSA's in =
9.97s
>>> Doing 256 bit sign ecdsa's for 10s: 58772 256 bit ECDSA signs in =
9.98s=20
>>> Doing 256 bit verify ecdsa's for 10s: 23120 256 bit ECDSA verify in =
9.97s
>>> Doing 384 bit sign ecdsa's for 10s: 34564 384 bit ECDSA signs in =
9.97s=20
>>> Doing 384 bit verify ecdsa's for 10s: 7695 384 bit ECDSA verify in =
9.98s
>>> OpenSSL 1.0.1 14 Mar 2012
>>> built on: Tue Jun  4 07:26:06 UTC 2013
>>> options:bn(64,64) rc4(8x,int) des(idx,cisc,16,int) aes(partial) =
blowfish(idx)=20
>>> compiler: cc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS =
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -g -O2 =
-fstack-protector --param=3Dssp-buffer-size=3D4 -Wformat =
-Wformat-security -Werror=3Dformat-security -D_FORTIFY_SOURCE=3D2 =
-Wl,-Bsymbolic-functions -Wl,-z,relro -Wa,--noexecstack -Wall =
-DOPENSSL_NO_TLS1_2_CLIENT -DOPENSSL_MAX_TLS1_2_CIPHER_LENGTH=3D50 =
-DMD32_REG_T=3Dint -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT =
-DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM =
-DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM =
-DGHASH_ASM
>>>                  sign    verify    sign/s verify/s
>>> rsa 1024 bits 0.000256s 0.000016s   3905.2  62292.9
>>> rsa 2048 bits 0.001723s 0.000053s    580.4  18839.1
>>>                              sign    verify    sign/s verify/s
>>> 256 bit ecdsa (nistp256)   0.0002s   0.0004s   5889.0   2319.0
>>> 384 bit ecdsa (nistp384)   0.0003s   0.0013s   3466.8    771.0
>>=20
>>=20
>> As you can see these ECC curves verification performance SUCKS big =
time when we compare smallest sizes.=20
>> I know the RSA code is much more mature than the ECC code but the =
verification code needs to improve by 25x=20
>> For these curves Signing speeds meets the criteria.=20
>>=20
>> 	Olafur=20
>>=20
>>=20
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> http://www.irtf.org/mailman/listinfo/cfrg
>=20


--Apple-Mail=_46E92520-5271-46BF-9695-39D60B1C9B1E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Mar 21, 2014, at 2:29 PM, Michael Hamburg &lt;<a =
href=3D"mailto:mike@shiftleft.org">mike@shiftleft.org</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"><div style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;"><div>Hi Olafur,</div><div><br></div><div>Can you =
give some insight on a couple aspects of DNSSEC =
validation:</div><div><br></div><div>* How frequently will =
implementations be verifying signatures with the same small set of =
keys?</div></div></blockquote><div><br></div>Here is a common example =
you look up "_443._tcp.serverx.lax.content.example. =
&nbsp;TLSA"&nbsp;</div><div>each dot here is a zone =
boundary&nbsp;</div><div>thus to validate the TLSA record you need to =
have following work done by your validator&nbsp;</div><div>1.<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>.example =
DS &nbsp;signed by root key ZSK&nbsp;</div><div>2.<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>.example =
DNSKEY signed by .example KSK</div><div>3.<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>.content.example DS &nbsp;signed =
by .example &nbsp;ZSK&nbsp;</div><div>4.<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>.content.example DNSKEY signed by =
content.example KSK&nbsp;</div><div>5.<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>lax.content.example DS signed by =
content.example. ZSK&nbsp;</div><div>6.<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>lax.content.example. DNSKEY =
signed by lax.content.example KSK&nbsp;</div><div>7. &nbsp; &nbsp; =
_443._tcp.severx.lax.content.example. TLSA signed by =
serverx.lax.content. ZSK&nbsp;</div><div><br></div><div>KSK is a Key =
Signing key that is vouched for by the DS&nbsp;</div><div>ZSK is a Zone =
Signing key that is included in the DNSKEY set.&nbsp;</div><div>In some =
operations the KSK is different from the ZSK, but in other cases it is =
the same one.&nbsp;</div><div>A validator can not predict what keys it =
will need until when it sees the query.&nbsp;</div><div>Depending on =
what is in the cache of the validator it starts at the lowest step it =
can.&nbsp;</div><div><br></div><div><blockquote type=3D"cite"><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space;"><div>* How frequently will =
implementations be verifying multiple signatures =
simultaneously?</div></div></blockquote>as in signatures by the same key =
at the same time? &nbsp;almost never&nbsp;</div><div><br><blockquote =
type=3D"cite"><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; -webkit-line-break: after-white-space;"><div><br></div><div>For =
example, Ed25519 can batch verify, and many EC signatures schemes have =
this ability.</div><div>This improves performance (double or more) when =
verifying more than one signature at a =
time.</div><div><br></div></div></blockquote><div><br></div>If there is =
one time overhead in starting to use key that might get aggregated over =
the time the key stays in cache on</div><div>the validator, &nbsp;the =
same key may get used many times during the time it is =
cached.&nbsp;</div><div>For example your validator is likely to reuse =
the ZSK for ".com" &nbsp;over the one day it can be cached,</div><div>on =
the other hand, if it ever looks up <a =
href=3D"http://ogud.com">ogud.com</a> it is unlikely to reuse that key =
much :-)&nbsp;</div><div><br><blockquote type=3D"cite"><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space;"><div>As for verification with =
precomputation, consider the following benchmarks from my =
laptop.</div><div>RSA OpenSSL 1.0.1f:</div><div><div style=3D"margin: =
0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;sign&nbsp; &nbsp; verify&nbsp; &nbsp; =
sign/s verify/s</div><div style=3D"margin: 0px; font-size: 10px; =
font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, =
0, 0);"><div style=3D"margin: 0px;">rsa 1024 bits 0.000155s 0.000012s =
&nbsp; 6443.4&nbsp; 84645.8</div></div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);">rsa 2048 bits 0.001172s 0.000036s&nbsp; =
&nbsp; 853.1&nbsp; 27954.7</div></div><div><br></div><div>252-bit =
=93Montgomery Station=94 curve, measurements in milliseconds and =
cycles:</div><div><div style=3D"margin: 0px; font-size: 10px; =
font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, =
0, 0);">Keygen&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; 0.013ms, &nbsp; 40812</div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);">Sign&nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; 0.014ms, &nbsp; 45763</div><div style=3D"margin: 0px; font-size: =
10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: =
rgb(0, 0, 0);">Verify &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; PASS &nbsp; 0.047ms,&nbsp; 155313</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);">Precompute &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; PASS &nbsp; 0.061ms,&nbsp; 201570</div><div style=3D"margin:=
 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);">Verify pre &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; PASS &nbsp; 0.016ms, &nbsp; 53747</div><div style=3D"margin:=
 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);">Compute shared secret&nbsp; PASS &nbsp; =
0.042ms,&nbsp; 136256</div></div><div><br></div><div>So verification =
takes 47=B5s, vs 36=B5s with RSA-2048. &nbsp;But if a key is used =
frequently, then a</div><div>61=B5s precomputation using 7.5kiB of RAM =
will drop the verification time to 16=B5s, which is</div><div>indeed =
faster than RSA. &nbsp;Additionally, with a curve like this, signatures =
are 64 bytes instead</div><div>of 256 bytes. &nbsp;If your client is =
verifying and has a 24 megabit link, then this difference =
is</div><div>worth 64 microseconds by itself, which is more time than =
either algorithm takes to =
verify.</div></div></blockquote><div><br></div><div>For DNS operators =
that have high load link speed is not an issue.&nbsp;</div>This curve is =
good news, &nbsp;but you raise a new question can the key =
be&nbsp;</div><div>represented on the wire in such a way that the pre =
computation is not needed ?&nbsp;</div><div>Same question for the =
signatures ?&nbsp;</div><div><br></div><div>In a paper that I read by =
DJB he argued for compressing keys and signatures, but =
for&nbsp;</div><div>high-speed-low-latency use the tradeoff between size =
and speed might be different.&nbsp;</div><div><br></div><div><blockquote =
type=3D"cite"><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; -webkit-line-break: after-white-space;"><div><br></div><div>This =
is also not the fastest curve in the world, it=92s just a project I had =
lying around. &nbsp;GLS/GLV-</div><div>flavored curves are faster, at =
least if you don=92t have precomputation. &nbsp;The math for this =
curve,</div><div>like with most curves, supports batch verification, but =
I haven=92t coded it up (I think only</div><div>Ed25519 actually =
implements this).</div></div></blockquote><blockquote type=3D"cite"><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space;"><div><br></div><div>So in sum, I =
hope that any new 256-ish-bit curve will perform comparably to RSA-2048 =
for</div><div>verification, though the exact details will depend on the =
implementation and on whether keys</div><div>are reused. &nbsp;ECC will =
also have smaller signatures and faster (and possibly =
precomputable)</div><div>signing.</div><div><br></div></div></blockquote><=
br>I hope that we can find signature curves that make RSA redundant in =
any use, as that&nbsp;</div><div>helps overcome UDP packet size limits =
we are dealing with.&nbsp;</div><div><br></div><div>The reason I posted =
my message was the desire to inject real work needs into the =
discussions</div><div>and make crypto people aware that "strength" and =
"size" are not only important issues in selecting a</div><div>good =
curve.&nbsp;</div><div><br></div><div><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span><br><blockquote type=3D"cite"><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space;"><div>Cheers,</div><div>=97 =
Mike</div><div><br></div></div></blockquote>Toast</div><div><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Olafur</div><div><br><blockquote type=3D"cite"><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space;"><br><div><div>On Mar 21, 2014, =
at 10:19 AM, Olafur Gudmundsson &lt;<a =
href=3D"mailto:ogud@ogud.com">ogud@ogud.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><br>While =
we are it, here is another criteria to keep in mind when =
designing/recommending new curves. <br>This relates to an old question I =
asked on CFRG in 2006 (wow that is a long time ago) <br>in regards to =
using ECC in DNSSEC <br><a =
href=3D"http://www.ietf.org/mail-archive/web/cfrg/current/msg01170.html">h=
ttp://www.ietf.org/mail-archive/web/cfrg/current/msg01170.html</a><br><br>=
Since then DNSSEC has specified the use of 3 curves P256, P384[RFC6605] =
and ECC-GOST[RFC5933], <br>none of these seems to be in wide spread use, =
as support is rolling out. <br><br>What we have learned in the mean time =
(from DNS perspective), is verification time is the most critical =
part<br>as the world wants happy eyeballs to work and any microseconds =
that verification takes add up.<br>Consider the case that most web pages =
have in excess of 50 links and many of those are unique<br>and can not =
be reused by resolvers/validators. <br><br>Fast signing is nice as that =
may enable on the fly signing off unique names. <br><br>As for criteria =
I would propose the following, as starting point for discussion =
<br><span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>verification time &lt; verification of 2048 bit RSA =
signature<br><span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>signing time &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt; &nbsp;signing =
with 1024 &nbsp;bit RSA key <br><br>As an example comparing here is =
comparison of <br>performance of RSA1024 and 2048 bit keys &nbsp;vs NIST =
P256 and P384 on modern hardware, only relative performance should<br>be =
derived. <br><br><blockquote type=3D"cite">OpenSSL&gt; version =
<br>OpenSSL 1.0.1 14 Mar 2012<br>OpenSSL&gt; speed rsa1024 rsa2048 =
ecdsap256 ecdsap384<br>Doing 1024 bit private rsa's for 10s: 38935 1024 =
bit private RSA's in 9.97s<br>Doing 1024 bit public rsa's for 10s: =
621683 1024 bit public RSA's in 9.98s<br>Doing 2048 bit private rsa's =
for 10s: 5792 2048 bit private RSA's in 9.98s<br>Doing 2048 bit public =
rsa's for 10s: 187826 2048 bit public RSA's in 9.97s<br>Doing 256 bit =
sign ecdsa's for 10s: 58772 256 bit ECDSA signs in 9.98s <br>Doing 256 =
bit verify ecdsa's for 10s: 23120 256 bit ECDSA verify in 9.97s<br>Doing =
384 bit sign ecdsa's for 10s: 34564 384 bit ECDSA signs in 9.97s =
<br>Doing 384 bit verify ecdsa's for 10s: 7695 384 bit ECDSA verify in =
9.98s<br>OpenSSL 1.0.1 14 Mar 2012<br>built on: Tue Jun &nbsp;4 07:26:06 =
UTC 2013<br>options:bn(64,64) rc4(8x,int) des(idx,cisc,16,int) =
aes(partial) blowfish(idx) <br>compiler: cc -fPIC -DOPENSSL_PIC -DZLIB =
-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 =
-DL_ENDIAN -DTERMIO -g -O2 -fstack-protector --param=3Dssp-buffer-size=3D4=
 -Wformat -Wformat-security -Werror=3Dformat-security =
-D_FORTIFY_SOURCE=3D2 -Wl,-Bsymbolic-functions -Wl,-z,relro =
-Wa,--noexecstack -Wall -DOPENSSL_NO_TLS1_2_CLIENT =
-DOPENSSL_MAX_TLS1_2_CIPHER_LENGTH=3D50 -DMD32_REG_T=3Dint =
-DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 =
-DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM =
-DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;sign &nbsp;&nbsp;&nbsp;verify =
&nbsp;&nbsp;&nbsp;sign/s verify/s<br>rsa 1024 bits 0.000256s 0.000016s =
&nbsp;&nbsp;3905.2 &nbsp;62292.9<br>rsa 2048 bits 0.001723s 0.000053s =
&nbsp;&nbsp;&nbsp;580.4 &nbsp;18839.1<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;sign &nbsp;&nbsp;&nbsp;verify =
&nbsp;&nbsp;&nbsp;sign/s verify/s<br> 256 bit ecdsa (nistp256) =
&nbsp;&nbsp;0.0002s &nbsp;&nbsp;0.0004s &nbsp;&nbsp;5889.0 =
&nbsp;&nbsp;2319.0<br> 384 bit ecdsa (nistp384) &nbsp;&nbsp;0.0003s =
&nbsp;&nbsp;0.0013s &nbsp;&nbsp;3466.8 =
&nbsp;&nbsp;&nbsp;771.0<br></blockquote><br><br>As you can see these ECC =
curves verification performance SUCKS big time when we compare smallest =
sizes. <br>I know the RSA code is much more mature than the ECC code but =
the verification code needs to improve by 25x <br>For these curves =
Signing speeds meets the criteria. <br><br><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>Olafur =
<br><br><br>_______________________________________________<br>Cfrg =
mailing list<br><a =
href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>http://www.irtf.org/mai=
lman/listinfo/cfrg<br></blockquote></div><br></div></blockquote></div><br>=
</body></html>=

--Apple-Mail=_46E92520-5271-46BF-9695-39D60B1C9B1E--


From nobody Fri Mar 21 15:17:05 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 0C5D11A07F9 for <cfrg@ietfa.amsl.com>; Fri, 21 Mar 2014 15:17:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.557
X-Spam-Level: *
X-Spam-Status: No, score=1.557 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_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 H4r-htFPfXMt for <cfrg@ietfa.amsl.com>; Fri, 21 Mar 2014 15:17:01 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-157-v301.PUBLIC.monkeybrains.net [199.116.74.157]) by ietfa.amsl.com (Postfix) with ESMTP id E70CD1A0410 for <Cfrg@irtf.org>; Fri, 21 Mar 2014 15:17:00 -0700 (PDT)
Received: from [10.184.148.249] (w035.z205158021.lax-ca.dsl.cnc.net [205.158.21.35]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id C54483AA04; Fri, 21 Mar 2014 15:15:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1395440116; bh=vhQw2TBRBtb9i7uyi2TAyZ3ZUza2iKjZ2bDXjVKe6tI=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=N1hRxV0tNhXcun4rLwoijPZKVT3hPPnh+ND9zv4tdfPPwzAH26Wf4oV4WYoygs0dd Mi2B2g2/c58cFFxakuUK80wEaD6UF18OYhclFiON8rlnfuifohVQLsqDEWBjyM2WSf 0qpLcRxibhDl7AD4jAMQ2f8xpiNWe9Z4YBDkXD3M=
Content-Type: multipart/alternative; boundary="Apple-Mail=_79735D04-19EF-4D85-8181-02DE4B45E620"
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <6B774F8B-A3FF-4DAF-BA9E-FB313E8E6D62@ogud.com>
Date: Fri, 21 Mar 2014 15:16:47 -0700
Message-Id: <76BCE1CF-3E3F-445B-8C73-4BD7240D2DA9@shiftleft.org>
References: <52D928A1.6070201@cs.tcd.ie> <3851D33B-3201-498C-84E1-AAD2FAA0418A@ogud.com> <29B8E8B0-AB73-4705-B623-20EDD6B63FA6@shiftleft.org> <6B774F8B-A3FF-4DAF-BA9E-FB313E8E6D62@ogud.com>
To: Olafur Gudmundsson <ogud@ogud.com>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/xauVNQScg7BchKFRanNOgmQGcWw
Cc: Cfrg@irtf.org
Subject: Re: [Cfrg] Validation performance Re:  new curves vs. algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Mar 2014 22:17:03 -0000

--Apple-Mail=_79735D04-19EF-4D85-8181-02DE4B45E620
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


On Mar 21, 2014, at 12:00 PM, Olafur Gudmundsson <ogud@ogud.com> wrote:

>=20
> On Mar 21, 2014, at 2:29 PM, Michael Hamburg <mike@shiftleft.org> =
wrote:
>=20
>> * How frequently will implementations be verifying multiple =
signatures simultaneously?
> as in signatures by the same key at the same time?  almost never=20

It=92s not necessary for them to be with the same key.  Over the same =
curve is enough for batching.
Bernstein even argues that you could have one thread acting as a batch =
ECC server and just doing
64 verifies at a time.  But that might not be acceptable here, because =
it trades latency for throughput.

In your example, if all those sigs come in simultaneously, then you can =
batch all the ECC ones which
share a curve.  But if the validator is checking each DS before doing =
the next lookup, then the
opportunities for batching will be limited.

Anyway, there are two different optimizations:
* Validating multiple signatures at the same time, if they=92re over the =
same curve.
* Validating multiple signatures, not necessarily at the same time, if =
they=92re done with the same key.

Validating multiple signatures at the same time with the same key ought =
to be even faster, but
like you said, that doesn=92t come up very often.

>> As for verification with precomputation, consider the following =
benchmarks from my laptop.
>> RSA OpenSSL 1.0.1f:
>>                   sign    verify    sign/s verify/s
>> rsa 1024 bits 0.000155s 0.000012s   6443.4  84645.8
>> rsa 2048 bits 0.001172s 0.000036s    853.1  27954.7
>>=20
>> 252-bit =93Montgomery Station=94 curve, measurements in milliseconds =
and cycles:
>> Keygen                        0.013ms,   40812
>> Sign                          0.014ms,   45763
>> Verify                 PASS   0.047ms,  155313
>> Precompute             PASS   0.061ms,  201570
>> Verify pre             PASS   0.016ms,   53747
>> Compute shared secret  PASS   0.042ms,  136256
>>=20
>> So verification takes 47=B5s, vs 36=B5s with RSA-2048.  But if a key =
is used frequently, then a
>> 61=B5s precomputation using 7.5kiB of RAM will drop the verification =
time to 16=B5s, which is
>> indeed faster than RSA.  Additionally, with a curve like this, =
signatures are 64 bytes instead
>> of 256 bytes.  If your client is verifying and has a 24 megabit link, =
then this difference is
>> worth 64 microseconds by itself, which is more time than either =
algorithm takes to verify.
>=20
> For DNS operators that have high load link speed is not an issue.=20
> This curve is good news,  but you raise a new question can the key be=20=

> represented on the wire in such a way that the pre computation is not =
needed ?=20
> Same question for the signatures ?=20

Sort of.  It=92s a time/memory tradeoff.  The numbers there are for =
7.5kiB precomputed tables.  But
doubling or quadding or octing the key size (octing would make it 2048 =
bits) might make a
noticeable difference, either by enabling this table optimization or =
just by avoiding decompression.

Surely link speed matters to some degree.  Even on a gigabit link, =
7.5GiB is still a microsecond,
plus it slows down all the traffic on that link.

Anyway, I dunno if it=92s this curve in particular that=92s good news.  =
It=92s not that much faster than
curve25519, and if you want a fancy superfast curve that=92s not in =
widespread use, one of the
GLS/GLV curves will have faster verifies.

> In a paper that I read by DJB he argued for compressing keys and =
signatures, but for=20
> high-speed-low-latency use the tradeoff between size and speed might =
be different.=20

Yeah, it might be worth not compressing keys, or even expanding them if =
GLS/GLV isn=92t in play.

>> This is also not the fastest curve in the world, it=92s just a =
project I had lying around.  GLS/GLV-
>> flavored curves are faster, at least if you don=92t have =
precomputation.  The math for this curve,
>> like with most curves, supports batch verification, but I haven=92t =
coded it up (I think only
>> Ed25519 actually implements this).
>>=20
>> So in sum, I hope that any new 256-ish-bit curve will perform =
comparably to RSA-2048 for
>> verification, though the exact details will depend on the =
implementation and on whether keys
>> are reused.  ECC will also have smaller signatures and faster (and =
possibly precomputable)
>> signing.
>>=20
>=20
> I hope that we can find signature curves that make RSA redundant in =
any use, as that=20
> helps overcome UDP packet size limits we are dealing with.=20
>=20
> The reason I posted my message was the desire to inject real work =
needs into the discussions
> and make crypto people aware that "strength" and "size" are not only =
important issues in selecting a
> good curve.=20


I think that people are focused on a stronger curve at the moment =
because there are a
ton of fast 256-ish-bit curves, and Curve25519 is good for almost =
everything at that strength.

Consider, for example, http://bench.cr.yp.to/results-dh.html.  Pretty =
much all of those curves are
~256 bits.

=97 Mike




--Apple-Mail=_79735D04-19EF-4D85-8181-02DE4B45E620
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;"><br><div><div>On Mar 21, 2014, at 12:00 PM, Olafur =
Gudmundsson &lt;<a href=3D"mailto:ogud@ogud.com">ogud@ogud.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;"><div><br class=3D"Apple-interchange-newline">On Mar 21, 2014, at =
2:29 PM, Michael Hamburg &lt;<a =
href=3D"mailto:mike@shiftleft.org">mike@shiftleft.org</a>&gt; =
wrote:</div></div><div style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;"><br></div><div style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;"><blockquote type=3D"cite"><div style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">* How =
frequently will implementations be verifying multiple signatures =
simultaneously?</div></blockquote>as in signatures by the same key at =
the same time? &nbsp;almost =
never&nbsp;</div></blockquote><div><br></div><div>It=92s not necessary =
for them to be with the same key. &nbsp;Over the same curve is enough =
for batching.</div><div>Bernstein even argues that you could have one =
thread acting as a batch ECC server and just doing</div><div>64 verifies =
at a time. &nbsp;But that might not be acceptable here, because it =
trades latency for throughput.</div><div><br></div><div>In your example, =
if all those sigs come in simultaneously, then you can batch all the ECC =
ones which</div><div>share a curve. &nbsp;But if the validator is =
checking each DS before doing the next lookup, then =
the</div><div>opportunities for batching will be =
limited.</div><div><br></div><div>Anyway, there are two different =
optimizations:</div><div>* Validating multiple signatures at the same =
time, if they=92re over the same curve.</div><div>* Validating multiple =
signatures, not necessarily at the same time, if they=92re done with the =
same key.</div><div><br></div><div>Validating multiple signatures at the =
same time with the same key ought to be even faster, but</div><div>like =
you said, that doesn=92t come up very often.</div><br><blockquote =
type=3D"cite"><div style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;"><blockquote type=3D"cite"><div style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;"><div>As for verification with precomputation, =
consider the following benchmarks from my laptop.</div><div>RSA OpenSSL =
1.0.1f:</div><div><div style=3D"margin: 0px; font-size: 10px; =
font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, =
0, 0);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;&nbsp;sign&nbsp; &nbsp; verify&nbsp; &nbsp; sign/s =
verify/s</div><div style=3D"margin: 0px; font-size: 10px; font-family: =
Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);"><div =
style=3D"margin: 0px;">rsa 1024 bits 0.000155s 0.000012s &nbsp; =
6443.4&nbsp; 84645.8</div></div><div style=3D"margin: 0px; font-size: =
10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: =
rgb(0, 0, 0);">rsa 2048 bits 0.001172s 0.000036s&nbsp; &nbsp; =
853.1&nbsp; 27954.7</div></div><div><br></div><div>252-bit =93Montgomery =
Station=94 curve, measurements in milliseconds and =
cycles:</div><div><div style=3D"margin: 0px; font-size: 10px; =
font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, =
0, 0);">Keygen&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; 0.013ms, &nbsp; 40812</div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);">Sign&nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; 0.014ms, &nbsp; 45763</div><div style=3D"margin: 0px; font-size: =
10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: =
rgb(0, 0, 0);">Verify &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; PASS &nbsp; 0.047ms,&nbsp; 155313</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);">Precompute &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; PASS &nbsp; 0.061ms,&nbsp; 201570</div><div style=3D"margin:=
 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);">Verify pre &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; PASS &nbsp; 0.016ms, &nbsp; 53747</div><div style=3D"margin:=
 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);">Compute shared secret&nbsp; PASS &nbsp; =
0.042ms,&nbsp; 136256</div></div><div><br></div><div>So verification =
takes 47=B5s, vs 36=B5s with RSA-2048. &nbsp;But if a key is used =
frequently, then a</div><div>61=B5s precomputation using 7.5kiB of RAM =
will drop the verification time to 16=B5s, which is</div><div>indeed =
faster than RSA. &nbsp;Additionally, with a curve like this, signatures =
are 64 bytes instead</div><div>of 256 bytes. &nbsp;If your client is =
verifying and has a 24 megabit link, then this difference =
is</div><div>worth 64 microseconds by itself, which is more time than =
either algorithm takes to =
verify.</div></div></blockquote><div><br></div><div>For DNS operators =
that have high load link speed is not an issue.&nbsp;</div>This curve is =
good news, &nbsp;but you raise a new question can the key =
be&nbsp;</div><div style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;">represented on the wire in such a way that the pre computation is =
not needed ?&nbsp;</div><div style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Same =
question for the signatures =
?&nbsp;</div></blockquote><div><br></div><div>Sort of. &nbsp;It=92s a =
time/memory tradeoff. &nbsp;The numbers there are for 7.5kiB precomputed =
tables. &nbsp;But</div><div>doubling or quadding or octing the key size =
(octing would make it 2048 bits) might make a</div><div>noticeable =
difference, either by enabling this table optimization or just by =
avoiding decompression.</div><div><br></div><div>Surely link speed =
matters to some degree. &nbsp;Even on a gigabit link, 7.5GiB is still a =
microsecond,</div><div>plus it slows down all the traffic on that =
link.</div><div><br></div><div>Anyway, I dunno if it=92s this curve in =
particular that=92s good news. &nbsp;It=92s not that much faster =
than</div><div>curve25519, and if you want a fancy superfast curve =
that=92s not in widespread use, one of the</div><div>GLS/GLV curves will =
have faster verifies.</div><br><blockquote type=3D"cite"><div =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;">In a paper that I read by DJB he =
argued for compressing keys and signatures, but for&nbsp;</div><div =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;">high-speed-low-latency use the =
tradeoff between size and speed might be =
different.&nbsp;</div></blockquote><div><br></div>Yeah, it might be =
worth not compressing keys, or even expanding them if GLS/GLV isn=92t in =
play.<br><br><blockquote type=3D"cite"><div style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;"><blockquote type=3D"cite"><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space;"><div>This is also not the =
fastest curve in the world, it=92s just a project I had lying around. =
&nbsp;GLS/GLV-</div><div>flavored curves are faster, at least if you =
don=92t have precomputation. &nbsp;The math for this =
curve,</div><div>like with most curves, supports batch verification, but =
I haven=92t coded it up (I think only</div><div>Ed25519 actually =
implements this).</div></div></blockquote><blockquote type=3D"cite"><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space;"><div><br></div><div>So in sum, I =
hope that any new 256-ish-bit curve will perform comparably to RSA-2048 =
for</div><div>verification, though the exact details will depend on the =
implementation and on whether keys</div><div>are reused. &nbsp;ECC will =
also have smaller signatures and faster (and possibly =
precomputable)</div><div>signing.</div><div><br></div></div></blockquote><=
br>I hope that we can find signature curves that make RSA redundant in =
any use, as that&nbsp;</div><div style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;">helps overcome UDP packet size limits we are dealing =
with.&nbsp;</div><div style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;"><br></div><div style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">The =
reason I posted my message was the desire to inject real work needs into =
the discussions</div><div style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">and =
make crypto people aware that "strength" and "size" are not only =
important issues in selecting a</div><div style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;">good =
curve.&nbsp;</div></blockquote></div><div><br></div><div>I think that =
people are focused on a stronger curve at the moment because there are =
a</div><div>ton of fast 256-ish-bit curves, and Curve25519 is good for =
almost everything at that strength.</div><div><br></div><div>Consider, =
for example,&nbsp;<a =
href=3D"http://bench.cr.yp.to/results-dh.html">http://bench.cr.yp.to/resul=
ts-dh.html</a>. &nbsp;Pretty much all of those curves are</div><div>~256 =
bits.</div><div><br></div><div>=97 =
Mike</div><div><br></div><div><br></div><br></body></html>=

--Apple-Mail=_79735D04-19EF-4D85-8181-02DE4B45E620--


From nobody Sat Mar 22 08:10:01 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 D47521A08E5 for <cfrg@ietfa.amsl.com>; Sat, 22 Mar 2014 08:09:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.099
X-Spam-Level: 
X-Spam-Status: No, score=0.099 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=unavailable
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AIIze0XLt08v for <cfrg@ietfa.amsl.com>; Sat, 22 Mar 2014 08:09:56 -0700 (PDT)
Received: from am1outboundpool.messaging.microsoft.com (am1ehsobe005.messaging.microsoft.com [213.199.154.208]) by ietfa.amsl.com (Postfix) with ESMTP id 1C6E11A0760 for <cfrg@irtf.org>; Sat, 22 Mar 2014 08:09:56 -0700 (PDT)
Received: from mail1-am1-R.bigfish.com (10.3.201.247) by AM1EHSOBE001.bigfish.com (10.3.204.21) with Microsoft SMTP Server id 14.1.225.22; Sat, 22 Mar 2014 15:09:55 +0000
Received: from mail1-am1 (localhost [127.0.0.1])	by mail1-am1-R.bigfish.com (Postfix) with ESMTP id EC5664A0115;	Sat, 22 Mar 2014 15:09:54 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:157.56.248.5; KIP:(null); UIP:(null); IPV:NLI; H:AMSPRD0310HT002.eurprd03.prod.outlook.com; RD:none; EFVD:NLI
X-SpamScore: -7
X-BigFish: PS-7(z579ehf7Izbb2dI98dI9371I1102I542I1432Izz1f42h208ch1ee6h1de0h1d18h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah21bch1fc6hzdchz1de098h17326ah8275bh8275dh1de097h186068hz2fh109h2a8h839h944he5bhf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h18e1h1946h19b5h19ceh1ad9h1b0ah224fh1d0ch1d2eh1d3fh1dfeh1dffh1fe8h1ff5h209eh2216h22d0h2336h2438h2461h2487h24ach24d7h2516h2545h255eh25cch25f6h2605h262fh268bh1155h)
Received-SPF: pass (mail1-am1: domain of rhul.ac.uk designates 157.56.248.5 as permitted sender) client-ip=157.56.248.5; envelope-from=Kenny.Paterson@rhul.ac.uk; helo=AMSPRD0310HT002.eurprd03.prod.outlook.com ; .outlook.com ; 
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10019001)(6009001)(428001)(51704005)(189002)(199002)(24454002)(377454003)(479174003)(13464003)(2473001)(43544003)(81342001)(2656002)(63696002)(20776003)(86362001)(85306002)(94946001)(97336001)(97186001)(93136001)(69226001)(87936001)(87266001)(83072002)(56816005)(90146001)(95416001)(66066001)(80022001)(93516002)(65816001)(2201001)(92566001)(95666003)(92726001)(94316002)(98676001)(79102001)(77982001)(59766001)(53806001)(74876001)(81816001)(76482001)(56776001)(74366001)(54316002)(54356001)(83322001)(19580405001)(46102001)(19580395003)(51856001)(15975445006)(85852003)(81542001)(80976001)(76796001)(74706001)(76786001)(47736001)(49866001)(47446002)(47976001)(74482001)(15202345003)(50986001)(74502001)(4396001)(81686001)(74662001)(36756003)(31966008)(83506001); DIR:OUT; SFP:1102; SCL:1; SRVR:DBXPR03MB383; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:E67CF1D5.8BE691DD.7DDBDD8B.42E5E040.20709; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
Received: from mail1-am1 (localhost.localdomain [127.0.0.1]) by mail1-am1 (MessageSwitch) id 1395500993140919_23793; Sat, 22 Mar 2014 15:09:53 +0000 (UTC)
Received: from AM1EHSMHS021.bigfish.com (unknown [10.3.201.251])	by mail1-am1.bigfish.com (Postfix) with ESMTP id 144D9300061;	Sat, 22 Mar 2014 15:09:53 +0000 (UTC)
Received: from AMSPRD0310HT002.eurprd03.prod.outlook.com (157.56.248.5) by AM1EHSMHS021.bigfish.com (10.3.207.150) with Microsoft SMTP Server (TLS) id 14.16.227.3; Sat, 22 Mar 2014 15:09:52 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by AMSPRD0310HT002.eurprd03.prod.outlook.com (10.255.40.37) with Microsoft SMTP Server (TLS) id 14.16.423.0; Sat, 22 Mar 2014 15:09:52 +0000
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.0.898.11; Sat, 22 Mar 2014 15:09: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.00.0898.005; Sat, 22 Mar 2014 15:09:51 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>, "saag@ietf.org" <saag@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: pkcs#1v1.5 (was: Re: [saag] Fwd: W3C Web Crypto API - moving to Last Call)
Thread-Index: AQHPRdiIOWzUzYSJ3Uax4nMLHIMeoprtNdIA
Date: Sat, 22 Mar 2014 15:09:50 +0000
Message-ID: <CF535271.19584%kenny.paterson@rhul.ac.uk>
References: <239D7A53E5B17B4BB20795A7977613A40207DB59F189@CROEXCFWP04.gemalto.com> <9cb524b6-c260-484e-bf44-45d52e7319a1@email.android.com> <CF522EF0.19491%kenny.paterson@rhul.ac.uk> <532D99CA.10405@cs.tcd.ie>
In-Reply-To: <532D99CA.10405@cs.tcd.ie>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.3.9.131030
x-originating-ip: [80.42.211.120]
x-forefront-prvs: 01583E185C
Content-Type: text/plain; charset="us-ascii"
Content-ID: <FDB9D04E87C69547878749DF658FD704@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/fIypsU8CIOxjAEJHY9gB-qMEeeY
Cc: "Virginie.GALINDO@gemalto.com" <Virginie.GALINDO@gemalto.com>
Subject: Re: [Cfrg] pkcs#1v1.5 (was: Re: [saag] Fwd: W3C Web Crypto API - moving to Last Call)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Mar 2014 15:10:00 -0000

Hi

On 22/03/2014 14:10, "Stephen Farrell" <stephen.farrell@cs.tcd.ie> wrote:
>
>Hi Kenny,
>
>On 03/21/2014 06:15 PM, Paterson, Kenny wrote:
>> Hi Stephen,
>>=20
>> [Cross-posting to CFRG, since it seems relevant]
>
>[reducing back to saag, see below for why:-) ]

[re-cross-posting to cfrg, see below for why]

>
>> Tibor Jager, Juarj Somorovsky and I sent this team feedback some
>> time ago about the undesirability of standardising already-broken
>> algorithms and modes (e.g. PKCS#1v1.5 encryption, CBC-mode
>> encryption with no integrity protection).
>
>Not sure I'd agree with "broken" there, other than from a theoretical
>POV. Old/weaker/sniffy and not state-of-the-art would be fair though.
>In any case, yes, there's better crypto primitives to be used.

Well, unauthenticated encryption (e.g. CBC mode) has been broken *in
practice* in many real-world systems, including, for example IPsec
(starting with Bellovin's work, but reaching its nadir in my work with
Degabriele from IEEE S&P 2007) and XML encryption (Jager and Somorovsky,
ACM-CCS 2011).=20

The Bleichenbacher "million message" attack against PKCS#1v1.5 encryption
was significantly improved in a paper at Crypto 2012 by Bardou et al., and
applied to a variety of security tokens and a fielded HSM. Practical
attacks against XML encryption based on the known weaknesses in PKCS#1v1.5
were demonstrated by Jager et al at ESORICS 2012.

So several of the schemes being proposed for standardisation for general
purpose use in this WebCrypto standard have already been broken *in
practice* and *several times over*. It seems foolhardy to be including
them in a new standard, irrespective of the "facts on the ground"
concerning their deployment.


>But there's an ongoing topic here that might be worth a thread - how to
>move beyond pkcs#1v1.5 and other mechanisms with known crypto issues
>(whether currently practical or not) but where there's *huge*
>deployment and many many implementations in use in the wild on all
>sorts of platforms.

I agree, this is important. But putting the already broken schemes in a
new standard does not seem helpful in that regard.

>I don't know how we can improve that situation (since a lot of this is
>not controlled by the IETF or W3C) but I do know a lot of security
>folks would like it if we could.
>
>Unfortunately, history seems to show that it requires a very-near-
>practical break before implementations and deployments will change in
>sufficient numbers. And maybe it also requires the non-existence of
>a band-aid that can be applied at another protocol or s/w layer.

And what a sad state of affairs that is.

The history of, for example, chained IVs in SSL/TLS should be salutary
lesson in the folly of this approach. There, Rogaway already presented a
theoretical attack in 1995. It was explained how this could be exploited
to recover plaintext in 2006 by Bard, but without a working attack.
Finally, the SSL/TLS community got its backside badly bitten by BEAST in
2011, which basically took Bard's attack and showed how to realise it in
the web setting. Cue much panic and hand-wringing. Well, everybody was
warned...

>And of course this problem is really nothing to do with the crypto
>but is all about implementations and deployments. (Hence dropping
>cfrg cross-post:-)

These issues should be a first class concern for cfrg. There are serious
research questions at stake here. Like: how do we build developer-proof
APIs; how do we retire protocols, modes, algorithms which are showing
signs of weakness; how do we automatically find crypto bugs, side
channels, and the like, and eliminate them.

>
>But ideas welcome...

Here's one idea: make sure that a new standard does not include broken
algorithms and modes. Then, to be able to claim compliance with the
standard, existing deployments will have to get their house in order.

Here's another: let's set up an aggressive timescale for deprecation of
SSLv3, TLS 1.0 and TLS 1.1.

>
>Cheers,
>S.
>
>PS: On the w3c spec: yes, it'd seem entirely reasonable to warn about
>known issues and e.g. say that we do expect to move away from these at
>some point. That's a good comment. I'm surprised if they blew that
>off.

They seem to have pretty much blown it off. Check out the specification's
security considerations section:

http://www.w3.org/TR/WebCryptoAPI/#security


"This API includes a variety of cryptographic operations, some of which
may have known security issues when used inappropriately. Application
developers should take care to review the appropriate cryptographic
literature before making use of certain algorithms, and should avoid
attempting to develop new cryptographic protocols whenever possible."


For me, this is not nearly stark or specific enough. What is the average
developer meant to make of it?

Cheers

Kenny


>
>>=20
>> On 21/03/2014 17:54, "Stephen Farrell" <stephen.farrell@cs.tcd.ie>
>>wrote:
>>=20
>>> -------- Original Message --------
>>> From: GALINDO Virginie <Virginie.GALINDO@gemalto.com>
>>> Sent: 21 March 2014 17:10:45 GMT+00:00
>>> To: Jim Schaad <ietf@augustcellars.com>, "odonoghue@isoc.org"
>>> <odonoghue@isoc.org>, "stephen.farrell@cs.tcd.ie"
>>> <stephen.farrell@cs.tcd.ie>, "Kathleen.Moriarty.ietf@gmail.com"
>>> <Kathleen.Moriarty.ietf@gmail.com>
>>> Cc: Harry Halpin <hhalpin@w3.org>, "wseltzer@w3.org" <wseltzer@w3.org>
>>> Subject: W3C Web Crypto API - moving to Last Call
>>>
>>> Hi IETF and JOSE team,
>>>
>>>
>>>
>>> The Web Cryptography Working Group has decided to go to Last Call for
>>>the
>>> Web Cryptography API next week. We'd like to make sure your group has
>>> enough time to review the specification. Is four weeks enough time? If
>>>I
>>> don't hear back from you, I am going to assume it is enough time. Our
>>> latest draft is here:
>>>
>>>
>>>
>>> https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html
>>>
>>>
>>>
>>> Regards,
>>>
>>> Virginie Galindo
>>>
>>> Gemalto
>>>
>>> chair of W3C web crypto wg
>>>
>>=20
>>=20
>> Tibor Jager, Juarj Somorovsky and I sent this team feedback some time
>>ago
>> about the undesirability of standardising already-broken algorithms and
>> modes (e.g. PKCS#1v1.5 encryption, CBC-mode encryption with no integrity
>> protection).=20
>>=20
>> This was in response to a request for feedback from CFRG. We gave them
>> chapter and verse (and citations) about why this is generally a BAD
>>IDEA:
>>=20
>> http://lists.w3.org/Archives/Public/public-webcrypto/2012Sep/0186.html
>>=20
>> The broken algorithms and modes are still in the Web Crypto document.
>> Moreover, there are no relevant warnings about these broken algorithms
>>and
>> modes in the "security considerations" section of the current Web Crypto
>> draft.
>>=20
>> Needless to say, I'm not minded to provide any more free advice to this
>> group.
>>=20
>> Cheers,
>>=20
>> Kenny=20
>>=20
>>=20
>>=20
>>=20
>



From nobody Sat Mar 22 11:31: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 5AF521A09C1 for <cfrg@ietfa.amsl.com>; Sat, 22 Mar 2014 11:31:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.011
X-Spam-Level: 
X-Spam-Status: No, score=-0.011 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=unavailable
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QabwmAzJNvZZ for <cfrg@ietfa.amsl.com>; Sat, 22 Mar 2014 11:31:01 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (prod-mail-xrelay07.akamai.com [72.246.2.115]) by ietfa.amsl.com (Postfix) with ESMTP id 0FB661A09BD for <cfrg@irtf.org>; Sat, 22 Mar 2014 11:31:00 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 29DB74745E; Sat, 22 Mar 2014 18:31:00 +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 1CC654745C; Sat, 22 Mar 2014 18:31:00 +0000 (GMT)
Received: from usma1ex-cashub.kendall.corp.akamai.com (usma1ex-cashub6.kendall.corp.akamai.com [172.27.105.22]) by prod-mail-relay06.akamai.com (Postfix) with ESMTP id 18DE22027; Sat, 22 Mar 2014 18:31:00 +0000 (GMT)
Received: from USMBX1.msg.corp.akamai.com ([172.27.107.26]) by USMA1EX-CASHUB6.kendall.corp.akamai.com ([172.27.105.22]) with mapi; Sat, 22 Mar 2014 14:30:59 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>, Stephen Farrell <stephen.farrell@cs.tcd.ie>, "saag@ietf.org" <saag@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Date: Sat, 22 Mar 2014 14:30:58 -0400
Thread-Topic: pkcs#1v1.5 (was: Re: [saag] Fwd: W3C Web Crypto API - moving to Last Call)
Thread-Index: AQHPRdiIOWzUzYSJ3Uax4nMLHIMeoprtNdIAgAA25uA=
Message-ID: <2A0EFB9C05D0164E98F19BB0AF3708C711FCF2504B@USMBX1.msg.corp.akamai.com>
References: <239D7A53E5B17B4BB20795A7977613A40207DB59F189@CROEXCFWP04.gemalto.com> <9cb524b6-c260-484e-bf44-45d52e7319a1@email.android.com> <CF522EF0.19491%kenny.paterson@rhul.ac.uk> <532D99CA.10405@cs.tcd.ie> <CF535271.19584%kenny.paterson@rhul.ac.uk>
In-Reply-To: <CF535271.19584%kenny.paterson@rhul.ac.uk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/BUl206KaXR8n04j0LLtICE5WZy8
Cc: "Virginie.GALINDO@gemalto.com" <Virginie.GALINDO@gemalto.com>
Subject: Re: [Cfrg] pkcs#1v1.5 (was: Re: [saag] Fwd: W3C Web Crypto API - moving to Last Call)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Mar 2014 18:31:02 -0000

> I agree, this is important. But putting the already broken schemes in a n=
ew standard does not seem helpful in that regard.

It's a  new API.  It's not a standardization of something that already exis=
ts, it's a brand new whole-cloth invention of something that did not exist =
before.  And yet, we're going to allow developers to create broken data.  "=
Does not seem helpful" is really understatement.

Perhaps they can create read-only bindings for these insecure structures?

Perhaps, as a gedanken experiment, I can propose a generalization of the sy=
mmetric encryption algorithm rot-13, which has a huge historical legacy via=
 Usenet? The security considerations are pretty simple: "do not choose numb=
er of rounds (n) and shift size (s) such that n*s is zero mod 26."  That wo=
uld seem to meet all the requirements of the current draft.

	/r$

-- =20
Principal Security Engineer
Akamai Technology
Cambridge, MA


From nobody Sat Mar 22 14:11:57 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 5CEEA1A0A04 for <cfrg@ietfa.amsl.com>; Sat, 22 Mar 2014 14:11:55 -0700 (PDT)
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 Y0lJhxa5kMat for <cfrg@ietfa.amsl.com>; Sat, 22 Mar 2014 14:11:52 -0700 (PDT)
Received: from mail-yh0-x22e.google.com (mail-yh0-x22e.google.com [IPv6:2607:f8b0:4002:c01::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 1ECED1A0A06 for <cfrg@irtf.org>; Sat, 22 Mar 2014 14:11:51 -0700 (PDT)
Received: by mail-yh0-f46.google.com with SMTP id b6so3825325yha.33 for <cfrg@irtf.org>; Sat, 22 Mar 2014 14:11:51 -0700 (PDT)
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=axkDHeXrRiP1RQZ8o7A8PQo3XptY5MawnpU5gxnsHcM=; b=o2LhLkz0etnCfykIMxoimTIzv1sEMFUdb8jkf5KK7p+4an3RA/8mdjzaOQupXenGEG yWJvflv2twZK3WZoEPBpJvnMSwgWWUN2Gp4bsN3NxspT2XHr5VFd6bRjtf9qtUj3Nzuj 6jSgJ98TCpWaZp7wJ9Wuzt+kGi8TocGTOLuUwcwLOCd3YViB43ogPVn3PLkQRKJre6od LN03mElTtn+UAnu3IS2GyHSua/vEeqgUZMWqhffzoVRCGXV2k33Neaw5nA/kdokfUFkI SjCHpZTAxbxnMEdnAtNL4nQ66t7ex4LFYXP+q1a15EOf4BgA+3oWpTlugE3lyrht8D+U Hi1Q==
MIME-Version: 1.0
X-Received: by 10.236.151.198 with SMTP id b46mr53053303yhk.3.1395522711647; Sat, 22 Mar 2014 14:11:51 -0700 (PDT)
Received: by 10.170.80.214 with HTTP; Sat, 22 Mar 2014 14:11:51 -0700 (PDT)
In-Reply-To: <2A0EFB9C05D0164E98F19BB0AF3708C711FCF2504B@USMBX1.msg.corp.akamai.com>
References: <239D7A53E5B17B4BB20795A7977613A40207DB59F189@CROEXCFWP04.gemalto.com> <9cb524b6-c260-484e-bf44-45d52e7319a1@email.android.com> <CF522EF0.19491%kenny.paterson@rhul.ac.uk> <532D99CA.10405@cs.tcd.ie> <CF535271.19584%kenny.paterson@rhul.ac.uk> <2A0EFB9C05D0164E98F19BB0AF3708C711FCF2504B@USMBX1.msg.corp.akamai.com>
Date: Sat, 22 Mar 2014 14:11:51 -0700
Message-ID: <CACsn0ck3FY1Pro-zASvcPXO1sjTs3LSNtS9z8aofx2j-e_xQsQ@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/1ze-clcWMGYi_1FmPyRDVuGKKyo
Cc: "Virginie.GALINDO@gemalto.com" <Virginie.GALINDO@gemalto.com>, "cfrg@irtf.org" <cfrg@irtf.org>, "saag@ietf.org" <saag@ietf.org>
Subject: Re: [Cfrg] pkcs#1v1.5 (was: Re: [saag] Fwd: W3C Web Crypto API - moving to Last Call)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Mar 2014 21:11:55 -0000

On Sat, Mar 22, 2014 at 11:30 AM, Salz, Rich <rsalz@akamai.com> wrote:
>> I agree, this is important. But putting the already broken schemes in a =
new standard does not seem helpful in that regard.
>
> It's a  new API.  It's not a standardization of something that already ex=
ists, it's a brand new whole-cloth invention of something that did not exis=
t before.  And yet, we're going to allow developers to create broken data. =
 "Does not seem helpful" is really understatement.
>
> Perhaps they can create read-only bindings for these insecure structures?
>
> Perhaps, as a gedanken experiment, I can propose a generalization of the =
symmetric encryption algorithm rot-13, which has a huge historical legacy v=
ia Usenet? The security considerations are pretty simple: "do not choose nu=
mber of rounds (n) and shift size (s) such that n*s is zero mod 26."  That =
would seem to meet all the requirements of the current draft.

Let's be even clearer: there is no reason why crypto_box(pubkey,
seckey, message, nonce, assoc_data) cannot be provided in the API as a
safe combination of the primitives already existing, but the current
draft ignores what application developers actually want. By providing
subtle_crypto the authors are saying that PKCS 1.5 and AES-CBC aren't
problems, but AES-CTR is. (This is actually said in the current
draft). By failing to provide a safe alternative to roll your own,
they are asking developers who don't know anything about crypto to
play a Choose-Your-Own-Adventure novel where most paths end with
death.

This is the wrong approach to take. If the current draft is
implemented, expect thousands of of badly broken applications to be
built on top if it. It should be difficult to do the wrong thing, and
easy to do the right thing, but this API takes the opposite approach.

Sincerely,
Watson Ladd
>
>         /r$
>
> --
> Principal Security Engineer
> Akamai Technology
> Cambridge, MA
>
> _______________________________________________
> 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 Sun Mar 23 14:13:25 2014
Return-Path: <housley@vigilsec.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 430DD1A09F8 for <cfrg@ietfa.amsl.com>; Sun, 23 Mar 2014 14:13:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.13
X-Spam-Level: 
X-Spam-Status: No, score=-101.13 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_SORBS_WEB=0.77, USER_IN_WHITELIST=-100] 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 bAcBsky3ikTJ for <cfrg@ietfa.amsl.com>; Sun, 23 Mar 2014 14:13:21 -0700 (PDT)
Received: from odin.smetech.net (mail.smetech.net [209.135.209.4]) by ietfa.amsl.com (Postfix) with ESMTP id 9A4641A09EA for <cfrg@irtf.org>; Sun, 23 Mar 2014 14:13:21 -0700 (PDT)
Received: from localhost (unknown [209.135.209.5]) by odin.smetech.net (Postfix) with ESMTP id 405589A43C1; Sun, 23 Mar 2014 17:13:11 -0400 (EDT)
X-Virus-Scanned: amavisd-new at smetech.net
Received: from odin.smetech.net ([209.135.209.4]) by localhost (ronin.smeinc.net [209.135.209.5]) (amavisd-new, port 10024) with ESMTP id j+isN7TjGK83; Sun, 23 Mar 2014 17:12:47 -0400 (EDT)
Received: from [192.168.5.215] (unknown [61.8.225.37]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by odin.smetech.net (Postfix) with ESMTP id 707DB9A43B5; Sun, 23 Mar 2014 17:12:45 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1085)
Content-Type: text/plain; charset=us-ascii
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <CF535271.19584%kenny.paterson@rhul.ac.uk>
Date: Sun, 23 Mar 2014 17:12:36 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <14C0D5FC-4878-4E9D-85CA-C57CC77CB9AD@vigilsec.com>
References: <239D7A53E5B17B4BB20795A7977613A40207DB59F189@CROEXCFWP04.gemalto.com> <9cb524b6-c260-484e-bf44-45d52e7319a1@email.android.com> <CF522EF0.19491%kenny.paterson@rhul.ac.uk> <532D99CA.10405@cs.tcd.ie> <CF535271.19584%kenny.paterson@rhul.ac.uk>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
X-Mailer: Apple Mail (2.1085)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/M8ms6k0_JSIsWy4pRrpLV1trF78
Cc: Virginie.GALINDO@gemalto.com, IRTF CFRG <cfrg@irtf.org>, IETF SAAG <saag@ietf.org>
Subject: Re: [Cfrg] pkcs#1v1.5
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 23 Mar 2014 21:13:24 -0000

{top post}

Last December, on two separate SAAG mail list threads, I suggested that =
we begin the migration to RSA-OAEP and RSA-PSS.  I have copied the first =
message in each of those threads below to save folks time with the mail =
archive search.  I continue to believe that we should begin this =
migration.

It takes a really long time to make such a transition.  Let's get =
started today.

Russ

=3D =3D =3D =3D =3D =3D =3D =3D =3D

From: Russ Housley <housley@vigilsec.com>
Date: December 4, 2013 5:40:33 AM EST
To: IETF SAAG <saag@ietf.org>
Subject: [saag] RSA-OAEP

We have known for a very long time that PKCS #1 Version 1.5 (see RFC =
2313) key transport is vulnerable to adaptive chosen ciphertext attacks. =
 Exploitation reveals the result of a particular RSA decryption, =
requires access to an oracle which will respond to a hundreds of =
thousands of ciphertexts, which are constructed adaptively in response =
to previously-received replies providing information on the successes or =
failures of attempted decryption operations.  As a result, the attack =
appears significantly less feasible in store-and-forward environments =
than interactive ones.

PKCS #1 Version 2.0 and Version 2.1 (see RFC 3447) include RSA-OAEP to =
address this situation, but we have seen very little movement toward =
RSA-OAEP.  While we are reviewing algorithm choices in light of the =
pervasive surveillance situation, I think we should take the time to =
address known vulnerabilities like this one.  If we don't, then we are =
leaving an partially open door for a well funded attacker.

Russ

=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D=20

From: Russ Housley <housley@vigilsec.com>
Date: December 4, 2013 6:04:57 AM EST
To: IETF SAAG <saag@ietf.org>
Subject: [saag] RSA-PSS

We have known for a very long time that PKCS #1 Version 1.5 (see RFC =
2313) signature is more fragile than we might like.  PKCS #1 Version 1.5 =
signatures were developed in an ad hoc manner; RSASSA-PSS as specified =
in PKCS #1 Version 2.1 (see RFC 3447) was developed based on =
mathematical foundations.

I am aware of two attacks against PKCS #1 Version 1.5 implementations:

First, the Bleichenbacher attack against implementations.  In this =
attack, implementations do not calculate the length of the padding, but =
rather scan the 0xff at the beginning until they find a 0x00 byte.  =
Also, a small RSA exponent (for example e=3D3).

Second, fault-based attacks described by Boneh and others.  By injecting =
random faults into the RSA calculations, the attacker is able to =
regenerate the private key from the knowledge of faulty signatures.

RSA-PSS offers significant improvement against both of these attacks.

We have seen very little movement toward RSA-PSS.  While we are =
reviewing algorithm choices in light of the pervasive surveillance =
situation, I think we should take the time to consider improvements in =
our algorithm choices.

Russ

=3D =3D =3D =3D =3D =3D =3D =3D =3D


On Mar 22, 2014, at 11:09 AM, Paterson, Kenny wrote:

> Hi
>=20
> On 22/03/2014 14:10, "Stephen Farrell" <stephen.farrell@cs.tcd.ie> =
wrote:
>>=20
>> Hi Kenny,
>>=20
>> On 03/21/2014 06:15 PM, Paterson, Kenny wrote:
>>> Hi Stephen,
>>>=20
>>> [Cross-posting to CFRG, since it seems relevant]
>>=20
>> [reducing back to saag, see below for why:-) ]
>=20
> [re-cross-posting to cfrg, see below for why]
>=20
>>=20
>>> Tibor Jager, Juarj Somorovsky and I sent this team feedback some
>>> time ago about the undesirability of standardising already-broken
>>> algorithms and modes (e.g. PKCS#1v1.5 encryption, CBC-mode
>>> encryption with no integrity protection).
>>=20
>> Not sure I'd agree with "broken" there, other than from a theoretical
>> POV. Old/weaker/sniffy and not state-of-the-art would be fair though.
>> In any case, yes, there's better crypto primitives to be used.
>=20
> Well, unauthenticated encryption (e.g. CBC mode) has been broken *in
> practice* in many real-world systems, including, for example IPsec
> (starting with Bellovin's work, but reaching its nadir in my work with
> Degabriele from IEEE S&P 2007) and XML encryption (Jager and =
Somorovsky,
> ACM-CCS 2011).=20
>=20
> The Bleichenbacher "million message" attack against PKCS#1v1.5 =
encryption
> was significantly improved in a paper at Crypto 2012 by Bardou et al., =
and
> applied to a variety of security tokens and a fielded HSM. Practical
> attacks against XML encryption based on the known weaknesses in =
PKCS#1v1.5
> were demonstrated by Jager et al at ESORICS 2012.
>=20
> So several of the schemes being proposed for standardisation for =
general
> purpose use in this WebCrypto standard have already been broken *in
> practice* and *several times over*. It seems foolhardy to be including
> them in a new standard, irrespective of the "facts on the ground"
> concerning their deployment.
>=20
>=20
>> But there's an ongoing topic here that might be worth a thread - how =
to
>> move beyond pkcs#1v1.5 and other mechanisms with known crypto issues
>> (whether currently practical or not) but where there's *huge*
>> deployment and many many implementations in use in the wild on all
>> sorts of platforms.
>=20
> I agree, this is important. But putting the already broken schemes in =
a
> new standard does not seem helpful in that regard.
>=20
>> I don't know how we can improve that situation (since a lot of this =
is
>> not controlled by the IETF or W3C) but I do know a lot of security
>> folks would like it if we could.
>>=20
>> Unfortunately, history seems to show that it requires a very-near-
>> practical break before implementations and deployments will change in
>> sufficient numbers. And maybe it also requires the non-existence of
>> a band-aid that can be applied at another protocol or s/w layer.
>=20
> And what a sad state of affairs that is.
>=20
> The history of, for example, chained IVs in SSL/TLS should be salutary
> lesson in the folly of this approach. There, Rogaway already presented =
a
> theoretical attack in 1995. It was explained how this could be =
exploited
> to recover plaintext in 2006 by Bard, but without a working attack.
> Finally, the SSL/TLS community got its backside badly bitten by BEAST =
in
> 2011, which basically took Bard's attack and showed how to realise it =
in
> the web setting. Cue much panic and hand-wringing. Well, everybody was
> warned...
>=20
>> And of course this problem is really nothing to do with the crypto
>> but is all about implementations and deployments. (Hence dropping
>> cfrg cross-post:-)
>=20
> These issues should be a first class concern for cfrg. There are =
serious
> research questions at stake here. Like: how do we build =
developer-proof
> APIs; how do we retire protocols, modes, algorithms which are showing
> signs of weakness; how do we automatically find crypto bugs, side
> channels, and the like, and eliminate them.
>=20
>>=20
>> But ideas welcome...
>=20
> Here's one idea: make sure that a new standard does not include broken
> algorithms and modes. Then, to be able to claim compliance with the
> standard, existing deployments will have to get their house in order.
>=20
> Here's another: let's set up an aggressive timescale for deprecation =
of
> SSLv3, TLS 1.0 and TLS 1.1.
>=20
>>=20
>> Cheers,
>> S.
>>=20
>> PS: On the w3c spec: yes, it'd seem entirely reasonable to warn about
>> known issues and e.g. say that we do expect to move away from these =
at
>> some point. That's a good comment. I'm surprised if they blew that
>> off.
>=20
> They seem to have pretty much blown it off. Check out the =
specification's
> security considerations section:
>=20
> http://www.w3.org/TR/WebCryptoAPI/#security
>=20
>=20
> "This API includes a variety of cryptographic operations, some of =
which
> may have known security issues when used inappropriately. Application
> developers should take care to review the appropriate cryptographic
> literature before making use of certain algorithms, and should avoid
> attempting to develop new cryptographic protocols whenever possible."
>=20
>=20
> For me, this is not nearly stark or specific enough. What is the =
average
> developer meant to make of it?
>=20
> Cheers
>=20
> Kenny
>=20
>=20
>>=20
>>>=20
>>> On 21/03/2014 17:54, "Stephen Farrell" <stephen.farrell@cs.tcd.ie>
>>> wrote:
>>>=20
>>>> -------- Original Message --------
>>>> From: GALINDO Virginie <Virginie.GALINDO@gemalto.com>
>>>> Sent: 21 March 2014 17:10:45 GMT+00:00
>>>> To: Jim Schaad <ietf@augustcellars.com>, "odonoghue@isoc.org"
>>>> <odonoghue@isoc.org>, "stephen.farrell@cs.tcd.ie"
>>>> <stephen.farrell@cs.tcd.ie>, "Kathleen.Moriarty.ietf@gmail.com"
>>>> <Kathleen.Moriarty.ietf@gmail.com>
>>>> Cc: Harry Halpin <hhalpin@w3.org>, "wseltzer@w3.org" =
<wseltzer@w3.org>
>>>> Subject: W3C Web Crypto API - moving to Last Call
>>>>=20
>>>> Hi IETF and JOSE team,
>>>>=20
>>>>=20
>>>>=20
>>>> The Web Cryptography Working Group has decided to go to Last Call =
for
>>>> the
>>>> Web Cryptography API next week. We'd like to make sure your group =
has
>>>> enough time to review the specification. Is four weeks enough time? =
If
>>>> I
>>>> don't hear back from you, I am going to assume it is enough time. =
Our
>>>> latest draft is here:
>>>>=20
>>>>=20
>>>>=20
>>>> =
https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html
>>>>=20
>>>>=20
>>>>=20
>>>> Regards,
>>>>=20
>>>> Virginie Galindo
>>>>=20
>>>> Gemalto
>>>>=20
>>>> chair of W3C web crypto wg
>>>>=20
>>>=20
>>>=20
>>> Tibor Jager, Juarj Somorovsky and I sent this team feedback some =
time
>>> ago
>>> about the undesirability of standardising already-broken algorithms =
and
>>> modes (e.g. PKCS#1v1.5 encryption, CBC-mode encryption with no =
integrity
>>> protection).=20
>>>=20
>>> This was in response to a request for feedback from CFRG. We gave =
them
>>> chapter and verse (and citations) about why this is generally a BAD
>>> IDEA:
>>>=20
>>> =
http://lists.w3.org/Archives/Public/public-webcrypto/2012Sep/0186.html
>>>=20
>>> The broken algorithms and modes are still in the Web Crypto =
document.
>>> Moreover, there are no relevant warnings about these broken =
algorithms
>>> and
>>> modes in the "security considerations" section of the current Web =
Crypto
>>> draft.
>>>=20
>>> Needless to say, I'm not minded to provide any more free advice to =
this
>>> group.
>>>=20
>>> Cheers,
>>>=20
>>> Kenny=20


From nobody Mon Mar 24 07:00:39 2014
Return-Path: <Johannes.Merkle@secunet.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 6ECF41A021F for <cfrg@ietfa.amsl.com>; Mon, 24 Mar 2014 07:00:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.711
X-Spam-Level: 
X-Spam-Status: No, score=-0.711 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RCVD_IN_DNSWL_LOW=-0.7, T_RP_MATCHES_RCVD=-0.01] autolearn=unavailable
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i37oEelpvdWD for <cfrg@ietfa.amsl.com>; Mon, 24 Mar 2014 07:00:35 -0700 (PDT)
Received: from a.mx.secunet.com (a.mx.secunet.com [195.81.216.161]) by ietfa.amsl.com (Postfix) with ESMTP id DC6301A021B for <cfrg@irtf.org>; Mon, 24 Mar 2014 07:00:33 -0700 (PDT)
Received: from localhost (alg1 [127.0.0.1]) by a.mx.secunet.com (Postfix) with ESMTP id 50A8E1A00AA; Mon, 24 Mar 2014 15:00:32 +0100 (CET)
X-Virus-Scanned: by secunet
Received: from a.mx.secunet.com ([127.0.0.1]) by localhost (a.mx.secunet.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BAkf-DaLzcEA; Mon, 24 Mar 2014 15:00:30 +0100 (CET)
Received: from mail-gw-int (unknown [10.53.40.207]) by a.mx.secunet.com (Postfix) with ESMTP id B4D0F1A00A8; Mon, 24 Mar 2014 15:00:30 +0100 (CET)
Received: from [10.53.40.204] (port=10810 helo=mail-essen-01.secunet.de) by mail-gw-int with esmtp (Exim 4.80 #2 (Debian)) id 1WS5J7-0007Jx-NN; Mon, 24 Mar 2014 14:52:53 +0100
Received: from [10.208.1.57] (10.208.1.57) by mail-essen-01.secunet.de (10.53.40.204) with Microsoft SMTP Server (TLS) id 14.3.174.1; Mon, 24 Mar 2014 15:00:30 +0100
Message-ID: <53303A7D.9010304@secunet.com>
Date: Mon, 24 Mar 2014 15:00:29 +0100
From: Johannes Merkle <johannes.merkle@secunet.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: Russ Housley <housley@vigilsec.com>, "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>, IRTF CFRG <cfrg@irtf.org>
References: <239D7A53E5B17B4BB20795A7977613A40207DB59F189@CROEXCFWP04.gemalto.com> <9cb524b6-c260-484e-bf44-45d52e7319a1@email.android.com> <CF522EF0.19491%kenny.paterson@rhul.ac.uk> <532D99CA.10405@cs.tcd.ie> <CF535271.19584%kenny.paterson@rhul.ac.uk> <14C0D5FC-4878-4E9D-85CA-C57CC77CB9AD@vigilsec.com>
In-Reply-To: <14C0D5FC-4878-4E9D-85CA-C57CC77CB9AD@vigilsec.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.208.1.57]
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/NSntLaf7IO0TF-yQy1UmSpthWSw
Cc: IETF SAAG <saag@ietf.org>
Subject: Re: [Cfrg] pkcs#1v1.5
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 24 Mar 2014 14:00:37 -0000

6 months ago, I raised the question on the tls mailing list, if we shouldn't allow usage of RSA-PSS signatures in TLS.
There was almost no support for that idea and the arguments I faced were
 - The need to support both legacy RSA and RSA-PSS introduces considerable complexity, in particular, if we try to reuse
existing cipher suites
 - PSS doesn't give much benefit over PKCS#1v1.5. As Peter Gutmann put it: "I know
it's *theoretically* better, but unless you do -1.5 really badly there's no
practical weakness that would encourage an upgrade."

I was told that there was an attempt, some years ago, to mandate RSA-PSS for certificates.  It was met with pretty much
universal rejection, to the extent that people would probably ignore the requirement even if it was made a MUST in the
spec and as a result was dropped.

Clearly the issue with PKCS#1v1.5 encryption is worse, so there might be more urge to migrate to OAEP. As development of
TLS 1.3 is just about to start, this might be the right time.

Johannes


Russ Housley schrieb am 23.03.2014 22:12:
> {top post}
> 
> Last December, on two separate SAAG mail list threads, I suggested that we begin the migration to RSA-OAEP and RSA-PSS.  I have copied the first message in each of those threads below to save folks time with the mail archive search.  I continue to believe that we should begin this migration.
> 
> It takes a really long time to make such a transition.  Let's get started today.
> 
> Russ
> 
> = = = = = = = = =
> 
> From: Russ Housley <housley@vigilsec.com>
> Date: December 4, 2013 5:40:33 AM EST
> To: IETF SAAG <saag@ietf.org>
> Subject: [saag] RSA-OAEP
> 
> We have known for a very long time that PKCS #1 Version 1.5 (see RFC 2313) key transport is vulnerable to adaptive chosen ciphertext attacks.  Exploitation reveals the result of a particular RSA decryption, requires access to an oracle which will respond to a hundreds of thousands of ciphertexts, which are constructed adaptively in response to previously-received replies providing information on the successes or failures of attempted decryption operations.  As a result, the attack appears significantly less feasible in store-and-forward environments than interactive ones.
> 
> PKCS #1 Version 2.0 and Version 2.1 (see RFC 3447) include RSA-OAEP to address this situation, but we have seen very little movement toward RSA-OAEP.  While we are reviewing algorithm choices in light of the pervasive surveillance situation, I think we should take the time to address known vulnerabilities like this one.  If we don't, then we are leaving an partially open door for a well funded attacker.
> 
> Russ
> 


From nobody Mon Mar 24 07:09:58 2014
Return-Path: <hanno@hboeck.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 2375E1A0218 for <cfrg@ietfa.amsl.com>; Mon, 24 Mar 2014 07:09:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.399
X-Spam-Level: *
X-Spam-Status: No, score=1.399 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, MANGLED_BACK=2.3, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, 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 cMhwagO-D_4f for <cfrg@ietfa.amsl.com>; Mon, 24 Mar 2014 07:09:54 -0700 (PDT)
Received: from zucker.schokokeks.org (zucker.schokokeks.org [178.63.68.96]) by ietfa.amsl.com (Postfix) with ESMTP id 42E321A0213 for <cfrg@irtf.org>; Mon, 24 Mar 2014 07:09:54 -0700 (PDT)
Received: from localhost (91-66-83-91-dynip.superkabel.de [::ffff:91.66.83.91]) (AUTH: LOGIN hanno-default@schokokeks.org, TLS: TLSv1/SSLv3, 128bits, AES128-GCM-SHA256) by zucker.schokokeks.org with ESMTPSA; Mon, 24 Mar 2014 15:09:52 +0100 id 0000000000020006.0000000053303CB0.000071DE
Date: Mon, 24 Mar 2014 15:09:11 +0100
From: Hanno =?UTF-8?B?QsO2Y2s=?= <hanno@hboeck.de>
To: cfrg@irtf.org
Message-ID: <20140324150911.298a86c0@hboeck.de>
In-Reply-To: <53303A7D.9010304@secunet.com>
References: <239D7A53E5B17B4BB20795A7977613A40207DB59F189@CROEXCFWP04.gemalto.com> <9cb524b6-c260-484e-bf44-45d52e7319a1@email.android.com> <CF522EF0.19491%kenny.paterson@rhul.ac.uk> <532D99CA.10405@cs.tcd.ie> <CF535271.19584%kenny.paterson@rhul.ac.uk> <14C0D5FC-4878-4E9D-85CA-C57CC77CB9AD@vigilsec.com> <53303A7D.9010304@secunet.com>
X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="=_zucker.schokokeks.org-29150-1395670192-0001-2"
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/GBPOCct8wmNLf621YQXtWyHMu4I
Subject: Re: [Cfrg] pkcs#1v1.5
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 24 Mar 2014 14:09:56 -0000

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_zucker.schokokeks.org-29150-1395670192-0001-2
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Mon, 24 Mar 2014 15:00:29 +0100
Johannes Merkle <johannes.merkle@secunet.com> wrote:

> Clearly the issue with PKCS#1v1.5 encryption is worse, so there might
> be more urge to migrate to OAEP. As development of TLS 1.3 is just
> about to start, this might be the right time.

Discussion tends to go in the direction that TLS 1.3 may only support
Forward Secrecy cipher suites (which is imho a good thing).
If I understand the working of TLS correctly in that case
OAEP/encryption is irrelevant and we probably only have PSS/Signatures.

(and I very much support the call for PSS - while it doesn't fix
anything severe, it's much harder to mess things up with PSS)

--=20
Hanno B=C3=B6ck
http://hboeck.de/

mail/jabber: hanno@hboeck.de
GPG: BBB51E42

--=_zucker.schokokeks.org-29150-1395670192-0001-2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBCgAGBQJTMDyHAAoJEKWIAHK7tR5CV+4QAL+FW5p5mr3Z4xWh1yxgaMZ0
c84i6VPu6wXVggE4e71nWJr1Xs8Uu01BhXBE0pwcj2Qp4dTg2HPTPvzMlHVVGkC1
jpAIALMfnhbRWItjfoX1PvWlY2PwYtzsQsDD9dwjLSc8gfLb74JmlH88mFX9DZME
/kJorrBd/OZq+vdEvhbvKRUX1UtmRcn8ZXvpKt7lWChnehb1wqbJgoBS3KdLo79V
kyZq4WpHrIXHD6MmF20UKPztaeKfBBK4uf6cOU2h7bjTiHTjGeb06fKlH8WvHzy5
LzDpmDVjUIrbKYyL0xNqdssOKZ1nTh3hyiisTOdsQCwyNppNEYgFJMW9FKr/jElZ
hJHB5MaPBZdnVo7rZe5AQRbk73MIa2FI0Qr8T6jv3yvNyPScNoZMUx5+yvnLbMa5
48lwwSxItBX1n/y8GP1keVsd+adeJcTvB76f3/E8tKzel/N9uJKlJpTrGG1ZhCv9
l3UqwxAQq8gRoTfy98FQG0/XeAOVLxkxeVnvY0NNgC3aMyWMmxI5neRIeTUFLtyG
9rN9G+hSWrkTm9ikv+OV6UYFLZPEhZlcwbULymkatYNOcBUKBX3hty4gL5YPMe49
TqAMbzl0rDCFOUrzrJDi8BjYVlYfFBYUoe0h//vsmlDxvMPP3vsS8ZBQH7xmJ+9K
VgqljN5z4fJDxhEF93aM
=M+Id
-----END PGP SIGNATURE-----

--=_zucker.schokokeks.org-29150-1395670192-0001-2--


From nobody Tue Mar 25 08:06:57 2014
Return-Path: <ogud@ogud.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 3E0A31A0171 for <cfrg@ietfa.amsl.com>; Tue, 25 Mar 2014 08:06:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.801
X-Spam-Level: 
X-Spam-Status: No, score=0.801 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qaMDUQqsjX6n for <cfrg@ietfa.amsl.com>; Tue, 25 Mar 2014 08:06:38 -0700 (PDT)
Received: from smtp109.ord1c.emailsrvr.com (smtp109.ord1c.emailsrvr.com [108.166.43.109]) by ietfa.amsl.com (Postfix) with ESMTP id F31451A0199 for <Cfrg@irtf.org>; Tue, 25 Mar 2014 08:06:37 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp6.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id C647A9907B; Tue, 25 Mar 2014 11:06:36 -0400 (EDT)
X-Virus-Scanned: OK
Received: by smtp6.relay.ord1c.emailsrvr.com (Authenticated sender: ogud-AT-ogud.com) with ESMTPSA id 44D5399714;  Tue, 25 Mar 2014 11:06:35 -0400 (EDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_78F08D8E-277C-4911-976A-7A6702BC43DC"
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Olafur Gudmundsson <ogud@ogud.com>
In-Reply-To: <76BCE1CF-3E3F-445B-8C73-4BD7240D2DA9@shiftleft.org>
Date: Tue, 25 Mar 2014 11:06:34 -0400
Message-Id: <25028B84-1627-4DB1-999A-22C994FC823A@ogud.com>
References: <52D928A1.6070201@cs.tcd.ie> <3851D33B-3201-498C-84E1-AAD2FAA0418A@ogud.com> <29B8E8B0-AB73-4705-B623-20EDD6B63FA6@shiftleft.org> <6B774F8B-A3FF-4DAF-BA9E-FB313E8E6D62@ogud.com> <76BCE1CF-3E3F-445B-8C73-4BD7240D2DA9@shiftleft.org>
To: Michael Hamburg <mike@shiftleft.org>
X-Mailer: Apple Mail (2.1510)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/xES-16G3DaeE6fmrxJWv27WDWW4
Cc: Cfrg@irtf.org
Subject: Re: [Cfrg] Validation performance Re:  new curves vs. algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Mar 2014 15:06:43 -0000

--Apple-Mail=_78F08D8E-277C-4911-976A-7A6702BC43DC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


On Mar 21, 2014, at 6:16 PM, Michael Hamburg <mike@shiftleft.org> wrote:

>=20
> On Mar 21, 2014, at 12:00 PM, Olafur Gudmundsson <ogud@ogud.com> =
wrote:
>=20
>>=20
>> On Mar 21, 2014, at 2:29 PM, Michael Hamburg <mike@shiftleft.org> =
wrote:
>>=20
>>> * How frequently will implementations be verifying multiple =
signatures simultaneously?
>> as in signatures by the same key at the same time?  almost never=20
>=20
> It=92s not necessary for them to be with the same key.  Over the same =
curve is enough for batching.
> Bernstein even argues that you could have one thread acting as a batch =
ECC server and just doing
> 64 verifies at a time.  But that might not be acceptable here, because =
it trades latency for throughput.
>=20
> In your example, if all those sigs come in simultaneously, then you =
can batch all the ECC ones which
> share a curve.  But if the validator is checking each DS before doing =
the next lookup, then the
> opportunities for batching will be limited.
>=20
> Anyway, there are two different optimizations:
> * Validating multiple signatures at the same time, if they=92re over =
the same curve.
> * Validating multiple signatures, not necessarily at the same time, if =
they=92re done with the same key.
>=20
> Validating multiple signatures at the same time with the same key =
ought to be even faster, but
> like you said, that doesn=92t come up very often.


When I read this I translated it to "By having fewer curves =
opportunities for faster verification increase"=20
which is another argument for my tirade on dnsop mailing list against =
adding 3 brain pool curves to DNSSEC
algorithm list.=20

>=20
>>> As for verification with precomputation, consider the following =
benchmarks from my laptop.
>>> RSA OpenSSL 1.0.1f:
>>>                   sign    verify    sign/s verify/s
>>> rsa 1024 bits 0.000155s 0.000012s   6443.4  84645.8
>>> rsa 2048 bits 0.001172s 0.000036s    853.1  27954.7
>>>=20
>>> 252-bit =93Montgomery Station=94 curve, measurements in milliseconds =
and cycles:
>>> Keygen                        0.013ms,   40812
>>> Sign                          0.014ms,   45763
>>> Verify                 PASS   0.047ms,  155313
>>> Precompute             PASS   0.061ms,  201570
>>> Verify pre             PASS   0.016ms,   53747
>>> Compute shared secret  PASS   0.042ms,  136256
>>>=20
>>> So verification takes 47=B5s, vs 36=B5s with RSA-2048.  But if a key =
is used frequently, then a
>>> 61=B5s precomputation using 7.5kiB of RAM will drop the verification =
time to 16=B5s, which is
>>> indeed faster than RSA.  Additionally, with a curve like this, =
signatures are 64 bytes instead
>>> of 256 bytes.  If your client is verifying and has a 24 megabit =
link, then this difference is
>>> worth 64 microseconds by itself, which is more time than either =
algorithm takes to verify.
>>=20
>> For DNS operators that have high load link speed is not an issue.=20
>> This curve is good news,  but you raise a new question can the key be=20=

>> represented on the wire in such a way that the pre computation is not =
needed ?=20
>> Same question for the signatures ?=20
>=20
> Sort of.  It=92s a time/memory tradeoff.  The numbers there are for =
7.5kiB precomputed tables.  But
> doubling or quadding or octing the key size (octing would make it 2048 =
bits) might make a
> noticeable difference, either by enabling this table optimization or =
just by avoiding decompression.

What I meant if the compression/ease-of-use format adds few bytes (like =
<=3D 8) then it might be worth it
once the keys become RSA size i.e. over 1024 bits then it is not worth =
it .=20


>=20
> Surely link speed matters to some degree.  Even on a gigabit link, =
7.5GiB is still a microsecond,
> plus it slows down all the traffic on that link.
>=20
> Anyway, I dunno if it=92s this curve in particular that=92s good news. =
 It=92s not that much faster than
> curve25519, and if you want a fancy superfast curve that=92s not in =
widespread use, one of the
> GLS/GLV curves will have faster verifies.

>> In a paper that I read by DJB he argued for compressing keys and =
signatures, but for=20
>> high-speed-low-latency use the tradeoff between size and speed might =
be different.=20
>=20
> Yeah, it might be worth not compressing keys, or even expanding them =
if GLS/GLV isn=92t in play.
>=20
>>> This is also not the fastest curve in the world, it=92s just a =
project I had lying around.  GLS/GLV-
>>> flavored curves are faster, at least if you don=92t have =
precomputation.  The math for this curve,
>>> like with most curves, supports batch verification, but I haven=92t =
coded it up (I think only
>>> Ed25519 actually implements this).
>>>=20
>>> So in sum, I hope that any new 256-ish-bit curve will perform =
comparably to RSA-2048 for
>>> verification, though the exact details will depend on the =
implementation and on whether keys
>>> are reused.  ECC will also have smaller signatures and faster (and =
possibly precomputable)
>>> signing.
>>>=20
>>=20
>> I hope that we can find signature curves that make RSA redundant in =
any use, as that=20
>> helps overcome UDP packet size limits we are dealing with.=20
>>=20
>> The reason I posted my message was the desire to inject real work =
needs into the discussions
>> and make crypto people aware that "strength" and "size" are not only =
important issues in selecting a
>> good curve.=20
>=20
>=20
> I think that people are focused on a stronger curve at the moment =
because there are a
> ton of fast 256-ish-bit curves, and Curve25519 is good for almost =
everything at that strength.
>=20
> Consider, for example, http://bench.cr.yp.to/results-dh.html.  Pretty =
much all of those curves are
> ~256 bits.
>=20

Thanks for the link that is lots of info, it is going to take a while =
for me to digest that.=20

	Olafur


--Apple-Mail=_78F08D8E-277C-4911-976A-7A6702BC43DC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Mar 21, 2014, at 6:16 PM, Michael Hamburg &lt;<a =
href=3D"mailto:mike@shiftleft.org">mike@shiftleft.org</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"><div style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;"><br><div><div>On Mar 21, 2014, at 12:00 PM, Olafur =
Gudmundsson &lt;<a href=3D"mailto:ogud@ogud.com">ogud@ogud.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br =
class=3D"Apple-interchange-newline">On Mar 21, 2014, at 2:29 PM, Michael =
Hamburg &lt;<a =
href=3D"mailto:mike@shiftleft.org">mike@shiftleft.org</a>&gt; =
wrote:</div><div style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;"><br></div><div style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;"><blockquote type=3D"cite"><div style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">* How =
frequently will implementations be verifying multiple signatures =
simultaneously?</div></blockquote>as in signatures by the same key at =
the same time? &nbsp;almost =
never&nbsp;</div></blockquote><div><br></div><div>It=92s not necessary =
for them to be with the same key. &nbsp;Over the same curve is enough =
for batching.</div><div>Bernstein even argues that you could have one =
thread acting as a batch ECC server and just doing</div><div>64 verifies =
at a time. &nbsp;But that might not be acceptable here, because it =
trades latency for throughput.</div><div><br></div><div>In your example, =
if all those sigs come in simultaneously, then you can batch all the ECC =
ones which</div><div>share a curve. &nbsp;But if the validator is =
checking each DS before doing the next lookup, then =
the</div><div>opportunities for batching will be =
limited.</div><div><br></div><div>Anyway, there are two different =
optimizations:</div><div>* Validating multiple signatures at the same =
time, if they=92re over the same curve.</div><div>* Validating multiple =
signatures, not necessarily at the same time, if they=92re done with the =
same key.</div><div><br></div><div>Validating multiple signatures at the =
same time with the same key ought to be even faster, but</div><div>like =
you said, that doesn=92t come up very =
often.</div></div></div></blockquote><div><br></div><div><br></div>When =
I read this I translated it to "By having fewer curves opportunities for =
faster verification increase"&nbsp;</div><div>which is another argument =
for my tirade on dnsop mailing list against adding 3 brain pool curves =
to DNSSEC</div><div>algorithm list.&nbsp;</div><div><br><blockquote =
type=3D"cite"><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; -webkit-line-break: after-white-space;"><div><br><blockquote =
type=3D"cite"><div style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;"><blockquote type=3D"cite"><div style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;"><div>As for verification with precomputation, =
consider the following benchmarks from my laptop.</div><div>RSA OpenSSL =
1.0.1f:</div><div><div style=3D"margin: 0px; font-size: 10px; =
font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, =
0, 0);">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp;&nbsp;sign&nbsp; &nbsp; verify&nbsp; &nbsp; sign/s =
verify/s</div><div style=3D"margin: 0px; font-size: 10px; font-family: =
Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);"><div =
style=3D"margin: 0px;">rsa 1024 bits 0.000155s 0.000012s &nbsp; =
6443.4&nbsp; 84645.8</div></div><div style=3D"margin: 0px; font-size: =
10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: =
rgb(0, 0, 0);">rsa 2048 bits 0.001172s 0.000036s&nbsp; &nbsp; =
853.1&nbsp; 27954.7</div></div><div><br></div><div>252-bit =93Montgomery =
Station=94 curve, measurements in milliseconds and =
cycles:</div><div><div style=3D"margin: 0px; font-size: 10px; =
font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, =
0, 0);">Keygen&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; 0.013ms, &nbsp; 40812</div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);">Sign&nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; 0.014ms, &nbsp; 45763</div><div style=3D"margin: 0px; font-size: =
10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: =
rgb(0, 0, 0);">Verify &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; PASS &nbsp; 0.047ms,&nbsp; 155313</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);">Precompute &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; PASS &nbsp; 0.061ms,&nbsp; 201570</div><div style=3D"margin:=
 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);">Verify pre &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; PASS &nbsp; 0.016ms, &nbsp; 53747</div><div style=3D"margin:=
 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);">Compute shared secret&nbsp; PASS &nbsp; =
0.042ms,&nbsp; 136256</div></div><div><br></div><div>So verification =
takes 47=B5s, vs 36=B5s with RSA-2048. &nbsp;But if a key is used =
frequently, then a</div><div>61=B5s precomputation using 7.5kiB of RAM =
will drop the verification time to 16=B5s, which is</div><div>indeed =
faster than RSA. &nbsp;Additionally, with a curve like this, signatures =
are 64 bytes instead</div><div>of 256 bytes. &nbsp;If your client is =
verifying and has a 24 megabit link, then this difference =
is</div><div>worth 64 microseconds by itself, which is more time than =
either algorithm takes to =
verify.</div></div></blockquote><div><br></div><div>For DNS operators =
that have high load link speed is not an issue.&nbsp;</div>This curve is =
good news, &nbsp;but you raise a new question can the key =
be&nbsp;</div><div style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;">represented on the wire in such a way that the pre computation is =
not needed ?&nbsp;</div><div style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Same =
question for the signatures =
?&nbsp;</div></blockquote><div><br></div><div>Sort of. &nbsp;It=92s a =
time/memory tradeoff. &nbsp;The numbers there are for 7.5kiB precomputed =
tables. &nbsp;But</div><div>doubling or quadding or octing the key size =
(octing would make it 2048 bits) might make a</div><div>noticeable =
difference, either by enabling this table optimization or just by =
avoiding =
decompression.</div></div></div></blockquote><div><br></div>What I meant =
if the compression/ease-of-use format adds few bytes (like &lt;=3D 8) =
then it might be worth it</div><div>once the keys become RSA size i.e. =
over 1024 bits then it is not worth it =
.&nbsp;</div><div><br></div><div><br></div><div><blockquote =
type=3D"cite"><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; -webkit-line-break: =
after-white-space;"><div><div><br></div><div>Surely link speed matters =
to some degree. &nbsp;Even on a gigabit link, 7.5GiB is still a =
microsecond,</div><div>plus it slows down all the traffic on that =
link.</div><div><br></div><div>Anyway, I dunno if it=92s this curve in =
particular that=92s good news. &nbsp;It=92s not that much faster =
than</div><div>curve25519, and if you want a fancy superfast curve =
that=92s not in widespread use, one of the</div><div>GLS/GLV curves will =
have faster =
verifies.</div></div></div></blockquote><div><br></div><blockquote =
type=3D"cite"><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; -webkit-line-break: after-white-space;"><div><blockquote =
type=3D"cite"><div style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">In a =
paper that I read by DJB he argued for compressing keys and signatures, =
but for&nbsp;</div><div style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;">high-speed-low-latency use the tradeoff between size and speed =
might be different.&nbsp;</div></blockquote><div><br></div>Yeah, it =
might be worth not compressing keys, or even expanding them if GLS/GLV =
isn=92t in play.<br><br></div></div></blockquote><blockquote =
type=3D"cite"><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; -webkit-line-break: after-white-space;"><div><blockquote =
type=3D"cite"><div style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;"><blockquote type=3D"cite"><div style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;"><div>This is also not the fastest curve in the =
world, it=92s just a project I had lying around. =
&nbsp;GLS/GLV-</div><div>flavored curves are faster, at least if you =
don=92t have precomputation. &nbsp;The math for this =
curve,</div><div>like with most curves, supports batch verification, but =
I haven=92t coded it up (I think only</div><div>Ed25519 actually =
implements this).</div></div></blockquote><blockquote type=3D"cite"><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space;"><div><br></div><div>So in sum, I =
hope that any new 256-ish-bit curve will perform comparably to RSA-2048 =
for</div><div>verification, though the exact details will depend on the =
implementation and on whether keys</div><div>are reused. &nbsp;ECC will =
also have smaller signatures and faster (and possibly =
precomputable)</div><div>signing.</div><div><br></div></div></blockquote><=
br>I hope that we can find signature curves that make RSA redundant in =
any use, as that&nbsp;</div><div style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;">helps overcome UDP packet size limits we are dealing =
with.&nbsp;</div><div style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;"><br></div><div style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">The =
reason I posted my message was the desire to inject real work needs into =
the discussions</div><div style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">and =
make crypto people aware that "strength" and "size" are not only =
important issues in selecting a</div><div style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;">good =
curve.&nbsp;</div></blockquote></div><div><br></div><div>I think that =
people are focused on a stronger curve at the moment because there are =
a</div><div>ton of fast 256-ish-bit curves, and Curve25519 is good for =
almost everything at that strength.</div><div><br></div><div>Consider, =
for example,&nbsp;<a =
href=3D"http://bench.cr.yp.to/results-dh.html">http://bench.cr.yp.to/resul=
ts-dh.html</a>. &nbsp;Pretty much all of those curves are</div><div>~256 =
bits.</div><div><br></div></div></blockquote><div><br></div>Thanks for =
the link that is lots of info, it is going to take a while for me to =
digest that.&nbsp;</div><div><br></div><div><span class=3D"Apple-tab-span"=
 style=3D"white-space:pre">	=
</span>Olafur</div><div><br></div></body></html>=

--Apple-Mail=_78F08D8E-277C-4911-976A-7A6702BC43DC--


From nobody Tue Mar 25 11:58:29 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 C8E951A0171 for <cfrg@ietfa.amsl.com>; Tue, 25 Mar 2014 11:58:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.557
X-Spam-Level: *
X-Spam-Status: No, score=1.557 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_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 mzzOTIzPgpSk for <cfrg@ietfa.amsl.com>; Tue, 25 Mar 2014 11:58:05 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-157-v301.PUBLIC.monkeybrains.net [199.116.74.157]) by ietfa.amsl.com (Postfix) with ESMTP id A4F921A016F for <Cfrg@irtf.org>; Tue, 25 Mar 2014 11:58:05 -0700 (PDT)
Received: from [10.184.148.249] (w035.z205158021.lax-ca.dsl.cnc.net [205.158.21.35]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id EC8153AA28; Tue, 25 Mar 2014 11:56:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1395773773; bh=teCB9nVMfJpESoPUDg/RL6Uog0ePCq9TWtWgx1sKrH0=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=QIWIZ0kysCsIzBsR69MVuZ4f2yH1CWUk9TIBgeHujMI2SrPF9c7+MlsudzqCHm9Lx Bf9PkUL/12x4KVmVV6AGWO9kgM8m2zTwV90L1rdv7Ey9LgrFs6DU97NrOrPjls2ghA 6ER7wcZMJC995rptCkqzG08LSkHGT6sV8qN7q3m4=
Content-Type: multipart/alternative; boundary="Apple-Mail=_F2CD8CE1-7374-4F86-8CB8-A8EE51C9A714"
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <25028B84-1627-4DB1-999A-22C994FC823A@ogud.com>
Date: Tue, 25 Mar 2014 11:58:02 -0700
Message-Id: <51CD5EAD-2948-4AD7-8D05-94310EA0DE37@shiftleft.org>
References: <52D928A1.6070201@cs.tcd.ie> <3851D33B-3201-498C-84E1-AAD2FAA0418A@ogud.com> <29B8E8B0-AB73-4705-B623-20EDD6B63FA6@shiftleft.org> <6B774F8B-A3FF-4DAF-BA9E-FB313E8E6D62@ogud.com> <76BCE1CF-3E3F-445B-8C73-4BD7240D2DA9@shiftleft.org> <25028B84-1627-4DB1-999A-22C994FC823A@ogud.com>
To: Olafur Gudmundsson <ogud@ogud.com>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/MLKWVA_KM3GEC6QoRsJWrTjPKLE
Cc: Cfrg@irtf.org
Subject: Re: [Cfrg] Validation performance Re:  new curves vs. algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Mar 2014 18:58:06 -0000

--Apple-Mail=_F2CD8CE1-7374-4F86-8CB8-A8EE51C9A714
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


On Mar 25, 2014, at 8:06 AM, Olafur Gudmundsson <ogud@ogud.com> wrote:
> When I read this I translated it to "By having fewer curves =
opportunities for faster verification increase"=20
> which is another argument for my tirade on dnsop mailing list against =
adding 3 brain pool curves to DNSSEC
> algorithm list.=20

It might be hard to hold that line while asking for Curve25519 support, =
but good luck.

> What I meant if the compression/ease-of-use format adds few bytes =
(like <=3D 8) then it might be worth it
> once the keys become RSA size i.e. over 1024 bits then it is not worth =
it .=20

Public keys are 32 bytes and signatures are 64 bytes.  Adding 32 bytes =
to the public key either saves ~5-10% for decompression, or adds ~5-10% =
for a second decompression but saves some amount afterwards.  Adding <=3D =
8 bytes does nothing.  Adding 32 bytes to the signature saves a =
decompression if you=92re batching, but if you aren=92t batching it may =
save less than that.  Altogether, probably not worth it.

> Thanks for the link that is lots of info, it is going to take a while =
for me to digest that.=20
>=20
> 	Olafur

You=92re welcome,
=97 Mike=

--Apple-Mail=_F2CD8CE1-7374-4F86-8CB8-A8EE51C9A714
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;"><br><div><div>On Mar 25, 2014, at 8:06 AM, Olafur =
Gudmundsson &lt;<a href=3D"mailto:ogud@ogud.com">ogud@ogud.com</a>&gt; =
wrote:</div><blockquote type=3D"cite"><div style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;">When I read this I translated it to "By =
having fewer curves opportunities for faster verification =
increase"&nbsp;</div><div style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">which =
is another argument for my tirade on dnsop mailing list against adding 3 =
brain pool curves to DNSSEC</div><div style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;">algorithm list.&nbsp;</div></blockquote><div><br></div><div>It =
might be hard to hold that line while asking for Curve25519 support, but =
good luck.</div><div><br></div><blockquote type=3D"cite"><div =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;">What I meant if the =
compression/ease-of-use format adds few bytes (like &lt;=3D 8) then it =
might be worth it</div><div style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">once =
the keys become RSA size i.e. over 1024 bits then it is not worth it =
.&nbsp;</div></blockquote><div><br></div><div>Public keys are 32 bytes =
and signatures are 64 bytes. &nbsp;Adding 32 bytes to the public key =
either saves ~5-10% for decompression, or adds ~5-10% for a second =
decompression but saves some amount afterwards. &nbsp;Adding &lt;=3D 8 =
bytes does nothing. &nbsp;Adding 32 bytes to the signature saves a =
decompression if you=92re batching, but if you aren=92t batching it may =
save less than that. &nbsp;Altogether, probably not worth =
it.</div><div><br></div><blockquote type=3D"cite"><div =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;">Thanks for the link that is lots =
of info, it is going to take a while for me to digest =
that.&nbsp;</div><div style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;"><br></div><div style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span =
class=3D"Apple-tab-span" style=3D"white-space: pre;">	=
</span>Olafur</div></blockquote></div><br><div>You=92re =
welcome,</div><div>=97 Mike</div></body></html>=

--Apple-Mail=_F2CD8CE1-7374-4F86-8CB8-A8EE51C9A714--


From nobody Wed Mar 26 18:14:19 2014
Return-Path: <housley@vigilsec.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 117581A0413 for <cfrg@ietfa.amsl.com>; Wed, 26 Mar 2014 18:14:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.119
X-Spam-Level: 
X-Spam-Status: No, score=-103.119 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, GB_I_LETTER=-2, HTML_MESSAGE=0.001, RCVD_IN_SORBS_WEB=0.77, T_FILL_THIS_FORM_SHORT=0.01, USER_IN_WHITELIST=-100] 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 SdcaFUtXvwvO for <cfrg@ietfa.amsl.com>; Wed, 26 Mar 2014 18:14:12 -0700 (PDT)
Received: from odin.smetech.net (mail.smetech.net [209.135.209.4]) by ietfa.amsl.com (Postfix) with ESMTP id ED0371A0411 for <cfrg@irtf.org>; Wed, 26 Mar 2014 18:14:11 -0700 (PDT)
Received: from localhost (unknown [209.135.209.5]) by odin.smetech.net (Postfix) with ESMTP id E4AE69A43D6 for <cfrg@irtf.org>; Wed, 26 Mar 2014 21:13:59 -0400 (EDT)
X-Virus-Scanned: amavisd-new at smetech.net
Received: from odin.smetech.net ([209.135.209.4]) by localhost (ronin.smeinc.net [209.135.209.5]) (amavisd-new, port 10024) with ESMTP id yCb60JH7kvs3 for <cfrg@irtf.org>; Wed, 26 Mar 2014 21:13:37 -0400 (EDT)
Received: from [10.59.80.125] (unknown [210.229.158.64]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by odin.smetech.net (Postfix) with ESMTP id C94189A43B9 for <cfrg@irtf.org>; Wed, 26 Mar 2014 21:13:35 -0400 (EDT)
From: Russ Housley <housley@vigilsec.com>
Content-Type: multipart/alternative; boundary=Apple-Mail-10-963779922
Date: Wed, 26 Mar 2014 21:13:27 -0400
References: <9680d8efd9ab4921924086affd648102@BN1PR09MB025.namprd09.prod.outlook.com>
To: IRTF CFRG <cfrg@irtf.org>
Message-Id: <08AC0D85-26E2-4F7E-933F-3F5435EBB27D@vigilsec.com>
Mime-Version: 1.0 (Apple Message framework v1085)
X-Mailer: Apple Mail (2.1085)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/31optSg1dfzMjZwSnDy3DwVnc3k
Subject: [Cfrg] Call for Papers - NIST Workshop on Cybersecurity in a Post-Quantum World
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Mar 2014 01:14:17 -0000

--Apple-Mail-10-963779922
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

FYI.

> From: "Caswell, Sara J." <sara.caswell@nist.gov>
> Date: March 26, 2014 2:47:29 PM EDT
> Subject: Call for Papers- NIST Workshop on Cybersecurity in a =
Post-Quantum World
>=20
> NIST Workshop on Cybersecurity in a Post-Quantum World
> April 2 =96 April 3, 2015
> =20
> NIST solicits papers, presentations, case studies, panel proposals, =
and participation from any interested parties, including researchers, =
systems architects, vendors, and users. NIST will post the accepted =
papers and presentations on the workshop web site and include these in a =
workshop handout. However, no formal workshop proceedings will be =
published. NIST encourages presentations and reports on preliminary work =
that participants plan to publish elsewhere. Topics for submissions =
should include, but are not limited to, the following:
>=20
> Security Status of Approved Public Key Cryptographic Algorithms
>=20
> =B7         How does the development of quantum computers affect the =
security of currently deployed public key algorithms? (E.g., encryption =
(for key transport), digital signatures, and key agreement)
> =B7         How would quantum computers affect other services which =
rely on public key infrastructure? (E.g. TLS, IPSec, etc.)
> =B7         Are there other concerns with the existing public key =
algorithms that would motivate the development of alternative =
cryptosystems?
> =B7         Are there other advanced computing technologies that could =
threaten the existing cryptosystems?
> Short Term Actions
>=20
> =B7         How urgent is the need for post-quantum cryptography?
> =B7         What changes to applications and protocols could mitigate =
potential interoperability problems?
> =B7         What guidance should NIST provide with respect to =
post-quantum cryptography?
> Conditions for an Early Transition
>=20
> =B7         What conditions would warrant a transition away from one =
of the approved public key algorithms?
> =B7         What changes to applications and protocols could =
facilitate such a transition? (E.g., ways of combining existing public =
key algorithms with newer post-quantum cryptosystems)
> Requirements for Post-Quantum Cryptographic Algorithms
>=20
> =B7         What are desirable properties of post-quantum =
cryptosystems with regard to security, performance, ease of =
implementation, and interoperability?
> =B7         What are desirable properties of post-quantum =
cryptosystems with regard to particular applications, such as =
encryption, digital signatures, key exchange, and message =
authentication?
> Potential Replacement Options
>=20
> =B7         What are the strengths and weaknesses of the different =
post-quantum cryptosystems that have been proposed? (E.g., schemes based =
on lattices, codes, multivariate systems of equations, hash trees, =
elliptic curve isogenies, Kerberos, etc.)
> =B7         How can one gain confidence in the security of these =
cryptosystems against quantum and classical attacks?
> =B7         Are there ways to estimate the real-world performance of a =
quantum algorithm, without running it on a quantum computer?
> =B7         Which of these cryptosystems are mature, and which ones =
require further development?
> =20
>=20
> Deadlines for submissions are:
> =B7         Papers, Presentations and Proposals Due: December 15, 2014
> =B7         Authors Notified: February 1, 2015
> Submissions should be provided electronically, in PDF, for standard US =
letter-size paper (8.5 x 11 inches). Paper submissions must not exceed =
15 pages (single space, two column format with 1" margins using a 10 pt =
or larger font) and have no header or footer text (e.g., no page =
numbers). Proposals for presentations or panels should be no longer than =
five pages; panel proposals should include possible panelists and an =
indication of which panelists have confirmed participation.
>=20
> Please submit the following information to pqc@nist.gov:
> =B7         Name, affiliation, email, phone, postal address for the =
primary contact author
> =B7         First name, last name, and affiliation of each co-author
> =B7         The finished paper, presentation or panel proposal in PDF =
format as an attachment.
> All submissions will be acknowledged.
>=20
> =20
>=20
> Additional information will be posted when available at:  =
http://www.nist.gov/itl/csd/ct/post-quantum-crypto-workshop-2015.cfm
>=20
> =20
>=20


--Apple-Mail-10-963779922
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><div>FYI.<br><div><br></div><blockquote type=3D"cite"><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px;"><span style=3D"font-family:'Helvetica'; =
font-size:medium; color:rgba(0, 0, 0, 1);"><b>From: </b></span><span =
style=3D"font-family:'Helvetica'; font-size:medium;">"Caswell, Sara J." =
&lt;<a =
href=3D"mailto:sara.caswell@nist.gov">sara.caswell@nist.gov</a>&gt;<br></s=
pan></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px;"><span =
style=3D"font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, =
1);"><b>Date: </b></span><span style=3D"font-family:'Helvetica'; =
font-size:medium;">March 26, 2014 2:47:29 PM EDT<br></span></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px;"><span style=3D"font-family:'Helvetica'; =
font-size:medium; color:rgba(0, 0, 0, 1);"><b>Subject: </b></span><span =
style=3D"font-family:'Helvetica'; font-size:medium;"><b>Call for Papers- =
NIST Workshop on Cybersecurity in a Post-Quantum =
World</b></span></div><br><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; font-family: Helvetica; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: 2; text-align: -webkit-auto; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1" =
style=3D"page: WordSection1; "><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; =
line-height: normal; font-size: 12pt; font-family: 'Times New Roman', =
serif; "><b><span style=3D"font-family: Arial, sans-serif; color: rgb(0, =
51, 102); ">NIST Workshop on Cybersecurity in a Post-Quantum =
World<o:p></o:p></span></b></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; =
line-height: normal; font-size: 12pt; font-family: 'Times New Roman', =
serif; "><span style=3D"font-family: Arial, sans-serif; color: black; =
background-image: initial; background-attachment: initial; =
background-origin: initial; background-clip: initial; background-color: =
white; background-position: initial initial; background-repeat: initial =
initial; ">April 2 =96 April 3, 2015<o:p></o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; line-height: normal; font-size: 12pt; font-family: =
'Times New Roman', serif; "><o:p>&nbsp;</o:p></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 7.5pt; =
margin-left: 4.5pt; line-height: normal; font-size: 12pt; font-family: =
'Times New Roman', serif; background-image: initial; =
background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; background-position: =
initial initial; background-repeat: initial initial; "><span =
style=3D"font-family: Arial, sans-serif; color: black; ">NIST solicits =
papers, presentations, case studies, panel proposals, and participation =
from any interested parties, including researchers, systems architects, =
vendors, and users. NIST will post the accepted papers and presentations =
on the workshop web site and include these in a workshop handout. =
However, no formal workshop proceedings will be published. NIST =
encourages presentations and reports on preliminary work that =
participants plan to publish elsewhere. Topics for submissions should =
include, but are not limited to, the following:<o:p></o:p></span></p><p =
class=3D"MsoNormal" style=3D"margin-top: 0in; margin-right: 0in; =
margin-bottom: 7.5pt; margin-left: 4.5pt; line-height: normal; =
font-size: 12pt; font-family: 'Times New Roman', serif; =
background-image: initial; background-attachment: initial; =
background-origin: initial; background-clip: initial; background-color: =
white; background-position: initial initial; background-repeat: initial =
initial; "><b><i><span style=3D"font-family: Arial, sans-serif; color: =
black; ">Security Status of Approved Public Key Cryptographic =
Algorithms</span></i></b><span style=3D"font-family: Arial, sans-serif; =
color: black; "><o:p></o:p></span></p><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0.35in; =
line-height: normal; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in; background-image: initial; =
background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; "><span =
style=3D"font-size: 10pt; font-family: Symbol; color: black; =
"><span>=B7<span style=3D"font: normal normal normal 7pt/normal 'Times =
New Roman'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><span =
style=3D"font-family: Arial, sans-serif; color: black; ">How does the =
development of quantum computers affect the security of currently =
deployed public key algorithms? (E.g., encryption (for key transport), =
digital signatures, and key agreement)<o:p></o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0.35in; line-height: normal; font-size: 12pt; font-family: =
'Times New Roman', serif; text-indent: -0.25in; background-image: =
initial; background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; "><span =
style=3D"font-size: 10pt; font-family: Symbol; color: black; =
"><span>=B7<span style=3D"font: normal normal normal 7pt/normal 'Times =
New Roman'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><span =
style=3D"font-family: Arial, sans-serif; color: black; ">How would =
quantum computers affect other services which rely on public key =
infrastructure? (E.g. TLS, IPSec, etc.)<o:p></o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0.35in; line-height: normal; font-size: 12pt; font-family: =
'Times New Roman', serif; text-indent: -0.25in; background-image: =
initial; background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; "><span =
style=3D"font-size: 10pt; font-family: Symbol; color: black; =
"><span>=B7<span style=3D"font: normal normal normal 7pt/normal 'Times =
New Roman'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><span =
style=3D"font-family: Arial, sans-serif; color: black; ">Are there other =
concerns with the existing public key algorithms that would motivate the =
development of alternative cryptosystems?<o:p></o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0.35in; line-height: normal; font-size: 12pt; font-family: =
'Times New Roman', serif; text-indent: -0.25in; background-image: =
initial; background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; "><span =
style=3D"font-size: 10pt; font-family: Symbol; color: black; =
"><span>=B7<span style=3D"font: normal normal normal 7pt/normal 'Times =
New Roman'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><span =
style=3D"font-family: Arial, sans-serif; color: black; ">Are there other =
advanced computing technologies that could threaten the existing =
cryptosystems?<o:p></o:p></span></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 7.5pt; =
margin-left: 4.5pt; line-height: normal; font-size: 12pt; font-family: =
'Times New Roman', serif; background-image: initial; =
background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; background-position: =
initial initial; background-repeat: initial initial; "><b><i><span =
style=3D"font-family: Arial, sans-serif; color: black; ">Short Term =
Actions</span></i></b><span style=3D"font-family: Arial, sans-serif; =
color: black; "><o:p></o:p></span></p><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0.35in; =
line-height: normal; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in; background-image: initial; =
background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; "><span =
style=3D"font-size: 10pt; font-family: Symbol; color: black; =
"><span>=B7<span style=3D"font: normal normal normal 7pt/normal 'Times =
New Roman'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><span =
style=3D"font-family: Arial, sans-serif; color: black; ">How urgent is =
the need for post-quantum cryptography?<o:p></o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0.35in; line-height: normal; font-size: 12pt; font-family: =
'Times New Roman', serif; text-indent: -0.25in; background-image: =
initial; background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; "><span =
style=3D"font-size: 10pt; font-family: Symbol; color: black; =
"><span>=B7<span style=3D"font: normal normal normal 7pt/normal 'Times =
New Roman'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><span =
style=3D"font-family: Arial, sans-serif; color: black; ">What changes to =
applications and protocols could mitigate potential interoperability =
problems?<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0.35in; =
line-height: normal; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in; background-image: initial; =
background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; "><span =
style=3D"font-size: 10pt; font-family: Symbol; color: black; =
"><span>=B7<span style=3D"font: normal normal normal 7pt/normal 'Times =
New Roman'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><span =
style=3D"font-family: Arial, sans-serif; color: black; ">What guidance =
should NIST provide with respect to post-quantum =
cryptography?<o:p></o:p></span></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 7.5pt; =
margin-left: 4.5pt; line-height: normal; font-size: 12pt; font-family: =
'Times New Roman', serif; background-image: initial; =
background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; background-position: =
initial initial; background-repeat: initial initial; "><b><i><span =
style=3D"font-family: Arial, sans-serif; color: black; ">Conditions for =
an Early Transition</span></i></b><span style=3D"font-family: Arial, =
sans-serif; color: black; "><o:p></o:p></span></p><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0.35in; line-height: normal; font-size: 12pt; font-family: =
'Times New Roman', serif; text-indent: -0.25in; background-image: =
initial; background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; "><span =
style=3D"font-size: 10pt; font-family: Symbol; color: black; =
"><span>=B7<span style=3D"font: normal normal normal 7pt/normal 'Times =
New Roman'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><span =
style=3D"font-family: Arial, sans-serif; color: black; ">What conditions =
would warrant a transition away from one of the approved public key =
algorithms?<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0.35in; =
line-height: normal; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in; background-image: initial; =
background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; "><span =
style=3D"font-size: 10pt; font-family: Symbol; color: black; =
"><span>=B7<span style=3D"font: normal normal normal 7pt/normal 'Times =
New Roman'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><span =
style=3D"font-family: Arial, sans-serif; color: black; ">What changes to =
applications and protocols could facilitate such a transition? (E.g., =
ways of combining existing public key algorithms with newer post-quantum =
cryptosystems)<o:p></o:p></span></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 7.5pt; =
margin-left: 4.5pt; line-height: normal; font-size: 12pt; font-family: =
'Times New Roman', serif; background-image: initial; =
background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; background-position: =
initial initial; background-repeat: initial initial; "><b><i><span =
style=3D"font-family: Arial, sans-serif; color: black; ">Requirements =
for Post-Quantum Cryptographic Algorithms</span></i></b><span =
style=3D"font-family: Arial, sans-serif; color: black; =
"><o:p></o:p></span></p><div style=3D"margin-top: 0in; margin-right: =
0in; margin-bottom: 0.0001pt; margin-left: 0.35in; line-height: normal; =
font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: =
-0.25in; background-image: initial; background-attachment: initial; =
background-origin: initial; background-clip: initial; background-color: =
white; "><span style=3D"font-size: 10pt; font-family: Symbol; color: =
black; "><span>=B7<span style=3D"font: normal normal normal 7pt/normal =
'Times New Roman'; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><span =
style=3D"font-family: Arial, sans-serif; color: black; ">What are =
desirable properties of post-quantum cryptosystems with regard to =
security, performance, ease of implementation, and =
interoperability?<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0.35in; =
line-height: normal; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in; background-image: initial; =
background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; "><span =
style=3D"font-size: 10pt; font-family: Symbol; color: black; =
"><span>=B7<span style=3D"font: normal normal normal 7pt/normal 'Times =
New Roman'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><span =
style=3D"font-family: Arial, sans-serif; color: black; ">What are =
desirable properties of post-quantum cryptosystems with regard to =
particular applications, such as encryption, digital signatures, key =
exchange, and message authentication?<o:p></o:p></span></div><p =
class=3D"MsoNormal" style=3D"margin-top: 0in; margin-right: 0in; =
margin-bottom: 7.5pt; margin-left: 4.5pt; line-height: normal; =
font-size: 12pt; font-family: 'Times New Roman', serif; =
background-image: initial; background-attachment: initial; =
background-origin: initial; background-clip: initial; background-color: =
white; background-position: initial initial; background-repeat: initial =
initial; "><b><i><span style=3D"font-family: Arial, sans-serif; color: =
black; ">Potential Replacement Options</span></i></b><span =
style=3D"font-family: Arial, sans-serif; color: black; =
"><o:p></o:p></span></p><div style=3D"margin-top: 0in; margin-right: =
0in; margin-bottom: 0.0001pt; margin-left: 0.35in; line-height: normal; =
font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: =
-0.25in; background-image: initial; background-attachment: initial; =
background-origin: initial; background-clip: initial; background-color: =
white; "><span style=3D"font-size: 10pt; font-family: Symbol; color: =
black; "><span>=B7<span style=3D"font: normal normal normal 7pt/normal =
'Times New Roman'; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><span =
style=3D"font-family: Arial, sans-serif; color: black; ">What are the =
strengths and weaknesses of the different post-quantum cryptosystems =
that have been proposed? (E.g., schemes based on lattices, codes, =
multivariate systems of equations, hash trees, elliptic curve isogenies, =
Kerberos, etc.)<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0.35in; =
line-height: normal; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in; background-image: initial; =
background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; "><span =
style=3D"font-size: 10pt; font-family: Symbol; color: black; =
"><span>=B7<span style=3D"font: normal normal normal 7pt/normal 'Times =
New Roman'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><span =
style=3D"font-family: Arial, sans-serif; color: black; ">How can one =
gain confidence in the security of these cryptosystems against quantum =
and classical attacks?<o:p></o:p></span></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0.35in; =
line-height: normal; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in; background-image: initial; =
background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; "><span =
style=3D"font-size: 10pt; font-family: Symbol; color: black; =
"><span>=B7<span style=3D"font: normal normal normal 7pt/normal 'Times =
New Roman'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><span =
style=3D"font-family: Arial, sans-serif; color: black; ">Are there ways =
to estimate the real-world performance of a quantum algorithm, without =
running it on a quantum computer?<o:p></o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0.35in; line-height: normal; font-size: 12pt; font-family: =
'Times New Roman', serif; text-indent: -0.25in; background-image: =
initial; background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; "><span =
style=3D"font-size: 10pt; font-family: Symbol; color: black; =
"><span>=B7<span style=3D"font: normal normal normal 7pt/normal 'Times =
New Roman'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><span =
style=3D"font-family: Arial, sans-serif; color: black; ">Which of these =
cryptosystems are mature, and which ones require further =
development?<o:p></o:p></span></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 10pt; =
margin-left: 0in; line-height: 18px; font-size: 12pt; font-family: =
'Times New Roman', serif; "><span style=3D"line-height: 18px; =
font-family: Arial, sans-serif; color: black; =
"><o:p>&nbsp;</o:p></span></p><div class=3D"MsoNormal" align=3D"center" =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 10pt; =
margin-left: 0in; line-height: 18px; font-size: 12pt; font-family: =
'Times New Roman', serif; text-align: center; "><span =
style=3D"line-height: 18px; "><hr size=3D"1" width=3D"100%" noshade=3D"" =
align=3D"center" style=3D"color: rgb(225, 225, 225); "></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0in; line-height: normal; font-size: 12pt; font-family: =
'Times New Roman', serif; "><b><i><span style=3D"font-family: Arial, =
sans-serif; color: black; background-image: initial; =
background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; background-position: =
initial initial; background-repeat: initial initial; ">Deadlines for =
submissions are:</span></i></b><o:p></o:p></div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0.25in; =
line-height: normal; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in; background-image: initial; =
background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; "><span =
style=3D"font-size: 10pt; font-family: Symbol; color: black; =
"><span>=B7<span style=3D"font: normal normal normal 7pt/normal 'Times =
New Roman'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><b><i><s=
pan style=3D"font-family: Arial, sans-serif; color: black; ">Papers, =
Presentations and Proposals Due: December 15, 2014</span></i></b><span =
style=3D"font-family: Arial, sans-serif; color: black; =
"><o:p></o:p></span></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-bottom: 0.0001pt; margin-left: 0.25in; line-height: normal; =
font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: =
-0.25in; background-image: initial; background-attachment: initial; =
background-origin: initial; background-clip: initial; background-color: =
white; "><span style=3D"font-size: 10pt; font-family: Symbol; color: =
black; "><span>=B7<span style=3D"font: normal normal normal 7pt/normal =
'Times New Roman'; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><b><i><s=
pan style=3D"font-family: Arial, sans-serif; color: black; ">Authors =
Notified: February 1, 2015</span></i></b><span style=3D"font-family: =
Arial, sans-serif; color: black; "><o:p></o:p></span></div><p =
class=3D"MsoNormal" style=3D"margin-top: 0in; margin-right: 0in; =
margin-bottom: 7.5pt; margin-left: 4.5pt; line-height: normal; =
font-size: 12pt; font-family: 'Times New Roman', serif; =
background-image: initial; background-attachment: initial; =
background-origin: initial; background-clip: initial; background-color: =
white; background-position: initial initial; background-repeat: initial =
initial; "><span style=3D"font-family: Arial, sans-serif; color: black; =
">Submissions should be provided electronically, in PDF, for standard US =
letter-size paper (8.5 x 11 inches).&nbsp;<b><i>Paper =
submissions</i></b>&nbsp;must not exceed 15 pages (single space, two =
column format with 1" margins using a 10 pt or larger font) and have no =
header or footer text (e.g., no page numbers).&nbsp;<b><i>Proposals for =
presentations or panels</i></b>&nbsp;should be no longer than five =
pages; panel proposals should include possible panelists and an =
indication of which panelists have confirmed =
participation.<o:p></o:p></span></p><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 4.5pt; =
line-height: normal; font-size: 12pt; font-family: 'Times New Roman', =
serif; background-image: initial; background-attachment: initial; =
background-origin: initial; background-clip: initial; background-color: =
white; "><span style=3D"font-family: Arial, sans-serif; color: black; =
">Please submit the following information to&nbsp;</span><a =
href=3D"mailto:pqc@nist.gov" style=3D"color: blue; text-decoration: =
underline; "><span style=3D"font-family: Arial, sans-serif; =
">pqc@nist.gov</span></a><span style=3D"font-family: Arial, sans-serif; =
color: black; ">:<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0.35in; =
line-height: normal; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in; background-image: initial; =
background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; "><span =
style=3D"font-size: 10pt; font-family: Symbol; color: black; =
"><span>=B7<span style=3D"font: normal normal normal 7pt/normal 'Times =
New Roman'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><span =
style=3D"font-family: Arial, sans-serif; color: black; ">Name, =
affiliation, email, phone, postal address for the primary contact =
author<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0.35in; =
line-height: normal; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in; background-image: initial; =
background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; "><span =
style=3D"font-size: 10pt; font-family: Symbol; color: black; =
"><span>=B7<span style=3D"font: normal normal normal 7pt/normal 'Times =
New Roman'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><span =
style=3D"font-family: Arial, sans-serif; color: black; ">First name, =
last name, and affiliation of each co-author<o:p></o:p></span></div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; =
margin-left: 0.35in; line-height: normal; font-size: 12pt; font-family: =
'Times New Roman', serif; text-indent: -0.25in; background-image: =
initial; background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; "><span =
style=3D"font-size: 10pt; font-family: Symbol; color: black; =
"><span>=B7<span style=3D"font: normal normal normal 7pt/normal 'Times =
New Roman'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></span></span></span><span =
style=3D"font-family: Arial, sans-serif; color: black; ">The finished =
paper, presentation or panel proposal in PDF format as an =
attachment.<o:p></o:p></span></div><p class=3D"MsoNormal" =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 7.5pt; =
margin-left: 4.5pt; line-height: normal; font-size: 12pt; font-family: =
'Times New Roman', serif; background-image: initial; =
background-attachment: initial; background-origin: initial; =
background-clip: initial; background-color: white; background-position: =
initial initial; background-repeat: initial initial; "><span =
style=3D"font-family: Arial, sans-serif; color: black; ">All submissions =
will be acknowledged.<o:p></o:p></span></p><p class=3D"MsoNormal" =
style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 10pt; =
margin-left: 0in; line-height: 18px; font-size: 12pt; font-family: =
'Times New Roman', serif; "><span style=3D"line-height: 18px; =
font-family: Arial, sans-serif; color: black; =
"><o:p>&nbsp;</o:p></span></p><p class=3D"MsoNormal" style=3D"margin-top: =
0in; margin-right: 0in; margin-bottom: 10pt; margin-left: 0in; =
line-height: 18px; font-size: 12pt; font-family: 'Times New Roman', =
serif; "><span style=3D"line-height: 18px; font-family: Arial, =
sans-serif; color: black; ">Additional information will be posted when =
available at:&nbsp;<span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"http://www.nist.gov/itl/csd/ct/post-quantum-crypto-workshop-2015.c=
fm" style=3D"color: blue; text-decoration: underline; =
">http://www.nist.gov/itl/csd/ct/post-quantum-crypto-workshop-2015.cfm</a>=
<o:p></o:p></span></p><p class=3D"MsoNormal" style=3D"margin-top: 0in; =
margin-right: 0in; margin-bottom: 10pt; margin-left: 0in; line-height: =
18px; font-size: 12pt; font-family: 'Times New Roman', serif; "><span =
style=3D"line-height: 18px; font-family: Arial, sans-serif; color: =
black; =
"><o:p>&nbsp;</o:p></span></p></div></div></span></blockquote></div><br></=
body></html>=

--Apple-Mail-10-963779922--


From nobody Thu Mar 27 11:55:08 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 55EF01A02DC for <cfrg@ietfa.amsl.com>; Thu, 27 Mar 2014 11:55:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.9
X-Spam-Level: 
X-Spam-Status: No, score=-3.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, GB_I_LETTER=-2] 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 oRYtCYlxaLIJ for <cfrg@ietfa.amsl.com>; Thu, 27 Mar 2014 11:55:06 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id A9D231A01D8 for <cfrg@irtf.org>; Thu, 27 Mar 2014 11:55:05 -0700 (PDT)
Received: from xct106cnc.rim.net ([10.65.161.206]) by mhs214cnc.rim.net with ESMTP/TLS/AES128-SHA; 27 Mar 2014 14:54:48 -0400
Received: from XCT104CNC.rim.net (10.65.161.204) by XCT106CNC.rim.net (10.65.161.206) with Microsoft SMTP Server (TLS) id 14.3.174.1; Thu, 27 Mar 2014 14:54:47 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT104CNC.rim.net ([::1]) with mapi id 14.03.0174.001; Thu, 27 Mar 2014 14:54:47 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'Blumenthal, Uri - 0558 - MITLL'" <uri@ll.mit.edu>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Key establishment advice (say, for TLS): How about MQV?
Thread-Index: Ac83z0llZtT/vCOFQoawCOkdH1P3UQSHSc2g
Date: Thu, 27 Mar 2014 18:54:47 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5C62D4E@XMB116CNC.rim.net>
References: <CF3B7563.125D8%uri@ll.mit.edu>
In-Reply-To: <CF3B7563.125D8%uri@ll.mit.edu>
Accept-Language: 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_0046_01CF49CC.7E716370"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/YObtex-fNnkRmdEFSvIQxIwpijM
Subject: Re: [Cfrg] Key establishment advice (say, for TLS): How about MQV?
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Mar 2014 18:55:07 -0000

------=_NextPart_000_0046_01CF49CC.7E716370
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: 7bit


> Blumenthal, Uri - 0558 - MITLL [mailto:uri@ll.mit.edu] wrote:

>My main concern with *MQV is its IPR status. MQV was patented. I don't know 
>when that patent (those patents?) expires. Also, I don't know whether those 
> >patents would cover HMQV/FHMQV as well (but suspect they would?).

For MQV's IPR status, I wonder if a letter similar to:

http://www.ietf.org/ietf-ftp/IPR/certicom-ipr-rfc-3278.pdf

would address your type of concern.

Best regards,

Dan

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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUgTCCBnAw
ggVYoAMCAQICChfYCekAAwAXxTIwDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGMB4XDTEzMDUyODE1NDQwOVoXDTE0MDUxNzAwMjMzM1owgYUxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xETAPBgNVBAsTCENlcnRpY29tMQ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gNyaW0xJDAiBgNVBAMTG1JJTSBTdWJv
cmRpbmF0ZSBDQSBNQ0EwM1lLRgIKF9gJ6QADABfFMjANBgkqhkiG9w0BAQEFAASBgA8L0Cb+T3Aw
UyjXCJae1ETn9yPQ89xBzGPGWfCwCv9+usgikzuGy2a//atbcoy25s+CpnQxESe3c29zjZegxs+x
D1fCs9gaEIw7aaX3HCr6CKc3n5GqgWhVsemAJ1gGX2sOjLIHEk8GIBb/NdqeO8ymmV61hdeU2Z3e
P85c4HWrAAAAAAAA

------=_NextPart_000_0046_01CF49CC.7E716370--


From nobody Thu Mar 27 12:09:02 2014
Return-Path: <prvs=8163fa0d73=uri@ll.mit.edu>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 60AE31A078D for <cfrg@ietfa.amsl.com>; Thu, 27 Mar 2014 12:09:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.209
X-Spam-Level: 
X-Spam-Status: No, score=-6.209 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, GB_I_LETTER=-2, RCVD_IN_DNSWL_MED=-2.3, 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 3x_XP5l_L-Tq for <cfrg@ietfa.amsl.com>; Thu, 27 Mar 2014 12:08:58 -0700 (PDT)
Received: from mx2.ll.mit.edu (MX2.LL.MIT.EDU [129.55.12.46]) by ietfa.amsl.com (Postfix) with ESMTP id 6B1521A0781 for <cfrg@irtf.org>; Thu, 27 Mar 2014 12:08:58 -0700 (PDT)
Received: from LLE2K7-HUB01.mitll.ad.local (LLE2K7-HUB01.mitll.ad.local) by mx2.ll.mit.edu (unknown) with ESMTP id s2RJ8d9x007367; Thu, 27 Mar 2014 15:08:39 -0400
From: "Blumenthal, Uri - 0558 - MITLL" <uri@ll.mit.edu>
To: Dan Brown <dbrown@certicom.com>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Date: Thu, 27 Mar 2014 15:08:32 -0400
Thread-Topic: [Cfrg] Key establishment advice (say, for TLS): How about MQV?
Thread-Index: Ac9J7/WWPLC2T0ELRJKgvXBcBHP4wQ==
Message-ID: <CF59EE43.13643%uri@ll.mit.edu>
References: <CF3B7563.125D8%uri@ll.mit.edu> <810C31990B57ED40B2062BA10D43FBF5C62D4E@XMB116CNC.rim.net>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5C62D4E@XMB116CNC.rim.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.3.9.131030
acceptlanguage: en-US
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha256; boundary="B_3478777712_5871923"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87, 1.0.14,  0.0.0000 definitions=2014-03-27_06:2014-03-27,2014-03-27,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1403270101
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/akJZ-ksZS_IvBOhitioR7ZbBT_k
Subject: Re: [Cfrg] Key establishment advice (say, for TLS): How about MQV?
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Mar 2014 19:09:00 -0000

--B_3478777712_5871923
Content-type: text/plain;
	charset="UTF-8"
Content-transfer-encoding: 7bit

On 3/27/14 14:54 , "Dan Brown" <dbrown@certicom.com> wrote:

>>Blumenthal, Uri - 0558 - MITLL [mailto:uri@ll.mit.edu] wrote:
>
>>My main concern with *MQV is its IPR status. MQV was patented. I don't
>>know 
>>when that patent (those patents?) expires. Also, I don't know whether
>>those 
>> >patents would cover HMQV/FHMQV as well (but suspect they would?).
>
>For MQV's IPR status, I wonder if a letter similar to:
>
>http://www.ietf.org/ietf-ftp/IPR/certicom-ipr-rfc-3278.pdf
>
>would address your type of concern.

Assuming I understood correctly what that letter states, yes - such a
statement would address my concerns just fine.

To make sure I understood, and expressing it in layman's terms, IMHO it
says: "if this is adopted as an IETF standard, you can use it within this
standard, and we won't go after you - as long as you won't go after us
with whatever IPR you may have". If so, it makes perfect sense to me.

Thanks!

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

MIIUFAYJKoZIhvcNAQcCoIIUBTCCFAECAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0B
BwGgghHjMIIEyzCCA7OgAwIBAgIKa7HhIQAAAACRlDANBgkqhkiG9w0BAQsFADBRMQswCQYD
VQQGEwJVUzEfMB0GA1UEChMWTUlUIExpbmNvbG4gTGFib3JhdG9yeTEMMAoGA1UECxMDUEtJ
MRMwEQYDVQQDEwpNSVRMTCBDQS0yMB4XDTE0MDEyNzE2MTg1MloXDTE1MDEyNzE2MTg1Mlow
YTELMAkGA1UEBhMCVVMxHzAdBgNVBAoTFk1JVCBMaW5jb2xuIExhYm9yYXRvcnkxDzANBgNV
BAsTBlBlb3BsZTEgMB4GA1UEAxMXQmx1b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OiCXx5tQxmV3
WyIjs8xg0uuWPR/X0hoSQmpryWJH5t15bAKN0Mw0jk/cF5LxoCu56xrvJrhfOZhAUd9cbtu1
5YZy1tE6qdcS4PL6C1rnReg+u3zKwOTF/0xv+/w/DcY9/QD9y6Sn+hKpUZ1PEB8tL/IHFwpW
/vtJ3s1K6EB+dcTUo4w=

--B_3478777712_5871923--


From nobody Thu Mar 27 15:07:51 2014
Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ED3EA1A03D1 for <cfrg@ietfa.amsl.com>; Thu, 27 Mar 2014 15:07:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.91
X-Spam-Level: 
X-Spam-Status: No, score=-3.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, GB_I_LETTER=-2, 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 Fc4f30D2VUjh for <cfrg@ietfa.amsl.com>; Thu, 27 Mar 2014 15:07:45 -0700 (PDT)
Received: from mx2.auckland.ac.nz (mx2.auckland.ac.nz [130.216.125.245]) by ietfa.amsl.com (Postfix) with ESMTP id 601661A0253 for <cfrg@irtf.org>; Thu, 27 Mar 2014 15:07:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=uoa; t=1395958064; x=1427494064; h=from:to:subject:date:message-id: content-transfer-encoding:mime-version; bh=Cy5NwY3SipYRjXzmcipmqOtuq0xQLeanFy2PqoHArl4=; b=GCF6Az/HVk1+In/hI4kQoFuMoh6CeH/QemL4tCCZoDYpMTiF2oNWAceT Wnzr6MolIxj2t4U4J2nMBNC29g6snKDYZcqBrCbTlZ4NsM9KaglLjez8b gXLeJwHMHs280k+DdyNC7AohJ0GTBgIMn2C63GO1BzVTwTwDNZjpeZxGI 0=;
X-IronPort-AV: E=Sophos;i="4.97,745,1389697200"; d="scan'208";a="243255459"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.125 - Outgoing - Outgoing
Received: from uxchange10-fe3.uoa.auckland.ac.nz ([130.216.4.125]) by mx2-int.auckland.ac.nz with ESMTP/TLS/AES128-SHA; 28 Mar 2014 11:07:21 +1300
Received: from UXCN10-6.UoA.auckland.ac.nz ([169.254.10.53]) by uxchange10-fe3.UoA.auckland.ac.nz ([130.216.4.125]) with mapi id 14.03.0174.001; Fri, 28 Mar 2014 11:07:20 +1300
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Key establishment advice (say, for TLS): How about MQV?
Thread-Index: Ac9KCOwA1UnlpZdxTXyOxnhqa5otJw==
Date: Thu, 27 Mar 2014 22:07:19 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C737239488A@uxcn10-6.UoA.auckland.ac.nz>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [130.216.158.4]
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/pN0kK1B7yz-U9qwpyy2RaOizjgM
Subject: Re: [Cfrg] Key establishment advice (say, for TLS): How about MQV?
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Mar 2014 22:07:50 -0000

Dan Brown <dbrown@certicom.com> writes:=0A=
=0A=
>For MQV's IPR status, I wonder if a letter similar to:=0A=
>=0A=
>http://www.ietf.org/ietf-ftp/IPR/certicom-ipr-rfc-3278.pdf=0A=
>=0A=
>would address your type of concern.=0A=
=0A=
Only if someone is prepared to decrypt:=0A=
=0A=
  Patent Holder shall only be required to license any prospective licensee =
if=0A=
  such prospective licensee will commit to license its necessary patents fo=
r=0A=
  implementation of the same above Standard free of charge or under reasona=
ble=0A=
  and nondiscriminatory terms.=0A=
=0A=
for me.  Apart from the impenetrability of the text, the reference to RAND =
as=0A=
part of the definition of RAND is circular.  If I showed that to a lawyer h=
e=0A=
might lock up and require a reboot.=0A=
=0A=
It looks like a reciprocity clause of some kind, but just saying "RAND"=0A=
doesn't mean you won't end up having to negotiate a licence fee.=0A=
=0A=
Peter.=


From nobody Thu Mar 27 15:14: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 012571A0253 for <cfrg@ietfa.amsl.com>; Thu, 27 Mar 2014 15:13:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4
X-Spam-Level: 
X-Spam-Status: No, score=-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, GB_I_LETTER=-2, 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 OiXMFlyFJnB1 for <cfrg@ietfa.amsl.com>; Thu, 27 Mar 2014 15:13:50 -0700 (PDT)
Received: from mail-yk0-x232.google.com (mail-yk0-x232.google.com [IPv6:2607:f8b0:4002:c07::232]) by ietfa.amsl.com (Postfix) with ESMTP id 1324F1A0745 for <cfrg@irtf.org>; Thu, 27 Mar 2014 15:13:50 -0700 (PDT)
Received: by mail-yk0-f178.google.com with SMTP id 79so2972283ykr.23 for <cfrg@irtf.org>; Thu, 27 Mar 2014 15:13:48 -0700 (PDT)
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=zWCd8pLl1M2tbAgKeiVBRVva2/aqsVYh/MOhTR5E+ss=; b=fgwYAvYqzgqouOqjKzKpZFvoAkOHY0O61b25WKi+4KO/8Jh6cvat2Fvbjo6IxrwBsp RkWkkRKnxxp9WG8YH0aYICiW+eaBaFH6EWirOLYUGGu2tWd0JA3gV8BYQr20D78Qcihu J3RXT8OW08ZTbH9NonWKfFZPIX5RyBY+va/qiW8jhcmsamS2YfXRzF1TYGX3MT9AIfus NoH5KPiy/EeH6vXVaxX2bx+uNmPwdIM4KzBoc3UzlmOSfUfEhuWgoHrYWHpzKeKVPx/0 4r/7yuwQhmlGoyWV10bRby9DfIxf8Lp6BbyLUmIFVujoK58QCm88gBseTW/XHa03datW S2ZQ==
MIME-Version: 1.0
X-Received: by 10.236.112.39 with SMTP id x27mr4903680yhg.103.1395958427982; Thu, 27 Mar 2014 15:13:47 -0700 (PDT)
Received: by 10.170.80.214 with HTTP; Thu, 27 Mar 2014 15:13:47 -0700 (PDT)
In-Reply-To: <9A043F3CF02CD34C8E74AC1594475C737239488A@uxcn10-6.UoA.auckland.ac.nz>
References: <9A043F3CF02CD34C8E74AC1594475C737239488A@uxcn10-6.UoA.auckland.ac.nz>
Date: Thu, 27 Mar 2014 18:13:47 -0400
Message-ID: <CACsn0cnUBi_PhCAcOSmCiQ3wFO=XzGSTBGwxzXs-a0QA94KQyQ@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/c3tVFoqOvdLEGhi9ceNNtFm5k6U
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Key establishment advice (say, for TLS): How about MQV?
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Mar 2014 22:13:54 -0000

On Thu, Mar 27, 2014 at 6:07 PM, Peter Gutmann
<pgut001@cs.auckland.ac.nz> wrote:
> Dan Brown <dbrown@certicom.com> writes:
>
>>For MQV's IPR status, I wonder if a letter similar to:
>>
>>http://www.ietf.org/ietf-ftp/IPR/certicom-ipr-rfc-3278.pdf
>>
>>would address your type of concern.
>
> Only if someone is prepared to decrypt:
>
>   Patent Holder shall only be required to license any prospective licensee if
>   such prospective licensee will commit to license its necessary patents for
>   implementation of the same above Standard free of charge or under reasonable
>   and nondiscriminatory terms.
>
> for me.  Apart from the impenetrability of the text, the reference to RAND as
> part of the definition of RAND is circular.  If I showed that to a lawyer he
> might lock up and require a reboot.
>
> It looks like a reciprocity clause of some kind, but just saying "RAND"
> doesn't mean you won't end up having to negotiate a licence fee.

If you are going to allege your patent claims against implementors of
the standard, while relying on this license, you need to licence your
patent under RAND terms to everyone. I agree it is unfortunately weak,
but on the plus side this isn't a problem with Certicom's patents, but
potential other patents. It also isn't saying that you license under
these terms, but under terms that are "RAND" whatever that is. It's
also missing an indirect object in the sentence saying to whom the
patents must be licensed.

IANAL, so don't rely on what I say too much.

Sincerely,
Watson Ladd
>
> Peter.
> _______________________________________________
> 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 Fri Mar 28 11:12:32 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 D60041A093E for <cfrg@ietfa.amsl.com>; Fri, 28 Mar 2014 11:12:29 -0700 (PDT)
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 4MR4LbouQmuc for <cfrg@ietfa.amsl.com>; Fri, 28 Mar 2014 11:12:28 -0700 (PDT)
Received: from mail-yh0-x234.google.com (mail-yh0-x234.google.com [IPv6:2607:f8b0:4002:c01::234]) by ietfa.amsl.com (Postfix) with ESMTP id 7BE241A0332 for <cfrg@irtf.org>; Fri, 28 Mar 2014 11:12:28 -0700 (PDT)
Received: by mail-yh0-f52.google.com with SMTP id c41so5333308yho.39 for <cfrg@irtf.org>; Fri, 28 Mar 2014 11:12:26 -0700 (PDT)
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=zXXRb0y+XxSlwNqOWPPeuXCgzosFZPTcjoOrkiwnLfw=; b=wjEmJriG6VKo3LfjvEn5xmYrVa73XBiD8DawZElixasEWWbW0CX6fZRAlV1iE6jCjc kzqwBgJsoKBwmPNHNMaKH4MzPTMnrAr8+RG4Ls4XSaVahsS3p6EttiTDM4E97yZmuJrs 8uvV8f+iOiN0cFGTo3UTFGzfFdUQ8H27Yw8qt7LAZ6g/TsRPJxTI59faMQzJhOd+Q/bo es22XlgPw/hbfnnWDXVEr9VgTb3SeBqpq+6UvPtHopAuBVh70yBLYivy0LnG355eh6H1 Emsqz4IcFBAZbHaklg5oMNymMDNxKXJAkUu/Ojrl9nUQxHQyYO5YDyRLWwT7evRj9AO+ WkNw==
MIME-Version: 1.0
X-Received: by 10.236.137.8 with SMTP id x8mr13528788yhi.4.1396030346182; Fri, 28 Mar 2014 11:12:26 -0700 (PDT)
Received: by 10.170.80.214 with HTTP; Fri, 28 Mar 2014 11:12:26 -0700 (PDT)
Date: Fri, 28 Mar 2014 14:12:26 -0400
Message-ID: <CACsn0cnNadyYk=b+oeVSfOeTt5wo0Cj05=FKwAXTNc=9DLYZqg@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/dC7HiqeW80FlkACwU2_2wrP90QE
Subject: [Cfrg] New edition of safecurves draft
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Mar 2014 18:12:30 -0000

Dear all,

I've decided to use the point formats that DJB's software does. There
are good arguments for them, and while alternatives are interesting,
I've not seen a clearly better one.

Given that Robert Ransom is working on a draft like RFC 6090 (but
correct) for these curves, I've shortened the formula section to
explain how to deal with cofactors alone, and kick bignum arithmetic
and algebraic background down the road. Signatures are a more complex
issue: Ed25519 style is probably the way to go, but it requires some
choices of hash functions.

Sincerely,
Watson Ladd


From nobody Sun Mar 30 13:43:07 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 1C38B1A07D7 for <cfrg@ietfa.amsl.com>; Sun, 30 Mar 2014 13:43:06 -0700 (PDT)
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 09FjvVY7Yopt for <cfrg@ietfa.amsl.com>; Sun, 30 Mar 2014 13:43:04 -0700 (PDT)
Received: from mail-yh0-x235.google.com (mail-yh0-x235.google.com [IPv6:2607:f8b0:4002:c01::235]) by ietfa.amsl.com (Postfix) with ESMTP id 4B4EA1A08DA for <cfrg@irtf.org>; Sun, 30 Mar 2014 13:43:04 -0700 (PDT)
Received: by mail-yh0-f53.google.com with SMTP id v1so6800017yhn.26 for <cfrg@irtf.org>; Sun, 30 Mar 2014 13:43:01 -0700 (PDT)
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=JwMAl/5EBf4PfiK9uXvvnU+ViYLmEBp01JFVQYyu7tc=; b=VlcZVYrcj6G+V3tesNuDCnbFCurQPgU3afOnUzOxzt36MSmznnFKk7CJ2AZhJ3Yb+W ZKhNsnNpVy5zwnbv1u9dN+j7PrJrpCqLItkG9U77gtaHGr8+R1hZ1y4xCB/FaBg090bb 36Zk4SECCYB3FB8YgVXwa1Guvpv49Ki0AQeCwZI+znMvcr0xjuYJ2UA+fc76d/nRTErW pkK1nuS3e8Cbe6l3HzRgDvltePChhhV9v3RfAGJ7AZPIqk0jHd8b89/eeRKnqdirsmeh t0sZqPH0s9IZnpN/Kl3E6bU6ku4jZcZ6EUf9z44bsRRl/ACvhce1LC+KGEVeUolNEXmN gscw==
MIME-Version: 1.0
X-Received: by 10.236.94.197 with SMTP id n45mr31006437yhf.46.1396212181194; Sun, 30 Mar 2014 13:43:01 -0700 (PDT)
Received: by 10.170.63.197 with HTTP; Sun, 30 Mar 2014 13:43:01 -0700 (PDT)
Date: Sun, 30 Mar 2014 13:43:01 -0700
Message-ID: <CACsn0c=seHgHNSRta5tCfbxUY2y1cqOOEPdfsDY7udi=h9P88w@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/bCX_9H6PdzP_TJ-Um9sj0DIrj6Y
Subject: [Cfrg] Question about primes of special form and the NFS
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 30 Mar 2014 20:43:06 -0000

Dear all,
draft-gillmor-tls-negotiated-dl-dhe-00 contains primes of the form
2^{b}-2^{b-64}+k*2^64-1 for b a multiple of 64 and k small, and
recommends them as DHE groups. This is to close a security hole in TLS
in which no set of DHE parameters exists, and no one realized they
can't be validated.

This is not as bad as primes of the form 2^b-small, for which the SNFS
applies trivially. However, I am worried that some of the speedups
might still happen. It's probably not possible, but I don't know the
state of the art in this area, and would appreciate any references
dealing with extensions of SNFS to numbers that aren't that special.

Sincerely,
Watson Ladd


From nobody Sun Mar 30 14:48:57 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 BCA4C1A06C3 for <cfrg@ietfa.amsl.com>; Sun, 30 Mar 2014 14:48:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.611
X-Spam-Level: 
X-Spam-Status: No, score=-2.611 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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 yDr97DRaGs3n for <cfrg@ietfa.amsl.com>; Sun, 30 Mar 2014 14:48:53 -0700 (PDT)
Received: from smtp.dei.uc.pt (smtp.dei.uc.pt [193.137.203.253]) by ietfa.amsl.com (Postfix) with ESMTP id 0E8C31A0344 for <cfrg@irtf.org>; Sun, 30 Mar 2014 14:48:52 -0700 (PDT)
Received: from [192.168.1.64] (bl21-68-111.dsl.telepac.pt [2.82.68.111]) (authenticated bits=0) by smtp.dei.uc.pt (8.14.4/8.14.4) with ESMTP id s2ULmedC024607 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sun, 30 Mar 2014 22:48:45 +0100
Message-ID: <5338911C.8010307@dei.uc.pt>
Date: Sun, 30 Mar 2014 22:48:12 +0100
From: Samuel Neves <sneves@dei.uc.pt>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: Watson Ladd <watsonbladd@gmail.com>, "cfrg@irtf.org" <cfrg@irtf.org>
References: <CACsn0c=seHgHNSRta5tCfbxUY2y1cqOOEPdfsDY7udi=h9P88w@mail.gmail.com>
In-Reply-To: <CACsn0c=seHgHNSRta5tCfbxUY2y1cqOOEPdfsDY7udi=h9P88w@mail.gmail.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-FCTUC-DEI-SIC-MailScanner-Information: Please contact helpdesk@dei.uc.pt for more information
X-FCTUC-DEI-SIC-MailScanner-ID: s2ULmedC024607
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/getOo7heSvxKnA1oke8MtTJ3sFc
Subject: Re: [Cfrg] Question about primes of special form and the NFS
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 30 Mar 2014 21:48:57 -0000

On 30-03-2014 21:43, Watson Ladd wrote:
> Dear all,
> draft-gillmor-tls-negotiated-dl-dhe-00 contains primes of the form
> 2^{b}-2^{b-64}+k*2^64-1 for b a multiple of 64 and k small, and
> recommends them as DHE groups. This is to close a security hole in TLS
> in which no set of DHE parameters exists, and no one realized they
> can't be validated.
>
> This is not as bad as primes of the form 2^b-small, for which the SNFS
> applies trivially. However, I am worried that some of the speedups
> might still happen. It's probably not possible, but I don't know the
> state of the art in this area, and would appreciate any references
> dealing with extensions of SNFS to numbers that aren't that special.

These primes do look risky. Oliver Schirokauer has done some work on discrete logarithms modulo primes with small signed binary representation [1], which applies in this case.

Manually finding small-coefficient NFS polynomials for these primes also seems plausible, which is what differentiates the SNFS from the GNFS. For example, for the 4096-bit prime p = 2^4096 - 2^4032 + 341664 * 2^64 - 1, degree 8 and m = 2^504, we obtain
the polynomial

(2^64-1) * x^8 + (341664 * 2^64 - 1) * x,

which has significantly better coefficient sizes than a random choice of polynomial.

[1] http://eprint.iacr.org/2006/107

