
From nobody Sun May  4 17:52:11 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 2138E1A01E7 for <cfrg@ietfa.amsl.com>; Sun,  4 May 2014 17:52:10 -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 oMUfnvb6PWGw for <cfrg@ietfa.amsl.com>; Sun,  4 May 2014 17:52:08 -0700 (PDT)
Received: from mail-yk0-x235.google.com (mail-yk0-x235.google.com [IPv6:2607:f8b0:4002:c07::235]) by ietfa.amsl.com (Postfix) with ESMTP id AE6A31A01E6 for <cfrg@irtf.org>; Sun,  4 May 2014 17:52:08 -0700 (PDT)
Received: by mail-yk0-f181.google.com with SMTP id q200so5647016ykb.26 for <cfrg@irtf.org>; Sun, 04 May 2014 17:52:05 -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=mZaTXJSyFOvN3TON2VTd7ww7FKUykvZEAEoDW9rblQQ=; b=P7eBc+tq9Ghat7JAZ1SJ5AWvrpHxIKXno0FUMeKEzcfcTsckOKg+9lryRj8XBke0TC p+evrpCPx1lvuqTcdCw+lgGCIcGPnAS2n+jaNK2uvViP3Ct+p1HcuVuJI0uQw6kWUct9 TwAhSPWvG8fufI/7/X+3nJHCrt2ZwWBhB2mSyEZZm5yPJrnDBpkaJZd2uEdBBT6I9okh P7VdFtxlwzIu1/qO6qVWWjkIcxnNOZ/v/rPv1k2K+UTUpzMJplZpbfITY/ppYtzU0cY5 rUwjwwL3M4qF4OiWDx18DAx1NUH5rdmYBpJ1/sD9e0RqACLkOwWJZnfO63+LKfsGusQB Oa1w==
MIME-Version: 1.0
X-Received: by 10.236.198.243 with SMTP id v79mr42873056yhn.87.1399251125438;  Sun, 04 May 2014 17:52:05 -0700 (PDT)
Received: by 10.170.63.197 with HTTP; Sun, 4 May 2014 17:52:05 -0700 (PDT)
In-Reply-To: <CABcZeBNhUF1OqdzyZLXJN-0V358JMqJ1U9c2k9BmDmdFQjw_3A@mail.gmail.com>
References: <CACsn0cm3nMNeggvebudZorwy1eq=CFmzxr1RyPJ0ibiM7T7gEA@mail.gmail.com> <CABcZeBNhUF1OqdzyZLXJN-0V358JMqJ1U9c2k9BmDmdFQjw_3A@mail.gmail.com>
Date: Sun, 4 May 2014 17:52:05 -0700
Message-ID: <CACsn0ckdhsjp_fnQDhod1Fo5Berpsrk5Te8vEzXftTS5h5BCUg@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/O2dB2PfX-GqmrLSvpJBwy58YfYs
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [Cfrg] [TLS] Curve25519 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: Mon, 05 May 2014 00:52:10 -0000

On Sun, May 4, 2014 at 5:17 PM, Eric Rescorla <ekr@rtfm.com> wrote:
> On Sun, May 4, 2014 at 4:44 PM, Watson Ladd <watsonbladd@gmail.com> wrote:
>>
>> Dear all,
>> My impression of the CFRG meeting result was that Curve25519 was fine,
>> and that drafts describing it were going to be written this summer. In
>> TLS we can proceed with this draft it looks like.
>>
>> Am I misremembering/misunderstanding?
>
>
> My understanding was a bit more modest, namely that the CFRG intended
> to produce a recommendation by IETF Toronto and that Curve25519 was
> probably the leading contender for that recommendation at the 128-bit
> security level, but that they weren't quite ready to commit. So people were
> to go off and do drafts with an aim to have an answer by YYZ. Though
> perhaps I am the one who misunderstood.

Is this the blocking task? In other words, if the CFRG was to tomorrow
say "Curve25519 can be used" would we be ready to proceed to LC? I
feel like the answer is "maybe".

>
> In either case, as a matter of process I would expect (or at least hope)
> that
> the CFRG will send us some sort of formal statement of their recommendation
> so that we have something specific to refer to for future.

Well, what's the timeline/scope on this? I got an impression that the
document to be produced was an algorithm description, not just a list
of curves. Furthermore, we've not discussed signatures, (ECDSA has
issues with performance and batch verification, you need Ed25519, not
Curve25519 (well, for some variants of not)), so if we want one
document to address everything, that's going to be a few more
meetings, without really changing the impact for us.

Sincerely,
Watson Ladd
>
> -Ekr
>
>



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


From nobody Mon May  5 08:05:36 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 DB1F91A0392 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 08:05:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.599
X-Spam-Level: 
X-Spam-Status: No, score=0.599 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, J_CHICKENPOX_31=0.6] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k2iMDcaq98HG for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 08:05:31 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 6D1A31A0391 for <cfrg@irtf.org>; Mon,  5 May 2014 08:05:31 -0700 (PDT)
Received: from xct108cnc.rim.net ([10.65.161.208]) by mhs211cnc.rim.net with ESMTP/TLS/AES128-SHA; 05 May 2014 11:05:01 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT108CNC.rim.net ([fe80::8dc1:9551:6ed8:c618%17]) with mapi id 14.03.0174.001; Mon, 5 May 2014 11:05:01 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'watsonbladd@gmail.com'" <watsonbladd@gmail.com>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Slides for interim meeting
Thread-Index: AQHPY7+txWtWU4TbZkiJ7slHpe1ACJsyGSPQ
Date: Mon, 5 May 2014 15:04:59 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5C7BD0D@XMB116CNC.rim.net>
References: <CACsn0cmGm0yEee207Zh+6qf=L=oPti1Hj8GoRqVv_UhzRoWuQg@mail.gmail.com>
In-Reply-To: <CACsn0cmGm0yEee207Zh+6qf=L=oPti1Hj8GoRqVv_UhzRoWuQg@mail.gmail.com>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.252]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_000C_01CF6851.DB422AA0"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/g9-T5xz4ydEwbWDEGIHQ4bIen2I
Subject: Re: [Cfrg] Slides for interim meeting
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 05 May 2014 15:05:33 -0000

------=_NextPart_000_000C_01CF6851.DB422AA0
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: 7bit

Hi Watson,

Can you elaborate on your last slide item "Reduction to DDH"?

I've been trying to catch up with reading the papers about TLS, but was 
further motived by your comment.  So far, I have scanned a couple papers for 
such a reduction, without clear success.  I have probably just not looked at 
the right paper yet.

The paper

http://eprint.iacr.org/2014/020

seems to use GapDH instead of DDH to prove the security of TLS-DHE. Obviously, 
that does not contradict your reduction, because security can be proved under 
a variety of assumptions, which is good.  Also, it does not contradict your 
point that Strong DH is irrelevant to the TLS-DHE, because it uses the GapDH.

The paper

http://eprint.iacr.org/2013/367

seems to use the DDH and Strong PRF-ODH assumption (and a couple other 
non-group related assumptions) to prove the security of Server-Only TLS-DHE.

Interestingly, the Strong PRF-ODH kind of reduces to the Strong DDH if the PRF 
reduces to PRF(X,m) = X.

To that end, using a group in which the strong DDH is hard (which requires the 
Strong DH to be hard), might somehow boost the effectiveness of this proof. 
It seems vaguely relevant, in a way I've not yet fully understood.

But perhaps this reliance of the proof on assumptions like PRF-ODH has be 
overcome by further research.  Another reason for my question.

Anyway, despite this paper, I'd agree that with the intuition that TLS-DHE 
does not require the Strong (aka Static) DH to be hard.  Nor does it need the 
DDH to be hard. Unless, the PRF and record layer break down, etc., or the 
session state (shared secret) leaks, etc.

Best regards,

Dan

> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Watson Ladd
> Sent: Monday, April 28, 2014 8:25 PM
> To: cfrg@irtf.org
> Subject: [Cfrg] Slides for interim meeting
>
> Dear all,
> My slides are attached.
> Sincerely,
> Watson Ladd

------=_NextPart_000_000C_01CF6851.DB422AA0
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
CwYDVR0PBAQDAgWgMEQGCSqGSIb3DQEJDwQ3MDUwDgYIKoZIhvcNAwICAgCAMA4GCCqGSI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6OsB1oKligAIqck/cyo
MYICrjCCAqoCAQEwXjBQMRMwEQYKCZImiZPyLGQBGRYDbmV0MRMwEQYKCZImiZPyLGQBGRYDcmlt
MSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZS0YCChfYCekAAwAXxTIwCQYFKw4D
AhoFAKCCAaYwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTQwNTA1
MTUwNDU5WjAjBgkqhkiG9w0BCQQxFgQUKi1LSDtvBqhWhh6QJQlsq9AzkOowZwYJKoZIhvcNAQkP
MVowWDAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcw
DQYIKoZIhvcNAwICASgwBwYFKw4DAhowCgYIKoZIhvcNAgUwbQYJKwYBBAGCNxAEMWAwXjBQMRMw
EQYKCZImiZPyLGQBGRYDbmV0MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vi
b3JkaW5hdGUgQ0EgTUNBMDNZS0YCChfYCekAAwAXxTIwbwYLKoZIhvcNAQkQAgsxYKBeMFAxEzAR
BgoJkiaJk/IsZAEZFgNuZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xJDAiBgNVBAMTG1JJTSBTdWJv
cmRpbmF0ZSBDQSBNQ0EwM1lLRgIKF9gJ6QADABfFMjANBgkqhkiG9w0BAQEFAASBgMgbjgXX+lNU
ihPCDtVRWLCYN/dtysYG3On37LtE4XA3uqxrcfFLjvmQKf9M+BCGx9YdHWKdowhorWUZPpJxTFhw
nhWhGEse7PwBimbqhS2nSWHWu5lhv8Avr/drF75frtUxJiLnRw6Gix65X/Dzk09IJpDOAU4FikMV
nafs1unzAAAAAAAA

------=_NextPart_000_000C_01CF6851.DB422AA0--


From nobody Mon May  5 08:40:12 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 3C6751A03A6 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 08:40:10 -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 u-Mg7UnxYRFo for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 08:40:05 -0700 (PDT)
Received: from mail-yk0-x22b.google.com (mail-yk0-x22b.google.com [IPv6:2607:f8b0:4002:c07::22b]) by ietfa.amsl.com (Postfix) with ESMTP id B27B61A03B9 for <cfrg@irtf.org>; Mon,  5 May 2014 08:40:05 -0700 (PDT)
Received: by mail-yk0-f171.google.com with SMTP id 142so1554781ykq.30 for <cfrg@irtf.org>; Mon, 05 May 2014 08:40:02 -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=qXJO3MXRVs4g70PyaI6Vkh+sAyBOHBlhTHpHuvNu19Y=; b=TmfDGK5aker9j/SiyjbG6uXI4XjN+RjJNMyQtcEqPPbZIPFS8PkCdD320tezTn28En 14QNshtFOk01g7+TMsq5Y9L9cdkV6kSBZsIsM8BFd6ByA3l4VZVzGa3LtKBVI4o9iES1 n0+6JwkjO7/BNi9k+3D5mpxS66AWWOIfhcNRbuTx0WIGL7o341CNToXZPnGQVlvWGiib +dTXzhpibbUIPQZTVg72ST2IvpEq8sLVbDMvwHPLeuz5tRgwiwrCvobHG74KwwgaP6tT eC+JxHxeNpl2i8E91kUmDyAEOIX6JOiIoX4/dbvOvw1yAVN+KABogxvf7+JuAVsbp8TL gtzQ==
MIME-Version: 1.0
X-Received: by 10.236.139.70 with SMTP id b46mr48835840yhj.63.1399304401982; Mon, 05 May 2014 08:40:01 -0700 (PDT)
Received: by 10.170.63.197 with HTTP; Mon, 5 May 2014 08:40:01 -0700 (PDT)
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5C7BD0D@XMB116CNC.rim.net>
References: <CACsn0cmGm0yEee207Zh+6qf=L=oPti1Hj8GoRqVv_UhzRoWuQg@mail.gmail.com> <810C31990B57ED40B2062BA10D43FBF5C7BD0D@XMB116CNC.rim.net>
Date: Mon, 5 May 2014 08:40:01 -0700
Message-ID: <CACsn0cn5ueWkZ2LWB9VXEYx2v+xN6yMCUE7_DQDjJCohA3XizQ@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Dan Brown <dbrown@certicom.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/T7AWpopT0FX6xDoANAJ4TQM_Jrg
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Slides for interim meeting
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 05 May 2014 15:40:10 -0000

On Mon, May 5, 2014 at 8:04 AM, Dan Brown <dbrown@certicom.com> wrote:
> Hi Watson,
>
> Can you elaborate on your last slide item "Reduction to DDH"?
>
> I've been trying to catch up with reading the papers about TLS, but was
> further motived by your comment.  So far, I have scanned a couple papers for
> such a reduction, without clear success.  I have probably just not looked at
> the right paper yet.
>

So I'm ignoring everything that TLS actually does, and focusing on a
protocol I understand, namely Diffie-Hellman where we have known
public keys.

The attacker sees a bunch of (g^a, g^b, H(g^(ab)), and can feed in an
h to get (g^a, H(h^a)). If H is a random oracle, then for the attacker
to distinguish (g^c, g^d, H(g^(cd)), where he hasn't seen one of c or
d before, from (g^c, g^d, X), reduces to CDH: they have to compute
g^(cd) to get the answer out of the random oracle, and knowing
H(whatever) is (almost) absolutely useless. (Apply usual quadratic
loss to abort in case of H(whatevers) equaling each other)

In the standard model I think you get DDH instead. Either way, the
Cheon attack is completely inhibited unless a preimage attack on the
hash function exists.

Most key exchanges look like this: MQV hashes the shared element, HMQV
hashes the shared element, TLS hashes the shared element. The need to
do other things in the case of TLS then reduce to DDH is because of
technicalities in the TLS protocol, according to
http://eprint.iacr.org/2013/367.pdf.

Sincerely,
Watson Ladd

> Best regards,
>
> Dan
>
>> -----Original Message-----
>> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Watson Ladd
>> Sent: Monday, April 28, 2014 8:25 PM
>> To: cfrg@irtf.org
>> Subject: [Cfrg] Slides for interim meeting
>>
>> Dear all,
>> My slides are attached.
>> Sincerely,
>> Watson Ladd



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


From nobody Mon May  5 10:59:01 2014
Return-Path: <kmigoe@nsa.gov>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 451EF1A0445 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 10:58:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.15
X-Spam-Level: 
X-Spam-Status: No, score=-6.15 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ihmKmNlpNYtf for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 10:58:54 -0700 (PDT)
Received: from emvm-gh1-uea09.nsa.gov (emvm-gh1-uea09.nsa.gov [63.239.67.10]) by ietfa.amsl.com (Postfix) with ESMTP id 1C93D1A0433 for <cfrg@irtf.org>; Mon,  5 May 2014 10:58:54 -0700 (PDT)
X-TM-IMSS-Message-ID: <261dc9cf000cbbc7@nsa.gov>
Received: from MSHT-GH1-UEA01.corp.nsa.gov ([10.215.227.18]) by nsa.gov ([63.239.67.10]) with ESMTP (TREND IMSS SMTP Service 7.1; TLSv1/SSLv3 AES128-SHA (128/128)) id 261dc9cf000cbbc7 ; Mon, 5 May 2014 14:01:43 -0400
Received: from MSMR-GH1-UEA10.corp.nsa.gov (10.215.228.27) by MSHT-GH1-UEA01.corp.nsa.gov (10.215.227.18) with Microsoft SMTP Server (TLS) id 14.2.342.3; Mon, 5 May 2014 13:58:49 -0400
Received: from MSMR-GH1-UEA03.corp.nsa.gov ([10.215.224.3]) by MSMR-GH1-UEA10.corp.nsa.gov ([10.215.228.27]) with mapi id 14.01.0289.001; Mon, 5 May 2014 13:58:48 -0400
From: "Igoe, Kevin M." <kmigoe@nsa.gov>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: Task looming over the CFRG
Thread-Index: Ac9oi6oYPJfN8CicTuuHQj1qX4dIoA==
Date: Mon, 5 May 2014 17:58:48 +0000
Message-ID: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.215.227.232]
Content-Type: multipart/alternative; boundary="_000_3C4AAD4B5304AB44A6BA85173B4675CABAA4022FMSMRGH1UEA03cor_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/v5osq4S81IRkqW-8vfd9qlferj4
Subject: [Cfrg] Task looming over the CFRG
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 05 May 2014 17:58:58 -0000

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

As most the folks who read this list have noticed, a virtual interim meetin=
g of the CFRG
was held on Tues 29 April to discuss the way forward for elliptic curve cry=
ptography
in the IETF.  This was driven by an earnest plea from the TLS WG for firm g=
uidance from
the CGRG on the selection of elliptic curves for use in TLS.  They need an =
answer  before
the Toronto IETF meeting in late July.  TLS needs curves for several levels=
 of security (128,
192 and 256), suitable for use in both key agreement and in digital signatu=
res.

*       The consensus of the attendees was that it would be best for TLS to=
 have a single
      "mandatory to implement" curve for each of the three security levels.

*       Though the attendees were reluctant to make a formal commitment, th=
ere
      was clearly a great deal of support for the Montgomery curve curve255=
19 (FYI, the
      25519 refers to the fact that arithmetic is done modulo the prime 2**=
255 - 19 ).

*       curve25519 only fills one of the three required security levels.  W=
e still need
      curves of size near 384 bits and 512 bits.

*       NIST curves: I doubt TLS will be willing to revisit the question of=
 elliptic curves once the
      CFRG has made their recommendation.  Another option to consider is ad=
vising TLS to
      use of the NIST curves in the short term, buying time for the CFRG to=
 do an unrushed
      exploration of the alternatives, drawing academia and other standards=
 bodies into the
      discussion.

P.S.  It has been suggested that the CFRG hold a session at the Crypto conf=
erence in
Santa Barbara in an effort to draw in more participation from the academic =
community.
No guarantees we can pull this off, but it is worth the attempt. Thoughts? =
Volunteers?

P.P.S. We need to start lining up speakers for the CFRG session at IETF-90 =
(Toronto).


----------------+--------------------------------------------------
Kevin M. Igoe   | "We can't solve problems by using the same kind
kmigoe@nsa.gov  | of thinking we used when we created them."
                |              - Albert Einstein -
----------------+--------------------------------------------------




--_000_3C4AAD4B5304AB44A6BA85173B4675CABAA4022FMSMRGH1UEA03cor_
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"=
>
<meta name=3D"Generator" content=3D"Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left:=
 #800000 2px solid; } --></style>
</head>
<body>
<font face=3D"Calibri" size=3D"2"><span style=3D"font-size:11pt;">
<div>As most the folks who read this list have noticed, a virtual interim m=
eeting of the CFRG</div>
<div>was held on Tues 29 April to discuss the way forward for elliptic curv=
e cryptography</div>
<div>in the IETF.&nbsp; <b><i>This </i></b><b><i>was</i></b><b><i> driven b=
y an earnest plea from the TLS WG for firm</i></b><b><i> </i></b><b><i>guid=
ance </i></b><b><i>from
<br>

the CGRG </i></b><b><i>on the selection of elliptic curves</i></b><b><i> </=
i></b><b><i>for use in TLS.&nbsp; They need an answer </i></b><b><i> before
<br>

</i></b><b><i>the </i></b><b><i>Toronto</i></b><b><i> IETF meeting i</i></b=
><b><i>n</i></b><b><i> </i></b><b><i>late July</i></b>.&nbsp; TLS needs cur=
ves for several<b><i> </i></b>levels of security (128,
<br>

192 and 256), suitable for use in both key agreement and<b><i> </i></b>in d=
igital signatures.</div>
<div>&nbsp;</div>
<ul style=3D"margin:0;padding-left:36pt;">
<li>The consensus of the attendees was that it would be best for TLS to hav=
e a single<br>

&#8220;mandatory to implement&#8221; curve for each of the three security l=
evels.</li></ul>
<div>&nbsp;</div>
<ul style=3D"margin:0;padding-left:36pt;">
<li>Though the attendees were reluctant to make a formal commitment, there<=
br>

was clearly a great deal of support for the Montgomery curve curve25519 (FY=
I, the
<br>

25519 refers to the fact that arithmetic is done modulo the prime 2**255 &#=
8211; 19 ). </li></ul>
<div style=3D"padding-left:36pt;">&nbsp;</div>
<ul style=3D"margin:0;padding-left:36pt;">
<li>curve25519 only fills one of the three required security levels.&nbsp; =
We still need<br>

curves of size near 384 bits and 512 bits.</li></ul>
<div style=3D"padding-left:36pt;">&nbsp;</div>
<ul style=3D"margin:0;padding-left:36pt;">
<li>NIST curves: I doubt TLS will be willing to revisit the question of ell=
iptic curves once the
<br>

CFRG has made their recommendation.&nbsp; Another option to consider is adv=
ising TLS to<br>

use of the NIST curves in the short term, buying time for the CFRG to do an=
 unrushed
<br>

exploration of the alternatives, drawing academia and other standards bodie=
s into the
<br>

discussion. </li></ul>
<div style=3D"padding-left:36pt;">&nbsp;</div>
<div>P.S.&nbsp; It has been suggested that the CFRG hold a session at the C=
rypto conference in</div>
<div>Santa Barbara in an effort to draw in more participation from the acad=
emic community.</div>
<div>No guarantees we can pull this off, but it is worth the attempt. Thoug=
hts? Volunteers?</div>
<div>&nbsp;</div>
<div>P.P.S. We need to start lining up speakers for the CFRG session at IET=
F-90 (Toronto).</div>
<div>&nbsp;</div>
<div><font color=3D"#333333">&nbsp;</font></div>
<div><font face=3D"Courier New" size=3D"2" color=3D"#333333"><span style=3D=
"font-size:10pt;">----------------&#43;------------------------------------=
--------------</span></font></div>
<div><font face=3D"Courier New" size=3D"2" color=3D"#333333"><span style=3D=
"font-size:10pt;">Kevin M. Igoe&nbsp;&nbsp; | &quot;We can't solve problems=
 by using the same kind</span></font></div>
<div><font face=3D"Courier New" size=3D"2" color=3D"#333333"><span style=3D=
"font-size:10pt;">kmigoe@nsa.gov&nbsp; | of thinking we used when we create=
d them.&quot; </span></font></div>
<div><font face=3D"Courier New" size=3D"2" color=3D"#333333"><span style=3D=
"font-size:10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Albert Einstein -</span></font></d=
iv>
<div><font face=3D"Courier New" size=3D"2" color=3D"#333333"><span style=3D=
"font-size:10pt;">----------------&#43;------------------------------------=
--------------</span></font></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
</span></font>
</body>
</html>

--_000_3C4AAD4B5304AB44A6BA85173B4675CABAA4022FMSMRGH1UEA03cor_--


From nobody Mon May  5 11:25:19 2014
Return-Path: <mike@shiftleft.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ADE481A0406 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 11:25:11 -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 ig2fDHFQRiiR for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 11:25:10 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) by ietfa.amsl.com (Postfix) with ESMTP id 00BB01A0409 for <cfrg@irtf.org>; Mon,  5 May 2014 11:25:09 -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 8DA103AA3F; Mon,  5 May 2014 11:22:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1399314176; bh=bKKJiuGYKen/VcWY64bE4RHVLbveYiLjQOBOTboQcrA=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=T1Tq6vupmNqr8Afg7IZLAUwzcSaSOZILpValicvszKLr09YsDfqZsNGDxeFB+MMQW YjG/H/BIhqKhZXaF+3OQOi+gePwfshAXi6Wm6pLXJyuqZDFf2apCbtRtEx8U1sHvyc 0tjENmuOf1NsdmA7StcVl6pncFoexwMO4B2KPSss=
Content-Type: multipart/alternative; boundary="Apple-Mail=_B8138695-AA74-4AC9-B7D2-69BA7D5D2D0B"
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov>
Date: Mon, 5 May 2014 11:25:05 -0700
Message-Id: <E98B42D5-610C-4532-B765-5819A35A456C@shiftleft.org>
References: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov>
To: "Igoe, Kevin M." <kmigoe@nsa.gov>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/BkFuy40glZGK38KZxfmSsiEa1ag
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Task looming over the CFRG
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 05 May 2014 18:25:11 -0000

--Apple-Mail=_B8138695-AA74-4AC9-B7D2-69BA7D5D2D0B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Hi Kevin,

As the designer of an ECC system which is aimed at 224-ish-bit security, =
I=92m curious: is it a firm requirement that the curves be set at 128, =
192 and 256 bits?  Or was there consensus in the meeting that the curves =
should be set at these security levels?  Patrick Longa aimed his talk at =
these security levels, but I don=92t recall this being stated as a =
requirement.

Cheers,
=97 Mike


On May 5, 2014, at 10:58 AM, Igoe, Kevin M. <kmigoe@nsa.gov> wrote:

> As most the folks who read this list have noticed, a virtual interim =
meeting of the CFRG
> was held on Tues 29 April to discuss the way forward for elliptic =
curve cryptography
> in the IETF.  This was driven by an earnest plea from the TLS WG for =
firm guidance from=20
> the CGRG on the selection of elliptic curves for use in TLS.  They =
need an answer before=20
> the Toronto IETF meeting in late July.  TLS needs curves for several =
levels of security (128,=20
> 192 and 256), suitable for use in both key agreement and in digital =
signatures.
> =20
> The consensus of the attendees was that it would be best for TLS to =
have a single
> =93mandatory to implement=94 curve for each of the three security =
levels.
> =20
> Though the attendees were reluctant to make a formal commitment, there
> was clearly a great deal of support for the Montgomery curve =
curve25519 (FYI, the=20
> 25519 refers to the fact that arithmetic is done modulo the prime =
2**255 =96 19 ).
> =20
> curve25519 only fills one of the three required security levels.  We =
still need
> curves of size near 384 bits and 512 bits.
> =20
> NIST curves: I doubt TLS will be willing to revisit the question of =
elliptic curves once the=20
> CFRG has made their recommendation.  Another option to consider is =
advising TLS to
> use of the NIST curves in the short term, buying time for the CFRG to =
do an unrushed=20
> exploration of the alternatives, drawing academia and other standards =
bodies into the=20
> discussion.
> =20
> P.S.  It has been suggested that the CFRG hold a session at the Crypto =
conference in
> Santa Barbara in an effort to draw in more participation from the =
academic community.
> No guarantees we can pull this off, but it is worth the attempt. =
Thoughts? Volunteers?
> =20
> P.P.S. We need to start lining up speakers for the CFRG session at =
IETF-90 (Toronto).
> =20
> =20
> ----------------+--------------------------------------------------
> Kevin M. Igoe   | "We can't solve problems by using the same kind
> kmigoe@nsa.gov  | of thinking we used when we created them."
>                 |              - Albert Einstein -
> ----------------+--------------------------------------------------
> =20
> =20
> =20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


--Apple-Mail=_B8138695-AA74-4AC9-B7D2-69BA7D5D2D0B
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 Kevin,</div><div><br></div><div>As the =
designer of an ECC system which is aimed at 224-ish-bit security, I=92m =
curious: is it a firm requirement that the curves be set at 128, 192 and =
256 bits? &nbsp;Or was there consensus in the meeting that the curves =
should be set at these security levels? &nbsp;Patrick Longa aimed his =
talk at these security levels, but I don=92t recall this being stated as =
a requirement.</div><div><br></div><div>Cheers,</div><div>=97 =
Mike</div><div><br></div><div><br></div><div><div>On May 5, 2014, at =
10:58 AM, Igoe, Kevin M. &lt;<a =
href=3D"mailto:kmigoe@nsa.gov">kmigoe@nsa.gov</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;"><font face=3D"Calibri" =
size=3D"2"><span style=3D"font-size: 11pt;"><div>As most the folks who =
read this list have noticed, a virtual interim meeting of the =
CFRG</div><div>was held on Tues 29 April to discuss the way forward for =
elliptic curve cryptography</div><div>in the IETF.&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span><b><i>This<span =
class=3D"Apple-converted-space">&nbsp;</span></i></b><b><i>was</i></b><b><=
i><span class=3D"Apple-converted-space">&nbsp;</span>driven by an =
earnest plea from the TLS WG for firm</i></b><b><i><span =
class=3D"Apple-converted-space">&nbsp;</span></i></b><b><i>guidance<span =
class=3D"Apple-converted-space">&nbsp;</span></i></b><b><i>from<span =
class=3D"Apple-converted-space">&nbsp;</span><br>the CGRG<span =
class=3D"Apple-converted-space">&nbsp;</span></i></b><b><i>on the =
selection of elliptic curves</i></b><b><i><span =
class=3D"Apple-converted-space">&nbsp;</span></i></b><b><i>for use in =
TLS.&nbsp; They need an answer<span =
class=3D"Apple-converted-space">&nbsp;</span></i></b><b><i>before<span =
class=3D"Apple-converted-space">&nbsp;</span><br></i></b><b><i>the<span =
class=3D"Apple-converted-space">&nbsp;</span></i></b><b><i>Toronto</i></b>=
<b><i><span class=3D"Apple-converted-space">&nbsp;</span>IETF meeting =
i</i></b><b><i>n</i></b><b><i><span =
class=3D"Apple-converted-space">&nbsp;</span></i></b><b><i>late =
July</i></b>.&nbsp; TLS needs curves for several<b><i><span =
class=3D"Apple-converted-space">&nbsp;</span></i></b>levels of security =
(128,<span class=3D"Apple-converted-space">&nbsp;</span><br>192 and =
256), suitable for use in both key agreement and<b><i><span =
class=3D"Apple-converted-space">&nbsp;</span></i></b>in digital =
signatures.</div><div>&nbsp;</div><ul style=3D"margin: 0px; =
padding-left: 36pt;"><li>The consensus of the attendees was that it =
would be best for TLS to have a single<br>=93mandatory to implement=94 =
curve for each of the three security =
levels.</li></ul><div>&nbsp;</div><ul style=3D"margin: 0px; =
padding-left: 36pt;"><li>Though the attendees were reluctant to make a =
formal commitment, there<br>was clearly a great deal of support for the =
Montgomery curve curve25519 (FYI, the<span =
class=3D"Apple-converted-space">&nbsp;</span><br>25519 refers to the =
fact that arithmetic is done modulo the prime 2**255 =96 19 =
).</li></ul><div style=3D"padding-left: 36pt;">&nbsp;</div><ul =
style=3D"margin: 0px; padding-left: 36pt;"><li>curve25519 only fills one =
of the three required security levels.&nbsp; We still need<br>curves of =
size near 384 bits and 512 bits.</li></ul><div style=3D"padding-left: =
36pt;">&nbsp;</div><ul style=3D"margin: 0px; padding-left: =
36pt;"><li>NIST curves: I doubt TLS will be willing to revisit the =
question of elliptic curves once the<span =
class=3D"Apple-converted-space">&nbsp;</span><br>CFRG has made their =
recommendation.&nbsp; Another option to consider is advising TLS =
to<br>use of the NIST curves in the short term, buying time for the CFRG =
to do an unrushed<span =
class=3D"Apple-converted-space">&nbsp;</span><br>exploration of the =
alternatives, drawing academia and other standards bodies into the<span =
class=3D"Apple-converted-space">&nbsp;</span><br>discussion.</li></ul><div=
 style=3D"padding-left: 36pt;">&nbsp;</div><div>P.S.&nbsp; It has been =
suggested that the CFRG hold a session at the Crypto conference =
in</div><div>Santa Barbara in an effort to draw in more participation =
from the academic community.</div><div>No guarantees we can pull this =
off, but it is worth the attempt. Thoughts? =
Volunteers?</div><div>&nbsp;</div><div>P.P.S. We need to start lining up =
speakers for the CFRG session at IETF-90 =
(Toronto).</div><div>&nbsp;</div><div><font =
color=3D"#333333">&nbsp;</font></div><div><font face=3D"Courier New" =
size=3D"2" color=3D"#333333"><span style=3D"font-size: =
10pt;">----------------+--------------------------------------------------=
</span></font></div><div><font face=3D"Courier New" size=3D"2" =
color=3D"#333333"><span style=3D"font-size: 10pt;">Kevin M. =
Igoe&nbsp;&nbsp; | "We can't solve problems by using the same =
kind</span></font></div><div><font face=3D"Courier New" size=3D"2" =
color=3D"#333333"><span style=3D"font-size: 10pt;"><a =
href=3D"mailto:kmigoe@nsa.gov">kmigoe@nsa.gov</a>&nbsp; | of thinking we =
used when we created them."</span></font></div><div><font face=3D"Courier =
New" size=3D"2" color=3D"#333333"><span style=3D"font-size: =
10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; - Albert Einstein -</span></font></div><div><font face=3D"Courier =
New" size=3D"2" color=3D"#333333"><span style=3D"font-size: =
10pt;">----------------+--------------------------------------------------=
</span></font></div><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div></s=
pan></font>_______________________________________________<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">http://www.irtf.org/mai=
lman/listinfo/cfrg</a></div></blockquote></div><br></body></html>=

--Apple-Mail=_B8138695-AA74-4AC9-B7D2-69BA7D5D2D0B--


From nobody Mon May  5 11:36:10 2014
Return-Path: <rstruik.ext@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5E5F41A02DE for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 11:36:08 -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 VTjG28Bhk4A8 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 11:36:05 -0700 (PDT)
Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) by ietfa.amsl.com (Postfix) with ESMTP id BE2BA1A00E8 for <cfrg@irtf.org>; Mon,  5 May 2014 11:36:04 -0700 (PDT)
Received: by mail-ie0-f181.google.com with SMTP id y20so8146229ier.26 for <cfrg@irtf.org>; Mon, 05 May 2014 11:36:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=So5/S6zHu7vPlyBUk7jq8+uqJc44a99FEbNSmxqZDT4=; b=CV2u4Wigs7sJfR+CI4aNSECEDY/paoc4Lfh+sQF1tTPkKJD6foPiVbL3vWSyWGFNlq h4Sz6DiDq1YHAG2tnUgBReq5mwjJ/MDSHbuBqUDwe4GZ6lFABCvvkpqdSj6gQjORpNST zS0xm6UhPfOEaMrPtDycth3+BgdecPzsHDxedM3g1yCkgkXzyJ5UTw3OTtZizgBir2R7 GTLcxPRt1qQW4vbGkGlVVv0yOPGYboAk3ppvjjKjcucMX1MyzxydGpgLN5IjYwJmDOhy XGJH9ekrSqgdiz4X9dicQtHLhOz86gwcM1INtjMnsiX4g0SCyfeo3yPKHwReu5TxPWnA 6xpQ==
X-Received: by 10.43.141.81 with SMTP id jd17mr32856017icc.39.1399314961189; Mon, 05 May 2014 11:36:01 -0700 (PDT)
Received: from [192.168.1.103] (CPE0013100e2c51-CM001cea35caa6.cpe.net.cable.rogers.com. [99.231.3.110]) by mx.google.com with ESMTPSA id s1sm29774268igr.14.2014.05.05.11.35.58 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 May 2014 11:35:59 -0700 (PDT)
Message-ID: <5367DA09.7020906@gmail.com>
Date: Mon, 05 May 2014 14:35:53 -0400
From: Rene Struik <rstruik.ext@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version: 1.0
To: "Igoe, Kevin M." <kmigoe@nsa.gov>, "cfrg@irtf.org" <cfrg@irtf.org>
References: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov>
In-Reply-To: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov>
Content-Type: multipart/alternative; boundary="------------020105060604050902090808"
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/19vQeSNby9sZckS9b9407ufzWNs
Subject: Re: [Cfrg] Task looming over the CFRG
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 05 May 2014 18:36:08 -0000

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

Hi Kevin:

Just a few hours prior to the CFRG Interim, David McGrew suggested some 
criteria for elliptic curves, on which a few comments were received on 
the mailing list. This list was also - very briefly - discussed during 
the Virtual Interim. During the virtual interim, there were 
presentations by various people on curve picks. There was no discussion 
on schemes these curves should be used with (except for plain ECDH).

I think it would be premature to now already draw a conclusion here, 
since there has hardly been time to digest presentations and reflect 
upon this. Any presumed concensus by attendees during the call could 
hardly have been based on reflecting on presented material, since this 
was uploaded x-minutes prior to the meeting and there was no magical 
break during the interim to digest material further. So, what was the 
point of the curve selection criteria strawman and virtual interim 
presentations if the conclusions are already known now?

I would suspect (and raised this on the chat box at the end of the 
interim) that there should be a sequel to this during the IETF-90 
meeting in Toronto (assuming CFRG would indeed meet there).

Best regards, Rene

http://www.ietf.org/mail-archive/web/cfrg/current/msg04461.html

On 5/5/2014 1:58 PM, Igoe, Kevin M. wrote:
> As most the folks who read this list have noticed, a virtual interim 
> meeting of the CFRG
> was held on Tues 29 April to discuss the way forward for elliptic 
> curve cryptography
> in the IETF. */This /**/was/**/driven by an earnest plea from the TLS 
> WG for firm/**//**/guidance /**/from
> the CGRG /**/on the selection of elliptic curves/**//**/for use in 
> TLS. They need an answer /**/before
> /**/the /**/Toronto/**/IETF meeting i/**/n/**//**/late July/*.  TLS 
> needs curves for several*//*levels of security (128,
> 192 and 256), suitable for use in both key agreement and*//*in digital 
> signatures.
>
>   * The consensus of the attendees was that it would be best for TLS
>     to have a single
>     "mandatory to implement" curve for each of the three security levels.
>
>   * Though the attendees were reluctant to make a formal commitment, there
>     was clearly a great deal of support for the Montgomery curve
>     curve25519 (FYI, the
>     25519 refers to the fact that arithmetic is done modulo the prime
>     2**255 -- 19 ).
>
>   * curve25519 only fills one of the three required security levels. 
>     We still need
>     curves of size near 384 bits and 512 bits.
>
>   * NIST curves: I doubt TLS will be willing to revisit the question
>     of elliptic curves once the
>     CFRG has made their recommendation.  Another option to consider is
>     advising TLS to
>     use of the NIST curves in the short term, buying time for the CFRG
>     to do an unrushed
>     exploration of the alternatives, drawing academia and other
>     standards bodies into the
>     discussion.
>
> P.S.  It has been suggested that the CFRG hold a session at the Crypto 
> conference in
> Santa Barbara in an effort to draw in more participation from the 
> academic community.
> No guarantees we can pull this off, but it is worth the attempt. 
> Thoughts? Volunteers?
> P.P.S. We need to start lining up speakers for the CFRG session at 
> IETF-90 (Toronto).
> ----------------+--------------------------------------------------
> Kevin M. Igoe   | "We can't solve problems by using the same kind
> kmigoe@nsa.gov  | of thinking we used when we created them."
>                 |              - Albert Einstein -
> ----------------+--------------------------------------------------
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


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


--------------020105060604050902090808
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">Hi Kevin:<br>
      <br>
      Just a few hours prior to the CFRG Interim, David McGrew suggested
      some criteria for elliptic curves, on which a few comments were
      received on the mailing list. This list was also - very briefly -
      discussed during the Virtual Interim. During the virtual interim,
      there were presentations by various people on curve picks. There
      was no discussion on schemes these curves should be used with
      (except for plain ECDH).<br>
      <br>
      I think it would be premature to now already draw a conclusion
      here, since there has hardly been time to digest presentations and
      reflect upon this. Any presumed concensus by attendees during the
      call could hardly have been based on reflecting on presented
      material, since this was uploaded x-minutes prior to the meeting
      and there was no magical break during the interim to digest
      material further. So, what was the point of the curve selection
      criteria strawman and virtual interim presentations if the
      conclusions are already known now?<br>
      <br>
      I would suspect (and raised this on the chat box at the end of the
      interim) that there should be a sequel to this during the IETF-90
      meeting in Toronto (assuming CFRG would indeed meet there).<br>
      <br>
      Best regards, Rene<br>
      <br>
      <a class="moz-txt-link-freetext" href="http://www.ietf.org/mail-archive/web/cfrg/current/msg04461.html">http://www.ietf.org/mail-archive/web/cfrg/current/msg04461.html</a><br>
      <br>
      On 5/5/2014 1:58 PM, Igoe, Kevin M. wrote:<br>
    </div>
    <blockquote
cite="mid:3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Exchange Server">
      <!-- converted from rtf -->
      <style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
      <font face="Calibri" size="2"><span style="font-size:11pt;">
          <div>As most the folks who read this list have noticed, a
            virtual interim meeting of the CFRG</div>
          <div>was held on Tues 29 April to discuss the way forward for
            elliptic curve cryptography</div>
          <div>in the IETF.&nbsp; <b><i>This </i></b><b><i>was</i></b><b><i>
                driven by an earnest plea from the TLS WG for firm</i></b><b><i>
              </i></b><b><i>guidance </i></b><b><i>from
                <br>
                the CGRG </i></b><b><i>on the selection of elliptic
                curves</i></b><b><i> </i></b><b><i>for use in TLS.&nbsp;
                They need an answer </i></b><b><i> before
                <br>
              </i></b><b><i>the </i></b><b><i>Toronto</i></b><b><i>
                IETF meeting i</i></b><b><i>n</i></b><b><i> </i></b><b><i>late
                July</i></b>.&nbsp; TLS needs curves for several<b><i> </i></b>levels
            of security (128,
            <br>
            192 and 256), suitable for use in both key agreement and<b><i>
              </i></b>in digital signatures.</div>
          <div>&nbsp;</div>
          <ul style="margin:0;padding-left:36pt;">
            <li>The consensus of the attendees was that it would be best
              for TLS to have a single<br>
              &#8220;mandatory to implement&#8221; curve for each of the three
              security levels.</li>
          </ul>
          <div>&nbsp;</div>
          <ul style="margin:0;padding-left:36pt;">
            <li>Though the attendees were reluctant to make a formal
              commitment, there<br>
              was clearly a great deal of support for the Montgomery
              curve curve25519 (FYI, the
              <br>
              25519 refers to the fact that arithmetic is done modulo
              the prime 2**255 &#8211; 19 ). </li>
          </ul>
          <div style="padding-left:36pt;">&nbsp;</div>
          <ul style="margin:0;padding-left:36pt;">
            <li>curve25519 only fills one of the three required security
              levels.&nbsp; We still need<br>
              curves of size near 384 bits and 512 bits.</li>
          </ul>
          <div style="padding-left:36pt;">&nbsp;</div>
          <ul style="margin:0;padding-left:36pt;">
            <li>NIST curves: I doubt TLS will be willing to revisit the
              question of elliptic curves once the
              <br>
              CFRG has made their recommendation.&nbsp; Another option to
              consider is advising TLS to<br>
              use of the NIST curves in the short term, buying time for
              the CFRG to do an unrushed
              <br>
              exploration of the alternatives, drawing academia and
              other standards bodies into the
              <br>
              discussion. </li>
          </ul>
          <div style="padding-left:36pt;">&nbsp;</div>
          <div>P.S.&nbsp; It has been suggested that the CFRG hold a session
            at the Crypto conference in</div>
          <div>Santa Barbara in an effort to draw in more participation
            from the academic community.</div>
          <div>No guarantees we can pull this off, but it is worth the
            attempt. Thoughts? Volunteers?</div>
          <div>&nbsp;</div>
          <div>P.P.S. We need to start lining up speakers for the CFRG
            session at IETF-90 (Toronto).</div>
          <div>&nbsp;</div>
          <div><font color="#333333">&nbsp;</font></div>
          <div><font color="#333333" face="Courier New" size="2"><span
                style="font-size:10pt;">----------------+--------------------------------------------------</span></font></div>
          <div><font color="#333333" face="Courier New" size="2"><span
                style="font-size:10pt;">Kevin M. Igoe&nbsp;&nbsp; | "We can't
                solve problems by using the same kind</span></font></div>
          <div><font color="#333333" face="Courier New" size="2"><span
                style="font-size:10pt;"><a class="moz-txt-link-abbreviated" href="mailto:kmigoe@nsa.gov">kmigoe@nsa.gov</a>&nbsp; | of thinking we
                used when we created them." </span></font></div>
          <div><font color="#333333" face="Courier New" size="2"><span
                style="font-size:10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -
                Albert Einstein -</span></font></div>
          <div><font color="#333333" face="Courier New" size="2"><span
                style="font-size:10pt;">----------------+--------------------------------------------------</span></font></div>
          <div>&nbsp;</div>
          <div>&nbsp;</div>
          <div>&nbsp;</div>
        </span></font>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Cfrg mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a>
<a class="moz-txt-link-freetext" href="http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/mailman/listinfo/cfrg</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
email: <a class="moz-txt-link-abbreviated" href="mailto:rstruik.ext@gmail.com">rstruik.ext@gmail.com</a> | Skype: rstruik
cell: +1 (647) 867-5658 | US: +1 (415) 690-7363</pre>
  </body>
</html>

--------------020105060604050902090808--


From nobody Mon May  5 12:08:39 2014
Return-Path: <paul@marvell.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D33DC1A0430 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 12:08:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.266
X-Spam-Level: 
X-Spam-Status: No, score=-2.266 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v6pdKRIm-5I4 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 12:08:30 -0700 (PDT)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by ietfa.amsl.com (Postfix) with ESMTP id 8AB4E1A00ED for <cfrg@irtf.org>; Mon,  5 May 2014 12:08:28 -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 s45J8N3L012714; Mon, 5 May 2014 12:08:23 -0700
Received: from sc-owa.marvell.com ([199.233.58.135]) by mx0b-0016f401.pphosted.com with ESMTP id 1kngkfnkph-22 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 05 May 2014 12:08:23 -0700
Received: from SC-vEXCH2.marvell.com ([10.93.76.134]) by SC-OWA.marvell.com ([::1]) with mapi; Mon, 5 May 2014 12:08:19 -0700
From: Paul Lambert <paul@marvell.com>
To: Rene Struik <rstruik.ext@gmail.com>, "Igoe, Kevin M." <kmigoe@nsa.gov>, "cfrg@irtf.org" <cfrg@irtf.org>
Date: Mon, 5 May 2014 12:09:42 -0700
Thread-Topic: [Cfrg] Task looming over the CFRG
Thread-Index: Ac9olWB2GKkO2EBjTuWScrNpAEQj9w==
Message-ID: <CF8D298B.3A3C3%paul@marvell.com>
References: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov> <5367DA09.7020906@gmail.com>
In-Reply-To: <5367DA09.7020906@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.1.140326
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_CF8D298B3A3C3paulmarvellcom_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.96, 1.0.14,  0.0.0000 definitions=2014-05-05_03:2014-05-05,2014-05-05,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1405050300
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/4apk5BD5dEEbMGuHsq-Br-zdbFk
Subject: Re: [Cfrg] Task looming over the CFRG
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 05 May 2014 19:08:34 -0000

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


Hi Rene,

From: Rene Struik <rstruik.ext@gmail.com<mailto:rstruik.ext@gmail.com>>
Date: Monday, May 5, 2014 at 11:35 AM
To: "Igoe, Kevin M." <kmigoe@nsa.gov<mailto:kmigoe@nsa.gov>>, "cfrg@irtf.or=
g<mailto:cfrg@irtf.org>" <cfrg@irtf.org<mailto:cfrg@irtf.org>>
Subject: Re: [Cfrg] Task looming over the CFRG

Hi Kevin:

Just a few hours prior to the CFRG Interim, David McGrew suggested some cri=
teria for elliptic curves, on which a few comments were received on the mai=
ling list. This list was also - very briefly - discussed during the Virtual=
 Interim. During the virtual interim, there were presentations by various p=
eople on curve picks. There was no discussion on schemes these curves shoul=
d be used with (except for plain ECDH).

I think it would be premature to now already draw a conclusion here,

I disagree.  The consensus in the ad hoc was clear.  Discussions on this li=
st are consist with the ad hoc discussion.   The flurry of activity in othe=
r working groups also reflects the same consensus to recommend Curve25519.

since there has hardly been time to digest presentations and reflect upon t=
his.

True, but none of the items were new information. Anyone participating in a=
n informed discussion should be familiar will all of the criteria. The coll=
ection of the list is valuable and could be the basis of any final formal r=
ecommendation.  Expressing the criteria in neutral and fair language that c=
aptures the background and importance of each requirement is worthy of it=
=92s own additional effort =85 but should not delay decisions we make based=
 on our discussions.

We can move forward with a recommendation and continue to use David=92s exc=
ellent list as the benchmark for rational of the selection.

There was also additional work we need to consider and the ad hoc ran out o=
f time to summarize work items.  Specifically, there are supporting recomme=
ndations required to:
 - document the changes in ECDH for cofactors >1
    - this may impact a variety of specifications.

I=92m also not clear yet what is the recommendation for digital signatures.=
   At a minimum, recommendations should be established to make ECDSA determ=
inistic.   Other signature algorithms are possible, but the impact on PKI o=
r alternatives of introducing a new signature algorithm needs some discussi=
on (IMHO).

 I=92d like to see a self consistent recommendations that define  key excha=
nges and signatures for the same curve (or related transformed curve).  PKI=
 interworking to bridge to the new curves would fall out from this set of d=
efinitions.

Paul


Any presumed concensus by attendees during the call could hardly have been =
based on reflecting on presented material, since this was uploaded x-minute=
s prior to the meeting and there was no magical break during the interim to=
 digest material further. So, what was the point of the curve selection cri=
teria strawman and virtual interim presentations if the conclusions are alr=
eady known now?

I would suspect (and raised this on the chat box at the end of the interim)=
 that there should be a sequel to this during the IETF-90 meeting in Toront=
o (assuming CFRG would indeed meet there).

Best regards, Rene

http://www.ietf.org/mail-archive/web/cfrg/current/msg04461.html

On 5/5/2014 1:58 PM, Igoe, Kevin M. wrote:
As most the folks who read this list have noticed, a virtual interim meetin=
g of the CFRG
was held on Tues 29 April to discuss the way forward for elliptic curve cry=
ptography
in the IETF.  This was driven by an earnest plea from the TLS WG for firmgu=
idance from
the CGRG on the selection of elliptic curves for use in TLS.  They need an =
answer before
the Toronto IETF meeting inlate July.  TLS needs curves for several levels =
of security (128,
192 and 256), suitable for use in both key agreement and in digital signatu=
res.


 *   The consensus of the attendees was that it would be best for TLS to ha=
ve a single
=93mandatory to implement=94 curve for each of the three security levels.



 *   Though the attendees were reluctant to make a formal commitment, there
was clearly a great deal of support for the Montgomery curve curve25519 (FY=
I, the
25519 refers to the fact that arithmetic is done modulo the prime 2**255 =
=96 19 ).



 *   curve25519 only fills one of the three required security levels.  We s=
till need
curves of size near 384 bits and 512 bits.



 *   NIST curves: I doubt TLS will be willing to revisit the question of el=
liptic curves once the
CFRG has made their recommendation.  Another option to consider is advising=
 TLS to
use of the NIST curves in the short term, buying time for the CFRG to do an=
 unrushed
exploration of the alternatives, drawing academia and other standards bodie=
s into the
discussion.


P.S.  It has been suggested that the CFRG hold a session at the Crypto conf=
erence in
Santa Barbara in an effort to draw in more participation from the academic =
community.
No guarantees we can pull this off, but it is worth the attempt. Thoughts? =
Volunteers?

P.P.S. We need to start lining up speakers for the CFRG session at IETF-90 =
(Toronto).


----------------+--------------------------------------------------
Kevin M. Igoe   | "We can't solve problems by using the same kind
kmigoe@nsa.gov<mailto:kmigoe@nsa.gov>  | of thinking we used when we create=
d them."
                |              - Albert Einstein -
----------------+--------------------------------------------------






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



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



--_000_CF8D298B3A3C3paulmarvellcom_
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; color: rgb(0, 0, 0); font-size: 14p=
x; font-family: Calibri, sans-serif;"><div><br></div><div>Hi Rene,</div><di=
v><br></div><span id=3D"OLK_SRC_BODY_SECTION"><div style=3D"font-family:Cal=
ibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium n=
one; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADD=
ING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; P=
ADDING-TOP: 3pt"><span style=3D"font-weight:bold">From: </span> Rene Struik=
 &lt;<a href=3D"mailto:rstruik.ext@gmail.com">rstruik.ext@gmail.com</a>&gt;=
<br><span style=3D"font-weight:bold">Date: </span> Monday, May 5, 2014 at 1=
1:35 AM<br><span style=3D"font-weight:bold">To: </span> &quot;Igoe, Kevin M=
.&quot; &lt;<a href=3D"mailto:kmigoe@nsa.gov">kmigoe@nsa.gov</a>&gt;, &quot=
;<a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>&quot; &lt;<a href=3D"ma=
ilto:cfrg@irtf.org">cfrg@irtf.org</a>&gt;<br><span style=3D"font-weight:bol=
d">Subject: </span> Re: [Cfrg] Task looming over the CFRG<br></div><div><br=
></div><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDE=
R-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div><div bgcolo=
r=3D"#FFFFFF" text=3D"#000000"><div class=3D"moz-cite-prefix">Hi Kevin:<br>=
<br>
Just a few hours prior to the CFRG Interim, David McGrew suggested some cri=
teria for elliptic curves, on which a few comments were received on the mai=
ling list. This list was also - very briefly - discussed during the Virtual=
 Interim. During the virtual interim,
 there were presentations by various people on curve picks. There was no di=
scussion on schemes these curves should be used with (except for plain ECDH=
).<br><br>
I think it would be premature to now already draw a conclusion here, </div>=
</div></div></blockquote></span><div><br></div><div>I disagree. &nbsp;The c=
onsensus in the ad hoc was clear. &nbsp;Discussions on this list are consis=
t with the ad hoc discussion. &nbsp; The flurry of activity in other workin=
g groups also reflects the same consensus to recommend Curve25519.</div><di=
v><br></div><span id=3D"OLK_SRC_BODY_SECTION"><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><div bgcolor=3D"#FFFFFF" text=3D"#000000"><div =
class=3D"moz-cite-prefix">since there has hardly been time to digest presen=
tations and reflect upon this. </div></div></div></blockquote></span><div><=
br></div><div>True, but none of the items were new information. Anyone part=
icipating in an informed discussion should be familiar will all of the crit=
eria. The collection of the list is valuable and could be the basis of any =
final formal recommendation. &nbsp;Expressing the criteria in neutral and f=
air language that captures the background and importance of each requiremen=
t is worthy of it=92s own additional effort =85 but should not delay decisi=
ons we make based on our discussions. &nbsp;</div><div><br></div><div>We ca=
n move forward with a recommendation and continue to use David=92s excellen=
t list as the benchmark for rational of the selection.</div><div><br></div>=
<div>There was also additional work we need to consider and the ad hoc ran =
out of time to summarize work items. &nbsp;Specifically, there are supporti=
ng recommendations required to:</div><div>&nbsp;- document the changes in E=
CDH for cofactors &gt;1</div><div>&nbsp; &nbsp; - this may impact a variety=
 of specifications.</div><div><br></div><div>I=92m also not clear yet what =
is the recommendation for digital signatures. &nbsp; At a minimum, recommen=
dations should be established to make ECDSA deterministic. &nbsp; Other sig=
nature algorithms are possible, but the impact on PKI or alternatives of in=
troducing a new signature algorithm needs some discussion (IMHO).&nbsp;</di=
v><div><br></div><div>&nbsp;I=92d like to see a self consistent recommendat=
ions that define &nbsp;key exchanges and signatures for the same curve (or =
related transformed curve). &nbsp;PKI interworking to bridge to the new cur=
ves would fall out from this set of definitions.</div><div><br></div><div>P=
aul</div><div><br></div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><b=
lockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT: #=
b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div><div bgcolor=3D"#FFF=
FFF" text=3D"#000000"><div class=3D"moz-cite-prefix">Any presumed concensus=
 by attendees during the call could hardly have been based on reflecting on=
 presented
 material, since this was uploaded x-minutes prior to the meeting and there=
 was no magical break during the interim to digest material further. So, wh=
at was the point of the curve selection criteria strawman and virtual inter=
im presentations if the conclusions
 are already known now?<br><br>
I would suspect (and raised this on the chat box at the end of the interim)=
 that there should be a sequel to this during the IETF-90 meeting in Toront=
o (assuming CFRG would indeed meet there).<br><br>
Best regards, Rene<br><br><a class=3D"moz-txt-link-freetext" href=3D"http:/=
/www.ietf.org/mail-archive/web/cfrg/current/msg04461.html">http://www.ietf.=
org/mail-archive/web/cfrg/current/msg04461.html</a><br><br>
On 5/5/2014 1:58 PM, Igoe, Kevin M. wrote:<br></div><blockquote cite=3D"mid=
:3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov" type=
=3D"cite"><meta name=3D"Generator" content=3D"Microsoft Exchange Server"><!=
-- converted from rtf --><style><!-- .EmailQuote { margin-left: 1pt; paddin=
g-left: 4pt; border-left: #800000 2px solid; } --></style><font face=3D"Cal=
ibri" size=3D"2"><span style=3D"font-size:11pt;"><div>As most the folks who=
 read this list have noticed, a virtual interim meeting of the CFRG</div><d=
iv>was held on Tues 29 April to discuss the way forward for elliptic curve =
cryptography</div><div>in the IETF.&nbsp; <b><i>This </i></b><b><i>was</i><=
/b><b><i> driven by an earnest plea from the TLS WG for firm</i></b><b><i><=
/i></b><b><i>guidance </i></b><b><i>from <br>
the CGRG </i></b><b><i>on the selection of elliptic curves</i></b><b><i> </=
i></b><b><i>for use in TLS.&nbsp; They need an answer
</i></b><b><i>before <br></i></b><b><i>the </i></b><b><i>Toronto</i></b><b>=
<i> IETF meeting i</i></b><b><i>n</i></b><b><i></i></b><b><i>late July</i><=
/b>.&nbsp; TLS needs curves for several<b><i> </i></b>levels of security (1=
28,
<br>
192 and 256), suitable for use in both key agreement and<b><i> </i></b>in d=
igital signatures.</div><div>&nbsp;</div><ul style=3D"margin:0;padding-left=
:36pt;"><li>The consensus of the attendees was that it would be best for TL=
S to have a single<br>
=93mandatory to implement=94 curve for each of the three security levels. <=
/li></ul><div>&nbsp;</div><ul style=3D"margin:0;padding-left:36pt;"><li>Tho=
ugh the attendees were reluctant to make a formal commitment, there<br>
was clearly a great deal of support for the Montgomery curve curve25519 (FY=
I, the
<br>
25519 refers to the fact that arithmetic is done modulo the prime 2**255 =
=96 19 ). </li></ul><div style=3D"padding-left:36pt;">&nbsp;</div><ul style=
=3D"margin:0;padding-left:36pt;"><li>curve25519 only fills one of the three=
 required security levels.&nbsp; We still need<br>
curves of size near 384 bits and 512 bits. </li></ul><div style=3D"padding-=
left:36pt;">&nbsp;</div><ul style=3D"margin:0;padding-left:36pt;"><li>NIST =
curves: I doubt TLS will be willing to revisit the question of elliptic cur=
ves once the
<br>
CFRG has made their recommendation.&nbsp; Another option to consider is adv=
ising TLS to<br>
use of the NIST curves in the short term, buying time for the CFRG to do an=
 unrushed
<br>
exploration of the alternatives, drawing academia and other standards bodie=
s into the
<br>
discussion. </li></ul><div style=3D"padding-left:36pt;">&nbsp;</div><div>P.=
S.&nbsp; It has been suggested that the CFRG hold a session at the Crypto c=
onference in</div><div>Santa Barbara in an effort to draw in more participa=
tion from the academic community.</div><div>No guarantees we can pull this =
off, but it is worth the attempt. Thoughts? Volunteers?</div><div>&nbsp;</d=
iv><div>P.P.S. We need to start lining up speakers for the CFRG session at =
IETF-90 (Toronto).</div><div>&nbsp;</div><div><font color=3D"#333333">&nbsp=
;</font></div><div><font color=3D"#333333" face=3D"Courier New" size=3D"2">=
<span style=3D"font-size:10pt;">----------------&#43;----------------------=
----------------------------</span></font></div><div><font color=3D"#333333=
" face=3D"Courier New" size=3D"2"><span style=3D"font-size:10pt;">Kevin M. =
Igoe&nbsp;&nbsp; | &quot;We can't solve problems by using the same kind</sp=
an></font></div><div><font color=3D"#333333" face=3D"Courier New" size=3D"2=
"><span style=3D"font-size:10pt;"><a class=3D"moz-txt-link-abbreviated" hre=
f=3D"mailto:kmigoe@nsa.gov">kmigoe@nsa.gov</a>&nbsp; | of thinking we used =
when we created them.&quot;
</span></font></div><div><font color=3D"#333333" face=3D"Courier New" size=
=3D"2"><span style=3D"font-size:10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Albert Einste=
in -</span></font></div><div><font color=3D"#333333" face=3D"Courier New" s=
ize=3D"2"><span style=3D"font-size:10pt;">----------------&#43;------------=
--------------------------------------</span></font></div><div>&nbsp;</div>=
<div>&nbsp;</div><div>&nbsp;</div></span></font><br><fieldset class=3D"mime=
AttachmentHeader"></fieldset> <br><pre wrap=3D"">__________________________=
_____________________
Cfrg mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Cfrg@irtf.org">Cfrg@ir=
tf.org</a><a class=3D"moz-txt-link-freetext" href=3D"http://www.irtf.org/ma=
ilman/listinfo/cfrg">http://www.irtf.org/mailman/listinfo/cfrg</a></pre></b=
lockquote><br><br><pre class=3D"moz-signature" cols=3D"72">--=20
email: <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:rstruik.ext@gma=
il.com">rstruik.ext@gmail.com</a> | Skype: rstruik
cell: &#43;1 (647) 867-5658 | US: &#43;1 (415) 690-7363</pre></div></div></=
blockquote></span><div><br></div><div><br></div></body></html>

--_000_CF8D298B3A3C3paulmarvellcom_--


From nobody Mon May  5 12:29:22 2014
Return-Path: <rstruik.ext@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EDD811A045C for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 12:29:15 -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 4oAgrWsQXR1x for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 12:29:11 -0700 (PDT)
Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) by ietfa.amsl.com (Postfix) with ESMTP id 2AFB21A0465 for <cfrg@irtf.org>; Mon,  5 May 2014 12:29:11 -0700 (PDT)
Received: by mail-ie0-f179.google.com with SMTP id lx4so8655390iec.10 for <cfrg@irtf.org>; Mon, 05 May 2014 12:29:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=s3Vpr67hkJADwUi4YZPEJjNrZ5HuwEGAHzD4bC8LMtM=; b=gq5ioVq/XLht+2oNQ/EIrOQcuoFTv2N9dtld97z+l2Ww5cz71hYAlMquSD7Q0Dznpq MrmQrcPBAW63GD2Arl+nGKOifbHmv3qBZ1u+m6Y2y9DV/lqS6E98o6LAuAJi4bs72DAd l5nLhPjNSsyzal0cV/MHwK+QyGGO4zt5+4FwgOAZnJQisUwpNhuaTOjBCJkgCetrGZHd tXIYBXScrUPITvG3ZDXSnPgQPI6f1bma6d7K01qGIg/D0VbXSn1RuAiB02CUr1/gVBCO yE/p3C9AmYtWVV2O9TEbiQMUwL4RPJFJc4sEfFneZ+A7igKHtZygWWmCTk8rZ9gaCC7h 4o2A==
X-Received: by 10.50.1.5 with SMTP id 5mr26864971igi.13.1399318147436; Mon, 05 May 2014 12:29:07 -0700 (PDT)
Received: from [192.168.1.103] (CPE0013100e2c51-CM001cea35caa6.cpe.net.cable.rogers.com. [99.231.3.110]) by mx.google.com with ESMTPSA id pi3sm30163262igb.5.2014.05.05.12.29.04 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 May 2014 12:29:06 -0700 (PDT)
Message-ID: <5367E67B.4050705@gmail.com>
Date: Mon, 05 May 2014 15:28:59 -0400
From: Rene Struik <rstruik.ext@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version: 1.0
To: Paul Lambert <paul@marvell.com>, "Igoe, Kevin M." <kmigoe@nsa.gov>,  "cfrg@irtf.org" <cfrg@irtf.org>
References: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov> <5367DA09.7020906@gmail.com> <CF8D298B.3A3C3%paul@marvell.com>
In-Reply-To: <CF8D298B.3A3C3%paul@marvell.com>
Content-Type: multipart/alternative; boundary="------------030200020101040603040008"
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/KK48ZcQ9IsPZfUVu6cMgCi4yr0c
Subject: Re: [Cfrg] Task looming over the CFRG
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 05 May 2014 19:29:16 -0000

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

Hi Paul:

I do not think there is reason to mute technical discussion, esp. since 
the criteria David McGrew put forward were just a strawman proposal and 
seemed to pre-sort solution directions (see, e.g., Mike Hamburg's 
response Wed last week, April 30th) and did not receive technical 
feedback before. This emphasizes that there may be different 
perspectives on what would be appropriate criteria ("the" criteria as 
you were paraphrasing was simply a set of potential criteria put forward).

FYI - You suggested that "At a minimum, recommendations should be 
established to make ECDSA deterministic". You may wish to have a look at 
RFC 6979 - Deterministic Usage of the Digital Signature Algorithm (DSA) 
and Elliptic Curve Digital Signature Algorithm (ECDSA) (August 2013).

Best regards, Rene

[excerpt of your email of May 5, 2014, 3:09pm EDT]
True, but none of the items were new information. Anyone participating 
in an informed discussion should be familiar will all of the criteria.

On 5/5/2014 3:09 PM, Paul Lambert wrote:
>
> Hi Rene,
>
> From: Rene Struik <rstruik.ext@gmail.com <mailto:rstruik.ext@gmail.com>>
> Date: Monday, May 5, 2014 at 11:35 AM
> To: "Igoe, Kevin M." <kmigoe@nsa.gov <mailto:kmigoe@nsa.gov>>, 
> "cfrg@irtf.org <mailto:cfrg@irtf.org>" <cfrg@irtf.org 
> <mailto:cfrg@irtf.org>>
> Subject: Re: [Cfrg] Task looming over the CFRG
>
>     Hi Kevin:
>
>     Just a few hours prior to the CFRG Interim, David McGrew suggested
>     some criteria for elliptic curves, on which a few comments were
>     received on the mailing list. This list was also - very briefly -
>     discussed during the Virtual Interim. During the virtual interim,
>     there were presentations by various people on curve picks. There
>     was no discussion on schemes these curves should be used with
>     (except for plain ECDH).
>
>     I think it would be premature to now already draw a conclusion here,
>
>
> I disagree.  The consensus in the ad hoc was clear.  Discussions on 
> this list are consist with the ad hoc discussion.   The flurry of 
> activity in other working groups also reflects the same consensus to 
> recommend Curve25519.
>
>     since there has hardly been time to digest presentations and
>     reflect upon this.
>
>
> True, but none of the items were new information. Anyone participating 
> in an informed discussion should be familiar will all of the criteria. 
> The collection of the list is valuable and could be the basis of any 
> final formal recommendation.  Expressing the criteria in neutral and 
> fair language that captures the background and importance of each 
> requirement is worthy of it’s own additional effort … but should not 
> delay decisions we make based on our discussions.
>
> We can move forward with a recommendation and continue to use David’s 
> excellent list as the benchmark for rational of the selection.
>
> There was also additional work we need to consider and the ad hoc ran 
> out of time to summarize work items.  Specifically, there are 
> supporting recommendations required to:
>  - document the changes in ECDH for cofactors >1
>     - this may impact a variety of specifications.
>
> I’m also not clear yet what is the recommendation for digital 
> signatures.   At a minimum, recommendations should be established to 
> make ECDSA deterministic.   Other signature algorithms are possible, 
> but the impact on PKI or alternatives of introducing a new signature 
> algorithm needs some discussion (IMHO).
>
>  I’d like to see a self consistent recommendations that define  key 
> exchanges and signatures for the same curve (or related transformed 
> curve).  PKI interworking to bridge to the new curves would fall out 
> from this set of definitions.
>
> Paul
>
>
>     Any presumed concensus by attendees during the call could hardly
>     have been based on reflecting on presented material, since this
>     was uploaded x-minutes prior to the meeting and there was no
>     magical break during the interim to digest material further. So,
>     what was the point of the curve selection criteria strawman and
>     virtual interim presentations if the conclusions are already known
>     now?
>
>     I would suspect (and raised this on the chat box at the end of the
>     interim) that there should be a sequel to this during the IETF-90
>     meeting in Toronto (assuming CFRG would indeed meet there).
>
>     Best regards, Rene
>
>     http://www.ietf.org/mail-archive/web/cfrg/current/msg04461.html
>
>     On 5/5/2014 1:58 PM, Igoe, Kevin M. wrote:
>>     As most the folks who read this list have noticed, a virtual
>>     interim meeting of the CFRG
>>     was held on Tues 29 April to discuss the way forward for elliptic
>>     curve cryptography
>>     in the IETF. */This /**/was/**/driven by an earnest plea from the
>>     TLS WG for firm/**/guidance /**/from
>>     the CGRG /**/on the selection of elliptic curves/**//**/for use
>>     in TLS.  They need an answer /**/before
>>     /**/the /**/Toronto/**/IETF meeting i/**/n/**/late July/*.  TLS
>>     needs curves for several*//*levels of security (128,
>>     192 and 256), suitable for use in both key agreement and*//*in
>>     digital signatures.
>>
>>       * The consensus of the attendees was that it would be best for
>>         TLS to have a single
>>         “mandatory to implement” curve for each of the three security
>>         levels.
>>
>>       * Though the attendees were reluctant to make a formal
>>         commitment, there
>>         was clearly a great deal of support for the Montgomery curve
>>         curve25519 (FYI, the
>>         25519 refers to the fact that arithmetic is done modulo the
>>         prime 2**255 – 19 ).
>>
>>       * curve25519 only fills one of the three required security
>>         levels.  We still need
>>         curves of size near 384 bits and 512 bits.
>>
>>       * NIST curves: I doubt TLS will be willing to revisit the
>>         question of elliptic curves once the
>>         CFRG has made their recommendation.  Another option to
>>         consider is advising TLS to
>>         use of the NIST curves in the short term, buying time for the
>>         CFRG to do an unrushed
>>         exploration of the alternatives, drawing academia and other
>>         standards bodies into the
>>         discussion.
>>
>>     P.S.  It has been suggested that the CFRG hold a session at the
>>     Crypto conference in
>>     Santa Barbara in an effort to draw in more participation from the
>>     academic community.
>>     No guarantees we can pull this off, but it is worth the attempt.
>>     Thoughts? Volunteers?
>>     P.P.S. We need to start lining up speakers for the CFRG session
>>     at IETF-90 (Toronto).
>>     ----------------+--------------------------------------------------
>>     Kevin M. Igoe   | "We can't solve problems by using the same kind
>>     kmigoe@nsa.gov | of thinking we used when we created them."
>>     |              - Albert Einstein -
>>     ----------------+--------------------------------------------------
>>
>>
>>     _______________________________________________
>>     Cfrg mailing list
>>     Cfrg@irtf.orghttp://www.irtf.org/mailman/listinfo/cfrg
>
>
>     -- 
>     email:rstruik.ext@gmail.com  | Skype: rstruik
>     cell: +1 (647) 867-5658 | US: +1 (415) 690-7363
>
>
>


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


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

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Paul:<br>
      <br>
      I do not think there is reason to mute technical discussion, esp.
      since the criteria David McGrew put forward were just a strawman
      proposal and seemed to pre-sort solution directions (see, e.g.,
      Mike Hamburg's response Wed last week, April 30th) and did not
      receive technical feedback before. This emphasizes that there may
      be different perspectives on what would be appropriate criteria
      ("the" criteria as you were paraphrasing was simply a set of
      potential criteria put forward).<br>
      <br>
      FYI - You suggested that "At a minimum, recommendations should be
      established to make ECDSA deterministic". You may wish to have a
      look at RFC 6979 - Deterministic Usage of the Digital Signature
      Algorithm (DSA) and Elliptic Curve Digital Signature Algorithm
      (ECDSA) (August 2013).<br>
      <br>
      Best regards, Rene<br>
      <br>
      [excerpt of your email of May 5, 2014, 3:09pm EDT]<br>
      True, but none of the items were new information. Anyone
      participating in an informed discussion should be familiar will
      all of the criteria. <br>
      <br>
      On 5/5/2014 3:09 PM, Paul Lambert wrote:<br>
    </div>
    <blockquote cite="mid:CF8D298B.3A3C3%25paul@marvell.com" type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div><br>
      </div>
      <div>Hi Rene,</div>
      <div><br>
      </div>
      <span id="OLK_SRC_BODY_SECTION">
        <div style="font-family:Calibri; font-size:11pt;
          text-align:left; color:black; BORDER-BOTTOM: medium none;
          BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT:
          0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;
          BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span
            style="font-weight:bold">From: </span> Rene Struik &lt;<a
            moz-do-not-send="true" href="mailto:rstruik.ext@gmail.com">rstruik.ext@gmail.com</a>&gt;<br>
          <span style="font-weight:bold">Date: </span> Monday, May 5,
          2014 at 11:35 AM<br>
          <span style="font-weight:bold">To: </span> "Igoe, Kevin M."
          &lt;<a moz-do-not-send="true" href="mailto:kmigoe@nsa.gov">kmigoe@nsa.gov</a>&gt;,
          "<a moz-do-not-send="true" href="mailto:cfrg@irtf.org">cfrg@irtf.org</a>"
          &lt;<a moz-do-not-send="true" href="mailto:cfrg@irtf.org">cfrg@irtf.org</a>&gt;<br>
          <span style="font-weight:bold">Subject: </span> Re: [Cfrg]
          Task looming over the CFRG<br>
        </div>
        <div><br>
        </div>
        <blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"
          style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0
          0 0 5;">
          <div>
            <div bgcolor="#FFFFFF" text="#000000">
              <div class="moz-cite-prefix">Hi Kevin:<br>
                <br>
                Just a few hours prior to the CFRG Interim, David McGrew
                suggested some criteria for elliptic curves, on which a
                few comments were received on the mailing list. This
                list was also - very briefly - discussed during the
                Virtual Interim. During the virtual interim, there were
                presentations by various people on curve picks. There
                was no discussion on schemes these curves should be used
                with (except for plain ECDH).<br>
                <br>
                I think it would be premature to now already draw a
                conclusion here, </div>
            </div>
          </div>
        </blockquote>
      </span>
      <div><br>
      </div>
      <div>I disagree.  The consensus in the ad hoc was clear.
         Discussions on this list are consist with the ad hoc
        discussion.   The flurry of activity in other working groups
        also reflects the same consensus to recommend Curve25519.</div>
      <div><br>
      </div>
      <span id="OLK_SRC_BODY_SECTION">
        <blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"
          style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0
          0 0 5;">
          <div>
            <div bgcolor="#FFFFFF" text="#000000">
              <div class="moz-cite-prefix">since there has hardly been
                time to digest presentations and reflect upon this. </div>
            </div>
          </div>
        </blockquote>
      </span>
      <div><br>
      </div>
      <div>True, but none of the items were new information. Anyone
        participating in an informed discussion should be familiar will
        all of the criteria. The collection of the list is valuable and
        could be the basis of any final formal recommendation.
         Expressing the criteria in neutral and fair language that
        captures the background and importance of each requirement is
        worthy of it’s own additional effort … but should not delay
        decisions we make based on our discussions.  </div>
      <div><br>
      </div>
      <div>We can move forward with a recommendation and continue to use
        David’s excellent list as the benchmark for rational of the
        selection.</div>
      <div><br>
      </div>
      <div>There was also additional work we need to consider and the ad
        hoc ran out of time to summarize work items.  Specifically,
        there are supporting recommendations required to:</div>
      <div> - document the changes in ECDH for cofactors &gt;1</div>
      <div>    - this may impact a variety of specifications.</div>
      <div><br>
      </div>
      <div>I’m also not clear yet what is the recommendation for digital
        signatures.   At a minimum, recommendations should be
        established to make ECDSA deterministic.   Other signature
        algorithms are possible, but the impact on PKI or alternatives
        of introducing a new signature algorithm needs some discussion
        (IMHO). </div>
      <div><br>
      </div>
      <div> I’d like to see a self consistent recommendations that
        define  key exchanges and signatures for the same curve (or
        related transformed curve).  PKI interworking to bridge to the
        new curves would fall out from this set of definitions.</div>
      <div><br>
      </div>
      <div>Paul</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <span id="OLK_SRC_BODY_SECTION">
        <blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"
          style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0
          0 0 5;">
          <div>
            <div bgcolor="#FFFFFF" text="#000000">
              <div class="moz-cite-prefix">Any presumed concensus by
                attendees during the call could hardly have been based
                on reflecting on presented material, since this was
                uploaded x-minutes prior to the meeting and there was no
                magical break during the interim to digest material
                further. So, what was the point of the curve selection
                criteria strawman and virtual interim presentations if
                the conclusions are already known now?<br>
                <br>
                I would suspect (and raised this on the chat box at the
                end of the interim) that there should be a sequel to
                this during the IETF-90 meeting in Toronto (assuming
                CFRG would indeed meet there).<br>
                <br>
                Best regards, Rene<br>
                <br>
                <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.ietf.org/mail-archive/web/cfrg/current/msg04461.html">http://www.ietf.org/mail-archive/web/cfrg/current/msg04461.html</a><br>
                <br>
                On 5/5/2014 1:58 PM, Igoe, Kevin M. wrote:<br>
              </div>
              <blockquote
cite="mid:3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov"
                type="cite">
                <meta name="Generator" content="Microsoft Exchange
                  Server">
                <!-- converted from rtf -->
                <style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style><font
                  face="Calibri" size="2"><span style="font-size:11pt;">
                    <div>As most the folks who read this list have
                      noticed, a virtual interim meeting of the CFRG</div>
                    <div>was held on Tues 29 April to discuss the way
                      forward for elliptic curve cryptography</div>
                    <div>in the IETF.  <b><i>This </i></b><b><i>was</i></b><b><i>
                          driven by an earnest plea from the TLS WG for
                          firm</i></b><b><i>guidance </i></b><b><i>from
                          <br>
                          the CGRG </i></b><b><i>on the selection of
                          elliptic curves</i></b><b><i> </i></b><b><i>for
                          use in TLS.  They need an answer
                        </i></b><b><i>before <br>
                        </i></b><b><i>the </i></b><b><i>Toronto</i></b><b><i>
                          IETF meeting i</i></b><b><i>n</i></b><b><i>late
                          July</i></b>.  TLS needs curves for several<b><i>
                        </i></b>levels of security (128,
                      <br>
                      192 and 256), suitable for use in both key
                      agreement and<b><i> </i></b>in digital
                      signatures.</div>
                    <div> </div>
                    <ul style="margin:0;padding-left:36pt;">
                      <li>The consensus of the attendees was that it
                        would be best for TLS to have a single<br>
                        “mandatory to implement” curve for each of the
                        three security levels. </li>
                    </ul>
                    <div> </div>
                    <ul style="margin:0;padding-left:36pt;">
                      <li>Though the attendees were reluctant to make a
                        formal commitment, there<br>
                        was clearly a great deal of support for the
                        Montgomery curve curve25519 (FYI, the
                        <br>
                        25519 refers to the fact that arithmetic is done
                        modulo the prime 2**255 – 19 ). </li>
                    </ul>
                    <div style="padding-left:36pt;"> </div>
                    <ul style="margin:0;padding-left:36pt;">
                      <li>curve25519 only fills one of the three
                        required security levels.  We still need<br>
                        curves of size near 384 bits and 512 bits. </li>
                    </ul>
                    <div style="padding-left:36pt;"> </div>
                    <ul style="margin:0;padding-left:36pt;">
                      <li>NIST curves: I doubt TLS will be willing to
                        revisit the question of elliptic curves once the
                        <br>
                        CFRG has made their recommendation.  Another
                        option to consider is advising TLS to<br>
                        use of the NIST curves in the short term, buying
                        time for the CFRG to do an unrushed
                        <br>
                        exploration of the alternatives, drawing
                        academia and other standards bodies into the
                        <br>
                        discussion. </li>
                    </ul>
                    <div style="padding-left:36pt;"> </div>
                    <div>P.S.  It has been suggested that the CFRG hold
                      a session at the Crypto conference in</div>
                    <div>Santa Barbara in an effort to draw in more
                      participation from the academic community.</div>
                    <div>No guarantees we can pull this off, but it is
                      worth the attempt. Thoughts? Volunteers?</div>
                    <div> </div>
                    <div>P.P.S. We need to start lining up speakers for
                      the CFRG session at IETF-90 (Toronto).</div>
                    <div> </div>
                    <div><font color="#333333"> </font></div>
                    <div><font color="#333333" face="Courier New"
                        size="2"><span style="font-size:10pt;">----------------+--------------------------------------------------</span></font></div>
                    <div><font color="#333333" face="Courier New"
                        size="2"><span style="font-size:10pt;">Kevin M.
                          Igoe   | "We can't solve problems by using the
                          same kind</span></font></div>
                    <div><font color="#333333" face="Courier New"
                        size="2"><span style="font-size:10pt;"><a
                            moz-do-not-send="true"
                            class="moz-txt-link-abbreviated"
                            href="mailto:kmigoe@nsa.gov">kmigoe@nsa.gov</a> 
                          | of thinking we used when we created them."
                        </span></font></div>
                    <div><font color="#333333" face="Courier New"
                        size="2"><span style="font-size:10pt;">               
                          |              - Albert Einstein -</span></font></div>
                    <div><font color="#333333" face="Courier New"
                        size="2"><span style="font-size:10pt;">----------------+--------------------------------------------------</span></font></div>
                    <div> </div>
                    <div> </div>
                    <div> </div>
                  </span></font><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>
              <br>
              <br>
              <pre class="moz-signature" cols="72">-- 
email: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:rstruik.ext@gmail.com">rstruik.ext@gmail.com</a> | Skype: rstruik
cell: +1 (647) 867-5658 | US: +1 (415) 690-7363</pre>
            </div>
          </div>
        </blockquote>
      </span>
      <div><br>
      </div>
      <div><br>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
email: <a class="moz-txt-link-abbreviated" href="mailto:rstruik.ext@gmail.com">rstruik.ext@gmail.com</a> | Skype: rstruik
cell: +1 (647) 867-5658 | US: +1 (415) 690-7363</pre>
  </body>
</html>

--------------030200020101040603040008--


From nobody Mon May  5 12:37:55 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 6C8C41A019C for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 12:37:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.151
X-Spam-Level: 
X-Spam-Status: No, score=-10.151 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.651, 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 1H5XA7VrfUhv for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 12:37:49 -0700 (PDT)
Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) by ietfa.amsl.com (Postfix) with ESMTP id F10951A019B for <cfrg@irtf.org>; Mon,  5 May 2014 12:37:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=13999; q=dns/txt; s=iport; t=1399318665; x=1400528265; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; bh=WRaZ6Ua1Nx7rfQx8LAeyNqCvofrOTJVU87x5Yzs/a5s=; b=DnXYGfUTVUQzrr2yKVYct6QfBGv32DvAaWc+Kl3yQ32OQgbmb9QHT4wL t73g3Nz0huUOHzzdKL+n9lM0zt/3RDa5CuPTDAt59kCMV7/HBupAGpXcb a347u3OakeWrdZ/ByN7oQul+S5Ie82MWysRN/rckbix9+X2phv3KS4diG E=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApAFAHvnZ1OtJA2M/2dsb2JhbABZgkJET4kctEcBhzqBGhZ0giUBAQEDAQEBAWUGCgEFCwsOCgkWCAcJAwIBAgEVHxEGDQEFAgIFC4glCA3NMReJMYJ7K4EYYwYBhD8EhUmTa4ZkjBCDUCE
X-IronPort-AV: E=Sophos; i="4.97,990,1389744000"; d="scan'208,217"; a="41181637"
Received: from alln-core-7.cisco.com ([173.36.13.140]) by alln-iport-1.cisco.com with ESMTP; 05 May 2014 19:37:43 +0000
Received: from [10.0.2.15] (rtp-mcgrew-8914.cisco.com [10.117.10.229]) by alln-core-7.cisco.com (8.14.5/8.14.5) with ESMTP id s45JbhCc024183; Mon, 5 May 2014 19:37:43 GMT
Message-ID: <5367E85F.1050009@cisco.com>
Date: Mon, 05 May 2014 15:37:03 -0400
From: David McGrew <mcgrew@cisco.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10
MIME-Version: 1.0
To: Michael Hamburg <mike@shiftleft.org>
References: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov> <E98B42D5-610C-4532-B765-5819A35A456C@shiftleft.org>
In-Reply-To: <E98B42D5-610C-4532-B765-5819A35A456C@shiftleft.org>
Content-Type: multipart/alternative; boundary="------------030109060501060909040005"
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/NrUBJSySOIqyYtnv76lpJ0bq2hY
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Task looming over the CFRG
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 05 May 2014 19:37:53 -0000

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

Hi Michael,

On 05/05/2014 02:25 PM, Michael Hamburg wrote:
> Hi Kevin,
>
> As the designer of an ECC system which is aimed at 224-ish-bit 
> security, I'm curious: is it a firm requirement that the curves be set 
> at 128, 192 and 256 bits?

Eric Rescorla suggested that CFRG recommend a single family of curves, 
as opposed to recommending multiple curves at each security level.   The 
security levels that you mention were his examples, and are good ones in 
my opinion.   But there was no explicit discussion of whether or not 
there should be curves at other security levels.

David

> Or was there consensus in the meeting that the curves should be set at 
> these security levels?  Patrick Longa aimed his talk at these security 
> levels, but I don't recall this being stated as a requirement.
>
> Cheers,
> --- Mike
>
>
> On May 5, 2014, at 10:58 AM, Igoe, Kevin M. <kmigoe@nsa.gov 
> <mailto:kmigoe@nsa.gov>> wrote:
>
>> As most the folks who read this list have noticed, a virtual interim 
>> meeting of the CFRG
>> was held on Tues 29 April to discuss the way forward for elliptic 
>> curve cryptography
>> in the IETF. */This/**/was/**/driven by an earnest plea from the TLS 
>> WG for firm/**//**/guidance/**/from
>> the CGRG/**/on the selection of elliptic curves/**//**/for use in 
>> TLS.  They need an answer/**/before
>> /**/the/**/Toronto/**/IETF meeting i/**/n/**//**/late July/*.  TLS 
>> needs curves for several*//*levels of security (128,
>> 192 and 256), suitable for use in both key agreement and*//*in 
>> digital signatures.
>>
>>   * The consensus of the attendees was that it would be best for TLS
>>     to have a single
>>     "mandatory to implement" curve for each of the three security levels.
>>
>>   * Though the attendees were reluctant to make a formal commitment,
>>     there
>>     was clearly a great deal of support for the Montgomery curve
>>     curve25519 (FYI, the
>>     25519 refers to the fact that arithmetic is done modulo the prime
>>     2**255 -- 19 ).
>>
>>   * curve25519 only fills one of the three required security levels. 
>>     We still need
>>     curves of size near 384 bits and 512 bits.
>>
>>   * NIST curves: I doubt TLS will be willing to revisit the question
>>     of elliptic curves once the
>>     CFRG has made their recommendation.  Another option to consider
>>     is advising TLS to
>>     use of the NIST curves in the short term, buying time for the
>>     CFRG to do an unrushed
>>     exploration of the alternatives, drawing academia and other
>>     standards bodies into the
>>     discussion.
>>
>> P.S.  It has been suggested that the CFRG hold a session at the 
>> Crypto conference in
>> Santa Barbara in an effort to draw in more participation from the 
>> academic community.
>> No guarantees we can pull this off, but it is worth the attempt. 
>> Thoughts? Volunteers?
>> P.P.S. We need to start lining up speakers for the CFRG session at 
>> IETF-90 (Toronto).
>> ----------------+--------------------------------------------------
>> Kevin M. Igoe   | "We can't solve problems by using the same kind
>> kmigoe@nsa.gov <mailto:kmigoe@nsa.gov> | of thinking we used when we 
>> created them."
>> |              - Albert Einstein -
>> ----------------+--------------------------------------------------
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org <mailto:Cfrg@irtf.org>
>> http://www.irtf.org/mailman/listinfo/cfrg
>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


--------------030109060501060909040005
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">Hi Michael,<br>
      <br>
      On 05/05/2014 02:25 PM, Michael Hamburg wrote:<br>
    </div>
    <blockquote
      cite="mid:E98B42D5-610C-4532-B765-5819A35A456C@shiftleft.org"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div>Hi Kevin,</div>
      <div><br>
      </div>
      <div>As the designer of an ECC system which is aimed at
        224-ish-bit security, I&#8217;m curious: is it a firm requirement that
        the curves be set at 128, 192 and 256 bits?&nbsp; <br>
      </div>
    </blockquote>
    <br>
    Eric Rescorla suggested that CFRG recommend a single family of
    curves, as opposed to recommending multiple curves at each security
    level.&nbsp;&nbsp; The security levels that you mention were his examples, and
    are good ones in my opinion.&nbsp;&nbsp; But there was no explicit discussion
    of whether or not there should be curves at other security levels.<br>
    <br>
    David<br>
    <br>
    <blockquote
      cite="mid:E98B42D5-610C-4532-B765-5819A35A456C@shiftleft.org"
      type="cite">
      <div>Or was there consensus in the meeting that the curves should
        be set at these security levels? &nbsp;Patrick Longa aimed his talk
        at these security levels, but I don&#8217;t recall this being stated
        as a requirement.</div>
      <div><br>
      </div>
      <div>Cheers,</div>
      <div>&#8212; Mike</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>
        <div>On May 5, 2014, at 10:58 AM, Igoe, Kevin M. &lt;<a
            moz-do-not-send="true" href="mailto:kmigoe@nsa.gov">kmigoe@nsa.gov</a>&gt;
          wrote:</div>
        <br class="Apple-interchange-newline">
        <blockquote type="cite">
          <div style="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;"><font
              face="Calibri" size="2"><span style="font-size: 11pt;">
                <div>As most the folks who read this list have noticed,
                  a virtual interim meeting of the CFRG</div>
                <div>was held on Tues 29 April to discuss the way
                  forward for elliptic curve cryptography</div>
                <div>in the IETF.&nbsp;<span class="Apple-converted-space">&nbsp;</span><b><i>This<span
                        class="Apple-converted-space">&nbsp;</span></i></b><b><i>was</i></b><b><i><span
                        class="Apple-converted-space">&nbsp;</span>driven by
                      an earnest plea from the TLS WG for firm</i></b><b><i><span
                        class="Apple-converted-space">&nbsp;</span></i></b><b><i>guidance<span
                        class="Apple-converted-space">&nbsp;</span></i></b><b><i>from<span
                        class="Apple-converted-space">&nbsp;</span><br>
                      the CGRG<span class="Apple-converted-space">&nbsp;</span></i></b><b><i>on
                      the selection of elliptic curves</i></b><b><i><span
                        class="Apple-converted-space">&nbsp;</span></i></b><b><i>for
                      use in TLS.&nbsp; They need an answer<span
                        class="Apple-converted-space">&nbsp;</span></i></b><b><i>before<span
                        class="Apple-converted-space">&nbsp;</span><br>
                    </i></b><b><i>the<span class="Apple-converted-space">&nbsp;</span></i></b><b><i>Toronto</i></b><b><i><span
                        class="Apple-converted-space">&nbsp;</span>IETF
                      meeting i</i></b><b><i>n</i></b><b><i><span
                        class="Apple-converted-space">&nbsp;</span></i></b><b><i>late
                      July</i></b>.&nbsp; TLS needs curves for several<b><i><span
                        class="Apple-converted-space">&nbsp;</span></i></b>levels
                  of security (128,<span class="Apple-converted-space">&nbsp;</span><br>
                  192 and 256), suitable for use in both key agreement
                  and<b><i><span class="Apple-converted-space">&nbsp;</span></i></b>in
                  digital signatures.</div>
                <div>&nbsp;</div>
                <ul style="margin: 0px; padding-left: 36pt;">
                  <li>The consensus of the attendees was that it would
                    be best for TLS to have a single<br>
                    &#8220;mandatory to implement&#8221; curve for each of the three
                    security levels.</li>
                </ul>
                <div>&nbsp;</div>
                <ul style="margin: 0px; padding-left: 36pt;">
                  <li>Though the attendees were reluctant to make a
                    formal commitment, there<br>
                    was clearly a great deal of support for the
                    Montgomery curve curve25519 (FYI, the<span
                      class="Apple-converted-space">&nbsp;</span><br>
                    25519 refers to the fact that arithmetic is done
                    modulo the prime 2**255 &#8211; 19 ).</li>
                </ul>
                <div style="padding-left: 36pt;">&nbsp;</div>
                <ul style="margin: 0px; padding-left: 36pt;">
                  <li>curve25519 only fills one of the three required
                    security levels.&nbsp; We still need<br>
                    curves of size near 384 bits and 512 bits.</li>
                </ul>
                <div style="padding-left: 36pt;">&nbsp;</div>
                <ul style="margin: 0px; padding-left: 36pt;">
                  <li>NIST curves: I doubt TLS will be willing to
                    revisit the question of elliptic curves once the<span
                      class="Apple-converted-space">&nbsp;</span><br>
                    CFRG has made their recommendation.&nbsp; Another option
                    to consider is advising TLS to<br>
                    use of the NIST curves in the short term, buying
                    time for the CFRG to do an unrushed<span
                      class="Apple-converted-space">&nbsp;</span><br>
                    exploration of the alternatives, drawing academia
                    and other standards bodies into the<span
                      class="Apple-converted-space">&nbsp;</span><br>
                    discussion.</li>
                </ul>
                <div style="padding-left: 36pt;">&nbsp;</div>
                <div>P.S.&nbsp; It has been suggested that the CFRG hold a
                  session at the Crypto conference in</div>
                <div>Santa Barbara in an effort to draw in more
                  participation from the academic community.</div>
                <div>No guarantees we can pull this off, but it is worth
                  the attempt. Thoughts? Volunteers?</div>
                <div>&nbsp;</div>
                <div>P.P.S. We need to start lining up speakers for the
                  CFRG session at IETF-90 (Toronto).</div>
                <div>&nbsp;</div>
                <div><font color="#333333">&nbsp;</font></div>
                <div><font color="#333333" face="Courier New" size="2"><span
                      style="font-size: 10pt;">----------------+--------------------------------------------------</span></font></div>
                <div><font color="#333333" face="Courier New" size="2"><span
                      style="font-size: 10pt;">Kevin M. Igoe&nbsp;&nbsp; | "We
                      can't solve problems by using the same kind</span></font></div>
                <div><font color="#333333" face="Courier New" size="2"><span
                      style="font-size: 10pt;"><a moz-do-not-send="true"
                        href="mailto:kmigoe@nsa.gov">kmigoe@nsa.gov</a>&nbsp;
                      | of thinking we used when we created them."</span></font></div>
                <div><font color="#333333" face="Courier New" size="2"><span
                      style="font-size: 10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Albert Einstein -</span></font></div>
                <div><font color="#333333" face="Courier New" size="2"><span
                      style="font-size: 10pt;">----------------+--------------------------------------------------</span></font></div>
                <div>&nbsp;</div>
                <div>&nbsp;</div>
                <div>&nbsp;</div>
              </span></font>_______________________________________________<br>
            Cfrg mailing list<br>
            <a moz-do-not-send="true" href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
            <a moz-do-not-send="true"
              href="http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/mailman/listinfo/cfrg</a></div>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Cfrg mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a>
<a class="moz-txt-link-freetext" href="http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/mailman/listinfo/cfrg</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------030109060501060909040005--


From nobody Mon May  5 12:38:56 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 603461A01AA for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 12:38:54 -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] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hdWRODPETvpW for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 12:38:51 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id E11C11A01A0 for <cfrg@irtf.org>; Mon,  5 May 2014 12:38:50 -0700 (PDT)
Received: from xct103cnc.rim.net ([10.65.161.203]) by mhs212cnc.rim.net with ESMTP/TLS/AES128-SHA; 05 May 2014 15:38:39 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT103CNC.rim.net ([fe80::b8:d5e:26a5:f4d6%17]) with mapi id 14.03.0174.001; Mon, 5 May 2014 15:38:38 -0400
From: Dan Brown <dbrown@certicom.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: GapDH groups: a long-term research question
Thread-Index: Ac9oleqS12YElKZWR3ulBq2CeyojDg==
Date: Mon, 5 May 2014 19:38:38 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5C7C169@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_0010_01CF6878.15679D70"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/n5UvOw-5RFXV6doB3rergVvu8zo
Subject: [Cfrg] GapDH groups: a long-term research 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: Mon, 05 May 2014 19:38:54 -0000

------=_NextPart_000_0010_01CF6878.15679D70
Content-Type: multipart/related;
	boundary="----=_NextPart_001_0011_01CF6878.15679D70"


------=_NextPart_001_0011_01CF6878.15679D70
Content-Type: multipart/alternative;
	boundary="----=_NextPart_002_0012_01CF6878.15679D70"


------=_NextPart_002_0012_01CF6878.15679D70
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Dear CFRG List,

 

What about EC groups with a pairing to an extension field with a degree high
enough such that the DLP is infeasible in the extension field, but low
enough such that pairing is feasible (but not practical)?

 

An upside is that proofs assuming hard GapDH problem become less
theoretical, since a DDH oracle becomes available.  E.g. if a 2^128
adversary can be converted to a 2^129  DH solver by invoking the a 2^64 cost
pairing 2^64 times, then we have a fairly concrete construction.

 

A downside is that it weakens the DDH, but then we always use a one-way
PRF/KDF, so DDH attacks cannot be extended to PRF.  (This is the same as one
argument to ignore Cheon attacks against schemes with static DH keys and
hashed shared secrets.)

 

A second downside is the risk of using such a curve, because it is special.
Random curves would not be expected to have this property.

 

A third downside is that this may not be a well-studied idea, except by
those who often think about the GapDH, and TLS seems to want something soon
(to solve a different problem .).

 

I raised this now, because of the argument that CFRG should commit to
recommending a single curve (per security level), that this recommendation
should be long-lasting, and that the same recommendation should be used
across multiple IETF applications.  To me, this suggests that CFRG should
recommend a curve as secure as possible.

 

Best regards,

 


Daniel Brown


Research In Motion Limited 

 

	

 




	

 


------=_NextPart_002_0012_01CF6878.15679D70
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:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=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>What about EC groups with a pairing =
to an extension field with a degree high enough such that the DLP is =
infeasible in the extension field, but low enough such that pairing is =
feasible (but not practical)?<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>An upside is that proofs assuming =
hard GapDH problem become less theoretical, since a DDH oracle becomes =
available.&nbsp; E.g. if a 2^128 adversary can be converted to a 2^129 =
&nbsp;DH solver by invoking the a 2^64 cost pairing 2^64 times, then we =
have a fairly concrete construction.<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 downside is that it weakens the =
DDH, but then we always use a one-way PRF/KDF, so DDH attacks cannot be =
extended to PRF.&nbsp; (This is the same as one argument to ignore Cheon =
attacks against schemes with static DH keys and hashed shared =
secrets.)<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 second downside is the risk of using such a curve, =
because it is special. &nbsp;Random curves would not be expected to have =
this property.<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 third downside is that this may not be a well-studied =
idea, except by those who often think about the GapDH, and TLS seems to =
want something soon (to solve a different problem =
&#8230;).<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 raised this now, because of the argument that CFRG should =
commit to recommending a single curve (per security level), that this =
recommendation should be long-lasting, and that the same recommendation =
should be used across multiple IETF applications.&nbsp; To me, this =
suggests that CFRG should recommend a curve as secure as =
possible.<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><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'><p class=3DMsoNormal style=3D'line-height:11.25pt'><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'>Da=
niel Brown<o:p></o:p></span></p></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:#0073BC'>=
Research In Motion Limited</span><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'> =
<o:p></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 =
width=3D176 height=3D43 id=3D"_x0000_i1025" =
src=3D"cid:image001.jpg@01CF6878.132C5370"></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_0012_01CF6878.15679D70--

------=_NextPart_001_0011_01CF6878.15679D70
Content-Type: image/jpeg;
	name="image001.jpg"
Content-Transfer-Encoding: base64
Content-ID: <image001.jpg@01CF6878.132C5370>

/9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy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uiGDWPDl/LrUeVAViqOe2e4oA9E+G3xGvjo
muw61OLttIhMyT5z5ijIxnv04+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=

------=_NextPart_001_0011_01CF6878.15679D70--

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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUgTCCBnAw
ggVYoAMCAQICChfYCekAAwAXxTIwDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1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ZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vi
b3JkaW5hdGUgQ0EgTUNBMDNZS0YCChfYCekAAwAXxTIwbwYLKoZIhvcNAQkQAgsxYKBeMFAxEzAR
BgoJkiaJk/IsZAEZFgNuZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xJDAiBgNVBAMTG1JJTSBTdWJv
cmRpbmF0ZSBDQSBNQ0EwM1lLRgIKF9gJ6QADABfFMjANBgkqhkiG9w0BAQEFAASBgKWl+yOVdHV2
bhXspvMTxI3WHGdo4bbRUzk0y7MKStCNqJhAyVGxpN89QBkT5wb/2SJPKKY4s5bYq+jfWkcyrcR9
8pbvbk2LZVrfIET9I7tdsRiLfxUVtdcPPhvBm4H96XW58x593pgv2DXnkRdO+0AGbJr3l9wbMoJW
5yejLOk/AAAAAAAA

------=_NextPart_000_0010_01CF6878.15679D70--


From nobody Mon May  5 12:49:15 2014
Return-Path: <kmigoe@nsa.gov>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8FB0D1A0452 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 12:49:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.55
X-Spam-Level: 
X-Spam-Status: No, score=-7.55 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ro8mCcJHUCcw for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 12:49:10 -0700 (PDT)
Received: from emvm-gh1-uea09.nsa.gov (emvm-gh1-uea09.nsa.gov [63.239.67.10]) by ietfa.amsl.com (Postfix) with ESMTP id BE0E71A01C9 for <cfrg@irtf.org>; Mon,  5 May 2014 12:49:09 -0700 (PDT)
X-TM-IMSS-Message-ID: <2682bd05000cd942@nsa.gov>
Received: from MSHT-GH1-UEA02.corp.nsa.gov ([10.215.227.181]) by nsa.gov ([63.239.67.10]) with ESMTP (TREND IMSS SMTP Service 7.1; TLSv1/SSLv3 AES128-SHA (128/128)) id 2682bd05000cd942 ; Mon, 5 May 2014 15:51:58 -0400
Received: from MSMR-GH1-UEA03.corp.nsa.gov ([10.215.224.3]) by MSHT-GH1-UEA02.corp.nsa.gov ([10.215.227.181]) with mapi id 14.02.0342.003; Mon, 5 May 2014 15:49:05 -0400
From: "Igoe, Kevin M." <kmigoe@nsa.gov>
To: 'Michael Hamburg' <mike@shiftleft.org>
Thread-Topic: [Cfrg] Task looming over the CFRG
Thread-Index: Ac9oi6oYPJfN8CicTuuHQj1qX4dIoAAJTMCAAAWvywA=
Date: Mon, 5 May 2014 19:49:04 +0000
Message-ID: <3C4AAD4B5304AB44A6BA85173B4675CABAA404E9@MSMR-GH1-UEA03.corp.nsa.gov>
References: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov> <E98B42D5-610C-4532-B765-5819A35A456C@shiftleft.org>
In-Reply-To: <E98B42D5-610C-4532-B765-5819A35A456C@shiftleft.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.215.227.232]
Content-Type: multipart/alternative; boundary="_000_3C4AAD4B5304AB44A6BA85173B4675CABAA404E9MSMRGH1UEA03cor_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/hZeEJedJbJz8YuVLLdx0XCubCf0
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Task looming over the CFRG
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 05 May 2014 19:49:13 -0000

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

Mike:

  Being off by a few bits isn't a show stopper. but 32-bits is probably too
much.  The security levels echo the AES security levels of AES-128, AES-192
and AES-256.  Using a 224 bit curve with AES-128 only provides roughly 112-=
bits
of security versus the 128 bits ostensibly provided by AES-128.  I just wan=
t to ensure
that a user who thinks they are getting 128 bits of security gets 128 bits =
of
security.

                              Kevin

From: Michael Hamburg [mailto:mike@shiftleft.org]
Sent: Monday, May 05, 2014 2:25 PM
To: Igoe, Kevin M.
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Task looming over the CFRG

Hi Kevin,

As the designer of an ECC system which is aimed at 224-ish-bit security, I'=
m curious: is it a firm requirement that the curves be set at 128, 192 and =
256 bits?  Or was there consensus in the meeting that the curves should be =
set at these security levels?  Patrick Longa aimed his talk at these securi=
ty levels, but I don't recall this being stated as a requirement.

Cheers,
- Mike


On May 5, 2014, at 10:58 AM, Igoe, Kevin M. <kmigoe@nsa.gov<mailto:kmigoe@n=
sa.gov>> wrote:


As most the folks who read this list have noticed, a virtual interim meetin=
g of the CFRG
was held on Tues 29 April to discuss the way forward for elliptic curve cry=
ptography
in the IETF.  This was driven by an earnest plea from the TLS WG for firm g=
uidance from
the CGRG on the selection of elliptic curves for use in TLS.  They need an =
answer before
the Toronto IETF meeting in late July.  TLS needs curves for several levels=
 of security (128,
192 and 256), suitable for use in both key agreement and in digital signatu=
res.

*         The consensus of the attendees was that it would be best for TLS =
to have a single
"mandatory to implement" curve for each of the three security levels.

*         Though the attendees were reluctant to make a formal commitment, =
there
was clearly a great deal of support for the Montgomery curve curve25519 (FY=
I, the
25519 refers to the fact that arithmetic is done modulo the prime 2**255 - =
19 ).

*         curve25519 only fills one of the three required security levels. =
 We still need
curves of size near 384 bits and 512 bits.

*         NIST curves: I doubt TLS will be willing to revisit the question =
of elliptic curves once the
CFRG has made their recommendation.  Another option to consider is advising=
 TLS to
use of the NIST curves in the short term, buying time for the CFRG to do an=
 unrushed
exploration of the alternatives, drawing academia and other standards bodie=
s into the
discussion.

P.S.  It has been suggested that the CFRG hold a session at the Crypto conf=
erence in
Santa Barbara in an effort to draw in more participation from the academic =
community.
No guarantees we can pull this off, but it is worth the attempt. Thoughts? =
Volunteers?

P.P.S. We need to start lining up speakers for the CFRG session at IETF-90 =
(Toronto).


----------------+--------------------------------------------------
Kevin M. Igoe   | "We can't solve problems by using the same kind
kmigoe@nsa.gov<mailto:kmigoe@nsa.gov>  | of thinking we used when we create=
d them."
                |              - Albert Einstein -
----------------+--------------------------------------------------



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


--_000_3C4AAD4B5304AB44A6BA85173B4675CABAA404E9MSMRGH1UEA03cor_
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 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@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:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1424184920;
	mso-list-template-ids:1594130682;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l1
	{mso-list-id:1640571863;
	mso-list-template-ids:814381140;}
@list l1:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l2
	{mso-list-id:1894416210;
	mso-list-template-ids:1743000660;}
@list l2:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l3
	{mso-list-id:2055109797;
	mso-list-template-ids:302134322;}
@list l3:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
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=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Mike:<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp; Being off by a few=
 bits isn&#8217;t a show stopper. but 32-bits is probably too<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">much.&nbsp; The security =
levels echo the AES security levels of AES-128, AES-192<br>
and AES-256.&nbsp; Using a 224 bit curve with AES-128 only provides roughly=
 112-bits <o:p>
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">of security versus the 12=
8 bits ostensibly provided by AES-128.&nbsp; I just want to ensure<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">that a user who thinks th=
ey are getting 128 bits of security gets 128 bits of
<br>
security. <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Kevin<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Michael =
Hamburg [mailto:mike@shiftleft.org]
<br>
<b>Sent:</b> Monday, May 05, 2014 2:25 PM<br>
<b>To:</b> Igoe, Kevin M.<br>
<b>Cc:</b> cfrg@irtf.org<br>
<b>Subject:</b> Re: [Cfrg] Task looming over the CFRG<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">Hi Kevin,<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">As the designer of an ECC system which is aimed at 2=
24-ish-bit security, I&#8217;m curious: is it a firm requirement that the c=
urves be set at 128, 192 and 256 bits? &nbsp;Or was there consensus in the =
meeting that the curves should be set at these
 security levels? &nbsp;Patrick Longa aimed his talk at these security leve=
ls, but I don&#8217;t recall this being stated as a requirement.<o:p></o:p>=
</p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Cheers,<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&#8212; Mike<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal">On May 5, 2014, at 10:58 AM, Igoe, Kevin M. &lt;<a h=
ref=3D"mailto:kmigoe@nsa.gov">kmigoe@nsa.gov</a>&gt; wrote:<o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">As most the folks who read this list ha=
ve noticed, a virtual interim meeting of the CFRG<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">was held on Tues 29 April to discuss th=
e way forward for elliptic curve cryptography<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">in the IETF.&nbsp;<span class=3D"apple-=
converted-space">&nbsp;</span><b><i>This<span class=3D"apple-converted-spac=
e">&nbsp;</span>was<span class=3D"apple-converted-space">&nbsp;</span>drive=
n by an
 earnest plea from the TLS WG for firm<span class=3D"apple-converted-space"=
>&nbsp;</span>guidance<span class=3D"apple-converted-space">&nbsp;</span>fr=
om<span class=3D"apple-converted-space">&nbsp;</span><br>
the CGRG<span class=3D"apple-converted-space">&nbsp;</span>on the selection=
 of elliptic curves<span class=3D"apple-converted-space">&nbsp;</span>for u=
se in TLS.&nbsp; They need an answer<span class=3D"apple-converted-space">&=
nbsp;</span>before<span class=3D"apple-converted-space">&nbsp;</span><br>
the<span class=3D"apple-converted-space">&nbsp;</span>Toronto<span class=3D=
"apple-converted-space">&nbsp;</span>IETF meeting in<span class=3D"apple-co=
nverted-space">&nbsp;</span>late July</i></b>.&nbsp; TLS needs curves for s=
everal<span class=3D"apple-converted-space"><b><i>&nbsp;</i></b></span>leve=
ls
 of security (128,<span class=3D"apple-converted-space">&nbsp;</span><br>
192 and 256), suitable for use in both key agreement and<span class=3D"appl=
e-converted-space"><b><i>&nbsp;</i></b></span>in digital signatures.<o:p></=
o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:0in;text-indent:-.25in;mso-list:l1 level1 lfo1">
<![if !supportLists]><span style=3D"font-size:10.0pt;font-family:Symbol"><s=
pan style=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times=
 New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;">The consensus of the attendees =
was that it would be best for TLS to have a single<br>
&#8220;mandatory to implement&#8221; curve for each of the three security l=
evels.<o:p></o:p></span></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:0in;text-indent:-.25in;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style=3D"font-size:10.0pt;font-family:Symbol"><s=
pan style=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times=
 New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;">Though the attendees were reluc=
tant to make a formal commitment, there<br>
was clearly a great deal of support for the Montgomery curve curve25519 (FY=
I, the<span class=3D"apple-converted-space">&nbsp;</span><br>
25519 refers to the fact that arithmetic is done modulo the prime 2**255 &#=
8211; 19 ).<o:p></o:p></span></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:0in;text-indent:-.25in;mso-list:l3 level1 lfo3">
<![if !supportLists]><span style=3D"font-size:10.0pt;font-family:Symbol"><s=
pan style=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times=
 New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;">curve25519 only fills one of th=
e three required security levels.&nbsp; We still need<br>
curves of size near 384 bits and 512 bits.<o:p></o:p></span></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:0in;text-indent:-.25in;mso-list:l2 level1 lfo4">
<![if !supportLists]><span style=3D"font-size:10.0pt;font-family:Symbol"><s=
pan style=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times=
 New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;">NIST curves: I doubt TLS will b=
e willing to revisit the question of elliptic curves once the<span class=3D=
"apple-converted-space">&nbsp;</span><br>
CFRG has made their recommendation.&nbsp; Another option to consider is adv=
ising TLS to<br>
use of the NIST curves in the short term, buying time for the CFRG to do an=
 unrushed<span class=3D"apple-converted-space">&nbsp;</span><br>
exploration of the alternatives, drawing academia and other standards bodie=
s into the<span class=3D"apple-converted-space">&nbsp;</span><br>
discussion.<o:p></o:p></span></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">P.S.&nbsp; It has been suggested that t=
he CFRG hold a session at the Crypto conference in<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">Santa Barbara in an effort to draw in m=
ore participation from the academic community.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">No guarantees we can pull this off, but=
 it is worth the attempt. Thoughts? Volunteers?<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">P.P.S. We need to start lining up speak=
ers for the CFRG session at IETF-90 (Toronto).<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#333333">&nbsp;</span><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:#333333">----------------&#43;-----------------------=
---------------------------</span><span style=3D"font-size:11.0pt;font-fami=
ly:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:#333333">Kevin M. Igoe&nbsp;&nbsp; | &quot;We can't s=
olve problems by using the same kind</span><span style=3D"font-size:11.0pt;=
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:#333333"><a href=3D"mailto:kmigoe@nsa.gov">kmigoe@nsa=
.gov</a>&nbsp; | of thinking we used when we created them.&quot;</span><spa=
n style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-seri=
f&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:#333333">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Albert Einstein -</sp=
an><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:#333333">----------------&#43;-----------------------=
---------------------------</span><span style=3D"font-size:11.0pt;font-fami=
ly:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:9.0pt;font-family:&quot;Hel=
vetica&quot;,&quot;sans-serif&quot;">______________________________________=
_________<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">http://www.irtf.org/m=
ailman/listinfo/cfrg</a><o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_3C4AAD4B5304AB44A6BA85173B4675CABAA404E9MSMRGH1UEA03cor_--


From nobody Mon May  5 12:52:42 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 115F41A0489 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 12:52:27 -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 kHyE7izLkI6W for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 12:52:25 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) by ietfa.amsl.com (Postfix) with ESMTP id 8E4861A0452 for <cfrg@irtf.org>; Mon,  5 May 2014 12:52:25 -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 DCC783AA3F; Mon,  5 May 2014 12:50:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1399319412; bh=3zeE23xMzZXlI4wGqoVBiiuuhnOWewMESa+8xq8duSw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=cD3tH9drPoXJ2BQkSz/CQ38Lc6JP5iU70u3nhZfD35DvmAZrNnAFP2sUy2P52Hmj3 PfdFSTLB5ShuboM8bJEmILwVQXmmm7/r1OLNkA1SRmEcoDZSwqB8rPMg+iyNm/+1f+ MlrZTKDbv/f2BvJv5gkpUBlsCZ0sVSODeKBkxWps=
Content-Type: multipart/alternative; boundary="Apple-Mail=_67CDB899-2378-42B2-AC80-298E1E13E76C"
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5C7C169@XMB116CNC.rim.net>
Date: Mon, 5 May 2014 12:52:21 -0700
Message-Id: <72DFBA59-ACEC-4697-B8B4-6739578021C5@shiftleft.org>
References: <810C31990B57ED40B2062BA10D43FBF5C7C169@XMB116CNC.rim.net>
To: Dan Brown <dbrown@certicom.com>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/h_FhLejSYXwrzDuiwVwhYhHOK0g
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] GapDH groups: a long-term research 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: Mon, 05 May 2014 19:52:27 -0000

--Apple-Mail=_67CDB899-2378-42B2-AC80-298E1E13E76C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Hi Dan,

This is an interesting proposal!  But I can see three major issues, none =
of which is insurmountable:

First, is there there reason to believe that GapDH is actually harder in =
a gap group?  Sure, you can actually run a proposed GapDH solver, but =
that seems like a downside as much as an upside, since it breaks CDH.  I =
suppose there is an argument from Bernstein=92s =93special curves might =
be better=94 line, but that would need more evidence.

Second, if the pairing is available to the attacker, then why not make =
it available to the user, i.e. why not make it practical?

Third, is there a way to avoid a large cofactor?

=97 Mike


On May 5, 2014, at 12:38 PM, Dan Brown <dbrown@certicom.com> wrote:

> Dear CFRG List,
> =20
> What about EC groups with a pairing to an extension field with a =
degree high enough such that the DLP is infeasible in the extension =
field, but low enough such that pairing is feasible (but not practical)?
> =20
> An upside is that proofs assuming hard GapDH problem become less =
theoretical, since a DDH oracle becomes available.  E.g. if a 2^128 =
adversary can be converted to a 2^129  DH solver by invoking the a 2^64 =
cost pairing 2^64 times, then we have a fairly concrete construction.
> =20
> A downside is that it weakens the DDH, but then we always use a =
one-way PRF/KDF, so DDH attacks cannot be extended to PRF.  (This is the =
same as one argument to ignore Cheon attacks against schemes with static =
DH keys and hashed shared secrets.)
> =20
> A second downside is the risk of using such a curve, because it is =
special.  Random curves would not be expected to have this property.
> =20
> A third downside is that this may not be a well-studied idea, except =
by those who often think about the GapDH, and TLS seems to want =
something soon (to solve a different problem =85).
> =20
> I raised this now, because of the argument that CFRG should commit to =
recommending a single curve (per security level), that this =
recommendation should be long-lasting, and that the same recommendation =
should be used across multiple IETF applications.  To me, this suggests =
that CFRG should recommend a curve as secure as possible.
> =20
> Best regards,
> =20
> Daniel Brown
> Research In Motion Limited
> <image001.jpg>
> =20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


--Apple-Mail=_67CDB899-2378-42B2-AC80-298E1E13E76C
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 Dan,</div><div><br></div><div>This is an =
interesting proposal! &nbsp;But I can see three major issues, none of =
which is insurmountable:</div><div><br></div><div>First, is there there =
reason to believe that GapDH is actually harder in a gap group? =
&nbsp;Sure, you can actually run a proposed GapDH solver, but that seems =
like a downside as much as an upside, since it breaks CDH. &nbsp;I =
suppose there is an argument from Bernstein=92s =93special curves might =
be better=94 line, but that would need more =
evidence.</div><div><br></div><div>Second, if the pairing is available =
to the attacker, then why not make it available to the user, i.e. why =
not make it practical?</div><div><br></div><div>Third, is there a way to =
avoid a large cofactor?</div><div><br></div><div>=97 =
Mike</div><div><br></div><br><div><div>On May 5, 2014, at 12:38 PM, Dan =
Brown &lt;<a =
href=3D"mailto:dbrown@certicom.com">dbrown@certicom.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div lang=3D"EN-US" link=3D"blue" vlink=3D"purple" =
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 class=3D"WordSection1" =
style=3D"page: WordSection1;"><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-CA">Dear CFRG List,<o:p></o:p></span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif;"><span lang=3D"EN-CA">&nbsp;</span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif;"><span lang=3D"EN-CA">What about EC groups with a =
pairing to an extension field with a degree high enough such that the =
DLP is infeasible in the extension field, but low enough such that =
pairing is feasible (but not practical)?<o:p></o:p></span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif;"><span lang=3D"EN-CA">&nbsp;</span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif;"><span lang=3D"EN-CA">An upside is that proofs =
assuming hard GapDH problem become less theoretical, since a DDH oracle =
becomes available.&nbsp; E.g. if a 2^128 adversary can be converted to a =
2^129 &nbsp;DH solver by invoking the a 2^64 cost pairing 2^64 times, =
then we have a fairly concrete construction.<o:p></o:p></span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif;"><span lang=3D"EN-CA">&nbsp;</span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif;"><span lang=3D"EN-CA">A downside is that it weakens =
the DDH, but then we always use a one-way PRF/KDF, so DDH attacks cannot =
be extended to PRF.&nbsp; (This is the same as one argument to ignore =
Cheon attacks against schemes with static DH keys and hashed shared =
secrets.)<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-CA">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-CA">A second downside is the risk of using such a curve, =
because it is special. &nbsp;Random curves would not be expected to have =
this property.<o:p></o:p></span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-CA">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-CA">A third downside is that this may not be a well-studied =
idea, except by those who often think about the GapDH, and TLS seems to =
want something soon (to solve a different problem =
=85).<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-CA">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-CA">I raised this now, because of the argument that CFRG =
should commit to recommending a single curve (per security level), that =
this recommendation should be long-lasting, and that the same =
recommendation should be used across multiple IETF applications.&nbsp; =
To me, this suggests that CFRG should recommend a curve as secure as =
possible.<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-CA">&nbsp;</span></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-CA">Best regards,<o:p></o:p></span></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif;"><span lang=3D"EN-CA">&nbsp;</span></div><table =
class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=3D"0" =
width=3D"750" style=3D"width: 6.25in;"><tbody><tr><td style=3D"padding: =
0in 0in 3pt;"><div style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif; line-height: 11.25pt;"><span =
style=3D"font-size: 9pt; font-family: Arial, sans-serif;">Daniel =
Brown<o:p></o:p></span></div></td></tr><tr><td style=3D"padding: =
0in;"><p class=3D"MsoNormal" style=3D"margin: 3.75pt 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
style=3D"font-size: 9pt; font-family: Arial, sans-serif; color: rgb(0, =
115, 188);">Research In Motion Limited</span><span style=3D"font-size: =
9pt; font-family: Arial, =
sans-serif;"><o:p></o:p></span></p></td></tr></tbody></table><p =
class=3D"MsoNormal" style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; =
font-family: Calibri, sans-serif;"></p><table class=3D"MsoNormalTable" =
border=3D"0" cellspacing=3D"0" cellpadding=3D"0" width=3D"750" =
style=3D"width: 6.25in;"><tbody><tr><td style=3D"padding: =
0in;"></td></tr></tbody></table><p class=3D"MsoNormal" style=3D"margin: =
0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, =
sans-serif;"></p><table class=3D"MsoNormalTable" border=3D"0" =
cellspacing=3D"3" cellpadding=3D"0" width=3D"750" style=3D"width: =
6.25in;"><tbody><tr><td style=3D"padding: 9.75pt 0in 0in;"><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif;"><span style=3D"font-size: 12pt; font-family: =
'Times New Roman', serif;">&lt;image001.jpg&gt;</span><span =
style=3D"font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p></o:p></span></div></td></tr><tr><td width=3D"750" =
style=3D"width: 6.25in; padding: 9.75pt 0in =
0in;"></td></tr></tbody></table><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;"><span =
lang=3D"EN-CA">&nbsp;</span></div></div>__________________________________=
_____________<br>Cfrg mailing list<br><a href=3D"mailto:Cfrg@irtf.org" =
style=3D"color: purple; text-decoration: =
underline;">Cfrg@irtf.org</a><br><a =
href=3D"http://www.irtf.org/mailman/listinfo/cfrg" style=3D"color: =
purple; text-decoration: =
underline;">http://www.irtf.org/mailman/listinfo/cfrg</a></div></blockquot=
e></div><br></body></html>=

--Apple-Mail=_67CDB899-2378-42B2-AC80-298E1E13E76C--


From nobody Mon May  5 13:51: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 6B8B01A0640 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 13:51:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.266
X-Spam-Level: 
X-Spam-Status: No, score=-2.266 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G5C6WN3Ykn5T for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 13:51:27 -0700 (PDT)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by ietfa.amsl.com (Postfix) with ESMTP id 8B7431A0648 for <cfrg@irtf.org>; Mon,  5 May 2014 13:51:27 -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 s45Kp3xs022850; Mon, 5 May 2014 13:51:22 -0700
Received: from sc-owa.marvell.com ([199.233.58.135]) by mx0b-0016f401.pphosted.com with ESMTP id 1kngkfnwh2-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 05 May 2014 13:51:21 -0700
Received: from SC-vEXCH2.marvell.com ([10.93.76.134]) by SC-OWA.marvell.com ([::1]) with mapi; Mon, 5 May 2014 13:51:20 -0700
From: Paul Lambert <paul@marvell.com>
To: Rene Struik <rstruik.ext@gmail.com>, "Igoe, Kevin M." <kmigoe@nsa.gov>, "cfrg@irtf.org" <cfrg@irtf.org>
Date: Mon, 5 May 2014 13:52:40 -0700
Thread-Topic: [Cfrg] Task looming over the CFRG
Thread-Index: Ac9oo8RiINqDXA3FRf21X1U+9io8KQ==
Message-ID: <CF8D3B8D.3A425%paul@marvell.com>
References: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov> <5367DA09.7020906@gmail.com> <CF8D298B.3A3C3%paul@marvell.com> <5367E67B.4050705@gmail.com>
In-Reply-To: <5367E67B.4050705@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.1.140326
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_CF8D3B8D3A425paulmarvellcom_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.96, 1.0.14,  0.0.0000 definitions=2014-05-05_03:2014-05-05,2014-05-05,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1405050328
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/KD1TPU4x-9VkQ1X3ZwhrNsEeYQ8
Subject: Re: [Cfrg] Task looming over the CFRG
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 05 May 2014 20:51:31 -0000

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

From: Rene Struik <rstruik.ext@gmail.com<mailto:rstruik.ext@gmail.com>>
Date: Monday, May 5, 2014 at 12:28 PM
To: Paul Lambert <paul@marvell.com<mailto:paul@marvell.com>>, "Igoe, Kevin =
M." <kmigoe@nsa.gov<mailto:kmigoe@nsa.gov>>, "cfrg@irtf.org<mailto:cfrg@irt=
f.org>" <cfrg@irtf.org<mailto:cfrg@irtf.org>>
Subject: Re: [Cfrg] Task looming over the CFRG

Hi Paul:

I do not think there is reason to mute technical discussion,
No such intent =85 just an observation that you hold a minority view point.

On your advocacy =85 are you proposing that the NIST curves be maintained a=
s the primary recommendation, or do you have other preferences in your curv=
es?

esp. since the criteria David McGrew put forward were just a strawman propo=
sal and seemed to pre-sort solution directions (see, e.g., Mike Hamburg's r=
esponse Wed last week, April 30th) and did not receive technical feedback b=
efore.

Yes =85 the criteria could be tuned to be more neutral and to have a rankin=
g of importance.  Additional criteria could also be added to make NIST curv=
es more favorable if we are simply creating a score card.  However, I=92m n=
ot sure the consensus would change.

NIST curves were created over 15 years ago.  NIST has not kept pace in this=
 period with recommendations to mitigate attacks documented by industry.  N=
IST has not considered the advancements in open cryptographic publications =
that have identified new curves and algorithms that provide improved perfor=
mance and better =93safety=94 of implementations.  Patents have expired sin=
ce the publication of the original NIST recommendations that open new oppor=
tunities for license-free security based on elliptic curves.

This emphasizes that there may be different perspectives on what would be a=
ppropriate criteria ("the" criteria as you were paraphrasing was simply a s=
et of potential criteria put forward).

Yes.  Like statistics, criteria can be abused to justify a particular resul=
t.  I do not see that that was the intent of the list published to this wor=
king group.   If you see ways that the criteria could be modified or extend=
ed to sway the group to your preferred curve choice, please do be specific =
and provide a compelling analysis.

FYI - You suggested that "At a minimum, recommendations should be establish=
ed to make ECDSA deterministic". You may wish to have a look at RFC 6979 - =
Deterministic Usage of the Digital Signature Algorithm (DSA) and Elliptic C=
urve Digital Signature Algorithm (ECDSA) (August 2013).6979.

Yes, I am very familiar with RFC 6979. This is an informational RFC and pro=
vides the procedures and test vectors for =93Deterministic ECDSA=94.  It is=
 not a =93recommendation=94 or requirement.  This is not a black box testab=
le recommendation since you can not easily tell a truly random the use in E=
CDSA of: a truly random number, a deterministic number, a back-door predict=
able deterministic number, etc.   This is an area that NIST has completely =
failed industry.   Attacks and mistakes in implementations are possible wit=
h the NIST ECDSA recommendations.  RFC 6979 helps and =93deterministic=94 t=
echniques should be more strongly codified as a recommendation.


Paul



Best regards, Rene

[excerpt of your email of May 5, 2014, 3:09pm EDT]
True, but none of the items were new information. Anyone participating in a=
n informed discussion should be familiar will all of the criteria.

On 5/5/2014 3:09 PM, Paul Lambert wrote:

Hi Rene,

From: Rene Struik <rstruik.ext@gmail.com<mailto:rstruik.ext@gmail.com>>
Date: Monday, May 5, 2014 at 11:35 AM
To: "Igoe, Kevin M." <kmigoe@nsa.gov<mailto:kmigoe@nsa.gov>>, "cfrg@irtf.or=
g<mailto:cfrg@irtf.org>" <cfrg@irtf.org<mailto:cfrg@irtf.org>>
Subject: Re: [Cfrg] Task looming over the CFRG

Hi Kevin:

Just a few hours prior to the CFRG Interim, David McGrew suggested some cri=
teria for elliptic curves, on which a few comments were received on the mai=
ling list. This list was also - very briefly - discussed during the Virtual=
 Interim. During the virtual interim, there were presentations by various p=
eople on curve picks. There was no discussion on schemes these curves shoul=
d be used with (except for plain ECDH).

I think it would be premature to now already draw a conclusion here,

I disagree.  The consensus in the ad hoc was clear.  Discussions on this li=
st are consist with the ad hoc discussion.   The flurry of activity in othe=
r working groups also reflects the same consensus to recommend Curve25519.

since there has hardly been time to digest presentations and reflect upon t=
his.

True, but none of the items were new information. Anyone participating in a=
n informed discussion should be familiar will all of the criteria. The coll=
ection of the list is valuable and could be the basis of any final formal r=
ecommendation.  Expressing the criteria in neutral and fair language that c=
aptures the background and importance of each requirement is worthy of it=
=92s own additional effort =85 but should not delay decisions we make based=
 on our discussions.

We can move forward with a recommendation and continue to use David=92s exc=
ellent list as the benchmark for rational of the selection.

There was also additional work we need to consider and the ad hoc ran out o=
f time to summarize work items.  Specifically, there are supporting recomme=
ndations required to:
 - document the changes in ECDH for cofactors >1
    - this may impact a variety of specifications.

I=92m also not clear yet what is the recommendation for digital signatures.=
   At a minimum, recommendations should be established to make ECDSA determ=
inistic.   Other signature algorithms are possible, but the impact on PKI o=
r alternatives of introducing a new signature algorithm needs some discussi=
on (IMHO).

 I=92d like to see a self consistent recommendations that define  key excha=
nges and signatures for the same curve (or related transformed curve).  PKI=
 interworking to bridge to the new curves would fall out from this set of d=
efinitions.

Paul


Any presumed concensus by attendees during the call could hardly have been =
based on reflecting on presented material, since this was uploaded x-minute=
s prior to the meeting and there was no magical break during the interim to=
 digest material further. So, what was the point of the curve selection cri=
teria strawman and virtual interim presentations if the conclusions are alr=
eady known now?

I would suspect (and raised this on the chat box at the end of the interim)=
 that there should be a sequel to this during the IETF-90 meeting in Toront=
o (assuming CFRG would indeed meet there).

Best regards, Rene

http://www.ietf.org/mail-archive/web/cfrg/current/msg04461.html

On 5/5/2014 1:58 PM, Igoe, Kevin M. wrote:
As most the folks who read this list have noticed, a virtual interim meetin=
g of the CFRG
was held on Tues 29 April to discuss the way forward for elliptic curve cry=
ptography
in the IETF.  This was driven by an earnest plea from the TLS WG for firmgu=
idance from
the CGRG on the selection of elliptic curves for use in TLS.  They need an =
answer before
the Toronto IETF meeting inlate July.  TLS needs curves for severallevels o=
f security (128,
192 and 256), suitable for use in both key agreement and in digital signatu=
res.


 *   The consensus of the attendees was that it would be best for TLS to ha=
ve a single
=93mandatory to implement=94 curve for each of the three security levels.



 *   Though the attendees were reluctant to make a formal commitment, there
was clearly a great deal of support for the Montgomery curve curve25519 (FY=
I, the
25519 refers to the fact that arithmetic is done modulo the prime 2**255 =
=96 19 ).



 *   curve25519 only fills one of the three required security levels.  We s=
till need
curves of size near 384 bits and 512 bits.



 *   NIST curves: I doubt TLS will be willing to revisit the question of el=
liptic curves once the
CFRG has made their recommendation.  Another option to consider is advising=
 TLS to
use of the NIST curves in the short term, buying time for the CFRG to do an=
 unrushed
exploration of the alternatives, drawing academia and other standards bodie=
s into the
discussion.


P.S.  It has been suggested that the CFRG hold a session at the Crypto conf=
erence in
Santa Barbara in an effort to draw in more participation from the academic =
community.
No guarantees we can pull this off, but it is worth the attempt. Thoughts? =
Volunteers?

P.P.S. We need to start lining up speakers for the CFRG session at IETF-90 =
(Toronto).


----------------+--------------------------------------------------
Kevin M. Igoe   | "We can't solve problems by using the same kind
kmigoe@nsa.gov<mailto:kmigoe@nsa.gov>  | of thinking we used when we create=
d them."
                |              - Albert Einstein -
----------------+--------------------------------------------------






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



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





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



--_000_CF8D3B8D3A425paulmarvellcom_
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; color: rgb(0, 0, 0); font-size: 14p=
x; font-family: Calibri, sans-serif;"><span id=3D"OLK_SRC_BODY_SECTION"><di=
v style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:blac=
k; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0i=
n; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BO=
RDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style=3D"font-weight:bold"=
>From: </span> Rene Struik &lt;<a href=3D"mailto:rstruik.ext@gmail.com">rst=
ruik.ext@gmail.com</a>&gt;<br><span style=3D"font-weight:bold">Date: </span=
> Monday, May 5, 2014 at 12:28 PM<br><span style=3D"font-weight:bold">To: <=
/span> Paul Lambert &lt;<a href=3D"mailto:paul@marvell.com">paul@marvell.co=
m</a>&gt;, &quot;Igoe, Kevin M.&quot; &lt;<a href=3D"mailto:kmigoe@nsa.gov"=
>kmigoe@nsa.gov</a>&gt;, &quot;<a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.o=
rg</a>&quot; &lt;<a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>&gt;<br>=
<span style=3D"font-weight:bold">Subject: </span> Re: [Cfrg] Task looming o=
ver the CFRG<br></div><div><br></div><blockquote id=3D"MAC_OUTLOOK_ATTRIBUT=
ION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MAR=
GIN:0 0 0 5;"><div><div bgcolor=3D"#FFFFFF" text=3D"#000000"><div class=3D"=
moz-cite-prefix">Hi Paul:<br><br>
I do not think there is reason to mute technical discussion, </div></div></=
div></blockquote></span><div>No such intent =85 just an observation that yo=
u hold a minority view point.</div><div><br></div><div>On your advocacy =85=
 are you proposing that the NIST curves be maintained as the primary recomm=
endation, or do you have other preferences in your curves?</div><div><br></=
div><span id=3D"OLK_SRC_BODY_SECTION"><blockquote id=3D"MAC_OUTLOOK_ATTRIBU=
TION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MA=
RGIN:0 0 0 5;"><div><div bgcolor=3D"#FFFFFF" text=3D"#000000"><div class=3D=
"moz-cite-prefix">esp. since the criteria David McGrew put forward were jus=
t a strawman proposal and seemed to pre-sort solution directions (see, e.g.=
, Mike Hamburg's response Wed last week, April 30th) and did not
 receive technical feedback before. </div></div></div></blockquote></span><=
div><br></div><div>Yes =85 the criteria could be tuned to be more neutral a=
nd to have a ranking of importance. &nbsp;Additional criteria could also be=
 added to make NIST curves more favorable if we are simply creating a score=
 card. &nbsp;However, I=92m not sure the consensus would change. &nbsp;</di=
v><div><br></div><div>NIST curves were created over 15 years ago. &nbsp;NIS=
T has not kept pace in this period with recommendations to mitigate attacks=
 documented by industry. &nbsp;NIST has not considered the advancements in =
open cryptographic publications that have identified new curves and algorit=
hms that provide improved performance and better =93safety=94 of implementa=
tions. &nbsp;Patents have expired since the publication of the original NIS=
T recommendations that open new opportunities for license-free security bas=
ed on elliptic curves.</div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION=
"><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEF=
T: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div><div bgcolor=3D"=
#FFFFFF" text=3D"#000000"><div class=3D"moz-cite-prefix">This emphasizes th=
at there may be different perspectives on what would be appropriate criteri=
a (&quot;the&quot; criteria as you were paraphrasing was simply a set of po=
tential criteria put forward).</div></div></div></blockquote></span><div><b=
r></div><div>Yes. &nbsp;Like statistics, criteria can be abused to justify =
a particular result. &nbsp;I do not see that that was the intent of the lis=
t published to this working group. &nbsp; If you see ways that the criteria=
 could be modified or extended to sway the group to your preferred curve ch=
oice, please do be specific and provide a compelling analysis. &nbsp;</div>=
<div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><blockquote id=3D"MAC_OUTL=
OOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING:=
0 0 0 5; MARGIN:0 0 0 5;"><div bgcolor=3D"#FFFFFF" text=3D"#000000"><div cl=
ass=3D"moz-cite-prefix">FYI - You suggested that &quot;At a minimum, recomm=
endations should be established to make ECDSA deterministic&quot;. You may =
wish to have a look at RFC 6979 - Deterministic Usage of the Digital Signat=
ure Algorithm (DSA) and Elliptic Curve Digital Signature Algorithm
 (ECDSA) (August 2013).6979. &nbsp;</div></div></blockquote></span><div><br=
></div><div>Yes, I am very familiar with RFC 6979. This is an informational=
 RFC and provides the procedures and test vectors for =93Deterministic ECDS=
A=94. &nbsp;It is not a =93recommendation=94 or requirement. &nbsp;This is =
not a black box testable recommendation since you can not easily tell a tru=
ly random the use in ECDSA of: a truly random number, a deterministic numbe=
r, a back-door predictable deterministic number, etc. &nbsp; This is an are=
a that NIST has completely failed industry. &nbsp; Attacks and mistakes in =
implementations are possible with the NIST ECDSA recommendations. &nbsp;RFC=
 6979 helps and =93deterministic=94 techniques should be more strongly codi=
fied as a recommendation. &nbsp; &nbsp;</div><div><br></div><div><br></div>=
<div>Paul</div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><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><div bgcolor=3D"#FFFFFF" text=
=3D"#000000"><div class=3D"moz-cite-prefix"><br><br>
Best regards, Rene<br><br>
[excerpt of your email of May 5, 2014, 3:09pm EDT]<br>
True, but none of the items were new information. Anyone participating in a=
n informed discussion should be familiar will all of the criteria.
<br><br>
On 5/5/2014 3:09 PM, Paul Lambert wrote:<br></div><blockquote cite=3D"mid:C=
F8D298B.3A3C3%25paul@marvell.com" type=3D"cite"><div><br></div><div>Hi Rene=
,</div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><div style=3D"font-=
family:Calibri; font-size:11pt;
          text-align:left; color:black; BORDER-BOTTOM: medium none;
          BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT:
          0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;
          BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style=3D"font-=
weight:bold">From: </span>Rene Struik &lt;<a moz-do-not-send=3D"true" href=
=3D"mailto:rstruik.ext@gmail.com">rstruik.ext@gmail.com</a>&gt;<br><span st=
yle=3D"font-weight:bold">Date: </span>Monday, May 5, 2014 at 11:35 AM<br><s=
pan style=3D"font-weight:bold">To: </span>&quot;Igoe, Kevin M.&quot; &lt;<a=
 moz-do-not-send=3D"true" href=3D"mailto:kmigoe@nsa.gov">kmigoe@nsa.gov</a>=
&gt;, &quot;<a moz-do-not-send=3D"true" href=3D"mailto:cfrg@irtf.org">cfrg@=
irtf.org</a>&quot; &lt;<a moz-do-not-send=3D"true" href=3D"mailto:cfrg@irtf=
.org">cfrg@irtf.org</a>&gt;<br><span style=3D"font-weight:bold">Subject: </=
span>Re: [Cfrg] Task looming over the CFRG<br></div><div><br></div><blockqu=
ote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df=
 5 solid; PADDING:0 0 0 5; MARGIN:0
          0 0 5;"><div><div bgcolor=3D"#FFFFFF" text=3D"#000000"><div class=
=3D"moz-cite-prefix">Hi Kevin:<br><br>
Just a few hours prior to the CFRG Interim, David McGrew suggested some cri=
teria for elliptic curves, on which a few comments were received on the mai=
ling list. This list was also - very briefly - discussed during the Virtual=
 Interim. During the virtual interim,
 there were presentations by various people on curve picks. There was no di=
scussion on schemes these curves should be used with (except for plain ECDH=
).<br><br>
I think it would be premature to now already draw a conclusion here, </div>=
</div></div></blockquote></span><div><br></div><div>I disagree. &nbsp;The c=
onsensus in the ad hoc was clear. &nbsp;Discussions on this list are consis=
t with the ad hoc discussion. &nbsp; The flurry of activity in other workin=
g groups also reflects the same consensus to recommend Curve25519.</div><di=
v><br></div><span id=3D"OLK_SRC_BODY_SECTION"><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><div bgcolor=3D"#FFFFFF" text=3D"#000000"><div class=
=3D"moz-cite-prefix">since there has hardly been time to digest presentatio=
ns and reflect upon this.
</div></div></div></blockquote></span><div><br></div><div>True, but none of=
 the items were new information. Anyone participating in an informed discus=
sion should be familiar will all of the criteria. The collection of the lis=
t is valuable and could be the basis of any final formal recommendation. &n=
bsp;Expressing
 the criteria in neutral and fair language that captures the background and=
 importance of each requirement is worthy of it=92s own additional effort =
=85 but should not delay decisions we make based on our discussions. &nbsp;=
</div><div><br></div><div>We can move forward with a recommendation and con=
tinue to use David=92s excellent list as the benchmark for rational of the =
selection.</div><div><br></div><div>There was also additional work we need =
to consider and the ad hoc ran out of time to summarize work items. &nbsp;S=
pecifically, there are supporting recommendations required to:</div><div>&n=
bsp;- document the changes in ECDH for cofactors &gt;1</div><div>&nbsp; &nb=
sp; - this may impact a variety of specifications.</div><div><br></div><div=
>I=92m also not clear yet what is the recommendation for digital signatures=
. &nbsp; At a minimum, recommendations should be established to make ECDSA =
deterministic. &nbsp; Other signature algorithms are possible, but the impa=
ct on PKI or alternatives of introducing
 a new signature algorithm needs some discussion (IMHO).&nbsp;</div><div><b=
r></div><div>&nbsp;I=92d like to see a self consistent recommendations that=
 define &nbsp;key exchanges and signatures for the same curve (or related t=
ransformed curve). &nbsp;PKI interworking to bridge to the new curves would=
 fall out from this set of definitions.</div><div><br></div><div>Paul</div>=
<div><br></div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><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><div bgcolor=3D"#FFFFFF" text=3D"#000000"><div class=
=3D"moz-cite-prefix">Any presumed concensus by attendees during the call co=
uld hardly have been based on reflecting on presented material, since this =
was uploaded x-minutes prior to the meeting and there was no magical break =
during the interim to digest
 material further. So, what was the point of the curve selection criteria s=
trawman and virtual interim presentations if the conclusions are already kn=
own now?<br><br>
I would suspect (and raised this on the chat box at the end of the interim)=
 that there should be a sequel to this during the IETF-90 meeting in Toront=
o (assuming CFRG would indeed meet there).<br><br>
Best regards, Rene<br><br><a moz-do-not-send=3D"true" class=3D"moz-txt-link=
-freetext" href=3D"http://www.ietf.org/mail-archive/web/cfrg/current/msg044=
61.html">http://www.ietf.org/mail-archive/web/cfrg/current/msg04461.html</a=
><br><br>
On 5/5/2014 1:58 PM, Igoe, Kevin M. wrote:<br></div><blockquote cite=3D"mid=
:3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov" type=
=3D"cite"><meta name=3D"Generator" content=3D"Microsoft Exchange
                  Server"><!-- converted from rtf --><style><!-- .EmailQuot=
e { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } =
--></style><font face=3D"Calibri" size=3D"2"><span style=3D"font-size:11pt;=
"><div>As most the folks who read this list have noticed, a virtual interim=
 meeting of the CFRG</div><div>was held on Tues 29 April to discuss the way=
 forward for elliptic curve cryptography</div><div>in the IETF.&nbsp; <b><i=
>This </i></b><b><i>was</i></b><b><i> driven by an earnest plea from the TL=
S WG for firm</i></b><b><i>guidance
</i></b><b><i>from <br>
the CGRG </i></b><b><i>on the selection of elliptic curves</i></b><b><i> </=
i></b><b><i>for use in TLS.&nbsp; They need an answer
</i></b><b><i>before <br></i></b><b><i>the </i></b><b><i>Toronto</i></b><b>=
<i> IETF meeting i</i></b><b><i>n</i></b><b><i>late July</i></b>.&nbsp; TLS=
 needs curves for several<b><i></i></b>levels of security (128, <br>
192 and 256), suitable for use in both key agreement and<b><i> </i></b>in d=
igital signatures.</div><div>&nbsp;</div><ul style=3D"margin:0;padding-left=
:36pt;"><li>The consensus of the attendees was that it would be best for TL=
S to have a single<br>
=93mandatory to implement=94 curve for each of the three security levels. <=
/li></ul><div>&nbsp;</div><ul style=3D"margin:0;padding-left:36pt;"><li>Tho=
ugh the attendees were reluctant to make a formal commitment, there<br>
was clearly a great deal of support for the Montgomery curve curve25519 (FY=
I, the
<br>
25519 refers to the fact that arithmetic is done modulo the prime 2**255 =
=96 19 ). </li></ul><div style=3D"padding-left:36pt;">&nbsp;</div><ul style=
=3D"margin:0;padding-left:36pt;"><li>curve25519 only fills one of the three=
 required security levels.&nbsp; We still need<br>
curves of size near 384 bits and 512 bits. </li></ul><div style=3D"padding-=
left:36pt;">&nbsp;</div><ul style=3D"margin:0;padding-left:36pt;"><li>NIST =
curves: I doubt TLS will be willing to revisit the question of elliptic cur=
ves once the
<br>
CFRG has made their recommendation.&nbsp; Another option to consider is adv=
ising TLS to<br>
use of the NIST curves in the short term, buying time for the CFRG to do an=
 unrushed
<br>
exploration of the alternatives, drawing academia and other standards bodie=
s into the
<br>
discussion. </li></ul><div style=3D"padding-left:36pt;">&nbsp;</div><div>P.=
S.&nbsp; It has been suggested that the CFRG hold a session at the Crypto c=
onference in</div><div>Santa Barbara in an effort to draw in more participa=
tion from the academic community.</div><div>No guarantees we can pull this =
off, but it is worth the attempt. Thoughts? Volunteers?</div><div>&nbsp;</d=
iv><div>P.P.S. We need to start lining up speakers for the CFRG session at =
IETF-90 (Toronto).</div><div>&nbsp;</div><div><font color=3D"#333333">&nbsp=
;</font></div><div><font color=3D"#333333" face=3D"Courier New" size=3D"2">=
<span style=3D"font-size:10pt;">----------------&#43;----------------------=
----------------------------</span></font></div><div><font color=3D"#333333=
" face=3D"Courier New" size=3D"2"><span style=3D"font-size:10pt;">Kevin M. =
Igoe&nbsp;&nbsp; | &quot;We can't solve problems by using the same kind</sp=
an></font></div><div><font color=3D"#333333" face=3D"Courier New" size=3D"2=
"><span style=3D"font-size:10pt;"><a moz-do-not-send=3D"true" class=3D"moz-=
txt-link-abbreviated" href=3D"mailto:kmigoe@nsa.gov">kmigoe@nsa.gov</a>&nbs=
p; | of thinking we used when we created them.&quot;
</span></font></div><div><font color=3D"#333333" face=3D"Courier New" size=
=3D"2"><span style=3D"font-size:10pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Albert Einste=
in -</span></font></div><div><font color=3D"#333333" face=3D"Courier New" s=
ize=3D"2"><span style=3D"font-size:10pt;">----------------&#43;------------=
--------------------------------------</span></font></div><div>&nbsp;</div>=
<div>&nbsp;</div><div>&nbsp;</div></span></font><br><fieldset class=3D"mime=
AttachmentHeader"></fieldset> <br><pre wrap=3D"">__________________________=
_____________________
Cfrg mailing list
<a moz-do-not-send=3D"true" class=3D"moz-txt-link-abbreviated" href=3D"mail=
to:Cfrg@irtf.org">Cfrg@irtf.org</a><a moz-do-not-send=3D"true" class=3D"moz=
-txt-link-freetext" href=3D"http://www.irtf.org/mailman/listinfo/cfrg">http=
://www.irtf.org/mailman/listinfo/cfrg</a></pre></blockquote><br><br><pre cl=
ass=3D"moz-signature" cols=3D"72">--=20
email: <a moz-do-not-send=3D"true" class=3D"moz-txt-link-abbreviated" href=
=3D"mailto:rstruik.ext@gmail.com">rstruik.ext@gmail.com</a> | Skype: rstrui=
k
cell: &#43;1 (647) 867-5658 | US: &#43;1 (415) 690-7363</pre></div></div></=
blockquote></span><div><br></div><div><br></div></blockquote><br><br><pre c=
lass=3D"moz-signature" cols=3D"72">--=20
email: <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:rstruik.ext@gma=
il.com">rstruik.ext@gmail.com</a> | Skype: rstruik
cell: &#43;1 (647) 867-5658 | US: &#43;1 (415) 690-7363</pre></div></div></=
blockquote></span><div><br></div><div><br></div></body></html>

--_000_CF8D3B8D3A425paulmarvellcom_--


From nobody Mon May  5 13:55:53 2014
Return-Path: <mike@shiftleft.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8A56A1A0651 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 13:55:48 -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 MJV1DpnvsTD7 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 13:55:46 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) by ietfa.amsl.com (Postfix) with ESMTP id D1F6E1A0453 for <cfrg@irtf.org>; Mon,  5 May 2014 13:55:46 -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 CC7523AA3F; Mon,  5 May 2014 13:53:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1399323213; bh=Yep3hBcmAFlCBGUv4IDBZX8GxSj9qoMsGwR9PmtwkXc=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=VLB0jqVwuvFCSt7t6KTW/CS5H0SFY05C6RZ7QBqxC6r77eegrCf+40l2uGD3qa+bA Be8WbNlw7WdFpOKU+g7dZ0R0ybpypNFE42q+MJb846ZRhVCdpeYQ694pZClXUYB4R0 Gsda7sbE7AEETK7wwfkwmTz6eNC8+ezLvJLflz20=
Content-Type: multipart/alternative; boundary="Apple-Mail=_264ED300-BC95-4670-BB12-330F02AB0843"
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <3C4AAD4B5304AB44A6BA85173B4675CABAA404E9@MSMR-GH1-UEA03.corp.nsa.gov>
Date: Mon, 5 May 2014 13:55:41 -0700
Message-Id: <B8586319-F1E6-4CA6-B70E-4D6153DC19A5@shiftleft.org>
References: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov> <E98B42D5-610C-4532-B765-5819A35A456C@shiftleft.org> <3C4AAD4B5304AB44A6BA85173B4675CABAA404E9@MSMR-GH1-UEA03.corp.nsa.gov>
To: "Igoe, Kevin M." <kmigoe@nsa.gov>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/TyPSC6G4hhqaX2SOUVeE8CAYrGI
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Task looming over the CFRG
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 05 May 2014 20:55:48 -0000

--Apple-Mail=_264ED300-BC95-4670-BB12-330F02AB0843
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Kevin,

Sorry to be ambiguous: the curve I designed has a 448-bit field and a =
446-bit prime-order subgroup, so a parallel rho attack should cost just =
under 2^223 point operations on average.  So it sits between the 192 and =
256-bit security levels.

I=92m not particularly invested in getting this curve into TLS, but I=92d =
like to know whether there=92s a point in submitting it for this =
purpose, or if it will be rejected for having the =93wrong security =
level".

Matching the nominal security level of the asymmetric part to that of =
the symmetric part sounds obvious on its face, but in fact it is not =
usually done above the 128-bit level.  For example, Suite B doesn=92t =
specify a direct matching of nominal security levels: it specifies =
AES-256 with SHA-384 and ECDSA-NIST-p384 for TOP SECRET communications.  =
Likewise, almost nobody pairs AES-256 with the matching RSA-15k, and =
even AES-128 is usually paired with the nominally weaker RSA-2048.

This actually makes sense.  Nobody is going to do a 128-bit exhaust for =
many decades.  Not Google, not the NSA, not the KGB, nobody.  With =
today=92s most efficient supercomputers, the heat output from 2^128 =
operations would be far more than enough to boil the oceans dry [1].  So =
we=92re talking about defenses against sub-128-bit attacks, and defense =
in depth against hypothetical advances in cryptography, and quantum =
resistance for primitives that can resist at all.  Stronger curves, =
ciphers and hashes will stand or fall on their own, not all together as =
computer power surpasses their nominal security level.

Also, nobody uses AES-192.

So I don=92t think it=92s obvious that matching the AES security levels =
is a requirement.  If the RG thinks it is, or if there=92s some obscure =
legal requirement that the levels match, then fine.  Just describe why.

Cheers,
=97 Mike

[1] Lenstra, Kleinjung, Thom=E9.  =93Universal security: from bits and =
mips to pools, lakes =97 and beyond=94.  =
https://eprint.iacr.org/2013/635.pdf

On May 5, 2014, at 12:49 PM, Igoe, Kevin M. <kmigoe@nsa.gov> wrote:

> Mike:
> =20
>   Being off by a few bits isn=92t a show stopper. but 32-bits is =
probably too
> much.  The security levels echo the AES security levels of AES-128, =
AES-192
> and AES-256.  Using a 224 bit curve with AES-128 only provides roughly =
112-bits
> of security versus the 128 bits ostensibly provided by AES-128.  I =
just want to ensure
> that a user who thinks they are getting 128 bits of security gets 128 =
bits of=20
> security.
> =20
>                               Kevin
> =20
> From: Michael Hamburg [mailto:mike@shiftleft.org]=20
> Sent: Monday, May 05, 2014 2:25 PM
> To: Igoe, Kevin M.
> Cc: cfrg@irtf.org
> Subject: Re: [Cfrg] Task looming over the CFRG
> =20
> Hi Kevin,
> =20
> As the designer of an ECC system which is aimed at 224-ish-bit =
security, I=92m curious: is it a firm requirement that the curves be set =
at 128, 192 and 256 bits?  Or was there consensus in the meeting that =
the curves should be set at these security levels?  Patrick Longa aimed =
his talk at these security levels, but I don=92t recall this being =
stated as a requirement.
> =20
> Cheers,
> =97 Mike
> =20
> =20
> On May 5, 2014, at 10:58 AM, Igoe, Kevin M. <kmigoe@nsa.gov> wrote:
>=20
>=20
> As most the folks who read this list have noticed, a virtual interim =
meeting of the CFRG
> was held on Tues 29 April to discuss the way forward for elliptic =
curve cryptography
> in the IETF.  This was driven by an earnest plea from the TLS WG for =
firm guidance from=20
> the CGRG on the selection of elliptic curves for use in TLS.  They =
need an answer before=20
> the Toronto IETF meeting in late July.  TLS needs curves for several =
levels of security (128,=20
> 192 and 256), suitable for use in both key agreement and in digital =
signatures.
> =20
> =B7         The consensus of the attendees was that it would be best =
for TLS to have a single
> =93mandatory to implement=94 curve for each of the three security =
levels.
> =20
> =B7         Though the attendees were reluctant to make a formal =
commitment, there
> was clearly a great deal of support for the Montgomery curve =
curve25519 (FYI, the=20
> 25519 refers to the fact that arithmetic is done modulo the prime =
2**255 =96 19 ).
> =20
> =B7         curve25519 only fills one of the three required security =
levels.  We still need
> curves of size near 384 bits and 512 bits.
> =20
> =B7         NIST curves: I doubt TLS will be willing to revisit the =
question of elliptic curves once the=20
> CFRG has made their recommendation.  Another option to consider is =
advising TLS to
> use of the NIST curves in the short term, buying time for the CFRG to =
do an unrushed=20
> exploration of the alternatives, drawing academia and other standards =
bodies into the=20
> discussion.
> =20
> P.S.  It has been suggested that the CFRG hold a session at the Crypto =
conference in
> Santa Barbara in an effort to draw in more participation from the =
academic community.
> No guarantees we can pull this off, but it is worth the attempt. =
Thoughts? Volunteers?
> =20
> P.P.S. We need to start lining up speakers for the CFRG session at =
IETF-90 (Toronto).
> =20
> =20
> ----------------+--------------------------------------------------
> Kevin M. Igoe   | "We can't solve problems by using the same kind
> kmigoe@nsa.gov  | of thinking we used when we created them."
>                 |              - Albert Einstein -
> ----------------+--------------------------------------------------
> =20
> =20
> =20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


--Apple-Mail=_264ED300-BC95-4670-BB12-330F02AB0843
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>Kevin,</div><div><br></div><div>Sorry to be =
ambiguous: the curve I designed has a 448-bit field and a 446-bit =
prime-order subgroup, so a parallel rho attack should cost just under =
2^223 point operations on average. &nbsp;So it sits between the 192 and =
256-bit security levels.</div><div><br></div><div>I=92m not particularly =
invested in getting this curve into TLS, but I=92d like to know whether =
there=92s a point in submitting it for this purpose, or if it will be =
rejected for having the =93wrong security =
level".</div><div><br></div><div>Matching the nominal security level of =
the asymmetric part to that of the symmetric part sounds obvious on its =
face, but in fact it is not usually done above the 128-bit level. =
&nbsp;For example, Suite B doesn=92t specify a direct matching of =
nominal security levels: it specifies AES-256 with SHA-384 and =
ECDSA-NIST-p384 for TOP SECRET communications. &nbsp;Likewise, almost =
nobody pairs AES-256 with the matching RSA-15k, and even AES-128 is =
usually paired with the nominally weaker =
RSA-2048.</div><div><br></div><div>This actually makes sense. =
&nbsp;Nobody is going to do a 128-bit exhaust for many decades. =
&nbsp;Not Google, not the NSA, not the KGB, nobody. &nbsp;With today=92s =
most efficient supercomputers, the heat output from 2^128 operations =
would be far more than enough to boil the oceans dry [1]. &nbsp;So we=92re=
 talking about defenses against sub-128-bit attacks, and defense in =
depth against hypothetical advances in cryptography, and quantum =
resistance for primitives that can resist at all. &nbsp;Stronger curves, =
ciphers and hashes will stand or fall on their own, not all together as =
computer power surpasses their nominal security =
level.</div><div><br></div><div>Also, nobody uses =
AES-192.</div><div><br></div><div>So I don=92t think it=92s obvious that =
matching the AES security levels is a requirement. &nbsp;If the RG =
thinks it is, or if there=92s some obscure legal requirement that the =
levels match, then fine. &nbsp;Just describe =
why.</div><div><br></div><div>Cheers,</div><div>=97 =
Mike</div><div><br></div><div>[1] Lenstra, Kleinjung, Thom=E9. =
&nbsp;=93Universal security: from bits and mips to pools, lakes =97 and =
beyond=94. &nbsp;<a =
href=3D"https://eprint.iacr.org/2013/635.pdf">https://eprint.iacr.org/2013=
/635.pdf</a></div><br><div><div>On May 5, 2014, at 12:49 PM, Igoe, Kevin =
M. &lt;<a href=3D"mailto:kmigoe@nsa.gov">kmigoe@nsa.gov</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div lang=3D"EN-US" link=3D"blue" vlink=3D"purple" =
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 class=3D"WordSection1" =
style=3D"page: WordSection1;"><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">Mike:<o:p></o:p></span></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp; Being off by a few =
bits isn=92t a show stopper. but 32-bits is probably =
too<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">much.&nbsp; The security levels echo the AES security =
levels of AES-128, AES-192<br>and AES-256.&nbsp; Using a 224 bit curve =
with AES-128 only provides roughly 112-bits<o:p></o:p></span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(31, 73, 125);">of security versus the =
128 bits ostensibly provided by AES-128.&nbsp; I just want to =
ensure<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">that a user who thinks they are getting 128 bits of =
security gets 128 bits of<span =
class=3D"Apple-converted-space">&nbsp;</span><br>security.<o:p></o:p></spa=
n></div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; =
font-family: 'Times New Roman', serif;"><span style=3D"font-size: 11pt; =
font-family: Calibri, sans-serif; color: rgb(31, 73, =
125);">&nbsp;</span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, =
125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Kevin<o:p></o:p></span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div =
style=3D"border-style: none none none solid; border-left-color: blue; =
border-left-width: 1.5pt; padding: 0in 0in 0in 4pt;"><div><div =
style=3D"border-style: solid none none; border-top-color: rgb(181, 196, =
223); border-top-width: 1pt; padding: 3pt 0in 0in;"><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><b><span style=3D"font-size: 10pt; font-family: Tahoma, =
sans-serif;">From:</span></b><span style=3D"font-size: 10pt; =
font-family: Tahoma, sans-serif;"><span =
class=3D"Apple-converted-space">&nbsp;</span>Michael Hamburg [<a =
href=3D"mailto:mike@shiftleft.org">mailto:mike@shiftleft.org</a>]<span =
class=3D"Apple-converted-space">&nbsp;</span><br><b>Sent:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Monday, May 05, 2014 2:25 =
PM<br><b>To:</b><span class=3D"Apple-converted-space">&nbsp;</span>Igoe, =
Kevin M.<br><b>Cc:</b><span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a><br><b>Subject:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Re: [Cfrg] Task looming =
over the CFRG<o:p></o:p></span></div></div></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Hi =
Kevin,<o:p></o:p></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">As =
the designer of an ECC system which is aimed at 224-ish-bit security, =
I=92m curious: is it a firm requirement that the curves be set at 128, =
192 and 256 bits? &nbsp;Or was there consensus in the meeting that the =
curves should be set at these security levels? &nbsp;Patrick Longa aimed =
his talk at these security levels, but I don=92t recall this being =
stated as a requirement.<o:p></o:p></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;">Cheers,<o:p></o:p></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">=97 =
Mike<o:p></o:p></div></div><div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div></div><div><div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;">On May 5, 2014, at 10:58 AM, Igoe, Kevin M. &lt;<a =
href=3D"mailto:kmigoe@nsa.gov" style=3D"color: purple; text-decoration: =
underline;">kmigoe@nsa.gov</a>&gt; wrote:<o:p></o:p></div></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><br><br><o:p></o:p></div><div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">As most the folks who read this list have noticed, =
a virtual interim meeting of the =
CFRG<o:p></o:p></span></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif;">was held on =
Tues 29 April to discuss the way forward for elliptic curve =
cryptography<o:p></o:p></span></div></div><div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">in the IETF.&nbsp;<span =
class=3D"apple-converted-space">&nbsp;</span><b><i>This<span =
class=3D"apple-converted-space">&nbsp;</span>was<span =
class=3D"apple-converted-space">&nbsp;</span>driven by an earnest plea =
from the TLS WG for firm<span =
class=3D"apple-converted-space">&nbsp;</span>guidance<span =
class=3D"apple-converted-space">&nbsp;</span>from<span =
class=3D"apple-converted-space">&nbsp;</span><br>the CGRG<span =
class=3D"apple-converted-space">&nbsp;</span>on the selection of =
elliptic curves<span class=3D"apple-converted-space">&nbsp;</span>for =
use in TLS.&nbsp; They need an answer<span =
class=3D"apple-converted-space">&nbsp;</span>before<span =
class=3D"apple-converted-space">&nbsp;</span><br>the<span =
class=3D"apple-converted-space">&nbsp;</span>Toronto<span =
class=3D"apple-converted-space">&nbsp;</span>IETF meeting in<span =
class=3D"apple-converted-space">&nbsp;</span>late July</i></b>.&nbsp; =
TLS needs curves for several<span =
class=3D"apple-converted-space"><b><i>&nbsp;</i></b></span>levels of =
security (128,<span class=3D"apple-converted-space">&nbsp;</span><br>192 =
and 256), suitable for use in both key agreement and<span =
class=3D"apple-converted-space"><b><i>&nbsp;</i></b></span>in digital =
signatures.<o:p></o:p></span></div></div><div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in;"><span style=3D"font-size: 10pt; =
font-family: Symbol;"><span>=B7<span style=3D"font-style: normal; =
font-variant: normal; font-weight: normal; font-size: 7pt; line-height: =
normal; font-family: '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-size: 11pt; font-family: Calibri, sans-serif;">The =
consensus of the attendees was that it would be best for TLS to have a =
single<br>=93mandatory to implement=94 curve for each of the three =
security levels.<o:p></o:p></span></div><div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in;"><span style=3D"font-size: 10pt; =
font-family: Symbol;"><span>=B7<span style=3D"font-style: normal; =
font-variant: normal; font-weight: normal; font-size: 7pt; line-height: =
normal; font-family: '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-size: 11pt; font-family: Calibri, sans-serif;">Though the =
attendees were reluctant to make a formal commitment, there<br>was =
clearly a great deal of support for the Montgomery curve curve25519 =
(FYI, the<span class=3D"apple-converted-space">&nbsp;</span><br>25519 =
refers to the fact that arithmetic is done modulo the prime 2**255 =96 =
19 ).<o:p></o:p></span></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in;"><span style=3D"font-size: 10pt; =
font-family: Symbol;"><span>=B7<span style=3D"font-style: normal; =
font-variant: normal; font-weight: normal; font-size: 7pt; line-height: =
normal; font-family: '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-size: 11pt; font-family: Calibri, sans-serif;">curve25519 =
only fills one of the three required security levels.&nbsp; We still =
need<br>curves of size near 384 bits and 512 =
bits.<o:p></o:p></span></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in;"><span style=3D"font-size: 10pt; =
font-family: Symbol;"><span>=B7<span style=3D"font-style: normal; =
font-variant: normal; font-weight: normal; font-size: 7pt; line-height: =
normal; font-family: '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-size: 11pt; font-family: Calibri, sans-serif;">NIST =
curves: I doubt TLS will be willing to revisit the question of elliptic =
curves once the<span class=3D"apple-converted-space">&nbsp;</span><br>CFRG=
 has made their recommendation.&nbsp; Another option to consider is =
advising TLS to<br>use of the NIST curves in the short term, buying time =
for the CFRG to do an unrushed<span =
class=3D"apple-converted-space">&nbsp;</span><br>exploration of the =
alternatives, drawing academia and other standards bodies into the<span =
class=3D"apple-converted-space">&nbsp;</span><br>discussion.<o:p></o:p></s=
pan></div><div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; =
font-family: 'Times New Roman', serif;"><span style=3D"font-size: 11pt; =
font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">P.S.&nbsp; It has been suggested that the CFRG =
hold a session at the Crypto conference =
in<o:p></o:p></span></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif;">Santa =
Barbara in an effort to draw in more participation from the academic =
community.<o:p></o:p></span></div></div><div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">No guarantees we can pull this off, but it is worth the =
attempt. Thoughts? Volunteers?<o:p></o:p></span></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">&nbsp;<o:p></o:p></span></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">P.P.S. We need to start lining up speakers for the =
CFRG session at IETF-90 =
(Toronto).<o:p></o:p></span></div></div><div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(51, 51, 51);">&nbsp;</span><span =
style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p></o:p></span></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: rgb(51, 51, =
51);">----------------+--------------------------------------------------<=
/span><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p></o:p></span></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: rgb(51, 51, 51);">Kevin M. Igoe&nbsp;&nbsp; | "We can't solve =
problems by using the same kind</span><span style=3D"font-size: 11pt; =
font-family: Calibri, =
sans-serif;"><o:p></o:p></span></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: rgb(51, 51, 51);"><a href=3D"mailto:kmigoe@nsa.gov" style=3D"color:=
 purple; text-decoration: underline;">kmigoe@nsa.gov</a>&nbsp; | of =
thinking we used when we created them."</span><span style=3D"font-size: =
11pt; font-family: Calibri, =
sans-serif;"><o:p></o:p></span></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: rgb(51, 51, =
51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; - Albert Einstein -</span><span style=3D"font-size: 11pt; =
font-family: Calibri, =
sans-serif;"><o:p></o:p></span></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: rgb(51, 51, =
51);">----------------+--------------------------------------------------<=
/span><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p></o:p></span></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">&nbsp;<o:p></o:p></span></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">&nbsp;<o:p></o:p></span></div></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 9pt; font-family: =
Helvetica, =
sans-serif;">_______________________________________________<br>Cfrg =
mailing list<br><a href=3D"mailto:Cfrg@irtf.org" style=3D"color: purple; =
text-decoration: underline;">Cfrg@irtf.org</a><br><a =
href=3D"http://www.irtf.org/mailman/listinfo/cfrg" style=3D"color: =
purple; text-decoration: =
underline;">http://www.irtf.org/mailman/listinfo/cfrg</a></span></div></di=
v></div></div></div></div></blockquote></div><br></body></html>=

--Apple-Mail=_264ED300-BC95-4670-BB12-330F02AB0843--


From nobody Mon May  5 14:34: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 A117B1A01C1 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 14:34:29 -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 7rwEa3cAZynm for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 14:34:27 -0700 (PDT)
Received: from mail-yk0-x22b.google.com (mail-yk0-x22b.google.com [IPv6:2607:f8b0:4002:c07::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 7F0DB1A011A for <cfrg@irtf.org>; Mon,  5 May 2014 14:34:27 -0700 (PDT)
Received: by mail-yk0-f171.google.com with SMTP id 142so1971688ykq.30 for <cfrg@irtf.org>; Mon, 05 May 2014 14:34:23 -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=4/1MVOabELp94BentbH0jjPbzChx6C46VEiHWiDHwsM=; b=fW+1EyJBTQjDXVKXRG1fzbtzIUJrjxRNpz0ywmSafoF1Uh2U/3RMUJbAyk9HDGrD/6 qMByd0iuVImZC9K94XXou9fpCJu4kJzVm/kbGHDwvqO2cCViNpOYciJH9se80oy7IfRb Qfox8FmRwQe8OEuM7GP0uHKJSTjBabewvRBOiCC+xapMZAhHsifYMTWtG9/GcbjuSoPS JH656di4N3+tMUbrLrBNhyppOOZbpLT90WZj/sumZtWDwshd+Xb1XAZ2Kxh2mXwBtJdq NzZQB97EAkIFHpjxllVpRcMojEx7XOsNrzu9WzsXftUvatyc92BMcQPEN1Wdn5RCCiav visA==
MIME-Version: 1.0
X-Received: by 10.236.137.8 with SMTP id x8mr50853213yhi.4.1399325663838; Mon, 05 May 2014 14:34:23 -0700 (PDT)
Received: by 10.170.63.197 with HTTP; Mon, 5 May 2014 14:34:23 -0700 (PDT)
In-Reply-To: <72DFBA59-ACEC-4697-B8B4-6739578021C5@shiftleft.org>
References: <810C31990B57ED40B2062BA10D43FBF5C7C169@XMB116CNC.rim.net> <72DFBA59-ACEC-4697-B8B4-6739578021C5@shiftleft.org>
Date: Mon, 5 May 2014 14:34:23 -0700
Message-ID: <CACsn0cnwMyNvG76a0zs+Cpnw-w_DxDCOAybtXkQbKVGkJ0rL7w@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Michael Hamburg <mike@shiftleft.org>
Content-Type: multipart/alternative; boundary=485b397dce331e470d04f8ade508
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Lcl_PHNHPvPqEzgJrVF6qp8ZDH0
Cc: Dan Brown <dbrown@certicom.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] GapDH groups: a long-term research 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: Mon, 05 May 2014 21:34:29 -0000

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

On Mon, May 5, 2014 at 12:52 PM, Michael Hamburg <mike@shiftleft.org> wrote=
:

> Hi Dan,
>
> This is an interesting proposal!  But I can see three major issues, none
> of which is insurmountable:
>
> First, is there there reason to believe that GapDH is actually harder in =
a
> gap group?  Sure, you can actually run a proposed GapDH solver, but that
> seems like a downside as much as an upside, since it breaks CDH.  I suppo=
se
> there is an argument from Bernstein=E2=80=99s =E2=80=9Cspecial curves mig=
ht be better=E2=80=9D
> line, but that would need more evidence.
>
> Second, if the pairing is available to the attacker, then why not make it
> available to the user, i.e. why not make it practical?
>
> Third, is there a way to avoid a large cofactor?
>
> =E2=80=94 Mike
>
>
> On May 5, 2014, at 12:38 PM, Dan Brown <dbrown@certicom.com> wrote:
>
> Dear CFRG List,
>
> What about EC groups with a pairing to an extension field with a degree
> high enough such that the DLP is infeasible in the extension field, but l=
ow
> enough such that pairing is feasible (but not practical)?
>
> An upside is that proofs assuming hard GapDH problem become less
> theoretical, since a DDH oracle becomes available.  E.g. if a 2^128
> adversary can be converted to a 2^129  DH solver by invoking the a 2^64
> cost pairing 2^64 times, then we have a fairly concrete construction.
>
> A downside is that it weakens the DDH, but then we always use a one-way
> PRF/KDF, so DDH attacks cannot be extended to PRF.  (This is the same as
> one argument to ignore Cheon attacks against schemes with static DH keys
> and hashed shared secrets.)
>
> A second downside is the risk of using such a curve, because it is
> special.  Random curves would not be expected to have this property.
>
> A third downside is that this may not be a well-studied idea, except by
> those who often think about the GapDH, and TLS seems to want something so=
on
> (to solve a different problem =E2=80=A6).
>
> I raised this now, because of the argument that CFRG should commit to
> recommending a single curve (per security level), that this recommendatio=
n
> should be long-lasting, and that the same recommendation should be used
> across multiple IETF applications.  To me, this suggests that CFRG should
> recommend a curve as secure as possible.
>
>
Why is this curve more secure? We don't have any idea for solving the CDH
given H(h^a) for attacker controlled a. That's true regardless of whether
or not a genuine DDH oracle exists, or just one for the key.

Sincerely,
Watson Ladd

>
> Best regards,
>
> Daniel Brown
>
> Research In Motion Limited
>
> <image001.jpg>
>
> _______________________________________________
> 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

--485b397dce331e470d04f8ade508
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 Mon, May 5, 2014 at 12:52 PM, Michael Hamburg <span dir=3D"ltr">=
&lt;<a href=3D"mailto:mike@shiftleft.org" target=3D"_blank">mike@shiftleft.=
org</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div style=3D"word-wrap:break-word"><div>Hi =
Dan,</div><div><br></div><div>This is an interesting proposal! =C2=A0But I =
can see three major issues, none of which is insurmountable:</div>
<div><br></div><div>First, is there there reason to believe that GapDH is a=
ctually harder in a gap group? =C2=A0Sure, you can actually run a proposed =
GapDH solver, but that seems like a downside as much as an upside, since it=
 breaks CDH. =C2=A0I suppose there is an argument from Bernstein=E2=80=99s =
=E2=80=9Cspecial curves might be better=E2=80=9D line, but that would need =
more evidence.</div>
<div><br></div><div>Second, if the pairing is available to the attacker, th=
en why not make it available to the user, i.e. why not make it practical?</=
div><div><br></div><div>Third, is there a way to avoid a large cofactor?</d=
iv>
<div><br></div><div>=E2=80=94 Mike</div><div><br></div><br><div><div><div c=
lass=3D"h5"><div>On May 5, 2014, at 12:38 PM, Dan Brown &lt;<a href=3D"mail=
to:dbrown@certicom.com" target=3D"_blank">dbrown@certicom.com</a>&gt; wrote=
:</div><br>
</div></div><blockquote type=3D"cite"><div lang=3D"EN-US" link=3D"blue" vli=
nk=3D"purple" style=3D"font-family:Helvetica;font-size:12px;font-style:norm=
al;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height=
:normal;text-align:start;text-indent:0px;text-transform:none;white-space:no=
rmal;word-spacing:0px">
<div><div><div class=3D"h5"><div style=3D"margin:0in 0in 0.0001pt;font-size=
:11pt;font-family:Calibri,sans-serif"><span lang=3D"EN-CA">Dear CFRG List,<=
u></u><u></u></span></div><div style=3D"margin:0in 0in 0.0001pt;font-size:1=
1pt;font-family:Calibri,sans-serif">
<span lang=3D"EN-CA">=C2=A0</span></div><div style=3D"margin:0in 0in 0.0001=
pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang=3D"EN-CA">What=
 about EC groups with a pairing to an extension field with a degree high en=
ough such that the DLP is infeasible in the extension field, but low enough=
 such that pairing is feasible (but not practical)?<u></u><u></u></span></d=
iv>
<div style=3D"margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sa=
ns-serif"><span lang=3D"EN-CA">=C2=A0</span></div><div style=3D"margin:0in =
0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang=3D"E=
N-CA">An upside is that proofs assuming hard GapDH problem become less theo=
retical, since a DDH oracle becomes available.=C2=A0 E.g. if a 2^128 advers=
ary can be converted to a 2^129 =C2=A0DH solver by invoking the a 2^64 cost=
 pairing 2^64 times, then we have a fairly concrete construction.<u></u><u>=
</u></span></div>
<div style=3D"margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sa=
ns-serif"><span lang=3D"EN-CA">=C2=A0</span></div><div style=3D"margin:0in =
0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang=3D"E=
N-CA">A downside is that it weakens the DDH, but then we always use a one-w=
ay PRF/KDF, so DDH attacks cannot be extended to PRF.=C2=A0 (This is the sa=
me as one argument to ignore Cheon attacks against schemes with static DH k=
eys and hashed shared secrets.)<u></u><u></u></span></div>
<div style=3D"margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sa=
ns-serif"><span lang=3D"EN-CA">=C2=A0</span></div><div style=3D"margin:0in =
0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang=3D"E=
N-CA">A second downside is the risk of using such a curve, because it is sp=
ecial. =C2=A0Random curves would not be expected to have this property.<u><=
/u><u></u></span></div>
<div style=3D"margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sa=
ns-serif"><span lang=3D"EN-CA">=C2=A0</span></div><div style=3D"margin:0in =
0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang=3D"E=
N-CA">A third downside is that this may not be a well-studied idea, except =
by those who often think about the GapDH, and TLS seems to want something s=
oon (to solve a different problem =E2=80=A6).<u></u><u></u></span></div>
<div style=3D"margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sa=
ns-serif"><span lang=3D"EN-CA">=C2=A0</span></div><div style=3D"margin:0in =
0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang=3D"E=
N-CA">I raised this now, because of the argument that CFRG should commit to=
 recommending a single curve (per security level), that this recommendation=
 should be long-lasting, and that the same recommendation should be used ac=
ross multiple IETF applications.=C2=A0 To me, this suggests that CFRG shoul=
d recommend a curve as secure as possible.</span></div>
</div></div></div></div></blockquote></div></div></blockquote><div><br></di=
v><div>Why is this curve more secure? We don&#39;t have any idea for solvin=
g the CDH given H(h^a) for attacker controlled a. That&#39;s true regardles=
s of whether or not a genuine DDH oracle exists, or just one for the key.</=
div>
<div><br></div><div>Sincerely,</div><div>Watson Ladd=C2=A0</div><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex"><div style=3D"word-wrap:break-word"><div><blockquote ty=
pe=3D"cite">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple" style=3D"font-family:Hel=
vetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:nor=
mal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0=
px;text-transform:none;white-space:normal;word-spacing:0px">
<div><div><div class=3D"h5"><div style=3D"margin:0in 0in 0.0001pt;font-size=
:11pt;font-family:Calibri,sans-serif"><span lang=3D"EN-CA"><u></u><u></u></=
span></div><div style=3D"margin:0in 0in 0.0001pt;font-size:11pt;font-family=
:Calibri,sans-serif">
<span lang=3D"EN-CA">=C2=A0</span></div><div style=3D"margin:0in 0in 0.0001=
pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang=3D"EN-CA">Best=
 regards,<u></u><u></u></span></div><div style=3D"margin:0in 0in 0.0001pt;f=
ont-size:11pt;font-family:Calibri,sans-serif">
<span lang=3D"EN-CA">=C2=A0</span></div><table border=3D"0" cellspacing=3D"=
0" cellpadding=3D"0" width=3D"750" style=3D"width:6.25in"><tbody><tr><td st=
yle=3D"padding:0in 0in 3pt"><div style=3D"margin:0in 0in 0.0001pt;font-size=
:11pt;font-family:Calibri,sans-serif;line-height:11.25pt">
<span style=3D"font-size:9pt;font-family:Arial,sans-serif">Daniel Brown<u><=
/u><u></u></span></div></td></tr><tr><td style=3D"padding:0in"><p class=3D"=
MsoNormal" style=3D"margin:3.75pt 0in 0.0001pt;font-size:11pt;font-family:C=
alibri,sans-serif">
<span style=3D"font-size:9pt;font-family:Arial,sans-serif;color:rgb(0,115,1=
88)">Research In Motion Limited</span><span style=3D"font-size:9pt;font-fam=
ily:Arial,sans-serif"><u></u><u></u></span></p></td></tr></tbody></table><p=
 class=3D"MsoNormal" style=3D"margin:0in 0in 0.0001pt;font-size:11pt;font-f=
amily:Calibri,sans-serif">
</p><table border=3D"0" cellspacing=3D"0" cellpadding=3D"0" width=3D"750" s=
tyle=3D"width:6.25in"><tbody><tr><td style=3D"padding:0in"></td></tr></tbod=
y></table><p class=3D"MsoNormal" style=3D"margin:0in 0in 0.0001pt;font-size=
:11pt;font-family:Calibri,sans-serif">
</p></div></div><table border=3D"0" cellspacing=3D"3" cellpadding=3D"0" wid=
th=3D"750" style=3D"width:6.25in"><tbody><tr><td style=3D"padding:9.75pt 0i=
n 0in"><div style=3D"margin:0in 0in 0.0001pt;font-size:11pt;font-family:Cal=
ibri,sans-serif">
<span style=3D"font-size:12pt;font-family:&#39;Times New Roman&#39;,serif">=
&lt;image001.jpg&gt;</span><span style=3D"font-size:12pt;font-family:&#39;T=
imes New Roman&#39;,serif"><u></u><u></u></span></div></td></tr><tr><td wid=
th=3D"750" style=3D"width:6.25in;padding:9.75pt 0in 0in">
</td></tr></tbody></table><div style=3D"margin:0in 0in 0.0001pt;font-size:1=
1pt;font-family:Calibri,sans-serif"><span lang=3D"EN-CA">=C2=A0</span></div=
></div>_______________________________________________<br>Cfrg mailing list=
<br><a href=3D"mailto:Cfrg@irtf.org" style=3D"color:purple;text-decoration:=
underline" target=3D"_blank">Cfrg@irtf.org</a><br>
<a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" style=3D"color:purple=
;text-decoration:underline" target=3D"_blank">http://www.irtf.org/mailman/l=
istinfo/cfrg</a></div></blockquote></div><br></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><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>

--485b397dce331e470d04f8ade508--


From nobody Mon May  5 14:35:05 2014
Return-Path: <prvs=0202bc1c94=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 8AB431A0491 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 14:35:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.849
X-Spam-Level: 
X-Spam-Status: No, score=-4.849 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651, 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 cZ0gAI5rhsay for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 14:35:00 -0700 (PDT)
Received: from mx2.ll.mit.edu (MX2.LL.MIT.EDU [129.55.12.46]) by ietfa.amsl.com (Postfix) with ESMTP id 9BBEE1A011A for <cfrg@irtf.org>; Mon,  5 May 2014 14:34:59 -0700 (PDT)
Received: from LLE2K10-HUB01.mitll.ad.local (LLE2K10-HUB01.mitll.ad.local) by mx2.ll.mit.edu (unknown) with ESMTP id s45LYtKF019956; Mon, 5 May 2014 17:34:55 -0400
Content-Type: multipart/alternative; boundary="Apple-Mail=_0C14844B-C16C-493F-9A20-026FC6EC5940"
MIME-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: "Blumenthal, Uri - 0668 - MITLL" <uri@ll.mit.edu>
In-Reply-To: <B8586319-F1E6-4CA6-B70E-4D6153DC19A5@shiftleft.org>
Date: Mon, 5 May 2014 17:34:53 -0400
Message-ID: <10B251F2-C589-4AFD-BAD8-9AA1B11E68E6@ll.mit.edu>
References: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov> <E98B42D5-610C-4532-B765-5819A35A456C@shiftleft.org> <3C4AAD4B5304AB44A6BA85173B4675CABAA404E9@MSMR-GH1-UEA03.corp.nsa.gov> <B8586319-F1E6-4CA6-B70E-4D6153DC19A5@shiftleft.org>
To: Michael Hamburg <mike@shiftleft.org>
X-Mailer: Apple Mail (2.1510)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.96, 1.0.14,  0.0.0000 definitions=2014-05-05_04:2014-05-05,2014-05-05,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-1405050341
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/fnrVIB3AiVwosJdZpzmoA6wRhVI
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Task looming over the CFRG
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 05 May 2014 21:35:03 -0000

--Apple-Mail=_0C14844B-C16C-493F-9A20-026FC6EC5940
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="windows-1252"

IMHO, the logic/reason of matching security levels of the cryptographic =
algorithms employed in a protocol suite is fairly obvious and does not =
need an explicit justification. There might be a reason to have the =
key-protecting/key-wrapping algorithm a bit (no pun intended! :) =
stronger than the one that uses that key. I can't think of a reason to =
protect a key with a weaker algorithm than the key-using one.=20

You observed that strength-matching was not done with RSA (considering =
the key sizes involved, and where those keys may need to be stored and =
processed, one possible reason for that mismatch pops up automatically =
:).

More surprisingly, matching was not done with ECC either. We don't have =
an explanation for this design choice. Copying designs we don't =
understand (or do we?) does not sound like a good recipe.

Let me ask you: could you explain why you want to mix algorithms of =
different cryptographic strength? What benefit do you derive from =
including a stronger algorithm in a chain made of weaker algorithms? How =
big would your performance gain be?
--
Regards,
Uri               <uri@ll.mit.edu>


On May 5, 2014, at 16:55 , Michael Hamburg <mike@shiftleft.org>
 wrote:

> Kevin,
>=20
> Sorry to be ambiguous: the curve I designed has a 448-bit field and a =
446-bit prime-order subgroup, so a parallel rho attack should cost just =
under 2^223 point operations on average.  So it sits between the 192 and =
256-bit security levels.
>=20
> I=92m not particularly invested in getting this curve into TLS, but =
I=92d like to know whether there=92s a point in submitting it for this =
purpose, or if it will be rejected for having the =93wrong security =
level".
>=20
> Matching the nominal security level of the asymmetric part to that of =
the symmetric part sounds obvious on its face, but in fact it is not =
usually done above the 128-bit level.  For example, Suite B doesn=92t =
specify a direct matching of nominal security levels: it specifies =
AES-256 with SHA-384 and ECDSA-NIST-p384 for TOP SECRET communications.  =
Likewise, almost nobody pairs AES-256 with the matching RSA-15k, and =
even AES-128 is usually paired with the nominally weaker RSA-2048.
>=20
> This actually makes sense.  Nobody is going to do a 128-bit exhaust =
for many decades.  Not Google, not the NSA, not the KGB, nobody.  With =
today=92s most efficient supercomputers, the heat output from 2^128 =
operations would be far more than enough to boil the oceans dry [1].  So =
we=92re talking about defenses against sub-128-bit attacks, and defense =
in depth against hypothetical advances in cryptography, and quantum =
resistance for primitives that can resist at all.  Stronger curves, =
ciphers and hashes will stand or fall on their own, not all together as =
computer power surpasses their nominal security level.
>=20
> Also, nobody uses AES-192.
>=20
> So I don=92t think it=92s obvious that matching the AES security =
levels is a requirement.  If the RG thinks it is, or if there=92s some =
obscure legal requirement that the levels match, then fine.  Just =
describe why.
>=20
> Cheers,
> =97 Mike
>=20
> [1] Lenstra, Kleinjung, Thom=E9.  =93Universal security: from bits and =
mips to pools, lakes =97 and beyond=94.  =
https://eprint.iacr.org/2013/635.pdf
>=20
> On May 5, 2014, at 12:49 PM, Igoe, Kevin M. <kmigoe@nsa.gov> wrote:
>=20
>> Mike:
>> =20
>>   Being off by a few bits isn=92t a show stopper. but 32-bits is =
probably too
>> much.  The security levels echo the AES security levels of AES-128, =
AES-192
>> and AES-256.  Using a 224 bit curve with AES-128 only provides =
roughly 112-bits
>> of security versus the 128 bits ostensibly provided by AES-128.  I =
just want to ensure
>> that a user who thinks they are getting 128 bits of security gets 128 =
bits of=20
>> security.
>> =20
>>                               Kevin
>> =20
>> From: Michael Hamburg [mailto:mike@shiftleft.org]=20
>> Sent: Monday, May 05, 2014 2:25 PM
>> To: Igoe, Kevin M.
>> Cc: cfrg@irtf.org
>> Subject: Re: [Cfrg] Task looming over the CFRG
>> =20
>> Hi Kevin,
>> =20
>> As the designer of an ECC system which is aimed at 224-ish-bit =
security, I=92m curious: is it a firm requirement that the curves be set =
at 128, 192 and 256 bits?  Or was there consensus in the meeting that =
the curves should be set at these security levels?  Patrick Longa aimed =
his talk at these security levels, but I don=92t recall this being =
stated as a requirement.
>> =20
>> Cheers,
>> =97 Mike
>> =20
>> =20
>> On May 5, 2014, at 10:58 AM, Igoe, Kevin M. <kmigoe@nsa.gov> wrote:
>>=20
>>=20
>> As most the folks who read this list have noticed, a virtual interim =
meeting of the CFRG
>> was held on Tues 29 April to discuss the way forward for elliptic =
curve cryptography
>> in the IETF.  This was driven by an earnest plea from the TLS WG for =
firm guidance from=20
>> the CGRG on the selection of elliptic curves for use in TLS.  They =
need an answer before=20
>> the Toronto IETF meeting in late July.  TLS needs curves for several =
levels of security (128,=20
>> 192 and 256), suitable for use in both key agreement and in digital =
signatures.
>> =20
>> =B7         The consensus of the attendees was that it would be best =
for TLS to have a single
>> =93mandatory to implement=94 curve for each of the three security =
levels.
>> =20
>> =B7         Though the attendees were reluctant to make a formal =
commitment, there
>> was clearly a great deal of support for the Montgomery curve =
curve25519 (FYI, the=20
>> 25519 refers to the fact that arithmetic is done modulo the prime =
2**255 =96 19 ).
>> =20
>> =B7         curve25519 only fills one of the three required security =
levels.  We still need
>> curves of size near 384 bits and 512 bits.
>> =20
>> =B7         NIST curves: I doubt TLS will be willing to revisit the =
question of elliptic curves once the=20
>> CFRG has made their recommendation.  Another option to consider is =
advising TLS to
>> use of the NIST curves in the short term, buying time for the CFRG to =
do an unrushed=20
>> exploration of the alternatives, drawing academia and other standards =
bodies into the=20
>> discussion.
>> =20
>> P.S.  It has been suggested that the CFRG hold a session at the =
Crypto conference in
>> Santa Barbara in an effort to draw in more participation from the =
academic community.
>> No guarantees we can pull this off, but it is worth the attempt. =
Thoughts? Volunteers?
>> =20
>> P.P.S. We need to start lining up speakers for the CFRG session at =
IETF-90 (Toronto).
>> =20
>> =20
>> ----------------+--------------------------------------------------
>> Kevin M. Igoe   | "We can't solve problems by using the same kind
>> kmigoe@nsa.gov  | of thinking we used when we created them."
>>                 |              - Albert Einstein -
>> ----------------+--------------------------------------------------
>> =20
>> =20
>> =20
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> http://www.irtf.org/mailman/listinfo/cfrg
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


--Apple-Mail=_0C14844B-C16C-493F-9A20-026FC6EC5940
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; ">IMHO, =
the logic/reason of matching security levels of the cryptographic =
algorithms employed in a protocol suite is fairly obvious and does not =
need an explicit justification. There might be a reason to have the =
key-protecting/key-wrapping algorithm a bit (no pun intended! :) =
stronger than the one that uses that key. I can't think of a reason to =
protect a key with a weaker algorithm than the key-using =
one.&nbsp;<div><br></div><div>You observed that strength-matching was =
not done with RSA (considering the key sizes involved, and where those =
keys may need to be stored and processed, one possible reason for that =
mismatch pops up automatically :).</div><div><br></div><div>More =
surprisingly, matching was not done with ECC either. We don't have an =
explanation for this design choice. Copying designs we don't understand =
(or do we?) does not sound like a good recipe.<div><br></div><div>Let me =
ask you: could you explain why you want to mix algorithms of different =
cryptographic strength? What benefit do you derive from including a =
stronger algorithm in a chain made of weaker algorithms? How big would =
your performance gain be?</div><div><div apple-content-edited=3D"true">
<div>--</div><div>Regards,</div><div>Uri &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &lt;<a =
href=3D"mailto:uri@ll.mit.edu">uri@ll.mit.edu</a>&gt;</div><div><br></div>=
</div>
<br><div><div>On May 5, 2014, at 16:55 , Michael Hamburg &lt;<a =
href=3D"mailto:mike@shiftleft.org">mike@shiftleft.org</a>&gt;</div><div>&n=
bsp;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>Kevin,</div><div><br></div><div>Sorry to be =
ambiguous: the curve I designed has a 448-bit field and a 446-bit =
prime-order subgroup, so a parallel rho attack should cost just under =
2^223 point operations on average. &nbsp;So it sits between the 192 and =
256-bit security levels.</div><div><br></div><div>I=92m not particularly =
invested in getting this curve into TLS, but I=92d like to know whether =
there=92s a point in submitting it for this purpose, or if it will be =
rejected for having the =93wrong security =
level".</div><div><br></div><div>Matching the nominal security level of =
the asymmetric part to that of the symmetric part sounds obvious on its =
face, but in fact it is not usually done above the 128-bit level. =
&nbsp;For example, Suite B doesn=92t specify a direct matching of =
nominal security levels: it specifies AES-256 with SHA-384 and =
ECDSA-NIST-p384 for TOP SECRET communications. &nbsp;Likewise, almost =
nobody pairs AES-256 with the matching RSA-15k, and even AES-128 is =
usually paired with the nominally weaker =
RSA-2048.</div><div><br></div><div>This actually makes sense. =
&nbsp;Nobody is going to do a 128-bit exhaust for many decades. =
&nbsp;Not Google, not the NSA, not the KGB, nobody. &nbsp;With today=92s =
most efficient supercomputers, the heat output from 2^128 operations =
would be far more than enough to boil the oceans dry [1]. &nbsp;So we=92re=
 talking about defenses against sub-128-bit attacks, and defense in =
depth against hypothetical advances in cryptography, and quantum =
resistance for primitives that can resist at all. &nbsp;Stronger curves, =
ciphers and hashes will stand or fall on their own, not all together as =
computer power surpasses their nominal security =
level.</div><div><br></div><div>Also, nobody uses =
AES-192.</div><div><br></div><div>So I don=92t think it=92s obvious that =
matching the AES security levels is a requirement. &nbsp;If the RG =
thinks it is, or if there=92s some obscure legal requirement that the =
levels match, then fine. &nbsp;Just describe =
why.</div><div><br></div><div>Cheers,</div><div>=97 =
Mike</div><div><br></div><div>[1] Lenstra, Kleinjung, Thom=E9. =
&nbsp;=93Universal security: from bits and mips to pools, lakes =97 and =
beyond=94. &nbsp;<a =
href=3D"https://eprint.iacr.org/2013/635.pdf">https://eprint.iacr.org/2013=
/635.pdf</a></div><br><div><div>On May 5, 2014, at 12:49 PM, Igoe, Kevin =
M. &lt;<a href=3D"mailto:kmigoe@nsa.gov">kmigoe@nsa.gov</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div lang=3D"EN-US" link=3D"blue" vlink=3D"purple" =
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 class=3D"WordSection1" =
style=3D"page: WordSection1;"><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">Mike:<o:p></o:p></span></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp; Being off by a few =
bits isn=92t a show stopper. but 32-bits is probably =
too<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">much.&nbsp; The security levels echo the AES security =
levels of AES-128, AES-192<br>and AES-256.&nbsp; Using a 224 bit curve =
with AES-128 only provides roughly 112-bits<o:p></o:p></span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(31, 73, 125);">of security versus the =
128 bits ostensibly provided by AES-128.&nbsp; I just want to =
ensure<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">that a user who thinks they are getting 128 bits of =
security gets 128 bits of<span =
class=3D"Apple-converted-space">&nbsp;</span><br>security.<o:p></o:p></spa=
n></div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; =
font-family: 'Times New Roman', serif;"><span style=3D"font-size: 11pt; =
font-family: Calibri, sans-serif; color: rgb(31, 73, =
125);">&nbsp;</span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, =
125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Kevin<o:p></o:p></span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div =
style=3D"border-style: none none none solid; border-left-color: blue; =
border-left-width: 1.5pt; padding: 0in 0in 0in 4pt;"><div><div =
style=3D"border-style: solid none none; border-top-color: rgb(181, 196, =
223); border-top-width: 1pt; padding: 3pt 0in 0in;"><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><b><span style=3D"font-size: 10pt; font-family: Tahoma, =
sans-serif;">From:</span></b><span style=3D"font-size: 10pt; =
font-family: Tahoma, sans-serif;"><span =
class=3D"Apple-converted-space">&nbsp;</span>Michael Hamburg [<a =
href=3D"mailto:mike@shiftleft.org">mailto:mike@shiftleft.org</a>]<span =
class=3D"Apple-converted-space">&nbsp;</span><br><b>Sent:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Monday, May 05, 2014 2:25 =
PM<br><b>To:</b><span class=3D"Apple-converted-space">&nbsp;</span>Igoe, =
Kevin M.<br><b>Cc:</b><span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a><br><b>Subject:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Re: [Cfrg] Task looming =
over the CFRG<o:p></o:p></span></div></div></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Hi =
Kevin,<o:p></o:p></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">As =
the designer of an ECC system which is aimed at 224-ish-bit security, =
I=92m curious: is it a firm requirement that the curves be set at 128, =
192 and 256 bits? &nbsp;Or was there consensus in the meeting that the =
curves should be set at these security levels? &nbsp;Patrick Longa aimed =
his talk at these security levels, but I don=92t recall this being =
stated as a requirement.<o:p></o:p></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;">Cheers,<o:p></o:p></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">=97 =
Mike<o:p></o:p></div></div><div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div></div><div><div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;">On May 5, 2014, at 10:58 AM, Igoe, Kevin M. &lt;<a =
href=3D"mailto:kmigoe@nsa.gov" style=3D"color: purple; text-decoration: =
underline;">kmigoe@nsa.gov</a>&gt; wrote:<o:p></o:p></div></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><br><br><o:p></o:p></div><div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">As most the folks who read this list have noticed, =
a virtual interim meeting of the =
CFRG<o:p></o:p></span></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif;">was held on =
Tues 29 April to discuss the way forward for elliptic curve =
cryptography<o:p></o:p></span></div></div><div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">in the IETF.&nbsp;<span =
class=3D"apple-converted-space">&nbsp;</span><b><i>This<span =
class=3D"apple-converted-space">&nbsp;</span>was<span =
class=3D"apple-converted-space">&nbsp;</span>driven by an earnest plea =
from the TLS WG for firm<span =
class=3D"apple-converted-space">&nbsp;</span>guidance<span =
class=3D"apple-converted-space">&nbsp;</span>from<span =
class=3D"apple-converted-space">&nbsp;</span><br>the CGRG<span =
class=3D"apple-converted-space">&nbsp;</span>on the selection of =
elliptic curves<span class=3D"apple-converted-space">&nbsp;</span>for =
use in TLS.&nbsp; They need an answer<span =
class=3D"apple-converted-space">&nbsp;</span>before<span =
class=3D"apple-converted-space">&nbsp;</span><br>the<span =
class=3D"apple-converted-space">&nbsp;</span>Toronto<span =
class=3D"apple-converted-space">&nbsp;</span>IETF meeting in<span =
class=3D"apple-converted-space">&nbsp;</span>late July</i></b>.&nbsp; =
TLS needs curves for several<span =
class=3D"apple-converted-space"><b><i>&nbsp;</i></b></span>levels of =
security (128,<span class=3D"apple-converted-space">&nbsp;</span><br>192 =
and 256), suitable for use in both key agreement and<span =
class=3D"apple-converted-space"><b><i>&nbsp;</i></b></span>in digital =
signatures.<o:p></o:p></span></div></div><div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in;"><span style=3D"font-size: 10pt; =
font-family: Symbol;"><span>=B7<span style=3D"font-style: normal; =
font-variant: normal; font-weight: normal; font-size: 7pt; line-height: =
normal; font-family: '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-size: 11pt; font-family: Calibri, sans-serif;">The =
consensus of the attendees was that it would be best for TLS to have a =
single<br>=93mandatory to implement=94 curve for each of the three =
security levels.<o:p></o:p></span></div><div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in;"><span style=3D"font-size: 10pt; =
font-family: Symbol;"><span>=B7<span style=3D"font-style: normal; =
font-variant: normal; font-weight: normal; font-size: 7pt; line-height: =
normal; font-family: '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-size: 11pt; font-family: Calibri, sans-serif;">Though the =
attendees were reluctant to make a formal commitment, there<br>was =
clearly a great deal of support for the Montgomery curve curve25519 =
(FYI, the<span class=3D"apple-converted-space">&nbsp;</span><br>25519 =
refers to the fact that arithmetic is done modulo the prime 2**255 =96 =
19 ).<o:p></o:p></span></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in;"><span style=3D"font-size: 10pt; =
font-family: Symbol;"><span>=B7<span style=3D"font-style: normal; =
font-variant: normal; font-weight: normal; font-size: 7pt; line-height: =
normal; font-family: '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-size: 11pt; font-family: Calibri, sans-serif;">curve25519 =
only fills one of the three required security levels.&nbsp; We still =
need<br>curves of size near 384 bits and 512 =
bits.<o:p></o:p></span></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in;"><span style=3D"font-size: 10pt; =
font-family: Symbol;"><span>=B7<span style=3D"font-style: normal; =
font-variant: normal; font-weight: normal; font-size: 7pt; line-height: =
normal; font-family: '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-size: 11pt; font-family: Calibri, sans-serif;">NIST =
curves: I doubt TLS will be willing to revisit the question of elliptic =
curves once the<span class=3D"apple-converted-space">&nbsp;</span><br>CFRG=
 has made their recommendation.&nbsp; Another option to consider is =
advising TLS to<br>use of the NIST curves in the short term, buying time =
for the CFRG to do an unrushed<span =
class=3D"apple-converted-space">&nbsp;</span><br>exploration of the =
alternatives, drawing academia and other standards bodies into the<span =
class=3D"apple-converted-space">&nbsp;</span><br>discussion.<o:p></o:p></s=
pan></div><div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; =
font-family: 'Times New Roman', serif;"><span style=3D"font-size: 11pt; =
font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">P.S.&nbsp; It has been suggested that the CFRG =
hold a session at the Crypto conference =
in<o:p></o:p></span></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif;">Santa =
Barbara in an effort to draw in more participation from the academic =
community.<o:p></o:p></span></div></div><div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">No guarantees we can pull this off, but it is worth the =
attempt. Thoughts? Volunteers?<o:p></o:p></span></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">&nbsp;<o:p></o:p></span></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">P.P.S. We need to start lining up speakers for the =
CFRG session at IETF-90 =
(Toronto).<o:p></o:p></span></div></div><div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(51, 51, 51);">&nbsp;</span><span =
style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p></o:p></span></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: rgb(51, 51, =
51);">----------------+--------------------------------------------------<=
/span><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p></o:p></span></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: rgb(51, 51, 51);">Kevin M. Igoe&nbsp;&nbsp; | "We can't solve =
problems by using the same kind</span><span style=3D"font-size: 11pt; =
font-family: Calibri, =
sans-serif;"><o:p></o:p></span></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: rgb(51, 51, 51);"><a href=3D"mailto:kmigoe@nsa.gov" style=3D"color:=
 purple; text-decoration: underline;">kmigoe@nsa.gov</a>&nbsp; | of =
thinking we used when we created them."</span><span style=3D"font-size: =
11pt; font-family: Calibri, =
sans-serif;"><o:p></o:p></span></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: rgb(51, 51, =
51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; - Albert Einstein -</span><span style=3D"font-size: 11pt; =
font-family: Calibri, =
sans-serif;"><o:p></o:p></span></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: rgb(51, 51, =
51);">----------------+--------------------------------------------------<=
/span><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p></o:p></span></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">&nbsp;<o:p></o:p></span></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">&nbsp;<o:p></o:p></span></div></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 9pt; font-family: =
Helvetica, =
sans-serif;">_______________________________________________<br>Cfrg =
mailing list<br><a href=3D"mailto:Cfrg@irtf.org" style=3D"color: purple; =
text-decoration: underline;">Cfrg@irtf.org</a><br><a =
href=3D"http://www.irtf.org/mailman/listinfo/cfrg" style=3D"color: =
purple; text-decoration: =
underline;">http://www.irtf.org/mailman/listinfo/cfrg</a></span></div></di=
v></div></div></div></div></blockquote></div><br></div>___________________=
____________________________<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></div></body></html>=

--Apple-Mail=_0C14844B-C16C-493F-9A20-026FC6EC5940--


From nobody Mon May  5 16:10:28 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 027251A03F9 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 16:10:26 -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 0K3iJbN4Rkw0 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 16:10:23 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) by ietfa.amsl.com (Postfix) with ESMTP id 012E91A03EF for <cfrg@irtf.org>; Mon,  5 May 2014 16:10:22 -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 ECCF93AA3F; Mon,  5 May 2014 16:08:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1399331288; bh=Knc+kfkWFaovSTiX2SNAoVZ5vYQUGNqXSqe1v3bq2Uw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=OkqnttD734kU66YREKW5zf0cRyqiO6eAWVSaED4Oupu/d328fk6RDD2C7aC7WCt1N Vjn6c/nEbbDDdq1ihUukUbwQd3sZrYsqVr93guJvlOaJWIZhArGmClkvKBinX0wzl7 HazO819Fv4wYOeens0wfXEcgkmG++IglaAIqz04w=
Content-Type: multipart/alternative; boundary="Apple-Mail=_3C5FF19B-209F-4F5B-832F-2B9F2B720911"
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <10B251F2-C589-4AFD-BAD8-9AA1B11E68E6@ll.mit.edu>
Date: Mon, 5 May 2014 16:10:16 -0700
Message-Id: <85E8DDF9-2AF6-4CD3-91D6-7FDDC5DD526E@shiftleft.org>
References: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov> <E98B42D5-610C-4532-B765-5819A35A456C@shiftleft.org> <3C4AAD4B5304AB44A6BA85173B4675CABAA404E9@MSMR-GH1-UEA03.corp.nsa.gov> <B8586319-F1E6-4CA6-B70E-4D6153DC19A5@shiftleft.org> <10B251F2-C589-4AFD-BAD8-9AA1B11E68E6@ll.mit.edu>
To: "Blumenthal, Uri - 0668 - MITLL" <uri@ll.mit.edu>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/HdljbfpdY67FCZsYKRCXyvBnRWk
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Task looming over the CFRG
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 05 May 2014 23:10:26 -0000

--Apple-Mail=_3C5FF19B-209F-4F5B-832F-2B9F2B720911
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Hi Uri,

Security levels aren=92t comparable across primitives.  They technically =
represent resistance to brute force, but brute force past about 128 bits =
will not be possible in the foreseeable future.  So instead they =
represent design conservatism, including features like resistance =
against quantum attacks (obtainable for AES but not for ECC) or =
resistance to mathematical breakthroughs.

You should match security at lower levels because a chain isn=92t =
stronger than its weakest link.  But the weakest link in a =
stronger-than-brute-force system is the one which falls to a math =
breakthrough, not the one with the fewest bits of security.  Extra bits =
in the security rating are just extra chances that the breakthrough =
won=92t be big enough.  Since the threats against each system are =
different, and the math techniques they use are different, each system =
will stand or fall separately.  Instead of just matching security =
levels, the optimum will be about performance budgeting.

This is why people don=92t use AES-192.  Some engineers are designing =
for performance- or memory-sensitive applications, or don=92t like =
overengineering, and they pick AES-128.  Others would rather be more =
conservative, and they pay the extra 40% to go to AES-256.  The halfway =
solution of AES-192 isn=92t used, because it isn=92t the optimum for =
anyone=92s performance budget.

So it makes sense that people commonly use AES-256 and sometimes use =
p384, but rarely p521 and never AES-192.  Going from AES-192 to AES-256 =
costs 20% on a function which is hardware-accelerated and probably not =
the bottleneck anyway.  Going from p384 to p521 doubles an already =
expensive computation (and maybe also gets you sued for patent =
infringement, but hopefully we can avoid that this time around).

If you want an argument for my specific curve, it=92s designed around =
what I suspect is an inflection point in the security/cost graph =97 =
near 448 bits on 32-bit platforms, and 480 bits on 64-bit platfoms.  So =
Longa et al=92s ed-382-mers (their fastest 384-ish-bit curve) costs =
590kcy for ECDH on Sandy Bridge.  My curve (Ed448-Goldilocks) costs =
674kcy =97 14% slower than ed-382-mers, and it includes point =
compression.  Longa et al=92s ed-511-mers costs 1372Mcy =97 132% slower =
than ed-382-mers.  A hypothetical Ed480-Goldeneye built on the same =
principles might cost 730kcy, but I think it would be worse on ARM.

Anyway, an engineer balancing performance and security might consider =
the 14% cost hit worthwhile to go from 382 bits to 448 bits (plus point =
compression), but might not want to pay the 132% cost hit to go all the =
way to 511 bits.  So perhaps just one curve is enough, particularly if =
that curve is 448 bits.

Anyway, this argument might not be convincing, but I hope it at least =
sounds reasonable and worth further discussion.

Cheers,
=97 Mike

On May 5, 2014, at 2:34 PM, Blumenthal, Uri - 0668 - MITLL =
<uri@ll.mit.edu> wrote:

> IMHO, the logic/reason of matching security levels of the =
cryptographic algorithms employed in a protocol suite is fairly obvious =
and does not need an explicit justification. There might be a reason to =
have the key-protecting/key-wrapping algorithm a bit (no pun intended! =
:) stronger than the one that uses that key. I can't think of a reason =
to protect a key with a weaker algorithm than the key-using one.=20
>=20
> You observed that strength-matching was not done with RSA (considering =
the key sizes involved, and where those keys may need to be stored and =
processed, one possible reason for that mismatch pops up automatically =
:).
>=20
> More surprisingly, matching was not done with ECC either. We don't =
have an explanation for this design choice. Copying designs we don't =
understand (or do we?) does not sound like a good recipe.
>=20
> Let me ask you: could you explain why you want to mix algorithms of =
different cryptographic strength? What benefit do you derive from =
including a stronger algorithm in a chain made of weaker algorithms? How =
big would your performance gain be?
> --
> Regards,
> Uri               <uri@ll.mit.edu>
>=20
>=20
> On May 5, 2014, at 16:55 , Michael Hamburg <mike@shiftleft.org>
>  wrote:
>=20
>> Kevin,
>>=20
>> Sorry to be ambiguous: the curve I designed has a 448-bit field and a =
446-bit prime-order subgroup, so a parallel rho attack should cost just =
under 2^223 point operations on average.  So it sits between the 192 and =
256-bit security levels.
>>=20
>> I=92m not particularly invested in getting this curve into TLS, but =
I=92d like to know whether there=92s a point in submitting it for this =
purpose, or if it will be rejected for having the =93wrong security =
level".
>>=20
>> Matching the nominal security level of the asymmetric part to that of =
the symmetric part sounds obvious on its face, but in fact it is not =
usually done above the 128-bit level.  For example, Suite B doesn=92t =
specify a direct matching of nominal security levels: it specifies =
AES-256 with SHA-384 and ECDSA-NIST-p384 for TOP SECRET communications.  =
Likewise, almost nobody pairs AES-256 with the matching RSA-15k, and =
even AES-128 is usually paired with the nominally weaker RSA-2048.
>>=20
>> This actually makes sense.  Nobody is going to do a 128-bit exhaust =
for many decades.  Not Google, not the NSA, not the KGB, nobody.  With =
today=92s most efficient supercomputers, the heat output from 2^128 =
operations would be far more than enough to boil the oceans dry [1].  So =
we=92re talking about defenses against sub-128-bit attacks, and defense =
in depth against hypothetical advances in cryptography, and quantum =
resistance for primitives that can resist at all.  Stronger curves, =
ciphers and hashes will stand or fall on their own, not all together as =
computer power surpasses their nominal security level.
>>=20
>> Also, nobody uses AES-192.
>>=20
>> So I don=92t think it=92s obvious that matching the AES security =
levels is a requirement.  If the RG thinks it is, or if there=92s some =
obscure legal requirement that the levels match, then fine.  Just =
describe why.
>>=20
>> Cheers,
>> =97 Mike
>>=20
>> [1] Lenstra, Kleinjung, Thom=E9.  =93Universal security: from bits =
and mips to pools, lakes =97 and beyond=94.  =
https://eprint.iacr.org/2013/635.pdf
>>=20
>> On May 5, 2014, at 12:49 PM, Igoe, Kevin M. <kmigoe@nsa.gov> wrote:
>>=20
>>> Mike:
>>> =20
>>>   Being off by a few bits isn=92t a show stopper. but 32-bits is =
probably too
>>> much.  The security levels echo the AES security levels of AES-128, =
AES-192
>>> and AES-256.  Using a 224 bit curve with AES-128 only provides =
roughly 112-bits
>>> of security versus the 128 bits ostensibly provided by AES-128.  I =
just want to ensure
>>> that a user who thinks they are getting 128 bits of security gets =
128 bits of=20
>>> security.
>>> =20
>>>                               Kevin
>>> =20
>>> From: Michael Hamburg [mailto:mike@shiftleft.org]=20
>>> Sent: Monday, May 05, 2014 2:25 PM
>>> To: Igoe, Kevin M.
>>> Cc: cfrg@irtf.org
>>> Subject: Re: [Cfrg] Task looming over the CFRG
>>> =20
>>> Hi Kevin,
>>> =20
>>> As the designer of an ECC system which is aimed at 224-ish-bit =
security, I=92m curious: is it a firm requirement that the curves be set =
at 128, 192 and 256 bits?  Or was there consensus in the meeting that =
the curves should be set at these security levels?  Patrick Longa aimed =
his talk at these security levels, but I don=92t recall this being =
stated as a requirement.
>>> =20
>>> Cheers,
>>> =97 Mike
>>> =20
>>> =20
>>> On May 5, 2014, at 10:58 AM, Igoe, Kevin M. <kmigoe@nsa.gov> wrote:
>>>=20
>>>=20
>>> As most the folks who read this list have noticed, a virtual interim =
meeting of the CFRG
>>> was held on Tues 29 April to discuss the way forward for elliptic =
curve cryptography
>>> in the IETF.  This was driven by an earnest plea from the TLS WG for =
firm guidance from=20
>>> the CGRG on the selection of elliptic curves for use in TLS.  They =
need an answer before=20
>>> the Toronto IETF meeting in late July.  TLS needs curves for several =
levels of security (128,=20
>>> 192 and 256), suitable for use in both key agreement and in digital =
signatures.
>>> =20
>>> =B7         The consensus of the attendees was that it would be best =
for TLS to have a single
>>> =93mandatory to implement=94 curve for each of the three security =
levels.
>>> =20
>>> =B7         Though the attendees were reluctant to make a formal =
commitment, there
>>> was clearly a great deal of support for the Montgomery curve =
curve25519 (FYI, the=20
>>> 25519 refers to the fact that arithmetic is done modulo the prime =
2**255 =96 19 ).
>>> =20
>>> =B7         curve25519 only fills one of the three required security =
levels.  We still need
>>> curves of size near 384 bits and 512 bits.
>>> =20
>>> =B7         NIST curves: I doubt TLS will be willing to revisit the =
question of elliptic curves once the=20
>>> CFRG has made their recommendation.  Another option to consider is =
advising TLS to
>>> use of the NIST curves in the short term, buying time for the CFRG =
to do an unrushed=20
>>> exploration of the alternatives, drawing academia and other =
standards bodies into the=20
>>> discussion.
>>> =20
>>> P.S.  It has been suggested that the CFRG hold a session at the =
Crypto conference in
>>> Santa Barbara in an effort to draw in more participation from the =
academic community.
>>> No guarantees we can pull this off, but it is worth the attempt. =
Thoughts? Volunteers?
>>> =20
>>> P.P.S. We need to start lining up speakers for the CFRG session at =
IETF-90 (Toronto).
>>> =20
>>> =20
>>> ----------------+--------------------------------------------------
>>> Kevin M. Igoe   | "We can't solve problems by using the same kind
>>> kmigoe@nsa.gov  | of thinking we used when we created them."
>>>                 |              - Albert Einstein -
>>> ----------------+--------------------------------------------------
>>> =20
>>> =20
>>> =20
>>> _______________________________________________
>>> Cfrg mailing list
>>> Cfrg@irtf.org
>>> http://www.irtf.org/mailman/listinfo/cfrg
>>=20
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> http://www.irtf.org/mailman/listinfo/cfrg
>=20


--Apple-Mail=_3C5FF19B-209F-4F5B-832F-2B9F2B720911
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 Uri,</div><div><br></div><div>Security =
levels aren=92t comparable across primitives. &nbsp;They technically =
represent resistance to brute force, but brute force past about 128 bits =
will not be possible in the foreseeable future. &nbsp;So instead they =
represent design conservatism, including features like resistance =
against quantum attacks (obtainable for AES but not for ECC) or =
resistance to mathematical breakthroughs.</div><div><br></div><div>You =
should match security at lower levels because a chain isn=92t stronger =
than its weakest link. &nbsp;But the weakest link in a =
stronger-than-brute-force system is the one which falls to a math =
breakthrough, not the one with the fewest bits of security. &nbsp;Extra =
bits in the security rating are just extra chances that the breakthrough =
won=92t be big enough. &nbsp;Since the threats against each system are =
different, and the math techniques they use are different, each system =
will stand or fall separately. &nbsp;Instead of just matching security =
levels, the optimum will be about performance =
budgeting.</div><div><br></div><div>This is why people don=92t use =
AES-192. &nbsp;Some engineers are designing for performance- or =
memory-sensitive applications, or don=92t like overengineering, and they =
pick AES-128. &nbsp;Others would rather be more conservative, and they =
pay the extra 40% to go to AES-256. &nbsp;The halfway solution of =
AES-192 isn=92t used, because it isn=92t the optimum for anyone=92s =
performance budget.</div><div><br></div><div>So it makes sense that =
people commonly use AES-256 and sometimes use p384, but rarely p521 and =
never AES-192. &nbsp;Going from AES-192 to AES-256 costs 20% on a =
function which is hardware-accelerated and probably not the bottleneck =
anyway. &nbsp;Going from p384 to p521 doubles an already expensive =
computation (and maybe also gets you sued for patent infringement, but =
hopefully we can avoid that this time =
around).</div><div><br></div><div>If you want an argument for my =
specific curve, it=92s designed around what I suspect is an inflection =
point in the security/cost graph =97 near 448 bits on 32-bit platforms, =
and 480 bits on 64-bit platfoms. &nbsp;So Longa et al=92s ed-382-mers =
(their fastest 384-ish-bit curve) costs 590kcy for ECDH on Sandy Bridge. =
&nbsp;My curve (Ed448-Goldilocks) costs 674kcy =97 14% slower than =
ed-382-mers, and it includes point compression. &nbsp;Longa et al=92s =
ed-511-mers costs 1372Mcy =97 132% slower than ed-382-mers. &nbsp;A =
hypothetical Ed480-Goldeneye built on the same principles might cost =
730kcy, but I think it would be worse on =
ARM.</div><div><br></div><div>Anyway, an engineer balancing performance =
and security might consider the 14% cost hit worthwhile to go from 382 =
bits to 448 bits (plus point compression), but might not want to pay the =
132% cost hit to go all the way to 511 bits. &nbsp;So perhaps just one =
curve is enough, particularly if that curve is 448 =
bits.</div><div><br></div><div>Anyway, this argument might not be =
convincing, but I hope it at least sounds reasonable and worth further =
discussion.</div><div><br></div><div>Cheers,</div><div>=97 =
Mike</div><div><br></div><div>On May 5, 2014, at 2:34 PM, Blumenthal, =
Uri - 0668 - MITLL &lt;<a =
href=3D"mailto:uri@ll.mit.edu">uri@ll.mit.edu</a>&gt; =
wrote:</div><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; ">IMHO, =
the logic/reason of matching security levels of the cryptographic =
algorithms employed in a protocol suite is fairly obvious and does not =
need an explicit justification. There might be a reason to have the =
key-protecting/key-wrapping algorithm a bit (no pun intended! :) =
stronger than the one that uses that key. I can't think of a reason to =
protect a key with a weaker algorithm than the key-using =
one.&nbsp;<div><br></div><div>You observed that strength-matching was =
not done with RSA (considering the key sizes involved, and where those =
keys may need to be stored and processed, one possible reason for that =
mismatch pops up automatically :).</div><div><br></div><div>More =
surprisingly, matching was not done with ECC either. We don't have an =
explanation for this design choice. Copying designs we don't understand =
(or do we?) does not sound like a good recipe.<div><br></div><div>Let me =
ask you: could you explain why you want to mix algorithms of different =
cryptographic strength? What benefit do you derive from including a =
stronger algorithm in a chain made of weaker algorithms? How big would =
your performance gain be?</div><div><div apple-content-edited=3D"true">
<div>--</div><div>Regards,</div><div>Uri &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &lt;<a =
href=3D"mailto:uri@ll.mit.edu">uri@ll.mit.edu</a>&gt;</div><div><br></div>=
</div>
<br><div><div>On May 5, 2014, at 16:55 , Michael Hamburg &lt;<a =
href=3D"mailto:mike@shiftleft.org">mike@shiftleft.org</a>&gt;</div><div>&n=
bsp;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>Kevin,</div><div><br></div><div>Sorry to be =
ambiguous: the curve I designed has a 448-bit field and a 446-bit =
prime-order subgroup, so a parallel rho attack should cost just under =
2^223 point operations on average. &nbsp;So it sits between the 192 and =
256-bit security levels.</div><div><br></div><div>I=92m not particularly =
invested in getting this curve into TLS, but I=92d like to know whether =
there=92s a point in submitting it for this purpose, or if it will be =
rejected for having the =93wrong security =
level".</div><div><br></div><div>Matching the nominal security level of =
the asymmetric part to that of the symmetric part sounds obvious on its =
face, but in fact it is not usually done above the 128-bit level. =
&nbsp;For example, Suite B doesn=92t specify a direct matching of =
nominal security levels: it specifies AES-256 with SHA-384 and =
ECDSA-NIST-p384 for TOP SECRET communications. &nbsp;Likewise, almost =
nobody pairs AES-256 with the matching RSA-15k, and even AES-128 is =
usually paired with the nominally weaker =
RSA-2048.</div><div><br></div><div>This actually makes sense. =
&nbsp;Nobody is going to do a 128-bit exhaust for many decades. =
&nbsp;Not Google, not the NSA, not the KGB, nobody. &nbsp;With today=92s =
most efficient supercomputers, the heat output from 2^128 operations =
would be far more than enough to boil the oceans dry [1]. &nbsp;So we=92re=
 talking about defenses against sub-128-bit attacks, and defense in =
depth against hypothetical advances in cryptography, and quantum =
resistance for primitives that can resist at all. &nbsp;Stronger curves, =
ciphers and hashes will stand or fall on their own, not all together as =
computer power surpasses their nominal security =
level.</div><div><br></div><div>Also, nobody uses =
AES-192.</div><div><br></div><div>So I don=92t think it=92s obvious that =
matching the AES security levels is a requirement. &nbsp;If the RG =
thinks it is, or if there=92s some obscure legal requirement that the =
levels match, then fine. &nbsp;Just describe =
why.</div><div><br></div><div>Cheers,</div><div>=97 =
Mike</div><div><br></div><div>[1] Lenstra, Kleinjung, Thom=E9. =
&nbsp;=93Universal security: from bits and mips to pools, lakes =97 and =
beyond=94. &nbsp;<a =
href=3D"https://eprint.iacr.org/2013/635.pdf">https://eprint.iacr.org/2013=
/635.pdf</a></div><br><div><div>On May 5, 2014, at 12:49 PM, Igoe, Kevin =
M. &lt;<a href=3D"mailto:kmigoe@nsa.gov">kmigoe@nsa.gov</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div lang=3D"EN-US" link=3D"blue" vlink=3D"purple" =
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 class=3D"WordSection1" =
style=3D"page: WordSection1;"><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">Mike:<o:p></o:p></span></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp; Being off by a few =
bits isn=92t a show stopper. but 32-bits is probably =
too<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">much.&nbsp; The security levels echo the AES security =
levels of AES-128, AES-192<br>and AES-256.&nbsp; Using a 224 bit curve =
with AES-128 only provides roughly 112-bits<o:p></o:p></span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(31, 73, 125);">of security versus the =
128 bits ostensibly provided by AES-128.&nbsp; I just want to =
ensure<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, 125);">that a user who thinks they are getting 128 bits of =
security gets 128 bits of<span =
class=3D"Apple-converted-space">&nbsp;</span><br>security.<o:p></o:p></spa=
n></div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; =
font-family: 'Times New Roman', serif;"><span style=3D"font-size: 11pt; =
font-family: Calibri, sans-serif; color: rgb(31, 73, =
125);">&nbsp;</span></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color: =
rgb(31, 73, =
125);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Kevin<o:p></o:p></span></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(31, 73, 125);">&nbsp;</span></div><div =
style=3D"border-style: none none none solid; border-left-color: blue; =
border-left-width: 1.5pt; padding: 0in 0in 0in 4pt;"><div><div =
style=3D"border-style: solid none none; border-top-color: rgb(181, 196, =
223); border-top-width: 1pt; padding: 3pt 0in 0in;"><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><b><span style=3D"font-size: 10pt; font-family: Tahoma, =
sans-serif;">From:</span></b><span style=3D"font-size: 10pt; =
font-family: Tahoma, sans-serif;"><span =
class=3D"Apple-converted-space">&nbsp;</span>Michael Hamburg [<a =
href=3D"mailto:mike@shiftleft.org">mailto:mike@shiftleft.org</a>]<span =
class=3D"Apple-converted-space">&nbsp;</span><br><b>Sent:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Monday, May 05, 2014 2:25 =
PM<br><b>To:</b><span class=3D"Apple-converted-space">&nbsp;</span>Igoe, =
Kevin M.<br><b>Cc:</b><span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a><br><b>Subject:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Re: [Cfrg] Task looming =
over the CFRG<o:p></o:p></span></div></div></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Hi =
Kevin,<o:p></o:p></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">As =
the designer of an ECC system which is aimed at 224-ish-bit security, =
I=92m curious: is it a firm requirement that the curves be set at 128, =
192 and 256 bits? &nbsp;Or was there consensus in the meeting that the =
curves should be set at these security levels? &nbsp;Patrick Longa aimed =
his talk at these security levels, but I don=92t recall this being =
stated as a requirement.<o:p></o:p></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;">Cheers,<o:p></o:p></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">=97 =
Mike<o:p></o:p></div></div><div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><o:p>&nbsp;</o:p></div></div><div><div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;">On May 5, 2014, at 10:58 AM, Igoe, Kevin M. &lt;<a =
href=3D"mailto:kmigoe@nsa.gov" style=3D"color: purple; text-decoration: =
underline;">kmigoe@nsa.gov</a>&gt; wrote:<o:p></o:p></div></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><br><br><o:p></o:p></div><div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">As most the folks who read this list have noticed, =
a virtual interim meeting of the =
CFRG<o:p></o:p></span></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif;">was held on =
Tues 29 April to discuss the way forward for elliptic curve =
cryptography<o:p></o:p></span></div></div><div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">in the IETF.&nbsp;<span =
class=3D"apple-converted-space">&nbsp;</span><b><i>This<span =
class=3D"apple-converted-space">&nbsp;</span>was<span =
class=3D"apple-converted-space">&nbsp;</span>driven by an earnest plea =
from the TLS WG for firm<span =
class=3D"apple-converted-space">&nbsp;</span>guidance<span =
class=3D"apple-converted-space">&nbsp;</span>from<span =
class=3D"apple-converted-space">&nbsp;</span><br>the CGRG<span =
class=3D"apple-converted-space">&nbsp;</span>on the selection of =
elliptic curves<span class=3D"apple-converted-space">&nbsp;</span>for =
use in TLS.&nbsp; They need an answer<span =
class=3D"apple-converted-space">&nbsp;</span>before<span =
class=3D"apple-converted-space">&nbsp;</span><br>the<span =
class=3D"apple-converted-space">&nbsp;</span>Toronto<span =
class=3D"apple-converted-space">&nbsp;</span>IETF meeting in<span =
class=3D"apple-converted-space">&nbsp;</span>late July</i></b>.&nbsp; =
TLS needs curves for several<span =
class=3D"apple-converted-space"><b><i>&nbsp;</i></b></span>levels of =
security (128,<span class=3D"apple-converted-space">&nbsp;</span><br>192 =
and 256), suitable for use in both key agreement and<span =
class=3D"apple-converted-space"><b><i>&nbsp;</i></b></span>in digital =
signatures.<o:p></o:p></span></div></div><div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in;"><span style=3D"font-size: 10pt; =
font-family: Symbol;"><span>=B7<span style=3D"font-style: normal; =
font-variant: normal; font-weight: normal; font-size: 7pt; line-height: =
normal; font-family: '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-size: 11pt; font-family: Calibri, sans-serif;">The =
consensus of the attendees was that it would be best for TLS to have a =
single<br>=93mandatory to implement=94 curve for each of the three =
security levels.<o:p></o:p></span></div><div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in;"><span style=3D"font-size: 10pt; =
font-family: Symbol;"><span>=B7<span style=3D"font-style: normal; =
font-variant: normal; font-weight: normal; font-size: 7pt; line-height: =
normal; font-family: '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-size: 11pt; font-family: Calibri, sans-serif;">Though the =
attendees were reluctant to make a formal commitment, there<br>was =
clearly a great deal of support for the Montgomery curve curve25519 =
(FYI, the<span class=3D"apple-converted-space">&nbsp;</span><br>25519 =
refers to the fact that arithmetic is done modulo the prime 2**255 =96 =
19 ).<o:p></o:p></span></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in;"><span style=3D"font-size: 10pt; =
font-family: Symbol;"><span>=B7<span style=3D"font-style: normal; =
font-variant: normal; font-weight: normal; font-size: 7pt; line-height: =
normal; font-family: '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-size: 11pt; font-family: Calibri, sans-serif;">curve25519 =
only fills one of the three required security levels.&nbsp; We still =
need<br>curves of size near 384 bits and 512 =
bits.<o:p></o:p></span></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif; text-indent: -0.25in;"><span style=3D"font-size: 10pt; =
font-family: Symbol;"><span>=B7<span style=3D"font-style: normal; =
font-variant: normal; font-weight: normal; font-size: 7pt; line-height: =
normal; font-family: '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-size: 11pt; font-family: Calibri, sans-serif;">NIST =
curves: I doubt TLS will be willing to revisit the question of elliptic =
curves once the<span class=3D"apple-converted-space">&nbsp;</span><br>CFRG=
 has made their recommendation.&nbsp; Another option to consider is =
advising TLS to<br>use of the NIST curves in the short term, buying time =
for the CFRG to do an unrushed<span =
class=3D"apple-converted-space">&nbsp;</span><br>exploration of the =
alternatives, drawing academia and other standards bodies into the<span =
class=3D"apple-converted-space">&nbsp;</span><br>discussion.<o:p></o:p></s=
pan></div><div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; =
font-family: 'Times New Roman', serif;"><span style=3D"font-size: 11pt; =
font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">P.S.&nbsp; It has been suggested that the CFRG =
hold a session at the Crypto conference =
in<o:p></o:p></span></div></div><div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span =
style=3D"font-size: 11pt; font-family: Calibri, sans-serif;">Santa =
Barbara in an effort to draw in more participation from the academic =
community.<o:p></o:p></span></div></div><div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">No guarantees we can pull this off, but it is worth the =
attempt. Thoughts? Volunteers?<o:p></o:p></span></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">&nbsp;<o:p></o:p></span></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">P.P.S. We need to start lining up speakers for the =
CFRG session at IETF-90 =
(Toronto).<o:p></o:p></span></div></div><div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif; color: rgb(51, 51, 51);">&nbsp;</span><span =
style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p></o:p></span></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: rgb(51, 51, =
51);">----------------+--------------------------------------------------<=
/span><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p></o:p></span></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: rgb(51, 51, 51);">Kevin M. Igoe&nbsp;&nbsp; | "We can't solve =
problems by using the same kind</span><span style=3D"font-size: 11pt; =
font-family: Calibri, =
sans-serif;"><o:p></o:p></span></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: rgb(51, 51, 51);"><a href=3D"mailto:kmigoe@nsa.gov" style=3D"color:=
 purple; text-decoration: underline;">kmigoe@nsa.gov</a>&nbsp; | of =
thinking we used when we created them."</span><span style=3D"font-size: =
11pt; font-family: Calibri, =
sans-serif;"><o:p></o:p></span></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: rgb(51, 51, =
51);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; - Albert Einstein -</span><span style=3D"font-size: 11pt; =
font-family: Calibri, =
sans-serif;"><o:p></o:p></span></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 10pt; font-family: 'Courier New'; =
color: rgb(51, 51, =
51);">----------------+--------------------------------------------------<=
/span><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;"><o:p></o:p></span></div></div><div><div style=3D"margin: =
0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', =
serif;"><span style=3D"font-size: 11pt; font-family: Calibri, =
sans-serif;">&nbsp;<o:p></o:p></span></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">&nbsp;<o:p></o:p></span></div></div><div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: =
Calibri, sans-serif;">&nbsp;<o:p></o:p></span></div></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 9pt; font-family: =
Helvetica, =
sans-serif;">_______________________________________________<br>Cfrg =
mailing list<br><a href=3D"mailto:Cfrg@irtf.org" style=3D"color: purple; =
text-decoration: underline;">Cfrg@irtf.org</a><br><a =
href=3D"http://www.irtf.org/mailman/listinfo/cfrg" style=3D"color: =
purple; text-decoration: =
underline;">http://www.irtf.org/mailman/listinfo/cfrg</a></span></div></di=
v></div></div></div></div></blockquote></div><br></div>___________________=
____________________________<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">http://www.irtf.org/mai=
lman/listinfo/cfrg</a><br></blockquote></div><br></div></div></div></block=
quote></div><br></body></html>=

--Apple-Mail=_3C5FF19B-209F-4F5B-832F-2B9F2B720911--


From nobody Mon May  5 16:12:09 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 1D0BC1A047D for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 16:12:08 -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 O0Om6Eret043 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 16:12:05 -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 BEB1C1A03EF for <cfrg@irtf.org>; Mon,  5 May 2014 16:12:05 -0700 (PDT)
Received: by mail-yh0-f53.google.com with SMTP id v1so14569yhn.26 for <cfrg@irtf.org>; Mon, 05 May 2014 16:12:02 -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=+uxR3VCSF/bJcht0KzVPUZzr6deuOhAJrP57XP5sieU=; b=EEyZkx+6JG+FXOVJFD2Shf5HoK1rYfM1NJtjRKaNzWyJtLMnhPHIHFdLxlK3MpAvFu s64zjuu9O3/TM0iTnZJa9itfwo5pE6FfdpM1oBesdLbDivR98ornaBtSArV6Drk3IIN5 btm8RjQE1YcjYN+v1QMeVsWLMTv5OZ47dnazqoiyA717a3L84x4O0Ae036QKczUwCrxu SJOr4Ov/jEhL+cqO7gwhDeN0M7B8ZIj9Ne4aIl04rH1cVs0osSQ6nw9on2hiuUnvKmm7 RUP3vMBqC2piVuO90M+2COUXO18HRz5h6zbs3BcNQ34zwLw+f/hW7ikbFBpY59XY36Lj cQxA==
MIME-Version: 1.0
X-Received: by 10.236.90.12 with SMTP id d12mr52766762yhf.120.1399331522159; Mon, 05 May 2014 16:12:02 -0700 (PDT)
Received: by 10.170.63.197 with HTTP; Mon, 5 May 2014 16:12:02 -0700 (PDT)
In-Reply-To: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov>
References: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov>
Date: Mon, 5 May 2014 16:12:02 -0700
Message-ID: <CACsn0ckenF3ps-sUmwD8QAQQVpSdsLc7KZX+FpZWuD8nXnLQTA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: "Igoe, Kevin M." <kmigoe@nsa.gov>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/mEvUT5rXeEcTGexYgQ21hgsVEa8
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Task looming over the CFRG
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 05 May 2014 23:12:08 -0000

On Mon, May 5, 2014 at 10:58 AM, Igoe, Kevin M. <kmigoe@nsa.gov> wrote:
> As most the folks who read this list have noticed, a virtual interim meet=
ing
> of the CFRG
> was held on Tues 29 April to discuss the way forward for elliptic curve
> cryptography
> in the IETF.  This was driven by an earnest plea from the TLS WG for firm
> guidance from
> the CGRG on the selection of elliptic curves for use in TLS.  They need a=
n
> answer before
> the Toronto IETF meeting in late July.  TLS needs curves for several leve=
ls
> of security (128,
> 192 and 256), suitable for use in both key agreement and in digital
> signatures.

Digital signatures is a bit hairy because of the issue of certs: you
end up needing to support more curves than you would think you would
going in. But yes, we should discuss adopting more Schnorr-like
mechanisms then ECDSA: the patents that forced ECDSA to look the way
it did are long gone. However, that's not what the current TLS draft
is about: it's purely addressing key exchange. Certificate changes
will be a bit more work.

>
>
> The consensus of the attendees was that it would be best for TLS to have =
a
> single
> =E2=80=9Cmandatory to implement=E2=80=9D curve for each of the three secu=
rity levels.
>
>
>
> Though the attendees were reluctant to make a formal commitment, there
> was clearly a great deal of support for the Montgomery curve curve25519
> (FYI, the
> 25519 refers to the fact that arithmetic is done modulo the prime 2**255 =
=E2=80=93
> 19 ).
>
>
>
> curve25519 only fills one of the three required security levels.  We stil=
l
> need
> curves of size near 384 bits and 512 bits.

My suggestion: we look at the safecurves website and find curves.
Right now Curve41417 and Ed448 are both contenders for the 384 size:
it will come down to efficiency, which requires some coding to be
done. I understand both have implementations, and it comes down to who
can optimize the best.

For the 512 size M-511 looks good to me. Maybe some prime shapes are
more optimized, etc, but 2^384 is in a dry spot for primes: the best I
got was 2^384-317, which is a large enough epsilon to cause problems
on small radix machines.

>
>
>
> NIST curves: I doubt TLS will be willing to revisit the question of ellip=
tic
> curves once the
> CFRG has made their recommendation.  Another option to consider is advisi=
ng
> TLS to
> use of the NIST curves in the short term, buying time for the CFRG to do =
an
> unrushed
> exploration of the alternatives, drawing academia and other standards bod=
ies
> into the
> discussion.

How much more time do we need? We can hold meetings ad nauseam, but I
don't think our alternatives will change that much, or the various
factors causing us to lean one way or the other. Put it another way:
do you foresee any information in the next 12 months that would change
the status of Curve25519? If not, why not make the decision now, or at
least plan to end Toronto with the decision made?

Sincerely,
Watson Ladd
>
>
> P.S.  It has been suggested that the CFRG hold a session at the Crypto
> conference in
> Santa Barbara in an effort to draw in more participation from the academi=
c
> community.
> No guarantees we can pull this off, but it is worth the attempt. Thoughts=
?
> Volunteers?
>
> P.P.S. We need to start lining up speakers for the CFRG session at IETF-9=
0
> (Toronto).
>
>
> ----------------+--------------------------------------------------
> Kevin M. Igoe   | "We can't solve problems by using the same kind
> kmigoe@nsa.gov  | of thinking we used when we created them."
>                 |              - Albert Einstein -
> ----------------+--------------------------------------------------
>
>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>



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


From nobody Mon May  5 16:13:05 2014
Return-Path: <plonga@microsoft.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 BDD051A0496 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 16:13:03 -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 e4H2dSAAuPVZ for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 16:13:00 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0204.outbound.protection.outlook.com [207.46.163.204]) by ietfa.amsl.com (Postfix) with ESMTP id 179EE1A048F for <cfrg@irtf.org>; Mon,  5 May 2014 16:12:59 -0700 (PDT)
Received: from BY2PR03MB474.namprd03.prod.outlook.com (10.141.141.149) by BY2PR03MB474.namprd03.prod.outlook.com (10.141.141.149) with Microsoft SMTP Server (TLS) id 15.0.939.12; Mon, 5 May 2014 23:12:54 +0000
Received: from BY2PR03MB474.namprd03.prod.outlook.com ([10.141.141.149]) by BY2PR03MB474.namprd03.prod.outlook.com ([10.141.141.149]) with mapi id 15.00.0939.000; Mon, 5 May 2014 23:12:54 +0000
From: Patrick Longa Pierola <plonga@microsoft.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Some observations after the ECC interim meeting
Thread-Index: Ac9otvg9Q4jf9oA/Q/+gDHHETUQlJw==
Date: Mon, 5 May 2014 23:12:53 +0000
Message-ID: <efe621d5b6c7430887f433db7092d125@BY2PR03MB474.namprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [2001:4898:80e0:ed43::2]
x-forefront-prvs: 0202D21D2F
x-forefront-antispam-report: SFV:NSPM; SFS:(10009001)(428001)(243025003)(199002)(189002)(33646001)(79102001)(20776003)(19300405004)(81342001)(76576001)(15975445006)(46102001)(64706001)(16236675002)(4396001)(81542001)(19580395003)(77982001)(83322001)(76482001)(21056001)(86612001)(92566001)(86362001)(74316001)(77096999)(50986999)(2656002)(54356999)(87936001)(15202345003)(99396002)(83072002)(99286001)(74502001)(101416001)(85852003)(31966008)(80022001)(74662001)(24736002)(9853045004); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB474; H:BY2PR03MB474.namprd03.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en; 
received-spf: None (: microsoft.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=plonga@microsoft.com; 
Content-Type: multipart/alternative; boundary="_000_efe621d5b6c7430887f433db7092d125BY2PR03MB474namprd03pro_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.onmicrosoft.com
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/N7viAssIPBZxt1Al0_kLHzhXrOs
Subject: [Cfrg]  Some observations after the ECC interim meeting
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 05 May 2014 23:13:04 -0000

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

Dear all,
In our presentation at the CFRG meeting we were especially interested in dr=
awing some attention to some issues that are very relevant when using Edwar=
ds and Montgomery curves. In particular,

-   when computing the Montgomery ladder in constant time there is a potent=
ial failure case if the scalar matches 0 (mod r) or 0 (mod r'), where r and=
 r' are the prime orders of the subgroups generated on the Montgomery curve=
 and its quadratic twist, respectively. We noted that Curve25519 avoids thi=
s issue (together with dealing with subgroup attacks) by restricting the sc=
alar values to 2^254 + 8{0,1,...,2^251-1}. This design feature does not mat=
ch the standard practice in cryptography that is to allow the scalar value =
to be in the full range [1, r-1]. For example, when working with Ed25519 th=
ere is a restriction of scalars to less than half of such full range. Refer=
 to slide 10 in [1].

-   when using the Montgomery ladder for key exchange (computed with one va=
riable-base scalar multiplication) there are engineering issues that need t=
o be addressed: is key generation being computed on the Montgomery form or =
the Edwards form? If it is computed using the Montgomery form then there is=
 a significant performance impact (option referred to as "hybrid 1" in our =
presentation; see slides 23-24 in [1]). One can certainly use the Edwards f=
orm instead (this option corresponds to "Hybrid 2" in the same slides) but =
one then needs to deal with issues such as point conversion, special point =
formatting for transmission, etc. Another potential issue with this second =
alternative is that good solutions might be protocol-specific, instead of g=
eneric. Our performance results indicate that there is no need to deal with=
 these potential issues (issues that are relevant, e.g., to the TLS handsha=
ke using PFS, and that might be even more difficult to deal with in differe=
nt protocols) because all the computations can be performed purely on the t=
wisted Edwards form of the curve. This also brings to the table the possibi=
lity of using only one curve form (twisted Edwards) for signatures and key =
exchange (and any other possible ECC operations), instead of defining diffe=
rent curve forms for different ECC operations. This unification might bring=
 several benefits in practice.

Finally, we point out that the current effort of moving forward with only o=
ne curve targeting *one security level* (i.e., 128-bit) might bring the ris=
k of having inconsistencies once future additions are done at other securit=
y levels. We suggest instead to first have a solid curve selection that inc=
ludes all the security levels, with strong consistency in the design.

Best regards,

Patrick


[1] Patrick Longa, "Selecting Elliptic Curves for Cryptography", talk given=
 at the interim teleconference meeting, April 2014. http://patricklonga.web=
s.com/Presentation_CFRG_Selecting_Elliptic_Curves_for_Cryptography.pdf


--_000_efe621d5b6c7430887f433db7092d125BY2PR03MB474namprd03pro_
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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
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:12.0pt;
	font-family:"Times New Roman","serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
.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"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#282828=
">Dear all,</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri=
&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#282828=
">In our presentation at the CFRG meeting we were especially interested in =
drawing some attention to some issues that are very relevant
 when using Edwards and Montgomery curves. In particular,</span><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#282828=
">&nbsp;<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#282828=
">-&nbsp;&nbsp;&nbsp;when computing the Montgomery ladder in constant time =
there is a potential failure case if the scalar matches 0 (mod r) or 0 (mod
 r&#8217;), where r and r&#8217; are the prime orders of the subgroups gene=
rated on the Montgomery curve and its quadratic twist, respectively. We not=
ed that Curve25519 avoids this issue (together with dealing with subgroup a=
ttacks) by restricting the scalar values to
 2^254 &#43; 8{0,1,&#8230;,2^251-1}. This design feature does not match the=
 standard practice in cryptography that is to allow the scalar value to be =
in the full range [1, r-1]. For example, when working with Ed25519 there is=
 a restriction of scalars to less than half
 of such full range. Refer to slide 10 in [1].<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#282828=
">&nbsp;</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">- &nbsp;&nbs=
p;<span style=3D"color:#282828">when using the Montgomery ladder for key ex=
change (computed with one variable-base scalar multiplication) there are
 engineering issues that need to be addressed: is key generation being comp=
uted on the Montgomery form or the Edwards form? If it is computed using th=
e Montgomery form then there is a significant performance impact (option re=
ferred to as &#8220;hybrid 1&#8221; in our presentation;
 see slides 23-24 in [1]). One can certainly use the Edwards form instead (=
this option corresponds to &#8220;Hybrid 2&#8221; in the same slides) but o=
ne then needs to deal with issues such as point conversion, special point f=
ormatting for transmission, etc. Another potential
 issue with this second alternative is that good solutions might be protoco=
l-specific, instead of generic. Our performance results indicate that there=
 is no need to deal with these potential issues (issues that are relevant, =
e.g., to the TLS handshake using
 PFS, and that might be even more difficult to deal with in different proto=
cols) because all the computations can be performed purely on the twisted E=
dwards form of the curve. This also brings to the table the possibility of =
using only one curve form (twisted
 Edwards) for signatures and key exchange (and any other possible ECC opera=
tions), instead of defining different curve forms for different ECC operati=
ons. This unification might bring several benefits in practice.<o:p></o:p><=
/span></span></p>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#282828=
">&nbsp;<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#282828=
">Finally, we point out that the current effort of moving forward with only=
 one curve targeting *one security level* (i.e., 128-bit)
 might bring the risk of having inconsistencies once future additions are d=
one at other security levels. We suggest instead to first have a solid curv=
e selection that includes all the security levels, with strong consistency =
in the design.<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#282828=
">&nbsp;&nbsp;<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#282828=
">Best regards,<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#282828=
">&nbsp;</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#282828=
">Patrick</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&q=
uot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#282828=
">&nbsp;</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#282828=
">&nbsp;</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"background:white"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#282828=
">[1] Patrick Longa, &#8220;Selecting Elliptic Curves for Cryptography&#822=
1;, talk given at the interim teleconference meeting, April 2014.
<a href=3D"http://patricklonga.webs.com/Presentation_CFRG_Selecting_Ellipti=
c_Curves_for_Cryptography.pdf">
<span style=3D"color:#954F72">http://patricklonga.webs.com/Presentation_CFR=
G_Selecting_Elliptic_Curves_for_Cryptography.pdf</span></a></span><span sty=
le=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quo=
t;"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
</body>
</html>

--_000_efe621d5b6c7430887f433db7092d125BY2PR03MB474namprd03pro_--


From nobody Mon May  5 16:23:20 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 1BD3F1A0196 for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 16:23:19 -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 T8m2pjWgN_5A for <cfrg@ietfa.amsl.com>; Mon,  5 May 2014 16:23:17 -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 406421A0179 for <cfrg@irtf.org>; Mon,  5 May 2014 16:23:17 -0700 (PDT)
Received: by mail-yh0-f44.google.com with SMTP id z6so24316yhz.17 for <cfrg@irtf.org>; Mon, 05 May 2014 16:23:13 -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=sF2HAT3MXVqJzYEe/gSy0aP7/NejuWymqbfuL6nUkIg=; b=ZAc9SLvRqXDDfgz/yfOCOOKPvCRo6Av7otPhdn1tgCododeOId0cbUzJM8ytkXqTZg s2xygrd+W6MAuffICqznA112mmLBWnr66CRyeVY7pWCK0auqNlFGlsCL64uOL0G9l0bu 6L0Guo/wJ8l4TLbfZMPdoEkM7i+1OoYy+gU/JDoS8FcIeSV+ABdJxGJre9v3QLdYIYXS hjmCbgykpGG1+5zsB560QRoEvhm1QD3VcsKUd88NgIHWR2l6qJFqONN/IsIGhNUcdWKu tgHKXW1Z0I6hisQaLwgw+5FyoA6mi/qFiDzr+Fc6m/Rkuh+fG4mV4JyK0zdNH904lJRf FMgw==
MIME-Version: 1.0
X-Received: by 10.236.66.135 with SMTP id h7mr51307948yhd.60.1399332193570; Mon, 05 May 2014 16:23:13 -0700 (PDT)
Received: by 10.170.63.197 with HTTP; Mon, 5 May 2014 16:23:13 -0700 (PDT)
In-Reply-To: <efe621d5b6c7430887f433db7092d125@BY2PR03MB474.namprd03.prod.outlook.com>
References: <efe621d5b6c7430887f433db7092d125@BY2PR03MB474.namprd03.prod.outlook.com>
Date: Mon, 5 May 2014 16:23:13 -0700
Message-ID: <CACsn0ckYckN-u63kroR+ygOpXNvkuA3-iqVQSsVcs+EkkiTHTg@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Patrick Longa Pierola <plonga@microsoft.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/DXwLTd91VFtzMYrYqtkNEu06HU0
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Some observations after the ECC interim meeting
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 05 May 2014 23:23:19 -0000

On Mon, May 5, 2014 at 4:12 PM, Patrick Longa Pierola
<plonga@microsoft.com> wrote:
> Dear all,
>
> In our presentation at the CFRG meeting we were especially interested in
> drawing some attention to some issues that are very relevant when using
> Edwards and Montgomery curves. In particular,
>
>
>
> -   when computing the Montgomery ladder in constant time there is a
> potential failure case if the scalar matches 0 (mod r) or 0 (mod r=E2=80=
=99), where
> r and r=E2=80=99 are the prime orders of the subgroups generated on the M=
ontgomery
> curve and its quadratic twist, respectively. We noted that Curve25519 avo=
ids
> this issue (together with dealing with subgroup attacks) by restricting t=
he
> scalar values to 2^254 + 8{0,1,=E2=80=A6,2^251-1}. This design feature do=
es not
> match the standard practice in cryptography that is to allow the scalar
> value to be in the full range [1, r-1]. For example, when working with
> Ed25519 there is a restriction of scalars to less than half of such full
> range. Refer to slide 10 in [1].
>
>
>
> -   when using the Montgomery ladder for key exchange (computed with one
> variable-base scalar multiplication) there are engineering issues that ne=
ed
> to be addressed: is key generation being computed on the Montgomery form =
or
> the Edwards form? If it is computed using the Montgomery form then there =
is
> a significant performance impact (option referred to as =E2=80=9Chybrid 1=
=E2=80=9D in our
> presentation; see slides 23-24 in [1]). One can certainly use the Edwards
> form instead (this option corresponds to =E2=80=9CHybrid 2=E2=80=9D in th=
e same slides) but
> one then needs to deal with issues such as point conversion, special poin=
t
> formatting for transmission, etc. Another potential issue with this secon=
d
> alternative is that good solutions might be protocol-specific, instead of
> generic. Our performance results indicate that there is no need to deal w=
ith
> these potential issues (issues that are relevant, e.g., to the TLS handsh=
ake
> using PFS, and that might be even more difficult to deal with in differen=
t
> protocols) because all the computations can be performed purely on the
> twisted Edwards form of the curve. This also brings to the table the
> possibility of using only one curve form (twisted Edwards) for signatures
> and key exchange (and any other possible ECC operations), instead of
> defining different curve forms for different ECC operations. This
> unification might bring several benefits in practice.
>
>
>
> Finally, we point out that the current effort of moving forward with only
> one curve targeting *one security level* (i.e., 128-bit) might bring the
> risk of having inconsistencies once future additions are done at other
> security levels. We suggest instead to first have a solid curve selection
> that includes all the security levels, with strong consistency in the
> design.

Why can't higher security levels follow the lead of the low security
levels, even if designed at different times?
It would seem that using the twisted Edwards form uniformly (and as a
wire format) avoids all the issues you mentioned.

Furthermore, fast implementations can take advantage of isogenies,
restrict scalars, etc. even if the standards recommend an algorithm
that doesn't.

Sincerely,
Watson Ladd
>
>
>
> Best regards,
>
>
>
> Patrick
>
>
>
>
>
> [1] Patrick Longa, =E2=80=9CSelecting Elliptic Curves for Cryptography=E2=
=80=9D, talk given
> at the interim teleconference meeting, April 2014.
> http://patricklonga.webs.com/Presentation_CFRG_Selecting_Elliptic_Curves_=
for_Cryptography.pdf
>
>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>



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


From nobody Tue May  6 05:06:11 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 ABDDC1A0187 for <cfrg@ietfa.amsl.com>; Tue,  6 May 2014 05:06:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.251
X-Spam-Level: 
X-Spam-Status: No, score=-3.251 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.651] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UAnYoUfVn_6e for <cfrg@ietfa.amsl.com>; Tue,  6 May 2014 05:06:06 -0700 (PDT)
Received: from a.mx.secunet.com (a.mx.secunet.com [195.81.216.161]) by ietfa.amsl.com (Postfix) with ESMTP id 91AC41A0072 for <cfrg@irtf.org>; Tue,  6 May 2014 05:06:06 -0700 (PDT)
Received: from localhost (alg1 [127.0.0.1]) by a.mx.secunet.com (Postfix) with ESMTP id 4E1831A00BD; Tue,  6 May 2014 14:06:02 +0200 (CEST)
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 RRGE7unhYlXc; Tue,  6 May 2014 14:05:53 +0200 (CEST)
Received: from mail-gw-int (unknown [10.53.40.207]) by a.mx.secunet.com (Postfix) with ESMTP id B54501A00A8; Tue,  6 May 2014 14:05:53 +0200 (CEST)
Received: from [10.53.40.204] (port=56111 helo=mail-essen-01.secunet.de) by mail-gw-int with esmtp (Exim 4.80 #2 (Debian)) id 1Whe89-0001sn-5z; Tue, 06 May 2014 14:05:53 +0200
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.181.6; Tue, 6 May 2014 14:05:52 +0200
Message-ID: <5368D023.7000706@secunet.com>
Date: Tue, 6 May 2014 14:05:55 +0200
From: Johannes Merkle <johannes.merkle@secunet.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version: 1.0
To: Paul Lambert <paul@marvell.com>, Rene Struik <rstruik.ext@gmail.com>, "Igoe, Kevin M." <kmigoe@nsa.gov>, "cfrg@irtf.org" <cfrg@irtf.org>
References: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov> <5367DA09.7020906@gmail.com> <CF8D298B.3A3C3%paul@marvell.com> <5367E67B.4050705@gmail.com> <CF8D3B8D.3A425%paul@marvell.com>
In-Reply-To: <CF8D3B8D.3A425%paul@marvell.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 8bit
X-Originating-IP: [10.208.1.57]
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/XQ3oZcJo-lncvf4KgzdtKL-x9Bk
Subject: Re: [Cfrg] Task looming over the CFRG
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 06 May 2014 12:06:08 -0000

Paul Lambert wrote on 05.05.2014 22:52:
> NIST curves were created over 15 years ago.  NIST has not kept pace in this period with recommendations to mitigate attacks documented by industry. NIST has not considered the advancements in open cryptographic publications that have identified new curves and algorithms that provide improved performance and better “safety” of implementations. 


We should not mix up curves with (possibly insufficient) recommendations for side-channel resistance. These are two
different things.

I do not mean to advocate the NIST curves, but lack of "safety" is a weak argument against them. It has been shown that
time-constant and exception-free implementations of Weierstrass curves are easily possible while still obtaining good
efficiency [1]. And invalid-point attacks are very easily (and cheaply) thwarted by point validation as recommended by
NIST and ANSI standards.

IMHO, lack of rigidity and slightly inferior performance are much better arguments against NIST curves.

Johannes

[1] Joppe W. Bos, Craig Costello, Patrick Longa, Michael Naehrig: Selecting Elliptic Curves for Cryptography: An
Efficiency and Security Analysis. Cryptology ePrint Archive, Report 2014/130.




From nobody Tue May  6 05:32:50 2014
Return-Path: <kmigoe@nsa.gov>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 70FFA1A02E3 for <cfrg@ietfa.amsl.com>; Tue,  6 May 2014 05:32:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.55
X-Spam-Level: 
X-Spam-Status: No, score=-7.55 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0x4kb-5ESY3y for <cfrg@ietfa.amsl.com>; Tue,  6 May 2014 05:32:45 -0700 (PDT)
Received: from emvm-gh1-uea08.nsa.gov (emvm-gh1-uea08.nsa.gov [63.239.67.9]) by ietfa.amsl.com (Postfix) with ESMTP id 14ACD1A02E2 for <cfrg@irtf.org>; Tue,  6 May 2014 05:32:44 -0700 (PDT)
X-TM-IMSS-Message-ID: <4d991ea2000e41a7@nsa.gov>
Received: from MSHT-GH1-UEA02.corp.nsa.gov ([10.215.227.181]) by nsa.gov ([63.239.67.9]) with ESMTP (TREND IMSS SMTP Service 7.1; TLSv1/SSLv3 AES128-SHA (128/128)) id 4d991ea2000e41a7 ; Tue, 6 May 2014 08:31:58 -0400
Received: from MSMR-GH1-UEA08.corp.nsa.gov (10.215.225.3) by MSHT-GH1-UEA02.corp.nsa.gov (10.215.227.181) with Microsoft SMTP Server (TLS) id 14.2.342.3; Tue, 6 May 2014 08:32:38 -0400
Received: from MSMR-GH1-UEA03.corp.nsa.gov ([10.215.224.3]) by MSMR-GH1-UEA08.corp.nsa.gov ([10.215.225.3]) with mapi id 14.01.0289.001; Tue, 6 May 2014 08:32:38 -0400
From: "Igoe, Kevin M." <kmigoe@nsa.gov>
To: 'Michael Hamburg' <mike@shiftleft.org>
Thread-Topic: [Cfrg] Task looming over the CFRG
Thread-Index: Ac9oi6oYPJfN8CicTuuHQj1qX4dIoAAJTMCAAAWvywD///yVgP//P8EQ
Date: Tue, 6 May 2014 12:32:37 +0000
Message-ID: <3C4AAD4B5304AB44A6BA85173B4675CABAA40611@MSMR-GH1-UEA03.corp.nsa.gov>
References: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov> <E98B42D5-610C-4532-B765-5819A35A456C@shiftleft.org> <3C4AAD4B5304AB44A6BA85173B4675CABAA404E9@MSMR-GH1-UEA03.corp.nsa.gov> <B8586319-F1E6-4CA6-B70E-4D6153DC19A5@shiftleft.org>
In-Reply-To: <B8586319-F1E6-4CA6-B70E-4D6153DC19A5@shiftleft.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.215.227.232]
Content-Type: multipart/alternative; boundary="_000_3C4AAD4B5304AB44A6BA85173B4675CABAA40611MSMRGH1UEA03cor_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/lyP6VTm2h1asZSCNn7ogNywD5TU
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Task looming over the CFRG
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 06 May 2014 12:32:49 -0000

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

In fact we had wanted to use AES -128 and AES-192, but a quick survey
of AES implementations (hardware centric, I believe) showed that there
were very few implemented AES-192, whence the decision to go
with AES-128 and AES-256 in Suite B, paired with P256 and P384.   All
of the crypt purists grumbled endlessly about the mismatch betwixt AES-256
and P384.

From: Michael Hamburg [mailto:mike@shiftleft.org]
Sent: Monday, May 05, 2014 4:56 PM
To: Igoe, Kevin M.
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Task looming over the CFRG

Kevin,

Sorry to be ambiguous: the curve I designed has a 448-bit field and a 446-b=
it prime-order subgroup, so a parallel rho attack should cost just under 2^=
223 point operations on average.  So it sits between the 192 and 256-bit se=
curity levels.

I'm not particularly invested in getting this curve into TLS, but I'd like =
to know whether there's a point in submitting it for this purpose, or if it=
 will be rejected for having the "wrong security level".

Matching the nominal security level of the asymmetric part to that of the s=
ymmetric part sounds obvious on its face, but in fact it is not usually don=
e above the 128-bit level.  For example, Suite B doesn't specify a direct m=
atching of nominal security levels: it specifies AES-256 with SHA-384 and E=
CDSA-NIST-p384 for TOP SECRET communications.  Likewise, almost nobody pair=
s AES-256 with the matching RSA-15k, and even AES-128 is usually paired wit=
h the nominally weaker RSA-2048.

This actually makes sense.  Nobody is going to do a 128-bit exhaust for man=
y decades.  Not Google, not the NSA, not the KGB, nobody.  With today's mos=
t efficient supercomputers, the heat output from 2^128 operations would be =
far more than enough to boil the oceans dry [1].  So we're talking about de=
fenses against sub-128-bit attacks, and defense in depth against hypothetic=
al advances in cryptography, and quantum resistance for primitives that can=
 resist at all.  Stronger curves, ciphers and hashes will stand or fall on =
their own, not all together as computer power surpasses their nominal secur=
ity level.

Also, nobody uses AES-192.

So I don't think it's obvious that matching the AES security levels is a re=
quirement.  If the RG thinks it is, or if there's some obscure legal requir=
ement that the levels match, then fine.  Just describe why.

Cheers,
- Mike

[1] Lenstra, Kleinjung, Thom=E9.  "Universal security: from bits and mips t=
o pools, lakes - and beyond".  https://eprint.iacr.org/2013/635.pdf

On May 5, 2014, at 12:49 PM, Igoe, Kevin M. <kmigoe@nsa.gov<mailto:kmigoe@n=
sa.gov>> wrote:


Mike:

  Being off by a few bits isn't a show stopper. but 32-bits is probably too
much.  The security levels echo the AES security levels of AES-128, AES-192
and AES-256.  Using a 224 bit curve with AES-128 only provides roughly 112-=
bits
of security versus the 128 bits ostensibly provided by AES-128.  I just wan=
t to ensure
that a user who thinks they are getting 128 bits of security gets 128 bits =
of
security.

                              Kevin

From: Michael Hamburg [mailto:mike@shiftleft.org]
Sent: Monday, May 05, 2014 2:25 PM
To: Igoe, Kevin M.
Cc: cfrg@irtf.org<mailto:cfrg@irtf.org>
Subject: Re: [Cfrg] Task looming over the CFRG

Hi Kevin,

As the designer of an ECC system which is aimed at 224-ish-bit security, I'=
m curious: is it a firm requirement that the curves be set at 128, 192 and =
256 bits?  Or was there consensus in the meeting that the curves should be =
set at these security levels?  Patrick Longa aimed his talk at these securi=
ty levels, but I don't recall this being stated as a requirement.

Cheers,
- Mike


On May 5, 2014, at 10:58 AM, Igoe, Kevin M. <kmigoe@nsa.gov<mailto:kmigoe@n=
sa.gov>> wrote:



As most the folks who read this list have noticed, a virtual interim meetin=
g of the CFRG
was held on Tues 29 April to discuss the way forward for elliptic curve cry=
ptography
in the IETF.  This was driven by an earnest plea from the TLS WG for firm g=
uidance from
the CGRG on the selection of elliptic curves for use in TLS.  They need an =
answer before
the Toronto IETF meeting in late July.  TLS needs curves for several levels=
 of security (128,
192 and 256), suitable for use in both key agreement and in digital signatu=
res.

*         The consensus of the attendees was that it would be best for TLS =
to have a single
"mandatory to implement" curve for each of the three security levels.

*         Though the attendees were reluctant to make a formal commitment, =
there
was clearly a great deal of support for the Montgomery curve curve25519 (FY=
I, the
25519 refers to the fact that arithmetic is done modulo the prime 2**255 - =
19 ).

*         curve25519 only fills one of the three required security levels. =
 We still need
curves of size near 384 bits and 512 bits.

*         NIST curves: I doubt TLS will be willing to revisit the question =
of elliptic curves once the
CFRG has made their recommendation.  Another option to consider is advising=
 TLS to
use of the NIST curves in the short term, buying time for the CFRG to do an=
 unrushed
exploration of the alternatives, drawing academia and other standards bodie=
s into the
discussion.

P.S.  It has been suggested that the CFRG hold a session at the Crypto conf=
erence in
Santa Barbara in an effort to draw in more participation from the academic =
community.
No guarantees we can pull this off, but it is worth the attempt. Thoughts? =
Volunteers?

P.P.S. We need to start lining up speakers for the CFRG session at IETF-90 =
(Toronto).


----------------+--------------------------------------------------
Kevin M. Igoe   | "We can't solve problems by using the same kind
kmigoe@nsa.gov<mailto:kmigoe@nsa.gov>  | of thinking we used when we create=
d them."
                |              - Albert Einstein -
----------------+--------------------------------------------------



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


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@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:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">In fact we had wanted to =
use AES -128 and AES-192, but a quick survey<br>
of AES implementations (hardware centric, I believe) showed that there<br>
were very few implemented AES-192, whence the decision to go<br>
with AES-128 and AES-256 in Suite B, paired with P256 and P384.&nbsp;&nbsp;=
 All<br>
of the crypt purists grumbled endlessly about the mismatch betwixt AES-256 =
<br>
and P384.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Michael =
Hamburg [mailto:mike@shiftleft.org]
<br>
<b>Sent:</b> Monday, May 05, 2014 4:56 PM<br>
<b>To:</b> Igoe, Kevin M.<br>
<b>Cc:</b> cfrg@irtf.org<br>
<b>Subject:</b> Re: [Cfrg] Task looming over the CFRG<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">Kevin,<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Sorry to be ambiguous: the curve I designed has a 44=
8-bit field and a 446-bit prime-order subgroup, so a parallel rho attack sh=
ould cost just under 2^223 point operations on average. &nbsp;So it sits be=
tween the 192 and 256-bit security levels.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">I&#8217;m not particularly invested in getting this =
curve into TLS, but I&#8217;d like to know whether there&#8217;s a point in=
 submitting it for this purpose, or if it will be rejected for having the &=
#8220;wrong security level&quot;.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Matching the nominal security level of the asymmetri=
c part to that of the symmetric part sounds obvious on its face, but in fac=
t it is not usually done above the 128-bit level. &nbsp;For example, Suite =
B doesn&#8217;t specify a direct matching of
 nominal security levels: it specifies AES-256 with SHA-384 and ECDSA-NIST-=
p384 for TOP SECRET communications. &nbsp;Likewise, almost nobody pairs AES=
-256 with the matching RSA-15k, and even AES-128 is usually paired with the=
 nominally weaker RSA-2048.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">This actually makes sense. &nbsp;Nobody is going to =
do a 128-bit exhaust for many decades. &nbsp;Not Google, not the NSA, not t=
he KGB, nobody. &nbsp;With today&#8217;s most efficient supercomputers, the=
 heat output from 2^128 operations would be far more than
 enough to boil the oceans dry [1]. &nbsp;So we&#8217;re talking about defe=
nses against sub-128-bit attacks, and defense in depth against hypothetical=
 advances in cryptography, and quantum resistance for primitives that can r=
esist at all. &nbsp;Stronger curves, ciphers and
 hashes will stand or fall on their own, not all together as computer power=
 surpasses their nominal security level.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Also, nobody uses AES-192.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">So I don&#8217;t think it&#8217;s obvious that match=
ing the AES security levels is a requirement. &nbsp;If the RG thinks it is,=
 or if there&#8217;s some obscure legal requirement that the levels match, =
then fine. &nbsp;Just describe why.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Cheers,<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&#8212; Mike<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">[1] Lenstra, Kleinjung, Thom=E9. &nbsp;&#8220;Univer=
sal security: from bits and mips to pools, lakes &#8212; and beyond&#8221;.=
 &nbsp;<a href=3D"https://eprint.iacr.org/2013/635.pdf">https://eprint.iacr=
.org/2013/635.pdf</a><o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On May 5, 2014, at 12:49 PM, Igoe, Kevin M. &lt;<a h=
ref=3D"mailto:kmigoe@nsa.gov">kmigoe@nsa.gov</a>&gt; wrote:<o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Mike:</span><o:p></o:p></=
p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp; Being off by a few=
 bits isn&#8217;t a show stopper. but 32-bits is probably too</span><o:p></=
o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">much.&nbsp; The security =
levels echo the AES security levels of AES-128, AES-192<br>
and AES-256.&nbsp; Using a 224 bit curve with AES-128 only provides roughly=
 112-bits</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">of security versus the 12=
8 bits ostensibly provided by AES-128.&nbsp; I just want to ensure</span><o=
:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">that a user who thinks th=
ey are getting 128 bits of security gets 128 bits of<span class=3D"apple-co=
nverted-space">&nbsp;</span><br>
security.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Kevin</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p><=
/p>
</div>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span class=3D"apple-=
converted-space"><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&q=
uot;,&quot;sans-serif&quot;">&nbsp;</span></span><span style=3D"font-size:1=
0.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Michael
 Hamburg [<a href=3D"mailto:mike@shiftleft.org">mailto:mike@shiftleft.org</=
a>]<span class=3D"apple-converted-space">&nbsp;</span><br>
<b>Sent:</b><span class=3D"apple-converted-space">&nbsp;</span>Monday, May =
05, 2014 2:25 PM<br>
<b>To:</b><span class=3D"apple-converted-space">&nbsp;</span>Igoe, Kevin M.=
<br>
<b>Cc:</b><span class=3D"apple-converted-space">&nbsp;</span><a href=3D"mai=
lto:cfrg@irtf.org">cfrg@irtf.org</a><br>
<b>Subject:</b><span class=3D"apple-converted-space">&nbsp;</span>Re: [Cfrg=
] Task looming over the CFRG</span><o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal">Hi Kevin,<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">As the designer of an ECC system which is aimed at 2=
24-ish-bit security, I&#8217;m curious: is it a firm requirement that the c=
urves be set at 128, 192 and 256 bits? &nbsp;Or was there consensus in the =
meeting that the curves should be set at these
 security levels? &nbsp;Patrick Longa aimed his talk at these security leve=
ls, but I don&#8217;t recall this being stated as a requirement.<o:p></o:p>=
</p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">Cheers,<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">&#8212; Mike<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<div>
<div>
<p class=3D"MsoNormal">On May 5, 2014, at 10:58 AM, Igoe, Kevin M. &lt;<a h=
ref=3D"mailto:kmigoe@nsa.gov"><span style=3D"color:purple">kmigoe@nsa.gov</=
span></a>&gt; wrote:<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
</div>
<div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">As most the folks who read this list ha=
ve noticed, a virtual interim meeting of the CFRG</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">was held on Tues 29 April to discuss th=
e way forward for elliptic curve cryptography</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">in the IETF.&nbsp;<span class=3D"apple-=
converted-space">&nbsp;</span><b><i>This<span class=3D"apple-converted-spac=
e">&nbsp;</span>was<span class=3D"apple-converted-space">&nbsp;</span>drive=
n by an
 earnest plea from the TLS WG for firm<span class=3D"apple-converted-space"=
>&nbsp;</span>guidance<span class=3D"apple-converted-space">&nbsp;</span>fr=
om<span class=3D"apple-converted-space">&nbsp;</span><br>
the CGRG<span class=3D"apple-converted-space">&nbsp;</span>on the selection=
 of elliptic curves<span class=3D"apple-converted-space">&nbsp;</span>for u=
se in TLS.&nbsp; They need an answer<span class=3D"apple-converted-space">&=
nbsp;</span>before<span class=3D"apple-converted-space">&nbsp;</span><br>
the<span class=3D"apple-converted-space">&nbsp;</span>Toronto<span class=3D=
"apple-converted-space">&nbsp;</span>IETF meeting in<span class=3D"apple-co=
nverted-space">&nbsp;</span>late July</i></b>.&nbsp; TLS needs curves for s=
everal<span class=3D"apple-converted-space"><b><i>&nbsp;</i></b></span>leve=
ls
 of security (128,<span class=3D"apple-converted-space">&nbsp;</span><br>
192 and 256), suitable for use in both key agreement and<span class=3D"appl=
e-converted-space"><b><i>&nbsp;</i></b></span>in digital signatures.</span>=
<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"text-indent:-.25in"><span style=3D"font-siz=
e:10.0pt;font-family:Symbol">=B7</span><span style=3D"font-size:7.0pt">&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class=3D"apple-converted-=
space">&nbsp;</span></span><span style=3D"font-size:11.0pt;font-family:&quo=
t;Calibri&quot;,&quot;sans-serif&quot;">The
 consensus of the attendees was that it would be best for TLS to have a sin=
gle<br>
&#8220;mandatory to implement&#8221; curve for each of the three security l=
evels.</span><o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"text-indent:-.25in"><span style=3D"font-siz=
e:10.0pt;font-family:Symbol">=B7</span><span style=3D"font-size:7.0pt">&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class=3D"apple-converted-=
space">&nbsp;</span></span><span style=3D"font-size:11.0pt;font-family:&quo=
t;Calibri&quot;,&quot;sans-serif&quot;">Though
 the attendees were reluctant to make a formal commitment, there<br>
was clearly a great deal of support for the Montgomery curve curve25519 (FY=
I, the<span class=3D"apple-converted-space">&nbsp;</span><br>
25519 refers to the fact that arithmetic is done modulo the prime 2**255 &#=
8211; 19 ).</span><o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"text-indent:-.25in"><span style=3D"font-siz=
e:10.0pt;font-family:Symbol">=B7</span><span style=3D"font-size:7.0pt">&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class=3D"apple-converted-=
space">&nbsp;</span></span><span style=3D"font-size:11.0pt;font-family:&quo=
t;Calibri&quot;,&quot;sans-serif&quot;">curve25519
 only fills one of the three required security levels.&nbsp; We still need<=
br>
curves of size near 384 bits and 512 bits.</span><o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"text-indent:-.25in"><span style=3D"font-siz=
e:10.0pt;font-family:Symbol">=B7</span><span style=3D"font-size:7.0pt">&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class=3D"apple-converted-=
space">&nbsp;</span></span><span style=3D"font-size:11.0pt;font-family:&quo=
t;Calibri&quot;,&quot;sans-serif&quot;">NIST
 curves: I doubt TLS will be willing to revisit the question of elliptic cu=
rves once the<span class=3D"apple-converted-space">&nbsp;</span><br>
CFRG has made their recommendation.&nbsp; Another option to consider is adv=
ising TLS to<br>
use of the NIST curves in the short term, buying time for the CFRG to do an=
 unrushed<span class=3D"apple-converted-space">&nbsp;</span><br>
exploration of the alternatives, drawing academia and other standards bodie=
s into the<span class=3D"apple-converted-space">&nbsp;</span><br>
discussion.</span><o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">P.S.&nbsp; It has been suggested that t=
he CFRG hold a session at the Crypto conference in</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">Santa Barbara in an effort to draw in m=
ore participation from the academic community.</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">No guarantees we can pull this off, but=
 it is worth the attempt. Thoughts? Volunteers?</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">P.P.S. We need to start lining up speak=
ers for the CFRG session at IETF-90 (Toronto).</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#333333">&nbsp;</span><o:p></o:p><=
/p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:#333333">----------------&#43;-----------------------=
---------------------------</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:#333333">Kevin M. Igoe&nbsp;&nbsp; | &quot;We can't s=
olve problems by using the same kind</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:#333333"><a href=3D"mailto:kmigoe@nsa.gov"><span styl=
e=3D"color:purple">kmigoe@nsa.gov</span></a>&nbsp; | of thinking we used wh=
en we created them.&quot;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:#333333">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Albert Einstein -</sp=
an><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:#333333">----------------&#43;-----------------------=
---------------------------</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:9.0pt;font-family:&quot;Hel=
vetica&quot;,&quot;sans-serif&quot;">______________________________________=
_________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org"><span style=3D"color:purple">Cfrg@irtf.org=
</span></a><br>
<a href=3D"http://www.irtf.org/mailman/listinfo/cfrg"><span style=3D"color:=
purple">http://www.irtf.org/mailman/listinfo/cfrg</span></a></span><o:p></o=
:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_3C4AAD4B5304AB44A6BA85173B4675CABAA40611MSMRGH1UEA03cor_--


From nobody Tue May  6 05:47:57 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 9765D1A02E6 for <cfrg@ietfa.amsl.com>; Tue,  6 May 2014 05:47:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.251
X-Spam-Level: 
X-Spam-Status: No, score=-3.251 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.651] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V2bOfIl8I10d for <cfrg@ietfa.amsl.com>; Tue,  6 May 2014 05:47:54 -0700 (PDT)
Received: from a.mx.secunet.com (a.mx.secunet.com [195.81.216.161]) by ietfa.amsl.com (Postfix) with ESMTP id 769521A0061 for <cfrg@irtf.org>; Tue,  6 May 2014 05:47:54 -0700 (PDT)
Received: from localhost (alg1 [127.0.0.1]) by a.mx.secunet.com (Postfix) with ESMTP id 1F9221A00BB; Tue,  6 May 2014 14:47:50 +0200 (CEST)
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 DOe0fBoGmjA5; Tue,  6 May 2014 14:47:41 +0200 (CEST)
Received: from mail-gw-int (unknown [10.53.40.207]) by a.mx.secunet.com (Postfix) with ESMTP id 03DB81A00BA; Tue,  6 May 2014 14:47:41 +0200 (CEST)
Received: from [10.53.40.204] (port=50306 helo=mail-essen-01.secunet.de) by mail-gw-int with esmtp (Exim 4.80 #2 (Debian)) id 1Whema-0002Ij-F8; Tue, 06 May 2014 14:47:40 +0200
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.181.6; Tue, 6 May 2014 14:47:40 +0200
Message-ID: <5368D9EB.8050700@secunet.com>
Date: Tue, 6 May 2014 14:47:39 +0200
From: Johannes Merkle <johannes.merkle@secunet.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version: 1.0
To: Watson Ladd <watsonbladd@gmail.com>, "Igoe, Kevin M." <kmigoe@nsa.gov>
References: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov> <CACsn0ckenF3ps-sUmwD8QAQQVpSdsLc7KZX+FpZWuD8nXnLQTA@mail.gmail.com>
In-Reply-To: <CACsn0ckenF3ps-sUmwD8QAQQVpSdsLc7KZX+FpZWuD8nXnLQTA@mail.gmail.com>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.208.1.57]
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/7UGBHI6sjLTQBKuRQmdkS_WLHGc
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Task looming over the CFRG
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 06 May 2014 12:47:55 -0000

Watson,

> Digital signatures is a bit hairy because of the issue of certs: you
> end up needing to support more curves than you would think you would
> going in. But yes, we should discuss adopting more Schnorr-like
> mechanisms then ECDSA: the patents that forced ECDSA to look the way
> it did are long gone. However, that's not what the current TLS draft
> is about: it's purely addressing key exchange. Certificate changes
> will be a bit more work.
> 
While I agree that Schnorr-like signatures (potentially deterministic) have slight advantages over ECDSA, the discussion
on the signature scheme is a different topic, isn't it? Most ECDSA implementations could be easily adopted to twisted
Edwards curves (or any other elliptic curve representations for that matter) by exchanging the underlying curve
arithmetic, without any change in the code implementing the signature algorithm.

I am not even sure, if using ECDSA over twisted Edwards curves requires new signature algorithm OIDs and ASN1 syntax.
The signature consists of two integers r and s, only the public key and the curve parameters need to be re-interpreted.

-- 
Johannes


From nobody Tue May  6 10:40:23 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 B08891A0196 for <cfrg@ietfa.amsl.com>; Tue,  6 May 2014 10:40:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.552
X-Spam-Level: 
X-Spam-Status: No, score=-14.552 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, J_CHICKENPOX_45=0.6, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651, 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 uzwESi1T_Zbb for <cfrg@ietfa.amsl.com>; Tue,  6 May 2014 10:40:18 -0700 (PDT)
Received: from rcdn-iport-3.cisco.com (rcdn-iport-3.cisco.com [173.37.86.74]) by ietfa.amsl.com (Postfix) with ESMTP id 3260C1A0230 for <cfrg@irtf.org>; Tue,  6 May 2014 10:40:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=19176; q=dns/txt; s=iport; t=1399398015; x=1400607615; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; bh=OtdUtLmzTJzYtikHKnWpSG2MSkudrTyHDnwyaeTwucM=; b=Q8Li1tFaliVsdnv6SeWY9+bpsakS4GhFZfTOAD5XcJPG0kqWy0jP03r1 3pDQC7tyoQS5CPUuqs8XSTsaUYkEulfflZVr1uonl8HsOOkIOdG2AK2kE iNAd4IqE/vYk4uHeToJ7vf6YMewbDGVjA0QQqGVZSuEss3M0RZAhfQ4U+ Q=;
X-Files: cfrg-spring-2014-ecc.txt : 17948
X-IronPort-AV: E=Sophos;i="4.97,998,1389744000";  d="txt'?scan'208";a="322811716"
Received: from alln-core-3.cisco.com ([173.36.13.136]) by rcdn-iport-3.cisco.com with ESMTP; 06 May 2014 17:40:14 +0000
Received: from [10.0.2.15] (rtp-mcgrew-8914.cisco.com [10.117.10.229]) by alln-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id s46HeDxQ013845; Tue, 6 May 2014 17:40:13 GMT
Message-ID: <53691E7D.9070603@cisco.com>
Date: Tue, 06 May 2014 13:40:13 -0400
From: David McGrew <mcgrew@cisco.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10
MIME-Version: 1.0
To: "cfrg@irtf.org" <cfrg@irtf.org>, Dan Brown <dbrown@certicom.com>, Watson Ladd <watsonbladd@gmail.com>, Patrick Longa Pierola <plonga@microsoft.com>, Rene Struik <rstruik.ext@gmail.com>
References: <53467CEA.8070008@cisco.com> <53592F62.8080108@cisco.com> <535E9A00.20109@cisco.com> <535EA25C.7030307@cisco.com>
In-Reply-To: <535EA25C.7030307@cisco.com>
Content-Type: multipart/mixed; boundary="------------030101090806090303000200"
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/kV896BJFlQ6M_owc9gmLj3HWPd0
Cc: "kathleen.moriarty@emc.com" <kathleen.moriarty@emc.com>, Joseph Salowey <jsalowey@cisco.com>, Sean Turner <turners@ieca.com>
Subject: [Cfrg] Recording and chat transcript CFRG Spring 2014 Interim Meeting on ECC
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 06 May 2014 17:40:21 -0000

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

Hi,

The recording of the interim meeting is now available on the WebEx 
service site at:
https://cisco.webex.com/ciscosales/lsr.php?RCID=221f79be7dcd4b44b749e62760cc7d22

CFRG Spring 2014 Interim Meeting on ECC-20140429 1908-1
Tuesday, April 29, 2014 3:08 pm New York Time
2 Hours 49 Minutes

To view more options for this recording, such as downloading, click the 
link below:
https://cisco.webex.com/ciscosales/viewrd.php?RCID=6ebcd1f0c22a4ec5ad44e7a4b31ca5fa

The transcript from the meeting's chat session are attached.

Thanks again to Patrick, Watson, Dan, Rene, and Eric for their 
presentations.

David



--------------030101090806090303000200
Content-Type: text/plain; charset=UTF-8;
 name="cfrg-spring-2014-ecc.txt"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment;
 filename="cfrg-spring-2014-ecc.txt"

04/29/2014    15:02:03 PM    from Sean Turner to Everyone:	David - can hear you just fine
04/29/2014    15:04:18 PM    from Sean Turner to Everyone:	can see it just fine
04/29/2014    15:04:24 PM    from Dan Harkins to Everyone:	I can see it!
04/29/2014    15:10:22 PM    from sftcd to Everyone:	a few folks also in cfrg@jabber.ietf.org
04/29/2014    15:14:05 PM    from DJB and Tanja Lange to Everyone:	got a comment
04/29/2014    15:22:48 PM    from DJB and Tanja Lange to Everyone:	comment from djb: it seems that R1 implies R3 (and much more)
04/29/2014    15:26:23 PM    from Hannes Tschofenig to Everyone:	Cannot see the slides, Rene
04/29/2014    15:27:16 PM    from Watson Ladd to Everyone:	I see nothing but a yellow box
04/29/2014    15:48:43 PM    from Uri to Everyone:	I'm interested in the paper.
04/29/2014    15:50:18 PM    from Yoav Nir to Everyone:	I don't see any slides
04/29/2014    15:50:29 PM    from DJB and Tanja Lange to Everyone:	this presentation is pure audio, no slides
04/29/2014    15:50:40 PM    from DJB and Tanja Lange to Everyone:	(as announced)
04/29/2014    15:55:23 PM    from DJB and Tanja Lange to Everyone:	comment from djb: the 2008 koblitz-koblitz-menezes paper, section 11, contains five counterexamples to dan brown's assertion that random curve choices are more secure
04/29/2014    15:57:21 PM    from DJB and Tanja Lange to Everyone:	comment continued: in these five examples, under perfectly believable hypotheses, random curve choices are _less_ secure
04/29/2014    15:57:49 PM    from DJB and Tanja Lange to Everyone:	comment continued: i''m not aware of any papers disputing any of the examples
04/29/2014    15:58:46 PM    from Uri to Everyone:	The cited paper states that 
04/29/2014    15:59:08 PM    from Uri to Everyone:	it is "possible to come up with a curve less secure than CM-generated one". It does not say how likely it is.
04/29/2014    15:59:34 PM    from Uri to Everyone:	I meant "randomly generated curve" of course
04/29/2014    16:01:54 PM    from Watson Ladd to Everyone:	Cheon is irrelevant to all protocols on the internet today. They reduce to DDH, not SDH, because you expose H(g^{xy}) not g^(xy)
04/29/2014    16:02:02 PM    from Watson Ladd to Everyone:	how do random curves help with this?
04/29/2014    16:29:16 PM    from DJB and Tanja Lange to Everyone:	ok
04/29/2014    16:37:49 PM    from DJB and Tanja Lange to Everyone:	djb here, terminology nitpick: the word "complete" is not being used correctly here; i agree that patrick is alluding to a complete single-scalar-multiplication method but the addition per se is not complete
04/29/2014    16:39:10 PM    from DJB and Tanja Lange to Everyone:	djb here, more serious objection: the assertion of producing only half of all public keys is incorrect, and is already addressed in the original curve25519 paper
04/29/2014    16:43:45 PM    from Michael Hamburg to Everyone:	Is there even any reason to set the high bit?  I mean, the Montgomery ladder works in constant time even if the high bit is clear, right?
04/29/2014    16:44:41 PM    from DJB and Tanja Lange to Everyone:	yes, setting high bit allows a wider range of safe implementation strategies (even though it's not necessary for one good strategy)
04/29/2014    16:46:44 PM    from DJB and Tanja Lange to Everyone:	sorry, i realize that the target of the yes can be misunderstood. trying again: yes, there is a reason to set the high bit; yes, a simple implementation of the montgomery ladder works in constant time no matter what happens to the high bit; the reason that the high bit is useful is that it also allows other common implementation strategies to run in constant time
04/29/2014    16:48:37 PM    from Watson Ladd to Everyone:	What is the wire format for hybrid 2? Is it twisted Edwards y only, or something else?
04/29/2014    16:52:55 PM    from Michael Hamburg to Everyone:	The goal of Goldilocks is not to target 192-bit security, but to have the biggest field that's >=192-bit security at a given performance level.
04/29/2014    16:55:58 PM    from Uri to Everyone:	I personallu would rather not have to deal with small torsion points and their consequences.
04/29/2014    16:57:22 PM    from Hannes Tschofenig to Everyone:	Tanja had some questions during talk and I want to hear the response from Patrick. 
04/29/2014    16:58:33 PM    from Hannes Tschofenig to Everyone:	I also have a question: I would like to know whether Patrick had released his code somewhere because I would like to run it on Cortex M3
04/29/2014    17:02:46 PM    from Kohei KASAMATSU to Everyone:	Does the scope of this meeting include pairing friendly curves?
(I understood that Patrick Longaâ€™s scope does not include pairing friendly curves)
I believe that we need to separate the discussion on security of normal curves and pairing friendly curves and the security requirement of pairing friendly curves should not be included in this discussion. Because these requirements of normal curves and pairing friendly curves are different. (DDH is not satisfied in pairing friendly curves, we use pairing based cryptography based on decisional bilinear diffie-hellman assumption, decision linear assumption and so on)

04/29/2014    17:08:10 PM    from Michael Hamburg to Everyone:	The biggest problem with NIST primes in my experience is that they are designed for radix-2^32, which will necessitate carry chains, and also causes lots of shifting on 64-bit.  It's better on many platforms to use a radix like 2^51 or 2^56 to avoid carry chains.  The worst offender is P256, which unfortunately is also the most commonly used one.
04/29/2014    17:09:19 PM    from Hannes Tschofenig to Everyone:	Tanja, your line was breaking up
04/29/2014    17:09:20 PM    from DJB and Tanja Lange to Everyone:	trying the chat
04/29/2014    17:09:45 PM    from DJB and Tanja Lange to Everyone:	the question is what patrick meant by taking the rigidity even further
04/29/2014    17:11:34 PM    from DJB and Tanja Lange to Everyone:	djb here: we all agree that there's a small amount of wiggle room. however, efficiency provides the best tool that we have to quantitatively limit this wiggle room.
04/29/2014    17:18:09 PM    from Uri to Everyone:	DJB, could you please type?
04/29/2014    17:18:38 PM    from DJB and Tanja Lange to Everyone:	for curve25519 there's a verilog implementation, not optimized for the low-frequency cpus in sensor networks but won't be hard to optimize for that
04/29/2014    17:19:12 PM    from Hannes Tschofenig to Everyone:	That's also my interest and that's why I have asked for availability for the code
04/29/2014    17:19:36 PM    from DJB and Tanja Lange to Everyone:	also had a followup comment to the code-availability question for bigger processors: we run a big benchmarking site http://bench.cr.yp.to that has collected more than 1000 implementations of various functions from various people
04/29/2014    17:19:50 PM    from DJB and Tanja Lange to Everyone:	all public, all verifiable
04/29/2014    17:20:09 PM    from DJB and Tanja Lange to Everyone:	varying in whether it's industrial-strength code
04/29/2014    17:20:30 PM    from sftcd to Everyone:	getting late here... general discussion time?
04/29/2014    17:22:54 PM    from DJB and Tanja Lange to Everyone:	T: depends on the implementation
04/29/2014    17:23:08 PM    from DJB and Tanja Lange to Everyone:	Weierstrass more error prone in implementations
04/29/2014    17:23:36 PM    from DJB and Tanja Lange to Everyone:	and many NIST curves have problems to be properly  implemented 
04/29/2014    17:23:42 PM    from DJB and Tanja Lange to Everyone:	and SCA resistant
04/29/2014    17:25:02 PM    from Kevin Igoe to Everyone:	I vote in favor of the security of curve25519
04/29/2014    17:26:06 PM    from Uri to Everyone:	Are there attacks against, e.g., P256?
04/29/2014    17:26:20 PM    from DJB and Tanja Lange to Everyone:	djb here: criteria such as twist security are flunked by the nist curves
04/29/2014    17:26:52 PM    from Uri to Everyone:	My question is not what it flunks - can you successfully attack it?
04/29/2014    17:26:55 PM    from DJB and Tanja Lange to Everyone:	real attacks such as the recent benger-et-al. attack are caused directly by the difficulty of implementing the old curves properly
04/29/2014    17:26:56 PM    from Watson Ladd to Everyone:	No. But there are attacks on bad implementations, which are annoyingly common. Also, NIST is slow: the curve you don't use because it is too slow is a problem.
04/29/2014    17:27:12 PM    from Uri to Everyone:	And you cannot implement Edwards curve badly?
04/29/2014    17:27:23 PM    from DJB and Tanja Lange to Everyone:	edwards curves avoid many important traps
04/29/2014    17:27:38 PM    from Watson Ladd to Everyone:	You can, but it's much easier to do it right. Avoid variable time loads and you are good
04/29/2014    17:28:20 PM    from DJB and Tanja Lange to Everyone:	it's not just how easy the right implementation is; it's also making screwups harder
04/29/2014    17:28:50 PM    from DJB and Tanja Lange to Everyone:	yes, best spec is in Cryptography in NaCl
04/29/2014    17:29:19 PM    from DJB and Tanja Lange to Everyone:	http://nacl.cr.yp.to
04/29/2014    17:29:38 PM    from Watson Ladd to Everyone:	what about Edwards?
04/29/2014    17:30:03 PM    from Uri to Everyone:	NaCl did not run successfully on Mac OS X out of box.
04/29/2014    17:30:30 PM    from Kevin Igoe to Everyone:	Eric et al: do still you want some feedback on Suite B?
04/29/2014    17:30:34 PM    from DJB and Tanja Lange to Everyone:	the spec includes highly portable interoperable code in multiple languages
04/29/2014    17:30:49 PM    from Watson Ladd to Everyone:	http://cr.yp.to/highspeed/naclcrypto-20090310.pdf
04/29/2014    17:31:09 PM    from Uri to Everyone:	My personal preference: Short Weierstrass form, pseudo-Mersenne primes as Patrick described, coefficients as Patrick described.
04/29/2014    17:31:40 PM    from DJB and Tanja Lange to Everyone:	Tanja here: Uri, how do you secure that?
04/29/2014    17:32:18 PM    from DJB and Tanja Lange to Everyone:	Crypto in NaCl is nacl.cr.yp.to/valid.html
04/29/2014    17:32:24 PM    from Yoav Nir to Everyone:	Uri: so if short weierstrass form, any reason to go for something other that P-256?
04/29/2014    17:32:29 PM    from Watson Ladd to Everyone:	My recommendation: Ed25519, Ed488-Goldilocks, something bigger if anyone wants it
04/29/2014    17:32:32 PM    from Uri to Everyone:	By having competent people doing the work, and other competent people reviewing it.
04/29/2014    17:32:48 PM    from Patrick Longa to Everyone:	Uri, you can refer to our paper to achieve secure, high-perf Weierstrass implementation
04/29/2014    17:33:19 PM    from Uri to Everyone:	Yoav: yes, probably there is.
04/29/2014    17:33:39 PM    from Uri to Everyone:	Patrick: yes, I agree.
04/29/2014    17:34:28 PM    from DJB and Tanja Lange to Everyone:	Patrick, for the moment your implementation falls short of the "competent people reviewing it"
04/29/2014    17:35:05 PM    from DJB and Tanja Lange to Everyone:	djb here: code needs to be simple, audited
04/29/2014    17:38:21 PM    from Watson Ladd to Everyone:	Ed25519
04/29/2014    17:38:33 PM    from Hannes Tschofenig to Everyone:	David, I am sure you will not figure out the answer regarding the best possible curve purely based on this meeting. 
04/29/2014    17:38:34 PM    from Kevin Igoe to Everyone:	Concur
04/29/2014    17:39:03 PM    from Patrick Longa to Everyone:	concur
04/29/2014    17:39:32 PM    from Uri to Everyone:	Paul's point is perfectly valid, IMHO.
04/29/2014    17:39:34 PM    from DJB and Tanja Lange to Everyone:	djb here: it's easy to overlap code between curve25519 and ed25519 (although even done separately both are quite small), and there are big advantages of ed25519 as a signature system beyond the curve25519 advantages
04/29/2014    17:39:44 PM    from Rene Struik to Everyone:	concur - this needs to be dealt with separately
04/29/2014    17:40:45 PM    from DJB and Tanja Lange to Everyone:	ed25519 is much faster than openssl ecdsa-nist-p-256 at verifying signatures
04/29/2014    17:40:52 PM    from Rene Struik to Everyone:	cfrg meeting in Toronto?
04/29/2014    17:40:59 PM    from Hannes Tschofenig to Everyone:	yup
04/29/2014    17:41:04 PM    from Kevin Igoe to Everyone:	Yes
04/29/2014    17:41:43 PM    from Rene Struik to Everyone:	could have pre-meeting Fri before - organize room possible?
04/29/2014    17:42:10 PM    from Uri to Everyone:	IMHO, we need at least 256 and 512-ish (I'd be OK with 521 :)
04/29/2014    17:42:24 PM    from Patrick Longa to Everyone:	we would like to see a more thorough analysis on the different options over the table, covering different security levels
04/29/2014    17:42:25 PM    from Watson Ladd to Everyone:	512? Even TS data is protected by 384
04/29/2014    17:42:44 PM    from Michael Hamburg to Everyone:	I've heard unsubstantiated claims that this is for patent reasons.
04/29/2014    17:42:48 PM    from Watson Ladd to Everyone:	It is
04/29/2014    17:43:19 PM    from Uri to Everyone:	Watson: do you know what'whose patents those are, and when they expire?
04/29/2014    17:44:12 PM    from DJB and Tanja Lange to Everyone:	djb here: i think the security issues are vastly more important than the performance issues
04/29/2014    17:44:16 PM    from Watson Ladd to Everyone:	I heard it was certicom arithmetic with mersenne (not pseudo-mersenne primes) from the 90's.
04/29/2014    17:44:45 PM    from Michael Hamburg to Everyone:	By the way, the Ed448-Goldilocks code is available and might well run on Cortex-M3.  It at least runs on Cortex-A9 with no NEON.
04/29/2014    17:44:45 PM    from Uri to Everyone:	DJB: yes. Watson: thanks!
04/29/2014    17:45:04 PM    from Hannes Tschofenig to Everyone:	to djb: certainly true. We care a lot about side channel attacks in the Internet of Things space. I will certainly play around with your code as well. 
04/29/2014    17:47:11 PM    from DJB and Tanja Lange to Everyone:	T: willing to read and coment
04/29/2014    17:47:17 PM    from DJB and Tanja Lange to Everyone:	but won't be able to write
04/29/2014    17:47:19 PM    from Hannes Tschofenig to Everyone:	I believe cryptographers will have to write the content. That is unavoidable 
04/29/2014    17:48:03 PM    from Uri to Everyone:	May be able to help, need to check.
04/29/2014    17:48:26 PM    from Hannes Tschofenig to Everyone:	To Tanja: Don't you have most of the content written already (from your papers)?
04/29/2014    17:48:33 PM    from Rich Salz to Everyone:	who was it who volunteered to help write?
04/29/2014    17:49:17 PM    from Hannes Tschofenig to Everyone:	Sean Turner volunteered to write
04/29/2014    17:49:31 PM    from Kathleen Moriarty to Everyone:	Sean Turner volunteered to help, but stated he is not a cryptographer.
04/29/2014    17:49:38 PM    from Uri to Everyone:	IMHO, the number of the curves chosen should be small.
04/29/2014    17:49:39 PM    from Kathleen Moriarty to Everyone:	More help is needed
04/29/2014    17:49:39 PM    from paul to Everyone:	I can help a little on an RFC. Been writing "read-able" python code for the algorithms that might serve as a starting point for Edwards curve algorithm discriptions
04/29/2014    17:50:02 PM    from DJB and Tanja Lange to Everyone:	djb here: in principle Cryptography in NaCl is supposed to have everything needed for Curve25519 (for DH; Ed25519 is newer and specified separately) but if it's _not_ enough then clearly the people who see the gaps would be in a good position to write something better
04/29/2014    17:51:08 PM    from Hannes Tschofenig to Everyone:	To Djb: Using the text from the NaCl would already be a great starting point IMHO
04/29/2014    17:51:25 PM    from DJB and Tanja Lange to Everyone:	feel free to start from that
04/29/2014    17:51:26 PM    from Hannes Tschofenig to Everyone:	(for Curve25519)
04/29/2014    17:52:31 PM    from Hannes Tschofenig to Everyone:	+1
04/29/2014    17:52:39 PM    from Watson Ladd to Everyone:	+1
04/29/2014    17:52:49 PM    from Rich Salz to Everyone:	+1
04/29/2014    17:52:50 PM    from Sean Parkinson to Everyone:	Curve25519 is in use. Let's get it standardized

04/29/2014    17:52:56 PM    from Yoav Nir to Everyone:	obviously we can't recommed Curve25519 without a draft to describe it and its implementation
04/29/2014    17:52:59 PM    from paul to Everyone:	+1
04/29/2014    17:53:06 PM    from Rich Salz to Everyone:	sean, i'll help write/revise the original doc if you want
04/29/2014    17:53:31 PM    from Sean Turner to Everyone:	all offers accepted ;)
04/29/2014    17:53:42 PM    from Hannes Tschofenig to Everyone:	To Yoav: There is code and good description available for Curve25519
04/29/2014    17:54:08 PM    from Sean Turner to Everyone:	ack
04/29/2014    17:54:22 PM    from Yoav Nir to Everyone:	Does it pass the "give it to the intern and functional code will come out" test?
04/29/2014    17:54:30 PM    from Watson Ladd to Everyone:	Depends on the intern
04/29/2014    17:55:10 PM    from Rich Salz to Everyone:	+1
04/29/2014    17:55:15 PM    from Hannes Tschofenig to Everyone:	+1
04/29/2014    17:55:19 PM    from Watson Ladd to Everyone:	Sounds good
04/29/2014    17:55:40 PM    from Hannes Tschofenig to Everyone:	Yoav: you can see how far we got with interns implementing crypto ...
04/29/2014    17:56:13 PM    from Hannes Tschofenig to Everyone:	The better approach is to let pros implement libraries and let interns use these libraries
04/29/2014    17:56:25 PM    from Rene Struik to Everyone:	+3
04/29/2014    17:56:33 PM    from Yoav Nir to Everyone:	They don't really implement. They just copy from OpenSSL, and then don't port in the hotfixes.
04/29/2014    17:56:36 PM    from Michael Hamburg to Everyone:	Thanks everyone.
04/29/2014    17:56:52 PM    from Jonathan Berliner to Everyone:	Thanks

--------------030101090806090303000200--


From nobody Tue May  6 13:43: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 E6ABF1A03FD for <cfrg@ietfa.amsl.com>; Tue,  6 May 2014 13:43:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.267
X-Spam-Level: 
X-Spam-Status: No, score=-2.267 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MFWJ0FAt5TV9 for <cfrg@ietfa.amsl.com>; Tue,  6 May 2014 13:43:12 -0700 (PDT)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by ietfa.amsl.com (Postfix) with ESMTP id DFC951A03EE for <cfrg@irtf.org>; Tue,  6 May 2014 13:43:10 -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 s46KgqVm013520; Tue, 6 May 2014 13:43:05 -0700
Received: from sc-owa01.marvell.com ([199.233.58.136]) by mx0b-0016f401.pphosted.com with ESMTP id 1kpnkuau2c-1 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 06 May 2014 13:43:05 -0700
Received: from SC-vEXCH2.marvell.com ([10.93.76.134]) by SC-OWA01.marvell.com ([10.93.76.21]) with mapi; Tue, 6 May 2014 13:43:04 -0700
From: Paul Lambert <paul@marvell.com>
To: Johannes Merkle <johannes.merkle@secunet.com>, Rene Struik <rstruik.ext@gmail.com>, "Igoe, Kevin M." <kmigoe@nsa.gov>, "cfrg@irtf.org" <cfrg@irtf.org>
Date: Tue, 6 May 2014 13:44:30 -0700
Thread-Topic: [Cfrg] Task looming over the CFRG
Thread-Index: Ac9pa8cR0+MkM8IbR3yenMEGuE+7kQ==
Message-ID: <CF8E940C.3A603%paul@marvell.com>
References: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov> <5367DA09.7020906@gmail.com> <CF8D298B.3A3C3%paul@marvell.com> <5367E67B.4050705@gmail.com> <CF8D3B8D.3A425%paul@marvell.com> <5368D023.7000706@secunet.com>
In-Reply-To: <5368D023.7000706@secunet.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.1.140326
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.96, 1.0.14,  0.0.0000 definitions=2014-05-06_06:2014-05-06,2014-05-06,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1405060306
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/d9iuQdN1wJoXmSwU3s5rsC4X16M
Subject: Re: [Cfrg] Task looming over the CFRG
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 06 May 2014 20:43:14 -0000

Johannes,

On 5/6/14, 5:05 AM, "Johannes Merkle" <johannes.merkle@secunet.com> wrote:

>Paul Lambert wrote on 05.05.2014 22:52:
>> NIST curves were created over 15 years ago.  NIST has not kept pace in
>>this period with recommendations to mitigate attacks documented by
>>industry. NIST has not considered the advancements in open cryptographic
>>publications that have identified new curves and algorithms that provide
>>improved performance and better =B3safety=B2 of implementations.
>
>
>We should not mix up curves with (possibly insufficient) recommendations
>for side-channel resistance. These are two
>different things.
>
>I do not mean to advocate the NIST curves, but lack of "safety" is a weak
>argument against them.

Yes.  I agree, and normally avoid the term =B3safe=B2 for these comparisons=
.
However, after close reading of the last decade of NIST publications there
is no recomendations on such potential vulnerabilities.
Plus=20
>It has been shown that
>time-constant and exception-free implementations of Weierstrass curves
>are easily possible while still obtaining good
>efficiency [1].=20
None of which are documented by NIST.


>And invalid-point attacks are very easily (and cheaply) thwarted by point
>validation as recommended by
>NIST and ANSI standards.
Yes.  =B3Safe=B2 has become a smoke cloud of several possible issues some m=
ore
important than others.  The point validation is well covered by NIST.
The comparable topic for Curve25519 is the special selection of the secret
key which is never mentioned as a issue/criteria.


>
>IMHO, lack of rigidity and slightly inferior performance are much better
>arguments against NIST curves.


Here=B9s another attempt at ranking (from --- to +++ range)


               NIST   Twisted Edwards
Side Channel    +         +++
Performance     +         +++
Rigidity        -         +++

I=B9m not sure it=B9s possible to get this mailing list to agree on the
subjective value of some of the criteria.   My earlier rant was trying to
stress the time period that has passed without evaluation or improvements
on the NIST recommendations.  Progress has been made that should be
captured in recomendations for new curves.

Paul


>
>Johannes
>
>[1] Joppe W. Bos, Craig Costello, Patrick Longa, Michael Naehrig:
>Selecting Elliptic Curves for Cryptography: An
>Efficiency and Security Analysis. Cryptology ePrint Archive, Report
>2014/130.
>
>
>


From nobody Tue May  6 15:18:25 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 659E31A063B for <cfrg@ietfa.amsl.com>; Tue,  6 May 2014 15:18:24 -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 QpZJ5TW20vYZ for <cfrg@ietfa.amsl.com>; Tue,  6 May 2014 15:18:23 -0700 (PDT)
Received: from mail-yk0-x22b.google.com (mail-yk0-x22b.google.com [IPv6:2607:f8b0:4002:c07::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 2BF871A0601 for <cfrg@irtf.org>; Tue,  6 May 2014 15:18:23 -0700 (PDT)
Received: by mail-yk0-f171.google.com with SMTP id 142so130389ykq.2 for <cfrg@irtf.org>; Tue, 06 May 2014 15:18:19 -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=wnn57wUgOXtl6wYHadrwdBWaovaLmbyZETTn4dKrk8Y=; b=hkgxkbrpIcARxdM5y61LXxDIg9ONpckSKNjPKihiIqAkRGptb6ZSvGNx0+Odwdaqjq 5K2tg4N9OtrTliS4wCrwTUJ9PBl5KUpZqkxXojE/szFrnjv28ncsPz1OWo0TpshCQobM hEnVqHsiL7rmduiSAbJsG2agl/KshgTM5J6g2IOhRtZxoSGescMU4Achh1LBlPL3gW7y tMMD4Pc4+hOuAuefu/iV24ND6z3kPAwqIIbJbUTMj1DqDvS9JJC7s/LYSqRuAkhCexL+ CJTRNgx3rc+nEkaSRiZCdM6fHHG/2a9wm2fHsyEgs5OkNpHdPvXoAyROf0HOGfo/U7xp R06w==
MIME-Version: 1.0
X-Received: by 10.236.120.66 with SMTP id o42mr62986336yhh.66.1399414699075; Tue, 06 May 2014 15:18:19 -0700 (PDT)
Received: by 10.170.63.197 with HTTP; Tue, 6 May 2014 15:18:19 -0700 (PDT)
Date: Tue, 6 May 2014 15:18:19 -0700
Message-ID: <CACsn0ckeFHeyg0vq+4MWwATPO-nBfN2E8BYMqocTOv7Sy=7shw@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/7I0NBemclBzaZRBAxl7fokvWcnI
Subject: [Cfrg] On Strong DH
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 06 May 2014 22:18:24 -0000

Dear all,
My slides mentioned a reduction to the DDH. It's actually a reduction
to what has been called the strong DH assumption in some papers and
books, namely that calculating g^(ab) given g^a, g^b, and g is hard
even when you can check if your answer is correct. (It's this last
subtlety that I forgot about)

This is not the strong DH assumption as defined in the paper of Cheon!
That strong DH assumption is used in pairing based cryptography, and
assumes g^(ab) is hard to compute given an an oracle that calculates
it unless you feed the oracle g^b. Usually this is called the q-SDH,
or l-SDH, where l or q is the number of oracle queries allowed. It
generally shows up in the context of pairing based cryptography.

Strong DH (not the q-version), like CDH, is commonly believed as hard
as discrete log. Anyone with papers showing otherwise, please let us
know. I don't know of a reduction to CDH, although Gap DH, stronger
than Strong DH, appears true.

Sincerely,
Watson Ladd


From nobody Tue May  6 15:19: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 0B5A21A0643 for <cfrg@ietfa.amsl.com>; Tue,  6 May 2014 15:19:57 -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 hMXdDBU4OsJB for <cfrg@ietfa.amsl.com>; Tue,  6 May 2014 15:19:55 -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 175E91A0601 for <cfrg@irtf.org>; Tue,  6 May 2014 15:19:55 -0700 (PDT)
Received: by mail-yk0-f176.google.com with SMTP id q9so131404ykb.7 for <cfrg@irtf.org>; Tue, 06 May 2014 15:19: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; bh=fNY9kEUFFNNWfuV0S6hv5MkAW6mjkJPW/8GR7RgmiRE=; b=zMXFV/L3Ariqkagcbx7G4QLY4QeiqL9wl7UoqlyPbWFm8CxcKA1oONdrwSITjcz+tS lZUR6CTcLNdR4QNTtuI30LAgbp+1dFhHxRlzMxTtryFWRhi/Fx+2swYQh5YqSp1/217c 4PuEPLeDc6wi7QqULDdhjj3aPlfF2GgCJf+iWNW/ONnRF7Qj7b6wztE/2VTQ+rj9we4O n/j2aKV/BVuY/ZBSmkmbdA0qw+jqXCQKdWXRDhH/VwYtq0eJtNKtwoCNJ2cydOiFD2tr 6vmqEFX/Qx4CvWI8MM9BhVexEqQtunl+/H28MBlzBScG6VtYeDxLSV68RY4EB373cKDt DsjA==
MIME-Version: 1.0
X-Received: by 10.236.134.71 with SMTP id r47mr62097161yhi.83.1399414791095; Tue, 06 May 2014 15:19:51 -0700 (PDT)
Received: by 10.170.63.197 with HTTP; Tue, 6 May 2014 15:19:51 -0700 (PDT)
In-Reply-To: <10B251F2-C589-4AFD-BAD8-9AA1B11E68E6@ll.mit.edu>
References: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov> <E98B42D5-610C-4532-B765-5819A35A456C@shiftleft.org> <3C4AAD4B5304AB44A6BA85173B4675CABAA404E9@MSMR-GH1-UEA03.corp.nsa.gov> <B8586319-F1E6-4CA6-B70E-4D6153DC19A5@shiftleft.org> <10B251F2-C589-4AFD-BAD8-9AA1B11E68E6@ll.mit.edu>
Date: Tue, 6 May 2014 15:19:51 -0700
Message-ID: <CACsn0cnGGvtq3bVjm_YWVdP_Q-CxJBfnVU6pOjMiOMFx9S9vXg@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: "Blumenthal, Uri - 0668 - MITLL" <uri@ll.mit.edu>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/6e_p3ElqI9A-7BpTAgpziuaAs8Y
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Task looming over the CFRG
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 06 May 2014 22:19:57 -0000

On Mon, May 5, 2014 at 2:34 PM, Blumenthal, Uri - 0668 - MITLL
<uri@ll.mit.edu> wrote:
> IMHO, the logic/reason of matching security levels of the cryptographic
> algorithms employed in a protocol suite is fairly obvious and does not need
> an explicit justification. There might be a reason to have the
> key-protecting/key-wrapping algorithm a bit (no pun intended! :) stronger
> than the one that uses that key. I can't think of a reason to protect a key
> with a weaker algorithm than the key-using one.
>
> You observed that strength-matching was not done with RSA (considering the
> key sizes involved, and where those keys may need to be stored and
> processed, one possible reason for that mismatch pops up automatically :).
>
> More surprisingly, matching was not done with ECC either. We don't have an
> explanation for this design choice. Copying designs we don't understand (or
> do we?) does not sound like a good recipe.

I'm not sure if everyone knows this, but given 2^64 AES-128
encryptions of say 0, under different keys, and 2^64 steps, I can
recover one of the keys with probability 1/2 by a trivial application
of the birthday bound.

There are variants of this attack that work with significantly less
data: http://cr.yp.to/snuffle/bruteforce-20050425.pdf explains this
well. The headline result is 2^10 input keys, 2^86 calculation, and
probability close to 1 of finding one of the keys. I can think of many
numbers to describe this situation, but 2^128 isn't one of them.

For discrete log based systems this phenomenon doesn't happen: I
cannot find one discrete log among many in time much faster than to
find a particular discrete log. That's why ChaCha (which uses 256 bit
keys) plus Curve25519 makes sense: an attacker who wants to break such
a combination has to take a discrete log over a group of size roughly
128 or do at least 2^128 trial encryptions, even if given a ludicrous
number of keys to pick from.

Sincerely,
Watson Ladd


From nobody Wed May  7 01:13:07 2014
Return-Path: <plonga@microsoft.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 464371A0186 for <cfrg@ietfa.amsl.com>; Wed,  7 May 2014 01:13:06 -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=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nx9ixTxEZDBQ for <cfrg@ietfa.amsl.com>; Wed,  7 May 2014 01:13:03 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2lp0203.outbound.protection.outlook.com [207.46.163.203]) by ietfa.amsl.com (Postfix) with ESMTP id 028F01A0164 for <cfrg@irtf.org>; Wed,  7 May 2014 01:13:02 -0700 (PDT)
Received: from BY2PR03MB474.namprd03.prod.outlook.com (10.141.141.149) by BY2PR03MB473.namprd03.prod.outlook.com (10.141.141.143) with Microsoft SMTP Server (TLS) id 15.0.939.12; Wed, 7 May 2014 08:12:44 +0000
Received: from BY2PR03MB474.namprd03.prod.outlook.com ([10.141.141.149]) by BY2PR03MB474.namprd03.prod.outlook.com ([10.141.141.149]) with mapi id 15.00.0939.000; Wed, 7 May 2014 08:12:44 +0000
From: Patrick Longa Pierola <plonga@microsoft.com>
To: Watson Ladd <watsonbladd@gmail.com>
Thread-Topic: [Cfrg] Some observations after the ECC interim meeting
Thread-Index: Ac9otvg9Q4jf9oA/Q/+gDHHETUQlJwAAgPeAAENMtaA=
Date: Wed, 7 May 2014 08:12:43 +0000
Message-ID: <15095b3897ec4556a3fe3963b70a1010@BY2PR03MB474.namprd03.prod.outlook.com>
References: <efe621d5b6c7430887f433db7092d125@BY2PR03MB474.namprd03.prod.outlook.com> <CACsn0ckYckN-u63kroR+ygOpXNvkuA3-iqVQSsVcs+EkkiTHTg@mail.gmail.com>
In-Reply-To: <CACsn0ckYckN-u63kroR+ygOpXNvkuA3-iqVQSsVcs+EkkiTHTg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [50.47.83.223]
x-forefront-prvs: 0204F0BDE2
x-forefront-antispam-report: SFV:NSPM; SFS:(10009001)(6009001)(428001)(24454002)(13464003)(51704005)(377454003)(189002)(199002)(83072002)(74662001)(80022001)(66066001)(79102001)(74502001)(64706001)(85852003)(74316001)(81342001)(31966008)(33646001)(20776003)(81542001)(86362001)(92566001)(15202345003)(19580395003)(76576001)(77982001)(101416001)(76176999)(54356999)(50986999)(99286001)(77096999)(4396001)(99396002)(46102001)(19580405001)(83322001)(1411001)(76482001)(19273905006)(86612001)(15975445006)(2656002)(561944002)(87936001)(21056001)(24736002)(563064011)(9853045004); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB473; H:BY2PR03MB474.namprd03.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
received-spf: None (: microsoft.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=plonga@microsoft.com; 
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.onmicrosoft.com
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/DNZn9_J7RtpF32pBm-bDyCXz1gc
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Some observations after the ECC interim meeting
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 07 May 2014 08:13:06 -0000

PiBXaHkgY2FuJ3QgaGlnaGVyIHNlY3VyaXR5IGxldmVscyBmb2xsb3cgdGhlIGxlYWQgb2YgdGhl
IGxvdyBzZWN1cml0eSBsZXZlbHMsIGV2ZW4gaWYgZGVzaWduZWQgYXQgZGlmZmVyZW50IHRpbWVz
Pw0KDQpDb25zaXN0ZW5jeSBvZiB0aGUgY3VydmUgc2VsZWN0aW9uIChjdXJ2ZSBmb3JtLCBzdWJn
cm91cCBzdHJ1Y3R1cmUsIHByaW1lIGZvcm0sIGV0Yy4pIGFjcm9zcyB0aGUgZGlmZmVyZW50IHNl
Y3VyaXR5IGxldmVscyBjYW4gaGF2ZSBzZXZlcmFsIGJlbmVmaXRzIGluIHByYWN0aWNlIChl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mZlcmVuY2UgbWVldGlu
ZywgQXByaWwgMjAxNC4NCj4gaHR0cDovL3BhdHJpY2tsb25nYS53ZWJzLmNvbS9QcmVzZW50YXRp
b25fQ0ZSR19TZWxlY3RpbmdfRWxsaXB0aWNfQ3Vydg0KPiBlc19mb3JfQ3J5cHRvZ3JhcGh5LnBk
Zg0KPg0KPg0KPg0KPg0KPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fXw0KPiBDZnJnIG1haWxpbmcgbGlzdA0KPiBDZnJnQGlydGYub3JnDQo+IGh0dHA6Ly93
d3cuaXJ0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9jZnJnDQo+DQoNCg0KDQotLQ0KIlRob3NlIHdo
byB3b3VsZCBnaXZlIHVwIEVzc2VudGlhbCBMaWJlcnR5IHRvIHB1cmNoYXNlIGEgbGl0dGxlIFRl
bXBvcmFyeSBTYWZldHkgZGVzZXJ2ZSBuZWl0aGVyICBMaWJlcnR5IG5vciBTYWZldHkuIg0KLS0g
QmVuamFtaW4gRnJhbmtsaW4NCg==


From nobody Wed May  7 07:56:50 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 65C8F1A0308 for <cfrg@ietfa.amsl.com>; Wed,  7 May 2014 07:56:48 -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 JjRmfrZfe0Ha for <cfrg@ietfa.amsl.com>; Wed,  7 May 2014 07:56:46 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id CF0161A0092 for <cfrg@irtf.org>; Wed,  7 May 2014 07:56:45 -0700 (PDT)
Received: from xct101cnc.rim.net ([10.65.161.201]) by mhs212cnc.rim.net with ESMTP/TLS/AES128-SHA; 07 May 2014 10:56:38 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT101CNC.rim.net ([fe80::9c22:d9c:c906:c488%16]) with mapi id 14.03.0174.001; Wed, 7 May 2014 10:56:37 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'watsonbladd@gmail.com'" <watsonbladd@gmail.com>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: DDH, GapDH and Static DH [was RE: [Cfrg] On Strong DH]
Thread-Index: Ac9p/vO0v9r8R57dQV2uKmDMy+vtBw==
Date: Wed, 7 May 2014 14:56:37 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5C7DDB7@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.250]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0026_01CF69E3.045907F0"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/v_QQU3CZ2FOitu7EuB9ySUNLvAY
Subject: [Cfrg] DDH, GapDH and Static DH [was RE:  On Strong DH]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 07 May 2014 14:56:48 -0000

------=_NextPart_000_0026_01CF69E3.045907F0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit


More theoretical discussion below that factors into whether to use more
conventional curves like P256, Brainpool, and Curve25519, or something more
radical, like Cheon-secure, and GapDH-friendly.

> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Watson Ladd
> My slides mentioned a reduction to the DDH. 

[DB] Nit on the direction of reductions. I think you meant a reduction of
DDH to TLS, not TLS to DDH.

A reductionist security proof for TLS-DH{E} handshake must assume something
about the PRF in addition to the DH group.

I think that abstracted hashed DH key agreement component can be proved
secure assuming a hard DDH, as you suggesting in a previous email, but also
with an additional assumption KDF/PRF.  I presume that this is actually a
well-known result, and probably implicit of some of the recent security
proof papers on TLS, which cover much more complicated TLS details and
security models.

Although a weak DDH is known to result in an attacked on hashed key
agreement schemes, a hard DDH can help in security proofs and to provide of
margin of error resisting a single point of failure in the PRF (or helping
in more esoteric security models like session state reveals). 

In an earlier email, I suggested using a weak DDH group: this would be
useful if the GapDH security proofs are somehow much better than DDH-base
proofs.  Hence it is a subject for further research.

> It's actually a reduction to what 
> has been called the strong DH assumption in some papers and books, namely

[DB] Good, but what is your reduction that other can verify?  A refereed
publication would be a bonus.

I think a recent IACR eprint by Maurer uses GapDH, among other things, to
prove the security of TLS-DHE.

> that calculating g^(ab) given g^a, g^b, and g is hard even when you can
check if
> your answer is correct. (It's this last subtlety that I forgot about)

[DB] That's what I thought was the GapDH: solving the CDH with the help of a
DDH oracle (even if the DDH oracle is only imaginary). 

That's why I recently suggested using a group in which the DDH oracle can be
made feasible.  Else, what's the use of a GapDH based security reduction
without any kind of DDH oracle?

Even with a DDH-oracle available, a GapDH proof seems weird to me.   If the
adversary can use the DDH-oracle, how can the reducer extract the
adversary's use of the DDH-oracle. That's another reason to label this a
long-term research topic.

Also, deliberately having a weak DDH undermines the security proof relying
on DDH, so there is a tension between GapDH and DDH.

> 
> This is not the strong DH assumption as defined in the paper of Cheon!

[DB] In an earlier paper, Rob Gallant and I called this the static DH
problem.  I suggest keeping with this precedent term "static".

Cheon generalized the attack to depend on n+1, instead of just n-1, so
Cheon's static DH attack supersedes ours.

Cheon applied the attack to pairings group (as did Rob earlier).

> That strong DH assumption is used in pairing based cryptography, and
assumes
> g^(ab) is hard to compute given an an oracle that calculates it unless you
feed
> the oracle g^b. Usually this is called the q-SDH, or l-SDH, where l or q
is the
> number of oracle queries allowed. It generally shows up in the context of
pairing
> based cryptography.

[DB] Other contexts where static DH is relevant:

- re-used static DH keys for key agreement
	- certain usually there's an extra layer of protection, e.g. a
one-way KDF or PRF, so
	- so the benefit of a hard static DHP is mainly for 
		- security proofs and 
		- margins of error (i.e. so PRF is not a single point of
failure),
- signatureless authentication with a DH style static key (similar to above)
- blinded services, e.g. blind signatures and password hardening, well this
is esoteric
- generic services, e.g. a hardware module stores a static DH key, for one
of the services above, but cannot bother with the complexity and variety of
KDFs: ANSI KDF, NIST KDF, TLS PRF, etc., well this is an implementation
convenience only.

Anyway, the main benefit of a hard static DHP (aka Cheon secure) is not for
TLS-ECDHE, but for having a multi-purpose curve.  

That said, there's that IACR eprint which uses the Strong PRF-ODH assumption
in a security proof for TLS-DHE.  As I said before, the Strong PRF-ODH
collapses into the static DH if the PRF collapses into the identity.  If
this is more than just an artefact of the proof technique, and due to some
characteristic of TLS, then maybe static DHP is more important to TLS-DHE
than I thought.  Or, maybe there's something in their security model, like a
corrupt client whose session state can be replayed.  I don't know.

The other point I was trying to make in my presentation, is that if we are
to speculate that secret attacks exist, e.g. against P256, then one strategy
to avoid the secret attack is to infer that secret attacks are most likely
to be similar to known attacks.  For example, Bernstein used this argument
to reason that the small coefficient size in Curve25519 is not a concern,
because no known attacks depend on coefficient size.  The flip side of this
argument is that we should try, if possible, to avoid secret attacks similar
to known attacks.  The Cheon attack is a known attack, and a secret attack
similar to it might depend on the same features in the factorization of n-1
and n+1.  

> 
> Strong DH (not the q-version), like CDH, is commonly believed as hard as
discrete
> log. Anyone with papers showing otherwise, please let us know. I don't
know of
> a reduction to CDH, although Gap DH, stronger than Strong DH, appears
true.
> 
[DB] Since you asked, I have a theoretical result on the issue, in Theorem 3
in

http://eprint.iacr.org/2007/435

(These may be couple layers more theoretical than CFRG, sorry.)


------=_NextPart_000_0026_01CF69E3.045907F0
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
AgIAgDAHBgUrDgMCB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CAqoCAQEwXjBQMRMwEQYKCZImiZPyLGQBGRYDbmV0MRMwEQYKCZImiZPyLGQBGRYDcmlt
MSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZS0YCChfYCekAAwAXxTIwCQYFKw4D
AhoFAKCCAaYwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTQwNTA3
MTQ1NjM2WjAjBgkqhkiG9w0BCQQxFgQU+O6JZVIl4LLQfGOewhTHSy8gC40wZwYJKoZIhvcNAQkP
MVowWDAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcw
DQYIKoZIhvcNAwICASgwBwYFKw4DAhowCgYIKoZIhvcNAgUwbQYJKwYBBAGCNxAEMWAwXjBQMRMw
EQYKCZImiZPyLGQBGRYDbmV0MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vi
b3JkaW5hdGUgQ0EgTUNBMDNZS0YCChfYCekAAwAXxTIwbwYLKoZIhvcNAQkQAgsxYKBeMFAxEzAR
BgoJkiaJk/IsZAEZFgNuZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xJDAiBgNVBAMTG1JJTSBTdWJv
cmRpbmF0ZSBDQSBNQ0EwM1lLRgIKF9gJ6QADABfFMjANBgkqhkiG9w0BAQEFAASBgI1ARcu6nyKA
ccHUrJ7bK6na85PfDFid53/FpTNZbQ4F1Z8pPuMlyZyHAtXIFMB0wZrI2XYIURcUWZawW6RSthqg
Kl3sWjCS4ym7iS97s09CjiGZJq/oAYmRaUkB1xQT7oPIehdVDc3CWGgp4Dhvtyc5ogfz8d7BB/st
e6735A3+AAAAAAAA

------=_NextPart_000_0026_01CF69E3.045907F0--


From nobody Wed May  7 08:09:25 2014
Return-Path: <cloos@jhcloos.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 5BAE21A0345 for <cfrg@ietfa.amsl.com>; Wed,  7 May 2014 08:09:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.652
X-Spam-Level: 
X-Spam-Status: No, score=-2.652 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.651, 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 BpFX6U-kD806 for <cfrg@ietfa.amsl.com>; Wed,  7 May 2014 08:09:20 -0700 (PDT)
Received: from ore.jhcloos.com (ore.jhcloos.com [198.147.23.85]) by ietfa.amsl.com (Postfix) with ESMTP id 88A861A032F for <cfrg@irtf.org>; Wed,  7 May 2014 08:09:20 -0700 (PDT)
Received: by ore.jhcloos.com (Postfix, from userid 10) id B01BB1DDBE; Wed,  7 May 2014 15:09:15 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=ore14; t=1399475355; bh=K2U4/q1kX8HZWmI4DYodHK+XHfZ1JjckFlarGrhy8/g=; h=From:To:Subject:In-Reply-To:References:Date:From; b=NQryWy2v330pfRQe2YiOuaTZXtYhX/CkPmUTzoaERH9WRmX8VHX9v857PJ7+0qFR0 xpjBBYjl4pk7GMEjJiejqYU7qm0PG8fDeVilfgfmwHJKyYXHQVbY1WFcNQ9ltXW7av 7fznOac6Gc2x23BmAfq5XmW11XC+wqs8U8MwHJuQ=
Received: by carbon.jhcloos.org (Postfix, from userid 500) id 9752D6001D; Wed,  7 May 2014 15:06:08 +0000 (UTC)
From: James Cloos <cloos@jhcloos.com>
To: <cfrg@irtf.org>
In-Reply-To: <53691E7D.9070603@cisco.com> (David McGrew's message of "Tue, 06 May 2014 13:40:13 -0400")
References: <53467CEA.8070008@cisco.com> <53592F62.8080108@cisco.com> <535E9A00.20109@cisco.com> <535EA25C.7030307@cisco.com> <53691E7D.9070603@cisco.com>
User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux)
Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEX///8ZGXBQKKnCrDQ3 AAAAJElEQVQImWNgQAAXzwQg4SKASgAlXIEEiwsSIYBEcLaAtMEAADJnB+kKcKioAAAAAElFTkSu QmCC
Copyright: Copyright 2014 James Cloos
OpenPGP: 0x997A9F17ED7DAEA6; url=https://jhcloos.com/public_key/0x997A9F17ED7DAEA6.asc
OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6
Date: Wed, 07 May 2014 11:06:08 -0400
Message-ID: <m361lhhbly.fsf@carbon.jhcloos.org>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain
X-Hashcash: 1:30:140507:cfrg@irtf.org::L/Uh+pcYPma+WfNZ:000+n5eR
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/BJKJ9uOdJr2YTlcIzsAxtH-dj-g
Subject: Re: [Cfrg] Recording and chat transcript CFRG Spring 2014 Interim Meeting on ECC
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 07 May 2014 15:09:22 -0000

>>>>> "DM" == David McGrew <mcgrew@cisco.com> writes:

DM> To view more options for this recording, such as downloading, click
DM> the link below:
DM> https://cisco.webex.com/ciscosales/viewrd.php?RCID=6ebcd1f0c22a4ec5ad44e7a4b31ca5fa

After logging in to that, I get redirected to cisco's 403 page.

It would be much easier to provide a recording on an ietf.org page....

-JimC
--
James Cloos <cloos@jhcloos.com>         OpenPGP: 0x997A9F17ED7DAEA6


From nobody Wed May  7 10:41: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 4946F1A081F for <cfrg@ietfa.amsl.com>; Wed,  7 May 2014 10:41:46 -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] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ufL63jgYpyYd for <cfrg@ietfa.amsl.com>; Wed,  7 May 2014 10:41: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 AEF811A081E for <cfrg@irtf.org>; Wed,  7 May 2014 10:41:43 -0700 (PDT)
Received: from xct102cnc.rim.net ([10.65.161.202]) by mhs215cnc.rim.net with ESMTP/TLS/AES128-SHA; 07 May 2014 13:41:34 -0400
Received: from XCT111CNC.rim.net (10.65.161.211) by XCT102CNC.rim.net (10.65.161.202) with Microsoft SMTP Server (TLS) id 14.3.174.1; Wed, 7 May 2014 13:41:33 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT111CNC.rim.net ([::1]) with mapi id 14.03.0174.001; Wed, 7 May 2014 13:41:33 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: GapDH groups: a long-term research question
Thread-Index: Ac9oleqS12YElKZWR3ulBq2CeyojDgBhMBcw
Date: Wed, 7 May 2014 17:41:32 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5C7DFF3@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5C7C169@XMB116CNC.rim.net>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5C7C169@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.251]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0034_01CF69FA.0E7CBCB0"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/HS_3T_9g5OzoSRdfdzf1jlM3wEs
Subject: Re: [Cfrg] GapDH groups: a long-term research 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, 07 May 2014 17:41:46 -0000

------=_NextPart_000_0034_01CF69FA.0E7CBCB0
Content-Type: multipart/related;
	boundary="----=_NextPart_001_0035_01CF69FA.0E7CBCB0"


------=_NextPart_001_0035_01CF69FA.0E7CBCB0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_002_0036_01CF69FA.0E7CBCB0"


------=_NextPart_002_0036_01CF69FA.0E7CBCB0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Kiltz suggests

 

http://eprint.iacr.org/2007/036.pdf

 

to use a gap-group, albeit in the context encryption (KEM), and cites
earlier proposals.

 

So, at least, the idea to use a gap-group has been around for a while.

 

Kiltz mentions one of the benefits: public verifiability.  I have not quite
followed with what this means, but for now, I am guessing that it means
third parties can verify whether a ciphertext is valid (or, perhaps even a
key agreement session).  That sounds a bit like a signature.  Not sure if
that is a huge benefit, since one can instead just add on a signature, as
TLS servers do in TLS-DHE.

 

From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Dan Brown
Sent: Monday, May 05, 2014 3:39 PM
To: cfrg@irtf.org
Subject: [Cfrg] GapDH groups: a long-term research question

 

Dear CFRG List,

 

What about EC groups with a pairing to an extension field with a degree high
enough such that the DLP is infeasible in the extension field, but low
enough such that pairing is feasible (but not practical)?

 

An upside is that proofs assuming hard GapDH problem become less
theoretical, since a DDH oracle becomes available.  E.g. if a 2^128
adversary can be converted to a 2^129  DH solver by invoking the a 2^64 cost
pairing 2^64 times, then we have a fairly concrete construction.

 

A downside is that it weakens the DDH, but then we always use a one-way
PRF/KDF, so DDH attacks cannot be extended to PRF.  (This is the same as one
argument to ignore Cheon attacks against schemes with static DH keys and
hashed shared secrets.)

 

A second downside is the risk of using such a curve, because it is special.
Random curves would not be expected to have this property.

 

A third downside is that this may not be a well-studied idea, except by
those who often think about the GapDH, and TLS seems to want something soon
(to solve a different problem .).

 

I raised this now, because of the argument that CFRG should commit to
recommending a single curve (per security level), that this recommendation
should be long-lasting, and that the same recommendation should be used
across multiple IETF applications.  To me, this suggests that CFRG should
recommend a curve as secure as possible.

 

Best regards,

 


Daniel Brown


Research In Motion Limited 

 

	

 




	

 


------=_NextPart_002_0036_01CF69FA.0E7CBCB0
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:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle19
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'color:#1F497D'>Kiltz suggests<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'><a =
href=3D"http://eprint.iacr.org/2007/036.pdf">http://eprint.iacr.org/2007/=
036.pdf</a><o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>to use a gap-group, =
albeit in the context encryption (KEM), and cites earlier =
proposals.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>So, at least, the idea =
to use a gap-group has been around for a while.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>Kiltz mentions one of =
the benefits: public verifiability.&nbsp; I have not quite followed with =
what this means, but for now, I am guessing that it means third parties =
can verify whether a ciphertext is valid (or, perhaps even a key =
agreement session).&nbsp; That sounds a bit like a signature.&nbsp; Not =
sure if that is a huge benefit, since one can instead just add on a =
signature, as TLS servers do in TLS-DHE.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Cfrg [mailto:cfrg-bounces@irtf.org] <b>On Behalf Of </b>Dan =
Brown<br><b>Sent:</b> Monday, May 05, 2014 3:39 PM<br><b>To:</b> =
cfrg@irtf.org<br><b>Subject:</b> [Cfrg] GapDH groups: a long-term =
research question<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><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>What about EC groups with a pairing =
to an extension field with a degree high enough such that the DLP is =
infeasible in the extension field, but low enough such that pairing is =
feasible (but not practical)?<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>An upside is that proofs assuming =
hard GapDH problem become less theoretical, since a DDH oracle becomes =
available.&nbsp; E.g. if a 2^128 adversary can be converted to a 2^129 =
&nbsp;DH solver by invoking the a 2^64 cost pairing 2^64 times, then we =
have a fairly concrete construction.<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 downside is that it weakens the =
DDH, but then we always use a one-way PRF/KDF, so DDH attacks cannot be =
extended to PRF.&nbsp; (This is the same as one argument to ignore Cheon =
attacks against schemes with static DH keys and hashed shared =
secrets.)<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 second downside is the risk of using such a curve, =
because it is special. &nbsp;Random curves would not be expected to have =
this property.<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 third downside is that this may not be a well-studied =
idea, except by those who often think about the GapDH, and TLS seems to =
want something soon (to solve a different problem =
&#8230;).<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 raised this now, because of the argument that CFRG should =
commit to recommending a single curve (per security level), that this =
recommendation should be long-lasting, and that the same recommendation =
should be used across multiple IETF applications.&nbsp; To me, this =
suggests that CFRG should recommend a curve as secure as =
possible.<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><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'><p class=3DMsoNormal style=3D'line-height:11.25pt'><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'>Da=
niel Brown<o:p></o:p></span></p></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:#0073BC'>=
Research In Motion Limited</span><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'> =
<o:p></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@01CF69FA.0CDE7600"><o:p></o:p></span></p></td></t=
r><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></div></body></html>
------=_NextPart_002_0036_01CF69FA.0E7CBCB0--

------=_NextPart_001_0035_01CF69FA.0E7CBCB0
Content-Type: image/jpeg;
	name="image001.jpg"
Content-Transfer-Encoding: base64
Content-ID: <image001.jpg@01CF69FA.0CDE7600>

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

------=_NextPart_001_0035_01CF69FA.0E7CBCB0--

------=_NextPart_000_0034_01CF69FA.0E7CBCB0
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
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oUo04ufVWcnLnwcr2+p794f/A7o7gYB
IiyIDZOaAAAAAAAA

------=_NextPart_000_0034_01CF69FA.0E7CBCB0--


From nobody Wed May  7 12:06:54 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 CE5D01A0298 for <cfrg@ietfa.amsl.com>; Wed,  7 May 2014 12:06:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.299
X-Spam-Level: 
X-Spam-Status: No, score=-1.299 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, J_CHICKENPOX_12=0.6] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NoXweiW0c1S9 for <cfrg@ietfa.amsl.com>; Wed,  7 May 2014 12:06:49 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id BC7AA1A0219 for <cfrg@irtf.org>; Wed,  7 May 2014 12:06:48 -0700 (PDT)
Received: from xct103cnc.rim.net ([10.65.161.203]) by mhs212cnc.rim.net with ESMTP/TLS/AES128-SHA; 07 May 2014 15:06:39 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT103CNC.rim.net ([fe80::b8:d5e:26a5:f4d6%17]) with mapi id 14.03.0174.001; Wed, 7 May 2014 15:06:38 -0400
From: Dan Brown <dbrown@certicom.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: Reduction and pseudoreduction of static DHP to TLS-DH 
Thread-Index: Ac9qJcyC2H5tCmRGTo6F9yo6htMX/Q==
Date: Wed, 7 May 2014 19:06:38 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5C7E0C2@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0009_01CF6A05.F1E681B0"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/I-LqNyUd74eKOdR9ELLRThfqJ60
Subject: [Cfrg] Reduction and pseudoreduction of static DHP to TLS-DH
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 07 May 2014 19:06:52 -0000

------=_NextPart_000_0009_01CF6A05.F1E681B0
Content-Type: multipart/related;
	boundary="----=_NextPart_001_000A_01CF6A05.F1E681B0"


------=_NextPart_001_000A_01CF6A05.F1E681B0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_002_000B_01CF6A05.F1E681B0"


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

Suppose adversary A can attack TLS-(EC)DH (or a semi-static TLS-DHE being
proposed to TLS 1.3). To be concrete, suppose that A interacts via TLS with
a server (or client) who possesses a static DH private key s, and thereby
computes some key derived from s, e.g. TLS-PRF(s, other public info), such
as past and future TLS master secrets from the server with other honest
parties (not A).  We also consider a stronger version of A, we can call A+,
that is able to compute the actual server key s using this information.

 

For the reduction, we use A+ to build an adversary B that can solve the
static DHP.

 

Recall that B is given an oracle O that returns g^st for any input g^t,
which is part of the definition of the static DHP.

 

So, B implements whatever version of TLS that A+ attacks, except instead of
using the actual key s, B calls its oracle O whenever TLS would use the
static private key s.

 

At the end of the day, A+ returns s, and thus B wins its static DHP
challenge.

 

To address the weaker adversary A, we use a pseudoreduction.

 

As an intermediate step, we a formal reduction: we build an adversary B-
that solves the static DHP given the help of a second oracle O+ that can
invert the TLS-PRF to find s.  

 

Adversary B- works just like B, except when A returns TLS-PRF(s,public
data), B- now applies its second oracle O+ to compute s.

 

Now we apply intuition: how can the oracle O+, which inverts TLS-PRF help at
all to solve the static DHP, which is defined purely in terms of a group?

 

In other words, any such B- really ought to work without needing to use O+,
so ought to solve static DHP.

 

So, the formal reduction for TLS-PRF-inverter-assisted static DHP can be
deemed as a pseudoreduction for plain old static DHP.

 

If the static DHP is hard, then it seems like static modes of TLS have a
security.  This is a kind of security proof.

 

Note, that TLS uses s in a way other than as static DHP, then the reductions
above fail.

 

Cheon's attack is a known attack against the static DHP, and sets an upper
bound for how hard the static DHP is in a group.

 

If we want to have the most benefit from the reduction and pseudoreduction
I've outlined above, then we should choose a group whose threshold against
static DHP could be as high as possible.

 

Just to be clear, we cannot reverse this reduction to apply Cheon's attack
against TLS-DH, because we do not know of any way to invert TLS-PRF.  

 

But if we value reductions, then why not choose a group in which static DHP
appears harder?  The point of reduction is to better than just avoid known
attacks, but to try to avoid unknown attacks.

 

Sure, it's may well possible to reduce to more complicated problems, oracle
DH, gap-hashed-DH, that combine properties of the group and hash, but this
brings the assumptions closer to what one is trying to prove.

 

Well, I hope that was clear enough.  I am sorry if I was unclear before,
because I did not really spell out the reductions above, even to myself.

 

Best regards,

 


Daniel Brown


Research In Motion Limited 

 

	

 




	

 


------=_NextPart_002_000B_01CF6A05.F1E681B0
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:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
lang=3DEN-CA>Suppose adversary A can attack TLS-(EC)DH (or a semi-static =
TLS-DHE being proposed to TLS 1.3). To be concrete, suppose that A =
interacts via TLS with a server (or client) who possesses a static DH =
private key s, and thereby computes some key derived from s, e.g. =
TLS-PRF(s, other public info), such as past and future TLS master =
secrets from the server with other honest parties (not A).&nbsp; We also =
consider a stronger version of A, we can call A+, that is able to =
compute the actual server key s using this =
information.<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>For the reduction, we use A+ to build an adversary B that =
can solve the static DHP.<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>Recall that B is given an oracle O =
that returns g^st for any input g^t, which is part of the definition of =
the static DHP.<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>So, B implements whatever version of TLS that A+ attacks, =
except instead of using the actual key s, B calls its oracle O whenever =
TLS would use the static private key s.<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>At the end of the day, A+ returns =
s, and thus B wins its static DHP challenge.<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>To address the weaker adversary A, =
we use a pseudoreduction.<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>As an intermediate step, we a =
formal reduction: we build an adversary B- that solves the static DHP =
given the help of a second oracle O+ that can invert the TLS-PRF to find =
s.&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>Adversary B- works just like B, except when A returns =
TLS-PRF(s,public data), B- now applies its second oracle O+ to compute =
s.<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>Now we apply intuition: how can the oracle O+, which =
inverts TLS-PRF help at all to solve the static DHP, which is defined =
purely in terms of a group?<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>In other words, any such B- really =
ought to work without needing to use O+, so ought to solve static =
DHP.<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>So, the formal reduction for TLS-PRF-inverter-assisted =
static DHP can be deemed as a pseudoreduction for plain old static =
DHP.<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 the static DHP is hard, then it seems like static modes =
of TLS have a security.&nbsp; This is a kind of security =
proof.<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>Note, that TLS uses s in a way other than as static DHP, =
then the reductions above fail.<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>Cheon&#8217;s attack is a known =
attack against the static DHP, and sets an upper bound for how hard the =
static DHP is in a group.<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 we want to have the most benefit =
from the reduction and pseudoreduction I&#8217;ve outlined above, then =
we should choose a group whose threshold against static DHP could be as =
high as possible.<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>Just to be clear, we cannot reverse this reduction to apply =
Cheon&#8217;s attack against TLS-DH, because we do not know of any way =
to invert TLS-PRF.&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>But if we value reductions, then =
why not choose a group in which static DHP appears harder?&nbsp; The =
point of reduction is to better than just avoid known attacks, but to =
try to avoid unknown 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>Sure, it&#8217;s may well possible =
to reduce to more complicated problems, oracle DH, gap-hashed-DH, that =
combine properties of the group and hash, but this brings the =
assumptions closer to what one is trying to =
prove.<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>Well, I hope that was clear enough.&nbsp; I am sorry if I =
was unclear before, because I did not really spell out the reductions =
above, even to myself.<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><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'><p class=3DMsoNormal style=3D'line-height:11.25pt'><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'>Da=
niel Brown<o:p></o:p></span></p></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:#0073BC'>=
Research In Motion Limited</span><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'> =
<o:p></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 =
width=3D176 height=3D43 id=3D"_x0000_i1025" =
src=3D"cid:image001.jpg@01CF6A05.F056B9F0"></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_000B_01CF6A05.F1E681B0--

------=_NextPart_001_000A_01CF6A05.F1E681B0
Content-Type: image/jpeg;
	name="image001.jpg"
Content-Transfer-Encoding: base64
Content-ID: <image001.jpg@01CF6A05.F056B9F0>

/9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTg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0dz0I7dKzbSXU/GMc2sar48tdMuC58m2knKnjtgEbR+danhrw
Hrdx8L/EMr28kU16yTW9uy4LBMngds5/Sub0y+8G2uiGDWPDl/LrUeVAViqOe2e4oA9E+G3xGvjo
muw61OLttIhMyT5z5ijIxnv04+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=

------=_NextPart_001_000A_01CF6A05.F1E681B0--

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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUgTCCBnAw
ggVYoAMCAQICChfYCekAAwAXxTIwDQYJKoZ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wYFKw4DAhowCgYIKoZIhvcNAgUwbQYJKwYBBAGCNxAEMWAwXjBQMRMw
EQYKCZImiZPyLGQBGRYDbmV0MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vi
b3JkaW5hdGUgQ0EgTUNBMDNZS0YCChfYCekAAwAXxTIwbwYLKoZIhvcNAQkQAgsxYKBeMFAxEzAR
BgoJkiaJk/IsZAEZFgNuZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xJDAiBgNVBAMTG1JJTSBTdWJv
cmRpbmF0ZSBDQSBNQ0EwM1lLRgIKF9gJ6QADABfFMjANBgkqhkiG9w0BAQEFAASBgEoB97WxcqqV
eWHMFWcCc8BwZ+dxA5xZKDkEK+zD4oiQ132tYgfkZbM+/CaLgTPiHiPAdvQh+7c8q5pnaeQMk1Dw
P7q41fRacsgY3nhk0SDKoxRBOD2wP2AyiH+/jYNt4xhvsQ//B6UPwN8+O0oEmjWBBhbeop4H6hwr
F/vspS6pAAAAAAAA

------=_NextPart_000_0009_01CF6A05.F1E681B0--


From nobody Wed May  7 15:34: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 A97AF1A0406 for <cfrg@ietfa.amsl.com>; Wed,  7 May 2014 15:33:33 -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 dsaCKkgHtTiG for <cfrg@ietfa.amsl.com>; Wed,  7 May 2014 15:33:31 -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 686141A03E0 for <cfrg@irtf.org>; Wed,  7 May 2014 15:33:31 -0700 (PDT)
Received: by mail-yh0-f47.google.com with SMTP id z6so1166752yhz.6 for <cfrg@irtf.org>; Wed, 07 May 2014 15:33:27 -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=kpHk+0tQbwJUzaD0M/K5sB8kjUKVTbd2ImxIYWrL6to=; b=Tt0WzSCYR/aPZg+iY7gpTsSzXh7esLbLGDKVWhy2YczKjwGxSRxrVuVIHgIB9+9Tbj TLKMA0N8+ULawWHFHfGdHKRjpkm94nftq2lvGGOlmgM/+/Hzsr2r02emeock3ibk6TZQ DwWwkOsQVJawP+lJr/6/HPC2C8/QCSXeXmV/jRv9sftKAR60y/Y4H9viSxvo+2+kAU6Z +xTvanyhxEO0Ujfi48AtVSzIRHfP7nmCbsr5LqJcQaQ72m7e5F3gv5j6aY+xYgf4dX4c JhoQ8qwMRKmeL1hDeG37cV5aC0r8a2bvtNsaml8VL05mlf5XQpscYFRZcmVepb/jDCtu qbyg==
MIME-Version: 1.0
X-Received: by 10.236.139.70 with SMTP id b46mr71354859yhj.63.1399502007022; Wed, 07 May 2014 15:33:27 -0700 (PDT)
Received: by 10.170.63.197 with HTTP; Wed, 7 May 2014 15:33:26 -0700 (PDT)
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5C7DDB7@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5C7DDB7@XMB116CNC.rim.net>
Date: Wed, 7 May 2014 15:33:26 -0700
Message-ID: <CACsn0cmYDFgzLShinVhXNhj2qvJ=pTSYqW=0mwiuTDxHqC7HNw@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Dan Brown <dbrown@certicom.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/aiRRbKgQWKpr4SQKIPS61lK04ns
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] DDH, GapDH and Static DH [was RE:  On Strong DH]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 07 May 2014 22:33:33 -0000

On Wed, May 7, 2014 at 7:56 AM, Dan Brown <dbrown@certicom.com> wrote:
>

> A reductionist security proof for TLS-DH{E} handshake must assume something
> about the PRF in addition to the DH group.
>

In the case of DHE, you don't get to check your answers at all (the
ephemeral key changes), so it becomes CDH in the ROM, and DDH in the
standard model if no PRF is used. However, there isn't any reason not
to use a PRF.

In the case of DH (no E) you need a PRF to avoid the Cheon attack,
hence PRF-ODH. Now replace the PRF with a random oracle. Do that and
you see that the PRF-ODH is equivalent to the CDH with an answer
checking oracle. (This isn't Gap DH, because you can check your answer
for one g^a, that is the server's g^a, not all possible (g, g^a, g^b,
g^(ab)). The argument is as follows: a random oracle only reveals
equality of queried inputs, so you get to solve the CDH with an oracle
telling you if you got the right answer.

So yes, there is a PRF assumption, but it's the usual random oracle
one if you like the ROM. If you don't like the ROM you wind up with
something funny (PRF-ODH), but again, we don't know of any way to
solve the funny problem faster than taking a discrete log.

>
> The other point I was trying to make in my presentation, is that if we are
> to speculate that secret attacks exist, e.g. against P256, then one strategy
> to avoid the secret attack is to infer that secret attacks are most likely
> to be similar to known attacks.  For example, Bernstein used this argument
> to reason that the small coefficient size in Curve25519 is not a concern,
> because no known attacks depend on coefficient size.  The flip side of this
> argument is that we should try, if possible, to avoid secret attacks similar
> to known attacks.  The Cheon attack is a known attack, and a secret attack
> similar to it might depend on the same features in the factorization of n-1
> and n+1.
>

No, that isn't what DJB said. What he did is point out that all known
attacks on Curve25519 were hard. Secondly, the Cheon attack isn't an
"attack" on the DL, CDH, DDH, or even Gap DH assumptions, which most
key agreement protocols reduce to. Thirdly, it's a generic attack: we
know exactly how strong those are against DDH, CDH, and DL.

Any attack on ECC will require fundamentally new ideas. I'm not
convinced we can say anything meaningful about what those ideas will
look like, and I can't imagine this being a strong reason to require
new curves to satisfy anything more than the usual criteria. I think
we're going to have to agree to disagree on this one.

Sincerely,
Watson Ladd


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


From nobody Thu May  8 07:26:47 2014
Return-Path: <dbrown@certicom.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DC3401A0002 for <cfrg@ietfa.amsl.com>; Thu,  8 May 2014 07:26:44 -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 LxJVVpudTJHY for <cfrg@ietfa.amsl.com>; Thu,  8 May 2014 07:26:43 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id F14601A031F for <cfrg@irtf.org>; Thu,  8 May 2014 07:26:42 -0700 (PDT)
Received: from xct108cnc.rim.net ([10.65.161.208]) by mhs213cnc.rim.net with ESMTP/TLS/AES128-SHA; 08 May 2014 10:26:33 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT108CNC.rim.net ([fe80::8dc1:9551:6ed8:c618%17]) with mapi id 14.03.0174.001; Thu, 8 May 2014 10:26:32 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: [Cfrg] DDH, GapDH and Static DH [was RE:  On Strong DH]
Thread-Index: Ac9p/vO0v9r8R57dQV2uKmDMy+vtBwAxXANw
Date: Thu, 8 May 2014 14:26:32 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5C7EA20@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5C7DDB7@XMB116CNC.rim.net>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5C7DDB7@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_0012_01CF6AA7.FB1F7820"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/vtWIKVMIdvYkgl8hQnwUk_5lbmU
Subject: Re: [Cfrg] DDH, GapDH and Static DH [was RE:  On Strong DH]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 08 May 2014 14:26:45 -0000

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

Retracting my own terminology suggestion, adding more credit to Boneh et
al., and clarifying some things.

> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Dan Brown
> Sent: Wednesday, May 07, 2014 10:57 AM
> 
> 
> [DB] In an earlier paper, Rob Gallant and I called this the static DH
problem.  I
> suggest keeping with this precedent term "static".

[DB]  l retract this suggestion for two reasons:

1. Boneh defined the term q-strong DHP before our work, so q-strong has
precedent,
2. what we called the static DHP is different from the q -Strong DHP, as
explained below.

Our "static DHP" was to reproduce the raw static DH operation without the
private key.

Gallant and I described an algorithm that used a static DHP oracle to find
the corresponding private key, i.e. discrete log.

Informally, we showed: static_DHP => DLP.

We presented this both as attack when static_DHP oracles were exposed in
protocols, and as argument for the hardness of the static_DHP in other
cases.

One variant q-strong DHP can be expressed as the problem (static_DHP =>
DLP/other), as defined by Boneh et al (where the other can be some different
related task).

Boneh et al proved the strong DHP to be hard in the generic group model, but
only with n^(1/3) cost (including queries).

Our algorithm is the same as Cheon's when n-1 has a suitable factorization,
which is most of the time.  Cheon extended this to n+1.

A philosophical difficulty with our formulation the static DHP is that an
efficient algorithm exists to solve it, i.e. just using the private key.
This is like collision existing in SHA-3.  To get around this, one can take
Rogaway's approach as in the paper "Formalizing Human Ignorance ...", or use
the terminology of constructive v existential.  E.g. finding collisions in
SHA3 is existentially easy, because collisions exist, but constructively
hard, because the only known constructions are costly, i.e. use Floyd's
cycle finding algorithm.  Ditto for static DHP, existentially easy, but
constructively hard.

Anyway, the passive security of static DH-based requires the static DHP to
be hard: this is a necessary condition, regardless of any hashing of the
shared secret.

The active security of static DH-based does *not* require the strong DHP to
be hard, but many static DH-based schemes can be proved secure if the strong
DHP is hard.  I.e. it is a sufficient condition, but not a necessary
condition.  As such, it could be deemed as a nice-to-have.

There is a tension between these two aspects, but it may be possible to tune
the group parameters to get the best of both.




------=_NextPart_000_0012_01CF6AA7.FB1F7820
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
AgIAgDAHBgUrDgMCBzAKBggqhkiG9w0DBzAdBgNVHQ4EFgQUAlQmTNpWxnzoCUVjxGTtDz2JvLww
FwYJKwYBBAGCNxQCBAoeCABVAHMAZQByMB8GA1UdIwQYMBaAFLgwF25vZ5X+hYxo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fYCekAAwAXxTIwCQYFKw4D
AhoFAKCCAaYwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTQwNTA4
MTQyNjMyWjAjBgkqhkiG9w0BCQQxFgQU0sSNRPs9fBY1tsDnCe6xUcwENT0wZwYJKoZIhvcNAQkP
MVowWDAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcw
DQYIKoZIhvcNAwICASgwBwYFKw4DAhowCgYIKoZIhvcNAgUwbQYJKwYBBAGCNxAEMWAwXjBQMRMw
EQYKCZImiZPyLGQBGRYDbmV0MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vi
b3JkaW5hdGUgQ0EgTUNBMDNZS0YCChfYCekAAwAXxTIwbwYLKoZIhvcNAQkQAgsxYKBeMFAxEzAR
BgoJkiaJk/IsZAEZFgNuZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xJDAiBgNVBAMTG1JJTSBTdWJv
cmRpbmF0ZSBDQSBNQ0EwM1lLRgIKF9gJ6QADABfFMjANBgkqhkiG9w0BAQEFAASBgB5o/6jS2iFv
4zlSQjmIaP/6qR5iK4CMpXt6AdQbeLLS+CP/THaNrBIMHIOcAlBpo8FrWXkVePXO71gcMGmMSySr
ZjAb5KqRZzmEaFar5aWiLadv8lnokkH8JhNZ31XULAreQwLTBbogzDBXPDTFMIpOoXLXNVfW1/cy
FrlbZkJLAAAAAAAA

------=_NextPart_000_0012_01CF6AA7.FB1F7820--


From nobody Fri May  9 11:27:38 2014
Return-Path: <prvs=0203d1f5b5=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 9B8A11A03DD for <cfrg@ietfa.amsl.com>; Tue,  6 May 2014 13:17:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.848
X-Spam-Level: 
X-Spam-Status: No, score=-4.848 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.651, 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 WNY4g64X_EMT for <cfrg@ietfa.amsl.com>; Tue,  6 May 2014 13:17:31 -0700 (PDT)
Received: from mx2.ll.mit.edu (MX2.LL.MIT.EDU [129.55.12.46]) by ietfa.amsl.com (Postfix) with ESMTP id 4B06B1A01C0 for <cfrg@irtf.org>; Tue,  6 May 2014 13:17:29 -0700 (PDT)
Received: from LLE2K10-HUB02.mitll.ad.local (LLE2K10-HUB02.mitll.ad.local) by mx2.ll.mit.edu (unknown) with ESMTP id s46KHOMe017976; Tue, 6 May 2014 16:17:24 -0400
From: "Blumenthal, Uri - 0558 - MITLL" <uri@ll.mit.edu>
To: Michael Hamburg <mike@shiftleft.org>
Thread-Topic: [Cfrg] Task looming over the CFRG
Thread-Index: Ac9oi6oYPJfN8CicTuuHQj1qX4dIoAAJTMCAAAWvywD///yVgIAACvSAgAAapgCAAR7eAA==
Date: Tue, 6 May 2014 20:17:05 +0000
Message-ID: <CF8E7B85.1504A%uri@ll.mit.edu>
References: <3C4AAD4B5304AB44A6BA85173B4675CABAA4022F@MSMR-GH1-UEA03.corp.nsa.gov> <E98B42D5-610C-4532-B765-5819A35A456C@shiftleft.org> <3C4AAD4B5304AB44A6BA85173B4675CABAA404E9@MSMR-GH1-UEA03.corp.nsa.gov> <B8586319-F1E6-4CA6-B70E-4D6153DC19A5@shiftleft.org> <10B251F2-C589-4AFD-BAD8-9AA1B11E68E6@ll.mit.edu> <85E8DDF9-2AF6-4CD3-91D6-7FDDC5DD526E@shiftleft.org>
In-Reply-To: <85E8DDF9-2AF6-4CD3-91D6-7FDDC5DD526E@shiftleft.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.1.140326
x-originating-ip: [172.25.177.85]
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha256; boundary="B_3482237820_26180182"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.96, 1.0.14,  0.0.0000 definitions=2014-05-06_06:2014-05-06,2014-05-06,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-1405060300
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Ic4uIjebVrULcfGBFlChkLLmsx4
X-Mailman-Approved-At: Fri, 09 May 2014 11:27:35 -0700
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Task looming over the CFRG
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 06 May 2014 20:17:36 -0000

--B_3482237820_26180182
Content-type: multipart/alternative;
	boundary="B_3482237820_26179081"


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

> =E2=80=A6.this argument might not be convincing, but I hope it at least sounds
> reasonable and worth further discussion.

Well, I asked not for an argument =E2=80=93 but for a reason & explanation.  :-)
Your answer provided both, thank you!

> =E2=80=A6=E2=80=A6This is why people don=E2=80=99t use AES-192.  Some engineers are designi=
ng for
> performance- or memory-sensitive applications, or don=E2=80=99t like over-engin=
eering,
> and they pick AES-128.  Others would rather be more conservative, and the=
y pay
> the extra 40% to go to AES-256.  The halfway solution of AES-192 isn=E2=80=99t =
used,
> because it isn=E2=80=99t the optimum for anyone=E2=80=99s performance budget.

Interesting. So nobody ways "I want to be a little faster and cheaper than
AES-256, but I have to be more secure than AES-128"=E2=80=A6? I'm surprised.

> So it makes sense that people commonly use AES-256 and sometimes use p384=
, but
> rarely p521 and never AES-192.  Going from AES-192 to AES-256 costs 20% o=
n a
> function which is hardware-accelerated and probably not the bottleneck an=
yway.
> Going from p384 to p521 doubles an already expensive computation (and may=
be
> also gets you sued for patent infringement, but hopefully we can avoid th=
at
> this time around).

I understand your reasoning now. And I think you just gave a probable reaso=
n
why P521 wasn't used much so far. (Better to carry 15K-bit keys than being
sued for a 521-bit key :)

Again, thanks for explaining!


> On May 5, 2014, at 2:34 PM, Blumenthal, Uri - 0668 - MITLL <uri@ll.mit.ed=
u>
> wrote:
>=20
>> IMHO, the logic/reason of matching security levels of the cryptographic
>> algorithms employed in a protocol suite is fairly obvious and does not n=
eed
>> an explicit justification. There might be a reason to have the
>> key-protecting/key-wrapping algorithm a bit (no pun intended! :) stronge=
r
>> than the one that uses that key. I can't think of a reason to protect a =
key
>> with a weaker algorithm than the key-using one.
>>=20
>> You observed that strength-matching was not done with RSA (considering t=
he
>> key sizes involved, and where those keys may need to be stored and proce=
ssed,
>> one possible reason for that mismatch pops up automatically :).
>>=20
>> More surprisingly, matching was not done with ECC either. We don't have =
an
>> explanation for this design choice. Copying designs we don't understand =
(or
>> do we?) does not sound like a good recipe.
>>=20
>> Let me ask you: could you explain why you want to mix algorithms of diff=
erent
>> cryptographic strength? What benefit do you derive from including a stro=
nger
>> algorithm in a chain made of weaker algorithms? How big would your
>> performance gain be?
>> --
>> Regards,
>> Uri               <uri@ll.mit.edu>
>>=20
>>=20
>> On May 5, 2014, at 16:55 , Michael Hamburg <mike@shiftleft.org>
>>  wrote:
>>=20
>>> Kevin,
>>>=20
>>> Sorry to be ambiguous: the curve I designed has a 448-bit field and a
>>> 446-bit prime-order subgroup, so a parallel rho attack should cost just
>>> under 2^223 point operations on average.  So it sits between the 192 an=
d
>>> 256-bit security levels.
>>>=20
>>> I=E2=80=99m not particularly invested in getting this curve into TLS, but I=E2=80=
=99d like
>>> to know whether there=E2=80=99s a point in submitting it for this purpose, or=
 if it
>>> will be rejected for having the =E2=80=9Cwrong security level".
>>>=20
>>> Matching the nominal security level of the asymmetric part to that of t=
he
>>> symmetric part sounds obvious on its face, but in fact it is not usuall=
y
>>> done above the 128-bit level.  For example, Suite B doesn=E2=80=99t specify a=
 direct
>>> matching of nominal security levels: it specifies AES-256 with SHA-384 =
and
>>> ECDSA-NIST-p384 for TOP SECRET communications.  Likewise, almost nobody
>>> pairs AES-256 with the matching RSA-15k, and even AES-128 is usually pa=
ired
>>> with the nominally weaker RSA-2048.
>>>=20
>>> This actually makes sense.  Nobody is going to do a 128-bit exhaust for=
 many
>>> decades.  Not Google, not the NSA, not the KGB, nobody.  With today=E2=80=99s=
 most
>>> efficient supercomputers, the heat output from 2^128 operations would b=
e far
>>> more than enough to boil the oceans dry [1].  So we=E2=80=99re talking about
>>> defenses against sub-128-bit attacks, and defense in depth against
>>> hypothetical advances in cryptography, and quantum resistance for primi=
tives
>>> that can resist at all.  Stronger curves, ciphers and hashes will stand=
 or
>>> fall on their own, not all together as computer power surpasses their
>>> nominal security level.
>>>=20
>>> Also, nobody uses AES-192.
>>>=20
>>> So I don=E2=80=99t think it=E2=80=99s obvious that matching the AES security levels=
 is a
>>> requirement.  If the RG thinks it is, or if there=E2=80=99s some obscure lega=
l
>>> requirement that the levels match, then fine.  Just describe why.
>>>=20
>>> Cheers,
>>> =E2=80=94 Mike
>>>=20
>>> [1] Lenstra, Kleinjung, Thom=C3=A9.  =E2=80=9CUniversal security: from bits and m=
ips to
>>> pools, lakes =E2=80=94 and beyond=E2=80=9D.  https://eprint.iacr.org/2013/635.pdf
>>>=20
>>> On May 5, 2014, at 12:49 PM, Igoe, Kevin M. <kmigoe@nsa.gov> wrote:
>>>=20
>>>> Mike:
>>>> =20
>>>>   Being off by a few bits isn=E2=80=99t a show stopper. but 32-bits is proba=
bly too
>>>> much.  The security levels echo the AES security levels of AES-128, AE=
S-192
>>>> and AES-256.  Using a 224 bit curve with AES-128 only provides roughly
>>>> 112-bits
>>>> of security versus the 128 bits ostensibly provided by AES-128.  I jus=
t
>>>> want to ensure
>>>> that a user who thinks they are getting 128 bits of security gets 128 =
bits
>>>> of=20
>>>> security.
>>>> =20
>>>>                               Kevin
>>>> =20
>>>> From: Michael Hamburg [mailto:mike@shiftleft.org]
>>>> Sent: Monday, May 05, 2014 2:25 PM
>>>> To: Igoe, Kevin M.
>>>> Cc: cfrg@irtf.org
>>>> Subject: Re: [Cfrg] Task looming over the CFRG
>>>> =20
>>>> Hi Kevin,
>>>> =20
>>>> As the designer of an ECC system which is aimed at 224-ish-bit securit=
y,
>>>> I=E2=80=99m curious: is it a firm requirement that the curves be set at 128,=
 192
>>>> and 256 bits?  Or was there consensus in the meeting that the curves s=
hould
>>>> be set at these security levels?  Patrick Longa aimed his talk at thes=
e
>>>> security levels, but I don=E2=80=99t recall this being stated as a requireme=
nt.
>>>> =20
>>>> Cheers,
>>>> =E2=80=94 Mike
>>>> =20
>>>> =20
>>>> On May 5, 2014, at 10:58 AM, Igoe, Kevin M. <kmigoe@nsa.gov> wrote:
>>>>=20
>>>>=20
>>>> As most the folks who read this list have noticed, a virtual interim
>>>> meeting of the CFRG
>>>> was held on Tues 29 April to discuss the way forward for elliptic curv=
e
>>>> cryptography
>>>> in the IETF.  This was driven by an earnest plea from the TLS WG for f=
irm
>>>> guidance from=20
>>>> the CGRG on the selection of elliptic curves for use in TLS.  They nee=
d an
>>>> answer before=20
>>>> the Toronto IETF meeting in late July.  TLS needs curves for several l=
evels
>>>> of security (128,
>>>> 192 and 256), suitable for use in both key agreement and in digital
>>>> signatures.
>>>> =20
>>>> =C2=B7         The consensus of the attendees was that it would be best fo=
r TLS
>>>> to have a single
>>>> =E2=80=9Cmandatory to implement=E2=80=9D curve for each of the three security leve=
ls.
>>>> =20
>>>> =C2=B7         Though the attendees were reluctant to make a formal commit=
ment,
>>>> there
>>>> was clearly a great deal of support for the Montgomery curve curve2551=
9
>>>> (FYI, the=20
>>>> 25519 refers to the fact that arithmetic is done modulo the prime 2**2=
55 =E2=80=93
>>>> 19 ).
>>>> =20
>>>> =C2=B7         curve25519 only fills one of the three required security le=
vels.
>>>> We still need
>>>> curves of size near 384 bits and 512 bits.
>>>> =20
>>>> =C2=B7         NIST curves: I doubt TLS will be willing to revisit the que=
stion
>>>> of elliptic curves once the
>>>> CFRG has made their recommendation.  Another option to consider is adv=
ising
>>>> TLS to
>>>> use of the NIST curves in the short term, buying time for the CFRG to =
do an
>>>> unrushed=20
>>>> exploration of the alternatives, drawing academia and other standards
>>>> bodies into the
>>>> discussion.
>>>> =20
>>>> P.S.  It has been suggested that the CFRG hold a session at the Crypto
>>>> conference in
>>>> Santa Barbara in an effort to draw in more participation from the acad=
emic
>>>> community.
>>>> No guarantees we can pull this off, but it is worth the attempt. Thoug=
hts?
>>>> Volunteers?
>>>> =20
>>>> P.P.S. We need to start lining up speakers for the CFRG session at IET=
F-90
>>>> (Toronto).
>>>> =20
>>>> =20
>>>> ----------------+--------------------------------------------------
>>>> Kevin M. Igoe   | "We can't solve problems by using the same kind
>>>> kmigoe@nsa.gov  | of thinking we used when we created them."
>>>>                 |              - Albert Einstein -
>>>> ----------------+--------------------------------------------------
>>>> =20
>>>> =20
>>>> =20
>>>> _______________________________________________
>>>> Cfrg mailing list
>>>> Cfrg@irtf.org
>>>> http://www.irtf.org/mailman/listinfo/cfrg
>>>=20
>>> _______________________________________________
>>> Cfrg mailing list
>>> Cfrg@irtf.org
>>> http://www.irtf.org/mailman/listinfo/cfrg
>>=20
>=20



--B_3482237820_26179081
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-size:=
 14px; font-family: Calibri, sans-serif; "><span id=3D"OLK_SRC_BODY_SECTION"><=
blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4=
df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div><div style=3D"word-wrap: br=
eak-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">=
<div>&#8230;.this argument might not be convincing, but I hope it at least s=
ounds reasonable and worth further discussion.</div></div></div></blockquote=
></span><div><br></div><div>Well, I asked not for an argument &#8211; but fo=
r a reason &amp; explanation. &nbsp;:-)</div><div>Your answer provided both,=
 thank you!</div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><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 style=3D"word-wrap: break-word; -webki=
t-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>&#8230;&#82=
30;This is why people don&#8217;t use AES-192. &nbsp;Some engineers are desi=
gning for performance- or memory-sensitive applications, or don&#8217;t like=
 over-engineering, and they pick AES-128. &nbsp;Others would rather be more =
conservative, and they pay the extra 40% to go to
 AES-256. &nbsp;The halfway solution of AES-192 isn&#8217;t used, because i=
t isn&#8217;t the optimum for anyone&#8217;s performance budget.</div></div>=
</blockquote></span><div><br></div><div>Interesting. So nobody ways "I want =
to be a little faster and cheaper than AES-256, but I have to be more secure=
 than AES-128"&#8230;? I'm surprised.</div><div><br></div><span id=3D"OLK_SRC_=
BODY_SECTION"><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BOR=
DER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div style=3D"wor=
d-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-whit=
e-space;"><div>So it makes sense that people commonly use AES-256 and someti=
mes use p384, but rarely p521 and never AES-192. &nbsp;Going from AES-192 to=
 AES-256 costs 20% on a function which is hardware-accelerated and probably =
not the bottleneck anyway. &nbsp;Going from p384
 to p521 doubles an already expensive computation (and maybe also gets you =
sued for patent infringement, but hopefully we can avoid that this time arou=
nd).</div></div></blockquote></span><div><br></div><div>I understand your re=
asoning now. And I think you just gave a probable reason why P521 wasn't use=
d much so far. (Better to carry 15K-bit keys than being sued for a 521-bit k=
ey :)</div><div><br></div><div>Again, thanks for explaining!</div><div><br><=
/div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><blockquote id=3D"MAC_OUTL=
OOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0=
 0 5; MARGIN:0 0 0 5;"><div style=3D"word-wrap: break-word; -webkit-nbsp-mode:=
 space; -webkit-line-break: after-white-space;"><div>On May 5, 2014, at 2:34=
 PM, Blumenthal, Uri - 0668 - MITLL &lt;<a href=3D"mailto:uri@ll.mit.edu">uri@=
ll.mit.edu</a>&gt; wrote:</div><div><br class=3D"Apple-interchange-newline"><b=
lockquote type=3D"cite"><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; -webkit-line-break: after-white-space; ">
IMHO, the logic/reason of matching security levels of the cryptographic alg=
orithms employed in a protocol suite is fairly obvious and does not need an =
explicit justification. There might be a reason to have the key-protecting/k=
ey-wrapping algorithm a bit (no
 pun intended! :) stronger than the one that uses that key. I can't think o=
f a reason to protect a key with a weaker algorithm than the key-using one.&=
nbsp;
<div><br></div><div>You observed that strength-matching was not done with R=
SA (considering the key sizes involved, and where those keys may need to be =
stored and processed, one possible reason for that mismatch pops up automati=
cally :).</div><div><br></div><div>More surprisingly, matching was not done =
with ECC either. We don't have an explanation for this design choice. Copyin=
g designs we don't understand (or do we?) does not sound like a good recipe.=

<div><br></div><div>Let me ask you: could you explain why you want to mix a=
lgorithms of different cryptographic strength? What benefit do you derive fr=
om including a stronger algorithm in a chain made of weaker algorithms? How =
big would your performance gain be?</div><div><div apple-content-edited=3D"tru=
e"><div>--</div><div>Regards,</div><div>Uri &nbsp; &nbsp; &nbsp; &nbsp; &nbs=
p; &nbsp; &nbsp; &lt;<a href=3D"mailto:uri@ll.mit.edu">uri@ll.mit.edu</a>&gt;<=
/div><div><br></div></div><br><div><div>On May 5, 2014, at 16:55 , Michael H=
amburg &lt;<a href=3D"mailto:mike@shiftleft.org">mike@shiftleft.org</a>&gt;</d=
iv><div>&nbsp;wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -we=
bkit-line-break: after-white-space;"><div>Kevin,</div><div><br></div><div>So=
rry to be ambiguous: the curve I designed has a 448-bit field and a 446-bit =
prime-order subgroup, so a parallel rho attack should cost just under 2^223 =
point operations on average. &nbsp;So it sits between the 192 and 256-bit se=
curity levels.</div><div><br></div><div>I&#8217;m not particularly invested =
in getting this curve into TLS, but I&#8217;d like to know whether there&#82=
17;s a point in submitting it for this purpose, or if it will be rejected fo=
r having the &#8220;wrong security level".</div><div><br></div><div>Matching=
 the nominal security level of the asymmetric part to that of the symmetric =
part sounds obvious on its face, but in fact it is not usually done above th=
e 128-bit level. &nbsp;For example, Suite B doesn&#8217;t specify a direct m=
atching of nominal security
 levels: it specifies AES-256 with SHA-384 and ECDSA-NIST-p384 for TOP SECR=
ET communications. &nbsp;Likewise, almost nobody pairs AES-256 with the matc=
hing RSA-15k, and even AES-128 is usually paired with the nominally weaker R=
SA-2048.</div><div><br></div><div>This actually makes sense. &nbsp;Nobody is=
 going to do a 128-bit exhaust for many decades. &nbsp;Not Google, not the N=
SA, not the KGB, nobody. &nbsp;With today&#8217;s most efficient supercomput=
ers, the heat output from 2^128 operations would be far more than enough to =
boil
 the oceans dry [1]. &nbsp;So we&#8217;re talking about defenses against su=
b-128-bit attacks, and defense in depth against hypothetical advances in cry=
ptography, and quantum resistance for primitives that can resist at all. &nb=
sp;Stronger curves, ciphers and hashes will stand
 or fall on their own, not all together as computer power surpasses their n=
ominal security level.</div><div><br></div><div>Also, nobody uses AES-192.</=
div><div><br></div><div>So I don&#8217;t think it&#8217;s obvious that match=
ing the AES security levels is a requirement. &nbsp;If the RG thinks it is, =
or if there&#8217;s some obscure legal requirement that the levels match, th=
en fine. &nbsp;Just describe why.</div><div><br></div><div>Cheers,</div><div=
>&#8212; Mike</div><div><br></div><div>[1] Lenstra, Kleinjung, Thom=C3=A9. &nbsp=
;&#8220;Universal security: from bits and mips to pools, lakes &#8212; and b=
eyond&#8221;. &nbsp;<a href=3D"https://eprint.iacr.org/2013/635.pdf">https://e=
print.iacr.org/2013/635.pdf</a></div><br><div><div>On May 5, 2014, at 12:49 =
PM, Igoe, Kevin M. &lt;<a href=3D"mailto:kmigoe@nsa.gov">kmigoe@nsa.gov</a>&gt=
; wrote:</div><br class=3D"Apple-interchange-newline"><blockquote type=3D"cite">=
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple" style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: norm=
al; 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 class=3D"WordSe=
ction1" style=3D"page: WordSection1;"><div style=3D"margin: 0in 0in 0.0001pt; fo=
nt-size: 12pt; font-family: 'Times New Roman', serif;"><span style=3D"font-siz=
e: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Mike:<=
o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt=
; font-family: 'Times New Roman', serif;"><span style=3D"font-size: 11pt; font=
-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;</span></div>=
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times N=
ew Roman', serif;"><span style=3D"font-size: 11pt; font-family: Calibri, sans-=
serif; color: rgb(31, 73, 125); ">&nbsp; Being off by a few bits isn&#8217;t=
 a show stopper. but 32-bits is probably too<o:p></o:p></span></div><div sty=
le=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman=
', serif;"><span style=3D"font-size: 11pt; font-family: Calibri, sans-serif; c=
olor: rgb(31, 73, 125); ">much.&nbsp; The security levels echo the AES secur=
ity levels of AES-128, AES-192<br>
and AES-256.&nbsp; Using a 224 bit curve with AES-128 only provides roughly=
 112-bits<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; font-=
size: 12pt; font-family: 'Times New Roman', serif;"><span style=3D"font-size: =
11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">of securi=
ty versus the 128 bits ostensibly provided by AES-128.&nbsp; I just want to =
ensure<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; font-siz=
e: 12pt; font-family: 'Times New Roman', serif;"><span style=3D"font-size: 11p=
t; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">that a user =
who thinks they are getting 128 bits of security gets 128 bits of<span class=
=3D"Apple-converted-space">&nbsp;</span><br>
security.<o:p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; font=
-size: 12pt; font-family: 'Times New Roman', serif;"><span style=3D"font-size:=
 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;</=
span></div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-famil=
y: 'Times New Roman', serif;"><span style=3D"font-size: 11pt; font-family: Cal=
ibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Kevin<o:=
p></o:p></span></div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; =
font-family: 'Times New Roman', serif;"><span style=3D"font-size: 11pt; font-f=
amily: Calibri, sans-serif; color: rgb(31, 73, 125); ">&nbsp;</span></div><d=
iv style=3D"border-style: none none none solid; border-left-color: blue; borde=
r-left-width: 1.5pt; padding: 0in 0in 0in 4pt;"><div><div style=3D"border-styl=
e: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: =
1pt; padding: 3pt 0in 0in;"><div style=3D"margin: 0in 0in 0.0001pt; font-size:=
 12pt; font-family: 'Times New Roman', serif;"><b><span style=3D"font-size: 10=
pt; font-family: Tahoma, sans-serif; ">From:</span></b><span style=3D"font-siz=
e: 10pt; font-family: Tahoma, sans-serif; "><span class=3D"Apple-converted-spa=
ce">&nbsp;</span>Michael Hamburg [<a href=3D"mailto:mike@shiftleft.org">mailto=
:mike@shiftleft.org</a>]<span class=3D"Apple-converted-space">&nbsp;</span><br=
><b>Sent:</b><span class=3D"Apple-converted-space">&nbsp;</span>Monday, May 05=
, 2014 2:25 PM<br><b>To:</b><span class=3D"Apple-converted-space">&nbsp;</span=
>Igoe, Kevin M.<br><b>Cc:</b><span class=3D"Apple-converted-space">&nbsp;</spa=
n><a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a><br><b>Subject:</b><span c=
lass=3D"Apple-converted-space">&nbsp;</span>Re: [Cfrg] Task looming over the C=
FRG<o:p></o:p></span></div></div></div><div style=3D"margin: 0in 0in 0.0001pt;=
 font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p>&nbsp;</o:p><=
/div><div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family=
: 'Times New Roman', serif;">
Hi Kevin,<o:p></o:p></div></div><div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p>&nbsp;</o:p></=
div></div><div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-f=
amily: 'Times New Roman', serif;">
As the designer of an ECC system which is aimed at 224-ish-bit security, I&=
#8217;m curious: is it a firm requirement that the curves be set at 128, 192=
 and 256 bits? &nbsp;Or was there consensus in the meeting that the curves s=
hould be set at these security levels? &nbsp;Patrick
 Longa aimed his talk at these security levels, but I don&#8217;t recall th=
is being stated as a requirement.<o:p></o:p></div></div><div><div style=3D"mar=
gin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', seri=
f;"><o:p>&nbsp;</o:p></div></div><div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;">
Cheers,<o:p></o:p></div></div><div><div style=3D"margin: 0in 0in 0.0001pt; fo=
nt-size: 12pt; font-family: 'Times New Roman', serif;">
&#8212; Mike<o:p></o:p></div></div><div><div style=3D"margin: 0in 0in 0.0001p=
t; font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p>&nbsp;</o:p=
></div></div><div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; fon=
t-family: 'Times New Roman', serif;"><o:p>&nbsp;</o:p></div></div><div><div>=
<div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times N=
ew Roman', serif;">
On May 5, 2014, at 10:58 AM, Igoe, Kevin M. &lt;<a href=3D"mailto:kmigoe@nsa.=
gov" style=3D"color: purple; text-decoration: underline;">kmigoe@nsa.gov</a>&g=
t; wrote:<o:p></o:p></div></div><div style=3D"margin: 0in 0in 0.0001pt; font-s=
ize: 12pt; font-family: 'Times New Roman', serif;"><br><br><o:p></o:p></div>=
<div><div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family=
: 'Times New Roman', serif;"><span style=3D"font-size: 11pt; font-family: Cali=
bri, sans-serif; ">As most the folks who read this list have noticed, a virt=
ual interim meeting of the CFRG<o:p></o:p></span></div></div><div><div style=
=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman',=
 serif;"><span style=3D"font-size: 11pt; font-family: Calibri, sans-serif; ">w=
as held on Tues 29 April to discuss the way forward for elliptic curve crypt=
ography<o:p></o:p></span></div></div><div><div style=3D"margin: 0in 0in 0.0001=
pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style=3D"fo=
nt-size: 11pt; font-family: Calibri, sans-serif; ">in the IETF.&nbsp;<span c=
lass=3D"apple-converted-space">&nbsp;</span><b><i>This<span class=3D"apple-conve=
rted-space">&nbsp;</span>was<span class=3D"apple-converted-space">&nbsp;</span=
>driven by an earnest plea from the
 TLS WG for firm<span class=3D"apple-converted-space">&nbsp;</span>guidance<s=
pan class=3D"apple-converted-space">&nbsp;</span>from<span class=3D"apple-conver=
ted-space">&nbsp;</span><br>
the CGRG<span class=3D"apple-converted-space">&nbsp;</span>on the selection o=
f elliptic curves<span class=3D"apple-converted-space">&nbsp;</span>for use in=
 TLS.&nbsp; They need an answer<span class=3D"apple-converted-space">&nbsp;</s=
pan>before<span class=3D"apple-converted-space">&nbsp;</span><br>
the<span class=3D"apple-converted-space">&nbsp;</span>Toronto<span class=3D"app=
le-converted-space">&nbsp;</span>IETF meeting in<span class=3D"apple-converted=
-space">&nbsp;</span>late July</i></b>.&nbsp; TLS needs curves for several<s=
pan class=3D"apple-converted-space"><b><i>&nbsp;</i></b></span>levels
 of security (128,<span class=3D"apple-converted-space">&nbsp;</span><br>
192 and 256), suitable for use in both key agreement and<span class=3D"apple-=
converted-space"><b><i>&nbsp;</i></b></span>in digital signatures.<o:p></o:p=
></span></div></div><div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12=
pt; font-family: 'Times New Roman', serif;"><span style=3D"font-size: 11pt; fo=
nt-family: Calibri, sans-serif; ">&nbsp;<o:p></o:p></span></div></div><div s=
tyle=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Rom=
an', serif; text-indent: -0.25in;"><span style=3D"font-size: 10pt; "><span>=C2=B7<=
span style=3D"font-style: normal; font-variant: normal; font-weight: normal; f=
ont-size: 7pt; line-height: normal; font-family: '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-size: 11pt; font-famil=
y: Calibri, sans-serif; ">The
 consensus of the attendees was that it would be best for TLS to have a sin=
gle<br>
&#8220;mandatory to implement&#8221; curve for each of the three security l=
evels.<o:p></o:p></span></div><div><div style=3D"margin: 0in 0in 0.0001pt; fon=
t-size: 12pt; font-family: 'Times New Roman', serif;"><span style=3D"font-size=
: 11pt; font-family: Calibri, sans-serif; ">&nbsp;<o:p></o:p></span></div></=
div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Tim=
es New Roman', serif; text-indent: -0.25in;"><span style=3D"font-size: 10pt; "=
><span>=C2=B7<span style=3D"font-style: normal; font-variant: normal; font-weight:=
 normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman'=
; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class=3D"Apple-conve=
rted-space">&nbsp;</span></span></span></span><span style=3D"font-size: 11pt; =
font-family: Calibri, sans-serif; ">Though
 the attendees were reluctant to make a formal commitment, there<br>
was clearly a great deal of support for the Montgomery curve curve25519 (FY=
I, the<span class=3D"apple-converted-space">&nbsp;</span><br>
25519 refers to the fact that arithmetic is done modulo the prime 2**255 &#=
8211; 19 ).<o:p></o:p></span></div><div><div style=3D"margin: 0in 0in 0.0001pt=
; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style=3D"font=
-size: 11pt; font-family: Calibri, sans-serif; ">&nbsp;<o:p></o:p></span></d=
iv></div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family:=
 'Times New Roman', serif; text-indent: -0.25in;"><span style=3D"font-size: 10=
pt; "><span>=C2=B7<span style=3D"font-style: normal; font-variant: normal; font-we=
ight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New R=
oman'; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class=3D"Apple-=
converted-space">&nbsp;</span></span></span></span><span style=3D"font-size: 1=
1pt; font-family: Calibri, sans-serif; ">curve25519
 only fills one of the three required security levels.&nbsp; We still need<=
br>
curves of size near 384 bits and 512 bits.<o:p></o:p></span></div><div><div=
 style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New R=
oman', serif;"><span style=3D"font-size: 11pt; font-family: Calibri, sans-seri=
f; ">&nbsp;<o:p></o:p></span></div></div><div style=3D"margin: 0in 0in 0.0001p=
t; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: -0.2=
5in;"><span style=3D"font-size: 10pt; "><span>=C2=B7<span style=3D"font-style: norma=
l; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: n=
ormal; font-family: '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-size: 11pt; font-family: Calibri, sans-serif; ">NIS=
T
 curves: I doubt TLS will be willing to revisit the question of elliptic cu=
rves once the<span class=3D"apple-converted-space">&nbsp;</span><br>
CFRG has made their recommendation.&nbsp; Another option to consider is adv=
ising TLS to<br>
use of the NIST curves in the short term, buying time for the CFRG to do an=
 unrushed<span class=3D"apple-converted-space">&nbsp;</span><br>
exploration of the alternatives, drawing academia and other standards bodie=
s into the<span class=3D"apple-converted-space">&nbsp;</span><br>
discussion.<o:p></o:p></span></div><div><div style=3D"margin: 0in 0in 0.0001p=
t; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style=3D"fon=
t-size: 11pt; font-family: Calibri, sans-serif; ">&nbsp;<o:p></o:p></span></=
div></div><div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-f=
amily: 'Times New Roman', serif;"><span style=3D"font-size: 11pt; font-family:=
 Calibri, sans-serif; ">P.S.&nbsp; It has been suggested that the CFRG hold =
a session at the Crypto conference in<o:p></o:p></span></div></div><div><div=
 style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New R=
oman', serif;"><span style=3D"font-size: 11pt; font-family: Calibri, sans-seri=
f; ">Santa Barbara in an effort to draw in more participation from the acade=
mic community.<o:p></o:p></span></div></div><div><div style=3D"margin: 0in 0in=
 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span st=
yle=3D"font-size: 11pt; font-family: Calibri, sans-serif; ">No guarantees we c=
an pull this off, but it is worth the attempt. Thoughts? Volunteers?<o:p></o=
:p></span></div></div><div><div style=3D"margin: 0in 0in 0.0001pt; font-size: =
12pt; font-family: 'Times New Roman', serif;"><span style=3D"font-size: 11pt; =
font-family: Calibri, sans-serif; ">&nbsp;<o:p></o:p></span></div></div><div=
><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times =
New Roman', serif;"><span style=3D"font-size: 11pt; font-family: Calibri, sans=
-serif; ">P.P.S. We need to start lining up speakers for the CFRG session at=
 IETF-90 (Toronto).<o:p></o:p></span></div></div><div><div style=3D"margin: 0i=
n 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><sp=
an style=3D"font-size: 11pt; font-family: Calibri, sans-serif; ">&nbsp;<o:p></=
o:p></span></div></div><div><div style=3D"margin: 0in 0in 0.0001pt; font-size:=
 12pt; font-family: 'Times New Roman', serif;"><span style=3D"font-size: 11pt;=
 font-family: Calibri, sans-serif; color: rgb(51, 51, 51); ">&nbsp;</span><s=
pan style=3D"font-size: 11pt; font-family: Calibri, sans-serif; "><o:p></o:p><=
/span></div></div><div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt=
; font-family: 'Times New Roman', serif;"><span style=3D"font-size: 10pt; font=
-family: 'Courier New'; color: rgb(51, 51, 51); ">----------------+---------=
-----------------------------------------</span><span style=3D"font-size: 11pt=
; font-family: Calibri, sans-serif; "><o:p></o:p></span></div></div><div><di=
v style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New =
Roman', serif;"><span style=3D"font-size: 10pt; font-family: 'Courier New'; co=
lor: rgb(51, 51, 51); ">Kevin M. Igoe&nbsp;&nbsp; | "We can't solve problems=
 by using the same kind</span><span style=3D"font-size: 11pt; font-family: Cal=
ibri, sans-serif; "><o:p></o:p></span></div></div><div><div style=3D"margin: 0=
in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><s=
pan style=3D"font-size: 10pt; font-family: 'Courier New'; color: rgb(51, 51, 5=
1); "><a href=3D"mailto:kmigoe@nsa.gov" style=3D"color: purple; text-decoration:=
 underline;">kmigoe@nsa.gov</a>&nbsp; | of thinking we used when we created =
them."</span><span style=3D"font-size: 11pt; font-family: Calibri, sans-serif;=
 "><o:p></o:p></span></div></div><div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif;"><span style=3D"font-s=
ize: 10pt; font-family: 'Courier New'; color: rgb(51, 51, 51); ">&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; - Albert Einstein -</span><span style=3D"font-size: 11pt; font-family:=
 Calibri, sans-serif; "><o:p></o:p></span></div></div><div><div style=3D"margi=
n: 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;=
"><span style=3D"font-size: 10pt; font-family: 'Courier New'; color: rgb(51, 5=
1, 51); ">----------------+-------------------------------------------------=
-</span><span style=3D"font-size: 11pt; font-family: Calibri, sans-serif; "><o=
:p></o:p></span></div></div><div><div style=3D"margin: 0in 0in 0.0001pt; font-=
size: 12pt; font-family: 'Times New Roman', serif;"><span style=3D"font-size: =
11pt; font-family: Calibri, sans-serif; ">&nbsp;<o:p></o:p></span></div></di=
v><div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: '=
Times New Roman', serif;"><span style=3D"font-size: 11pt; font-family: Calibri=
, sans-serif; ">&nbsp;<o:p></o:p></span></div></div><div><div style=3D"margin:=
 0in 0in 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;">=
<span style=3D"font-size: 11pt; font-family: Calibri, sans-serif; ">&nbsp;<o:p=
></o:p></span></div></div><div style=3D"margin: 0in 0in 0.0001pt; font-size: 1=
2pt; font-family: 'Times New Roman', serif;"><span style=3D"font-size: 9pt; fo=
nt-family: Helvetica, sans-serif; ">________________________________________=
_______<br>
Cfrg mailing list<br><a href=3D"mailto:Cfrg@irtf.org" style=3D"color: purple; t=
ext-decoration: underline;">Cfrg@irtf.org</a><br><a href=3D"http://www.irtf.or=
g/mailman/listinfo/cfrg" style=3D"color: purple; text-decoration: underline;">=
http://www.irtf.org/mailman/listinfo/cfrg</a></span></div></div></div></div>=
</div></div></blockquote></div><br></div>
_______________________________________________<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">http://www.irtf.org/mailma=
n/listinfo/cfrg</a><br></blockquote></div><br></div></div></div></blockquote=
></div><br></div></blockquote></span></body></html>

--B_3482237820_26179081--

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

MIIUOAYJKoZIhvcNAQcCoIIUKTCCFCUCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0B
BwGgghIHMIIE6jCCA9KgAwIBAgIKH0XZoAAAAAABzTANBgkqhkiG9w0BAQsFADBRMQswCQY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4LNBip9yvhUSTfQ672HHU7A+WjAYBgkqhkiG9w0B
CQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNDA1MDYyMDE3MDBaMA0GCSqGSIb3
DQEBAQUABIIBAHQ70KnwEQ98CGZiuLv79yttMskiuKsiOo8GqJMbLTzaLEhIeX75M7DHEsCC
EGmlUG3kPSAhrdIFSqyKt6410UUmxT7iQFXdB8pDIWtZc2kuTRPjos40HcHcP2bztAm13yg2
wJsKxESLaYY22aIIPzi3mpPfEWtpJYuQTrYcz6fqNFDH+N1HAIc0UkjoQs69aL9YbRzDlCgN
xYElaVewuqKx//9lYn/TOsB+pgNxOFjM++W/DKkyUqC4AALXqUCe2mcDOPQ8/r1HF+UEqqht
LSebYu8/cRxK6AG0+jqhrjVXoJu/L2MP1bBQ8cyisRyZWNowjmx7bpitvCgkNyTaC4c=

--B_3482237820_26180182--


From nobody Sun May 11 00:03:14 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 A47DC1A01A6 for <cfrg@ietfa.amsl.com>; Sun, 11 May 2014 00:03:11 -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 L0PUU_FDuFbl for <cfrg@ietfa.amsl.com>; Sun, 11 May 2014 00:03:09 -0700 (PDT)
Received: from mail-wg0-x232.google.com (mail-wg0-x232.google.com [IPv6:2a00:1450:400c:c00::232]) by ietfa.amsl.com (Postfix) with ESMTP id 9BF8D1A0306 for <cfrg@irtf.org>; Sun, 11 May 2014 00:03:09 -0700 (PDT)
Received: by mail-wg0-f50.google.com with SMTP id x12so5452591wgg.21 for <cfrg@irtf.org>; Sun, 11 May 2014 00:03:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=zm7Z+yGLGIoiEoQU/uDPLmjRGvkpsgh+3pQaFFuycMs=; b=Xvkk0+eeKWAzMjhdyR1vXoxEe08BPgmgdNaD4Xv4pgTT3ZBqg90+XdELXa1sWiEVKQ 6spUFf0BOzN4qVhk8jLOXIFezKIkW+pCg4eAdYZ16QAYxlhcVcdvug5OYWyfxGB72lRX mn0RcslFYAUn7OWOMVd8LeBqhgHEo+etvdIYDkn8Td+wGZEFRlvzzoqAc6FhXfP6zDv4 8Fkd3oKfhDCxronMyQawO2mMaHz8ZCa3gQJfaiVz5kM5U9Jg/wzQqO3IG7aU/QnxBp1W N3WtZMPAdPVd6BxYoW2y2D9dzz1fCBLae/kYfKticq5SdNdecjUj0nFGKBYyflabsCFM 5EtA==
X-Received: by 10.194.236.232 with SMTP id ux8mr710685wjc.46.1399791783372; Sun, 11 May 2014 00:03:03 -0700 (PDT)
Received: from [172.24.249.242] (dyn32-131.checkpoint.com. [194.29.32.131]) by mx.google.com with ESMTPSA id t18sm8710116wiv.16.2014.05.11.00.03.02 for <cfrg@irtf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 11 May 2014 00:03:02 -0700 (PDT)
From: Yoav Nir <ynir.ietf@gmail.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Message-Id: <002FD381-FE8C-4A52-B7B5-61B1ABE36ACD@gmail.com>
Date: Sun, 11 May 2014 10:03:06 +0300
To: cfrg@irtf.org
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/FRKpepYXmuf3G99OKNZxo4DPtcc
Subject: [Cfrg] AEAD Construction in draft-nir-cfrg-chacha20-poly1305
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 11 May 2014 07:03:11 -0000

Hi

Over on a TLS list there=92s a thread suggesting a change in the AEAD =
construction for the ChaCha20-Poly1305 draft.

The current construction is this:

  AAD || length(AAD) || Ciphertext || length(Ciphertext)

Where the lengths are 64-bit LE integers. Niels M=F6ller suggested we =
change it as follows:

  AAD || pad || Ciphertext || pad || length(AAD) || length(Ciphertext)

Where both pad fields are used to get the length up to a multiple of 16.=20=


The reason for doing this is that the Poly1305 works in 128-bit blocks. =
If at the end of processing you don=92t have an integral multiple of 16, =
this can screw with alignment and reduce performance.

As an example, consider a TLS record. The TLS AAD is 13-bytes long. =
After concatenating the 8-byte length field, you get a full 16-byte =
block, plus a 5-byte remainder (I=92ve read one text calling this a =
=93radical=94 - I like that). We then add the ciphertext, which we have =
to assume is at least 4-byte aligned. So for the next block, we copy 11 =
bytes into the Poly1305 state, and use that with the former leftover =
bytes as a 128-bit integer. The next block is at offset 11 from the =
beginning of the ciphertext, so treating that as a 128-bit integer =
involves either first copying it into a properly-aligned block, or else =
reduced performance operations. OTOH with the new construction, there is =
no radical, because of the 3 bytes of padding we add, so the alignment =
of the ciphertext is preserved.=20

Does anyone have an objection to us making this change?  Any other =
opinions?

We also really need more reviews of the latest version of the draft =
([1]).=20

One more thing. We seem to have not only running code, but actual =
deployment. According to ([2]) 6.25% of TLS-enabled websites support =
ChaCha20.=20

Yoav

[1] http://tools.ietf.org/html/draft-nir-cfrg-chacha20-poly1305-03
[2] =
https://lists.fedoraproject.org/pipermail/security/2014-April/001810.html=


From nobody Sun May 11 04:19:17 2014
Return-Path: <ilari.liusvaara@elisanet.fi>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 84DB31A0316 for <cfrg@ietfa.amsl.com>; Sun, 11 May 2014 04:19:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CAzkNR7_bN-c for <cfrg@ietfa.amsl.com>; Sun, 11 May 2014 04:19:12 -0700 (PDT)
Received: from emh03.mail.saunalahti.fi (emh03.mail.saunalahti.fi [62.142.5.109]) by ietfa.amsl.com (Postfix) with ESMTP id 228B61A0225 for <cfrg@irtf.org>; Sun, 11 May 2014 04:19:10 -0700 (PDT)
Received: from LK-Perkele-VII (a88-112-44-140.elisa-laajakaista.fi [88.112.44.140]) by emh03.mail.saunalahti.fi (Postfix) with ESMTP id 97DD218876F; Sun, 11 May 2014 14:19:00 +0300 (EEST)
Date: Sun, 11 May 2014 14:19:00 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Yoav Nir <ynir.ietf@gmail.com>
Message-ID: <20140511111900.GA19348@LK-Perkele-VII>
References: <002FD381-FE8C-4A52-B7B5-61B1ABE36ACD@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <002FD381-FE8C-4A52-B7B5-61B1ABE36ACD@gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ARoMlIgbT9sROxn7xCT-2JvWcoc
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] AEAD Construction in draft-nir-cfrg-chacha20-poly1305
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 11 May 2014 11:19:14 -0000

On Sun, May 11, 2014 at 10:03:06AM +0300, Yoav Nir wrote:
> Hi
> 
> Over on a TLS list thereâ€™s a thread suggesting a change in the AEAD construction for the ChaCha20-Poly1305 draft.
> 
> The current construction is this:
> 
>   AAD || length(AAD) || Ciphertext || length(Ciphertext)
> 
> Where the lengths are 64-bit LE integers. Niels MÃ¶ller suggested we change it as follows:
> 
>   AAD || pad || Ciphertext || pad || length(AAD) || length(Ciphertext)
> 
> Where both pad fields are used to get the length up to a multiple of 16. 

- The padding is all zeroes and not transmitted, right?
- No padding after empty AAD/Ciphertext, right?

I can't see a way that change would affect security (can't generate collisions
in internal Poly1305 polynomial).

> We also really need more reviews of the latest version of the draft ([1]). 

>From draft:

>   ChaCha20 runs 20 rounds, alternating between "column" and "diagonal"
>   rounds.  Each round is 4 quarter-rounds, and they are run as follows.
>   Rounds 1-4 are part of the "column" round, while 5-8 are part of the
>   "diagonal" round:

Should this be:

ChaCha20 runs 20 rounds, alternating between "column" and "diagonal"
rounds.  Each round is 4 quarter-rounds, and they are run as follows.
Quater-rounds 1-4 are part of the "column" round, while 5-8 are part
of the "diagonal" round:

?


-Ilari


From nobody Sun May 11 05:46:09 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 7055C1A0320 for <cfrg@ietfa.amsl.com>; Sun, 11 May 2014 05:46:08 -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 hiGmKjgT_zJA for <cfrg@ietfa.amsl.com>; Sun, 11 May 2014 05:46:07 -0700 (PDT)
Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) by ietfa.amsl.com (Postfix) with ESMTP id C66B81A031F for <cfrg@irtf.org>; Sun, 11 May 2014 05:46:06 -0700 (PDT)
Received: by mail-wg0-f52.google.com with SMTP id l18so5655143wgh.23 for <cfrg@irtf.org>; Sun, 11 May 2014 05:46:00 -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=A/k/H546aJ3IAnJp6zpIlhvvB3wPyTCnj1ma2w33EW8=; b=R6JuDo8iTOAkO1PESyc4D2eG236K4Z20DWbzDW/O3m/Wm6PX6Ackl9Udx5R3PJpLsg wzvkXf3IBFqi8XE2dcv4nIWzaunY6B5+ZoNnyHQJuldrFbbUEFwclFo1m+WFz1crcTIB uvCxarB1//HsTJfibbsCJbIJXumGnJHiTFzeFJSDmLM071vKXfOOyjXLmjtbbu1xv9ub 4t3ePDoqDn6MgGVFZJy6r7ZBQedljHRVE8mLdr2v9Zj2b9q8hdkVPK+/paMq/y0z2+W4 P8aExfLV3kK0KbOLwEd0HZ5iilqLKhYaV/fTPmoz9ylPSykw8WRP/SwLIXycTQLdnwKn foHw==
X-Received: by 10.194.60.4 with SMTP id d4mr17017263wjr.28.1399812360616; Sun, 11 May 2014 05:46:00 -0700 (PDT)
Received: from [172.24.249.242] (dyn32-131.checkpoint.com. [194.29.32.131]) by mx.google.com with ESMTPSA id go1sm10171293wib.7.2014.05.11.05.45.59 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 11 May 2014 05:45:59 -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: <20140511111900.GA19348@LK-Perkele-VII>
Date: Sun, 11 May 2014 15:45:57 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <00C5389C-A5C3-4DD8-B2F5-A660D190DF7B@gmail.com>
References: <002FD381-FE8C-4A52-B7B5-61B1ABE36ACD@gmail.com> <20140511111900.GA19348@LK-Perkele-VII>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/rZJcDv74oN6Xaavb9LzyTcspnCA
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] AEAD Construction in draft-nir-cfrg-chacha20-poly1305
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 11 May 2014 12:46:08 -0000

On May 11, 2014, at 2:19 PM, Ilari Liusvaara =
<ilari.liusvaara@elisanet.fi> wrote:

> On Sun, May 11, 2014 at 10:03:06AM +0300, Yoav Nir wrote:
>> Hi
>>=20
>> Over on a TLS list there=92s a thread suggesting a change in the AEAD =
construction for the ChaCha20-Poly1305 draft.
>>=20
>> The current construction is this:
>>=20
>>  AAD || length(AAD) || Ciphertext || length(Ciphertext)
>>=20
>> Where the lengths are 64-bit LE integers. Niels M=F6ller suggested we =
change it as follows:
>>=20
>>  AAD || pad || Ciphertext || pad || length(AAD) || length(Ciphertext)
>>=20
>> Where both pad fields are used to get the length up to a multiple of =
16.=20
>=20
> - The padding is all zeroes and not transmitted, right?
> - No padding after empty AAD/Ciphertext, right?

Yes to both.

> I can't see a way that change would affect security (can't generate =
collisions
> in internal Poly1305 polynomial).

Agree. We wanted to make sure we=92re not missing something either about =
security or performance.=20

>> We also really need more reviews of the latest version of the draft =
([1]).=20
>=20
> =46rom draft:
>=20
>>  ChaCha20 runs 20 rounds, alternating between "column" and "diagonal"
>>  rounds.  Each round is 4 quarter-rounds, and they are run as =
follows.
>>  Rounds 1-4 are part of the "column" round, while 5-8 are part of the
>>  "diagonal" round:
>=20
> Should this be:
>=20
> ChaCha20 runs 20 rounds, alternating between "column" and "diagonal"
> rounds.  Each round is 4 quarter-rounds, and they are run as follows.
> Quater-rounds 1-4 are part of the "column" round, while 5-8 are part
> of the "diagonal" round:

Definitely. Thanks.

Yoav


From nobody Mon May 12 07:50:32 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 05D391A0712 for <cfrg@ietfa.amsl.com>; Mon, 12 May 2014 07:50:30 -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 UUL89NAdnTTw for <cfrg@ietfa.amsl.com>; Mon, 12 May 2014 07:50:27 -0700 (PDT)
Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 004221A01EA for <cfrg@irtf.org>; Mon, 12 May 2014 07:50:26 -0700 (PDT)
Received: by mail-wi0-f171.google.com with SMTP id hm4so4610862wib.16 for <cfrg@irtf.org>; Mon, 12 May 2014 07:50:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=from:content-type:subject:message-id:date:to:mime-version; bh=12vHc6LSIW9p5aA/dXmPbsQp7hZhSqL0ewze9h7FgyQ=; b=EJ0yM1cAtrUxtvADVw5tylQSwPytAQ3IqUd/d+EofneqFYOcxWNsdOWvh9f0thic61 uc8D+aBsx6nLJK9NFw+8h2lJgoEnovFh02gf1uei6p4tmWLNVKIhL4AdjuyS5xBqYMv9 0df4xzh3jyx/OenP0NkiPV5UffZhoEuFH1gvBbp9klJ05pS2YKpOlvsbDG9zFkdUfUT7 1DWOTKPXnGxorUjXBryP3Uu5GiUZHQApYtI2io6fwGW7Xfc0gGzi/lGrmXy9qkjh0QuP Y9CHQDFdQ4hFUn1pt8udUO7eD20RGKyHXgXctoZdeXA3IfXgbbQ4PqUAUa5XL4Sodi6h 8IOw==
X-Received: by 10.180.231.42 with SMTP id td10mr16377137wic.10.1399906220525;  Mon, 12 May 2014 07:50:20 -0700 (PDT)
Received: from [172.24.249.242] (dyn32-131.checkpoint.com. [194.29.32.131]) by mx.google.com with ESMTPSA id go1sm16532854wib.7.2014.05.12.07.50.19 for <cfrg@irtf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 May 2014 07:50:19 -0700 (PDT)
From: Yoav Nir <ynir.ietf@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_F312F1EE-64AF-4797-9345-1660F181684A"
Message-Id: <5BD19972-6D0B-411D-8EEB-F1441D3B9729@gmail.com>
Date: Mon, 12 May 2014 17:50:17 +0300
To: cfrg@irtf.org
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/23g4SADQ8CzD--3dzoHpJXx_eLo
Subject: [Cfrg] PRF in draft-nir-cfrg-chacha20-poly1305
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 12 May 2014 14:50:30 -0000

--Apple-Mail=_F312F1EE-64AF-4797-9345-1660F181684A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Hi

Section 2.7 of our draft ([1]) discusses PRF functions. While these are =
not needed as part of ciphersuites in TLS, IKE does need one to be =
specified. A PRF function as described in IKE takes a key and an =
arbitrary length value, and returns a fixed-length value. IKE=92s KDF =
(=93PRF+=94 - [2]) is constructed by repeatedly running the PRF.=20

Many implementations don=92t have a separate configuration UI for PRF =
and MAC, because they=92re pretty much the same algorithm, so =
PRF_HMAC_SHA1 goes with AUTH_HMAC_SHA1.

So I would like to have a PRF function that is based on ChaCha20, =
Poly1305, or a combination of them.  An obvious way to do this would be =
as follows:

If the key size is not 32-octet, run Poly1305 on it with a fixed key (to =
be determined what we would like that to be, but zero definitely doesn=92t=
 work) and use that as the key.
Use the key in Poly1305 on the input.

Going over the IKE spec, prf and prf+ are used several times:
In generating SKEYSEED where the key is a concatenation of nonces.
In generating the IKE SA keying material, where the key is SKEYSEED
As part of the signed material (not transmitted) where the key is part =
of the IKE SA keying material
In computing a PRF key for shared secret authentication, where the key =
is the shared secret (so it=92s constant for a pair of hosts)
In computing the shared secret authenticator, and as we=92ve said, the =
key is always the same, but the data is not known to the attacker.
In generating key material for ESP or AH, where the key is SK_d (part of =
the IKE SA keying material) is used.

So this doesn=92t fit the requirements in DJB=92s papers that the keys =
should be unique (actually that the nonces fed to the encryption =
function that is used to generate the key should be unique).  On the =
other hand, this is a PRF, not an authentication function, and the =
results are not transmitted. So I=92m wondering if this is OK for a PRF, =
or if this can be tweaked somehow to make it OK. The current text =
recommends using something else such as HMAC-SHA-256, and if that=92s =
the best we can do, I=92ll recommend HMAC-SHA-256 as the PRF to use in =
my IPsec draft.

Thanks

Yoav

[1] =
http://tools.ietf.org/html/draft-nir-cfrg-chacha20-poly1305-03#section-2.7=

[2]=20
   prf+ (K,S) =3D T1 | T2 | T3 | T4 | ...

   where:
   T1 =3D prf (K, S | 0x01)
   T2 =3D prf (K, T1 | S | 0x02)
   T3 =3D prf (K, T2 | S | 0x03)
   T4 =3D prf (K, T3 | S | 0x04)
   ...


--Apple-Mail=_F312F1EE-64AF-4797-9345-1660F181684A
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;">Hi<div><br></div><div>Section 2.7 of our draft ([1]) =
discusses PRF functions. While these are not needed as part of =
ciphersuites in TLS, IKE does need one to be specified. A PRF function =
as described in IKE takes a key and an arbitrary length value, and =
returns a fixed-length value. IKE=92s KDF (=93PRF+=94 - [2]) is =
constructed by repeatedly running the =
PRF.&nbsp;</div><div><br></div><div>Many implementations don=92t have a =
separate configuration UI for PRF and MAC, because they=92re pretty much =
the same algorithm, so PRF_HMAC_SHA1 goes with =
AUTH_HMAC_SHA1.</div><div><br></div><div>So I would like to have a PRF =
function that is based on ChaCha20, Poly1305, or a combination of them. =
&nbsp;An obvious way to do this would be as =
follows:</div><div><br></div><div><ol class=3D"MailOutline"><li>If the =
key size is not 32-octet, run Poly1305 on it with a fixed key (to be =
determined what we would like that to be, but zero definitely doesn=92t =
work) and use that as the key.</li><li>Use the key in Poly1305 on the =
input.</li></ol></div><div><br></div><div>Going over the IKE spec, prf =
and prf+ are used several times:</div><div><ul =
class=3D"MailOutline"><li>In generating SKEYSEED where the key is a =
concatenation of nonces.</li><li>In generating the IKE SA keying =
material, where the key is SKEYSEED</li><li>As part of the signed =
material (not transmitted) where the key is part of the IKE SA keying =
material</li><li>In computing a PRF key for shared secret =
authentication, where the key is the shared secret (so it=92s constant =
for a pair of hosts)</li><li>In computing the shared secret =
authenticator, and as we=92ve said, the key is always the same, but the =
data is not known to the attacker.</li><li>In generating key material =
for ESP or AH, where the key is SK_d (part of the IKE SA keying =
material) is used.</li></ul><div><br></div></div><div>So this doesn=92t =
fit the requirements in DJB=92s papers that the keys should be unique =
(actually that the nonces fed to the encryption function that is used to =
generate the key should be unique). &nbsp;On the other hand, this is a =
PRF, not an authentication function, and the results are not =
transmitted. So I=92m wondering if this is OK for a PRF, or if this can =
be tweaked somehow to make it OK. The current text recommends using =
something else such as HMAC-SHA-256, and if that=92s the best we can do, =
I=92ll recommend HMAC-SHA-256 as the PRF to use in my IPsec =
draft.</div><div><br></div><div>Thanks</div><div><br></div><div>Yoav</div>=
<div><br></div><div>[1]&nbsp;<a =
href=3D"http://tools.ietf.org/html/draft-nir-cfrg-chacha20-poly1305-03#sec=
tion-2.7">http://tools.ietf.org/html/draft-nir-cfrg-chacha20-poly1305-03#s=
ection-2.7</a></div><div>[2]&nbsp;</div><div><pre class=3D"newpage" =
style=3D"font-size: 1em; margin-top: 0px; margin-bottom: 0px; =
page-break-before: always;">   prf+ (K,S) =3D T1 | T2 | T3 | T4 | ...

   where:
   T1 =3D prf (K, S | 0x01)
   T2 =3D prf (K, T1 | S | 0x02)
   T3 =3D prf (K, T2 | S | 0x03)
   T4 =3D prf (K, T3 | S | 0x04)
   ...</pre><div><br></div></div></body></html>=

--Apple-Mail=_F312F1EE-64AF-4797-9345-1660F181684A--


From nobody Mon May 12 10:52:22 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 C72B91A0757 for <cfrg@ietfa.amsl.com>; Mon, 12 May 2014 10:52:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.75
X-Spam-Level: 
X-Spam-Status: No, score=-1.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OJtJWNNxOB37 for <cfrg@ietfa.amsl.com>; Mon, 12 May 2014 10:52:14 -0700 (PDT)
Received: from mail-qg0-x22b.google.com (mail-qg0-x22b.google.com [IPv6:2607:f8b0:400d:c04::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 782811A077F for <cfrg@irtf.org>; Mon, 12 May 2014 10:52:05 -0700 (PDT)
Received: by mail-qg0-f43.google.com with SMTP id 63so8011238qgz.16 for <cfrg@irtf.org>; Mon, 12 May 2014 10:51:59 -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=Wf/m4KZlp0YOxuRfquZRUZ2E/BCRFxMZ5s4X6WujptQ=; b=Mz3TIPbpQM+0BnauDHMq4mxsvj46Nd/cDhMnFYQH+51t5e61niJCUs6sRIBl5AK8n4 q6VLmTWgX+EWV+k+hHPt9eJwaV0f9OYGoDQDsUH9tO2IBGxCOLpcNCysI4z1VbHUnIo6 8WxCbma2e38xkm5dfCiXqa3ylfQkxN0ylkQiloi92qTK+DwBQ22NmHk3E2YBGTcomaHW vMyGymexnFx4ra4PiWdYuJygS4ZvCfK4wQsNH1LKGIX20bbI4ZNzUgtJL1TJ0LENQ9s9 4pk30qPHBLdPfGSar9cZxVDM+DJvMzDia3f0eOvW99wDR7kn2nVihi19qkXqTx6ZzDj2 gIZg==
MIME-Version: 1.0
X-Received: by 10.140.43.139 with SMTP id e11mr37489059qga.39.1399917119371; Mon, 12 May 2014 10:51:59 -0700 (PDT)
Received: by 10.140.107.161 with HTTP; Mon, 12 May 2014 10:51:59 -0700 (PDT)
In-Reply-To: <5BD19972-6D0B-411D-8EEB-F1441D3B9729@gmail.com>
References: <5BD19972-6D0B-411D-8EEB-F1441D3B9729@gmail.com>
Date: Mon, 12 May 2014 10:51:59 -0700
Message-ID: <CABqy+sqFfqsdKAZZPO9HPpimkZNFyx8fsNPnC_a5XBrKs5bt_g@mail.gmail.com>
From: Robert Ransom <rransom.8774@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/FrLO39VbhL5DrxYcltUylAlo6DQ
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] PRF in draft-nir-cfrg-chacha20-poly1305
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 12 May 2014 17:52:19 -0000

On 5/12/14, Yoav Nir <ynir.ietf@gmail.com> wrote:

> So I would like to have a PRF function that is based on ChaCha20, Poly130=
5,
> or a combination of them.  An obvious way to do this would be as follows:
>
> If the key size is not 32-octet, run Poly1305 on it with a fixed key (to =
be
> determined what we would like that to be, but zero definitely doesn=E2=80=
=99t work)
> and use that as the key.
> Use the key in Poly1305 on the input.

DO NOT use Poly1305 as a PRF.

ChaCha is a (16-byte input to 64-byte output) PRF.  Poly1305 is not
even close to a PRF.


Robert Ransom


From nobody Mon May 12 11:27:36 2014
Return-Path: <dharkins@lounge.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 294411A078B for <cfrg@ietfa.amsl.com>; Mon, 12 May 2014 11:27:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.867
X-Spam-Level: 
X-Spam-Status: No, score=-3.867 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VOrxTtNr-x79 for <cfrg@ietfa.amsl.com>; Mon, 12 May 2014 11:27:33 -0700 (PDT)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id 07BBA1A0786 for <cfrg@irtf.org>; Mon, 12 May 2014 11:27:33 -0700 (PDT)
Received: from www.trepanning.net (localhost [127.0.0.1]) by colo.trepanning.net (Postfix) with ESMTP id DD88510224008; Mon, 12 May 2014 11:27:26 -0700 (PDT)
Received: from 173.197.99.162 (SquirrelMail authenticated user dharkins@lounge.org) by www.trepanning.net with HTTP; Mon, 12 May 2014 11:27:27 -0700 (PDT)
Message-ID: <8e3997afbb96db182f8309c262b67df4.squirrel@www.trepanning.net>
In-Reply-To: <5BD19972-6D0B-411D-8EEB-F1441D3B9729@gmail.com>
References: <5BD19972-6D0B-411D-8EEB-F1441D3B9729@gmail.com>
Date: Mon, 12 May 2014 11:27:27 -0700 (PDT)
From: "Dan Harkins" <dharkins@lounge.org>
To: "Yoav Nir" <ynir.ietf@gmail.com>
User-Agent: SquirrelMail/1.4.14 [SVN]
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/nAUTIuhF-cu4cVePM6iTZ4lSieY
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] PRF in draft-nir-cfrg-chacha20-poly1305
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 12 May 2014 18:27:34 -0000

  Hi Yoav,

On Mon, May 12, 2014 7:50 am, Yoav Nir wrote:
[snip]
> Going over the IKE spec, prf and prf+ are used several times:
> In generating SKEYSEED where the key is a concatenation of nonces.
> In generating the IKE SA keying material, where the key is SKEYSEED
> As part of the signed material (not transmitted) where the key is part of
> the IKE SA keying material
> In computing a PRF key for shared secret authentication, where the key is
> the shared secret (so it’s constant for a pair of hosts)
> In computing the shared secret authenticator, and as we’ve said, the key
> is always the same, but the data is not known to the attacker.
> In generating key material for ESP or AH, where the key is SK_d (part of
> the IKE SA keying material) is used.
>
> So this doesn’t fit the requirements in DJB’s papers that the keys should
> be unique (actually that the nonces fed to the encryption function that is
> used to generate the key should be unique).  On the other hand, this is a
> PRF, not an authentication function, and the results are not transmitted.
> So I’m wondering if this is OK for a PRF, or if this can be tweaked
> somehow to make it OK. The current text recommends using something else
> such as HMAC-SHA-256, and if that’s the best we can do, I’ll recommend
> HMAC-SHA-256 as the PRF to use in my IPsec draft.

  The "extract and expand" KDF in RFC 5869 is a much more formal version
of IKE's PRF and PRF+ and would recommend using it instead. The nonces
end up being salt to the "extract" portion of the KDF.

  regards,

  Dan.



From nobody Mon May 12 12:10:46 2014
Return-Path: <rifaat.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 3868F1A076F for <cfrg@ietfa.amsl.com>; Mon, 12 May 2014 12:10:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.901
X-Spam-Level: 
X-Spam-Status: No, score=0.901 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_38=0.6, MANGLED_PILL=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 6g85ohakA2mp for <cfrg@ietfa.amsl.com>; Mon, 12 May 2014 12:10:38 -0700 (PDT)
Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 193C81A076A for <cfrg@irtf.org>; Mon, 12 May 2014 12:10:37 -0700 (PDT)
Received: by mail-lb0-f174.google.com with SMTP id n15so7736637lbi.5 for <cfrg@irtf.org>; Mon, 12 May 2014 12:10:31 -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=QsKNf+PgdpdU9jjGwTVKxJFwc8NhhiTzAVb83/h0x1A=; b=K6FCGF7yn2zyTjshLDNZGdvD7ETdwKKp+tQiK9ZD0nKpWuFJVp5oyjiQJyPPTkMLDh k6u5AAKXvRWCtJ2DAvmhUkGsbReM39YUE1iEaEyvGPwrRf7gy9Td04e6n/5jyZOvM/lC 8f632e3clTsktykpUzHnwjRoBSq+Pb+GQHismILWkl+/MWxLNLoHs/chVz0HDDXZ/tkh Q9v/izE7m/37tUqV6xsA+pW/OnrVMw35DjAD4qfWruZKuOt+3JiSdiynb5jbE8sG9DBy B/KzdRMUY8+hlnm7St+bg7V+6HyZalBSDtk2ELjHRJqvznAqRb6MFQOemvmsZpHN1CBV bKcw==
MIME-Version: 1.0
X-Received: by 10.113.3.167 with SMTP id bx7mr2293361lbd.64.1399921831318; Mon, 12 May 2014 12:10:31 -0700 (PDT)
Received: by 10.114.5.102 with HTTP; Mon, 12 May 2014 12:10:31 -0700 (PDT)
Date: Mon, 12 May 2014 15:10:31 -0400
Message-ID: <CAGL6epL3hM4CLqvzGVjvZ=xk8iX+X3hgpbznH6S+uu+HHJr0vg@mail.gmail.com>
From: Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>
To: cfrg@irtf.org
Content-Type: multipart/alternative; boundary=001a1134973a781b2804f938b3ea
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/0e_aXDtDVnuOd6C6ebk9v5WqTJ4
Subject: [Cfrg] "JPAKE & BPKDF2"-based Authentication Scheme
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 12 May 2014 19:10:40 -0000

--001a1134973a781b2804f938b3ea
Content-Type: text/plain; charset=ISO-8859-1

Hi,

We had an initial discussion on the SAAG mailing list regarding the
Key-Derivation idea with the challenge-response framework; here is the
beginning of that thread:
http://www.ietf.org/mail-archive/web/saag/current/msg04964.html

Per that discussion there was some interest on discussing the same idea but
by using a PAKE protocol instead.

I have put together the following flow based on the JPAKE draft (
http://datatracker.ietf.org/doc/draft-hao-jpake/), with some help from Feng
Hao (co-author of the JPAKE protocol),
on how would a JPAKE protocol fit into the challenge-response framework.

The flow describes how could JPAKE and BPKDF2 protocols be used in a
challenge-response framework.
The BPKDF2 protocol is used to create a master-key on both the client and
the server without sending the master-key on the wire.
While the example is using BPKDF2, we could easily use Scrypt instead.

The master-key is then used as an input to the JPAKE protocol.
On the JPAKE side, the flow uses the Three-pass Variant (section 2.3 of
JPAKE draft) merged with the Key Confirmation (section 2.4 of JPAKE draft).

I will be using the following notations in the flow below:

   o x1: first ephemeral-private-key created by the client
   o x2: second ephemeral-private-key created by the client
   o x3: first ephemeral-private-key created by the server
   o x4: second ephemeral-private-key created by the server

   o epk-x1: ephemeral-public-key associated with x1
   o epk-x2: ephemeral-public-key associated with x2
   o epk-x3: ephemeral-public-key associated with x3
   o epk-x4: ephemeral-public-key associated with x4

   o pop-x1: proof-of-possession of x1
   o pop-x2: proof-of-possession of x2
   o pop-x3: proof-of-possession of x3
   o pop-x4: proof-of-possession of x4
   o pop-x2-mk: proof-of-possession of (x2*master-key)
   o pop-x4-mk: proof-of-possession of (x4*master-key)

   o cpk: client-public-key
   o spk: server-public-key

   o cck-h: client-confirmation-key-hash
   o sck-h: server-confirmation-key-hash


User account on the server:
1. Select: KDF, salt, iteration-count, key-length
2. master-key = KDF(Password, Salt, Iterations, Key-Size)
3. Store in DB: username, salt, iterations, master-key


Client                                                        Server
 -------------------------------------------------------------------
  |                                                              |
epk-x1 = g^{x1} mod p                                            |
epk-x2 = g^{x2} mod p                                            |
  |                                                              |
  | Initial-Request                                              |
  |   epk-x1, epk-x2, pop-x1, pop-x2                             |
  |------------------------------------------------------------->|
  |                                                              |
  |                          spk = g^{(x1+x2+x3)*x4*master-key} mod p
  |                                             epk-x3 = g^{x3} mod p
  |                                             epk-x4 = g^{x4} mod p
  |                                                              |
  |                       Challenge                              |
  |                         spk, epk-x3, epk-x4,                 |
  |                         pop-x3, pop-x4, pop-x4-mk            |
  |                         kdf, salt, key-size, iteration-count |
  |<-------------------------------------------------------------|
  |                                                              |
master-key = kdf(password, salt, iterations, key-size)           |
shared-key = (spk/g^{x2*x4*master-key})^{x2} mod p               |
session-key = kdf(shared-key)                                    |
cok = kdf(session-key || "JPAKE_KC")                             |
cpk = g^{(x1+x3+x4)*x2*master-key} mod p                         |
cck-h = H(H(cok))                                                |
  |                                                              |
  | Response                                                     |
  |   cpk, cok-ch, pop-x2-mk                                     |
  |------------------------------------------------------------->|
  |                                                              |
  |                shared-key = (cpk/g^{x2*x4*master-key})^{x4} mod p
  |                                     session-key = KDF(shared-key)
  |                              cok = kdf(session-key || "JPAKE_KC")
  |                                                    sck-h = H(cok)
  |                                                              |
  |                                                 Confirmation |
  |                                                   sck-h      |
  |<-------------------------------------------------------------|
  |                                                              |


The bottom line is that based on this initial investigation it seems that
the combination of PBKDF2 and JPAKE could fit into the challenge-response
framework.
Any thoughts, comments?

Regards,
 Rifaat

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

<div dir=3D"ltr"><div style=3D"font-family:arial,sans-serif;font-size:13px"=
>Hi,</div><div style=3D"font-family:arial,sans-serif;font-size:13px"><br></=
div><div style=3D"font-family:arial,sans-serif;font-size:13px">We had an in=
itial discussion on the SAAG mailing list regarding the Key-Derivation idea=
 with the challenge-response framework; here is the beginning of that threa=
d:</div>


<div style=3D"font-family:arial,sans-serif;font-size:13px"><a href=3D"http:=
//www.ietf.org/mail-archive/web/saag/current/msg04964.html" target=3D"_blan=
k">http://www.ietf.org/mail-archive/web/saag/current/msg04964.html</a></div=
>

<div style=3D"font-family:arial,sans-serif;font-size:13px">
<br></div><div style=3D"font-family:arial,sans-serif;font-size:13px">Per th=
at discussion there was some interest on discussing the same idea but by us=
ing a PAKE protocol instead.</div><div style=3D"font-family:arial,sans-seri=
f;font-size:13px">


<br></div><div style=3D"font-family:arial,sans-serif;font-size:13px">I have=
 put together the following flow based on the JPAKE draft (<a href=3D"http:=
//datatracker.ietf.org/doc/draft-hao-jpake/" target=3D"_blank">http://datat=
racker.ietf.org/doc/draft-hao-jpake/</a>), with some help from Feng Hao (co=
-author of the JPAKE protocol),</div>


<div style=3D"font-family:arial,sans-serif;font-size:13px">on how would a J=
PAKE protocol fit into the challenge-response framework.</div><div style=3D=
"font-family:arial,sans-serif;font-size:13px"><br></div><div style=3D"font-=
family:arial,sans-serif;font-size:13px">


The flow describes how could JPAKE and BPKDF2 protocols be used in a challe=
nge-response framework.</div><div style=3D"font-family:arial,sans-serif;fon=
t-size:13px">The BPKDF2 protocol is used to create a master-key on both the=
 client and the server without sending the master-key on the wire.</div>


<div style=3D"font-family:arial,sans-serif;font-size:13px">While the exampl=
e is using BPKDF2, we could easily use Scrypt instead.</div><div style=3D"f=
ont-family:arial,sans-serif;font-size:13px"><br></div><div style=3D"font-fa=
mily:arial,sans-serif;font-size:13px">


The master-key is then used as an input to the JPAKE protocol.</div><div st=
yle=3D"font-family:arial,sans-serif;font-size:13px">On the JPAKE side, the =
flow uses the Three-pass Variant (section 2.3 of JPAKE draft) merged with t=
he Key Confirmation (section 2.4 of JPAKE draft).</div>


<div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div><div s=
tyle=3D"font-family:arial,sans-serif;font-size:13px">I will be using the fo=
llowing notations in the flow below:</div><div style=3D"font-family:arial,s=
ans-serif;font-size:13px">


<br></div><div style=3D"font-family:arial,sans-serif;font-size:13px">=A0 =
=A0o x1: first ephemeral-private-key created by the client</div><div style=
=3D"font-family:arial,sans-serif;font-size:13px">=A0 =A0o x2: second epheme=
ral-private-key created by the client</div>


<div style=3D"font-family:arial,sans-serif;font-size:13px">=A0 =A0o x3: fir=
st ephemeral-private-key created by the server</div><div style=3D"font-fami=
ly:arial,sans-serif;font-size:13px">=A0 =A0o x4: second ephemeral-private-k=
ey created by the server</div>


<div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div><div s=
tyle=3D"font-family:arial,sans-serif;font-size:13px">=A0 =A0o epk-x1: ephem=
eral-public-key associated with x1</div><div style=3D"font-family:arial,san=
s-serif;font-size:13px">


=A0 =A0o epk-x2: ephemeral-public-key associated with x2</div><div style=3D=
"font-family:arial,sans-serif;font-size:13px">=A0 =A0o epk-x3: ephemeral-pu=
blic-key associated with x3</div><div style=3D"font-family:arial,sans-serif=
;font-size:13px">


=A0 =A0o epk-x4: ephemeral-public-key associated with x4</div><div style=3D=
"font-family:arial,sans-serif;font-size:13px"><br></div><div style=3D"font-=
family:arial,sans-serif;font-size:13px">=A0 =A0o pop-x1: proof-of-possessio=
n of x1</div>


<div style=3D"font-family:arial,sans-serif;font-size:13px">=A0 =A0o pop-x2:=
 proof-of-possession of x2</div><div style=3D"font-family:arial,sans-serif;=
font-size:13px">=A0 =A0o pop-x3: proof-of-possession of x3</div><div style=
=3D"font-family:arial,sans-serif;font-size:13px">


=A0 =A0o pop-x4: proof-of-possession of x4</div><div style=3D"font-family:a=
rial,sans-serif;font-size:13px">=A0 =A0o pop-x2-mk: proof-of-possession of =
(x2*master-key)</div><div style=3D"font-family:arial,sans-serif;font-size:1=
3px">=A0 =A0o pop-x4-mk: proof-of-possession of (x4*master-key)</div>


<div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div><div s=
tyle=3D"font-family:arial,sans-serif;font-size:13px">=A0 =A0o cpk: client-p=
ublic-key</div><div style=3D"font-family:arial,sans-serif;font-size:13px">=
=A0 =A0o spk: server-public-key</div>


<div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div><div s=
tyle=3D"font-family:arial,sans-serif;font-size:13px">=A0 =A0o cck-h: client=
-confirmation-key-hash</div><div style=3D"font-family:arial,sans-serif;font=
-size:13px">


=A0 =A0o sck-h: server-confirmation-key-hash</div><div style=3D"font-family=
:arial,sans-serif;font-size:13px"><br></div><div style=3D"font-family:arial=
,sans-serif;font-size:13px"><br></div><div style=3D"font-family:arial,sans-=
serif;font-size:13px">


<pre style=3D"color:rgb(0,0,0)">User account on the server:
1. Select: KDF, salt, iteration-count, key-length
2. master-key =3D KDF(Password, Salt, Iterations, Key-Size)
3. Store in DB: username, salt, iterations, master-key</pre><pre style=3D"c=
olor:rgb(0,0,0)"><br></pre></div><div style=3D"font-family:arial,sans-serif=
;font-size:13px"><font face=3D"courier new, monospace">Client =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0Server</font></div>

<div style=3D"font-family:arial,sans-serif;font-size:13px">
<font face=3D"courier new, monospace">-------------------------------------=
------------------------------</font></div><div style=3D"font-family:arial,=
sans-serif;font-size:13px"><font face=3D"courier new, monospace">=A0 | =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|</font></div>


<div style=3D"font-size:13px;font-family:arial,sans-serif"><span style=3D"f=
ont-family:&#39;courier new&#39;,monospace">epk-x1 =3D g^{x1} mod p =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0|</span><br></div><div style=3D"font-family:arial,sans-serif;font-si=
ze:13px">


<font face=3D"courier new, monospace">epk-x2 =3D g^{x2} mod p =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
|</font></div><div style=3D"font-family:arial,sans-serif;font-size:13px"><f=
ont face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0|</font></div>


<div style=3D"font-family:arial,sans-serif;font-size:13px"><font face=3D"co=
urier new, monospace">=A0 | Initial-Request =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|</font></div><=
div style=3D"font-family:arial,sans-serif;font-size:13px">


<font face=3D"courier new, monospace">=A0 | =A0 epk-x1, epk-x2, pop-x1, pop=
-x2 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</font></div><=
div style=3D"font-family:arial,sans-serif;font-size:13px"><font face=3D"cou=
rier new, monospace">=A0 |-------------------------------------------------=
------------&gt;|</font></div>


<div style=3D"font-family:arial,sans-serif;font-size:13px"><font face=3D"co=
urier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0|</font></div><div style=3D"font-family:arial,sans-serif;font-size:13px"=
>


<font face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0spk =3D g^{(x1+x2+x3)*x4*master-key} mod p</font></div>=
<div style=3D"font-family:arial,sans-serif;font-size:13px"><font face=3D"co=
urier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 epk-x3 =3D g^{x3} mod p</font></di=
v>


<div style=3D"font-family:arial,sans-serif;font-size:13px"><font face=3D"co=
urier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 epk-x4 =3D g^{x4} mod p</font></di=
v><div style=3D"font-family:arial,sans-serif;font-size:13px">


<font face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0|</font></div><div style=3D"font-family:arial,sans-serif=
;font-size:13px"><font face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Challenge =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0|</font></div>


<div style=3D"font-family:arial,sans-serif;font-size:13px"><font face=3D"co=
urier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 spk, epk-x3, epk-x4, =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</font></div><div st=
yle=3D"font-family:arial,sans-serif;font-size:13px">


<font face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 pop-x3, pop-x4, pop-x4-mk =A0 =A0 =A0 =A0 =A0 =A0|</font><=
/div><div style=3D"font-family:arial,sans-serif;font-size:13px"><font face=
=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 kdf, salt, key-size, iteration-count |</font></div>


<div style=3D"font-family:arial,sans-serif;font-size:13px"><font face=3D"co=
urier new, monospace">=A0 |&lt;--------------------------------------------=
-----------------|</font></div><div style=3D"font-family:arial,sans-serif;f=
ont-size:13px">


<font face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0|</font></div><div style=3D"font-family:arial,sans-serif=
;font-size:13px"><font face=3D"courier new, monospace">master-key =3D kdf(p=
assword, salt, iterations, key-size) =A0 =A0 =A0 =A0 =A0 |</font></div>


<div style=3D"font-family:arial,sans-serif;font-size:13px"><font face=3D"co=
urier new, monospace">shared-key =3D (spk/g^{x2*x4*master-key})^{x2} mod p =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 |</font></div><div style=3D"font-family:arial,s=
ans-serif;font-size:13px">


<font face=3D"courier new, monospace">session-key =3D kdf(shared-key) =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|</font>=
</div><div style=3D"font-family:arial,sans-serif;font-size:13px"><font face=
=3D"courier new, monospace">cok =3D kdf(session-key || &quot;JPAKE_KC&quot;=
) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</font></div>


<div style=3D"font-family:arial,sans-serif;font-size:13px"><font face=3D"co=
urier new, monospace">cpk =3D g^{(x1+x3+x4)*x2*master-key} mod p =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</font></div><div style=3D"font-fa=
mily:arial,sans-serif;font-size:13px">


<font face=3D"courier new, monospace">cck-h =3D H(H(cok)) =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0|</font></div><div style=3D"font-family:arial,sans-serif;font-size:13px=
"><font face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0|</font></div>


<div style=3D"font-family:arial,sans-serif;font-size:13px"><font face=3D"co=
urier new, monospace">=A0 | Response =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</font=
></div><div style=3D"font-family:arial,sans-serif;font-size:13px">


<font face=3D"courier new, monospace">=A0 | =A0 cpk, cok-ch, pop-x2-mk =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</font=
></div><div style=3D"font-family:arial,sans-serif;font-size:13px"><font fac=
e=3D"courier new, monospace">=A0 |-----------------------------------------=
--------------------&gt;|</font></div>


<div style=3D"font-family:arial,sans-serif;font-size:13px"><font face=3D"co=
urier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0|</font></div><div style=3D"font-family:arial,sans-serif;font-size:13px"=
>


<font face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
shared-key =3D (cpk/g^{x2*x4*master-key})^{x4} mod p</font></div><div style=
=3D"font-family:arial,sans-serif;font-size:13px"><font face=3D"courier new,=
 monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 session-key =3D KDF(shared-key)</font></div>


<div style=3D"font-family:arial,sans-serif;font-size:13px"><font face=3D"co=
urier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0cok =3D kdf(session-key || &quot;JPAKE_KC&quot;)</font></div><d=
iv style=3D"font-family:arial,sans-serif;font-size:13px">


<font face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0sck=
-h =3D H(cok)</font></div><div style=3D"font-family:arial,sans-serif;font-s=
ize:13px"><font face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0|</font></div>


<div style=3D"font-family:arial,sans-serif;font-size:13px"><font face=3D"co=
urier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Confirmation |</font></div=
><div style=3D"font-family:arial,sans-serif;font-size:13px">


<font face=3D"courier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 sck-h =
=A0 =A0 =A0|</font></div><div style=3D"font-family:arial,sans-serif;font-si=
ze:13px"><font face=3D"courier new, monospace">=A0 |&lt;-------------------=
------------------------------------------|</font></div>


<div style=3D"font-family:arial,sans-serif;font-size:13px"><font face=3D"co=
urier new, monospace">=A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0|</font></div><div style=3D"font-family:arial,sans-serif;font-size:13px"=
>


<br></div><div style=3D"font-family:arial,sans-serif;font-size:13px"><br></=
div><div style=3D"font-family:arial,sans-serif;font-size:13px">The bottom l=
ine is that based on this initial investigation it seems that the combinati=
on of PBKDF2 and JPAKE could fit into the challenge-response framework.</di=
v>


<div style=3D"font-family:arial,sans-serif;font-size:13px">Any thoughts, co=
mments?</div><div style=3D"font-family:arial,sans-serif;font-size:13px"><br=
></div><div style=3D"font-family:arial,sans-serif;font-size:13px">Regards,<=
/div>


<div style=3D"font-family:arial,sans-serif;font-size:13px">=A0Rifaat</div><=
div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div></div>

--001a1134973a781b2804f938b3ea--


From nobody Mon May 12 12:32:51 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 2F5701A07D0 for <cfrg@ietfa.amsl.com>; Mon, 12 May 2014 12:32:50 -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 5s_lgaBerVfz for <cfrg@ietfa.amsl.com>; Mon, 12 May 2014 12:32:49 -0700 (PDT)
Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) by ietfa.amsl.com (Postfix) with ESMTP id 9F3191A07CF for <cfrg@irtf.org>; Mon, 12 May 2014 12:32:48 -0700 (PDT)
Received: by mail-wi0-f178.google.com with SMTP id hm4so5090961wib.11 for <cfrg@irtf.org>; Mon, 12 May 2014 12:32:42 -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=Vk3l7Pr28D2VW8xUiEXkvSS5NKZR7jQAI831Gy26F+E=; b=CmN10c4Ss+FeHtjMK/PtYUgvUhz2LDibLeW5iik6h1rRdJL4Nx7iF51c4dGLpWadRj cRW0Y4646kiXvDlQPKOPqUonAkYP4lhjgJJ1zORsT6yztMHWd2+yEhYVSJmHDPNiIm06 ijf8uTbIubAWRG6dEP3y3xsorrn39JA4tnJ94tAY+amrHhKqZRdkxbN+BGj3LyqVKZ3A 1MYSEG3sKTo93QvO3EUTUH5Jl/Y9/KfpkFFFrb2q0VC5yTYzqgv5Zrbw77QquVGFMsfm oREZwmBTNg3LoHefcytPVCL5ALs34Mzn22iTIOvx3qNu96svu79aspZCus/1mG9rqi6P tZhg==
X-Received: by 10.180.91.1 with SMTP id ca1mr17373607wib.32.1399923162116; Mon, 12 May 2014 12:32:42 -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 cw2sm19099106wjb.39.2014.05.12.12.32.40 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 May 2014 12:32:41 -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: <CABqy+sqFfqsdKAZZPO9HPpimkZNFyx8fsNPnC_a5XBrKs5bt_g@mail.gmail.com>
Date: Mon, 12 May 2014 22:32:39 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <B50154F9-4577-4BBA-BB24-3B72216CD144@gmail.com>
References: <5BD19972-6D0B-411D-8EEB-F1441D3B9729@gmail.com> <CABqy+sqFfqsdKAZZPO9HPpimkZNFyx8fsNPnC_a5XBrKs5bt_g@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/y2mSfLE7KJa-tOUUFFnKQL0Lvso
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] PRF in draft-nir-cfrg-chacha20-poly1305
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 12 May 2014 19:32:50 -0000

On May 12, 2014, at 8:51 PM, Robert Ransom <rransom.8774@gmail.com> =
wrote:

> On 5/12/14, Yoav Nir <ynir.ietf@gmail.com> wrote:
>=20
>> So I would like to have a PRF function that is based on ChaCha20, =
Poly1305,
>> or a combination of them.  An obvious way to do this would be as =
follows:
>>=20
>> If the key size is not 32-octet, run Poly1305 on it with a fixed key =
(to be
>> determined what we would like that to be, but zero definitely doesn=92t=
 work)
>> and use that as the key.
>> Use the key in Poly1305 on the input.
>=20
> DO NOT use Poly1305 as a PRF.
>=20
> ChaCha is a (16-byte input to 64-byte output) PRF.  Poly1305 is not
> even close to a PRF.


Hi, Robert

I agree that ChaCha is a good PRF, but IKE requires the PRF function to =
accept both a variable length key and variable length data. ChaCha can =
turn a key plus a nonce into an arbitrary-length stream, so it=92s a =
good replacement for PRF+, but when specifying algorithms for IKE, I =
can=92t replace PRF+, just the PRF building block.

So far it looks to me like we don=92t have a suitable replacement for =
HMAC.

Yoav


From nobody Mon May 12 12:37:04 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 127501A07D2 for <cfrg@ietfa.amsl.com>; Mon, 12 May 2014 12:37:02 -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 hHKsAIca9r8p for <cfrg@ietfa.amsl.com>; Mon, 12 May 2014 12:37:00 -0700 (PDT)
Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) by ietfa.amsl.com (Postfix) with ESMTP id 296101A07C8 for <cfrg@irtf.org>; Mon, 12 May 2014 12:37:00 -0700 (PDT)
Received: by mail-wg0-f51.google.com with SMTP id x13so7210144wgg.34 for <cfrg@irtf.org>; Mon, 12 May 2014 12:36:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=NXO8Z6tn1X/zrTb0jNzB0jlvKyh311ujyn33mvGq07U=; b=ILj0xcB6cBbIVvd3BA5GodTqYNn7YkpdK76DTIYJTcTrgtSKrQcNVGepR/z2C1pAqC DSzUsvPo/7hmrWmtPEZ6WIDsDkrEy84nZQ/sppnyVyLs9hkWEGfVSdz63vAvdhIMrZTl QekqkuzmhP/i31WuMiPLosMmRejwMxIYXgGqyWBafxCZUzvxFxDTgub6Qvcwn2HV/8B5 kLVIxTqaWg1SMx4oz2mIRXXuloWsYSFFa2v2QgkxbcHEvgBrPCfYWfmyrJIOlHb9A6/h wcR54FMvoMujFtjTRYVSSY3ln22J32PeeMaQ+t4MBcEFypOovjWfeU00p81pf2WGjUQv QDJw==
X-Received: by 10.180.211.116 with SMTP id nb20mr17204982wic.5.1399923413654;  Mon, 12 May 2014 12:36:53 -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 b19sm12998794wic.5.2014.05.12.12.36.52 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 May 2014 12:36:53 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type: text/plain; charset=windows-1252
From: Yoav Nir <ynir.ietf@gmail.com>
X-Priority: 3 (Normal)
In-Reply-To: <8e3997afbb96db182f8309c262b67df4.squirrel@www.trepanning.net>
Date: Mon, 12 May 2014 22:36:50 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <0039B89B-FE30-47AA-AB6D-3A1732263411@gmail.com>
References: <5BD19972-6D0B-411D-8EEB-F1441D3B9729@gmail.com> <8e3997afbb96db182f8309c262b67df4.squirrel@www.trepanning.net>
To: Dan Harkins <dharkins@lounge.org>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/K1Ayp5GWsCnLr1ESVriUT9ujiN0
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] PRF in draft-nir-cfrg-chacha20-poly1305
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 12 May 2014 19:37:02 -0000

On May 12, 2014, at 9:27 PM, Dan Harkins <dharkins@lounge.org> wrote:

>=20
>  Hi Yoav,
>=20
> On Mon, May 12, 2014 7:50 am, Yoav Nir wrote:
> [snip]
>> Going over the IKE spec, prf and prf+ are used several times:
>> In generating SKEYSEED where the key is a concatenation of nonces.
>> In generating the IKE SA keying material, where the key is SKEYSEED
>> As part of the signed material (not transmitted) where the key is =
part of
>> the IKE SA keying material
>> In computing a PRF key for shared secret authentication, where the =
key is
>> the shared secret (so it=92s constant for a pair of hosts)
>> In computing the shared secret authenticator, and as we=92ve said, =
the key
>> is always the same, but the data is not known to the attacker.
>> In generating key material for ESP or AH, where the key is SK_d (part =
of
>> the IKE SA keying material) is used.
>>=20
>> So this doesn=92t fit the requirements in DJB=92s papers that the =
keys should
>> be unique (actually that the nonces fed to the encryption function =
that is
>> used to generate the key should be unique).  On the other hand, this =
is a
>> PRF, not an authentication function, and the results are not =
transmitted.
>> So I=92m wondering if this is OK for a PRF, or if this can be tweaked
>> somehow to make it OK. The current text recommends using something =
else
>> such as HMAC-SHA-256, and if that=92s the best we can do, I=92ll =
recommend
>> HMAC-SHA-256 as the PRF to use in my IPsec draft.
>=20
>  The "extract and expand" KDF in RFC 5869 is a much more formal =
version
> of IKE's PRF and PRF+ and would recommend using it instead. The nonces
> end up being salt to the "extract" portion of the KDF.
>=20

Thanks. You=92re right about that, and the new IKEv2 spec could have =
referenced RFC 5860. I guess it=92s too late now.

But re-writing IKEv2 is not part of *this* effort. It looks like we=92ll =
have to keep relying on some HMAC.

Yoav



From nobody Mon May 12 12:47:02 2014
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F06F1A07C8; Mon, 12 May 2014 12:46:59 -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 4pMHB__XucvJ; Mon, 12 May 2014 12:46:57 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id D8D9E1A07CD; Mon, 12 May 2014 12:46:57 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 5.4.2.p2
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20140512194657.29697.74958.idtracker@ietfa.amsl.com>
Date: Mon, 12 May 2014 12:46:57 -0700
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/8dkKEqLs8fqSVVspaJ2BOiXPqiQ
Cc: cfrg@ietf.org
Subject: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-04.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 May 2014 19:46:59 -0000

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

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

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


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

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

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


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

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


From dylan@galois.com  Mon May 12 15:35:53 2014
Return-Path: <dylan@galois.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 C42E11A0785 for <cfrg@ietfa.amsl.com>; Mon, 12 May 2014 15:35:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.551
X-Spam-Level: 
X-Spam-Status: No, score=-2.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.651] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9qs8a4vR4Xru for <cfrg@ietfa.amsl.com>; Mon, 12 May 2014 15:35:52 -0700 (PDT)
Received: from mail.galois.com (quintic.galois.com [IPv6:2001:4870:e08e:200:225:90ff:fea0:f864]) by ietfa.amsl.com (Postfix) with ESMTP id EB4931A0767 for <cfrg@irtf.org>; Mon, 12 May 2014 15:35:51 -0700 (PDT)
Received: from vpn-30-66.galois.com (vpn-30-66.galois.com [192.168.30.66]) (authenticated bits=0) by mail.galois.com (8.14.4/8.14.4) with ESMTP id s4CMZcoZ015592 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 12 May 2014 15:35:43 -0700
From: Dylan McNamee <dylan@galois.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Mon, 12 May 2014 15:35:36 -0700
To: cfrg@irtf.org
Message-Id: <1E288763-1DAC-4A4C-A0CC-785D6A5757D5@galois.com>
Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\))
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/dma9e9IlzTVby0oBhlxYvBZ3JEk
Subject: [Cfrg] Implementation / spec of draft-nir-cfrg-chacha20-poly1305 in Cryptol
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 12 May 2014 22:44:10 -0000

Hello CFRG,

I was pointed to draft-nir-cfrg-chacha20-poly1305 by Kyle Isom, who has
been implementing ChaCha20 in the Go language, and said he found this
draft document a helpful guide to some of the trickier / ambiguous bits
in the ChaCha20 specification.

I totally agree - I spent much of last week turning the document into a
"literate Cryptol" specification of ChaCha20, Poly1305 and the AEAD
construction -- it would have taken me much, much longer to complete
these specifications just starting from the source documents. Both Adam
and Yoav helped me through a couple sticky bits, and they suggested I
bring any lessons I learned to this group.

For those who aren't familiar with it, Cryptol is a domain specific
specification language for cryptographic algorithms. The current
version of Cryptol, 2.0, was released a couple weeks ago as an open
source project. See http://cryptol.net for details.

The interim result of turning the ChaCha20/Poly1305 document into =
literate=20
Cryptol is on my github, here:

=
https://github.com/dylanmc/cryptol/blob/master/examples/ChaChaPolyCryptolI=
ETF.md

I'm new to this community, so it's not surprising that there were a =
number of=20
places where I got tripped up. I corrected most of them in the version =
of=20
the text on GitHub.

In particular, I found the second bullet point, in section 2.5 "the =
Poly1305=20
algorithm", to be befuddling:

  o Read the block as a little-endian number.  (so far, so good)
  o Add one bit beyond the number of octets.  For a 16-byte block this
      is equivalent to adding 2^128 to the number.  For the shorter
      block it can be 2^120, 2^112, or any power of two that is evenly
      divisible by 8, all the way down to 2^8.

I translated this to:

  o Prepend a 0x01 byte to the sequence of octets.

In Cryptol this is:

	0x01 # (littleendian block)

The sentence that follows in the first version was confusing because
prepending a 0x01 byte (which is what we're supposed to do, I think)
does a complicated thing when interpreted in little-endian mode, which
is the mode we're in according to the previous bullet.

In the Cryptol specification, I was forced to choose exact bit-widths
for each of the intermediate results in Poly1305, which I think adds
some clarity to the math, and should be helpful since the
implementation guide suggests avoiding "bignum" packages.

The other place I got tripped up, which I think is clarified in a
literate program, is in the AEAD construction, I found myself getting
lost in the nested description of intermediate results and arguments to
helper functions, vs. the overall construction. Adam and Yoav were kind
enough to help me through this part, but I think the final spec could
benefit from some kind of pseudocode, literate program, or other
clarification.

I hope this is helpful to folks. Comments & feedback are welcome!

cheers,
dylan mcnamee=20
(Galois, Inc)=


From nobody Mon May 12 16:11:23 2014
Return-Path: <ilari.liusvaara@elisanet.fi>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3EE5E1A07B2 for <cfrg@ietfa.amsl.com>; Mon, 12 May 2014 16:11:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pnVsJTw8IIqn for <cfrg@ietfa.amsl.com>; Mon, 12 May 2014 16:11:15 -0700 (PDT)
Received: from emh03.mail.saunalahti.fi (emh03.mail.saunalahti.fi [62.142.5.109]) by ietfa.amsl.com (Postfix) with ESMTP id AF41B1A0793 for <cfrg@irtf.org>; Mon, 12 May 2014 16:11:15 -0700 (PDT)
Received: from LK-Perkele-VII (a88-112-44-140.elisa-laajakaista.fi [88.112.44.140]) by emh03.mail.saunalahti.fi (Postfix) with ESMTP id 57066188796; Tue, 13 May 2014 02:11:08 +0300 (EEST)
Date: Tue, 13 May 2014 02:11:07 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Dylan McNamee <dylan@galois.com>
Message-ID: <20140512231107.GA17814@LK-Perkele-VII>
References: <1E288763-1DAC-4A4C-A0CC-785D6A5757D5@galois.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <1E288763-1DAC-4A4C-A0CC-785D6A5757D5@galois.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/a88nEfA56EJAKWlrmIvUIuCOmyU
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Implementation / spec of draft-nir-cfrg-chacha20-poly1305 in Cryptol
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 12 May 2014 23:11:21 -0000

On Mon, May 12, 2014 at 03:35:36PM -0700, Dylan McNamee wrote:
> 
> In particular, I found the second bullet point, in section 2.5 "the Poly1305 
> algorithm", to be befuddling:
> 
>   o Read the block as a little-endian number.  (so far, so good)
>   o Add one bit beyond the number of octets.  For a 16-byte block this
>       is equivalent to adding 2^128 to the number.  For the shorter
>       block it can be 2^120, 2^112, or any power of two that is evenly
>       divisible by 8, all the way down to 2^8.
> 
> I translated this to:
> 
>   o Prepend a 0x01 byte to the sequence of octets.
> 
> In Cryptol this is:
> 
> 	0x01 # (littleendian block)
> 
> The sentence that follows in the first version was confusing because
> prepending a 0x01 byte (which is what we're supposed to do, I think)
> does a complicated thing when interpreted in little-endian mode, which
> is the mode we're in according to the previous bullet.

In octet space, it is append, not prepend (little-endian)
In number space, it is addtion of constant (dependent on length).


-Ilari


From nobody Tue May 13 10:14:28 2014
Return-Path: <cloos@jhcloos.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 DEEDD1A014E for <cfrg@ietfa.amsl.com>; Tue, 13 May 2014 10:14:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.652
X-Spam-Level: 
X-Spam-Status: No, score=-2.652 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.651, 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 dSFIf0C1chd0 for <cfrg@ietfa.amsl.com>; Tue, 13 May 2014 10:14:25 -0700 (PDT)
Received: from ore.jhcloos.com (ore.jhcloos.com [198.147.23.85]) by ietfa.amsl.com (Postfix) with ESMTP id B064A1A0168 for <cfrg@irtf.org>; Tue, 13 May 2014 10:14:25 -0700 (PDT)
Received: by ore.jhcloos.com (Postfix, from userid 10) id 5821B1DF87; Tue, 13 May 2014 17:14:19 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=ore14; t=1400001259; bh=UCg9i0k7qfCQi5OQtE9UrKtvYo0oDIlho8l9xapYfZc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ic9qF98I32G5ZH46BDNT7W0UHFUSisPAUveaPKL2F3GU+mWfkF9SYk17RZaiu5FuY VQTx2pmmSR7C1+eOdvbilkyuW07zVbmyoqTvKcdkIR9a9hoj7hy8yPn54tyWG4kVGG 93mUFJquMVD0JcpjFfSHbd1dLYmKU2GPUrQApJ28=
Received: by carbon.jhcloos.org (Postfix, from userid 500) id A94886001E; Tue, 13 May 2014 17:07:49 +0000 (UTC)
From: James Cloos <cloos@jhcloos.com>
To: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <5BD19972-6D0B-411D-8EEB-F1441D3B9729@gmail.com> (Yoav Nir's message of "Mon, 12 May 2014 17:50:17 +0300")
References: <5BD19972-6D0B-411D-8EEB-F1441D3B9729@gmail.com>
User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux)
Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEX///8ZGXBQKKnCrDQ3 AAAAJElEQVQImWNgQAAXzwQg4SKASgAlXIEEiwsSIYBEcLaAtMEAADJnB+kKcKioAAAAAElFTkSu QmCC
Copyright: Copyright 2014 James Cloos
OpenPGP: 0x997A9F17ED7DAEA6; url=https://jhcloos.com/public_key/0x997A9F17ED7DAEA6.asc
OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6
Date: Tue, 13 May 2014 13:07:49 -0400
Message-ID: <m38uq5sj29.fsf@carbon.jhcloos.org>
Lines: 10
MIME-Version: 1.0
Content-Type: text/plain
X-Hashcash: 1:30:140513:ynir.ietf@gmail.com::U5fOSX1ZrQWwn3x+:00000000000000000000000000000000000000000YgiwV
X-Hashcash: 1:30:140513:cfrg@irtf.org::E+SRUomBtqqT8IYH:000dV5St
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/HTixXaG6_Kfeak1gMigDqTNItUk
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] PRF in draft-nir-cfrg-chacha20-poly1305
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 13 May 2014 17:14:27 -0000

>>>>> "YN" == Yoav Nir <ynir.ietf@gmail.com> writes:

YN> So I would like to have a PRF function that is based on ChaCha20,
YN> Poly1305, or a combination of them.

Perhaps, then, an hmac or umac based on blake?

-JimC
--
James Cloos <cloos@jhcloos.com>         OpenPGP: 0x997A9F17ED7DAEA6


From nobody Tue May 13 12:11:24 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 272C91A0132 for <cfrg@ietfa.amsl.com>; Tue, 13 May 2014 12:11:22 -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 tQQIOhX0u8Wj for <cfrg@ietfa.amsl.com>; Tue, 13 May 2014 12:11:17 -0700 (PDT)
Received: from entima.net (entima.net [78.129.143.175]) by ietfa.amsl.com (Postfix) with ESMTP id D6EAF1A010C for <cfrg@irtf.org>; Tue, 13 May 2014 12:11:16 -0700 (PDT)
Message-ID: <53726E4D.8080803@akr.io>
Date: Tue, 13 May 2014 20:11:09 +0100
From: Alyssa Rowan <akr@akr.io>
MIME-Version: 1.0
To: cfrg@irtf.org
References: <5BD19972-6D0B-411D-8EEB-F1441D3B9729@gmail.com> <m38uq5sj29.fsf@carbon.jhcloos.org>
In-Reply-To: <m38uq5sj29.fsf@carbon.jhcloos.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/SzgqgcaOVwAztwJzWaTldf9jgVg
Subject: Re: [Cfrg] PRF in draft-nir-cfrg-chacha20-poly1305
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 13 May 2014 19:11:22 -0000

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

On 13/05/2014 18:07, James Cloos wrote:

>> So I would like to have a PRF function that is based on
>> ChaCha20, Poly1305, or a combination of them.
> Perhaps, then, an hmac or umac based on blake?

Hmm. Nice. Seems like a natural choice to me for those that prefer to
avoid NIST's choices, especially given BLAKE's high performance, high
security margin, SHA-3 finalist status, and its similarity to ChaCha.

Using BLAKE as a hash to round out the non-NIST crypto primitives set
seems reasonable to me.

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

iQIcBAEBCgAGBQJTcm5NAAoJEOyEjtkWi2t6WycP/3uAZlg76uGCfEa1SIeXLG63
Xdh0xg+xPFGTzsAEEKTQrCMjvB2oDZiPU+tvJgr9+AwgLzMHOxvH1JuHrW4Q7tfL
VenFMrGgOmr7xJ3fS0OSUkhItcRv548ZbUrcqupavz3waMPoD9H2K34kLNDBWXJE
axCTI1ykovf5myBqKMsa88IVnrK3LvXTis0xbcx9mud5Nzj5UDqwE9FZakjHLNKa
D37rJjJupbzC0ylZNGGVfZMayicWjtCGUtx9L8kMGilDMENmYyIJ1ZeqGaSKW2bL
IkZl51Ske92KlUpSEGLoTj9dSpnrqEqEBpIEZ2xIbntBqNdBBG/mBc/omJBFvMdR
eAMLiVVjVYg/NXH6irhxaSlL97zdhdAhcT4ZjAdFMhbljnDaJdAPEGFy/d965Ywa
lDNvbgk51drtGQxG1nfmCgsOb0EmdgzvQM9ZlGYwGrvDGA5Y/MCQNCCOYIGo/IFw
e+J+pJ9/H3LVtxjqeE4MiZ1YfW1GucHzTtBvSqjgH7MVmx525/xCMoAHqIYlkojg
QZq4P/T+zslf1rcjeLP2MvZUmnsZ1OqDZeGnK+kezufBA3M6hy+vVk78qtJnUBAg
fDabFm9svssXhVbxkSzo3HQljOpSAl3VrtGqrUksJ7wceiRB2yuqyai7WGt/4lF5
5oRqXGjoHbyE1woPJABG
=9pCY
-----END PGP SIGNATURE-----


From nobody Tue May 13 12:54:29 2014
Return-Path: <watsonbladd@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B42B21A01F0 for <cfrg@ietfa.amsl.com>; Tue, 13 May 2014 12:54:28 -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 Lj3qRbeHZt62 for <cfrg@ietfa.amsl.com>; Tue, 13 May 2014 12:54:27 -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 43AD31A01E8 for <cfrg@irtf.org>; Tue, 13 May 2014 12:54:27 -0700 (PDT)
Received: by mail-yh0-f46.google.com with SMTP id 29so796377yhl.19 for <cfrg@irtf.org>; Tue, 13 May 2014 12:54: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=ku2G4pAbk4cPviy5uSCUJO01xKt3eYCmLzwMFaiC/6c=; b=gKQ0fsmjxsHzp/as2Mb7xVcIh0HQZS6MQD5GTpm//s9DNX6erJn0lpzPBXysdkBJpH mJflaWwuvPCKt4sgCtQjsbWIuY7Sewt9dA2O/MS8j6/Cay43c1sa+nSMt5hE8n0idZHz +YcJ1MjqJQZ/LZAEo9gSLwUWnDXtKdy++yOTjjZne5ZJijCO0v7wfgb6i6mGEGInThk7 IqQFdqXeTpVM5E4QrWBfx2lMvLGUvqCiPmhV3vdk8PNkdqEbrOdZ+Vp+5fFrrE/nU0CQ sriEJQoub5pxOQX7g3FlR90fp5KJ7yMWM3vQX3SdO8vXcEQyTdw2NaAbqG1R88CqzPOu L6cw==
MIME-Version: 1.0
X-Received: by 10.236.198.243 with SMTP id v79mr54136230yhn.87.1400010860750;  Tue, 13 May 2014 12:54:20 -0700 (PDT)
Received: by 10.170.63.197 with HTTP; Tue, 13 May 2014 12:54:20 -0700 (PDT)
Received: by 10.170.63.197 with HTTP; Tue, 13 May 2014 12:54:20 -0700 (PDT)
In-Reply-To: <CACsn0cmfBCepgRka9qYNZqK79WzB3VE878G0=wnFeEgqfhQR9g@mail.gmail.com>
References: <5BD19972-6D0B-411D-8EEB-F1441D3B9729@gmail.com> <m38uq5sj29.fsf@carbon.jhcloos.org> <CACsn0cmfBCepgRka9qYNZqK79WzB3VE878G0=wnFeEgqfhQR9g@mail.gmail.com>
Date: Tue, 13 May 2014 12:54:20 -0700
Message-ID: <CACsn0ckzDcAgb9fsmS+0Crh5oXgG0gJKQp5dJrYE3ZQGr3UCnA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: James Cloos <cloos@jhcloos.com>, cfrg@irtf.org
Content-Type: multipart/alternative; boundary=089e0160bea6096c4004f94d6e82
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/rGjT4a4nOxiTLyDhTQSxOhBr1ew
Subject: Re: [Cfrg] PRF in draft-nir-cfrg-chacha20-poly1305
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 13 May 2014 19:54:28 -0000

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

Resend to right people this time.

On May 13, 2014 11:00 AM, "Watson Ladd" <watsonbladd@gmail.com> wrote:
>
>
> On May 13, 2014 10:14 AM, "James Cloos" <cloos@jhcloos.com> wrote:
> >
> > >>>>> "YN" == Yoav Nir <ynir.ietf@gmail.com> writes:
> >
> > YN> So I would like to have a PRF function that is based on ChaCha20,
> > YN> Poly1305, or a combination of them.
> >
> > Perhaps, then, an hmac or umac based on blake?
>
> Why does the PRF need to be connected to the MAC? What's wrong with
SHA256?  TLS does exactly this for Suite B modes.
>
> Sincerely,
> Watson Ladd
>
> >
> > -JimC
> > --
> > James Cloos <cloos@jhcloos.com>         OpenPGP: 0x997A9F17ED7DAEA6
> >
> > _______________________________________________
> > Cfrg mailing list
> > Cfrg@irtf.org
> > http://www.irtf.org/mailman/listinfo/cfrg

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

<p dir=3D"ltr">Resend to right people this time.</p>
<p dir=3D"ltr">On May 13, 2014 11:00 AM, &quot;Watson Ladd&quot; &lt;<a hre=
f=3D"mailto:watsonbladd@gmail.com">watsonbladd@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On May 13, 2014 10:14 AM, &quot;James Cloos&quot; &lt;<a href=3D"mailt=
o:cloos@jhcloos.com">cloos@jhcloos.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt;&gt;&gt;&gt;&gt; &quot;YN&quot; =3D=3D Yoav Nir &lt;<a href=
=3D"mailto:ynir.ietf@gmail.com">ynir.ietf@gmail.com</a>&gt; writes:<br>
&gt; &gt;<br>
&gt; &gt; YN&gt; So I would like to have a PRF function that is based on Ch=
aCha20,<br>
&gt; &gt; YN&gt; Poly1305, or a combination of them.<br>
&gt; &gt;<br>
&gt; &gt; Perhaps, then, an hmac or umac based on blake?<br>
&gt;<br>
&gt; Why does the PRF need to be connected to the MAC? What&#39;s wrong wit=
h SHA256?=C2=A0 TLS does exactly this for Suite B modes.<br>
&gt;<br>
&gt; Sincerely, <br>
&gt; Watson Ladd<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; -JimC<br>
&gt; &gt; --<br>
&gt; &gt; James Cloos &lt;<a href=3D"mailto:cloos@jhcloos.com">cloos@jhcloo=
s.com</a>&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 OpenPGP: 0x997A9F17ED7DAEA6<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Cfrg mailing list<br>
&gt; &gt; <a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
&gt; &gt; <a href=3D"http://www.irtf.org/mailman/listinfo/cfrg">http://www.=
irtf.org/mailman/listinfo/cfrg</a><br>
</p>

--089e0160bea6096c4004f94d6e82--


From nobody Tue May 13 13:25:20 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 1AB591A01DC for <cfrg@ietfa.amsl.com>; Tue, 13 May 2014 13:25:09 -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 dPRunQrZ3kys for <cfrg@ietfa.amsl.com>; Tue, 13 May 2014 13:25:05 -0700 (PDT)
Received: from entima.net (entima.net [78.129.143.175]) by ietfa.amsl.com (Postfix) with ESMTP id E13551A0202 for <cfrg@irtf.org>; Tue, 13 May 2014 13:25:04 -0700 (PDT)
Message-ID: <53727F99.50806@akr.io>
Date: Tue, 13 May 2014 21:24:57 +0100
From: Alyssa Rowan <akr@akr.io>
MIME-Version: 1.0
To: cfrg@irtf.org
References: <5BD19972-6D0B-411D-8EEB-F1441D3B9729@gmail.com> <m38uq5sj29.fsf@carbon.jhcloos.org> <CACsn0cmfBCepgRka9qYNZqK79WzB3VE878G0=wnFeEgqfhQR9g@mail.gmail.com> <CACsn0ckzDcAgb9fsmS+0Crh5oXgG0gJKQp5dJrYE3ZQGr3UCnA@mail.gmail.com>
In-Reply-To: <CACsn0ckzDcAgb9fsmS+0Crh5oXgG0gJKQp5dJrYE3ZQGr3UCnA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/JIaX3Eri2DLBfcBIZDIMYOdl0vc
Subject: Re: [Cfrg] PRF in draft-nir-cfrg-chacha20-poly1305
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 13 May 2014 20:25:09 -0000

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

On 13/05/2014 20:54, Watson Ladd wrote:

> What's wrong with SHA256?

Nothing much for this, as far as I know? So I think the question is
more: can we do better; do we need to?

BLAKE might be a bit faster (BLAKE2b especially so, at the cost of a
slice of security margin). But does the speed of the IKE PRF really
have any great impact on IPsec performance? Maybe not.

There's one obvious - albeit entirely non-technical - reason: those
preferring to avoid NIST-approved algorithms in general may also
prefer to avoid SHA-256, purely given where it comes from (even if we
know of nothing particularly technically wrong with it).

Other than that, it looks kinda like a 'newer' vs. 'weathered' choice
to me.

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

iQIcBAEBCgAGBQJTcn+ZAAoJEOyEjtkWi2t6gx0P/j5VhMr2OSkCGXtLuVy4Ky36
bQ92Y9n6adUaun+2E4E+5tAU7eGoYo0QFA/F5XJh6M62H28ecsE1ojDIEfNdSehq
Xyj1H8hIIBxyvoT0BkkX0Usv09PY05gHNP8tkeRhTCQoIspbk/MpbdrsrOAQC6Ks
3VHI+3qpayCs8WKeJf6OFoEXvGAdWqU1IFYVh3AWycbLHxqyECYLkyCERgpAern0
B8K6MmdkqWd3uBqyr4nXoPEsvq205W1nulXGlq/8D7kkkgVBD8cNf4kGptBeuub5
Ks640y6kqVhvx7OUixFc3ncdMZoZGLlxHgjWgHCcn5Q91MRj0I3tyG2wDLkahjW2
IumtJ1/zAs5hBkZ+DlD1AYMgiBZ82gOYcpI8sNs7nc1lDreYsqn9DcVsYJ61jH6l
qOHAO69iQJBEUHItvV+6Gu+HNQyMyqgQIWtijoFv+AacbhO23hzpwJ27IPpmd0zd
43R/kM/eA1JLN7V7x1N/wwA8h9cbZYQeEHuxMDcViVd9sDnHnmUooakE/FO16tl3
wzKwduqCeT9XjQFxy6WJZAaikGReausnTocYLAKkyNvDgxXhMSNLdLpdR8z4Jo6k
gUqQkz/Agko+GZZ/juCV3MiN83lRGCHFdXnZSVAilx0lQ/3LoBLnbC0eMI7lasnT
et/ZS9FwRjA4Sy3jboys
=PVy+
-----END PGP SIGNATURE-----


From nobody Tue May 13 23:59:15 2014
Return-Path: <lars@netapp.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 0C0BD1A025D for <cfrg@ietfa.amsl.com>; Tue, 13 May 2014 23:58:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.553
X-Spam-Level: 
X-Spam-Status: No, score=-7.553 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651, 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 xO0kJulZZ-qC for <cfrg@ietfa.amsl.com>; Tue, 13 May 2014 23:58:24 -0700 (PDT)
Received: from mx12.netapp.com (mx12.netapp.com [216.240.18.77]) by ietfa.amsl.com (Postfix) with ESMTP id 66CBC1A0230 for <cfrg@irtf.org>; Tue, 13 May 2014 23:58:24 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.97,1050,1389772800";  d="asc'?scan'208";a="164234313"
Received: from vmwexceht02-prd.hq.netapp.com ([10.106.76.240]) by mx12-out.netapp.com with ESMTP; 13 May 2014 23:58:18 -0700
Received: from SACEXCMBX01-PRD.hq.netapp.com ([169.254.2.246]) by vmwexceht02-prd.hq.netapp.com ([10.106.76.240]) with mapi id 14.03.0123.003; Tue, 13 May 2014 23:58:17 -0700
From: "Eggert, Lars" <lars@netapp.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: Looking for two new CFRG co-chairs
Thread-Index: AQHPb0Hi86DCFcygPk+aNoA1xY6j7A==
Date: Wed, 14 May 2014 06:58:17 +0000
Message-ID: <F8AA2856-08A5-424A-B2E6-2F09A5B4C493@netapp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.122.105.11]
Content-Type: multipart/signed; boundary="Apple-Mail=_6840B6FF-80DE-40AE-B50C-5684AFC166EC"; protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/XLvmnRFJlwmkzU6CH0Dgy7xTHlI
Subject: [Cfrg] Looking for two new CFRG co-chairs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: "irtf-chair@irtf.org" <irtf-chair@irtf.org>
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 14 May 2014 06:58:30 -0000

--Apple-Mail=_6840B6FF-80DE-40AE-B50C-5684AFC166EC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi CFRG,

David McGrew has informed me that he needs to step down as co-chair of =
CFRG soon, because other responsibilities no longer allow him the time =
that to do a good job in that function. The CFRG's other current =
co-chair, Kevin Igoe, is retiring in 2015 and will then also step down.

First, I'd like to sincerely thank David for all the hard work he put =
into running the group for the last few years!

Second, we've decided to look for two new co-chairs at this time, and =
have the CFRG run with three chairs until Kevin retires in 2015. This is =
to ensure a smooth handover at a time where the group is busy with =
critical work.

The new chair team should have deep crypto experience, sufficient time =
to manage the work of the group, some familiarity with the IETF, and the =
ability to travel to (and host) the physical meetings of the group. Note =
that it's not required that each individual chair fulfill all of these =
criteria; but the team should as a whole. (For example, it's probably =
sufficient if one chair has some IETF experience, etc.)

If you are interested in being considered as a co-chair, please send me =
a quick email off-list. If you believe that some other community member =
may be a good chair, please convince them to put their name forward, =
too.

Lars Eggert
IRTF Chair

--Apple-Mail=_6840B6FF-80DE-40AE-B50C-5684AFC166EC
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="signature.asc"
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQCVAwUBU3MUCNZcnpRveo1xAQJWYwQAug9nkMZjIGIE04MZbyonJ1PxQWGNupTp
86JS3Z2SVoV8k3BzZAXlO/gcXm/vARi/c8i35+NP2yDNknWEWDZ2Iy7p6PepO5rZ
r+U8RfnV3OkYAGCXh0N2PlpzNoLtciPhSLjYwZed1gux3fOnBf8euAPzCBGGI6iM
3wdD6ac7l70=
=SPCN
-----END PGP SIGNATURE-----

--Apple-Mail=_6840B6FF-80DE-40AE-B50C-5684AFC166EC--


From nobody Wed May 14 00:03:22 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 6E7EE1A026F for <cfrg@ietfa.amsl.com>; Wed, 14 May 2014 00:03:19 -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 p6XhZCm5kphB for <cfrg@ietfa.amsl.com>; Wed, 14 May 2014 00:03:17 -0700 (PDT)
Received: from mail-we0-x229.google.com (mail-we0-x229.google.com [IPv6:2a00:1450:400c:c03::229]) by ietfa.amsl.com (Postfix) with ESMTP id 4F0491A0040 for <cfrg@irtf.org>; Wed, 14 May 2014 00:03:17 -0700 (PDT)
Received: by mail-we0-f169.google.com with SMTP id u56so1489583wes.0 for <cfrg@irtf.org>; Wed, 14 May 2014 00:03:10 -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=WuGNEu4p3Fu0GEERUY6wqebxMrAzd6bfasWTB1I7sgw=; b=aqrwajiqo7gPqAdeZ6wsfYBu8QIKuENs+lBHp9zpO0lqTsYFS4qI4J5SuKSz2HSOyW AIpzj5Z8P/84i6w7iOfHg15UgNe29LNamMbXnGBzcJmK1d5kOtAggeU/KCz88qqZrABE 2PeL2JylmmlSvirx0ESg/RiYmiPiBiW47RsNIm8cNgN54HjNU+4MxJhHHBu++w4wDYVJ qi/yy7uqFLW3N/Vp5vv6Ua6LXmwmn5PvJKgxwAyq6AS2lQJaFXmJeRyq2VgC7wrXkH5r I89MTrcdcUrP8iFPZyz1BO24Xu6kinRtgqSGhrDRV3zqMMNrWiMWni8SxRmif47GLteb dLPg==
X-Received: by 10.180.206.205 with SMTP id lq13mr24591097wic.11.1400050990248;  Wed, 14 May 2014 00:03:10 -0700 (PDT)
Received: from [172.24.249.242] (dyn32-131.checkpoint.com. [194.29.32.131]) by mx.google.com with ESMTPSA id b16sm1243477wjx.45.2014.05.14.00.03.08 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 May 2014 00:03:09 -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: <53727F99.50806@akr.io>
Date: Wed, 14 May 2014 09:28:49 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <FA445641-1B7C-49C5-BFE3-A33DBD71E687@gmail.com>
References: <5BD19972-6D0B-411D-8EEB-F1441D3B9729@gmail.com> <m38uq5sj29.fsf@carbon.jhcloos.org> <CACsn0cmfBCepgRka9qYNZqK79WzB3VE878G0=wnFeEgqfhQR9g@mail.gmail.com> <CACsn0ckzDcAgb9fsmS+0Crh5oXgG0gJKQp5dJrYE3ZQGr3UCnA@mail.gmail.com> <53727F99.50806@akr.io>
To: Alyssa Rowan <akr@akr.io>
X-Mailer: Apple Mail (2.1874)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/v4hJWoVqVvm3QVweLE5lZ-hYLUo
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] PRF in draft-nir-cfrg-chacha20-poly1305
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 14 May 2014 07:03:19 -0000

On May 13, 2014, at 11:24 PM, Alyssa Rowan <akr@akr.io> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>=20
> On 13/05/2014 20:54, Watson Ladd wrote:
>=20
>> What's wrong with SHA256?
>=20
> Nothing much for this, as far as I know? So I think the question is
> more: can we do better; do we need to?

I guess I would answer these probably, and probably not.

> BLAKE might be a bit faster (BLAKE2b especially so, at the cost of a
> slice of security margin). But does the speed of the IKE PRF really
> have any great impact on IPsec performance? Maybe not.

Highly-loaded VPN gateways run the PRF function dozens to a few hundreds =
of times a second. AES or ChaCha keys are good for several hours, so =
you=92d need millions of tunnels to break into the =93hundreds of times =
per second=94  territory. My lowly laptop can do over a million =
HMAC-SHA-256 operations per second. I don=92t think any IKE =
implementation is stuck on PRF.

I don=92t think any crypto library today can entirely forego SHA-256. So =
specifying BLAKE would mean requiring yet another primitive in the =
library. I don=92t think we have a good enough justification for this.

> There's one obvious - albeit entirely non-technical - reason: those
> preferring to avoid NIST-approved algorithms in general may also
> prefer to avoid SHA-256, purely given where it comes from (even if we
> know of nothing particularly technically wrong with it).

I think people are somewhat suspicious of NIST curves, because of the =
=93here are some numbers. use these.=94 thing, but SHA-256 doesn=92t =
have as much opportunity for =93play=94 (as far as we know). I don=92t =
see much objection in TLS for using SHA-256 in every legacy ciphersuite.

> Other than that, it looks kinda like a 'newer' vs. 'weathered' choice
> to me.

Unfortunately, age is not a good indicator for how soon an algorithm =
will be broken.

Yoav


From nobody Wed May 14 04:32:09 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 1D3571A0065; Wed, 14 May 2014 04:32:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.151
X-Spam-Level: 
X-Spam-Status: No, score=-15.151 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651, 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 S7tn8ivz4wbu; Wed, 14 May 2014 04:32:06 -0700 (PDT)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) by ietfa.amsl.com (Postfix) with ESMTP id 828D01A0063; Wed, 14 May 2014 04:32:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4903; q=dns/txt; s=iport; t=1400067120; x=1401276720; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; bh=3BkSQBg25AdEoU4chsyCtHQ3juEP71Su5s0piUuU3EQ=; b=hW2unbx44jT8NYROEq8+VbsApu82wXnrWWh2jK13zvFokBSpnN2eLSnC 0Xc9Hc5rbKPjrP6eyyxMs25Dyq4ObxgNDmA7jqtSFm2tn0R1JhQ357qlf uGP0ILk1pDBp6ePnGFmmHDO4LKxEFky+daYtYm+onsQENj+9zAkD8K+oc Q=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhwFAIhTc1OtJV2d/2dsb2JhbABZgwZPvwsBhzoBgRsWdIIlAQEBAwEBAQFrBQUBBQsLBBQJFg8JAwIBAgEVMAYNAQUCAgULiCUIDdEPF4wqK4EXEQFQB4RABJlRhmmMKoNSIYE6
X-IronPort-AV: E=Sophos;i="4.97,1051,1389744000";  d="scan'208,217";a="324791187"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by rcdn-iport-7.cisco.com with ESMTP; 14 May 2014 11:31:59 +0000
Received: from [10.0.2.15] (rtp-mcgrew-8915.cisco.com [10.117.10.230]) by rcdn-core-6.cisco.com (8.14.5/8.14.5) with ESMTP id s4EBVwRW029723; Wed, 14 May 2014 11:31:58 GMT
Message-ID: <53735430.6080602@cisco.com>
Date: Wed, 14 May 2014 07:32:00 -0400
From: David McGrew <mcgrew@cisco.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10
MIME-Version: 1.0
To: "irtf-chair@irtf.org" <irtf-chair@irtf.org>
References: <F8AA2856-08A5-424A-B2E6-2F09A5B4C493@netapp.com>
In-Reply-To: <F8AA2856-08A5-424A-B2E6-2F09A5B4C493@netapp.com>
Content-Type: multipart/alternative; boundary="------------080604000301080709090702"
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/NM-RPvYqkkoiXjJMQlZcqhCerrg
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Looking for two new CFRG co-chairs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 14 May 2014 11:32:08 -0000

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

Hi Lars and CFRG,

On 05/14/2014 02:58 AM, Eggert, Lars wrote:
> Hi CFRG,
>
> David McGrew has informed me that he needs to step down as co-chair of CFRG soon, because other responsibilities no longer allow him the time that to do a good job in that function.

I regret that I do not have the time in my schedule to continue as 
co-chair.   The charter and work of the research group is still very 
relevant, and I hope to stay engaged as a participant.

> The CFRG's other current co-chair, Kevin Igoe, is retiring in 2015 and will then also step down.
>
> First, I'd like to sincerely thank David for all the hard work he put into running the group for the last few years!
>
> Second, we've decided to look for two new co-chairs at this time, and have the CFRG run with three chairs until Kevin retires in 2015. This is to ensure a smooth handover at a time where the group is busy with critical work.
>
> The new chair team should have deep crypto experience, sufficient time to manage the work of the group, some familiarity with the IETF, and the ability to travel to (and host) the physical meetings of the group. Note that it's not required that each individual chair fulfill all of these criteria; but the team should as a whole. (For example, it's probably sufficient if one chair has some IETF experience, etc.)

This is a good plan.

David

> If you are interested in being considered as a co-chair, please send me a quick email off-list. If you believe that some other community member may be a good chair, please convince them to put their name forward, too.
>
> Lars Eggert
> IRTF Chair
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


--------------080604000301080709090702
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">Hi Lars and CFRG,<br>
      <br>
      On 05/14/2014 02:58 AM, Eggert, Lars wrote:<br>
    </div>
    <blockquote
      cite="mid:F8AA2856-08A5-424A-B2E6-2F09A5B4C493@netapp.com"
      type="cite">
      <pre wrap="">Hi CFRG,

David McGrew has informed me that he needs to step down as co-chair of CFRG soon, because other responsibilities no longer allow him the time that to do a good job in that function. </pre>
    </blockquote>
    <br>
    I regret that I do not have the time in my schedule to continue as
    co-chair.&nbsp;&nbsp; The charter and work of the research group is still very
    relevant, and I hope to stay engaged as a participant.&nbsp; <br>
    <br>
    <blockquote
      cite="mid:F8AA2856-08A5-424A-B2E6-2F09A5B4C493@netapp.com"
      type="cite">
      <pre wrap="">The CFRG's other current co-chair, Kevin Igoe, is retiring in 2015 and will then also step down.

First, I'd like to sincerely thank David for all the hard work he put into running the group for the last few years!

Second, we've decided to look for two new co-chairs at this time, and have the CFRG run with three chairs until Kevin retires in 2015. This is to ensure a smooth handover at a time where the group is busy with critical work.

The new chair team should have deep crypto experience, sufficient time to manage the work of the group, some familiarity with the IETF, and the ability to travel to (and host) the physical meetings of the group. Note that it's not required that each individual chair fulfill all of these criteria; but the team should as a whole. (For example, it's probably sufficient if one chair has some IETF experience, etc.)
</pre>
    </blockquote>
    <br>
    This is a good plan.<br>
    <br>
    David<br>
    <br>
    <blockquote
      cite="mid:F8AA2856-08A5-424A-B2E6-2F09A5B4C493@netapp.com"
      type="cite">
      <pre wrap="">
If you are interested in being considered as a co-chair, please send me a quick email off-list. If you believe that some other community member may be a good chair, please convince them to put their name forward, too.

Lars Eggert
IRTF Chair
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Cfrg mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a>
<a class="moz-txt-link-freetext" href="http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/mailman/listinfo/cfrg</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------080604000301080709090702--


From nobody Wed May 14 05:47:06 2014
Return-Path: <rifaat.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 CA55E1A0077 for <cfrg@ietfa.amsl.com>; Wed, 14 May 2014 05:47:05 -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 pKM9uc9d5P1W for <cfrg@ietfa.amsl.com>; Wed, 14 May 2014 05:47:03 -0700 (PDT)
Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 9BC551A0074 for <cfrg@irtf.org>; Wed, 14 May 2014 05:47:02 -0700 (PDT)
Received: by mail-lb0-f174.google.com with SMTP id n15so1359825lbi.5 for <cfrg@irtf.org>; Wed, 14 May 2014 05:46:55 -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=RamZkKq0t+U//Vw9T+FyhqNs5xBiqpsosYu5MaApPqI=; b=xj+5UWVHCYhtMk5BLJnkgw4FHUOybIbdjbY6SWDRmqkiY67Lq8tBR6POkVrLyzm17A VaU2Z048YcW7lc2UnFeefs6tdPF/KYuq68t5vWWiOPCg8Le6RVz983cQ28HhsEjvuXbF 6mUQEWOINucT2GNWEloeT/xvA5JfqES+vqhh1M/WZs+LNB1BSgi2Co2hT3NQwb1gOro8 /ywuxFAX0GJHgxmeqfIXTXFs5KfMpxH7dlqHQIFYqR84y3Hyif1XqoLUFfDbEK5VGy1T 37Bbmxxw0Fb3q1mShXjH0JmG2h/1hVo/6SfcU7FaTwwJ2uAly4yMJMBhvy/B/g9L/7MO 9OaQ==
MIME-Version: 1.0
X-Received: by 10.112.150.103 with SMTP id uh7mr2373590lbb.30.1400071615180; Wed, 14 May 2014 05:46:55 -0700 (PDT)
Received: by 10.114.12.234 with HTTP; Wed, 14 May 2014 05:46:55 -0700 (PDT)
Date: Wed, 14 May 2014 08:46:55 -0400
Message-ID: <CAGL6epKMqH835XTDeGnUc-AZkF2DqYawQyBZaxbOcO4Pqbh8Ng@mail.gmail.com>
From: Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>
To: cfrg@irtf.org
Content-Type: multipart/mixed; boundary=047d7b33da6048869304f95b9331
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/BdSQUrnSVsulIK5tiLssycVlI9Q
Subject: [Cfrg] Key-Derivation Scheme
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 14 May 2014 12:47:05 -0000

--047d7b33da6048869304f95b9331
Content-Type: multipart/alternative; boundary=047d7b33da6048868e04f95b932f

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

Hi,

This is to continue the Key-Derivation Scheme discussion started on the
SAAG mailing list:
http://www.ietf.org/mail-archive/web/saag/current/msg04964.html

Attached is an updated version of the draft based on the feedback on the
SAAG mailing list.

There are two major changes to the initial draft:

1.  Use of the Scrypt function, instead of PBKDF2 function
2.  Mutual authentication, instead of client authentication only.

I would appreciate any comments on this new version of the draft.

Regards,
 Rifaat

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

<div dir=3D"ltr"><div>Hi,</div><div><br></div>This is to continue the Key-D=
erivation Scheme discussion started on the SAAG mailing list:<div><a href=
=3D"http://www.ietf.org/mail-archive/web/saag/current/msg04964.html">http:/=
/www.ietf.org/mail-archive/web/saag/current/msg04964.html</a></div>
<div><br><div>Attached is an updated version of the draft based on the feed=
back on the SAAG mailing list.=A0</div><div><br></div><div>There are two ma=
jor changes to the initial draft:<br></div>
<div><br></div><div>1. =A0Use of the Scrypt function, instead of PBKDF2 fun=
ction</div><div>2. =A0Mutual authentication, instead of client authenticati=
on only.</div><div><br></div><div>I would appreciate any comments on this n=
ew version of the draft.</div>

<div><br></div><div>Regards,</div><div>=A0Rifaat</div><div><br></div></div>=
</div>

--047d7b33da6048868e04f95b932f--
--047d7b33da6048869304f95b9331
Content-Type: text/plain; charset=US-ASCII; name="draft-yusef-key-derivation-00-03.txt"
Content-Disposition: attachment; 
	filename="draft-yusef-key-derivation-00-03.txt"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hv6mfuut0

IA0KDQoNCg0KSW50ZXJuZXQtRHJhZnQgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIFIuIFNoZWtoLVl1c2VmDQpJbnRlbmRlZCBTdGF0dXM6IFN0YW5kYXJkcyBUcmFj
ayAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQXZheWENCkV4cGlyZXM6IE5vdmVt
YmVyIDE1LCAyMDE0ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIE1heSAxNCwgMjAx
NA0KDQoNCg0KICAgICAgICAgICAgICAgICBLZXktRGVyaXZhdGlvbiBBdXRoZW50aWNhdGlvbiBT
Y2hlbWUgDQogICAgICAgICAgICAgICAgICAgICBkcmFmdC15dXNlZi1rZXktZGVyaXZhdGlvbi0w
MA0KDQoNCkFic3RyYWN0DQoNCiAgIFRoa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dmF0aW9uIEF1dGhlbnRpY2F0aW9u
IFNjaGVtZSAgICAgIE1heSAxNCwgMjAxNA0KDQoNCiAgIFRoZSBmb2xsb3dpbmcgZmxvdyBkZXNj
cmliZXMgYXQgYSBoaWdoLWxldmVsIHRoZSBmbG93IG9mIG1lc3NhZ2VzDQogICBiYXNlZCBvbiB0
aGUgY2hhbGxlbmdlLXJlc3BvbnNlIGZyYW1ld29yazoNCg0KICAgQ2xpZW50ICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBTZXJ2ZXINCiAgIC0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tDQogICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgIHwNCiAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfA0KICAgICB8IEluaXRpYWwtUmVx
dWVzdCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8DQogICAg
IHwgICB1c2VybmFtZUBkb21haW4uY29tICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgIHwNCiAgICAgfC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0+fA0KICAgICB8ICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8DQogICAgIHwgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwNCiAgICAg
fCAgICAgICAgICAgbyBwb3AgPSBITUFDLVNIQTI1NihtYXN0ZXIta2V5LCBzb21lLWNoYWxsZW5n
ZS1oZWFkZXJzKQ0KICAgICB8ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICB8DQogICAgIHwgICAgICAgICAgICAgICAgICAgQ2hhbGxl
bmdlICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwNCiAgICAgfCAgICAgICAgICAg
ICAgICAgICAgIGtkZiwgc2FsdCwgY3B1LW1lbS1jb3N0LCBibG9jay1zaXplLCAgICAgfA0KICAg
ICB8ICAgICAgICAgICAgICAgICAgICAgcGFyYWxsZWxpemF0aW9uLCBkZXJpdmVkLWtleS1sZW5n
dGgsIHBvcCB8DQogICAgIHw8LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLXwNCiAgICAgfCAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfA0KICAgICB8ICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8DQogICBv
IG1hc3Rlci1rZXkgPSBzY3J5cHQocGFzc3dvcmQsIGtkZiwgc2FsdCwgY3B1LW1lbS1jb3N0LCBi
bG9jay1zaXplLA0KICAgICAgICAgICAgICAgICAgICAgICAgIHBhcmFsbGVsaXphdGlvbiwgZGVy
aXZlZC1rZXktbGVuZ3RoKQ0KICAgbyBDbGllbnQgdmVyaWZpZXMgdGhlIHBvcCBzZW50IGJ5IHRo
ZSBzZXJ2ZXIuICAgICAgICAgICAgICAgICAgICB8DQogICBvIHBvcCA9IEhNQUMtU0hBMjU2KG1h
c3Rlci1rZXksIHNvbWUtcmVzcG9uc2UtaGVhZGVycykgICAgICAgICAgIHwNCiAgICAgfCAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
fA0KICAgICB8IFJlc3BvbnNlICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICB8DQogICAgIHwgICB1c2VybmFtZUBkb21haW4uY29tLCBwb3AgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwNCiAgICAgfC0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0+fA0KICAgICB8ICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8
DQogICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgIHwNCiAgICAgfCAgICAgICAgICAgICBvIFNlcnZlciB2ZXJpZmllcyB0aGUg
cG9wIHNlbnQgYnkgdGhlIGNsaWVudA0KICAgICB8ICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8DQogICAgIHwgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICBDb25maXJtYXRpb24gICAgICAgICAgIHwNCiAgICAg
fCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3Rva2VuLCBleHBpcmVz
LC4uLl0gfA0KICAgICB8PC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS18DQogICAgIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwNCiAgICAgfCAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCAgDQogICAg
IHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICA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gUC4s
IGFuZCBELiBXaW5nLA0KICAgICAgICAgICAgICAiU2Vzc2lvbiBUcmF2ZXJzYWwgVXRpbGl0aWVz
IGZvciBOQVQgKFNUVU4pIiwgUkZDIDUzODksDQogICAgICAgICAgICAgIE9jdG9iZXIgMjAwOC4N
Cg0KICAgW1JGQzY3NDldICBIYXJkdCwgRC4sICJUaGUgT0F1dGggMi4wIEF1dGhvcml6YXRpb24g
RnJhbWV3b3JrIiwgUkZDDQogICAgICAgICAgICAgIDY3NDksIE9jdG9iZXIgMjAxMi4NCg0KICAg
W0hUVFAtUDddICBGaWVsZGluZywgUi4sIFJlc2Noa2UsIEouLCAiSHlwZXJ0ZXh0IFRyYW5zZmVy
IFByb3RvY29sDQogICAgICAgICAgICAgIChIVFRQLzEuMSk6IEF1dGhlbnRpY2F0aW9uIiwgZHJh
ZnQtaWV0Zi1odHRwYmlzLXA3LWF1dGgNCiAgICAgICAgICAgICAgKFdvcmsgaW4gUHJvZ3Jlc3Mp
LCBGZWJydWFyeSAyMDE0Lg0KDQoNCg0KQXV0aG9ycycgQWRkcmVzc2VzDQoNCg0KICAgUmlmYWF0
IFNoZWtoLVl1c2VmDQogICBBdmF5YQ0KICAgMjUwIFN5ZG5leSBTdHJlZXQNCiAgIEJlbGxldmls
bGUsIE9udGFyaW8NCiAgIENhbmFkYQ0KDQogICBQaG9uZTogKzEtNjEzLTk2Ny01MjY3DQogICBF
bWFpbDogcmlmYWF0LmlldGZAZ21haWwuY29tDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0K
DQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQpTaGVraC1ZdXNlZiwgZXQuIGFsLiAgIEV4cGlyZXMg
Tm92ZW1iZXIgMTUsIDIwMTQgICAgICAgICAgICAgICAgW1BhZ2UgOF0NCg==
--047d7b33da6048869304f95b9331--


From eternaleye@gmail.com  Wed May 14 10:47:03 2014
Return-Path: <eternaleye@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 A62041A00B2 for <cfrg@ietfa.amsl.com>; Wed, 14 May 2014 10:47:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.333
X-Spam-Level: 
X-Spam-Status: No, score=-0.333 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.665] 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 G7NBVgwiziCp for <cfrg@ietfa.amsl.com>; Wed, 14 May 2014 10:47:02 -0700 (PDT)
Received: from m1plded02-01.prod.mesa1.secureserver.net (m1plded02-01.prod.mesa1.secureserver.net [64.202.189.20]) by ietfa.amsl.com (Postfix) with ESMTP id 3EB7E1A014D for <cfrg@irtf.org>; Wed, 14 May 2014 10:47:02 -0700 (PDT)
Received: from impactstudiopro.com ([97.74.126.169]) by m1plded02-01.prod.mesa1.secureserver.net with : DED : id 1tms1o00Z3fQw8101tmsKY; Wed, 14 May 2014 10:46:52 -0700
x-originating-ip: 97.74.126.169
Received: from arkadios.localnet (unknown [50.245.141.77]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by impactstudiopro.com (Postfix) with ESMTPSA id 17061885B74 for <cfrg@irtf.org>; Wed, 14 May 2014 17:46:52 +0000 (UTC)
Content-Type: text/plain; charset="ISO-8859-1"
From: Alex Elsayed <eternaleye@gmail.com>
Date: Wed, 14 May 2014 10:46:49 -0700
User-Agent: KNode/4.12
Content-Transfer-Encoding: 7Bit
To: cfrg@irtf.org
References: <CAGL6epKMqH835XTDeGnUc-AZkF2DqYawQyBZaxbOcO4Pqbh8Ng@mail.gmail.com>
Lines: 42
MIME-Version: 1.0
Message-Id: <20140514174652.17061885B74@impactstudiopro.com>
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Sr5juT_KeUfsZ0IklheXrOB6aF8
Subject: Re: [Cfrg] Key-Derivation Scheme
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 14 May 2014 17:48:22 -0000

Rifaat Shekh-Yusef wrote:

> Hi,
> 
> This is to continue the Key-Derivation Scheme discussion started on the
> SAAG mailing list:
> http://www.ietf.org/mail-archive/web/saag/current/msg04964.html
> 
> Attached is an updated version of the draft based on the feedback on the
> SAAG mailing list.
> 
> There are two major changes to the initial draft:
> 
> 1.  Use of the Scrypt function, instead of PBKDF2 function
> 2.  Mutual authentication, instead of client authentication only.
> 
> I would appreciate any comments on this new version of the draft.
> 
> Regards,
>  Rifaat

Scrypt's primary gain over PBKDF2 is that it's a memory-hard function - 
however, experience with e.g. Litecoin shows that Scrypt in particular is 
subject to some time-memory tradeoff behaviors that may not be ideal.

I'd like to refer anyone interested in this to the Password Hashing 
Competition (and the mailing list + archives thereof), which has also 
discussed that 'suitability for use as a KDF' is both an important point to 
consider in their selection process (as the submissions phase has ended), as 
well as not necessarily following from the definition of a memory-hard one-
way function.

The goal of the PHC is to select a strong password-hashing function that 
will (hopefully) stand the test of time, and the submissions cover the gamut 
of memory-hardness, cache-timing attack resistance, resistance to 
time/memory tradeoff attacks, avoidance of conditional branches, dependent 
accesses to prevent pipelining (penalizing systems with high-latency memory 
like GPUs), etc.

(Interestingly, one thing that showed up is that there seems to be an 
inherent tradeoff between avoiding cache-timing attacks and preventing 
pipelining. While it's not yet shown to hold in all cases, no 
counterexamples have been found either)


From nobody Thu May 15 05:09:47 2014
Return-Path: <rifaat.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 E71311A0285 for <cfrg@ietfa.amsl.com>; Thu, 15 May 2014 05:09:45 -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 G2iGSF879EzC for <cfrg@ietfa.amsl.com>; Thu, 15 May 2014 05:09:44 -0700 (PDT)
Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com [IPv6:2a00:1450:4010:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 855551A0292 for <cfrg@irtf.org>; Thu, 15 May 2014 05:09:43 -0700 (PDT)
Received: by mail-la0-f44.google.com with SMTP id hr17so719658lab.17 for <cfrg@irtf.org>; Thu, 15 May 2014 05:09:35 -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=a/J5CQsNp+FeieMCSjwe1UkYPoSvUbpsQeyczln0DOU=; b=aMFrfAxA5opM50cZ9/fTq/zH65WWUelF4WmcRDE4bZS16Dn6HZs2hIdbt8niToKJ91 uQmlwpbMMyFDjsZbneObiVKzxIJJnFcM8r8eurog5QrXjdT3eZaoM3iU/pWgf1RL1lR7 3p/FoSNZCVzicy1h/JcGKYJ32lt/Xab0NER9S4kxVK6GspERpe03Co+umvjCoWltZ/bg KD7Oy/ZzVFp9rpBJUC/6nnwJhDaJ2OhFS4aquc/JyHwdmpoMfMP1jN+3hIrOQqY7mTrE NKYiyUR6FeSi6VSfapY7reFoTD8ZjTEfVdiLhijMr+Z5m7tEjtR/nW83+BP+XBuWbo1E CLhA==
MIME-Version: 1.0
X-Received: by 10.112.46.97 with SMTP id u1mr1643492lbm.50.1400155775044; Thu, 15 May 2014 05:09:35 -0700 (PDT)
Received: by 10.114.12.234 with HTTP; Thu, 15 May 2014 05:09:34 -0700 (PDT)
In-Reply-To: <20140514174652.17061885B74@impactstudiopro.com>
References: <CAGL6epKMqH835XTDeGnUc-AZkF2DqYawQyBZaxbOcO4Pqbh8Ng@mail.gmail.com> <20140514174652.17061885B74@impactstudiopro.com>
Date: Thu, 15 May 2014 08:09:34 -0400
Message-ID: <CAGL6epJuc1_2SiTv=GsUaQQEofK0iYccZWVJx+7qF1YZz75-xw@mail.gmail.com>
From: Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>
To: Alex Elsayed <eternaleye@gmail.com>
Content-Type: multipart/alternative; boundary=001a113497e69a103304f96f2be6
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/jV632ccoWdVS-__DHqz6a36axgY
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Key-Derivation Scheme
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 15 May 2014 12:09:46 -0000

--001a113497e69a103304f96f2be6
Content-Type: text/plain; charset=ISO-8859-1

Thanks Alex,

Do you have more details about that experience with Litecoin?

Regards,
 Rifaat



On Wed, May 14, 2014 at 1:46 PM, Alex Elsayed <eternaleye@gmail.com> wrote:

> Rifaat Shekh-Yusef wrote:
>
> > Hi,
> >
> > This is to continue the Key-Derivation Scheme discussion started on the
> > SAAG mailing list:
> > http://www.ietf.org/mail-archive/web/saag/current/msg04964.html
> >
> > Attached is an updated version of the draft based on the feedback on the
> > SAAG mailing list.
> >
> > There are two major changes to the initial draft:
> >
> > 1.  Use of the Scrypt function, instead of PBKDF2 function
> > 2.  Mutual authentication, instead of client authentication only.
> >
> > I would appreciate any comments on this new version of the draft.
> >
> > Regards,
> >  Rifaat
>
> Scrypt's primary gain over PBKDF2 is that it's a memory-hard function -
> however, experience with e.g. Litecoin shows that Scrypt in particular is
> subject to some time-memory tradeoff behaviors that may not be ideal.
>
> I'd like to refer anyone interested in this to the Password Hashing
> Competition (and the mailing list + archives thereof), which has also
> discussed that 'suitability for use as a KDF' is both an important point to
> consider in their selection process (as the submissions phase has ended),
> as
> well as not necessarily following from the definition of a memory-hard one-
> way function.
>
> The goal of the PHC is to select a strong password-hashing function that
> will (hopefully) stand the test of time, and the submissions cover the
> gamut
> of memory-hardness, cache-timing attack resistance, resistance to
> time/memory tradeoff attacks, avoidance of conditional branches, dependent
> accesses to prevent pipelining (penalizing systems with high-latency memory
> like GPUs), etc.
>
> (Interestingly, one thing that showed up is that there seems to be an
> inherent tradeoff between avoiding cache-timing attacks and preventing
> pipelining. While it's not yet shown to hold in all cases, no
> counterexamples have been found either)
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>

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

<div dir=3D"ltr">Thanks Alex,<div><br></div><div>Do you have more details a=
bout that experience with Litecoin?</div><div><br></div><div>Regards,</div>=
<div>=A0Rifaat</div><div><br></div></div><div class=3D"gmail_extra"><br><br=
><div class=3D"gmail_quote">
On Wed, May 14, 2014 at 1:46 PM, Alex Elsayed <span dir=3D"ltr">&lt;<a href=
=3D"mailto:eternaleye@gmail.com" target=3D"_blank">eternaleye@gmail.com</a>=
&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"HOEnZb"><div class=3D"h5">Rifaat Shekh-Yusef wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt; This is to continue the Key-Derivation Scheme discussion started on th=
e<br>
&gt; SAAG mailing list:<br>
&gt; <a href=3D"http://www.ietf.org/mail-archive/web/saag/current/msg04964.=
html" target=3D"_blank">http://www.ietf.org/mail-archive/web/saag/current/m=
sg04964.html</a><br>
&gt;<br>
&gt; Attached is an updated version of the draft based on the feedback on t=
he<br>
&gt; SAAG mailing list.<br>
&gt;<br>
&gt; There are two major changes to the initial draft:<br>
&gt;<br>
&gt; 1. =A0Use of the Scrypt function, instead of PBKDF2 function<br>
&gt; 2. =A0Mutual authentication, instead of client authentication only.<br=
>
&gt;<br>
&gt; I would appreciate any comments on this new version of the draft.<br>
&gt;<br>
&gt; Regards,<br>
&gt; =A0Rifaat<br>
<br>
</div></div>Scrypt&#39;s primary gain over PBKDF2 is that it&#39;s a memory=
-hard function -<br>
however, experience with e.g. Litecoin shows that Scrypt in particular is<b=
r>
subject to some time-memory tradeoff behaviors that may not be ideal.<br>
<br>
I&#39;d like to refer anyone interested in this to the Password Hashing<br>
Competition (and the mailing list + archives thereof), which has also<br>
discussed that &#39;suitability for use as a KDF&#39; is both an important =
point to<br>
consider in their selection process (as the submissions phase has ended), a=
s<br>
well as not necessarily following from the definition of a memory-hard one-=
<br>
way function.<br>
<br>
The goal of the PHC is to select a strong password-hashing function that<br=
>
will (hopefully) stand the test of time, and the submissions cover the gamu=
t<br>
of memory-hardness, cache-timing attack resistance, resistance to<br>
time/memory tradeoff attacks, avoidance of conditional branches, dependent<=
br>
accesses to prevent pipelining (penalizing systems with high-latency memory=
<br>
like GPUs), etc.<br>
<br>
(Interestingly, one thing that showed up is that there seems to be an<br>
inherent tradeoff between avoiding cache-timing attacks and preventing<br>
pipelining. While it&#39;s not yet shown to hold in all cases, no<br>
counterexamples have been found either)<br>
<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>
</blockquote></div><br></div>

--001a113497e69a103304f96f2be6--


From nobody Fri May 16 10:00: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 170641A0289 for <cfrg@ietfa.amsl.com>; Fri, 16 May 2014 10:00:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.951
X-Spam-Level: 
X-Spam-Status: No, score=-2.951 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C8Ha1gVULsgy for <cfrg@ietfa.amsl.com>; Fri, 16 May 2014 10:00:01 -0700 (PDT)
Received: from prod-mail-xrelay02.akamai.com (prod-mail-xrelay02.akamai.com [72.246.2.14]) by ietfa.amsl.com (Postfix) with ESMTP id 6A6F31A00B0 for <cfrg@irtf.org>; Fri, 16 May 2014 10:00:01 -0700 (PDT)
Received: from prod-mail-xrelay02.akamai.com (localhost [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 71C9C286D0 for <cfrg@irtf.org>; Fri, 16 May 2014 16:59:53 +0000 (GMT)
Received: from prod-mail-relay07.akamai.com (prod-mail-relay07.akamai.com [172.17.121.112]) by prod-mail-xrelay02.akamai.com (Postfix) with ESMTP id 5DF43286CC for <cfrg@irtf.org>; Fri, 16 May 2014 16:59:53 +0000 (GMT)
Received: from usma1ex-cashub.kendall.corp.akamai.com (usma1ex-cashub5.kendall.corp.akamai.com [172.27.105.21]) by prod-mail-relay07.akamai.com (Postfix) with ESMTP id 2B70F80044 for <cfrg@irtf.org>; Fri, 16 May 2014 16:59:53 +0000 (GMT)
Received: from USMBX1.msg.corp.akamai.com ([169.254.1.79]) by USMA1EX-CASHUB5.kendall.corp.akamai.com ([172.27.105.21]) with mapi; Fri, 16 May 2014 12:59:52 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Date: Fri, 16 May 2014 12:59:51 -0400
Thread-Topic: I'd like the CFRG to help me raise an objection
Thread-Index: Ac9xJXZPV42oTtR7S5WaQqgGb+MFPQ==
Message-ID: <2A0EFB9C05D0164E98F19BB0AF3708C7130AFC5951@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: multipart/alternative; boundary="_000_2A0EFB9C05D0164E98F19BB0AF3708C7130AFC5951USMBX1msgcorp_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/CB3yvqPtZsSp07B2YWg9Z8x-1J8
Subject: [Cfrg] I'd like the CFRG to help me raise an objection
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 16 May 2014 17:00:04 -0000

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

I am sorry for the real short notice; the deadline is May 20, but I only ju=
st learned that this is an option.

The W3C webcrypto working group has a JavaScript API to crypto.  The spec i=
s available at [1].  It is huge, but most of it is API details.  The key co=
ncern is section 18, which is only a couple of pages long and can be found =
at [2]. After reading the earlier threads I started a discussion on the pub=
lic comments list (archives at [3]).  Basically, I took the recommendations=
 that Kenny and others posted here, and turned it into a bug report [4].

Public discussion notwithstanding, I've been told, privately, that there is=
 real support for my suggestions.  I am writing here to solicit more suppor=
t so that if I (or, more accurately, my employer) go forward with a formal =
objection, there's more likely that the WG and the Director will accept the=
 suggestions.

I think the most practical thing to do is for anyone who has the time and i=
nterest to let me know if I can add your name as a supporter of the objecti=
on (direct email or post) . Or write something in the bug itself.  Feel fre=
e to include any credentials or affiliations or notes.

If we do file an objection, there will be more time for the CFRG to present=
 an opinion, and I will be back asking for that. But for now, I'm looking t=
o see if there's support to move forward. And I have until Tuesday :(.

Thanks.

                /r$

[1] http://www.w3.org/TR/2014/WD-WebCryptoAPI-20140325/
[2] http://www.w3.org/TR/2014/WD-WebCryptoAPI-20140325/#algorithms
[3] http://lists.w3.org/Archives/Public/public-webcrypto-comments/
[4] https://www.w3.org/Bugs/Public/show_bug.cgi?id=3D25607

--
Principal Security Engineer
Akamai Technologies, Cambridge, MA
IM: rsalz@jabber.me<mailto:rsalz@jabber.me>; Twitter: RichSalz


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 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=3DEN-US link=3Dblue vli=
nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>I am sorry for t=
he real short notice; the deadline is May 20, but I only just learned that =
this is an option.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p>=
<p class=3DMsoNormal>The W3C webcrypto working group has a JavaScript API t=
o crypto.&nbsp; The spec is available at [1].&nbsp; It is huge, but most of=
 it is API details.&nbsp; The key concern is section 18, which is only a co=
uple of pages long and can be found at [2]. After reading the earlier threa=
ds I started a discussion on the public comments list (archives at [3]).&nb=
sp; Basically, I took the recommendations that Kenny and others posted here=
, and turned it into a bug report [4]. <o:p></o:p></p><p class=3DMsoNormal>=
<o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Public discussion notwithstanding=
, I&#8217;ve been told, privately, that there is real support for my sugges=
tions.&nbsp; I am writing here to solicit more support so that if I (or, mo=
re accurately, my employer) go forward with a formal objection, there&#8217=
;s more likely that the WG and the Director will accept the suggestions.<o:=
p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>=
I think the most practical thing to do is for anyone who has the time and i=
nterest to let me know if I can add your name as a supporter of the objecti=
on (direct email or post) . Or write something in the bug itself.&nbsp; Fee=
l free to include any credentials or affiliations or notes.<o:p></o:p></p><=
p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>If we do file=
 an objection, there will be more time for the CFRG to present an opinion, =
and I will be back asking for that. But for now, I&#8217;m looking to see i=
f there&#8217;s support to move forward. And I have until Tuesday :(.<o:p><=
/o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Tha=
nks.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMso=
Normal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; /r$<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</=
o:p></p><p class=3DMsoNormal>[1] <a href=3D"http://www.w3.org/TR/2014/WD-We=
bCryptoAPI-20140325/">http://www.w3.org/TR/2014/WD-WebCryptoAPI-20140325/</=
a><o:p></o:p></p><p class=3DMsoNormal>[2] <a href=3D"http://www.w3.org/TR/2=
014/WD-WebCryptoAPI-20140325/#algorithms">http://www.w3.org/TR/2014/WD-WebC=
ryptoAPI-20140325/#algorithms</a> <o:p></o:p></p><p class=3DMsoNormal>[3] <=
a href=3D"http://lists.w3.org/Archives/Public/public-webcrypto-comments/">h=
ttp://lists.w3.org/Archives/Public/public-webcrypto-comments/</a> <o:p></o:=
p></p><p class=3DMsoNormal>[4] <a href=3D"https://www.w3.org/Bugs/Public/sh=
ow_bug.cgi?id=3D25607">https://www.w3.org/Bugs/Public/show_bug.cgi?id=3D256=
07</a> <o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3D=
MsoNormal>--&nbsp; <o:p></o:p></p><p class=3DMsoNormal>Principal Security E=
ngineer<o:p></o:p></p><p class=3DMsoNormal>Akamai Technologies, Cambridge, =
MA<o:p></o:p></p><p class=3DMsoNormal>IM: <a href=3D"mailto:rsalz@jabber.me=
">rsalz@jabber.me</a>; Twitter: RichSalz<o:p></o:p></p><p class=3DMsoNormal=
><o:p>&nbsp;</o:p></p></div></body></html>=

--_000_2A0EFB9C05D0164E98F19BB0AF3708C7130AFC5951USMBX1msgcorp_--


From nobody Fri May 16 10:36:15 2014
Return-Path: <eternaleye@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 47D811A026B for <cfrg@ietfa.amsl.com>; Fri, 16 May 2014 10:36:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.367
X-Spam-Level: **
X-Spam-Status: No, score=2.367 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.665] 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 h3pU73OMLBti for <cfrg@ietfa.amsl.com>; Fri, 16 May 2014 10:36:11 -0700 (PDT)
Received: from m1plded02-02.prod.mesa1.secureserver.net (m1plded02-02.prod.mesa1.secureserver.net [64.202.189.19]) by ietfa.amsl.com (Postfix) with ESMTP id BC0231A00D8 for <cfrg@irtf.org>; Fri, 16 May 2014 10:36:11 -0700 (PDT)
Received: from impactstudiopro.com ([97.74.126.169]) by m1plded02-02.prod.mesa1.secureserver.net with : DED : id 2hc41o00Y3fQw8101hc4qx; Fri, 16 May 2014 10:36:04 -0700
x-originating-ip: 97.74.126.169
Received: from arkadios.localnet (unknown [50.245.141.77]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by impactstudiopro.com (Postfix) with ESMTPSA id ECEF9885AE6 for <cfrg@irtf.org>; Fri, 16 May 2014 17:36:03 +0000 (UTC)
Content-Type: text/plain; charset="ISO-8859-1"
From: Alex Elsayed <eternaleye@gmail.com>
Date: Fri, 16 May 2014 10:36:02 -0700
User-Agent: KNode/4.12
Content-Transfer-Encoding: 7Bit
To: cfrg@irtf.org
References: <CAGL6epKMqH835XTDeGnUc-AZkF2DqYawQyBZaxbOcO4Pqbh8Ng@mail.gmail.com> <20140514174652.17061885B74@impactstudiopro.com> <CAGL6epJuc1_2SiTv=GsUaQQEofK0iYccZWVJx+7qF1YZz75-xw@mail.gmail.com>
Lines: 86
MIME-Version: 1.0
Message-Id: <20140516173603.ECEF9885AE6@impactstudiopro.com>
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/qCDBX4wp0-FENf1c-G-RYOlSX8U
Subject: Re: [Cfrg] Key-Derivation Scheme
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 16 May 2014 17:36:13 -0000

First, I feel a need to correct myself to some degree - a large part of the 
issue with Litecoin is their _usage_ of scrypt - they set the memory 
parameter lower than they should have.

However, even other systems that use better parameters are affected by the 
fact that reducing the size of the scratchpad to half reduces performance by 
noticeably less than half. On memory-bound (either size or latency) hardware 
(GPUs, etc) this permits doubling the parallelism without doubling the time 
for each candidate, achieving a greater number of attempts/time. Since 
computing large numbers of candidates in parallel is much more benefit to 
the attacker than the defender, this is a suboptimal behavior.

Since Litecoin explicitly used scrypt to make GPU-mining less competitive 
with CPU-mining, this was understandably unpleasant to discover - especially 
when the low memory parameter left the equation such that GPUs with that 
optimization did significantly beat CPU-mining.

The PHC does include one submission directly based upon Scrypt. The 
submission 'yescrypt', by SolarDesigner (Alexander Peslyak), works to 
address the issues in Scrypt, and is seen as a strong contender.

Rifaat Shekh-Yusef wrote:

> Thanks Alex,
> 
> Do you have more details about that experience with Litecoin?
> 
> Regards,
>  Rifaat
> 
> 
> 
> On Wed, May 14, 2014 at 1:46 PM, Alex Elsayed <eternaleye@gmail.com>
> wrote:
> 
>> Rifaat Shekh-Yusef wrote:
>>
>> > Hi,
>> >
>> > This is to continue the Key-Derivation Scheme discussion started on the
>> > SAAG mailing list:
>> > http://www.ietf.org/mail-archive/web/saag/current/msg04964.html
>> >
>> > Attached is an updated version of the draft based on the feedback on
>> > the SAAG mailing list.
>> >
>> > There are two major changes to the initial draft:
>> >
>> > 1.  Use of the Scrypt function, instead of PBKDF2 function
>> > 2.  Mutual authentication, instead of client authentication only.
>> >
>> > I would appreciate any comments on this new version of the draft.
>> >
>> > Regards,
>> >  Rifaat
>>
>> Scrypt's primary gain over PBKDF2 is that it's a memory-hard function -
>> however, experience with e.g. Litecoin shows that Scrypt in particular is
>> subject to some time-memory tradeoff behaviors that may not be ideal.
>>
>> I'd like to refer anyone interested in this to the Password Hashing
>> Competition (and the mailing list + archives thereof), which has also
>> discussed that 'suitability for use as a KDF' is both an important point
>> to consider in their selection process (as the submissions phase has
>> ended), as
>> well as not necessarily following from the definition of a memory-hard
>> one- way function.
>>
>> The goal of the PHC is to select a strong password-hashing function that
>> will (hopefully) stand the test of time, and the submissions cover the
>> gamut
>> of memory-hardness, cache-timing attack resistance, resistance to
>> time/memory tradeoff attacks, avoidance of conditional branches,
>> dependent accesses to prevent pipelining (penalizing systems with
>> high-latency memory like GPUs), etc.
>>
>> (Interestingly, one thing that showed up is that there seems to be an
>> inherent tradeoff between avoiding cache-timing attacks and preventing
>> pipelining. While it's not yet shown to hold in all cases, no
>> counterexamples have been found either)
>>
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> http://www.irtf.org/mailman/listinfo/cfrg
>>


From nobody Thu May 22 07:03:29 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 B95C11A01B9 for <cfrg@ietfa.amsl.com>; Thu, 22 May 2014 07:03:27 -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 S2L45C28yVq5 for <cfrg@ietfa.amsl.com>; Thu, 22 May 2014 07:03:23 -0700 (PDT)
Received: from mail-wg0-x232.google.com (mail-wg0-x232.google.com [IPv6:2a00:1450:400c:c00::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D1A481A013B for <cfrg@irtf.org>; Thu, 22 May 2014 07:03:22 -0700 (PDT)
Received: by mail-wg0-f50.google.com with SMTP id x12so3413310wgg.21 for <cfrg@irtf.org>; Thu, 22 May 2014 07:03:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=from:content-type:subject:date:references:to:message-id :mime-version; bh=VYeGIWeukGHZVSBCoVRoBpREmpqfIVU3Bx0HBZFnoT8=; b=H1KxXGacAvu9OvK+P4W43n7quBAiF6LBA/KpYza98xtmb8phsbCnDKKaciEYH5qS9M tuJovzXQZ69/FttqGdyLR7TR5VwXvaTzQAuknn3X35r/jRDpezgxMiJ36qu9WS4RE4nc W7JuuUvfZ72KmXUc7kHgV/p6A355cziHj/05SWTcZ8M1NpzZVxnP+3KBK5BXSr7GnKJU L7kkiG/8+8QUiiVByRm0RyrZQBookfMJ0ayO3DJFeV95sauYU+fn+jHKkeuJF/Gniwnr usJlQzy/KJVcwFYPGF/koC8nQFx2+rycrlUcGtblAx/RwKUSL+b3HLOUj9754rzktGgN tT2g==
X-Received: by 10.180.186.8 with SMTP id fg8mr16605623wic.39.1400767400301; Thu, 22 May 2014 07:03:20 -0700 (PDT)
Received: from [172.24.249.169] (dyn32-131.checkpoint.com. [194.29.32.131]) by mx.google.com with ESMTPSA id y20sm8147731wiv.14.2014.05.22.07.03.19 for <cfrg@irtf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 May 2014 07:03:19 -0700 (PDT)
From: Yoav Nir <ynir.ietf@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_20C7985B-2634-4B5C-A3BC-33E864837756"
Date: Thu, 22 May 2014 17:03:16 +0300
References: <20140521131946.8259.88150.idtracker@ietfa.amsl.com>
To: cfrg@irtf.org
Message-Id: <A8A35ADD-11ED-4574-836C-E6D0C001C095@gmail.com>
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\))
X-Mailer: Apple Mail (2.1878.2)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/GNym5gaiMfr9X-dKLxkffYmuYmA
Subject: [Cfrg] Fwd: New Version Notification for draft-nir-cfrg-chacha20-poly1305-04.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, 22 May 2014 14:03:28 -0000

--Apple-Mail=_20C7985B-2634-4B5C-A3BC-33E864837756
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Hi all

This version changes the AEAD construction as described in =
http://www.ietf.org/mail-archive/web/cfrg/current/msg04517.html

We=92ve left the section on PRF as it is, because we don=92t see a good =
PRF suitable for IKEv2 made from these functions, so if someone wants to =
create an RFC4308-style UI suite with a PRF, they=92re going to have to =
come up with one from somewhere else.

We=92ve also added yet another test vector, this time for the whole =
message receiving process - Constructing the AEAD, running the MAC, =
comparing the tags, and decrypting.

Yoav

Begin forwarded message:

> From: internet-drafts@ietf.org
> Subject: New Version Notification for =
draft-nir-cfrg-chacha20-poly1305-04.txt
> Date: May 21, 2014 at 4:19:46 PM GMT+3
> To: Yoav Nir <ynir.ietf@gmail.com>, Adam Langley <agl@google.com>, =
"Yoav Nir" <ynir.ietf@gmail.com>, "Adam Langley" <agl@google.com>
>=20
>=20
> A new version of I-D, draft-nir-cfrg-chacha20-poly1305-04.txt
> has been successfully submitted by Yoav Nir and posted to the
> IETF repository.
>=20
> Name:		draft-nir-cfrg-chacha20-poly1305
> Revision:	04
> Title:		ChaCha20 and Poly1305 for IETF protocols
> Document date:	2014-05-21
> Group:		Individual Submission
> Pages:		36
> URL:            =
http://www.ietf.org/internet-drafts/draft-nir-cfrg-chacha20-poly1305-04.tx=
t
> Status:         =
https://datatracker.ietf.org/doc/draft-nir-cfrg-chacha20-poly1305/
> Htmlized:       =
http://tools.ietf.org/html/draft-nir-cfrg-chacha20-poly1305-04
> Diff:           =
http://www.ietf.org/rfcdiff?url2=3Ddraft-nir-cfrg-chacha20-poly1305-04
>=20
> Abstract:
>   This document defines the ChaCha20 stream cipher, as well as the use
>   of the Poly1305 authenticator, both as stand-alone algorithms, and =
as
>   a "combined mode", or Authenticated Encryption with Additional Data
>   (AEAD) algorithm.
>=20
>   This document does not introduce any new crypto, but is meant to
>   serve as a stable reference and an implementation guide.
>=20
>=20
>=20
>=20
> Please note that it may take a couple of minutes from the time of =
submission
> until the htmlized version and diff are available at tools.ietf.org.
>=20
> The IETF Secretariat
>=20


--Apple-Mail=_20C7985B-2634-4B5C-A3BC-33E864837756
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;">Hi =
all<div><br></div><div>This version changes the AEAD construction as =
described in&nbsp;<a =
href=3D"http://www.ietf.org/mail-archive/web/cfrg/current/msg04517.html">h=
ttp://www.ietf.org/mail-archive/web/cfrg/current/msg04517.html</a></div><d=
iv><br></div><div>We=92ve left the section on PRF as it is, because we =
don=92t see a good PRF suitable for IKEv2 made from these functions, so =
if someone wants to create an RFC4308-style UI suite with a PRF, they=92re=
 going to have to come up with one from somewhere =
else.</div><div><br></div><div>We=92ve also added yet another test =
vector, this time for the whole message receiving process - Constructing =
the AEAD, running the MAC, comparing the tags, and =
decrypting.</div><div><br></div><div>Yoav<br><div><br><div>Begin =
forwarded message:</div><br =
class=3D"Apple-interchange-newline"><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'; color:rgba(0, =
0, 0, 1.0);"><b>From: </b></span><span =
style=3D"font-family:'Helvetica';"><a =
href=3D"mailto:internet-drafts@ietf.org">internet-drafts@ietf.org</a><br><=
/span></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px;"><span =
style=3D"font-family:'Helvetica'; color:rgba(0, 0, 0, 1.0);"><b>Subject: =
</b></span><span style=3D"font-family:'Helvetica';"><b>New Version =
Notification for =
draft-nir-cfrg-chacha20-poly1305-04.txt</b><br></span></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px;"><span style=3D"font-family:'Helvetica'; color:rgba(0, =
0, 0, 1.0);"><b>Date: </b></span><span =
style=3D"font-family:'Helvetica';">May 21, 2014 at 4:19:46 PM =
GMT+3<br></span></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px;"><span =
style=3D"font-family:'Helvetica'; color:rgba(0, 0, 0, 1.0);"><b>To: =
</b></span><span style=3D"font-family:'Helvetica';">Yoav Nir &lt;<a =
href=3D"mailto:ynir.ietf@gmail.com">ynir.ietf@gmail.com</a>&gt;, Adam =
Langley &lt;<a href=3D"mailto:agl@google.com">agl@google.com</a>&gt;, =
"Yoav Nir" &lt;<a =
href=3D"mailto:ynir.ietf@gmail.com">ynir.ietf@gmail.com</a>&gt;, "Adam =
Langley" &lt;<a =
href=3D"mailto:agl@google.com">agl@google.com</a>&gt;<br></span></div><br>=
<div><br>A new version of I-D, =
draft-nir-cfrg-chacha20-poly1305-04.txt<br>has been successfully =
submitted by Yoav Nir and posted to the<br>IETF =
repository.<br><br>Name:<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	=
</span>draft-nir-cfrg-chacha20-poly1305<br>Revision:<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>04<br>Title:<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>ChaCha20 and Poly1305 for IETF =
protocols<br>Document date:<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>2014-05-21<br>Group:<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Individual Submission<br>Pages:<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>36<br>URL: =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"http://www.ietf.org/internet-drafts/draft-nir-cfrg-chacha20-poly13=
05-04.txt">http://www.ietf.org/internet-drafts/draft-nir-cfrg-chacha20-pol=
y1305-04.txt</a><br>Status: =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"https://datatracker.ietf.org/doc/draft-nir-cfrg-chacha20-poly1305/=
">https://datatracker.ietf.org/doc/draft-nir-cfrg-chacha20-poly1305/</a><b=
r>Htmlized: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"http://tools.ietf.org/html/draft-nir-cfrg-chacha20-poly1305-04">ht=
tp://tools.ietf.org/html/draft-nir-cfrg-chacha20-poly1305-04</a><br>Diff: =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-nir-cfrg-chacha20-poly130=
5-04">http://www.ietf.org/rfcdiff?url2=3Ddraft-nir-cfrg-chacha20-poly1305-=
04</a><br><br>Abstract:<br> &nbsp;&nbsp;This document defines the =
ChaCha20 stream cipher, as well as the use<br> &nbsp;&nbsp;of the =
Poly1305 authenticator, both as stand-alone algorithms, and as<br> =
&nbsp;&nbsp;a "combined mode", or Authenticated Encryption with =
Additional Data<br> &nbsp;&nbsp;(AEAD) algorithm.<br><br> =
&nbsp;&nbsp;This document does not introduce any new crypto, but is =
meant to<br> &nbsp;&nbsp;serve as a stable reference and an =
implementation guide.<br><br><br><br><br>Please note that it may take a =
couple of minutes from the time of submission<br>until the htmlized =
version and diff are available at <a =
href=3D"http://tools.ietf.org">tools.ietf.org</a>.<br><br>The IETF =
Secretariat<br><br></div></blockquote></div><br></div></body></html>=

--Apple-Mail=_20C7985B-2634-4B5C-A3BC-33E864837756--


From nobody Tue May 27 19:57:07 2014
Return-Path: <sandyinchina@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 DEA021A02E9 for <cfrg@ietfa.amsl.com>; Tue, 27 May 2014 19:57: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 TetUbhXDlWyR for <cfrg@ietfa.amsl.com>; Tue, 27 May 2014 19:57:05 -0700 (PDT)
Received: from mail-ve0-x236.google.com (mail-ve0-x236.google.com [IPv6:2607:f8b0:400c:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 858D51A02D9 for <cfrg@irtf.org>; Tue, 27 May 2014 19:57:05 -0700 (PDT)
Received: by mail-ve0-f182.google.com with SMTP id sa20so11999414veb.27 for <cfrg@irtf.org>; Tue, 27 May 2014 19:57:01 -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=c2eaUE9Ef3rhYhh9L2JlFSyKdhC+3xEmc72gF7iKAvw=; b=c3hNzfjbaWjocvyMNyVaPJyPTTzni3IUc3t36HhjOEZrZmCV1fxpFgf+SpQ2eDxEwc 3imoa6ElId38ugy63BNOHPtUcfqBL7nVFsItu9MBS792VzJJGECDJQ1yBxPZtJOVoR+h othNbxV+N7Cw4dyK4OQjrx3pvHhaISYjzMyAGJeM6Ah50Gl849PdkmJ3oUF5S/wx1waW FEZNb0xS/ngadSfi5SdbdweGt2KRjJ21hFJTaltwSQSlSWZkQbp9yqUvKGyIkb30IiSQ nOe6eYVU+0Mb+rcJEVY0Krl7TzezfFbOjrzS/6YshFnGTzale1dethsjzAgo3Dlrhvl7 Vu6A==
MIME-Version: 1.0
X-Received: by 10.221.5.1 with SMTP id oe1mr31254517vcb.10.1401245821589; Tue, 27 May 2014 19:57:01 -0700 (PDT)
Received: by 10.58.234.3 with HTTP; Tue, 27 May 2014 19:57:01 -0700 (PDT)
In-Reply-To: <CAGL6epKMqH835XTDeGnUc-AZkF2DqYawQyBZaxbOcO4Pqbh8Ng@mail.gmail.com>
References: <CAGL6epKMqH835XTDeGnUc-AZkF2DqYawQyBZaxbOcO4Pqbh8Ng@mail.gmail.com>
Date: Tue, 27 May 2014 22:57:01 -0400
Message-ID: <CACXcFmmiQYXEy+LNhzUrz1irPdko0somtccDPtFBqUvR4xjaUQ@mail.gmail.com>
From: Sandy Harris <sandyinchina@gmail.com>
To: Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>, cfrg@irtf.org
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/rxBTBqyQrfru06oN9wp1Xr6iZ5k
Subject: Re: [Cfrg] Key-Derivation Scheme
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 28 May 2014 02:57:07 -0000

On Wed, May 14, 2014 at 8:46 AM, Rifaat Shekh-Yusef
<rifaat.ietf@gmail.com> wrote:

> This is to continue the Key-Derivation Scheme discussion ...
>
> Attached is an updated version of the draft ...

The draft has:

" While cannot be used directly as cryptographic keys, the
" passwords can still be used to derive cryptographic keys,
" by using Key Derivation Function (KDF).

I think the basic notion of using a KDF at all -- rather
than Diffie-Hellman key negotiation with the password
used for authentication -- needs to be justified here.

I'm not certain it can be, but the draft should attempt
it.


From nobody Wed May 28 05:32:47 2014
Return-Path: <rifaat.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 0FE7A1A095D for <cfrg@ietfa.amsl.com>; Wed, 28 May 2014 05:32:45 -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 H1LSdSCoAeOa for <cfrg@ietfa.amsl.com>; Wed, 28 May 2014 05:32:43 -0700 (PDT)
Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 332A31A0928 for <cfrg@irtf.org>; Wed, 28 May 2014 05:32:43 -0700 (PDT)
Received: by mail-ig0-f178.google.com with SMTP id hl10so2362447igb.5 for <cfrg@irtf.org>; Wed, 28 May 2014 05:32:39 -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=qJvV94DCw2rwHLUqMgL1sZ5/cizcbJixPyYkeS3ojgw=; b=JviT1mL+/0ode8o8RIR1URu8AI2NRv0OUuH2POtkefnA7GTSPg2nRopartZa4iLMJZ gXXPxzQdXTQU35+zxQQ62+98jxViHis2n0DXHzrf+BQEfEhkqlHa9fvPjUBNjLM8guaB PZssIlUYYMZMJRcz5s1Lj8MkajURlrmMuTveFcWxeoUh+TK64vKR9uRadFpRKpVaBPol JR9IzoFF8TiBJeE9gOHQ3tbosnEhbLzay4ROPI/FumLsqVv8aRe7f9js25sNevEjxoFd ktiVtIW5WPHgxcZSY0YMsi8QiyF/pjbEt+nbYO0oyvauzJOtVMeG0gucAvK0LMhvHQnQ +r1A==
MIME-Version: 1.0
X-Received: by 10.42.98.145 with SMTP id s17mr10445548icn.73.1401280359424; Wed, 28 May 2014 05:32:39 -0700 (PDT)
Received: by 10.50.111.170 with HTTP; Wed, 28 May 2014 05:32:39 -0700 (PDT)
In-Reply-To: <CACXcFmmiQYXEy+LNhzUrz1irPdko0somtccDPtFBqUvR4xjaUQ@mail.gmail.com>
References: <CAGL6epKMqH835XTDeGnUc-AZkF2DqYawQyBZaxbOcO4Pqbh8Ng@mail.gmail.com> <CACXcFmmiQYXEy+LNhzUrz1irPdko0somtccDPtFBqUvR4xjaUQ@mail.gmail.com>
Date: Wed, 28 May 2014 08:32:39 -0400
Message-ID: <CAGL6epK5P0Y0mHMQGF+Y_sJ1Yt0+OXz2Gnwj_D-ezvjt7yf0nA@mail.gmail.com>
From: Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>
To: Sandy Harris <sandyinchina@gmail.com>
Content-Type: multipart/alternative; boundary=90e6ba61513a0dea6204fa7502d3
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/Etr9dmkJh3W_jlpwfpBheJZ2zTU
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Key-Derivation Scheme
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 28 May 2014 12:32:45 -0000

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

Hi Sandy,

Thanks for your comment.

The main reason for using a KDF-based algorithm (PBKDF2, scrypt, ...) is to
make it much more expensive to recover the password in clear-text if the
passwords database is compromised.
We could use a combination of a KDF-based algorithm with another algorithm,
like the following proposal:
http://www.ietf.org/mail-archive/web/cfrg/current/msg04523.html

Does that address your comment?

Regards,
 Rifaat



On Tue, May 27, 2014 at 10:57 PM, Sandy Harris <sandyinchina@gmail.com>wrote:

> On Wed, May 14, 2014 at 8:46 AM, Rifaat Shekh-Yusef
> <rifaat.ietf@gmail.com> wrote:
>
> > This is to continue the Key-Derivation Scheme discussion ...
> >
> > Attached is an updated version of the draft ...
>
> The draft has:
>
> " While cannot be used directly as cryptographic keys, the
> " passwords can still be used to derive cryptographic keys,
> " by using Key Derivation Function (KDF).
>
> I think the basic notion of using a KDF at all -- rather
> than Diffie-Hellman key negotiation with the password
> used for authentication -- needs to be justified here.
>
> I'm not certain it can be, but the draft should attempt
> it.
>

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

<div dir=3D"ltr">Hi Sandy,<div><br></div><div>Thanks for your comment.</div=
><div><br></div><div>The main reason for using a KDF-based algorithm (PBKDF=
2, scrypt, ...) is to make it much more expensive to recover the password i=
n clear-text if the passwords database is compromised.</div>

<div>We could use a combination of a KDF-based algorithm with another algor=
ithm, like the following proposal:</div><div><a href=3D"http://www.ietf.org=
/mail-archive/web/cfrg/current/msg04523.html">http://www.ietf.org/mail-arch=
ive/web/cfrg/current/msg04523.html</a><br>
</div><div><br></div><div>Does that address your comment?<br></div><div><br=
></div><div>Regards,</div><div>=A0Rifaat</div><div><br></div></div><div cla=
ss=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Tue, May 27, 2014 =
at 10:57 PM, Sandy Harris <span dir=3D"ltr">&lt;<a href=3D"mailto:sandyinch=
ina@gmail.com" target=3D"_blank">sandyinchina@gmail.com</a>&gt;</span> wrot=
e:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">On Wed, May 14, 2014 at 8:46 AM, Rifaat Shek=
h-Yusef<br>
&lt;<a href=3D"mailto:rifaat.ietf@gmail.com">rifaat.ietf@gmail.com</a>&gt; =
wrote:<br>
<br>
&gt; This is to continue the Key-Derivation Scheme discussion ...<br>
&gt;<br>
&gt; Attached is an updated version of the draft ...<br>
<br>
The draft has:<br>
<br>
&quot; While cannot be used directly as cryptographic keys, the<br>
&quot; passwords can still be used to derive cryptographic keys,<br>
&quot; by using Key Derivation Function (KDF).<br>
<br>
I think the basic notion of using a KDF at all -- rather<br>
than Diffie-Hellman key negotiation with the password<br>
used for authentication -- needs to be justified here.<br>
<br>
I&#39;m not certain it can be, but the draft should attempt<br>
it.<br>
</blockquote></div><br></div>

--90e6ba61513a0dea6204fa7502d3--


From nobody Wed May 28 09:39:16 2014
Return-Path: <dharkins@lounge.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 47BAB1A0164 for <cfrg@ietfa.amsl.com>; Wed, 28 May 2014 09:39:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.867
X-Spam-Level: 
X-Spam-Status: No, score=-3.867 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fQFKBIkqjLOd for <cfrg@ietfa.amsl.com>; Wed, 28 May 2014 09:38:54 -0700 (PDT)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id F2E191A0157 for <cfrg@irtf.org>; Wed, 28 May 2014 09:38:51 -0700 (PDT)
Received: from www.trepanning.net (localhost [127.0.0.1]) by colo.trepanning.net (Postfix) with ESMTP id 1E92010224008; Wed, 28 May 2014 09:38:48 -0700 (PDT)
Received: from 69.12.173.8 (SquirrelMail authenticated user dharkins@lounge.org) by www.trepanning.net with HTTP; Wed, 28 May 2014 09:38:48 -0700 (PDT)
Message-ID: <34ba86c72778f67cb4d5afdf382fd471.squirrel@www.trepanning.net>
In-Reply-To: <CAGL6epK5P0Y0mHMQGF+Y_sJ1Yt0+OXz2Gnwj_D-ezvjt7yf0nA@mail.gmail.com>
References: <CAGL6epKMqH835XTDeGnUc-AZkF2DqYawQyBZaxbOcO4Pqbh8Ng@mail.gmail.com> <CACXcFmmiQYXEy+LNhzUrz1irPdko0somtccDPtFBqUvR4xjaUQ@mail.gmail.com> <CAGL6epK5P0Y0mHMQGF+Y_sJ1Yt0+OXz2Gnwj_D-ezvjt7yf0nA@mail.gmail.com>
Date: Wed, 28 May 2014 09:38:48 -0700 (PDT)
From: "Dan Harkins" <dharkins@lounge.org>
To: "Rifaat Shekh-Yusef" <rifaat.ietf@gmail.com>
User-Agent: SquirrelMail/1.4.14 [SVN]
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/6UtV0ODTLHqB7LIU-4ype68JXqw
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Key-Derivation Scheme
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 28 May 2014 16:39:02 -0000

  Hi Rifaat,

On Wed, May 28, 2014 5:32 am, Rifaat Shekh-Yusef wrote:
> Hi Sandy,
>
> Thanks for your comment.
>
> The main reason for using a KDF-based algorithm (PBKDF2, scrypt, ...) is
> to
> make it much more expensive to recover the password in clear-text if the
> passwords database is compromised.
> We could use a combination of a KDF-based algorithm with another
> algorithm,
> like the following proposal:
> http://www.ietf.org/mail-archive/web/cfrg/current/msg04523.html
>
> Does that address your comment?

  It sort of begs the question. In your draft you say:

    "The Key-Derivation scheme ensures that the password and the master-
     key are never sent on the wire, and allows for a better secure
     storage of passwords, as it significantly increases the amount of
     computation needed to derive a key from a password in a dictionary
     attack."

While the password will not be sent over the wire, password-derived
data wil and that enables the dictionary attack. Yes, PBKDF2 will increase
the amount of computation needed to derive a key but that becomes
more an more trivial every year thanks to Moore's Law.

  PBKDF2 is used by WPS-PSK, a password-authenticated key exchange
for wireless network access. The password is never sent over the ether
yet tools exist that can crack the password used in the WPS-PSK exchange
in a matter of minutes to hours depending on the level of hardware thrown
at the problem. There are also sites on the Internet that, for a small
fee, will
crack the password for you if you give them the exchange (that did not
contain the password) that crossed the ether. Obviously, the protection
afforded by PBKDF2 is not much and getting smaller.

  A much better solution to your problem is to use a password-authenticated
key exchange based on a zero knowledge proof. That way, not only does
the password not cross the wire/ether, neither does password-derived
data.

  In the message you refer to above you incorporate your scheme
with a PAKE. Which begs the question, what is your justification for this
since the password is already not crossing with wire/ether before you
added PBKDF2? A proper augmented PAKE will provide suitable resistance
to dictionary attack in the event of database compromise so, again,
what's the point of this KDF?

  regards,

  Dan.

> Regards,
>  Rifaat
>
>
>
> On Tue, May 27, 2014 at 10:57 PM, Sandy Harris
> <sandyinchina@gmail.com>wrote:
>
>> On Wed, May 14, 2014 at 8:46 AM, Rifaat Shekh-Yusef
>> <rifaat.ietf@gmail.com> wrote:
>>
>> > This is to continue the Key-Derivation Scheme discussion ...
>> >
>> > Attached is an updated version of the draft ...
>>
>> The draft has:
>>
>> " While cannot be used directly as cryptographic keys, the
>> " passwords can still be used to derive cryptographic keys,
>> " by using Key Derivation Function (KDF).
>>
>> I think the basic notion of using a KDF at all -- rather
>> than Diffie-Hellman key negotiation with the password
>> used for authentication -- needs to be justified here.
>>
>> I'm not certain it can be, but the draft should attempt
>> it.
>>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>


From nobody Thu May 29 05:12:03 2014
Return-Path: <rifaat.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 AE1211A08CC for <cfrg@ietfa.amsl.com>; Thu, 29 May 2014 05:12:01 -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 GM9t6bT3y9vS for <cfrg@ietfa.amsl.com>; Thu, 29 May 2014 05:11:59 -0700 (PDT)
Received: from mail-ie0-x22e.google.com (mail-ie0-x22e.google.com [IPv6:2607:f8b0:4001:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B21EB1A00C2 for <cfrg@irtf.org>; Thu, 29 May 2014 05:11:58 -0700 (PDT)
Received: by mail-ie0-f174.google.com with SMTP id lx4so171270iec.5 for <cfrg@irtf.org>; Thu, 29 May 2014 05:11:54 -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=z1DSucKEp8sRc9Pklz+FCqDWjOrsRQ66u8mHRvnjTVc=; b=BZemY8WoCgktEmULsz8AhU2x+wsg3y6PzJxQHnR2S1jOKqrn+FYfhbXSKHP9/raqD9 ZeBpmob2rMBV7Z2UGD41jGr2875Gx8m7/YbfYtT+G5XtEU0mgFNVgEuhXMYeCNiebth6 sTLuaBSINCrv3/EoSK6mZw/S3PiCeBDONmwKgC1NMig5VE5SioXIPbtshzgDOcm8SK6z 9wSaBVJhI43d7HPyLQGmzxJkZjc63YYkQ31vorfK9UsHWgGxZYyZn8OeNmh2A66ZEg+z Zsi4EQ8DdYtnVyyE8lVp6nfL52vbcRYxvfvtJ8kuHnAkezjGHyp7SNNA5O/bc8pWN/HO VlcA==
MIME-Version: 1.0
X-Received: by 10.50.253.195 with SMTP id ac3mr51145324igd.1.1401365514489; Thu, 29 May 2014 05:11:54 -0700 (PDT)
Received: by 10.50.111.170 with HTTP; Thu, 29 May 2014 05:11:54 -0700 (PDT)
In-Reply-To: <34ba86c72778f67cb4d5afdf382fd471.squirrel@www.trepanning.net>
References: <CAGL6epKMqH835XTDeGnUc-AZkF2DqYawQyBZaxbOcO4Pqbh8Ng@mail.gmail.com> <CACXcFmmiQYXEy+LNhzUrz1irPdko0somtccDPtFBqUvR4xjaUQ@mail.gmail.com> <CAGL6epK5P0Y0mHMQGF+Y_sJ1Yt0+OXz2Gnwj_D-ezvjt7yf0nA@mail.gmail.com> <34ba86c72778f67cb4d5afdf382fd471.squirrel@www.trepanning.net>
Date: Thu, 29 May 2014 08:11:54 -0400
Message-ID: <CAGL6epKtsoo4vQP2XnV+KqnT9T0H=roPzsTS51JGTj_Q-ehqWA@mail.gmail.com>
From: Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>
To: Dan Harkins <dharkins@lounge.org>
Content-Type: multipart/alternative; boundary=001a1135f33ab1156b04fa88d5bb
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/ic4oRWYZRzCvG5d2uGduh2wZyaI
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Key-Derivation Scheme
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 29 May 2014 12:12:01 -0000

--001a1135f33ab1156b04fa88d5bb
Content-Type: text/plain; charset=ISO-8859-1

Hi Dan,

Thanks for your comments.
Please, see my reply inline...

Regards,
 Rifaat




On Wed, May 28, 2014 at 12:38 PM, Dan Harkins <dharkins@lounge.org> wrote:

>
>   Hi Rifaat,
>
> On Wed, May 28, 2014 5:32 am, Rifaat Shekh-Yusef wrote:
> > Hi Sandy,
> >
> > Thanks for your comment.
> >
> > The main reason for using a KDF-based algorithm (PBKDF2, scrypt, ...) is
> > to
> > make it much more expensive to recover the password in clear-text if the
> > passwords database is compromised.
> > We could use a combination of a KDF-based algorithm with another
> > algorithm,
> > like the following proposal:
> > http://www.ietf.org/mail-archive/web/cfrg/current/msg04523.html
> >
> > Does that address your comment?
>
>   It sort of begs the question. In your draft you say:
>
>     "The Key-Derivation scheme ensures that the password and the master-
>      key are never sent on the wire, and allows for a better secure
>      storage of passwords, as it significantly increases the amount of
>      computation needed to derive a key from a password in a dictionary
>      attack."
>
> While the password will not be sent over the wire, password-derived
> data will and that enables the dictionary attack.


Just to be accurate here, the password will be used to derive a master-key;
the master-key will then be used to hash the data.
Since I am not a cryptographer, I do not know if this difference is
significant or not.



> Yes, PBKDF2 will increase
> the amount of computation needed to derive a key but that becomes
> more an more trivial every year thanks to Moore's Law.
>

That depends on the number of iterations and the HMAC-Hash function
selected by the server, and these could be adjusted when needed.
 I used PBKDF2 as an example, but other algorithms, like Scrypt, could be
used instead.



>
>   PBKDF2 is used by WPS-PSK, a password-authenticated key exchange
> for wireless network access. The password is never sent over the ether
> yet tools exist that can crack the password used in the WPS-PSK exchange
> in a matter of minutes to hours depending on the level of hardware thrown
> at the problem. There are also sites on the Internet that, for a small
> fee, will
> crack the password for you if you give them the exchange (that did not
> contain the password) that crossed the ether. Obviously, the protection
> afforded by PBKDF2 is not much and getting smaller.
>
>
Do you know the number of iterations and the HMAC-Hash function used with
WPS-PSK?



>   A much better solution to your problem is to use a password-authenticated
> key exchange based on a zero knowledge proof. That way, not only does
> the password not cross the wire/ether, neither does password-derived
> data.
>
>
Agree.



>   In the message you refer to above you incorporate your scheme
> with a PAKE. Which begs the question, what is your justification for this
> since the password is already not crossing with wire/ether before you
> added PBKDF2? A proper augmented PAKE will provide suitable resistance
> to dictionary attack in the event of database compromise so, again,
> what's the point of this KDF?
>
>
As I mentioned earlier, a KDF-based algorithm is controlled through the
number of iterations used by the algorithm, and by the HMAC-Hash function.
This flexibility allows the system to select the level of protection
required based on the system's needs.

Now, are you saying that instead of storing the master-key created based on
the KDF-based algorithm, the server should store the shared-secret created
by the JPAKE protocol? and
if the database is compromised, the computation needed by the attacker to
recover the clear-text password from the shared-secret will always be much
higher than the computation needed in the case of the master-key?


Regards,
 Rifaat



>   regards,
>
>   Dan.
>
> > Regards,
> >  Rifaat
> >
> >
> >
> > On Tue, May 27, 2014 at 10:57 PM, Sandy Harris
> > <sandyinchina@gmail.com>wrote:
> >
> >> On Wed, May 14, 2014 at 8:46 AM, Rifaat Shekh-Yusef
> >> <rifaat.ietf@gmail.com> wrote:
> >>
> >> > This is to continue the Key-Derivation Scheme discussion ...
> >> >
> >> > Attached is an updated version of the draft ...
> >>
> >> The draft has:
> >>
> >> " While cannot be used directly as cryptographic keys, the
> >> " passwords can still be used to derive cryptographic keys,
> >> " by using Key Derivation Function (KDF).
> >>
> >> I think the basic notion of using a KDF at all -- rather
> >> than Diffie-Hellman key negotiation with the password
> >> used for authentication -- needs to be justified here.
> >>
> >> I'm not certain it can be, but the draft should attempt
> >> it.
> >>
> > _______________________________________________
> > Cfrg mailing list
> > Cfrg@irtf.org
> > http://www.irtf.org/mailman/listinfo/cfrg
> >
>
>

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

<div dir=3D"ltr">Hi Dan,<div><br></div><div>Thanks for your comments.</div>=
<div>Please, see my reply inline...</div><div><br></div><div>Regards,</div>=
<div>=A0Rifaat</div><div><br></div><div><br></div><div class=3D"gmail_extra=
"><br>












<br><div class=3D"gmail_quote">On Wed, May 28, 2014 at 12:38 PM, Dan Harkin=
s <span dir=3D"ltr">&lt;<a href=3D"mailto:dharkins@lounge.org" target=3D"_b=
lank">dharkins@lounge.org</a>&gt;</span> wrote:<br><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">












<br>
=A0 Hi Rifaat,<br>
<div><br>
On Wed, May 28, 2014 5:32 am, Rifaat Shekh-Yusef wrote:<br>
&gt; Hi Sandy,<br>
&gt;<br>
&gt; Thanks for your comment.<br>
&gt;<br>
&gt; The main reason for using a KDF-based algorithm (PBKDF2, scrypt, ...) =
is<br>
&gt; to<br>
&gt; make it much more expensive to recover the password in clear-text if t=
he<br>
&gt; passwords database is compromised.<br>
&gt; We could use a combination of a KDF-based algorithm with another<br>
&gt; algorithm,<br>
&gt; like the following proposal:<br>
&gt; <a href=3D"http://www.ietf.org/mail-archive/web/cfrg/current/msg04523.=
html" target=3D"_blank">http://www.ietf.org/mail-archive/web/cfrg/current/m=
sg04523.html</a><br>
&gt;<br>
&gt; Does that address your comment?<br>
<br>
</div>=A0 It sort of begs the question. In your draft you say:<br>
<br>
=A0 =A0 &quot;The Key-Derivation scheme ensures that the password and the m=
aster-<br>
=A0 =A0 =A0key are never sent on the wire, and allows for a better secure<b=
r>
=A0 =A0 =A0storage of passwords, as it significantly increases the amount o=
f<br>
=A0 =A0 =A0computation needed to derive a key from a password in a dictiona=
ry<br>
=A0 =A0 =A0attack.&quot;<br>
<br>
While the password will not be sent over the wire, password-derived<br>
data will and that enables the dictionary attack. </blockquote><div><br></d=
iv><div>Just to be accurate here, the password will be used to derive a mas=
ter-key; the master-key will then be used to hash the data.</div><div>



Since I am not=A0a cryptographer, I do not know if this difference is signi=
ficant or not.</div>



<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,2=
04);border-left-style:solid;padding-left:1ex">Yes, PBKDF2 will increase<br>
the amount of computation needed to derive a key but that becomes<br>
more an more trivial every year thanks to Moore&#39;s Law.<br></blockquote>=
<div><br></div><div>That depends on the number of iterations and the HMAC-H=
ash function selected by the server, and these could be adjusted when neede=
d.<br>






</div><div>



I used PBKDF2 as an example, but other algorithms, like Scrypt, could be us=
ed instead.<br>
</div><div><br></div><div>=A0<br></div><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb=
(204,204,204);border-left-style:solid;padding-left:1ex">

<br>
=A0 PBKDF2 is used by WPS-PSK, a password-authenticated key exchange<br>
for wireless network access. The password is never sent over the ether<br>
yet tools exist that can crack the password used in the WPS-PSK exchange<br=
>
in a matter of minutes to hours depending on the level of hardware thrown<b=
r>
at the problem. There are also sites on the Internet that, for a small<br>
fee, will<br>
crack the password for you if you give them the exchange (that did not<br>
contain the password) that crossed the ether. Obviously, the protection<br>
afforded by PBKDF2 is not much and getting smaller.<br>
<br></blockquote><div><br></div><div>Do you know the number of iterations a=
nd the HMAC-Hash function used with WPS-PSK?</div><div><br></div><div>=A0</=
div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor=
der-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:sol=
id;padding-left:1ex">












=A0 A much better solution to your problem is to use a password-authenticat=
ed<br>
key exchange based on a zero knowledge proof. That way, not only does<br>
the password not cross the wire/ether, neither does password-derived<br>
data.<br>
<br></blockquote><div><br></div><div>Agree.</div><div><br></div><div>=A0</d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:soli=
d;padding-left:1ex">












=A0 In the message you refer to above you incorporate your scheme<br>
with a PAKE. Which begs the question, what is your justification for this<b=
r>
since the password is already not crossing with wire/ether before you<br>
added PBKDF2? A proper augmented PAKE will provide suitable resistance<br>
to dictionary attack in the event of database compromise so, again,<br>
what&#39;s the point of this KDF?<br>
<br></blockquote><div><br></div><div>As I mentioned earlier, a KDF-based al=
gorithm is controlled through the number of iterations used by the algorith=
m, and by the HMAC-Hash function.</div><div>This flexibility allows the sys=
tem to select the level of protection required based on the system&#39;s ne=
eds.=A0</div>


<div><br></div><div>Now, are you saying that instead of storing the master-=
key created based on the KDF-based algorithm, the server should store the s=
hared-secret created by the JPAKE protocol? and=A0<br></div>







<div>if the database is compromised, the computation needed by the attacker=
 to recover the clear-text password from the shared-secret will always be m=
uch higher than the computation needed in the case of the master-key?</div>




<div>



<br></div><div><br></div><div>Regards,</div><div>=A0Rifaat</div><div><br></=
div><div>


=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-styl=
e:solid;padding-left:1ex">
=A0 regards,<br>
<br>
=A0 Dan.<br>
<div><br>
&gt; Regards,<br>
&gt; =A0Rifaat<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, May 27, 2014 at 10:57 PM, Sandy Harris<br>
&gt; &lt;<a href=3D"mailto:sandyinchina@gmail.com" target=3D"_blank">sandyi=
nchina@gmail.com</a>&gt;wrote:<br>
&gt;<br>
&gt;&gt; On Wed, May 14, 2014 at 8:46 AM, Rifaat Shekh-Yusef<br>
&gt;&gt; &lt;<a href=3D"mailto:rifaat.ietf@gmail.com" target=3D"_blank">rif=
aat.ietf@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; &gt; This is to continue the Key-Derivation Scheme discussion ...<=
br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Attached is an updated version of the draft ...<br>
&gt;&gt;<br>
&gt;&gt; The draft has:<br>
&gt;&gt;<br>
&gt;&gt; &quot; While cannot be used directly as cryptographic keys, the<br=
>
&gt;&gt; &quot; passwords can still be used to derive cryptographic keys,<b=
r>
&gt;&gt; &quot; by using Key Derivation Function (KDF).<br>
&gt;&gt;<br>
&gt;&gt; I think the basic notion of using a KDF at all -- rather<br>
&gt;&gt; than Diffie-Hellman key negotiation with the password<br>
&gt;&gt; used for authentication -- needs to be justified here.<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m not certain it can be, but the draft should attempt<br>
&gt;&gt; it.<br>
&gt;&gt;<br>
</div><div><div>&gt; _______________________________________________<br>
&gt; Cfrg mailing list<br>
&gt; <a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.org</a><b=
r>
&gt; <a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" target=3D"_blank=
">http://www.irtf.org/mailman/listinfo/cfrg</a><br>
&gt;<br>
<br>
</div></div></blockquote></div><br></div></div>

--001a1135f33ab1156b04fa88d5bb--


From nobody Thu May 29 16:26:19 2014
Return-Path: <wwwrun@rfc-editor.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 D7CF41A0773; Thu, 29 May 2014 16:26:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.553
X-Spam-Level: 
X-Spam-Status: No, score=-102.553 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.651, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] 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 YPKsk3MLXWch; Thu, 29 May 2014 16:26:14 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [IPv6:2001:1900:3001:11::31]) by ietfa.amsl.com (Postfix) with ESMTP id C3F5B1A0751; Thu, 29 May 2014 16:26:12 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id C5B0918A992; Thu, 29 May 2014 16:25:30 -0700 (PDT)
To: ietf-announce@ietf.org, rfc-dist@rfc-editor.org, irtf-announce@irtf.org
X-PHP-Originating-Script: 6000:ams_util_lib.php
From: rfc-editor@rfc-editor.org
Message-Id: <20140529232530.C5B0918A992@rfc-editor.org>
Date: Thu, 29 May 2014 16:25:30 -0700 (PDT)
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/I7J5S6_LfB6axtP0YRONJI6gr3A
Cc: drafts-update-ref@iana.org, cfrg@irtf.org, rfc-editor@rfc-editor.org
Subject: [Cfrg] RFC 7253 on The OCB Authenticated-Encryption Algorithm
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 29 May 2014 23:26:17 -0000

A new Request for Comments is now available in online RFC libraries.

        
        RFC 7253

        Title:      The OCB Authenticated-Encryption Algorithm 
        Author:     T. Krovetz, P. Rogaway
        Status:     Informational
        Stream:     IRTF
        Date:       May 2014
        Mailbox:    ted@krovetz.net, 
                    rogaway@cs.ucdavis.edu
        Pages:      19
        Characters: 39712
        Updates/Obsoletes/SeeAlso:   None

        I-D Tag:    draft-irtf-cfrg-ocb-07.txt

        URL:        http://www.rfc-editor.org/rfc/rfc7253.txt

This document specifies OCB, a shared-key blockcipher-based
encryption scheme that provides confidentiality and authenticity for
plaintexts and authenticity for associated data.  This document is a
product of the Crypto Forum Research Group (CFRG).

This document is a product of the Crypto Forum Research Group of the IRTF.


INFORMATIONAL: This memo provides information for the Internet community.
It does not specify an Internet standard of any kind. Distribution of
this memo is unlimited.

This announcement is sent to the IETF-Announce, rfc-dist and IRTF-Announce lists.To subscribe or unsubscribe, see
  http://www.ietf.org/mailman/listinfo/ietf-announce
  http://mailman.rfc-editor.org/mailman/listinfo/rfc-dist
  http://www.irtf.org/mailman/listinfo/irtf-announce

For searching the RFC series, see http://www.rfc-editor.org/search
For downloading RFCs, see http://www.rfc-editor.org/rfc.html

Requests for special distribution should be addressed to either the
author of the RFC in question, or to rfc-editor@rfc-editor.org.  Unless
specifically noted otherwise on the RFC itself, all RFCs are for
unlimited distribution.


The RFC Editor Team
Association Management Solutions, LLC



From nobody Thu May 29 18:44:00 2014
Return-Path: <James.H.Manger@team.telstra.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 4F61A1A0730 for <cfrg@ietfa.amsl.com>; Thu, 29 May 2014 18:43:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.202
X-Spam-Level: 
X-Spam-Status: No, score=-0.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_AU=0.377, HOST_EQ_AU=0.327, RCVD_IN_DNSWL_NONE=-0.0001, RELAY_IS_203=0.994] 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 EojCeFYXhmKP for <cfrg@ietfa.amsl.com>; Thu, 29 May 2014 18:43:56 -0700 (PDT)
Received: from ipxbno.tcif.telstra.com.au (ipxbno.tcif.telstra.com.au [203.35.82.204]) by ietfa.amsl.com (Postfix) with ESMTP id 622C21A0726 for <cfrg@irtf.org>; Thu, 29 May 2014 18:43:56 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.98,937,1392123600"; d="scan'208";a="11405176"
Received: from unknown (HELO ipcbni.tcif.telstra.com.au) ([10.97.216.204]) by ipobni.tcif.telstra.com.au with ESMTP; 30 May 2014 11:34:12 +1000
X-IronPort-AV: E=McAfee;i="5600,1067,7453"; a="227233298"
Received: from wsmsg3707.srv.dir.telstra.com ([172.49.40.81]) by ipcbni.tcif.telstra.com.au with ESMTP; 30 May 2014 11:43:39 +1000
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by wsmsg3707.srv.dir.telstra.com ([172.49.40.81]) with mapi; Fri, 30 May 2014 11:43:39 +1000
From: "Manger, James" <James.H.Manger@team.telstra.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Date: Fri, 30 May 2014 11:43:38 +1000
Thread-Topic: [Cfrg] RFC 7253 on The OCB Authenticated-Encryption Algorithm
Thread-Index: Ac97lb9APMosiWs4Re69/yX8D/MdewAEZwNg
Message-ID: <255B9BB34FB7D647A506DC292726F6E115466F3A27@WSMSG3153V.srv.dir.telstra.com>
References: <20140529232530.C5B0918A992@rfc-editor.org>
In-Reply-To: <20140529232530.C5B0918A992@rfc-editor.org>
Accept-Language: en-US, en-AU
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US, en-AU
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/1eRoLPa--SHWoRqCyjA0KI9orNM
Subject: Re: [Cfrg] RFC 7253 on The OCB Authenticated-Encryption Algorithm
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 30 May 2014 01:43:58 -0000

Q29uZ3JhdHVsYXRpb25zIHRvIFRlZCBLcm92ZXR6LCBQaGlsbGlwIFJvZ2F3YXksIGFuZCBDRlJH
IG9uIE9DQiBiZWNvbWluZyBhbiBSRkMuDQoNCkkgbGlrZSBNYXR0aGV3IEdyZWVu4oCZcyBjb21t
ZW50cyBvbiBPQ0IgW2Zyb20gMjAxMiwgaHR0cDovL2Jsb2cuY3J5cHRvZ3JhcGh5ZW5naW5lZXJp
bmcuY29tLzIwMTIvMDUvaG93LXRvLWNob29zZS1hdXRoZW50aWNhdGVkLWVuY3J5cHRpb24uaHRt
bF0NCg0KIkluIHBlcmZvcm1hbmNlIHRlcm1zIE9DQiBibG93cyB0aGUgcGFudHMgb2ZmIG9mIGFs
bCB0aGUgb3RoZXIgbW9kZXMiDQoiSWYgT0NCIHdhcyB5b3VyIGtpZCwgaGUnZCBwbGF5IHRocmVl
IHNwb3J0cyBhbmQgYmUgb24gaGlzIHdheSB0byBIYXJ2YXJkLiBZb3UnZCBicmFnIGFib3V0IGhp
bSB0byBhbGwgeW91ciBmcmllbmRzLiINCg0KLS0NCkphbWVzIE1hbmdlcg0KDQoNCi0tLS0tLS0t
LS0NClN1YmplY3Q6IFtDZnJnXSBSRkMgNzI1MyBvbiBUaGUg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