
From mcgrew@cisco.com  Wed Dec  7 10:00:30 2011
Return-Path: <mcgrew@cisco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B96AA21F8C3E for <cfrg@ietfa.amsl.com>; Wed,  7 Dec 2011 10:00:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RerWNHHNlSlD for <cfrg@ietfa.amsl.com>; Wed,  7 Dec 2011 10:00:29 -0800 (PST)
Received: from mtv-iport-4.cisco.com (mtv-iport-4.cisco.com [173.36.130.15]) by ietfa.amsl.com (Postfix) with ESMTP id 2634121F8C1A for <cfrg@irtf.org>; Wed,  7 Dec 2011 10:00:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=mcgrew@cisco.com; l=2876; q=dns/txt; s=iport; t=1323280823; x=1324490423; h=cc:message-id:from:to:in-reply-to: content-transfer-encoding:mime-version:subject:date: references; bh=D2gEFP7hjCk3PpRlYtBVThGnZDmilrhzN9p2SmSXqyc=; b=iLCjtn5/VadnydAIsa84B8fok7I6ZBFdIYmIrqCiQ+8yrrzfw36G9m+w LsPCQy+fTq8+VUkokjHJfRt4S6GMYbR8lnm7i1DoHs6Rucg5AA8EHVfRS u0o8qBxlYydJxmSgWhyMAXVSoIuaKM+TdyF1DrBK4GoEfUweHAosM+erC s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EAP+o306rRDoI/2dsb2JhbABDDgiqP4EFgXIBAQEDAQEBAQ8BFBECDyULBQkCIy4bDDAGEwkZh2UImE8BnjMEik1jBIgujD2KaYcDWA
X-IronPort-AV: E=Sophos;i="4.71,315,1320624000"; d="scan'208";a="18330095"
Received: from mtv-core-3.cisco.com ([171.68.58.8]) by mtv-iport-4.cisco.com with ESMTP; 07 Dec 2011 18:00:22 +0000
Received: from stealth-10-32-254-214.cisco.com (stealth-10-32-254-214.cisco.com [10.32.254.214]) by mtv-core-3.cisco.com (8.14.3/8.14.3) with ESMTP id pB7I0Lj3012053; Wed, 7 Dec 2011 18:00:22 GMT
Message-Id: <71BC8F09-4943-45FA-B61A-46CE1E0F28BE@cisco.com>
From: David McGrew <mcgrew@cisco.com>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
In-Reply-To: <A9FC8F73FB3BF9409BE7A8109CA098C60D5E1597@EXCH-MB02.cc.rhul.local>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Date: Wed, 7 Dec 2011 10:00:21 -0800
References: <DFA0D54E-07AE-47C1-8420-E362220ABD2F@cisco.com> <E7445A95-8498-49E4-8CD9-542A2DE0DBC1@cisco.com> <877h2snwns.fsf@latte.josefsson.org> <05A44E2A-EBCA-4A30-B5BA-28A1903A2BE6@cisco.com> <A9FC8F73FB3BF9409BE7A8109CA098C60D5E1597@EXCH-MB02.cc.rhul.local>
X-Mailer: Apple Mail (2.936)
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: [Cfrg] Is Cryptographic Theory Practically Relevant? (Was: Re: cfrg co-chair)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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 Dec 2011 18:00:30 -0000

Hi Kenny,

On Nov 22, 2011, at 8:39 AM, Paterson, Kenny wrote:

> Hi All,
>
> There are indeed ECRYPT members on the list and paying attention!  
> One of our objectives as a network of excellence is to find ways to  
> engage with people developing standards, implementing cryptography,  
> etc. So there is certainly interest and appetite from individuals  
> within ECRYPT for providing input to CFRG.
>
> One immediate item that may be of interest to CFRG is the annual  
> ECRYPT report on key lengths and algorithms, which is available here:
>
> http://www.ecrypt.eu.org/documents.html
>
> Another item of possible interest is the following ECRYPT co- 
> sponsored workshop happening in Cambridge (UK) in Jan/Feb 2012:
>
> Is Cryptographic Theory Practically Relevant?
> http://www.newton.ac.uk/programmes/SAS/sasw07.html


thanks for pointing this workshop out to the list.  I had noticed it  
and was thinking that I should aim to get some engagement with CFRG,  
considering that the agenda of "theory -> practice" lines up well with  
the RG charter.

>
> I am co-organizer of this workshop - so if someone from CFRG is  
> available to present, s/he would be more than welcome to have a slot!
>

This is a kind offer, and if no one else from CFRG is able to attend,  
I think that I could put together a worthwhile contribution.  If the  
offer still holds, how about we discuss offline what sort of  
contribution would be most valuable?

David

> Regards,
>
> Kenny
>
>> Hi Simon,
>>
>> On Nov 22, 2011, at 4:56 AM, Simon Josefsson wrote:
>>
>>>
>>> David,
>>>
>>> I have no concerns other than a general preference for attempting to
>>> enlarge the pond a bit and find someone with experience from the
>>> ECRYPT
>>> or CRYPTREC efforts, for example.  I do realize that there may not  
>>> be
>>> huge pool of volunteers with free time to chose from, however, so we
>>> should be grateful for Kevin's offer.
>>
>> agreed, global engagement is the right goal, and we should figure out
>> ways to get more engagement and involvement from ECRYPT and
>> CRYPTREC.   One thought is: we can solict input to the RG from those
>> groups and other similar groups.  Having a presentation at physical
>> meeting might be the best way to get interaction going.  I bet that
>> there are people on the list who participate in some of those groups,
>> and it would be great to hear from them.
>>
>> David
>>
>>>
>
> ------
> Kenneth G. Paterson,
> Information Security Group,
> Royal Holloway, University of London,
> Egham, Surrey TW20 0EX, U.K.
> e-mail: kenny.paterson@rhul.ac.uk
> web:    www.isg.rhul.ac.uk/~kp
> phone:  01784 414393
> fax:    01784 430766
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From mcgrew@cisco.com  Tue Dec 13 06:32:34 2011
Return-Path: <mcgrew@cisco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 98D5621F8A7E for <cfrg@ietfa.amsl.com>; Tue, 13 Dec 2011 06:32:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L5l1HY0DToUr for <cfrg@ietfa.amsl.com>; Tue, 13 Dec 2011 06:32:33 -0800 (PST)
Received: from mtv-iport-2.cisco.com (mtv-iport-2.cisco.com [173.36.130.13]) by ietfa.amsl.com (Postfix) with ESMTP id C076321F858C for <cfrg@irtf.org>; Tue, 13 Dec 2011 06:32:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=mcgrew@cisco.com; l=4003; q=dns/txt; s=iport; t=1323786753; x=1324996353; h=message-id:from:to:in-reply-to:content-transfer-encoding: mime-version:subject:date:references; bh=yHd4D5nXCVPX6SxfhTZwU98u9NFVhgx+Z/16ZQeGnqE=; b=Sp/9dFedo7WJhU+MrvaGS4BxGKdvcxnht9W/LC47RylZEVAtp4wdQXKR ZvfkE91OHnX06+4+3OoVbJ/tYszdmtta+KxxRZws0Rqsi1QWkMFs+DFwU 3KmC/ZzB0dlHtpRbrMV5U0s88vX8gExZCV7PjsyiZyccLhVjg4AeX4kWv M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArcAAEVh506rRDoI/2dsb2JhbABDhQeVSpBRgQWBcgEBAQMBAQEBDwEQFTYXBAUEAhEEAQEBAgIjAwICJx8JCBkJCAoHh1oIl0oBjFuRT4EviSMzYwSIMIxBhU2MfQ
X-IronPort-AV: E=Sophos;i="4.71,345,1320624000"; d="scan'208";a="20422688"
Received: from mtv-core-3.cisco.com ([171.68.58.8]) by mtv-iport-2.cisco.com with ESMTP; 13 Dec 2011 14:32:32 +0000
Received: from [10.32.254.210] ([10.32.254.210]) by mtv-core-3.cisco.com (8.14.3/8.14.3) with ESMTP id pBDEWVfo022414 for <cfrg@irtf.org>; Tue, 13 Dec 2011 14:32:32 GMT
Message-Id: <D8CFCD46-AC50-4C0B-A465-9738C2F8894F@cisco.com>
From: David McGrew <mcgrew@cisco.com>
To: cfrg@irtf.org
In-Reply-To: <18a414e77f0f963b10a0ca47675e91c2.squirrel@www.trepanning.net>
Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v936)
X-Priority: 3 (Normal)
Date: Tue, 13 Dec 2011 06:32:30 -0800
References: <DFA0D54E-07AE-47C1-8420-E362220ABD2F@cisco.com> <E7445A95-8498-49E4-8CD9-542A2DE0DBC1@cisco.com> <521937010.00766@cnnic.cn> <521938996.05639@cnnic.cn> <4ECB8006.9010002@ieca.com> <4ECB9F48.3010907@cs.tcd.ie> <18a414e77f0f963b10a0ca47675e91c2.squirrel@www.trepanning.net>
X-Mailer: Apple Mail (2.936)
Subject: Re: [Cfrg] cfrg co-chair
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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 Dec 2011 14:32:34 -0000

Thanks to everyone for their input, both on-list and off-list.  I'm =20
calling consensus on having Kevin as co-chair for the Crypto Forum RG.

I also note the good suggestions for the RG to make an effort to =20
engage with crypto programs like ECRYPT and CRYPTREC.  Ideas on how to =20=

do this are welcome.  One thought: we can have an in-person meeting =20
during the March 2012 IETF meeting in Paris.

David

On Nov 22, 2011, at 8:38 AM, Dan Harkins wrote:

>
>  Ditto.
>
>  Dan.
>
> On Tue, November 22, 2011 5:10 am, Stephen Farrell wrote:
>>
>> same here
>> S
>>
>> On 11/22/2011 10:57 AM, Sean Turner wrote:
>>> +1
>>>
>>> spt
>>>
>>> On 11/22/11 12:17 AM, Sean Shen =E6=B2=88=E7=83=81 wrote:
>>>> +1
>>>>
>>>> Sean Shen
>>>>
>>>> -----Original Message-----
>>>> From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On =20
>>>> Behalf
>>>> Of Richard Graveman
>>>> Sent: Tuesday, November 22, 2011 12:43 PM
>>>> To: David McGrew
>>>> Cc: cfrg@irtf.org; Lars Eggert
>>>> Subject: Re: [Cfrg] cfrg co-chair
>>>>
>>>> I support Kevin without reservations.
>>>>
>>>> Rich Graveman
>>>>
>>>> On Mon, Nov 21, 2011 at 4:41 PM, David McGrew<mcgrew@cisco.com> =20
>>>> wrote:
>>>>> Hi,
>>>>>
>>>>> the IRTF process on selecting new chairs or co-chairs for RGs is
>>>>> somewhat
>>>>> underspecified. To make sure that we are following a transparent
>>>>> process,
>>>>> I should have said that, while I support and appreciate Kevin's =20=

>>>>> offer
>>>>> to
>>>>> chair, that position ought to be affirmed by the research group =20=

>>>>> itself
>>>>> -
>>>>> that is, by you. Can you please chime in with an acceptance of =20
>>>>> Kevin
>>>>> in
>>>>> this role (or alternatively, share your concerns if you have =20
>>>>> them)?
>>>>>
>>>>> Recall that the research group membership is unrestricted, and =20
>>>>> anyone
>>>>> can
>>>>> join by joinging the mail list. The IRTF processes are outlined =20=

>>>>> in RFC
>>>>> 2014, and the IRTF document publication process is described in =20=

>>>>> RFC
>>>>> 5743.
>>>>>
>>>>> thanks!
>>>>>
>>>>> David
>>>>>
>>>>> On Nov 11, 2011, at 3:30 PM, David McGrew wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I would like to thank Ran Canetti for serving as Crypto Forum
>>>>>> Research
>>>>>> Group co-chair, starting at the inception of the RG almost ten =20=

>>>>>> years
>>>>>> ago.
>>>>>> Ran has decided to step down from this role.
>>>>>>
>>>>>> Fortunately, Kevin Igoe has offered to fill this role. Kevin is a
>>>>>> senior
>>>>>> cryptographer with the Commercial Solutions Center of the U.S.
>>>>>> National
>>>>>> Security Agency. Kevin has a great depth of technical knowledge =20=

>>>>>> in
>>>>>> this
>>>>>> area, as
>>>>>> well as a pragmatic focus that fits well with the IETF. He has
>>>>>> authored/coauthored four RFCs and several current drafts on
>>>>>> cryptography,
>>>>>> and he led the design of the SHA-1 hash algorithm.
>>>>>>
>>>>>> Thanks Kevin and Ran!
>>>>>>
>>>>>> David
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>> _______________________________________________
>>>> 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
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> http://www.irtf.org/mailman/listinfo/cfrg
>>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From dharkins@lounge.org  Tue Dec 20 13:38:10 2011
Return-Path: <dharkins@lounge.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2842E1F0C38 for <cfrg@ietfa.amsl.com>; Tue, 20 Dec 2011 13:38:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.665
X-Spam-Level: 
X-Spam-Status: No, score=-3.665 tagged_above=-999 required=5 tests=[BAYES_50=0.001, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L+qx77TfQOez for <cfrg@ietfa.amsl.com>; Tue, 20 Dec 2011 13:38:09 -0800 (PST)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id 9E7B321F85CE for <cfrg@irtf.org>; Tue, 20 Dec 2011 13:38:09 -0800 (PST)
Received: from www.trepanning.net (localhost [127.0.0.1]) by colo.trepanning.net (Postfix) with ESMTP id 431BE1022404A; Tue, 20 Dec 2011 13:38:09 -0800 (PST)
Received: from 216.31.249.246 (SquirrelMail authenticated user dharkins@lounge.org) by www.trepanning.net with HTTP; Tue, 20 Dec 2011 13:38:09 -0800 (PST)
Message-ID: <10c1dacc5c5001fbaf130c3098f37dd8.squirrel@www.trepanning.net>
Date: Tue, 20 Dec 2011 13:38:09 -0800 (PST)
From: "Dan Harkins" <dharkins@lounge.org>
To: cfrg@irtf.org
User-Agent: SquirrelMail/1.4.14 [SVN]
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Cc: tls@ietf.org
Subject: [Cfrg] password-based key exchange
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 20 Dec 2011 21:38:10 -0000

  Hello,

  I proposed a new TLS ciphersuite using a zero knowledge proof at
IETF 82 in Taipei. The draft is here:

       http://tools.ietf.org/html/draft-harkins-tls-pwd-01

At the TLS WG meeting I was requested to ask people on the CFRG list
with expertise in this field to take a look at it. So here I am, asking.
If someone has some spare cycles this holiday season, if you just gotta
get away from the relatives, or you are just feeling in the giving mood,
please take a look and comment. Any analysis on this would be greatly
appreciated. (I tried to do a formal proof but I cannot, and that's
what's prompting this).

  I can describe the key exchange broadly here. There are subtle
differences in the draft-- like one side keeps a salted version of the
password and communicates the salt during a HELLO message-- that don't
affect the exchange. It is symmetric so I can describe it from one side's
perspective. The side being described is "local" and the other side is
"peer", it goes like this:

Given: local ID, peer ID, password, an agreed-upon set of domain
parameters defining a finite field group (it works will elliptic
curve crypto too) and using two function:

  - E = HashToElement(d) which takes some data, d, and hashes into
    the finite field to return an element, E.
  - x = H(y) returns a random stream, x, given some input, y.

The key exchange works like this:

1. PE = HashToElement(local_ID | peer_ID | password)
   gets a "password element"

   There is an ordering defined in the draft to ensure that the IDs
   are put in the same order on each side.

2. generate 2 random numbers between 0 and the order of the group, q:

   0 < local_rand, local_mask < q

3. compute a scalar and an element:
   local_scalar = (local_rand + local_mask) mod q
   local_element = 1/(PE^local_mask) mod p

   where p is the prime and q is the order. Send local_scalar and
   local_element to other side

4. receive peer_scalar and peer_element from other side

5. compute shared key, K

   K = (PE^peer_scalar * peer_element)^local_rand mod p =
       (PE^(peer_rand + peer_mask) * PE^(-peer_mask))^local_rand mod p =
       PE^(peer_rand*local_rand) mod p

6. compute a confirmation

   local_confirm = H(K, local_scalar | local_element |
                     peer_scalar | peer_element)

   send confirmation to peer

7. receive peer's confirmation, calculate verifier

   verifier = H(K, peer_scalar | peer_element | local_scalar |
                local_element)

   if verifier equals peer's confirmation the peer is authenticated.

The peer does the same thing but from its perspective it is "local"
and the side described above is "peer".

  Thank you in advance for any analysis that can be provided on this
exchange.

  regards,

  Dan.



From sfluhrer@cisco.com  Tue Dec 20 14:17:39 2011
Return-Path: <sfluhrer@cisco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0297C21F861E for <cfrg@ietfa.amsl.com>; Tue, 20 Dec 2011 14:17:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yP-iWyxG3TCs for <cfrg@ietfa.amsl.com>; Tue, 20 Dec 2011 14:17:38 -0800 (PST)
Received: from mtv-iport-3.cisco.com (mtv-iport-3.cisco.com [173.36.130.14]) by ietfa.amsl.com (Postfix) with ESMTP id 4345921F85DB for <cfrg@irtf.org>; Tue, 20 Dec 2011 14:17:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=sfluhrer@cisco.com; l=3664; q=dns/txt; s=iport; t=1324419458; x=1325629058; h=mime-version:content-transfer-encoding:subject:date: message-id:in-reply-to:references:from:to:cc; bh=nPGmmEZ8L1UUqLUwo0LrooHlHbqIf3YznXyn/szOEak=; b=jbyL9uwLxerNR1r4f8HKBrpszfE3ivznHgpGwOYlh1CEiDjjOUpTrh54 sab9G2E9RwTTEcXMuudn71+jZTQ6Oz63Mmcb8ox7hef4mtIHvs+aFXz+R m/e6U7ECUwQcWnSd/58BV1fStSK2oN1DIKStyJAVkhiexfcck/K9cciUr M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArAAAMQI8U6rRDoG/2dsb2JhbABDmzCQVYEFgXIBAQEDAQEBAQ8BHQoxAwsMBAIBCA4DBAEBCwYIDwEGASYfCQgBAQQBEggBGYdYCJh4AZ4viHSCNWMEiDefGQ
X-IronPort-AV: E=Sophos;i="4.71,384,1320624000"; d="scan'208";a="21777492"
Received: from mtv-core-1.cisco.com ([171.68.58.6]) by mtv-iport-3.cisco.com with ESMTP; 20 Dec 2011 22:17:37 +0000
Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by mtv-core-1.cisco.com (8.14.3/8.14.3) with ESMTP id pBKMHbHM030361; Tue, 20 Dec 2011 22:17:37 GMT
Received: from xmb-sjc-23e.amer.cisco.com ([128.107.191.15]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.4675);  Tue, 20 Dec 2011 14:17:36 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 20 Dec 2011 14:17:33 -0800
Message-ID: <EE0C2F9E065E634B84FC3BE36CF8A4B2086EB50C@xmb-sjc-23e.amer.cisco.com>
In-Reply-To: <10c1dacc5c5001fbaf130c3098f37dd8.squirrel@www.trepanning.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Cfrg] password-based key exchange
Thread-Index: Acy/X7M8gT00/SasSmuwbuoIFdk5ugABQuWg
References: <10c1dacc5c5001fbaf130c3098f37dd8.squirrel@www.trepanning.net>
From: "Scott Fluhrer (sfluhrer)" <sfluhrer@cisco.com>
To: "Dan Harkins" <dharkins@lounge.org>, <cfrg@irtf.org>
X-OriginalArrivalTime: 20 Dec 2011 22:17:36.0496 (UTC) FILETIME=[2D9FEF00:01CCBF65]
Cc: tls@ietf.org
Subject: Re: [Cfrg] password-based key exchange
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 20 Dec 2011 22:17:39 -0000

One minor comment (which might be totally obvious):

> -----Original Message-----
> From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf
Of
> Dan Harkins
> Sent: Tuesday, December 20, 2011 4:38 PM
> To: cfrg@irtf.org
> Cc: tls@ietf.org
> Subject: [Cfrg] password-based key exchange
>=20
>=20
>   Hello,
>=20
>   I proposed a new TLS ciphersuite using a zero knowledge proof at
> IETF 82 in Taipei. The draft is here:
>=20
>        http://tools.ietf.org/html/draft-harkins-tls-pwd-01
>=20
> At the TLS WG meeting I was requested to ask people on the CFRG list
> with expertise in this field to take a look at it. So here I am,
> asking.
> If someone has some spare cycles this holiday season, if you just
gotta
> get away from the relatives, or you are just feeling in the giving
> mood,
> please take a look and comment. Any analysis on this would be greatly
> appreciated. (I tried to do a formal proof but I cannot, and that's
> what's prompting this).
>=20
>   I can describe the key exchange broadly here. There are subtle
> differences in the draft-- like one side keeps a salted version of the
> password and communicates the salt during a HELLO message-- that don't
> affect the exchange. It is symmetric so I can describe it from one
> side's
> perspective. The side being described is "local" and the other side is
> "peer", it goes like this:
>=20
> Given: local ID, peer ID, password, an agreed-upon set of domain
> parameters defining a finite field group (it works will elliptic
> curve crypto too) and using two function:
>=20
>   - E =3D HashToElement(d) which takes some data, d, and hashes into
>     the finite field to return an element, E.
>   - x =3D H(y) returns a random stream, x, given some input, y.
>=20
> The key exchange works like this:
>=20
> 1. PE =3D HashToElement(local_ID | peer_ID | password)
>    gets a "password element"
>=20
>    There is an ordering defined in the draft to ensure that the IDs
>    are put in the same order on each side.
>=20
> 2. generate 2 random numbers between 0 and the order of the group, q:
>=20
>    0 < local_rand, local_mask < q
>=20
> 3. compute a scalar and an element:
>    local_scalar =3D (local_rand + local_mask) mod q
>    local_element =3D 1/(PE^local_mask) mod p
>=20
>    where p is the prime and q is the order. Send local_scalar and
>    local_element to other side
>=20
> 4. receive peer_scalar and peer_element from other side
>=20
> 5. compute shared key, K
>=20
>    K =3D (PE^peer_scalar * peer_element)^local_rand mod p =3D
>        (PE^(peer_rand + peer_mask) * PE^(-peer_mask))^local_rand mod p
> =3D
>        PE^(peer_rand*local_rand) mod p

You probably should have an explicit test and rejection for K =3D 1
('point at infinity' for EC groups)...

>=20
> 6. compute a confirmation
>=20
>    local_confirm =3D H(K, local_scalar | local_element |
>                      peer_scalar | peer_element)
>=20
>    send confirmation to peer
>=20
> 7. receive peer's confirmation, calculate verifier
>=20
>    verifier =3D H(K, peer_scalar | peer_element | local_scalar |
>                 local_element)
>=20
>    if verifier equals peer's confirmation the peer is authenticated.
>=20
> The peer does the same thing but from its perspective it is "local"
> and the side described above is "peer".
>=20
>   Thank you in advance for any analysis that can be provided on this
> exchange.
>=20
>   regards,
>=20
>   Dan.
>=20
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg

From dharkins@lounge.org  Tue Dec 20 14:56:53 2011
Return-Path: <dharkins@lounge.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D242C11E80A2 for <cfrg@ietfa.amsl.com>; Tue, 20 Dec 2011 14:56:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.398
X-Spam-Level: 
X-Spam-Status: No, score=-5.398 tagged_above=-999 required=5 tests=[AWL=0.867,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fILFNMbOIrbt for <cfrg@ietfa.amsl.com>; Tue, 20 Dec 2011 14:56:53 -0800 (PST)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id 7EEEC11E80AA for <cfrg@irtf.org>; Tue, 20 Dec 2011 14:56:53 -0800 (PST)
Received: from www.trepanning.net (localhost [127.0.0.1]) by colo.trepanning.net (Postfix) with ESMTP id 102B51022404A; Tue, 20 Dec 2011 14:56:53 -0800 (PST)
Received: from 216.31.249.246 (SquirrelMail authenticated user dharkins@lounge.org) by www.trepanning.net with HTTP; Tue, 20 Dec 2011 14:56:53 -0800 (PST)
Message-ID: <3a8ab8150ea9fbe33b19ccb27a97634a.squirrel@www.trepanning.net>
In-Reply-To: <20111220215232.GA23676@netbook.cypherspace.org>
References: <10c1dacc5c5001fbaf130c3098f37dd8.squirrel@www.trepanning.net> <20111220215232.GA23676@netbook.cypherspace.org>
Date: Tue, 20 Dec 2011 14:56:53 -0800 (PST)
From: "Dan Harkins" <dharkins@lounge.org>
To: "Adam Back" <adam@cypherspace.org>
User-Agent: SquirrelMail/1.4.14 [SVN]
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Cc: Adam Back <adam@cypherspace.org>, cfrg@irtf.org, tls@ietf.org
Subject: Re: [Cfrg] password-based key exchange
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 20 Dec 2011 22:56:53 -0000

  Hello,

On Tue, December 20, 2011 1:52 pm, Adam Back wrote:
> I noticed no reference to SRP nor TLS-SRP draft.  It seems this draft
> duplicates the functionality?  Note SRP can also operate in elliptic
> curves
> and SRP is specified in IEEE P1363 standard.

  Correct, there is no reference to TLS-SRP.

> There is no reference to the specific password authenticated key exchange
> that I saw.  Is it an existing one, or one that you designed?  I ask
> because
> its harder than it looks to design EKE / AKE related protocols and some of
> the early ones were broken, and others had their design security eroded.
> SRP has at least been published for quite some time.

  It's one I designed. It's been incorporated into 802.11 and will be part
of the forthcoming -2012 version of that standard. It is also an EAP
method (RFC 5931). The difficulty in designing these sorts of protocols
is acknowledged and is, in fact, the whole basis for this request.

  regards,

  Dan.


