
From nobody Mon Jun  1 22:37:30 2015
Return-Path: <crypto@brainhub.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8AC9D1A1AB4 for <cfrg@ietfa.amsl.com>; Mon,  1 Jun 2015 22:37:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.201
X-Spam-Level: 
X-Spam-Status: No, score=-1.201 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, 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 ZuPir8Ml6j9F for <cfrg@ietfa.amsl.com>; Mon,  1 Jun 2015 22:37:27 -0700 (PDT)
Received: from mail-ig0-f180.google.com (mail-ig0-f180.google.com [209.85.213.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1621F1A1AB1 for <cfrg@irtf.org>; Mon,  1 Jun 2015 22:37:26 -0700 (PDT)
Received: by igbyr2 with SMTP id yr2so79147696igb.0 for <cfrg@irtf.org>; Mon, 01 Jun 2015 22:37:26 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:message-id:date:from:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=rrwdNXgQ82ChXdKFgZE498rvq3EvaAh8SQ4un8+RuAM=; b=MJ/1vDk1Q1+93pKlE50mOkLTP3Ora8agWzSpGoDPO7zATrwp9Tj3WmHhF6V7vXFhU+ ubqyyvBvoJDCmybQ5AncMK8LwSiGstwW77bpm1M09AyPVUoIyBWSdkwRdEDwfj0pvghj dTT/utNckfAJ4TXfshgCWYE3tUNyEQkfsd8bdMnkGV2bo8xdApcGEqRdebbdbMa2jwJU pcysK3oIcAJrA70bbAIYfVsQj7w3bGhAZ4f3cLklU+Xsf5Yw8wtr9tgOHgiyoFrKHMRc REAdY9T0J0dRhJLPH0i8aiJRYVLLo+GsDudDr2GtKwqEEtX1FougfaURsBkeiOGLp2UY ITNA==
X-Gm-Message-State: ALoCoQne4kQ0jT1B+G+TzzeqR2xWxBJ+sU3PmC2b6L0ACMpTvpeAgYXXT0dCPV3XDU+zmFeOVMEi
X-Received: by 10.107.41.14 with SMTP id p14mr31048747iop.58.1433223446105; Mon, 01 Jun 2015 22:37:26 -0700 (PDT)
Received: from [10.10.7.53] ([206.169.237.4]) by mx.google.com with ESMTPSA id j5sm10229036ioo.8.2015.06.01.22.37.24 for <cfrg@irtf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Jun 2015 22:37:25 -0700 (PDT)
Sender: Andrey <andrey@brainhub.org>
Message-ID: <556D4112.7040208@brainhub.org>
Date: Mon, 01 Jun 2015 22:37:22 -0700
From: Andrey Jivsov <crypto@brainhub.org>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: cfrg@irtf.org
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com>	<5564CBEC.8070109@brainhub.org> <87siafxiyw.fsf@latte.josefsson.org>
In-Reply-To: <87siafxiyw.fsf@latte.josefsson.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/_MBSwZaeyzQwGkwwuAtIWTBx2qQ>
Subject: Re: [Cfrg] Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Jun 2015 05:37:29 -0000

On 5/29/2015 12:49 PM, Simon Josefsson wrote:
> Andrey Jivsov <crypto@brainhub.org> writes:
>
>> Major OpenPGP implementations use streaming mode to sign (e.g. in 'cat
>> InFile | gpg --clearsign'), just as with encryption, without writing
>> sensitive data to a temporary file. They depend on IUF. I haven't seen
>> this with SMIME/CMS -- this is harder, but possible.
> It is no problem to support streaming of inputs and at the same time
> support for example EdDSA which does not follow the IUF paradigm.  Don't
> confuse Unix stdin/stdout streaming with streaming of input to a digital
> signature algorithm.

Yes, but what cost "no problems" actually has in some cases?

Before: one could hash during streaming.
After: one extra re-hashing is needed, denying the benefit of hashing 
while streaming.

To fix this new demand of low-level crypto there needs to be an 
engineering fix at a higher level. In the case of OpenPGP applications 
this means the buffering of the entire input must happen, somehow.

If a user signs+encrypts a 1 TB file, he needs to have at least 2TB of 
disk space, one at the destination, and another at an 
implementation-specific location (e.g. /tmp directory, at destination, 
or $HOME). Besides user unfriendliness, such as slower performance and 
extra free space demands, one cannot really delete/wipe a sensitive file 
on an SSD drive, and the temporary file allows good possibility for 
signature fault attacks.


From nobody Tue Jun  2 04:10:11 2015
Return-Path: <prvs=35956c0fea=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 747961B2B15 for <cfrg@ietfa.amsl.com>; Tue,  2 Jun 2015 04:10:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.209
X-Spam-Level: 
X-Spam-Status: No, score=-4.209 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01, UNPARSEABLE_RELAY=0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ijD5NnT7Et9T for <cfrg@ietfa.amsl.com>; Tue,  2 Jun 2015 04:10:07 -0700 (PDT)
Received: from mx1.ll.mit.edu (MX1.LL.MIT.EDU [129.55.12.45]) by ietfa.amsl.com (Postfix) with ESMTP id 05BF31B2C6D for <cfrg@irtf.org>; Tue,  2 Jun 2015 04:10:06 -0700 (PDT)
Received: from LLE2K10-HUB01.mitll.ad.local (LLE2K10-HUB01.mitll.ad.local) by mx1.ll.mit.edu (unknown) with ESMTP id t52BA5ja016719 for <cfrg@irtf.org>; Tue, 2 Jun 2015 07:10:05 -0400
From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
To: "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
Thread-Index: AQHQk0OLFDSeE8K1SEulXt/pi1Nwa52O890AgAR26siABZ4lAIAAGeeF
Date: Tue, 2 Jun 2015 11:10:04 +0000
Message-ID: <65D2FD736B6B2B48B2EAD2BD189DC9CC271F7980@LLE2K10-MBX01.mitll.ad.local>
In-Reply-To: <556D4112.7040208@brainhub.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [155.34.14.22]
Content-Type: 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.14.151, 1.0.33,  0.0.0000 definitions=2015-06-02_11:2015-06-02,2015-06-02,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-1506020152
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/X7XpCbGe76Of3v34ydZxSyTC8ZU>
Subject: Re: [Cfrg] Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Jun 2015 11:10:09 -0000

100% agree with Andrey.=20


----- Original Message -----
From: Andrey Jivsov [mailto:crypto@brainhub.org]
Sent: Tuesday, June 02, 2015 01:37 AM=0A=
To: cfrg@irtf.org <cfrg@irtf.org>
Subject: Re: [Cfrg] Elliptic Curves - signature scheme: friendliness to low=
 memory implementations (ends on June 3rd)


On 5/29/2015 12:49 PM, Simon Josefsson wrote:
> Andrey Jivsov <crypto@brainhub.org> writes:
>
>> Major OpenPGP implementations use streaming mode to sign (e.g. in 'cat
>> InFile | gpg --clearsign'), just as with encryption, without writing
>> sensitive data to a temporary file. They depend on IUF. I haven't seen
>> this with SMIME/CMS -- this is harder, but possible.
> It is no problem to support streaming of inputs and at the same time
> support for example EdDSA which does not follow the IUF paradigm.  Don't
> confuse Unix stdin/stdout streaming with streaming of input to a digital
> signature algorithm.

Yes, but what cost "no problems" actually has in some cases?

Before: one could hash during streaming.
After: one extra re-hashing is needed, denying the benefit of hashing=20
while streaming.

To fix this new demand of low-level crypto there needs to be an=20
engineering fix at a higher level. In the case of OpenPGP applications=20
this means the buffering of the entire input must happen, somehow.

If a user signs+encrypts a 1 TB file, he needs to have at least 2TB of=20
disk space, one at the destination, and another at an=20
implementation-specific location (e.g. /tmp directory, at destination,=20
or $HOME). Besides user unfriendliness, such as slower performance and=20
extra free space demands, one cannot really delete/wipe a sensitive file=20
on an SSD drive, and the temporary file allows good possibility for=20
signature fault attacks.

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


From nobody Tue Jun  2 04:43:26 2015
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 1DBE91ACDC5 for <cfrg@ietfa.amsl.com>; Tue,  2 Jun 2015 04:43:25 -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 jGRu9jFZ2Esm for <cfrg@ietfa.amsl.com>; Tue,  2 Jun 2015 04:43:23 -0700 (PDT)
Received: from emh07.mail.saunalahti.fi (emh07.mail.saunalahti.fi [62.142.5.117]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0050A1ACD8A for <cfrg@irtf.org>; Tue,  2 Jun 2015 04:43:22 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh07.mail.saunalahti.fi (Postfix) with ESMTP id D09A04043; Tue,  2 Jun 2015 14:43:19 +0300 (EEST)
Date: Tue, 2 Jun 2015 14:43:19 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Andrey Jivsov <crypto@brainhub.org>
Message-ID: <20150602114319.GA15386@LK-Perkele-VII>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <5564CBEC.8070109@brainhub.org> <87siafxiyw.fsf@latte.josefsson.org> <556D4112.7040208@brainhub.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <556D4112.7040208@brainhub.org>
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/OEKvI3DpO1j4-8pU9ycx6oMfjfg>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Jun 2015 11:43:25 -0000

On Mon, Jun 01, 2015 at 10:37:22PM -0700, Andrey Jivsov wrote:
> 
> On 5/29/2015 12:49 PM, Simon Josefsson wrote:
> >Andrey Jivsov <crypto@brainhub.org> writes:
> >
> >>Major OpenPGP implementations use streaming mode to sign (e.g. in 'cat
> >>InFile | gpg --clearsign'), just as with encryption, without writing
> >>sensitive data to a temporary file. They depend on IUF. I haven't seen
> >>this with SMIME/CMS -- this is harder, but possible.
> >It is no problem to support streaming of inputs and at the same time
> >support for example EdDSA which does not follow the IUF paradigm.  Don't
> >confuse Unix stdin/stdout streaming with streaming of input to a digital
> >signature algorithm.
> 
> To fix this new demand of low-level crypto there needs to be an engineering
> fix at a higher level. In the case of OpenPGP applications this means the
> buffering of the entire input must happen, somehow.

All signature algorithms in OpenPGP sign message hash, not the message
itself. So streaming input works fine (assuming the hash function is
CR).


-Ilari
 


From nobody Tue Jun  2 19:18:11 2015
Return-Path: <msporny@digitalbazaar.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 832E31B32B7 for <cfrg@ietfa.amsl.com>; Tue,  2 Jun 2015 19:18:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.596
X-Spam-Level: ***
X-Spam-Status: No, score=3.596 tagged_above=-999 required=5 tests=[BAYES_50=0.8, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.793, 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 MxO2osbmHn8U for <cfrg@ietfa.amsl.com>; Tue,  2 Jun 2015 19:18:07 -0700 (PDT)
Received: from mail.digitalbazaar.com (unknown [216.252.204.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C6E5D1B29E2 for <cfrg@irtf.org>; Tue,  2 Jun 2015 19:18:07 -0700 (PDT)
Received: from [192.168.100.5] by mail.digitalbazaar.com with esmtp (Exim 4.84) (envelope-from <msporny@digitalbazaar.com>) id 1YzyFn-0001gR-VN for cfrg@irtf.org; Tue, 02 Jun 2015 22:18:05 -0400
Message-ID: <556E63DB.8090904@digitalbazaar.com>
Date: Tue, 02 Jun 2015 22:18:03 -0400
From: Manu Sporny <msporny@digitalbazaar.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.5.0
MIME-Version: 1.0
To: Crypto Forum Research Group <cfrg@irtf.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-SA-Exim-Connect-IP: 192.168.100.5
X-SA-Exim-Mail-From: msporny@digitalbazaar.com
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:57:07 +0000)
X-SA-Exim-Scanned: Yes (on mail.digitalbazaar.com)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/IOR3xSBOx3TvppVbIrZgDQ2nkyU>
Subject: [Cfrg] ZKP for proving ownership of a credential
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jun 2015 02:18:09 -0000

Hi all,

I'm currently involved in some work in a Community Group at W3C called
the Credentials CG as well as the Web Payments Interest Group at W3C. An
executive summary of what the Credentials CG is trying to do is here:

https://docs.google.com/document/d/1Nq543-Am1hQUIZ2hhzAFl8KexvIEBwDDc_f3Ikz1opQ/edit

We have a subset of credentials, like proof of citizenship ("this person
is a citizen of the United Kingdom") and proof of age ("this person is
above the age of 21"), that we believe could be asserted without leaking
information that could be used by colluding websites* to identify the
individual with the credential. We're trying to avoid having a single
identifier associated w/ these credentials that can be used to track
individuals between sites.

Clearly, at some point it's impossible to protect the privacy of the
individual or organization because information like a government issued
ID or name is shared in the credential. However, those are not the use
cases we're focused on with this particular question.

We have a hunch that perhaps some form of Zero Knowledge Proof could be
used with the credential, such that:

1. The issuer of the credential (a government) could issue a
   credential to a recipient (a citizen). The credential would
   contain an assertion (this person is a citizen of the United
   Kingdom). The credential would also contain a credential-specific
   ZKP algorithm and some public ZKP initialization vectors of some
   kind.
2. The recipient (the citizen) would separate out the /private/
   credential-specific ZKP algorithm and store it. The recipient
   would also store the /public/ credential with ZKP initialization
   vectors.
3. A verifier (3rd party website, like the BBC) would then request
   a credential proving UK citizenship. The recipient and verifier
   would then go through a number of ZKP iterations until the
   verifier was satisfied.

The end result is that the recipient has proven their citizenship while
the verifier has ensured that it checked this particular property of an
individual before delivering a service to them.

Unfortunately, we don't have any experts in ZKPs in the group and need
to have a chat with someone that is an expert. Preferably, someone that
knows if it is possible to construct a ZKP that could be used in this way.

If there is a more promising cryptographic approach than using a ZKP,
we'd love to hear about that as well. Any ideas?

-- manu

* The one big caveat to this is that a simple ask of an email address,
  browser fingerprinting, supercookies, defeats this mechanism.
  However, I believe our mandate in the future is going to be
  "don't make privacy worse on the Web".

-- 
Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: Web Payments: The Architect, the Sage, and the Moral Voice
https://manu.sporny.org/2015/payments-collaboration/


From nobody Tue Jun  2 19:33:52 2015
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 AEF4C1B2C09 for <cfrg@ietfa.amsl.com>; Tue,  2 Jun 2015 19:33:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.433
X-Spam-Level: 
X-Spam-Status: No, score=0.433 tagged_above=-999 required=5 tests=[BAYES_50=0.8, 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 qnPSDPl1YTEF for <cfrg@ietfa.amsl.com>; Tue,  2 Jun 2015 19:33:49 -0700 (PDT)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1721C1B2BE5 for <cfrg@irtf.org>; Tue,  2 Jun 2015 19:33:49 -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 t532XWOW024768; Tue, 2 Jun 2015 19:33:45 -0700
Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 1usqkvg58v-1 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Tue, 02 Jun 2015 19:33:45 -0700
Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Tue, 2 Jun 2015 19:33:43 -0700
Received: from SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6]) by SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6%24]) with mapi id 15.00.1044.021; Tue, 2 Jun 2015 19:33:43 -0700
From: Paul Lambert <paul@marvell.com>
To: Manu Sporny <msporny@digitalbazaar.com>, Crypto Forum Research Group <cfrg@irtf.org>
Thread-Topic: [Cfrg] ZKP for proving ownership of a credential
Thread-Index: AQHQnaONdbS/nROpr0ixPwGVlNXqzZ2aECGA
Date: Wed, 3 Jun 2015 02:33:43 +0000
Message-ID: <D193B311.6A3A7%paul@marvell.com>
References: <556E63DB.8090904@digitalbazaar.com>
In-Reply-To: <556E63DB.8090904@digitalbazaar.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.5.0.150423
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.94.250.30]
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <82CA56AA5A92714B8959F15B02FA8D86@marvell.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151, 1.0.33,  0.0.0000 definitions=2015-06-03_02:2015-06-02,2015-06-03,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-1506030034
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/3lQoBf2HvTdT_EVUBHbSqwcL5WA>
Subject: Re: [Cfrg] ZKP for proving ownership of a credential
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jun 2015 02:33:50 -0000

On 6/2/15, 7:18 PM, "Manu Sporny" <msporny@digitalbazaar.com> wrote:

>Hi all,
>
>I'm currently involved in some work in a Community Group at W3C called
>the Credentials CG as well as the Web Payments Interest Group at W3C. An
>executive summary of what the Credentials CG is trying to do is here:
>
>https://docs.google.com/document/d/1Nq543-Am1hQUIZ2hhzAFl8KexvIEBwDDc_f3Ik
>z1opQ/edit
>
>We have a subset of credentials, like proof of citizenship ("this person
>is a citizen of the United Kingdom") and proof of age ("this person is
>above the age of 21"), that we believe could be asserted without leaking
>information that could be used by colluding websites* to identify the
>individual with the credential. We're trying to avoid having a single
>identifier associated w/ these credentials that can be used to track
>individuals between sites.
>
>Clearly, at some point it's impossible to protect the privacy of the
>individual or organization because information like a government issued
>ID or name is shared in the credential. However, those are not the use
>cases we're focused on with this particular question.
>
>We have a hunch that perhaps some form of Zero Knowledge Proof could be
>used with the credential, such that:
>
>1. The issuer of the credential (a government) could issue a
>   credential to a recipient (a citizen). The credential would
>   contain an assertion (this person is a citizen of the United
>   Kingdom). The credential would also contain a credential-specific
>   ZKP algorithm and some public ZKP initialization vectors of some
>   kind.
>2. The recipient (the citizen) would separate out the /private/
>   credential-specific ZKP algorithm and store it. The recipient
>   would also store the /public/ credential with ZKP initialization
>   vectors.
>3. A verifier (3rd party website, like the BBC) would then request
>   a credential proving UK citizenship.
Unless the credential is different each time it is provided to a third
party the recipient is trackable.

This problem has been =8Csolved' to some degree by P1609.2 for automotive
applications. =20


Paul


>The recipient and verifier
>   would then go through a number of ZKP iterations until the
>   verifier was satisfied.
>
>The end result is that the recipient has proven their citizenship while
>the verifier has ensured that it checked this particular property of an
>individual before delivering a service to them.
>
>Unfortunately, we don't have any experts in ZKPs in the group and need
>to have a chat with someone that is an expert. Preferably, someone that
>knows if it is possible to construct a ZKP that could be used in this way.
>
>If there is a more promising cryptographic approach than using a ZKP,
>we'd love to hear about that as well. Any ideas?
>
>-- manu
>
>* The one big caveat to this is that a simple ask of an email address,
>  browser fingerprinting, supercookies, defeats this mechanism.
>  However, I believe our mandate in the future is going to be
>  "don't make privacy worse on the Web".
>
>--=20
>Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
>Founder/CEO - Digital Bazaar, Inc.
>blog: Web Payments: The Architect, the Sage, and the Moral Voice
>https://manu.sporny.org/2015/payments-collaboration/
>
>_______________________________________________
>Cfrg mailing list
>Cfrg@irtf.org
>http://www.irtf.org/mailman/listinfo/cfrg


From nobody Tue Jun  2 21:06:37 2015
Return-Path: <msporny@digitalbazaar.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CB1281B33C4 for <cfrg@ietfa.amsl.com>; Tue,  2 Jun 2015 21:06:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.596
X-Spam-Level: ***
X-Spam-Status: No, score=3.596 tagged_above=-999 required=5 tests=[BAYES_50=0.8, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.793, 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 3814zV3pCMWK for <cfrg@ietfa.amsl.com>; Tue,  2 Jun 2015 21:06:35 -0700 (PDT)
Received: from mail.digitalbazaar.com (unknown [216.252.204.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 75F201B33C0 for <cfrg@irtf.org>; Tue,  2 Jun 2015 21:06:35 -0700 (PDT)
Received: from [192.168.100.5] by mail.digitalbazaar.com with esmtp (Exim 4.84) (envelope-from <msporny@digitalbazaar.com>) id 1Yzzwl-0003ie-Vm; Wed, 03 Jun 2015 00:06:33 -0400
Message-ID: <556E7D47.8020403@digitalbazaar.com>
Date: Wed, 03 Jun 2015 00:06:31 -0400
From: Manu Sporny <msporny@digitalbazaar.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.5.0
MIME-Version: 1.0
To: Paul Lambert <paul@marvell.com>,  Crypto Forum Research Group <cfrg@irtf.org>
References: <556E63DB.8090904@digitalbazaar.com> <D193B311.6A3A7%paul@marvell.com>
In-Reply-To: <D193B311.6A3A7%paul@marvell.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
X-SA-Exim-Connect-IP: 192.168.100.5
X-SA-Exim-Mail-From: msporny@digitalbazaar.com
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:57:07 +0000)
X-SA-Exim-Scanned: Yes (on mail.digitalbazaar.com)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/nTvlg2-X6vj02CkiJVw9lFPOJEA>
Subject: Re: [Cfrg] ZKP for proving ownership of a credential
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jun 2015 04:06:37 -0000

On 06/02/2015 10:33 PM, Paul Lambert wrote:
> Unless the credential is different each time it is provided to a 
> third party the recipient is trackable.

Understood.

> This problem has been solved' to some degree by P1609.2 for 
> automotive applications.

Can you define "to some degree"? Any chance that you (or someone else)
has a pointer to the methods used in that IEEE spec wrt. protecting
privacy? I can shell out the $212 for the paper, but I'd like to know a
bit more about the content before I do. I did read the preview of the
paper, but couldn't get a handle on what sort of crypto they had settled
on to solve the problem.

-- manu

-- 
Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: Web Payments: The Architect, the Sage, and the Moral Voice
https://manu.sporny.org/2015/payments-collaboration/


From campbell@mumble.net  Tue Jun  2 21:20:07 2015
Return-Path: <campbell@mumble.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 33F2D1B344D for <cfrg@ietfa.amsl.com>; Tue,  2 Jun 2015 21:20:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level: 
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B8VfZniHCSaX for <cfrg@ietfa.amsl.com>; Tue,  2 Jun 2015 21:20:05 -0700 (PDT)
Received: from jupiter.mumble.net (jupiter.mumble.net [74.50.56.165]) by ietfa.amsl.com (Postfix) with ESMTP id 8A66E1B3457 for <cfrg@irtf.org>; Tue,  2 Jun 2015 21:19:44 -0700 (PDT)
Received: by jupiter.mumble.net (Postfix, from userid 1014) id 23CE960523; Wed,  3 Jun 2015 04:18:50 +0000 (UTC)
From: Taylor R Campbell <campbell+cfrg@mumble.net>
To: Alexey Melnikov <alexey.melnikov@isode.com>
In-reply-to: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> (alexey.melnikov@isode.com)
Date: Wed, 3 Jun 2015 04:19:43 +0000
Sender: Taylor R Campbell <campbell@mumble.net>
User-Agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/9.1.99
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Message-Id: <20150603041850.23CE960523@jupiter.mumble.net>
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/RQ6eC2fJ9rySGns-q7xwrGmfsMY>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jun 2015 04:26:50 -0000

   Date: Wed, 20 May 2015 22:16:16 +0100
   From: Alexey Melnikov <alexey.melnikov@isode.com>

   Chairs wish to poll the group on the following topic (please pick one):

   #1: The signature scheme should follow the traditional model of hashing
   the message to be signed, thus trivially supporting IUF APIs in
   constant-space, at the cost of requiring collision resistant hash
   functions.

   #2: The signature scheme should not depend on collision resistance, at t=
he
   cost of the signing algorithm having to buffer messages to be signed.

   #3: option #2, but with an additional "large message" mode defined for
   protocols that feel that they need it, where the message to be signed is
   actually a hash of the true message.

#2.  Let's not repeat the error of RSASSA-PSS's reliance on collision
resistance which led to certificate forgery in the real world with MD5
collisions[1], and let's discourage anyone from designing denial of
service against verifiers into new protocols.

Given a deterministic signature scheme S_k(m) built on a hash function
F_r(m) needing only target collision resistance, it is easy to imagine
a randomized long-message signature scheme satisfied either by
signing-time entropy or by collision resistance of F_r: for a secret
key k and message m, randomly generate r and yield as the signature
`F_r' || S_k(`F_r' || F_r(m)).  The reverse is not so easy.

But while this scheme may be useful to put band-aids over legacy
protocols, it encourages designing protocols that admit denial of
service for verifiers.  Practical protocols involving large messages
should split them into parts that can be verified independently.

The best way to split signed messages likely varies from application
to application: signing numbered parts individually in sequence or
computing a Merkle tree of the parts using F_r and then signing the
root[2] are both plausible.  But there's no need for recommendation of
the basic underlying signature scheme to wait on standardizing these.


[1] Bellare & Rogaway's original PSS proposal, in `The Exact Security
of Digital Signatures -- How to Sign with RSA and Rabin' from
Eurocrypt'96, would have avoided the problem by relying only on target
collision resistance of a keyed hash function.  But RSA, Inc. broke it
when standardizing RSASSA-PSS for PKCS#1 in 2003, by unkeying and
derandomizing the hash function.

[2] For example, Tahoe-LAFS uses a signed Merkle tree for random
access to mutable files.  However, rather than randomly choose F_r per
message, it uses the fixed hash m |---> SHA-256(SHA-256(m)), so it
relies on collision resistance of SHA-256.


From nobody Wed Jun  3 02:10:18 2015
Return-Path: <wwhyte@securityinnovation.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 51F4A1B36A9 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 02:10:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.379
X-Spam-Level: 
X-Spam-Status: No, score=-1.379 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, 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 SFKhVv_IAWtC for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 02:10:15 -0700 (PDT)
Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 465D61B36AD for <cfrg@irtf.org>; Wed,  3 Jun 2015 02:10:15 -0700 (PDT)
Received: by lbbuc2 with SMTP id uc2so2632255lbb.2 for <cfrg@irtf.org>; Wed, 03 Jun 2015 02:10:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=securityinnovation.com; s=google; h=from:references:in-reply-to:mime-version:thread-index:date :message-id:subject:to:content-type:content-transfer-encoding; bh=LmNyVhsxAkvCbysdF7AyD6vRF6uWbfCvVKZfBhKZ3+U=; b=YqOHUPmIhXhFUXJNgCSVKk65H8739TFseaH1kn8cNNWTfTmj4jTsQg3diIaSsFglZj s6veDPLS5CRCjGIbnmyXXjcbX2kqYBOKASRPDNawDW4JZlnmUIVD6qJcivob6T6eqWVY kvxA+wTUgAI/LBGgnBvz7+T4qT9UJ4XKWz18U=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:content-type :content-transfer-encoding; bh=LmNyVhsxAkvCbysdF7AyD6vRF6uWbfCvVKZfBhKZ3+U=; b=CzyM/KvJoC6y/8mGYSKNd8UFwj2wKvFCOwVkbVDu3ibITuHrbpbvIt85LbWOgx+h2P EM/zDJNVoDn2FZFp8OuSkISAtoDkjuFmS75rFYI9XHZemkVHFERoFLmdP1yAoCJ4C0Rx B6ShdRNiB8wqOR/6YY9Xd2wkV8AzPPojJk57/kYPkt0Dr9DUQ+M1LIGh3e6zUMIsNwBC GEHJQ8qFBUIN+M2uaUBgT5UxAPjTZ79wLhUUSn19YXTWdoBxtPmnWWSA9jv8qa9INcyc X6HrPNrmgaNU5qgM5baS15l4H7qXXiQpmG1LNBATogeMMJffLJXPeAUyezLuzIFJyJLi p8zw==
X-Gm-Message-State: ALoCoQl4Ij/0qVdxy792+4LEuMHuCFrRNX36EdzVJgoC8o2GMisEpyzkyOoMCL1MW1lf6rw4r/1K
X-Received: by 10.112.155.197 with SMTP id vy5mr30492307lbb.29.1433322613673;  Wed, 03 Jun 2015 02:10:13 -0700 (PDT)
From: William Whyte <wwhyte@securityinnovation.com>
References: <556E63DB.8090904@digitalbazaar.com> <D193B311.6A3A7%paul@marvell.com> <556E7D47.8020403@digitalbazaar.com>
In-Reply-To: <556E7D47.8020403@digitalbazaar.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQGVXzdtaV3GnbiUH1QUNADyKISsGgGSVKCsAcjxx+md9hqxsA==
Date: Wed, 3 Jun 2015 05:10:12 -0400
Message-ID: <fe8a532b8849e08f73799fdadbcc6e95@mail.gmail.com>
To: Manu Sporny <msporny@digitalbazaar.com>, Paul Lambert <paul@marvell.com>,  Crypto Forum Research Group <cfrg@irtf.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/VgBvykBBEvFpwHfk87b4_irYjlI>
Subject: Re: [Cfrg] ZKP for proving ownership of a credential
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jun 2015 09:10:17 -0000

HI Manu,

I'm editor of 1609.2, which is an IEEE standard specifying communications
security services in the Connected Vehicle setting.

There are two aspects to this, one of which is addressed inside 1609.2,
one of which is addressed by system choices.

On the proof of attributes: 1609.2 certs are inherently attribute certs
rather than identity certs, and a 1609.2 cert can be used to make a
statement about the holder's permissions using an identifier known as the
Provider Service ID (PSID) in the US or the ITS-AID in Europe. There isn't
currently a PSID for stating age or citizenship, but one could be
reserved. This would allow the holder to make an authenticated statement
about their properties without giving away their identity. (There may be
similar straightforward ways to use X.509, of course, I'm more familiar
with 1609.2).

On Paul's other point, "Unless the credential is different each time it is
provided to a third party the recipient is trackable": I wouldn't say that
1609.2 on its own solves this problem. The solution that is being proposed
in the Connected Vehicle space is for devices to have multiple certs
simultaneously valid for a period of (say) a week, which is a system spec
decision built on top of 1609.2. The current plan is that for applications
that require unlinkability, such as broadcast V2V safety messages, there
will be a minimum of 20 certs available to a device for any one-week
period. It's possible that devices with a higher physical security level
will be allowed to have more certs at a time.

There isn't any large-scale 1609.2 cert issuing infrastructure at the
moment, but when there is the expectation is that it will be designed to
accommodate issuing large numbers of throwaway certs. Cert holders have
"enrolment" certs, which are just used for cert requests, and
"authorization" certs, which are used for application activities; there
are systems in place to provide assurance that neither the RA (which sees
the enrolment cert) nor the CA (which issues the authorization certs) can
tell which authorization certs belong to the same set and therefore to the
same device. (This depends on there being a reasonable volume of cert
requests so the RA can "shuffle" together cert requests from different end
entities).

There's a description of those mechanisms in William Whyte, Andr=C3=A9
Weimerskirch, Virendra Kumar, and Thorsten Hehn, =E2=80=9CA Security Creden=
tial
Management System for V2V Communications=E2=80=9D, 2013 IEEE Vehicular Netw=
orking
Conference (VNC 2013), December 16-18, 2013, Boston, USA, which you can
get a copy of at
http://www.cvt-project.ir/Admin/Files/eventAttachments/A%20Security%20Cree
ntial%20Management%20System%20for%20V2V%20Communications%20-%20VNC%20Confe
rence%202013_514.pdf. Those mechanisms are being incorporated in the
current working draft of 1609.2, not yet complete. Copies of the draft are
available to participating working group members, and you can start
participating by subscribing to the list by mailing listserv@ieee.org with
body "subscribe stds-p1609".

This is an engineering solution to the problem, with choices driven by the
need to keep certificate and signature sizes as small as possible and to
enable revocation if absolutely necessary while preserving privacy for
unrevoked devices (including the revoked device before its revocation).
There are other approaches that have better privacy properties but don't
meet our constraints: for example, Chaum and Brand's anonymous
credentials, or mechanisms based on group signatures. If you don't have
our constraints, one of those approaches might fit your needs better.

Hope this is useful -- especially the last paragraph :-)

Cheers,

William






-----Original Message-----
From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Manu Sporny
Sent: Wednesday, June 03, 2015 12:07 AM
To: Paul Lambert; Crypto Forum Research Group
Subject: Re: [Cfrg] ZKP for proving ownership of a credential

On 06/02/2015 10:33 PM, Paul Lambert wrote:
> Unless the credential is different each time it is provided to a
> third party the recipient is trackable.

Understood.

> This problem has been =C5=92solved' to some degree by P1609.2 for
> automotive applications.

Can you define "to some degree"? Any chance that you (or someone else)
has a pointer to the methods used in that IEEE spec wrt. protecting
privacy? I can shell out the $212 for the paper, but I'd like to know a
bit more about the content before I do. I did read the preview of the
paper, but couldn't get a handle on what sort of crypto they had settled
on to solve the problem.

-- manu

--
Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: Web Payments: The Architect, the Sage, and the Moral Voice
https://manu.sporny.org/2015/payments-collaboration/

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


From nobody Wed Jun  3 02:13:11 2015
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 5141C1B36A9; Wed,  3 Jun 2015 02:13:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.912
X-Spam-Level: 
X-Spam-Status: No, score=-101.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ERGfdrOmvj8O; Wed,  3 Jun 2015 02:13:07 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [IPv6:2001:1900:3001:11::31]) by ietfa.amsl.com (Postfix) with ESMTP id 461821AD09B; Wed,  3 Jun 2015 02:13:07 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id 7057C180206; Wed,  3 Jun 2015 02:10:41 -0700 (PDT)
To: eijdenberg@google.com, ynir.ietf@gmail.com, agl@google.com
X-PHP-Originating-Script: 1005:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Message-Id: <20150603091041.7057C180206@rfc-editor.org>
Date: Wed,  3 Jun 2015 02:10:41 -0700 (PDT)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/wwA2guQLeFDaLCO7gQujbJPkupo>
Cc: rfc-editor@rfc-editor.org, cfrg@irtf.org, irtf-chair@irtf.org, irsg@irtf.org
Subject: [Cfrg] [Errata Verified] RFC7539 (4371)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jun 2015 09:13:09 -0000

The following errata report has been verified for RFC7539,
"ChaCha20 and Poly1305 for IETF Protocols". 

--------------------------------------
You may review the report below and at:
http://www.rfc-editor.org/errata_search.php?rfc=7539&eid=4371

--------------------------------------
Status: Verified
Type: Technical

Reported by: Adam Eijdenberg <eijdenberg@google.com>
Date Reported: 2015-05-21
Verified by: Lars Eggert (IRSG)

Section: 2.8.1

Original Text
-------------
         mac_data |= num_to_4_le_bytes(aad.length)
         mac_data |= num_to_4_le_bytes(ciphertext.length)


Corrected Text
--------------
         mac_data |= num_to_8_le_bytes(aad.length)
         mac_data |= num_to_8_le_bytes(ciphertext.length)


Notes
-----
Per section 2.8 the lengths should be 64-bit (8 bytes), not 4.

After this change the pseudo-code output matches the test vectors shown in 2.8.2.

--------------------------------------
RFC7539 (draft-irtf-cfrg-chacha20-poly1305-10)
--------------------------------------
Title               : ChaCha20 and Poly1305 for IETF Protocols
Publication Date    : May 2015
Author(s)           : Y. Nir, A. Langley
Category            : INFORMATIONAL
Source              : Crypto Forum Research Group
Area                : N/A
Stream              : IRTF
Verifying Party     : IRSG


From nobody Wed Jun  3 02:13:32 2015
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 82D641B36B5; Wed,  3 Jun 2015 02:13:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.912
X-Spam-Level: 
X-Spam-Status: No, score=-101.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f2phLMxjzqs7; Wed,  3 Jun 2015 02:13:29 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [IPv6:2001:1900:3001:11::31]) by ietfa.amsl.com (Postfix) with ESMTP id 4AB8F1AD09B; Wed,  3 Jun 2015 02:13:29 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id 7ADA6180206; Wed,  3 Jun 2015 02:11:03 -0700 (PDT)
To: eijdenberg@google.com, ynir.ietf@gmail.com, agl@google.com
X-PHP-Originating-Script: 1005:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Message-Id: <20150603091103.7ADA6180206@rfc-editor.org>
Date: Wed,  3 Jun 2015 02:11:03 -0700 (PDT)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/O39FRNXbCJzlH440aLWibu8ENDk>
Cc: rfc-editor@rfc-editor.org, cfrg@irtf.org, irtf-chair@irtf.org, irsg@irtf.org
Subject: [Cfrg] [Errata Held for Document Update] RFC7539 (4372)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jun 2015 09:13:30 -0000

The following errata report has been held for document update 
for RFC7539, "ChaCha20 and Poly1305 for IETF Protocols". 

--------------------------------------
You may review the report below and at:
http://www.rfc-editor.org/errata_search.php?rfc=7539&eid=4372

--------------------------------------
Status: Held for Document Update
Type: Technical

Reported by: Adam Eijdenberg <eijdenberg@google.com>
Date Reported: 2015-05-21
Held by: Lars Eggert (IRSG)

Section: 2.5.1

Original Text
-------------
accumulator = 0

Corrected Text
--------------
a = 0

Notes
-----
This variable goes by both "accumulator" and "a" in the pseudo-code.  Renaming this line allows the pseudo-code to pseudo-compile.

--------------------------------------
RFC7539 (draft-irtf-cfrg-chacha20-poly1305-10)
--------------------------------------
Title               : ChaCha20 and Poly1305 for IETF Protocols
Publication Date    : May 2015
Author(s)           : Y. Nir, A. Langley
Category            : INFORMATIONAL
Source              : Crypto Forum Research Group
Area                : N/A
Stream              : IRTF
Verifying Party     : IRSG


From nobody Wed Jun  3 02:13:53 2015
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 7E0531B36BD; Wed,  3 Jun 2015 02:13:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.912
X-Spam-Level: 
X-Spam-Status: No, score=-106.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X1MGZoFxwZC3; Wed,  3 Jun 2015 02:13:51 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) by ietfa.amsl.com (Postfix) with ESMTP id 27BBC1B36AC; Wed,  3 Jun 2015 02:13:51 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id 42D63180206; Wed,  3 Jun 2015 02:11:25 -0700 (PDT)
To: eijdenberg@google.com, ynir.ietf@gmail.com, agl@google.com
X-PHP-Originating-Script: 1005:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Message-Id: <20150603091125.42D63180206@rfc-editor.org>
Date: Wed,  3 Jun 2015 02:11:25 -0700 (PDT)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/w5JvALW1pjeW-ksZtFVvbsmUDUs>
Cc: rfc-editor@rfc-editor.org, cfrg@irtf.org, irtf-chair@irtf.org, irsg@irtf.org
Subject: [Cfrg] [Errata Held for Document Update] RFC7539 (4373)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jun 2015 09:13:52 -0000

The following errata report has been held for document update 
for RFC7539, "ChaCha20 and Poly1305 for IETF Protocols". 

--------------------------------------
You may review the report below and at:
http://www.rfc-editor.org/errata_search.php?rfc=7539&eid=4373

--------------------------------------
Status: Held for Document Update
Type: Technical

Reported by: Adam Eijdenberg <eijdenberg@google.com>
Date Reported: 2015-05-21
Held by: Lars Eggert (IRSG)

Section: 2.5.1

Original Text
-------------
s = le_num(key[16..31])

Corrected Text
--------------
s = le_bytes_to_num(key[16..31])

Notes
-----
Other usages in the same pseudo-code example call the function le_bytes_to_num to perform what appears to be the same task.

--------------------------------------
RFC7539 (draft-irtf-cfrg-chacha20-poly1305-10)
--------------------------------------
Title               : ChaCha20 and Poly1305 for IETF Protocols
Publication Date    : May 2015
Author(s)           : Y. Nir, A. Langley
Category            : INFORMATIONAL
Source              : Crypto Forum Research Group
Area                : N/A
Stream              : IRTF
Verifying Party     : IRSG


From nobody Wed Jun  3 02:39:39 2015
Return-Path: <bascule@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 969721A004A for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 02:39:37 -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 U9bvZxYIsKSW for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 02:39:35 -0700 (PDT)
Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B8AAE1A0027 for <cfrg@irtf.org>; Wed,  3 Jun 2015 02:39:35 -0700 (PDT)
Received: by obbea3 with SMTP id ea3so3331464obb.0 for <cfrg@irtf.org>; Wed, 03 Jun 2015 02:39: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:from:date:message-id:subject:to :cc:content-type; bh=xQfb1rqG4gPw7JU7GUoADAzqJBHtkHorPS/vgc7Kng8=; b=kh7OJlsMfwlG/gwPt4mUdHYkAIWcUKtDGZy8FR1EGAfB78JOLCPsuDC6a+x86woAGM /HTwF504n52WlikEI7FlF677A/mqLq52ghSTzv6Kli8CV6HOM+wgehyiMYx5xXHSP12m 0jjvyTa0zPrWK+XuUJQDQebbMgeJXN9PiKuUxT4JvVkj7GK2y0a5IP2bN+RutS76SvQ6 TyXQB7uArIQS1l+A8/S8YeRJ5bNzNYPihMLrboNwMTgnGMuR5O4Q4rC4pvE7TZVlqRnS K2owfgdAgvTPCkk+upgkDLZ6XZ8S8mWmDj3kurlgyIAmL4FrwG8SELwJ9ny+N24EbP8w axeQ==
X-Received: by 10.182.76.100 with SMTP id j4mr3225478obw.14.1433324375207; Wed, 03 Jun 2015 02:39:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.110.241 with HTTP; Wed, 3 Jun 2015 02:39:14 -0700 (PDT)
In-Reply-To: <556E63DB.8090904@digitalbazaar.com>
References: <556E63DB.8090904@digitalbazaar.com>
From: Tony Arcieri <bascule@gmail.com>
Date: Wed, 3 Jun 2015 02:39:14 -0700
Message-ID: <CAHOTMVLn8=KUVM9_OdiPrgw1SCi1XK4SFZwe6LmLvRomtTS2NA@mail.gmail.com>
To: Manu Sporny <msporny@digitalbazaar.com>
Content-Type: multipart/alternative; boundary=047d7b6729243b76ed051799d66a
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/w0HM8isxzxX7OKT8-bZDIcnbAMY>
Cc: Crypto Forum Research Group <cfrg@irtf.org>
Subject: Re: [Cfrg] ZKP for proving ownership of a credential
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jun 2015 09:39:37 -0000

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

On Tue, Jun 2, 2015 at 7:18 PM, Manu Sporny <msporny@digitalbazaar.com>
wrote:

> We have a subset of credentials, like proof of citizenship ("this person
> is a citizen of the United Kingdom") and proof of age ("this person is
> above the age of 21"), that we believe could be asserted without leaking
> information that could be used by colluding websites* to identify the
> individual with the credential.


Do you have more specific requirements than that? I know those are just
some contrived examples, but if those are really your only requirements,
the simple administrative solution in my mind is to simply only issue these
types of credentials to people who meet these criteria in the first place.
If you can solve the problem that way, I think you can use a simpler scheme
than a zero knowledge proof. I say this specifically because I don't think
getting any more fine-grained than citizenship and age is important to
solve this particular problem, and if that's the case, there are simpler
privacy-preserving systems that are easier to implement and reason about.

Here's a scheme I think fits into this general problem space and doesn't
require a zero knowledge proof. I should probably mention one of the chairs
name is on the paper:

https://eprint.iacr.org/2006/080.pdf

I'm not sure this is particularly well suited to your proposed problem, but
I'm wondering if your proposed problem could be simplified in such a way
that it would fit.

-- 
Tony Arcieri

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On T=
ue, Jun 2, 2015 at 7:18 PM, Manu Sporny <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:msporny@digitalbazaar.com" target=3D"_blank" onclick=3D"window.open(&#=
39;https://mail.google.com/mail/?view=3Dcm&amp;tf=3D1&amp;to=3Dmsporny@digi=
talbazaar.com&amp;cc=3D&amp;bcc=3D&amp;su=3D&amp;body=3D&#39;,&#39;_blank&#=
39;);return false;">msporny@digitalbazaar.com</a>&gt;</span> wrote:<br><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;paddi=
ng-left:1ex">We have a subset of credentials, like proof of citizenship (&q=
uot;this person<br>
is a citizen of the United Kingdom&quot;) and proof of age (&quot;this pers=
on is<br>
above the age of 21&quot;), that we believe could be asserted without leaki=
ng<br>
information that could be used by colluding websites* to identify the<br>
individual with the credential.</blockquote><div><br></div><div>Do you have=
 more specific requirements than that? I know those are just some contrived=
 examples, but if those are really your only requirements, the simple admin=
istrative solution in my mind is to simply only issue these types of creden=
tials to people who meet these criteria in the first place. If you can solv=
e the problem that way, I think you can use a simpler scheme than a zero kn=
owledge proof. I say this specifically because I don&#39;t think getting an=
y more fine-grained than citizenship and age is important to solve this par=
ticular problem, and if that&#39;s the case, there are simpler privacy-pres=
erving systems that are easier to implement and reason about.</div><div><br=
></div><div>Here&#39;s a scheme I think fits into this general problem spac=
e and doesn&#39;t require a zero knowledge proof. I should probably mention=
 one of the chairs name is on the paper:</div><div><br></div><div><a href=
=3D"https://eprint.iacr.org/2006/080.pdf">https://eprint.iacr.org/2006/080.=
pdf</a><br></div></div><div><br></div><div>I&#39;m not sure this is particu=
larly well suited to your proposed problem, but I&#39;m wondering if your p=
roposed problem could be simplified in such a way that it would fit.</div><=
div><br></div>-- <br><div class=3D"gmail_signature">Tony Arcieri<br></div>
</div></div>

--047d7b6729243b76ed051799d66a--


From nobody Wed Jun  3 04:12:19 2015
Return-Path: <alec.m.edgington@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 BEF961A1B23 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 04:12:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.1
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JP1yvVXjWNrV for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 04:12:17 -0700 (PDT)
Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C86481A1B20 for <cfrg@irtf.org>; Wed,  3 Jun 2015 04:12:16 -0700 (PDT)
Received: by wifw1 with SMTP id w1so17556694wif.0 for <cfrg@irtf.org>; Wed, 03 Jun 2015 04:12:15 -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=4GG718bz4HmI9Nzn65bViCaVKIOfwbYuXXwH0dgk2R8=; b=ZgCxebG+gpjW3hxd6qqj7dqBR0ZtRZfaL0XLjUanzgCP4pRD4N27W5iAwKGc4cWTg8 59WpjGt8ffYgH+Dd+pBoYycjXKaPxTuF3wUnR3dPWWnK30kq781Joageq1jR8kNUvWni SvELjXq5ulesDnuH0d4uF2v7QP4O3Y0io6ZxjX7GBQvrxAtSBtY0eC/hPbw7AHFhYHCr LU5ay/1ueXIaOuUumfxUsaEmDpVYqcN/Y/1DA0kUDk5O8e+R6ObATfTKT65Gzw5PJ58b 9XaiYXGvFLgEyHkW+vxa5o7tWsFzNbPuFV1+4IckrXYjosIdfbrnw/75ZUhNhZPklcyh iGlQ==
MIME-Version: 1.0
X-Received: by 10.180.76.228 with SMTP id n4mr39779770wiw.44.1433329935486; Wed, 03 Jun 2015 04:12:15 -0700 (PDT)
Received: by 10.194.221.74 with HTTP; Wed, 3 Jun 2015 04:12:15 -0700 (PDT)
In-Reply-To: <556E63DB.8090904@digitalbazaar.com>
References: <556E63DB.8090904@digitalbazaar.com>
Date: Wed, 3 Jun 2015 12:12:15 +0100
Message-ID: <CAEZx50WSrN_+NM5Mmp1NF2-nHy_+syzT9mN9g6jGbrzajqRLcQ@mail.gmail.com>
From: Alec Edgington <alec.m.edgington@gmail.com>
To: Manu Sporny <msporny@digitalbazaar.com>
Content-Type: multipart/alternative; boundary=f46d043c7b0ca6937d05179b2114
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/Awf9vaKMInrIMmjAEfCM6PKLsCw>
Cc: Crypto Forum Research Group <cfrg@irtf.org>
Subject: Re: [Cfrg] ZKP for proving ownership of a credential
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jun 2015 11:12:18 -0000

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

It sounds as if you may be after 'direct anonymous attestation' (DAA).
There are a number of protocols for this, the earlier ones based on RSA
(rather cumbersome), and the more modern ones (a.k.a. ECDAA) based on EC
pairings. Primitives to support these protocols are being introduced in the
TPM 2.0 standard, for example (though without specifying a specific
protocol). See for example http://eprint.iacr.org/2011/658.pdf for a
discussion of the security properties (and a suggested protocol).

The general idea is that the 'issuer' has a private and a public key; each
entity generates a secret key; there is an enrolment protocol where the
issuer and entity use their keys to generate a credential; later the entity
can use its secret key and the credential to sign an (anonymous)
attestation, which can be verified by the third party using the issuer's
public key. Controlled linkability of credentials is also possible.

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

<div dir=3D"ltr"><div>It sounds as if you may be after &#39;direct anonymou=
s attestation&#39; (DAA). There are a number of protocols for this, the ear=
lier ones based on RSA (rather cumbersome), and the more modern ones (a.k.a=
. ECDAA) based on EC pairings. Primitives to support these protocols are be=
ing introduced in the TPM 2.0 standard, for example (though without specify=
ing a specific protocol). See for example <a href=3D"http://eprint.iacr.org=
/2011/658.pdf">http://eprint.iacr.org/2011/658.pdf</a> for a discussion of =
the security properties (and a suggested protocol).<br><br></div><div>The g=
eneral idea is that the &#39;issuer&#39; has a private and a public key; ea=
ch entity generates a secret key; there is an enrolment protocol where the =
issuer and entity use their keys to generate a credential; later the entity=
 can use its secret key and the credential to sign an (anonymous) attestati=
on, which can be verified by the third party using the issuer&#39;s public =
key. Controlled linkability of credentials is also possible.<br></div></div=
>

--f46d043c7b0ca6937d05179b2114--


From nobody Wed Jun  3 05:23:20 2015
Return-Path: <prvs=3596a40d23=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 85AD91A86E4 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 05:23:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.209
X-Spam-Level: 
X-Spam-Status: No, score=-4.209 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01, UNPARSEABLE_RELAY=0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qlHBWaaTvy8W for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 05:23:10 -0700 (PDT)
Received: from mx1.ll.mit.edu (MX1.LL.MIT.EDU [129.55.12.45]) by ietfa.amsl.com (Postfix) with ESMTP id 57EFD1A8032 for <cfrg@irtf.org>; Wed,  3 Jun 2015 05:23:10 -0700 (PDT)
Received: from LLE2K10-HUB01.mitll.ad.local (LLE2K10-HUB01.mitll.ad.local) by mx1.ll.mit.edu (unknown) with ESMTP id t53CN7oQ013032; Wed, 3 Jun 2015 08:23:07 -0400
From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
To: "'alexey.melnikov@isode.com'" <alexey.melnikov@isode.com>
Thread-Topic: [Cfrg] Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
Thread-Index: AQHQnbSEFDSeE8K1SEulXt/pi1Nwa52atK7v
Date: Wed, 3 Jun 2015 12:23:07 +0000
Message-ID: <65D2FD736B6B2B48B2EAD2BD189DC9CC271FB0A3@LLE2K10-MBX01.mitll.ad.local>
In-Reply-To: <20150603041850.23CE960523@jupiter.mumble.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [155.34.14.22]
Content-Type: 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.14.151, 1.0.33,  0.0.0000 definitions=2015-06-03_05:2015-06-03,2015-06-03,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1506030151
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/6PjOA54KLfrwH2sB5m0a7ka7Hhc>
Cc: "'cfrg@irtf.org'" <cfrg@irtf.org>
Subject: Re: [Cfrg] Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jun 2015 12:23:19 -0000

#1.


----- Original Message -----
From: Taylor R Campbell [mailto:campbell+cfrg@mumble.net]
Sent: Wednesday, June 03, 2015 12:19 AM=0A=
To: Alexey Melnikov <alexey.melnikov@isode.com>
Cc: cfrg@irtf.org <cfrg@irtf.org>
Subject: Re: [Cfrg] Elliptic Curves - signature scheme: friendliness to low=
 memory implementations (ends on June 3rd)

   Date: Wed, 20 May 2015 22:16:16 +0100
   From: Alexey Melnikov <alexey.melnikov@isode.com>

   Chairs wish to poll the group on the following topic (please pick one):

   #1: The signature scheme should follow the traditional model of hashing
   the message to be signed, thus trivially supporting IUF APIs in
   constant-space, at the cost of requiring collision resistant hash
   functions.

   #2: The signature scheme should not depend on collision resistance, at t=
he
   cost of the signing algorithm having to buffer messages to be signed.

   #3: option #2, but with an additional "large message" mode defined for
   protocols that feel that they need it, where the message to be signed is
   actually a hash of the true message.

#2.  Let's not repeat the error of RSASSA-PSS's reliance on collision
resistance which led to certificate forgery in the real world with MD5
collisions[1], and let's discourage anyone from designing denial of
service against verifiers into new protocols.

Given a deterministic signature scheme S_k(m) built on a hash function
F_r(m) needing only target collision resistance, it is easy to imagine
a randomized long-message signature scheme satisfied either by
signing-time entropy or by collision resistance of F_r: for a secret
key k and message m, randomly generate r and yield as the signature
`F_r' || S_k(`F_r' || F_r(m)).  The reverse is not so easy.

But while this scheme may be useful to put band-aids over legacy
protocols, it encourages designing protocols that admit denial of
service for verifiers.  Practical protocols involving large messages
should split them into parts that can be verified independently.

The best way to split signed messages likely varies from application
to application: signing numbered parts individually in sequence or
computing a Merkle tree of the parts using F_r and then signing the
root[2] are both plausible.  But there's no need for recommendation of
the basic underlying signature scheme to wait on standardizing these.


[1] Bellare & Rogaway's original PSS proposal, in `The Exact Security
of Digital Signatures -- How to Sign with RSA and Rabin' from
Eurocrypt'96, would have avoided the problem by relying only on target
collision resistance of a keyed hash function.  But RSA, Inc. broke it
when standardizing RSASSA-PSS for PKCS#1 in 2003, by unkeying and
derandomizing the hash function.

[2] For example, Tahoe-LAFS uses a signed Merkle tree for random
access to mutable files.  However, rather than randomly choose F_r per
message, it uses the fixed hash m |---> SHA-256(SHA-256(m)), so it
relies on collision resistance of SHA-256.

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


From nobody Wed Jun  3 14:15:21 2015
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 98D301B2F36 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 14:15:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.6
X-Spam-Level: 
X-Spam-Status: No, score=-0.6 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MxoYeIggejBW for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 14:15:17 -0700 (PDT)
Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 976731B2F2F for <cfrg@irtf.org>; Wed,  3 Jun 2015 14:15:17 -0700 (PDT)
Received: by igbsb11 with SMTP id sb11so25126309igb.0 for <cfrg@irtf.org>; Wed, 03 Jun 2015 14:15:17 -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:content-transfer-encoding; bh=X+gPqyD0TLqMYbHQOCIcHVYh+JBeH7q+o5dgit1lEgM=; b=c3f+5TU6F3CVwH27H8yNRj4gUQoVn1m19hT9UWqPU/xcv0DRmdxwgWxperJw1Ce+1H qzgGkcNuLDOzk0ILbauuzC/94eGJJijVaa6+QQ03Vnp2pD6Tz6W8egOUY+NMQ6AFsxGz w0VLIZXZ3vopiKn4p7iX0pq1/sZwfg83pOJHCZyyPGKRxjUYNlNAOG0NAcc/Q/Bdjr6J ilDF6fbq0osJx+c8+ykSbXzCuBtzZ9LElp9NsfGWzcBn1zKL1UEAThWklwdMkZOCfEeR WR2KtWGYXn3sWNy9iGbPV4E2ERljt5/L+Iu/m1QdyXSMlAoQVNpo1X96xRLOuMzpUJJ7 3ggw==
X-Received: by 10.50.43.131 with SMTP id w3mr948184igl.8.1433366116999; Wed, 03 Jun 2015 14:15:16 -0700 (PDT)
Received: from [192.168.0.14] (CPE7cb21b2cb904-CM7cb21b2cb901.cpe.net.cable.rogers.com. [99.231.49.38]) by mx.google.com with ESMTPSA id f15sm15503699iof.36.2015.06.03.14.15.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jun 2015 14:15:16 -0700 (PDT)
Message-ID: <556F6E51.7060607@gmail.com>
Date: Wed, 03 Jun 2015 17:14:57 -0400
From: Rene Struik <rstruik.ext@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>,  "cfrg@irtf.org" <cfrg@irtf.org>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com>
In-Reply-To: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/nbvSKpMC3x-l4V4jYsnwoqJyPp0>
Subject: Re: [Cfrg] Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jun 2015 21:15:19 -0000

Dear colleagues:

I still do not understand some of the statements below. Please see 
inline (RS>>, <<RS).

I think having to buffer messages, as with some deterministic Schnorr 
scheme variants, would be highly undesirable. So, based on this I should 
vote against #2. However, I am not sure whether that statement, 
including logical implications, is correct. Similarly, if I wanted 
constant-size I/Os, as #1 seems to suggest, would I then always be stuck 
with requiring collision resistance? Or, do I just not understand what 
is meant with "buffering", and IUF "pattern" in the email poll below?

Best regards, Rene

On 5/20/2015 5:16 PM, Alexey Melnikov wrote:
> Signature schemes have, traditionally, hashed the message to be signed to
> a representative value and then actually signed that value. This has led
> to APIs that follow the Init, Update*, Final (IUF) pattern that allows for
> fragmented or very large messages to be signed with constant memory usage.
>
> Alternatively, some signature schemes hash the message to be signed twice,
> where a prefix of the second hash depends on the result of the first.
> Ed25519 is an example of a scheme of this type. This typically allows the
> signature scheme to require fewer assumptions about the strength of the
> hash function that is employed. However, this approach implies that the signing
> algorithm would have to buffer the entire message. That could lead to
> unacceptable memory usage for applications that sign very large messages.
RS>> Isn't the double signing merely an artifact of running the Schnorr 
signature scheme in a mode where the ephemeral private key is 
deterministically derived from message and private info?
I don't see how this would apply with the original Schnorr scheme, since 
there one simply has s:= k - e d (mod n), where e=h(m,R), where R:=kG, 
where n size of prime-order subgroup, and where k is randomly picked. 
Only with deterministic versions, such as EdDSA, does one also have 
k=f(m,d), for some suitably chosen function f. So, buffering concerns 
only seem at play with deterministic signature schemes. Or, am I missing 
something here?
<<RS
>
> Penalising large messages might be seen as a positive by some because
> signing arbitrarily large messages invites implementations to process
> unauthenticated data because of its potential size.
RS>> I do not understand this, since with non-deterministic schemes one 
does not seem to have this buffering issue on the signing side. For 
verification, obviously one needs to do some computations that depends 
on the entire data-to-be-signed into account, so one can only really 
release this data after positive result of the consistency check 
{whether or not one uses a deterministic or non-deterministic signature 
scheme}.
<<RS
> Also, designs that
> really wish to do this can always define that the message to be signed is
> actually a hash of the data. In doing so they would reintroduce the
> requirement that the hash function be collision resistant, but can
> implement an IUF API in constant space again.
>
> On the other hand, if we wish a signature primitive to be easy to
> substitute into existing protocols then supporting a constant-space IUF
> API might be seen as a requirement.
RS>>
The question seems to be whether requiring constant-space IUF would rule 
out particular solution directions. For non-deterministic Schnorr, where 
k is obtained from an independent RNG source, couldn't one simply 
compute e:=H(m,R) in a streaming fashion, assuming one has a pair (k, 
R:=kG) available?
<<RS

> RS>> Not sure whether the implicit assumptions underlying these choices.
<<RS

>
> Chairs wish to poll the group on the following topic (please pick one):
>
> #1: The signature scheme should follow the traditional model of hashing
> the message to be signed, thus trivially supporting IUF APIs in
> constant-space, at the cost of requiring collision resistant hash
> functions.
RS>> Not sure whether this statement is universally correct.
<<RS
>
> #2: The signature scheme should not depend on collision resistance, at the
> cost of the signing algorithm having to buffer messages to be signed.
RS>> As suggested before, non-deterministic Schnorr seems to fall into 
this category, while not requiring buffering. Again, if I need stronger 
coffee, please let me know.
<<RS
>
> #3: option #2, but with an additional "large message" mode defined for
> protocols that feel that they need it, where the message to be signed is
> actually a hash of the true message.
>
> _______________________________________________
> 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


From nobody Wed Jun  3 15:47:39 2015
Return-Path: <campbell@mumble.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0B2181B3002 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 15:47:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level: 
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NjlZkbJ-bslB for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 15:47:35 -0700 (PDT)
Received: from jupiter.mumble.net (jupiter.mumble.net [74.50.56.165]) by ietfa.amsl.com (Postfix) with ESMTP id B96711B3003 for <cfrg@irtf.org>; Wed,  3 Jun 2015 15:47:35 -0700 (PDT)
Received: by jupiter.mumble.net (Postfix, from userid 1014) id AF2A460567; Wed,  3 Jun 2015 22:46:40 +0000 (UTC)
From: Taylor R Campbell <campbell+cfrg@mumble.net>
To: Rene Struik <rstruik.ext@gmail.com>
In-reply-to: <556F6E51.7060607@gmail.com> (rstruik.ext@gmail.com)
Date: Wed, 3 Jun 2015 22:47:34 +0000
Sender: Taylor R Campbell <campbell@mumble.net>
User-Agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/9.1.99
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Message-Id: <20150603224640.AF2A460567@jupiter.mumble.net>
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/aS6ZgJ7uRHiTY6jJTKaxgn982hs>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jun 2015 22:47:38 -0000

   Date: Wed, 03 Jun 2015 17:14:57 -0400
   From: Rene Struik <rstruik.ext@gmail.com>

   Isn't the double signing merely an artifact of running the Schnorr=20
   signature scheme in a mode where the ephemeral private key is=20
   deterministically derived from message and private info?
   I don't see how this would apply with the original Schnorr scheme, since=
=20
   there one simply has s:=3D k - e d (mod n), where e=3Dh(m,R), where R:=
=3DkG,=20
   where n size of prime-order subgroup, and where k is randomly picked.=20

Requiring signers to have a source of entropy at signing time to
randomly choose a distinct k for each signature has historically been
a source of high-profile cryptography disasters[1][2].

The NIST was warned about this in 1991 when standardizing the DSA, and
ignored the warning[3], claiming that entropy at signing time is no
more likely to be bad than entropy at key generation time.  Debian
showed them wrong.

There are three security concerns in Alexey's poll and your question:

(a) secret key recovery if k is reused or even slightly predictable,

(b) signature forgery if the attacker can find collisions in the hash
function, and

(c) denial of service or processing of unauthenticated data if a
protocol requires the verifier to consume arbitrarily large messages
before verifying the signature.

Randomized DSA- or Schnorr-type schemes that use an entropy source at
signing time are vulnerable to (a).  You can defend against this (and
EdDSA does) by hashing the secret key together with the message to
derive k deterministically: the secret key is unpredictable to the
attacker, so standard PRF assumptions imply k is unpredictable too.
(Bonus: easy test vectors for the real signing code.)

Schemes defined in terms of H(m) for a fixed H are vulnerable to (b).
You can defend against this (and EdDSA does) by using a keyed hash
H_k(m) and relying only on target collision resistance instead of
collision resistance.

You could defend against both (a) and (b) by hashing the message under
a different key, say h, and signing H_h(m) -- that is, choose h
randomly, compute H_h(m), and derive k from the secret key and H_h(m)
to sign the message h || H_h(m).  But this leaves (c).

Protocols designed under the assumption of streaming I/U/F are likely
to be vulnerable to (c).  You can defend against this (and EdDSA does)
by encouraging protocol designers to sign and verify short messages
rather than long ones, and to split long messages into independently
verifiable parts, e.g. by signing each part separately or signing the
root of a Merkle tree of parts.


[1] Debian broke OpenSSL's PRNG seeding so that it had only 2^15
possible seeds, enabling recovery of (EC)DSA secret keys used on
affected systems with predictable k even if the secret key was
otherwise secure.  https://wiki.debian.org/SSLkeys

[2] Sony reused k verbatim for PlayStation 3 firmware updates signed
with ECDSA, enabling recovery of the firmware signing key.

fail0verflow, `Console Hacking 2010: PS3 Epic Fail', 27c3, 2010.
http://events.ccc.de/congress/2010/Fahrplan/attachments/1780_27c3_console_h=
acking_2010.pdf

[3] Miles E. Smid and Dennis K. Branstad (NIST), `Response to Comments
on the NIST Proposed Digital Signature Standard', CRYPTO'92, LNCS 740,
pp. 76--88, Springer, 1993.  (See Sec. 4.9 about k.)


From nobody Wed Jun  3 16:04:56 2015
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D814C1B304B for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 16:04:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level: 
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cd2OgRMhCxxk for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 16:04:53 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C53961B303E for <cfrg@irtf.org>; Wed,  3 Jun 2015 16:04:52 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 8C802BF0B; Thu,  4 Jun 2015 00:04:51 +0100 (IST)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2mDdVNhtlxVX; Thu,  4 Jun 2015 00:04:49 +0100 (IST)
Received: from [10.87.48.73] (unknown [86.46.31.250]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id C8149BF08; Thu,  4 Jun 2015 00:04:49 +0100 (IST)
Message-ID: <556F8811.2070101@cs.tcd.ie>
Date: Thu, 04 Jun 2015 00:04:49 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>,  "cfrg@irtf.org" <cfrg@irtf.org>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com>
In-Reply-To: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com>
OpenPGP: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/CisittTkgM1S6AvahNmWr-_-Tw8>
Subject: Re: [Cfrg] Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jun 2015 23:04:55 -0000

I'd hate to miss one of Alexey's polls:-)

I'm almost neutral on this one. While we have historically preferred
#1 for the reason noted in the subject line, there are really very few
cases where that turns out to be a real issue, as opposed to being a
theoretical one.

So I think we could probably live with #2, and that could suffice for
TLS and DNSSEC and other applications, even though #2 would mean
that users of the signature scheme (e.g. IETF protocol developers) may
need to learn something new, which is a downside.

While #3 seems superficially attractive, my guess is it'd cause more
confusion and interop issues, and is of course offering a choice to
users of the scheme and so I don't like that one:-)

So put me down for (#2 or #1) for this one, with a very very tiny
preference for #2 and documenting that one ought not use this for
signing large things directly (which one probably ought not do in any
case). But #1 would also be an acceptable outcome from my POV since
we're in practice already dependent on the collision resistance of
all the relevant hash functions and that won't ever really go away
as long as there are RSA/SHA256 certificates out there which'll be
the case for years and maybe decades to come. So the security
benefit of #2 isn't so great, although it's real.

If, later on, there is a real need for signing a large thing in a very
memory constrained device, or for verifying such a signature in such a
device, then we could always just define another set of codepoints
and OIDs, etc. for that and treat it as just another signature scheme
that happens to involve the same curve and hash function but used in a
different manner. (And I would guess there'll be more work to do in
this space, if not for that, then for a signature scheme with message
recovery, probably for the just-forming cose wg would be my bet at
the moment, but we'll see what we see.)

Cheers,
S.

On 20/05/15 22:16, Alexey Melnikov wrote:
> Signature schemes have, traditionally, hashed the message to be signed to
> a representative value and then actually signed that value. This has led
> to APIs that follow the Init, Update*, Final (IUF) pattern that allows for
> fragmented or very large messages to be signed with constant memory usage.
> 
> Alternatively, some signature schemes hash the message to be signed twice,
> where a prefix of the second hash depends on the result of the first.
> Ed25519 is an example of a scheme of this type. This typically allows the
> signature scheme to require fewer assumptions about the strength of the
> hash function that is employed. However, this approach implies that the signing
> algorithm would have to buffer the entire message. That could lead to
> unacceptable memory usage for applications that sign very large messages.
> 
> Penalising large messages might be seen as a positive by some because
> signing arbitrarily large messages invites implementations to process
> unauthenticated data because of its potential size. Also, designs that
> really wish to do this can always define that the message to be signed is
> actually a hash of the data. In doing so they would reintroduce the
> requirement that the hash function be collision resistant, but can
> implement an IUF API in constant space again.
> 
> On the other hand, if we wish a signature primitive to be easy to
> substitute into existing protocols then supporting a constant-space IUF
> API might be seen as a requirement.
> 
> Chairs wish to poll the group on the following topic (please pick one):
> 
> #1: The signature scheme should follow the traditional model of hashing
> the message to be signed, thus trivially supporting IUF APIs in
> constant-space, at the cost of requiring collision resistant hash
> functions.
> 
> #2: The signature scheme should not depend on collision resistance, at the
> cost of the signing algorithm having to buffer messages to be signed.
> 
> #3: option #2, but with an additional "large message" mode defined for
> protocols that feel that they need it, where the message to be signed is
> actually a hash of the true message.
> 
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
> 


From nobody Wed Jun  3 16:28:19 2015
Return-Path: <bascule@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BE2E81B2AE7 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 16:28:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.1
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZwhN5S6Zl99Z for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 16:28:17 -0700 (PDT)
Received: from mail-ob0-x230.google.com (mail-ob0-x230.google.com [IPv6:2607:f8b0:4003:c01::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 590621ACCD9 for <cfrg@irtf.org>; Wed,  3 Jun 2015 16:28:17 -0700 (PDT)
Received: by obbqz1 with SMTP id qz1so2137856obb.3 for <cfrg@irtf.org>; Wed, 03 Jun 2015 16:28:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:from:date:message-id:subject:to:content-type; bh=CfbUX9ZQRMnv/GqY2v3X9CQZ/DBkj5jSQgiwi7uqAu8=; b=vARp0CZAPRPHuiIPnktcMsmsVEpWP/osoDw5UlGN1E+wVj/Qhq5bN+FEl/lxesVYsV Zf2fsPjL/k/VW25El/bGaOQQ1GggU/Z8DbOz4JxvxUDQ4RgUdpekYwdaEWYkjYI2vbQp Ox3vHvdd/PWau7ew1Xr7G7aOMp+jp8X6KKE05txJzNX9Nfx/9vCyNUabWwJ+AtDDfJsP jW8+eBoL2YbLKbmcTdHoKsqPVb8kxJrQ6Vqcx+kkTHkBT7+l50pkQThiI7PPklR4xi1U X0yryv5wC/T36cIzTNvoc00jfd/tO1vULGDxPSI//uNxYSbAogqriLbhCDc46UoTYQRQ SOxg==
X-Received: by 10.182.115.161 with SMTP id jp1mr30036044obb.53.1433374096838;  Wed, 03 Jun 2015 16:28:16 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.110.241 with HTTP; Wed, 3 Jun 2015 16:27:56 -0700 (PDT)
From: Tony Arcieri <bascule@gmail.com>
Date: Wed, 3 Jun 2015 16:27:56 -0700
Message-ID: <CAHOTMVJwYL3Sd4WLpuZkx5=M9kPzYR=KgPj7hJ124ZF4kaKBWg@mail.gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: multipart/alternative; boundary=089e01182cf2df551e0517a56939
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/BdvlmKKqCPwVEmUnpDe3u1h4sVA>
Subject: [Cfrg] Backup ciphersuites in the event of an ECCpocalypse
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jun 2015 23:28:18 -0000

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

This question was broached by people on the TLS mailing list who are
apparently already running off and implementing things. I think it actually
belongs here.

Some questions:

Should there be backup algorithms in the event of some revolutionary
innovation that breaks all known curves or all curves presently in use?

If both key exchange and signatures are moving to ECC, what should the
backups be, provided we think backups are a good idea?

My concern is people are already arguing that such backups are necessary
and trying to ship solutions without actually considering the practical
implications of an ECCpocalypse.

Some questions I expect might come up:

If ECC has failed, did FFDHE fail too?

How about RSA?

What do we predict will be assured working in 10 years time?

This is all speculation in which I don't particularly wish to indulge, but
if people feel like this sort of thing is necessary, I think the algorithm
selection should be driven by cryptographers, not people concerned with
RHEL5 errata.

-- 
Tony Arcieri

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

<div dir=3D"ltr">This question was broached by people on the TLS mailing li=
st who are apparently already running off and implementing things. I think =
it actually belongs here.<div><br></div><div>Some questions:</div><div><br>=
</div><div>Should there be backup algorithms in the event of some revolutio=
nary innovation that breaks all known curves or all curves presently in use=
?</div><div><br></div><div>If both key exchange and signatures are moving t=
o ECC, what should the backups be, provided we think backups are a good ide=
a?</div><div><br></div><div>My concern is people are already arguing that s=
uch backups are necessary and trying to ship solutions without actually con=
sidering the practical implications of an ECCpocalypse.</div><div><br></div=
><div>Some questions I expect might come up:</div><div><br></div><div>If EC=
C has failed, did FFDHE fail too?</div><div><br></div><div>How about RSA?</=
div><div><br></div><div>What do we predict will be assured working in 10 ye=
ars time?</div><div><div><div><br></div><div>This is all speculation in whi=
ch I don&#39;t particularly wish to indulge, but if people feel like this s=
ort of thing is necessary, I think the algorithm selection should be driven=
 by cryptographers, not people concerned with RHEL5 errata.</div><div><br><=
/div>-- <br><div class=3D"gmail_signature">Tony Arcieri<br></div>
</div></div></div>

--089e01182cf2df551e0517a56939--


From nobody Wed Jun  3 16:31:20 2015
Return-Path: <tlyu@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 161461A0120 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 16:31:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level: 
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zpmHeRrLbaY8 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 16:31:17 -0700 (PDT)
Received: from dmz-mailsec-scanner-5.mit.edu (dmz-mailsec-scanner-5.mit.edu [18.7.68.34]) by ietfa.amsl.com (Postfix) with ESMTP id 545C31A00B8 for <cfrg@irtf.org>; Wed,  3 Jun 2015 16:31:17 -0700 (PDT)
X-AuditID: 12074422-f79c36d000000db3-6c-556f8e44614c
Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-5.mit.edu (Symantec Messaging Gateway) with SMTP id 18.6D.03507.44E8F655; Wed,  3 Jun 2015 19:31:16 -0400 (EDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id t53NVGNc009676; Wed, 3 Jun 2015 19:31:16 -0400
Received: from localhost (sarnath.mit.edu [18.18.1.190]) (authenticated bits=0) (User authenticated as tlyu@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id t53NVEK8008491; Wed, 3 Jun 2015 19:31:15 -0400
From: Tom Yu <tlyu@mit.edu>
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com>
Date: Wed, 03 Jun 2015 19:31:14 -0400
In-Reply-To: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> (Alexey Melnikov's message of "Wed, 20 May 2015 22:16:16 +0100")
Message-ID: <ldvsia8jrnh.fsf@sarnath.mit.edu>
Lines: 37
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrHIsWRmVeSWpSXmKPExsUixCmqrOvSlx9q8OCigcWM1UUW3T8OMjkw eUzeeJjN41SzYQBTFJdNSmpOZllqkb5dAldG583nrAUv+Cqufz3A2sDYxNPFyMEhIWAisfWa fhcjJ5ApJnHh3nq2LkYuDiGBxUwSL5/OY4VwNjBK7N/dwAjhvGaUaL3QywjSwiYgLXH88i4m EFtEQF9i9atZLCA2s4CKxLPOk6wgtrBAqcSStf/B6oUEbCReXJ/PCLKZRUBV4t1dIZCZnAIN jBKvz7Qyg9TwCuhKnNq2F2wmjwCnxPfPM1gg4oISJ2c+gZqvJXHj30umCYwCs5CkZiFJLWBk WsUom5JbpZubmJlTnJqsW5ycmJeXWqRrqpebWaKXmlK6iREUjOwuSjsYfx5UOsQowMGoxMPr EJYXKsSaWFZcmXuIUZKDSUmUNyI3P1SILyk/pTIjsTgjvqg0J7X4EKMEB7OSCO9rI6Acb0pi ZVVqUT5MSpqDRUmcd9MPvhAhgfTEktTs1NSC1CKYrAwHh5IEr0YvUKNgUWp6akVaZk4JQpqJ gxNkOA/QcE2QGt7igsTc4sx0iPwpRkUpcd7+HqCEAEgiozQPrheWLF4xigO9IsxbAdLOA0w0 cN2vgAYzAQ1uF8gBGVySiJCSamBcuFe739dbeqWSW+kPgdr4E6Zt6+f/O/Dv/flnLkLaQlwn rpusmr1WQl98ww6GMzWca/dtTr7IPYmZ++DsxEkr3bT0Oq1+tTxVZxXePJvv4P5Tr7rsWV0U 9LKEJdyf9Wt3hZQw14gLPr2esORYz39Oo/Yp/58bzf/q1hDh8ugyyysjf3+/OlYlluKMREMt 5qLiRACd2b+98QIAAA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/eClwelyUNM_X16BgIyh2dMTvC80>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jun 2015 23:31:19 -0000

Alexey Melnikov <alexey.melnikov@isode.com> writes:

> Penalising large messages might be seen as a positive by some because
> signing arbitrarily large messages invites implementations to process
> unauthenticated data because of its potential size. Also, designs that
> really wish to do this can always define that the message to be signed is
> actually a hash of the data. In doing so they would reintroduce the
> requirement that the hash function be collision resistant, but can
> implement an IUF API in constant space again.

Based on some conversations with people who deal with crypto in high
performance applications, there are use cases for which minimizing
copying and optimizing cache usage can bring significant improvements.
Making multiple passes over messages could cause cache bottlenecks even
on systems that have large amounts of memory.  This was mosty in the
context of symmetric crypto, but I imagine that there are probably
signing scenarios where this is the case.

> On the other hand, if we wish a signature primitive to be easy to
> substitute into existing protocols then supporting a constant-space IUF
> API might be seen as a requirement.
>
> Chairs wish to poll the group on the following topic (please pick one):

No strong opinion, but leaning toward #1 or #3.

> #1: The signature scheme should follow the traditional model of hashing
> the message to be signed, thus trivially supporting IUF APIs in
> constant-space, at the cost of requiring collision resistant hash
> functions.
>
> #2: The signature scheme should not depend on collision resistance, at the
> cost of the signing algorithm having to buffer messages to be signed.
>
> #3: option #2, but with an additional "large message" mode defined for
> protocols that feel that they need it, where the message to be signed is
> actually a hash of the true message.


From nobody Wed Jun  3 17:07:49 2015
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 6ED971B30A9 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 17:07:48 -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 d9MDugJaauTe for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 17:07:46 -0700 (PDT)
Received: from mx0a-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D956C1B30AD for <cfrg@irtf.org>; Wed,  3 Jun 2015 17:07:46 -0700 (PDT)
Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.14.5/8.14.5) with SMTP id t5405pxx013861; Wed, 3 Jun 2015 17:07:43 -0700
Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 1usq1ck9fe-1 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Wed, 03 Jun 2015 17:07:43 -0700
Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Wed, 3 Jun 2015 17:07:42 -0700
Received: from SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6]) by SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6%24]) with mapi id 15.00.1044.021; Wed, 3 Jun 2015 17:07:42 -0700
From: Paul Lambert <paul@marvell.com>
To: Manu Sporny <msporny@digitalbazaar.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] ZKP for proving ownership of a credential
Thread-Index: AQHQnaONdbS/nROpr0ixPwGVlNXqzZ2aECGAgACPSICAANpAAA==
Date: Thu, 4 Jun 2015 00:07:42 +0000
Message-ID: <D194E3AD.6A6D8%paul@marvell.com>
References: <556E63DB.8090904@digitalbazaar.com> <D193B311.6A3A7%paul@marvell.com> <556E7D47.8020403@digitalbazaar.com>
In-Reply-To: <556E7D47.8020403@digitalbazaar.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.5.0.150423
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.94.250.30]
Content-Type: text/plain; charset="utf-8"
Content-ID: <853FBE8420574D468D1E7E132FD5DC1A@marvell.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151, 1.0.33,  0.0.0000 definitions=2015-06-03_11:2015-06-03,2015-06-03,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-1506040000
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/qNZ1GaWdp_CcLGo3OrBArLmrU8w>
Subject: Re: [Cfrg] ZKP for proving ownership of a credential
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 00:07:48 -0000

DQoNCk1hbnUsDQoNCj5PbiAwNi8wMi8yMDE1IDEwOjMzIFBNLCBQYXVsIExhbWJlcnQgd3JvdGU6
DQo+PiBVbmxlc3MgdGhlIGNyZWRlbnRpYWwgaXMgZGlmZmVyZW50IGVhY2ggdGltZSBpdCBpcyBw
cm92aWRlZCB0byBhDQo+PiB0aGlyZCBwYXJ0eSB0aGUgcmVjaXBpZW50IGlzIHRyYWNrYWJsZS4N
Cj4NCj5VbmRlcnN0b29kLg0KPg0KPj4gVGhpcyBwcm9ibGVtIGhhcyBiZWVuIMWSc29sdmVkJyB0
byBzb21lIGRlZ3JlZSBieSBQMTYwOS4yIGZvcg0KPj4gYXV0b21vdGl2ZSBhcHBsaWNhdGlvbnMu
DQo+DQo+Q2FuIHlvdSBkZWZpbmUgInRvIHNvbWUgZGVncmVlIj8NClRoZSBjbGVhciBub3RlIGZy
b20gV2lsbGlhbSBvbiBQMTYwOSBob3BlZnVsbHkgYW5zd2V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alz@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 D794D1B30CA for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 17:33:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.312
X-Spam-Level: 
X-Spam-Status: No, score=-2.312 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C1i7oUjVJeZs for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 17:33:15 -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 437691B2AD8 for <cfrg@irtf.org>; Wed,  3 Jun 2015 17:33:12 -0700 (PDT)
Received: from prod-mail-xrelay02.akamai.com (localhost [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id E7F2C28768; Thu,  4 Jun 2015 00:33:11 +0000 (GMT)
Received: from prod-mail-relay06.akamai.com (prod-mail-relay06.akamai.com [172.17.120.126]) by prod-mail-xrelay02.akamai.com (Postfix) with ESMTP id D534828767; Thu,  4 Jun 2015 00:33:11 +0000 (GMT)
Received: from email.msg.corp.akamai.com (ustx2ex-cas4.msg.corp.akamai.com [172.27.25.33]) by prod-mail-relay06.akamai.com (Postfix) with ESMTP id B9A8B2026; Thu,  4 Jun 2015 00:33:11 +0000 (GMT)
Received: from USTX2EX-DAG1MB2.msg.corp.akamai.com (172.27.27.102) by ustx2ex-dag1mb3.msg.corp.akamai.com (172.27.27.103) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Wed, 3 Jun 2015 19:33:11 -0500
Received: from USTX2EX-DAG1MB2.msg.corp.akamai.com ([172.27.6.132]) by ustx2ex-dag1mb2.msg.corp.akamai.com ([172.27.6.132]) with mapi id 15.00.1076.000; Wed, 3 Jun 2015 19:33:10 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Tony Arcieri <bascule@gmail.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Backup ciphersuites in the event of an ECCpocalypse
Thread-Index: AQHQnlT8vuZBAoAfzk+2oH+Sjkx4l52bfr6Q
Date: Thu, 4 Jun 2015 00:33:10 +0000
Message-ID: <cf2e481f72ac45a2a49300fa09dce43d@ustx2ex-dag1mb2.msg.corp.akamai.com>
References: <CAHOTMVJwYL3Sd4WLpuZkx5=M9kPzYR=KgPj7hJ124ZF4kaKBWg@mail.gmail.com>
In-Reply-To: <CAHOTMVJwYL3Sd4WLpuZkx5=M9kPzYR=KgPj7hJ124ZF4kaKBWg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.41.86]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/0iFmWHiTYAiafzl8NGwVVve2f-Y>
Subject: Re: [Cfrg] Backup ciphersuites in the event of an ECCpocalypse
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 00:33:18 -0000

PiBTaG91bGQgdGhlcmUgYmUgYmFja3VwIGFsZ29yaXRobXMgaW4gdGhlIGV2ZW50IG9mIHNvbWUg
cmV2b2x1dGlvbmFyeSBpbm5vdmF0aW9uIHRoYXQgYnJlYWtzIGFsbCBrbm93biBjdXJ2ZXMgb3Ig
YWxsIGN1cnZlcyBwcmVzZW50bHkgaW4gdXNlPw0KDQpOby4gIEl0IGlzIHRyeWluZyB0byBzb2x2
ZSBhIHdvcnJ5IGFib3V0IHRoZSBmdXR1cmUgd2l0aCBhIGhvcGUuDQoNCkhvdyBkbyB5b3Uga25v
dyBhIGJhY2t1cCBpcyBhbnkgYmV0dGVyPyAgQW5kLCBpZiBpdCBpcywgd2h5IGlzIGl0IGEgYmFj
a3VwIGFuZCBub3QgdGhlIHByaW1hcnkgY2hvaWNlPw0KDQpJbiB0aGUgZXZlbnQgb2YgYW4gRUND
cG9jYWx5cHNlLCB3ZSdsbCBmYWxsIGJhY2sgdG8gRURIIGFuZCBSU0EgdW50aWwgdGhlIG5leHQg
bmV3IHRoaW5nIGVtZXJnZXMuDQoNCgkvciQNCg0K


From nobody Wed Jun  3 17:37:05 2015
Return-Path: <alangley@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E71221B30DC for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 17:37:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0_eZF4d6HrZp for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 17:37:00 -0700 (PDT)
Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com [IPv6:2a00:1450:4010:c04::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 784781B30E9 for <cfrg@irtf.org>; Wed,  3 Jun 2015 17:36:57 -0700 (PDT)
Received: by lbbtu8 with SMTP id tu8so1499112lbb.2 for <cfrg@irtf.org>; Wed, 03 Jun 2015 17:36:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=qcgOjekGQ5v458ZlN8F6SfBCQifaUJsSoE3vyuP02Fo=; b=UFWriuk3y8i2x5Z8nR586H7O2DGn40vJLIE5M/+AEUucpDf6yQkyOiLvPCoQqLnBxm daCuk6rZ1atwxgpRkDzPdUpbc+d0aAjK92G3wniMFkwM58rdLb6JW/o+i1yO3bYDfbOf lbf4ICm47kuWUMbK476Zeeqm3+2lHCpTCLaU6RwDW8ycMxfJrrKT8/zTQdaF49lpkgAJ d0Jxl/WE6qNO/d/XpypLbsGWmAmata7P/ogu74yzBjYhNCuZ9kE4olJlBHGozj0hgMO0 BGkXgHBCOfbwHHrkJsE4N0dnigTLKz9hUSo2Ax9x2N0Yc6j9Z3Fn77gBZiQiXLy6x+Vm x0nw==
MIME-Version: 1.0
X-Received: by 10.112.157.164 with SMTP id wn4mr35069695lbb.100.1433378215947;  Wed, 03 Jun 2015 17:36:55 -0700 (PDT)
Sender: alangley@gmail.com
Received: by 10.112.89.69 with HTTP; Wed, 3 Jun 2015 17:36:55 -0700 (PDT)
In-Reply-To: <CAHOTMVJwYL3Sd4WLpuZkx5=M9kPzYR=KgPj7hJ124ZF4kaKBWg@mail.gmail.com>
References: <CAHOTMVJwYL3Sd4WLpuZkx5=M9kPzYR=KgPj7hJ124ZF4kaKBWg@mail.gmail.com>
Date: Wed, 3 Jun 2015 17:36:55 -0700
X-Google-Sender-Auth: _oaK-ifOSVdD1YgD2FzdsFrip_w
Message-ID: <CAMfhd9VzWR6VJtKMcQ7tCfhiAU1eRM8_ROQR65NyDBGSYrMyEg@mail.gmail.com>
From: Adam Langley <agl@imperialviolet.org>
To: Tony Arcieri <bascule@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/D5t8K_X9A6tSONMEqTt0S9HPxfU>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Backup ciphersuites in the event of an ECCpocalypse
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 00:37:02 -0000

On Wed, Jun 3, 2015 at 4:27 PM, Tony Arcieri <bascule@gmail.com> wrote:
> Should there be backup algorithms in the event of some revolutionary
> innovation that breaks all known curves or all curves presently in use?

http://eprint.iacr.org/2014/599.pdf


Cheers

AGL

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


From nobody Wed Jun  3 18:08:22 2015
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 458D81B3111 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 18:08:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.4
X-Spam-Level: 
X-Spam-Status: No, score=-1.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, J_CHICKENPOX_47=0.6, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tdz4bJRx0FyL for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 18:08:19 -0700 (PDT)
Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D0F501B3117 for <cfrg@irtf.org>; Wed,  3 Jun 2015 18:08:07 -0700 (PDT)
Received: by igbpi8 with SMTP id pi8so126293893igb.1 for <cfrg@irtf.org>; Wed, 03 Jun 2015 18:08: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:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=ckiSKcsMx8xik3GFbMJ3v00yzsb3GwDODFfYJIpIyCY=; b=AZ4xKcMxu8LbOGOItTCA6XYpE1wNo7INWAcVqHDVLPu1N8vTRMftGZlPAfB1xGZJoZ EuBOISMAaDFaR3nSXekrHZ0Km3XCTiCd1tmzNaM8+ZPdr8bJR9N71U3eaHJqXhYRJmLx qTUQAYQ0Jng90/TPFY/9flplvDzMFssFoVTtX/Y2xpsI/g/tVwTvgpxCSyMO+9O5lO0D 03UJ7b1vGD6DqZeO5MRmRsrS3MXxSLl4W/6/rBp5abwWY/Mkuj/WA/92PvXj2k11FdRW XNPzWUTCFSrCt1cozOAhlhenm+l7VS1O08nwdICSum2r904KYfPGFqFQC/NG8YmG9PPm qTvw==
X-Received: by 10.107.137.170 with SMTP id t42mr44546718ioi.16.1433380087134;  Wed, 03 Jun 2015 18:08:07 -0700 (PDT)
Received: from [192.168.0.14] (CPE7cb21b2cb904-CM7cb21b2cb901.cpe.net.cable.rogers.com. [99.231.49.38]) by mx.google.com with ESMTPSA id u35sm340894iou.7.2015.06.03.18.08.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jun 2015 18:08:06 -0700 (PDT)
Message-ID: <556FA4E3.3040303@gmail.com>
Date: Wed, 03 Jun 2015 21:07:47 -0400
From: Rene Struik <rstruik.ext@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Taylor R Campbell <campbell+cfrg@mumble.net>
References: <20150603224640.AF2A460567@jupiter.mumble.net>
In-Reply-To: <20150603224640.AF2A460567@jupiter.mumble.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/bMb5in2oFeGtNfxGo1Q_anQi01M>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 01:08:21 -0000

Hi Taylor:

I  think that lots of assertions and claims in the email poll are 
somewhat (or, perhaps, a lot) "off" and put people (at least me) on the 
wrong footing. Hence, my email.

Thanks for your anecdotal pointers, which are well-documented factoids 
of in-expert implementations (aka stupidity).

Rene

On 6/3/2015 6:47 PM, Taylor R Campbell wrote:
>     Date: Wed, 03 Jun 2015 17:14:57 -0400
>     From: Rene Struik <rstruik.ext@gmail.com>
>
>     Isn't the double signing merely an artifact of running the Schnorr
>     signature scheme in a mode where the ephemeral private key is
>     deterministically derived from message and private info?
>     I don't see how this would apply with the original Schnorr scheme, since
>     there one simply has s:= k - e d (mod n), where e=h(m,R), where R:=kG,
>     where n size of prime-order subgroup, and where k is randomly picked.
>
> Requiring signers to have a source of entropy at signing time to
> randomly choose a distinct k for each signature has historically been
> a source of high-profile cryptography disasters[1][2].
>
> The NIST was warned about this in 1991 when standardizing the DSA, and
> ignored the warning[3], claiming that entropy at signing time is no
> more likely to be bad than entropy at key generation time.  Debian
> showed them wrong.
>
> There are three security concerns in Alexey's poll and your question:
>
> (a) secret key recovery if k is reused or even slightly predictable,
>
> (b) signature forgery if the attacker can find collisions in the hash
> function, and
>
> (c) denial of service or processing of unauthenticated data if a
> protocol requires the verifier to consume arbitrarily large messages
> before verifying the signature.
>
> Randomized DSA- or Schnorr-type schemes that use an entropy source at
> signing time are vulnerable to (a).  You can defend against this (and
> EdDSA does) by hashing the secret key together with the message to
> derive k deterministically: the secret key is unpredictable to the
> attacker, so standard PRF assumptions imply k is unpredictable too.
> (Bonus: easy test vectors for the real signing code.)
>
> Schemes defined in terms of H(m) for a fixed H are vulnerable to (b).
> You can defend against this (and EdDSA does) by using a keyed hash
> H_k(m) and relying only on target collision resistance instead of
> collision resistance.
>
> You could defend against both (a) and (b) by hashing the message under
> a different key, say h, and signing H_h(m) -- that is, choose h
> randomly, compute H_h(m), and derive k from the secret key and H_h(m)
> to sign the message h || H_h(m).  But this leaves (c).
>
> Protocols designed under the assumption of streaming I/U/F are likely
> to be vulnerable to (c).  You can defend against this (and EdDSA does)
> by encouraging protocol designers to sign and verify short messages
> rather than long ones, and to split long messages into independently
> verifiable parts, e.g. by signing each part separately or signing the
> root of a Merkle tree of parts.
>
>
> [1] Debian broke OpenSSL's PRNG seeding so that it had only 2^15
> possible seeds, enabling recovery of (EC)DSA secret keys used on
> affected systems with predictable k even if the secret key was
> otherwise secure.  https://wiki.debian.org/SSLkeys
>
> [2] Sony reused k verbatim for PlayStation 3 firmware updates signed
> with ECDSA, enabling recovery of the firmware signing key.
>
> fail0verflow, `Console Hacking 2010: PS3 Epic Fail', 27c3, 2010.
> http://events.ccc.de/congress/2010/Fahrplan/attachments/1780_27c3_console_hacking_2010.pdf
>
> [3] Miles E. Smid and Dennis K. Branstad (NIST), `Response to Comments
> on the NIST Proposed Digital Signature Standard', CRYPTO'92, LNCS 740,
> pp. 76--88, Springer, 1993.  (See Sec. 4.9 about k.)


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


From nobody Wed Jun  3 18:29:09 2015
Return-Path: <bascule@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0C68C1B3141 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 18:29:07 -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 B5YDhYlm0LOE for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 18:29:05 -0700 (PDT)
Received: from mail-oi0-x22d.google.com (mail-oi0-x22d.google.com [IPv6:2607:f8b0:4003:c06::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6654C1B3137 for <cfrg@irtf.org>; Wed,  3 Jun 2015 18:29:05 -0700 (PDT)
Received: by oihb142 with SMTP id b142so20898644oih.3 for <cfrg@irtf.org>; Wed, 03 Jun 2015 18:29:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=eDL/k5gOsodzsVvJrUuWFdbbSWYNy79Fe6QQJTzO3aw=; b=IvWpTOvDQyiknn9ywV91h1vOA9jdayPnLAFLbYQOs/CfGpb8OAGb+kP8bsipc0s1Nk 2tuEtzpnX/KDxdnuJoe8svf7V7eJgqLcLX29LTbFlq99ja1FgTp3VL0QwvD2obbatJiE A+g6AYDStMUWE9Iml4YVxpug9PnWqkfL6WqGLVGGpgkNZJddY0LYGoymBMUspK+gXBYH YFG57Gf5WfeYs3+HAp7ZFrvbox1Q4I7fdSF7zcmSb6T7h1Q3HymMU+HF0eOu7xPWaMgg R1eoGLs8tvGtU/rHEGntCAqLyyKqr+8scA0fAzqQFsqjyl8hQhGAR/2i3uywpHqS7xV0 M/rg==
X-Received: by 10.202.174.67 with SMTP id x64mr28129751oie.50.1433381344674; Wed, 03 Jun 2015 18:29:04 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.110.241 with HTTP; Wed, 3 Jun 2015 18:28:44 -0700 (PDT)
In-Reply-To: <CAMfhd9VzWR6VJtKMcQ7tCfhiAU1eRM8_ROQR65NyDBGSYrMyEg@mail.gmail.com>
References: <CAHOTMVJwYL3Sd4WLpuZkx5=M9kPzYR=KgPj7hJ124ZF4kaKBWg@mail.gmail.com> <CAMfhd9VzWR6VJtKMcQ7tCfhiAU1eRM8_ROQR65NyDBGSYrMyEg@mail.gmail.com>
From: Tony Arcieri <bascule@gmail.com>
Date: Wed, 3 Jun 2015 18:28:44 -0700
Message-ID: <CAHOTMVJhMxc7iGCx-N2BSDfauwzJ0nSFYXb=Vf1f_csuHT=O0w@mail.gmail.com>
To: Adam Langley <agl@imperialviolet.org>
Content-Type: multipart/alternative; boundary=001a113cefa4e08a6a0517a71991
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/Edgf-aYqxBKzyRKqqcPxYAGbi_4>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Backup ciphersuites in the event of an ECCpocalypse
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 01:29:07 -0000

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

On Wed, Jun 3, 2015 at 5:36 PM, Adam Langley <agl@imperialviolet.org> wrote:

> http://eprint.iacr.org/2014/599.pdf


I completely agree that this is the direction we should be headed in...

-- 
Tony Arcieri

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On W=
ed, Jun 3, 2015 at 5:36 PM, Adam Langley <span dir=3D"ltr">&lt;<a href=3D"m=
ailto:agl@imperialviolet.org" target=3D"_blank">agl@imperialviolet.org</a>&=
gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href=3D"http://eprin=
t.iacr.org/2014/599.pdf" target=3D"_blank">http://eprint.iacr.org/2014/599.=
pdf</a></blockquote><div><br></div><div>I completely agree that this is the=
 direction we should be headed in...=C2=A0</div></div><div><br></div>-- <br=
><div class=3D"gmail_signature">Tony Arcieri<br></div>
</div></div>

--001a113cefa4e08a6a0517a71991--


From nobody Wed Jun  3 18:39:07 2015
Return-Path: <tom@ritter.vg>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 90A5B1B314C for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 18:39:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.379
X-Spam-Level: 
X-Spam-Status: No, score=-1.379 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, 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 CoR0eooX7yC8 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 18:39:04 -0700 (PDT)
Received: from mail-qk0-x22e.google.com (mail-qk0-x22e.google.com [IPv6:2607:f8b0:400d:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7E7DF1A9240 for <cfrg@irtf.org>; Wed,  3 Jun 2015 18:39:04 -0700 (PDT)
Received: by qkx62 with SMTP id 62so16473158qkx.3 for <cfrg@irtf.org>; Wed, 03 Jun 2015 18:39:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ritter.vg; s=vg; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=/nBkpX+amV9f4InuyzN6cQRzLVbqn6NxxDe9vqEpDFQ=; b=SzpXAuYoNLiOBWkG9wZJHdCBXaJUHkxWrMqxY5YoH2+jNZP8bSfALhYSHtbjAs5GuU uRRObzA8OdNCvAITDxDjGtymE2c2XvhrTMuwDgsqlkk64C5Gk9jhpkHLqgeVmLSLsd/e DrL6D7GG0h1bcfU/b0hz8DHfl11kHXk+poHE0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=/nBkpX+amV9f4InuyzN6cQRzLVbqn6NxxDe9vqEpDFQ=; b=IG5wpiF40oJMpTGDqwuJqJTTNhhS3m3knz3GU6PGn6C0dY+3poUp8k0wlCd/apB6kh glsjOWRTViHFaAa1/zEeovxW8KVIWMULRSGyd6nCwQf72JPUSo2Vq5lhnzoE2MaNs/B0 ZZfjVOjRQ7T1ttO1FSfRYEdOx6Qj5p5KupIsMmVJWy8qXhMS4C80lPEw0rasWttHLeIl QtcHiXFDMRHPGAx4EaTpVwod1ZBDtfDA/GPFVmZusEUIU2RTtNX3a273d9Q8hIIOZtCT cKUUOo0g1VEwwChoQrY6NjFfgc77cvaiSAzFcvkJUfxUAECYlzQj/ZI5hCIu/dOPwT/k veUQ==
X-Gm-Message-State: ALoCoQklcMD3lkQ1T7Vv12fxiP3LmPws+6XzQlx1hAQMVVqpJixuhlt7+WBF9cpp2Ux7YHQ9KqrI
X-Received: by 10.140.233.214 with SMTP id e205mr41916005qhc.68.1433381943633;  Wed, 03 Jun 2015 18:39:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.51.103 with HTTP; Wed, 3 Jun 2015 18:38:43 -0700 (PDT)
In-Reply-To: <CAHOTMVJhMxc7iGCx-N2BSDfauwzJ0nSFYXb=Vf1f_csuHT=O0w@mail.gmail.com>
References: <CAHOTMVJwYL3Sd4WLpuZkx5=M9kPzYR=KgPj7hJ124ZF4kaKBWg@mail.gmail.com> <CAMfhd9VzWR6VJtKMcQ7tCfhiAU1eRM8_ROQR65NyDBGSYrMyEg@mail.gmail.com> <CAHOTMVJhMxc7iGCx-N2BSDfauwzJ0nSFYXb=Vf1f_csuHT=O0w@mail.gmail.com>
From: Tom Ritter <tom@ritter.vg>
Date: Wed, 3 Jun 2015 20:38:43 -0500
Message-ID: <CA+cU71=7yfm4PpujRwaEigF0shho7ZF0hHgaWB2ErFZbK6FEtg@mail.gmail.com>
To: Tony Arcieri <bascule@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/1tTpwS9W9oJqTv_w0X4cdWAc8qI>
Cc: Adam Langley <agl@imperialviolet.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Backup ciphersuites in the event of an ECCpocalypse
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 01:39:06 -0000

On 3 June 2015 at 20:28, Tony Arcieri <bascule@gmail.com> wrote:
> On Wed, Jun 3, 2015 at 5:36 PM, Adam Langley <agl@imperialviolet.org> wrote:
>>
>> http://eprint.iacr.org/2014/599.pdf
>
>
> I completely agree that this is the direction we should be headed in...

Ditto.  I will also make the plug that if someone wants to work on a
new PQ KEX algorithm, and have a strong chance of it getting deployed
in a real system, come over and work on Tor.  We'd actually like
researchers to start designing just that, with an eye to implementing
and deploying it in the next several years.

-tom


From nobody Wed Jun  3 20:08:16 2015
Return-Path: <hallam@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B2C961B335E for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 20:08:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level: 
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id paiYoYIaC00n for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 20:08:13 -0700 (PDT)
Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 12D291B335D for <cfrg@irtf.org>; Wed,  3 Jun 2015 20:08:13 -0700 (PDT)
Received: by lbcue7 with SMTP id ue7so18954291lbc.0 for <cfrg@irtf.org>; Wed, 03 Jun 2015 20:08:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=PXUPTf/PY5mWm3pEwoEcfnuMHpYz81i6Mmda23FXeC0=; b=Y2sbDhubyks8ZQA7st+mnBJgt7CAbLu6kT78w1gfWfugKtwPWPFm1iAArA+tuEMkK5 VSDoNOdhBAEzTMlZ1n+1QjarepfQEJU6KiRmyPoCutCuk6g3UUcEuJHxKIVmBsdwYa3Y FjydwrWEdGmAwVqBBGjdtCLBLtc1wP9r2Re5+yuubgYlW3ioTK7qrdtpaq3KHHjVdaIM 1RztSMtCka8zO++A8BQok1aSWKGT/lyHUKa7haD1K7Lco5BRoHfcgz5SrLqNKzLZlLBd /hwxjY/k7OXbamcB5Ek0EYIYtpDJn0l8zsarmPlQQkOqiC9FNNXlSKG9QicA6IsFZUDT nseA==
MIME-Version: 1.0
X-Received: by 10.112.126.42 with SMTP id mv10mr28950979lbb.58.1433387291632;  Wed, 03 Jun 2015 20:08:11 -0700 (PDT)
Sender: hallam@gmail.com
Received: by 10.112.203.163 with HTTP; Wed, 3 Jun 2015 20:08:11 -0700 (PDT)
In-Reply-To: <CAMfhd9VzWR6VJtKMcQ7tCfhiAU1eRM8_ROQR65NyDBGSYrMyEg@mail.gmail.com>
References: <CAHOTMVJwYL3Sd4WLpuZkx5=M9kPzYR=KgPj7hJ124ZF4kaKBWg@mail.gmail.com> <CAMfhd9VzWR6VJtKMcQ7tCfhiAU1eRM8_ROQR65NyDBGSYrMyEg@mail.gmail.com>
Date: Wed, 3 Jun 2015 23:08:11 -0400
X-Google-Sender-Auth: kmImsZNHaCE5_XcM2xkl7tyy5NY
Message-ID: <CAMm+Lwh9qZK4UprtiYGmwENJWMBQwW1bTmhpBS1XRAO3RMmNfA@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: Adam Langley <agl@imperialviolet.org>
Content-Type: multipart/alternative; boundary=001a11c36bc657ec620517a87cc6
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/Qy8y-Iin8PkAU-2GBZRfK8UKOSo>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Backup ciphersuites in the event of an ECCpocalypse
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 03:08:14 -0000

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

On Wed, Jun 3, 2015 at 8:36 PM, Adam Langley <agl@imperialviolet.org> wrote:

> On Wed, Jun 3, 2015 at 4:27 PM, Tony Arcieri <bascule@gmail.com> wrote:
> > Should there be backup algorithms in the event of some revolutionary
> > innovation that breaks all known curves or all curves presently in use?
>
> http://eprint.iacr.org/2014/599.pdf


This is all just a plot to make me spend my 80s learning the math I gave up
on in my 20s when I decided recourse to category theory to make formal
methods tractable was trying way too hard.

I agree that if we do anything post ECC we should be looking at the lattice
stuff. But it does seem likely that they resist known methods of applying
QM techniques rather than being QM resistant.

Seems to me that if folk worry about ECC being broken they should be
trusting their keys to symmetric techniques.

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, Jun 3, 2015 at 8:36 PM, Adam Langley <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:agl@imperialviolet.org" target=3D"_blank">agl@imperialviolet.=
org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"=
">On Wed, Jun 3, 2015 at 4:27 PM, Tony Arcieri &lt;<a href=3D"mailto:bascul=
e@gmail.com">bascule@gmail.com</a>&gt; wrote:<br>
&gt; Should there be backup algorithms in the event of some revolutionary<b=
r>
&gt; innovation that breaks all known curves or all curves presently in use=
?<br>
<br>
</span><a href=3D"http://eprint.iacr.org/2014/599.pdf" target=3D"_blank">ht=
tp://eprint.iacr.org/2014/599.pdf</a></blockquote><div><br></div><div>This =
is all just a plot to make me spend my 80s learning the math I gave up on i=
n my 20s when I decided recourse to category theory to make formal methods =
tractable was trying way too hard.</div><div><br></div><div>I agree that if=
 we do anything post ECC we should be looking at the lattice stuff. But it =
does seem likely that they resist known methods of applying QM techniques r=
ather than being QM resistant.</div><div><br></div><div>Seems to me that if=
 folk worry about ECC being broken they should be trusting their keys to sy=
mmetric techniques.</div><div><br></div><div>=C2=A0</div></div></div></div>

--001a11c36bc657ec620517a87cc6--


From nobody Wed Jun  3 20:10:14 2015
Return-Path: <dmjacobson@sbcglobal.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB83D1B331D for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 20:10:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.101
X-Spam-Level: 
X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9eshgDHFmPg3 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 20:10:12 -0700 (PDT)
Received: from nm21-vm2.access.bullet.mail.gq1.yahoo.com (nm21-vm2.access.bullet.mail.gq1.yahoo.com [216.39.63.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 160B41B32F5 for <cfrg@irtf.org>; Wed,  3 Jun 2015 20:10:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1433387411; bh=DOsWGdGUk8k3LmDmif1NjV34mOWiB8eeIpQUTRJtTyA=; h=Date:From:To:Subject:References:In-Reply-To:From:Subject; b=Y4pHsmbYfqTBTdw52ustfzHocNnk+yW+WCQOC39jqNGX4eZ0mjSP/a4UECBNbLVvYwZfjgDnOSmLV5ZL32WuC92Qj0i2gDmQdGsvLI+04ue3DcQkg/hFuiAmZrCgTTJWeAX/kkeNViNOpbOH7hU3QOGyuIXpiAvK/KaxFZHS566SiEVueBAU7+Ew0yuTVVl4MRBRFJjZPIHBaY76d02/E671yKareY67kUp3RGohJIwGzxKA6mpAeFH7B9djiVroahZ5UndG0fCKQVj+vQUltaUGrF6sGRgOBpdaVM7KpBzyczsBvX1o0FZ81Gr2NzDi6R8vKx3xVRwbaMkzssLfgw==
Received: from [216.39.60.175] by nm21.access.bullet.mail.gq1.yahoo.com with NNFMP; 04 Jun 2015 03:10:11 -0000
Received: from [67.195.22.116] by tm11.access.bullet.mail.gq1.yahoo.com with NNFMP; 04 Jun 2015 03:10:11 -0000
Received: from [127.0.0.1] by smtp111.sbc.mail.gq1.yahoo.com with NNFMP; 04 Jun 2015 03:10:11 -0000
X-Yahoo-Newman-Id: 486697.14730.bm@smtp111.sbc.mail.gq1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: _T5CEHsVM1mtqLWitNhI2vk.Cpc0HZ__zQqOqXWhRPWHXij fqJfdykPomIaQZUIk9h0nd4btegQTv7BEpG_grq2r_XTT_fBUyEkRrwT8_oj GfxCfCW5sXEibNhxn2eQ5QIZNJoDIV5p03cYV7xljboreipDbHYWmOL0cb8U _s_L_cn15nsDK5vzNmSnJTtZ_Cv4AnIoSYTbT._78aWmszCpEjbcj2hTAxPu DLtmab4vPSpFgNiW9W_kNohJSCE3sZ8OyL7Y9CBOZlYZzS3QNtQH.PXEFPdt AlmFvwonBaU_N20AU3pwT6VaSMDup3joKoejE010wNzJUZjjaZbfKpf8Ozu7 jZcMc2s78odMZ22Vhh3p4JgXBDoxfhg2SPsTer8D5122r5xPCa.BYKldTA_j 4a_Bf_Q2Pcwe8KBAn3nVFOQMyrxA5HFUS0imYdsyDyZ0k.m0e0aXdWgUz7Lk hN9ZblH1CdjmV5Dzd2h_FNiGx7AwFMew.HzZT0Pn.CemufQgwJdxYFzhhGh. CgZ3hyClKNok.3g3Hp5g6dM3A3LGZpl6IlcnVyD1X.1qHdBKz1AR2XI5x
X-Yahoo-SMTP: nOrmCa6swBAE50FabWnlVFUpgFVJ9Gbi__8U5mpvhtQq7tTV1g--
Message-ID: <556FC192.4040704@sbcglobal.net>
Date: Wed, 03 Jun 2015 20:10:10 -0700
From: David Jacobson <dmjacobson@sbcglobal.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Paul Lambert <paul@marvell.com>, Manu Sporny <msporny@digitalbazaar.com>,  "cfrg@irtf.org" <cfrg@irtf.org>
References: <556E63DB.8090904@digitalbazaar.com> <D193B311.6A3A7%paul@marvell.com> <556E7D47.8020403@digitalbazaar.com> <D194E3AD.6A6D8%paul@marvell.com>
In-Reply-To: <D194E3AD.6A6D8%paul@marvell.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/pBQQH8IMP0naLtYMztT3mnLpMRo>
Subject: Re: [Cfrg] ZKP for proving ownership of a credential
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 03:10:13 -0000

On 6/3/15 5:07 PM, Paul Lambert wrote:
>
> Manu,
>
>> On 06/02/2015 10:33 PM, Paul Lambert wrote:
>>> Unless the credential is different each time it is provided to a
>>> third party the recipient is trackable.
>> Understood.
>>
>>> This problem has been Ĺsolved' to some degree by P1609.2 for
>>> automotive applications.
>> Can you define "to some degree"?
> The clear note from William on P1609 hopefully answered that I was
> referring to the engineering solution of P1609 having many attribute
> certificates issued per entity.
>
>
> Paul
>
>> Any chance that you (or someone else)
>> has a pointer to the methods used in that IEEE spec wrt. protecting
>> privacy? I can shell out the $212 for the paper, but I'd like to know a
>> bit more about the content before I do. I did read the preview of the
>> paper, but couldn't get a handle on what sort of crypto they had settled
>> on to solve the problem.
>
>> -- manu
>>
>> -- 
>> Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
>> Founder/CEO - Digital Bazaar, Inc.
>> blog: Web Payments: The Architect, the Sage, and the Moral Voice
>> https://manu.sporny.org/2015/payments-collaboration/
>>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
Keep in mind that Manu's original request was cast in terms of proving 
citizenship and at last age 21.  The solutions that have been mentioned 
address the problem of proving that some key-fob-like device is assigned 
to a person who is a UK Citizen and at least 21. They do not address the 
issue of proving that the person in possession of the device is the 
person it was assigned to.  That is not all that much of a problem with 
a car.  The owner of the car will presumably protect the device quite 
well, and will only loan it to people he/she intends to have access to 
the car.  But things might be different when it comes to under-age kids 
getting into drinking establishments.

     --David


From nobody Wed Jun  3 21:08:53 2015
Return-Path: <bascule@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C027B1B3423 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 21:08:51 -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 V-mvUklGF5es for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 21:08:50 -0700 (PDT)
Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 52C611B336F for <cfrg@irtf.org>; Wed,  3 Jun 2015 21:08:50 -0700 (PDT)
Received: by oihb142 with SMTP id b142so22829183oih.3 for <cfrg@irtf.org>; Wed, 03 Jun 2015 21:08:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=mR4QhobgE29+zdHv48JLxmyV2TGEFJV4h2bP2HGvCHU=; b=oW4uM2mgKThT/7QXrq2xRSrQLnryGFJo9hB9HH4yXMNtykNNug/Jrhgx89Qi27ZHh2 INN1OLfp3ORF+kQH+bH/idR2DacVhbPOYPG774BDwand+4FAxIs/VA8l2sLP522aN8gV pjS8kk0GDpcE00y6ZrT2lBFCcMFKHGl1FXVfZfIoYAyb1bun+PfBiwhah8tkhpORmUvd KsYrc1Vj7Oo4LE+4BoeJZPUAzQILoXlxXz0xQl91LaT6ZNu4jVXzj9wVH5bz7jl9BIrQ E0HeH7RDrmOjtl2IspnCu1WsMeZhNjyB1FDNH2y6Cb+cn4rJRb7f4JZRBmWAeHQPFuAq OB/Q==
X-Received: by 10.202.45.199 with SMTP id t190mr23905311oit.6.1433390929764; Wed, 03 Jun 2015 21:08:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.110.241 with HTTP; Wed, 3 Jun 2015 21:08:29 -0700 (PDT)
In-Reply-To: <cf2e481f72ac45a2a49300fa09dce43d@ustx2ex-dag1mb2.msg.corp.akamai.com>
References: <CAHOTMVJwYL3Sd4WLpuZkx5=M9kPzYR=KgPj7hJ124ZF4kaKBWg@mail.gmail.com> <cf2e481f72ac45a2a49300fa09dce43d@ustx2ex-dag1mb2.msg.corp.akamai.com>
From: Tony Arcieri <bascule@gmail.com>
Date: Wed, 3 Jun 2015 21:08:29 -0700
Message-ID: <CAHOTMVLymdh-ZY9XJYDVBNPXwSaAhJNi3iV0F0S4XraO=uFrwA@mail.gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>
Content-Type: multipart/alternative; boundary=001a1137924231678c0517a9556f
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/FGV5q_NBUN_U2hZEZpiS3x7fVMo>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Backup ciphersuites in the event of an ECCpocalypse
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 04:08:51 -0000

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

On Wed, Jun 3, 2015 at 5:33 PM, Salz, Rich <rsalz@akamai.com> wrote:

> In the event of an ECCpocalypse, we'll fall back to EDH and RSA until the
> next new thing emerges.


The proposed backup on the TLS list is FFDHE. While that solves the key
exchange problem, is that useful if we're using ECC certs?

-- 
Tony Arcieri

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On W=
ed, Jun 3, 2015 at 5:33 PM, Salz, Rich <span dir=3D"ltr">&lt;<a href=3D"mai=
lto:rsalz@akamai.com" target=3D"_blank" onclick=3D"window.open(&#39;https:/=
/mail.google.com/mail/?view=3Dcm&amp;tf=3D1&amp;to=3Drsalz@akamai.com&amp;c=
c=3D&amp;bcc=3D&amp;su=3D&amp;body=3D&#39;,&#39;_blank&#39;);return false;"=
>rsalz@akamai.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">I=
n the event of an ECCpocalypse, we&#39;ll fall back to EDH and RSA until th=
e next new thing emerges.</blockquote></div><div><br></div><div>The propose=
d backup on the TLS list is FFDHE. While that solves the key exchange probl=
em, is that useful if we&#39;re using ECC certs?</div><div><br></div>-- <br=
><div class=3D"gmail_signature">Tony Arcieri<br></div>
</div></div>

--001a1137924231678c0517a9556f--


From nobody Wed Jun  3 21:13:14 2015
Return-Path: <bascule@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ACF081B3431 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 21:13:12 -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 PIK_E_pBylJc for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 21:13:11 -0700 (PDT)
Received: from mail-ob0-x234.google.com (mail-ob0-x234.google.com [IPv6:2607:f8b0:4003:c01::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 963B61B3426 for <cfrg@irtf.org>; Wed,  3 Jun 2015 21:12:57 -0700 (PDT)
Received: by obbqz1 with SMTP id qz1so5662409obb.3 for <cfrg@irtf.org>; Wed, 03 Jun 2015 21:12:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ycVGS0nK5JkMg4yQtziH0qahYFaSd2vpzn2Wd8qlPgg=; b=Zt+22rTEoGUw8LTOFpcyxlmf1mqF/LWvLKMK3GlWC0V4bi0sTeL2MJAuPrKJ9BRulr khwIprElUfMdtZ5jPGS6pfxzQ4hDJAND16KGPYflGNFpBkWPWpKAopo//+j/zNm5MIX6 tbYfVPkgZbqnlCets5mIFSMqqkoxcsspJXqoKEhOwVhBgXD86qkYKUlM9SG4WxBsB2ka 3VtFLyuBbDPYrLnKXP5DML7ot90i7G7gxg9H73XVEIxCc7xKyVM6pwYBAR9f8qGr3g3+ 1QGOkzKCQsV890fx7Sr5RQqF+NSfzBP1fipS9ZgzjcbA5xV3fCM6F/GZZZjFMh4UJCAB NO9A==
X-Received: by 10.202.210.80 with SMTP id j77mr28554130oig.68.1433391177129; Wed, 03 Jun 2015 21:12:57 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.110.241 with HTTP; Wed, 3 Jun 2015 21:12:36 -0700 (PDT)
In-Reply-To: <556FC192.4040704@sbcglobal.net>
References: <556E63DB.8090904@digitalbazaar.com> <D193B311.6A3A7%paul@marvell.com> <556E7D47.8020403@digitalbazaar.com> <D194E3AD.6A6D8%paul@marvell.com> <556FC192.4040704@sbcglobal.net>
From: Tony Arcieri <bascule@gmail.com>
Date: Wed, 3 Jun 2015 21:12:36 -0700
Message-ID: <CAHOTMVKDMOWbvgUT+WCGHDAYSZtvt=naSvOYjQ0VAdrNrFXfgg@mail.gmail.com>
To: David Jacobson <dmjacobson@sbcglobal.net>
Content-Type: multipart/alternative; boundary=001a113d2656efe4420517a9637a
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/EeY0Wf_CeMJ4mBC7U4k8tg9LxGk>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] ZKP for proving ownership of a credential
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 04:13:12 -0000

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

On Wed, Jun 3, 2015 at 8:10 PM, David Jacobson <dmjacobson@sbcglobal.net>
wrote:

> Keep in mind that Manu's original request was cast in terms of proving
> citizenship and at last age 21.  The solutions that have been mentioned
> address the problem of proving that some key-fob-like device is assigned to
> a person who is a UK Citizen and at least 21. They do not address the issue
> of proving that the person in possession of the device is the person it was
> assigned to.  That is not all that much of a problem with a car.  The owner
> of the car will presumably protect the device quite well, and will only
> loan it to people he/she intends to have access to the car.  But things
> might be different when it comes to under-age kids getting into drinking
> establishments.
>

Confinement is the Gordian Knot of bearer credentials, be they paper or
digital.

-- 
Tony Arcieri

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On W=
ed, Jun 3, 2015 at 8:10 PM, David Jacobson <span dir=3D"ltr">&lt;<a href=3D=
"mailto:dmjacobson@sbcglobal.net" target=3D"_blank" onclick=3D"window.open(=
&#39;https://mail.google.com/mail/?view=3Dcm&amp;tf=3D1&amp;to=3Ddmjacobson=
@sbcglobal.net&amp;cc=3D&amp;bcc=3D&amp;su=3D&amp;body=3D&#39;,&#39;_blank&=
#39;);return false;">dmjacobson@sbcglobal.net</a>&gt;</span> wrote:<br><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c=
cc solid;padding-left:1ex"><div class=3D"HOEnZb"><div class=3D"h5"><span st=
yle=3D"color:rgb(34,34,34)">Keep in mind that Manu&#39;s original request w=
as cast in terms of proving citizenship and at last age 21.=C2=A0 The solut=
ions that have been mentioned address the problem of proving that some key-=
fob-like device is assigned to a person who is a UK Citizen and at least 21=
. They do not address the issue of proving that the person in possession of=
 the device is the person it was assigned to.=C2=A0 That is not all that mu=
ch of a problem with a car.=C2=A0 The owner of the car will presumably prot=
ect the device quite well, and will only loan it to people he/she intends t=
o have access to the car.=C2=A0 But things might be different when it comes=
 to under-age kids getting into drinking establishments.</span></div></div>=
</blockquote><div><br></div><div>Confinement is the Gordian Knot of bearer =
credentials, be they paper or digital.=C2=A0</div></div><div><br></div>-- <=
br><div class=3D"gmail_signature">Tony Arcieri<br></div>
</div></div>

--001a113d2656efe4420517a9637a--


From nobody Wed Jun  3 22:06:43 2015
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 E07351B3443 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 22:06:42 -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 AnBtV5SNo3N3 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 22:06:41 -0700 (PDT)
Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2A8191B30E9 for <cfrg@irtf.org>; Wed,  3 Jun 2015 22:06:41 -0700 (PDT)
Received: by wibdt2 with SMTP id dt2so35619863wib.1 for <cfrg@irtf.org>; Wed, 03 Jun 2015 22:06:40 -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=yQc4mJDb1WQ5sTsvrRQ5HqsfIbw+qWQgVcbEgp91Lmc=; b=rx9XwOAlqtodz6/AdT8hpXGc/vIoqQgKy5vOkqbdnZec+5UEHkD2ASPS/ftDA16knp v/qEONZHpRF/HiPn7qOPXXBU1S2/q619TRGbP3qoxEHmTmc9AzwcFc1qilzxrtqpTKdB Di7BwpPIrGrUsB8EGU22KMoSdaKrc9/rfWu7ZPQsQzmt5ctANDKjCeHauB0Q8t+M9qnI mYsScEOHBQL6hCHVmo36bYWZcJA8hMdzGBiE1x6G1EL4H6PS6T5t0ju/JKczCcj/Ji40 6nVpOaW4BYirItTy3s9iCgRBY7LfONBS78BqMNxq/jgMHuOKgLGAusUKCG9PJ++bWpir QDlQ==
X-Received: by 10.194.58.70 with SMTP id o6mr13966882wjq.54.1433394399950; Wed, 03 Jun 2015 22:06:39 -0700 (PDT)
Received: from yoavs-mbp-2.mshome.net ([109.253.138.251]) by mx.google.com with ESMTPSA id c3sm3916470wja.3.2015.06.03.22.06.38 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Jun 2015 22:06:38 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <ldvsia8jrnh.fsf@sarnath.mit.edu>
Date: Thu, 4 Jun 2015 08:06:36 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <6A470D03-587D-4A82-A40E-DC991ADAFBBF@gmail.com>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <ldvsia8jrnh.fsf@sarnath.mit.edu>
To: Tom Yu <tlyu@MIT.EDU>
X-Mailer: Apple Mail (2.2098)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/EUJpaGPwSK8gLxMo6uSYiv9otH8>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 05:06:43 -0000

> On Jun 4, 2015, at 2:31 AM, Tom Yu <tlyu@MIT.EDU> wrote:
>=20
> Alexey Melnikov <alexey.melnikov@isode.com> writes:
>=20
>> Penalising large messages might be seen as a positive by some because
>> signing arbitrarily large messages invites implementations to process
>> unauthenticated data because of its potential size. Also, designs =
that
>> really wish to do this can always define that the message to be =
signed is
>> actually a hash of the data. In doing so they would reintroduce the
>> requirement that the hash function be collision resistant, but can
>> implement an IUF API in constant space again.
>=20
> Based on some conversations with people who deal with crypto in high
> performance applications, there are use cases for which minimizing
> copying and optimizing cache usage can bring significant improvements.
> Making multiple passes over messages could cause cache bottlenecks =
even
> on systems that have large amounts of memory.  This was mosty in the
> context of symmetric crypto, but I imagine that there are probably
> signing scenarios where this is the case.

There could be. But if we generate a signature scheme that works well =
for certificate authorities as well as common protocols such as TLS, =
SSH, IKE, and S/Mime, we should do that.=20

If that doesn=E2=80=99t fit some use cases, there can be another =
signature scheme for them. This is kind of like #3, but I don=E2=80=99t =
think it=E2=80=99s required that the two schemes be linked.

Yoav


From nobody Wed Jun  3 22:11:53 2015
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 5B6731B3450 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 22:11:52 -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 QKBlQuYLusyc for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 22:11:50 -0700 (PDT)
Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4B6941B344F for <cfrg@irtf.org>; Wed,  3 Jun 2015 22:11:50 -0700 (PDT)
Received: by wiwd19 with SMTP id d19so8975269wiw.0 for <cfrg@irtf.org>; Wed, 03 Jun 2015 22:11:49 -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 :message-id:references:to; bh=cmTFfCTaxujGdmiGSSMAfzhzzx8v9OLTExpnrOnXySc=; b=0zcDvhPjlONoOQicd2zSdYIu6m1O6qJ6Myx6IpJ8n672i9bFVFbC84Eox5GD5ofwX1 Y4cEPJRb7hq+YHgE6PmTd2Ksebz+m/XSTcK+uF0tXit7U20cA4fv/lQKIb/8lja6ISHU ub0cG/NNHkH525Vk6E9w4w0+if72Xd+BmfFbhyalXb16u43RY3YY5vsO56785ZEf2x97 ieci7nhMXlI5U4zza4ZZpPvn39eOpkh6floZDYog0EVwlTFLl56Ercu1lUrpDCT1AKJk 57ZDES4LGEyW1KX13gX4ZdUD23AQ3eL9EBFfCueI+ZlFXYRM+srbM3Y7brVN7ZFln+pI Wijg==
X-Received: by 10.180.231.40 with SMTP id td8mr4011858wic.9.1433394708977; Wed, 03 Jun 2015 22:11:48 -0700 (PDT)
Received: from yoavs-mbp-2.mshome.net ([109.253.138.251]) by mx.google.com with ESMTPSA id b10sm29400145wic.1.2015.06.03.22.11.44 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Jun 2015 22:11:47 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_D14C6616-05C4-4537-8E20-1C33FC0241FF"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <CAHOTMVLymdh-ZY9XJYDVBNPXwSaAhJNi3iV0F0S4XraO=uFrwA@mail.gmail.com>
Date: Thu, 4 Jun 2015 08:11:40 +0300
Message-Id: <FB4E630B-69CB-450F-85EC-B83749AD8E40@gmail.com>
References: <CAHOTMVJwYL3Sd4WLpuZkx5=M9kPzYR=KgPj7hJ124ZF4kaKBWg@mail.gmail.com> <cf2e481f72ac45a2a49300fa09dce43d@ustx2ex-dag1mb2.msg.corp.akamai.com> <CAHOTMVLymdh-ZY9XJYDVBNPXwSaAhJNi3iV0F0S4XraO=uFrwA@mail.gmail.com>
To: Tony Arcieri <bascule@gmail.com>
X-Mailer: Apple Mail (2.2098)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/ZYHKo3vil3aj-PKh3qb0lXn-CLA>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Backup ciphersuites in the event of an ECCpocalypse
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 05:11:52 -0000

--Apple-Mail=_D14C6616-05C4-4537-8E20-1C33FC0241FF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Rolling out RSA certificates is something that CAs have some experience =
with.

> On Jun 4, 2015, at 7:08 AM, Tony Arcieri <bascule@gmail.com> wrote:
>=20
> On Wed, Jun 3, 2015 at 5:33 PM, Salz, Rich <rsalz@akamai.com =
<mailto:rsalz@akamai.com>> wrote:
> In the event of an ECCpocalypse, we'll fall back to EDH and RSA until =
the next new thing emerges.
>=20
> The proposed backup on the TLS list is FFDHE. While that solves the =
key exchange problem, is that useful if we're using ECC certs?
>=20
> --=20
> Tony Arcieri
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


--Apple-Mail=_D14C6616-05C4-4537-8E20-1C33FC0241FF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Rolling out RSA certificates is something that CAs have some =
experience with.<div class=3D""><br class=3D""><div><blockquote =
type=3D"cite" class=3D""><div class=3D"">On Jun 4, 2015, at 7:08 AM, =
Tony Arcieri &lt;<a href=3D"mailto:bascule@gmail.com" =
class=3D"">bascule@gmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D""><div class=3D"gmail_extra"><div class=3D"gmail_quote">On Wed, =
Jun 3, 2015 at 5:33 PM, Salz, Rich <span dir=3D"ltr" class=3D"">&lt;<a =
href=3D"mailto:rsalz@akamai.com" target=3D"_blank" =
onclick=3D"window.open('https://mail.google.com/mail/?view=3Dcm&amp;tf=3D1=
&amp;to=3Drsalz@akamai.com&amp;cc=3D&amp;bcc=3D&amp;su=3D&amp;body=3D','_b=
lank');return false;" class=3D"">rsalz@akamai.com</a>&gt;</span> =
wrote:<br class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In the event of an =
ECCpocalypse, we'll fall back to EDH and RSA until the next new thing =
emerges.</blockquote></div><div class=3D""><br class=3D""></div><div =
class=3D"">The proposed backup on the TLS list is FFDHE. While that =
solves the key exchange problem, is that useful if we're using ECC =
certs?</div><div class=3D""><br class=3D""></div>-- <br class=3D""><div =
class=3D"gmail_signature">Tony Arcieri<br class=3D""></div>
</div></div>
_______________________________________________<br class=3D"">Cfrg =
mailing list<br class=3D""><a href=3D"mailto:Cfrg@irtf.org" =
class=3D"">Cfrg@irtf.org</a><br =
class=3D"">http://www.irtf.org/mailman/listinfo/cfrg<br =
class=3D""></div></blockquote></div><br class=3D""></div></body></html>=

--Apple-Mail=_D14C6616-05C4-4537-8E20-1C33FC0241FF--


From nobody Wed Jun  3 23:57:07 2015
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 9EC491A90FF for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 23:57:05 -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 N07BIA1c8mJ9 for <cfrg@ietfa.amsl.com>; Wed,  3 Jun 2015 23:57:03 -0700 (PDT)
Received: from emh02.mail.saunalahti.fi (emh02.mail.saunalahti.fi [62.142.5.108]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C8CA31A90FE for <cfrg@irtf.org>; Wed,  3 Jun 2015 23:57:02 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh02.mail.saunalahti.fi (Postfix) with ESMTP id 873D58189E; Thu,  4 Jun 2015 09:56:59 +0300 (EEST)
Date: Thu, 4 Jun 2015 09:56:58 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Message-ID: <20150604065658.GA14531@LK-Perkele-VII>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <556F8811.2070101@cs.tcd.ie>
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/-5dvRyP7WbtMWpT1QIVlVDp3bS4>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 06:57:05 -0000

On Thu, Jun 04, 2015 at 12:04:49AM +0100, Stephen Farrell wrote:
> 
> I'd hate to miss one of Alexey's polls:-)
> 
> I'm almost neutral on this one. While we have historically preferred
> #1 for the reason noted in the subject line, there are really very few
> cases where that turns out to be a real issue, as opposed to being a
> theoretical one.
> 
> So I think we could probably live with #2, and that could suffice for
> TLS and DNSSEC and other applications, even though #2 would mean
> that users of the signature scheme (e.g. IETF protocol developers) may
> need to learn something new, which is a downside.
> 
> While #3 seems superficially attractive, my guess is it'd cause more
> confusion and interop issues, and is of course offering a choice to
> users of the scheme and so I don't like that one:-)

Having an option of hashing the message first (with an indication that
message was prehashed or even what hash was used) would be #3.

Conversely, that would be the most reasonable implementation of #3.

The reason for including hash function is to guard against trying to
confuse implementations over what hash function is used, allowing
forging signatures using stronger hashes by abusing weaker ones. The
internal hash function is much less of concern due to natural
strengthtening from hashing in various things derived from key.


> So put me down for (#2 or #1) for this one, with a very very tiny
> preference for #2 and documenting that one ought not use this for
> signing large things directly (which one probably ought not do in any
> case). But #1 would also be an acceptable outcome from my POV since
> we're in practice already dependent on the collision resistance of
> all the relevant hash functions and that won't ever really go away
> as long as there are RSA/SHA256 certificates out there which'll be
> the case for years and maybe decades to come. So the security
> benefit of #2 isn't so great, although it's real.

The problem with #1 isn't so much the CR requirement, but what it will
do to implementation safety:

Basically, it is difficult to do #1 without either:
- Prehashing the message with something capabile of signing much larger
  things. Adding an indication that this prehash has been done would give
  #3).
- Making scheme that is dangerous by breaking basic safety.


The basic safety requirements I am thinking are:

1) Determinism.

The scheme is fully deterministic.

Breaking this makes the implementations very hard to test.

2) No random/unpredictable inputs except key.

No input to functions except key may be assumed random in any way nor
unpredictable.

Breaking this makes primitive easy to misuse in ways that cause
catastrophic breakage (reveal signing private key).

3) No scalar inversions or square roots for signature

Signing must not need computing 1/x mod l or sqrt(x) mod l.

Breaking this doesn't just make scheme slow, but also causes severe
side-channel hazards.

And sidechannels matter: Modern CPUs and OSes are ridiculously vulernable,
with attackers capable of exploiting such bugs across virtual machines on
the same physical hardware.

4) No nonces in main mode

The main mode may not assume any input is not repeated.

Breaking this again makes scheme easy to misuse with very bad results
(hopefully anything using special modes will read the caveats).


Breaking any of these will cause real-world failures, as has been
demonstrated many times by ECDSA.


-Ilari


From nobody Thu Jun  4 06:32:39 2015
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 A92431B34D4 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 06:32:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.5
X-Spam-Level: 
X-Spam-Status: No, score=-1.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, GB_ABOUTYOU=0.5, 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 ULN46wXYybNw for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 06:32:37 -0700 (PDT)
Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D5F711B33AF for <cfrg@irtf.org>; Thu,  4 Jun 2015 06:27:37 -0700 (PDT)
Received: by igbhj9 with SMTP id hj9so15309691igb.1 for <cfrg@irtf.org>; Thu, 04 Jun 2015 06:27:37 -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:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=NB34zp+RVqYpKxJXzlvFYCu1AvjNtv0RAPbMhFqpRZI=; b=Lk8+tnzSagxg/HpBQqIqn9QwVrDsMUClfuPEZw3eggXaccxGQOprP68FzJV4N37mVt EhqYVsSmXYvLnXK3xF7Ibvvbc6E/G3C6VTg57IxHI5ftyOFfLI/+04/OdzbX1MImOEQx HSNW/POPO+lt6s11YFTt8YG/RRWa1JuKTT4kU6RVMjgvmRW7KjGECa9igOOGHdIvq8tz sfUq0tywP9P7cv9/z5/Su1AyoW6OohnFarNAYno00gb3COox2dWN/Yin6cRbO5ZT/IAY QcaCRwtR9WV/hb3xIKOXjQ+WQExELfBga7ZRwpAyYshAl3IGYWfgMrspdTcd+cL8J5MO uyOw==
X-Received: by 10.107.159.77 with SMTP id i74mr34419720ioe.9.1433424457329; Thu, 04 Jun 2015 06:27:37 -0700 (PDT)
Received: from [192.168.0.14] (CPE7cb21b2cb904-CM7cb21b2cb901.cpe.net.cable.rogers.com. [99.231.49.38]) by mx.google.com with ESMTPSA id q10sm14242837ige.16.2015.06.04.06.27.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jun 2015 06:27:36 -0700 (PDT)
Message-ID: <55705235.6000501@gmail.com>
Date: Thu, 04 Jun 2015 09:27:17 -0400
From: Rene Struik <rstruik.ext@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>,  Stephen Farrell <stephen.farrell@cs.tcd.ie>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie> <20150604065658.GA14531@LK-Perkele-VII>
In-Reply-To: <20150604065658.GA14531@LK-Perkele-VII>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/5DekVs_vE34BbabPB9g_WyWSf6k>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: [Cfrg] square roots
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 13:32:38 -0000

Hi Ilari:

Just curious about your side channel remarks: could you give an example 
where side channel resistance of sqrt{x} is required? Wouldn't this 
computation only arise if one were to uncompress points, or can you give 
another example?

Best regards, Rene

where is On 6/4/2015 2:56 AM, Ilari Liusvaara wrote:
> On Thu, Jun 04, 2015 at 12:04:49AM +0100, Stephen Farrell wrote:
>> I'd hate to miss one of Alexey's polls:-)
>>
>> I'm almost neutral on this one. While we have historically preferred
>> #1 for the reason noted in the subject line, there are really very few
>> cases where that turns out to be a real issue, as opposed to being a
>> theoretical one.
>>
>> So I think we could probably live with #2, and that could suffice for
>> TLS and DNSSEC and other applications, even though #2 would mean
>> that users of the signature scheme (e.g. IETF protocol developers) may
>> need to learn something new, which is a downside.
>>
>> While #3 seems superficially attractive, my guess is it'd cause more
>> confusion and interop issues, and is of course offering a choice to
>> users of the scheme and so I don't like that one:-)
> Having an option of hashing the message first (with an indication that
> message was prehashed or even what hash was used) would be #3.
>
> Conversely, that would be the most reasonable implementation of #3.
>
> The reason for including hash function is to guard against trying to
> confuse implementations over what hash function is used, allowing
> forging signatures using stronger hashes by abusing weaker ones. The
> internal hash function is much less of concern due to natural
> strengthtening from hashing in various things derived from key.
>
>
>> So put me down for (#2 or #1) for this one, with a very very tiny
>> preference for #2 and documenting that one ought not use this for
>> signing large things directly (which one probably ought not do in any
>> case). But #1 would also be an acceptable outcome from my POV since
>> we're in practice already dependent on the collision resistance of
>> all the relevant hash functions and that won't ever really go away
>> as long as there are RSA/SHA256 certificates out there which'll be
>> the case for years and maybe decades to come. So the security
>> benefit of #2 isn't so great, although it's real.
> The problem with #1 isn't so much the CR requirement, but what it will
> do to implementation safety:
>
> Basically, it is difficult to do #1 without either:
> - Prehashing the message with something capabile of signing much larger
>    things. Adding an indication that this prehash has been done would give
>    #3).
> - Making scheme that is dangerous by breaking basic safety.
>
>
> The basic safety requirements I am thinking are:
>
> 1) Determinism.
>
> The scheme is fully deterministic.
>
> Breaking this makes the implementations very hard to test.
>
> 2) No random/unpredictable inputs except key.
>
> No input to functions except key may be assumed random in any way nor
> unpredictable.
>
> Breaking this makes primitive easy to misuse in ways that cause
> catastrophic breakage (reveal signing private key).
>
> 3) No scalar inversions or square roots for signature
>
> Signing must not need computing 1/x mod l or sqrt(x) mod l.
>
> Breaking this doesn't just make scheme slow, but also causes severe
> side-channel hazards.
>
> And sidechannels matter: Modern CPUs and OSes are ridiculously vulernable,
> with attackers capable of exploiting such bugs across virtual machines on
> the same physical hardware.
>
> 4) No nonces in main mode
>
> The main mode may not assume any input is not repeated.
>
> Breaking this again makes scheme easy to misuse with very bad results
> (hopefully anything using special modes will read the caveats).
>
>
> Breaking any of these will cause real-world failures, as has been
> demonstrated many times by ECDSA.
>
>
> -Ilari
>
> _______________________________________________
> 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


From nobody Thu Jun  4 07:09:52 2015
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 54E4D1B34F6 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 07:09:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.5
X-Spam-Level: 
X-Spam-Status: No, score=-1.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, GB_ABOUTYOU=0.5, 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 x_TH7hy-0w4Z for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 07:09:49 -0700 (PDT)
Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 903081A87E7 for <cfrg@irtf.org>; Thu,  4 Jun 2015 07:09:49 -0700 (PDT)
Received: by ieclw1 with SMTP id lw1so36884374iec.3 for <cfrg@irtf.org>; Thu, 04 Jun 2015 07:09:49 -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:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=+RHHihUTzz8oo2mttlExiyeAy+HUqTUDlhuaDHzTDms=; b=TW15epGNobjTNyHBQlzEPM+pS0R9lA++9dTeGStCmUlTagjcjme3Y+VjgmdWbJwDGm zvDHGOKFuRHRiYJ5JO+XAIYyn/7zT8TUvv8cu+kgo9kZvLm8l0kQYI4+GQ5g0eZyJWTc 5R/vgQ40+/Sju0K+wv60rwCQOulFCTYxUiFsdj5IOoJvjSG7azf+Hctxh4XDX8+HZNJz 7mW06dO+AIBNQBGP7vkuEAtP08wzYvudDKozJzcxE/Zg2r2nQl6Wb6lE9/KVcx+2oSyI 6v4bNMqGG1OsU+vhPQeaxvj7ZEbTqc0Uqeh+dCIbh3ToCoTdwukjtmf30a5nK/ij1x1p 1Hug==
X-Received: by 10.50.79.232 with SMTP id m8mr33922940igx.6.1433426988924; Thu, 04 Jun 2015 07:09:48 -0700 (PDT)
Received: from [192.168.0.14] (CPE7cb21b2cb904-CM7cb21b2cb901.cpe.net.cable.rogers.com. [99.231.49.38]) by mx.google.com with ESMTPSA id p8sm2682451iga.13.2015.06.04.07.09.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jun 2015 07:09:48 -0700 (PDT)
Message-ID: <55705C19.4040600@gmail.com>
Date: Thu, 04 Jun 2015 10:09:29 -0400
From: Rene Struik <rstruik.ext@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>,  Stephen Farrell <stephen.farrell@cs.tcd.ie>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie> <20150604065658.GA14531@LK-Perkele-VII>
In-Reply-To: <20150604065658.GA14531@LK-Perkele-VII>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/cWFdweiq02sKf1KsAxluCnNc8FE>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 14:09:51 -0000

Hi Ilari:

Just curious about your remark that deterministic signatures would allow 
for easier testability.

I don't know how these tests would exactly look like, but I presume 
these take as input some messages and public keys written in a spec and 
then checking whether the signature output is indeed as listed in the 
spec for the corresponding message/public key pairs {let us assume that 
these test parameters have been confirmed independently, prior to ending 
up in this spec}. Wouldn't one be able to get similar testability 
results by listing as input some messages and public/private key pairs, 
and then checking whether the signature output is indeed as listed in 
the spec? {After all, one can recompute all private parameters, once the 
private signing key is known.} If so, this would provide easy 
testability also in case of non-deterministic signature schemes. Note 
that the signature verification routine already provides virtually all 
the mechanisms to implement these "self tests", so incremental 
implementation cost would be virtually zero.

In either case, the testability argument seems to provide only evidence 
re "expected" implementation behavior with specified test parameters and 
not for any non-specified input/output parameters.

Best regards, Rene

On 6/4/2015 2:56 AM, Ilari Liusvaara wrote:
> On Thu, Jun 04, 2015 at 12:04:49AM +0100, Stephen Farrell wrote:
>> I'd hate to miss one of Alexey's polls:-)
>>
>> I'm almost neutral on this one. While we have historically preferred
>> #1 for the reason noted in the subject line, there are really very few
>> cases where that turns out to be a real issue, as opposed to being a
>> theoretical one.
>>
>> So I think we could probably live with #2, and that could suffice for
>> TLS and DNSSEC and other applications, even though #2 would mean
>> that users of the signature scheme (e.g. IETF protocol developers) may
>> need to learn something new, which is a downside.
>>
>> While #3 seems superficially attractive, my guess is it'd cause more
>> confusion and interop issues, and is of course offering a choice to
>> users of the scheme and so I don't like that one:-)
> Having an option of hashing the message first (with an indication that
> message was prehashed or even what hash was used) would be #3.
>
> Conversely, that would be the most reasonable implementation of #3.
>
> The reason for including hash function is to guard against trying to
> confuse implementations over what hash function is used, allowing
> forging signatures using stronger hashes by abusing weaker ones. The
> internal hash function is much less of concern due to natural
> strengthtening from hashing in various things derived from key.
>
>
>> So put me down for (#2 or #1) for this one, with a very very tiny
>> preference for #2 and documenting that one ought not use this for
>> signing large things directly (which one probably ought not do in any
>> case). But #1 would also be an acceptable outcome from my POV since
>> we're in practice already dependent on the collision resistance of
>> all the relevant hash functions and that won't ever really go away
>> as long as there are RSA/SHA256 certificates out there which'll be
>> the case for years and maybe decades to come. So the security
>> benefit of #2 isn't so great, although it's real.
> The problem with #1 isn't so much the CR requirement, but what it will
> do to implementation safety:
>
> Basically, it is difficult to do #1 without either:
> - Prehashing the message with something capabile of signing much larger
>    things. Adding an indication that this prehash has been done would give
>    #3).
> - Making scheme that is dangerous by breaking basic safety.
>
>
> The basic safety requirements I am thinking are:
>
> 1) Determinism.
>
> The scheme is fully deterministic.
>
> Breaking this makes the implementations very hard to test.
>
> 2) No random/unpredictable inputs except key.
>
> No input to functions except key may be assumed random in any way nor
> unpredictable.
>
> Breaking this makes primitive easy to misuse in ways that cause
> catastrophic breakage (reveal signing private key).
>
> 3) No scalar inversions or square roots for signature
>
> Signing must not need computing 1/x mod l or sqrt(x) mod l.
>
> Breaking this doesn't just make scheme slow, but also causes severe
> side-channel hazards.
>
> And sidechannels matter: Modern CPUs and OSes are ridiculously vulernable,
> with attackers capable of exploiting such bugs across virtual machines on
> the same physical hardware.
>
> 4) No nonces in main mode
>
> The main mode may not assume any input is not repeated.
>
> Breaking this again makes scheme easy to misuse with very bad results
> (hopefully anything using special modes will read the caveats).
>
>
> Breaking any of these will cause real-world failures, as has been
> demonstrated many times by ECDSA.
>
>
> -Ilari
>
> _______________________________________________
> 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


From nobody Thu Jun  4 07:59:06 2015
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 526431A6EFB for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 07:59:05 -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 gYCpHYUzAoaY for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 07:59:03 -0700 (PDT)
Received: from emh04.mail.saunalahti.fi (emh04.mail.saunalahti.fi [62.142.5.110]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 557701A88B6 for <cfrg@irtf.org>; Thu,  4 Jun 2015 07:59:03 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh04.mail.saunalahti.fi (Postfix) with ESMTP id 8F85A1A2626; Thu,  4 Jun 2015 17:58:59 +0300 (EEST)
Date: Thu, 4 Jun 2015 17:58:59 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Rene Struik <rstruik.ext@gmail.com>
Message-ID: <20150604145859.GA18626@LK-Perkele-VII>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie> <20150604065658.GA14531@LK-Perkele-VII> <55705C19.4040600@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <55705C19.4040600@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/XWxSR909EHO8adX9FuvVUbzyJ9c>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 14:59:05 -0000

On Thu, Jun 04, 2015 at 10:09:29AM -0400, Rene Struik wrote:

> Note that the signature verification routine already provides virtually all
> the mechanisms to implement these "self tests", so incremental implementation
> cost would be virtually zero.

The problem is that this only catches buggy generation of the signature
once k is chosen (which one tends to quickly notice anyway, since nothing
works properly). It does not catch buggy generation of k (which is much harder
to notice and could easily lead to catastrophic failure). 


-Ilari


From nobody Thu Jun  4 08:24:41 2015
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 506E01A8972 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 08:24:40 -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 lWe1qYRQvDRE for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 08:24:38 -0700 (PDT)
Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A69531A896C for <cfrg@irtf.org>; Thu,  4 Jun 2015 08:24:38 -0700 (PDT)
Received: by ieclw1 with SMTP id lw1so38561024iec.3 for <cfrg@irtf.org>; Thu, 04 Jun 2015 08:24:38 -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:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=kLAx/bx2kooGmEHia31bDfbv6uTackaN9tbvCOfv5is=; b=G4/5LbVQM9LjJucSDLNKuIDxCwWOvZFBQgCB2tuBsf9U3ypm6hkz60FcMhhuF3XNDH 8Dyd9frlZ5pl+W3E3pvNvPr795YvXLWgzrdCqvCMjab7K1WiJw+zerBqYqW7EJVD9jEZ S/UlwDEnfZiUscwAd2eBzADyNIP2f7X4KVjY6jXsCZtGuoNIo6l+QnMH3asJHiBoG/xQ yVZ6rBLCggo9Ffd9WXTNDKZzkXhXMGUHocz9aBeVUzX6GbiUFppVCda1WuRaTAUGygq4 Q0gsggyesp2su43GBKJtehjHOYP576HOpSyb34xe0b3a/Xh+CZ9+nCgvuC6WB0ryHuCM pZpg==
X-Received: by 10.107.131.196 with SMTP id n65mr4821142ioi.53.1433431478156; Thu, 04 Jun 2015 08:24:38 -0700 (PDT)
Received: from [192.168.0.14] (CPE7cb21b2cb904-CM7cb21b2cb901.cpe.net.cable.rogers.com. [99.231.49.38]) by mx.google.com with ESMTPSA id t7sm14425693ign.8.2015.06.04.08.24.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jun 2015 08:24:37 -0700 (PDT)
Message-ID: <55706DA2.4080106@gmail.com>
Date: Thu, 04 Jun 2015 11:24:18 -0400
From: Rene Struik <rstruik.ext@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie> <20150604065658.GA14531@LK-Perkele-VII> <55705C19.4040600@gmail.com> <20150604145859.GA18626@LK-Perkele-VII>
In-Reply-To: <20150604145859.GA18626@LK-Perkele-VII>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/RyYrfKEUu-hClATqUwxnoOOyDDs>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 15:24:40 -0000

Hi Ilari:

Well, neither do deterministic signatures seem to help here: if one 
presumes k=f(m,d) and indeed finds that, for fixed public signature key, 
repeats of message m produce the same signature, this does not 
necessarily imply that f depends on private parameter d (for all one 
knows, k could only depend on public parameter m). This can only be 
detected if one prints the private parameter d in the spec. However, 
this does not say anything about behavior with "non-printed-in-the-spec" 
parameters.

Rene

On 6/4/2015 10:58 AM, Ilari Liusvaara wrote:
> On Thu, Jun 04, 2015 at 10:09:29AM -0400, Rene Struik wrote:
>
>> Note that the signature verification routine already provides virtually all
>> the mechanisms to implement these "self tests", so incremental implementation
>> cost would be virtually zero.
> The problem is that this only catches buggy generation of the signature
> once k is chosen (which one tends to quickly notice anyway, since nothing
> works properly). It does not catch buggy generation of k (which is much harder
> to notice and could easily lead to catastrophic failure).
>
>
> -Ilari


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


From nobody Thu Jun  4 09:15:10 2015
Return-Path: <dmjacobson@sbcglobal.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7ED5F1A9008 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 09:14:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.5
X-Spam-Level: 
X-Spam-Status: No, score=-1.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, GB_ABOUTYOU=0.5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uFHcVS8bmEyF for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 09:14:57 -0700 (PDT)
Received: from nm13-vm5.access.bullet.mail.gq1.yahoo.com (nm13-vm5.access.bullet.mail.gq1.yahoo.com [216.39.63.131]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0D8481A9006 for <cfrg@irtf.org>; Thu,  4 Jun 2015 09:14:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1433434494; bh=1Lmk4Rceov2+j9AFB0w/VH2iaxLm46PVVQCb9K2RPUo=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=knzmGFvL6NuQ6Hje3yw4ITb7EWkoqs+h+IM3q9JBCJjRr4n5F53saUB3MKYy5/vSV1o5aesUOdi4vb6/GT2GfP4BGVwxGnOcaood6yN+HGBPcFmaTi9drheZc/r3fwjBueXfm+B0ih8HQdnVheJ1bPmAjRtA1QQ8WxSmwC1DQX9elCHA3nSdag4hUSCc1jUt7jZffGQSUZvivrMhd6PcofazFuXFaLUPkwFjfTWRSzOFq2ZShtkqzXEcMUHT/MZDn6LVxTIBl8K73ydVTzVlL0mH2fbRpfbzlZI9Z8Lu+CT3WS6g4nrKUGS6HJr306mX/TjqlxsS+q8LPFhC06N/3A==
Received: from [216.39.60.169] by nm13.access.bullet.mail.gq1.yahoo.com with NNFMP; 04 Jun 2015 16:14:54 -0000
Received: from [67.195.23.147] by tm5.access.bullet.mail.gq1.yahoo.com with NNFMP; 04 Jun 2015 16:14:54 -0000
Received: from [127.0.0.1] by smtp119.sbc.mail.gq1.yahoo.com with NNFMP; 04 Jun 2015 16:14:54 -0000
X-Yahoo-Newman-Id: 649639.73385.bm@smtp119.sbc.mail.gq1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: lz9oMQoVM1l8eEtzXlwZwLBFbfFQxtjChW8nHa92KYi.7Od tLvwkIsY40Kj.gw0TTKjAwSQwXNw5vt_7__HKzwn_F6VpTVVqtpkXRl_nART 7T5ps10lIs.YCqnDjnpIybmnqnhv_DTpB_PA3Yk_VhDYovDhsurmcjtlwylx m5xoDjGQgJVxrjHBHn8rseIQ58Tf7cxKxCV9ie.cLZEtqrDjti0jpcYZHByw U5_0S3t.YSWXw1V6LLvNRuHOi907XTdYYQ52KjQgUYzx5kokLJ0Emm3LwA_j CC6JO.beZGiEmM.W_iWj21GMpIcBkMcWi4bQLgcWTMY4oCI4DOMsHUgWvS7j 5gnKipSp.4EZlddTrcev1mCMUqQO6EFj9C52JBE2IS1QdZVu1do0J39CJ3Z6 6cY8dJ03vOx5XCF_LIRT_NBznWVnrBMRC8JSfYDOu_pmht4JU4vkIp1Ry7kZ 0Ss8aAD1MabNulqvCxQqsH7srPz5YzH3H2Eu9Poe8HrUKP.AzK7nyngOnmqm Gn6tRgBMEmu5rMs06l2FvsRmJd2ahxvdVFW.wLOvHzDc1HSE14x6uOAG5
X-Yahoo-SMTP: nOrmCa6swBAE50FabWnlVFUpgFVJ9Gbi__8U5mpvhtQq7tTV1g--
Message-ID: <5570797D.7060209@sbcglobal.net>
Date: Thu, 04 Jun 2015 09:14:53 -0700
From: David Jacobson <dmjacobson@sbcglobal.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Rene Struik <rstruik.ext@gmail.com>,  Ilari Liusvaara <ilari.liusvaara@elisanet.fi>, Stephen Farrell <stephen.farrell@cs.tcd.ie>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie> <20150604065658.GA14531@LK-Perkele-VII> <55705235.6000501@gmail.com>
In-Reply-To: <55705235.6000501@gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/2w2qaUWfvunGiEFazosqJXuQCr4>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] square roots
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 16:14:58 -0000

If the field modulus p is congruent to 3 mod 4, one of the square roots 
of x can be computed by x^((p+1)/4) mod p, and the inverse can computed 
with x^(p-2) mod p.  Since the exponent is known, one does not need to 
worry about leaking bits of the exponent.  Underneath that, it is just 
multiplies and adds, and of those leak were are had anyway.

I don't see the problem.

      --David Jacobson


On 6/4/15 6:27 AM, Rene Struik wrote:
> Hi Ilari:
>
> Just curious about your side channel remarks: could you give an 
> example where side channel resistance of sqrt{x} is required? Wouldn't 
> this computation only arise if one were to uncompress points, or can 
> you give another example?
>
> Best regards, Rene
>
> where is On 6/4/2015 2:56 AM, Ilari Liusvaara wrote:
>> On Thu, Jun 04, 2015 at 12:04:49AM +0100, Stephen Farrell wrote:
>>> I'd hate to miss one of Alexey's polls:-)
>>>
>>> I'm almost neutral on this one. While we have historically preferred
>>> #1 for the reason noted in the subject line, there are really very few
>>> cases where that turns out to be a real issue, as opposed to being a
>>> theoretical one.
>>>
>>> So I think we could probably live with #2, and that could suffice for
>>> TLS and DNSSEC and other applications, even though #2 would mean
>>> that users of the signature scheme (e.g. IETF protocol developers) may
>>> need to learn something new, which is a downside.
>>>
>>> While #3 seems superficially attractive, my guess is it'd cause more
>>> confusion and interop issues, and is of course offering a choice to
>>> users of the scheme and so I don't like that one:-)
>> Having an option of hashing the message first (with an indication that
>> message was prehashed or even what hash was used) would be #3.
>>
>> Conversely, that would be the most reasonable implementation of #3.
>>
>> The reason for including hash function is to guard against trying to
>> confuse implementations over what hash function is used, allowing
>> forging signatures using stronger hashes by abusing weaker ones. The
>> internal hash function is much less of concern due to natural
>> strengthtening from hashing in various things derived from key.
>>
>>
>>> So put me down for (#2 or #1) for this one, with a very very tiny
>>> preference for #2 and documenting that one ought not use this for
>>> signing large things directly (which one probably ought not do in any
>>> case). But #1 would also be an acceptable outcome from my POV since
>>> we're in practice already dependent on the collision resistance of
>>> all the relevant hash functions and that won't ever really go away
>>> as long as there are RSA/SHA256 certificates out there which'll be
>>> the case for years and maybe decades to come. So the security
>>> benefit of #2 isn't so great, although it's real.
>> The problem with #1 isn't so much the CR requirement, but what it will
>> do to implementation safety:
>>
>> Basically, it is difficult to do #1 without either:
>> - Prehashing the message with something capabile of signing much larger
>>    things. Adding an indication that this prehash has been done would 
>> give
>>    #3).
>> - Making scheme that is dangerous by breaking basic safety.
>>
>>
>> The basic safety requirements I am thinking are:
>>
>> 1) Determinism.
>>
>> The scheme is fully deterministic.
>>
>> Breaking this makes the implementations very hard to test.
>>
>> 2) No random/unpredictable inputs except key.
>>
>> No input to functions except key may be assumed random in any way nor
>> unpredictable.
>>
>> Breaking this makes primitive easy to misuse in ways that cause
>> catastrophic breakage (reveal signing private key).
>>
>> 3) No scalar inversions or square roots for signature
>>
>> Signing must not need computing 1/x mod l or sqrt(x) mod l.
>>
>> Breaking this doesn't just make scheme slow, but also causes severe
>> side-channel hazards.
>>
>> And sidechannels matter: Modern CPUs and OSes are ridiculously 
>> vulernable,
>> with attackers capable of exploiting such bugs across virtual 
>> machines on
>> the same physical hardware.
>>
>> 4) No nonces in main mode
>>
>> The main mode may not assume any input is not repeated.
>>
>> Breaking this again makes scheme easy to misuse with very bad results
>> (hopefully anything using special modes will read the caveats).
>>
>>
>> Breaking any of these will cause real-world failures, as has been
>> demonstrated many times by ECDSA.
>>
>>
>> -Ilari
>>
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> http://www.irtf.org/mailman/listinfo/cfrg
>
>


From nobody Thu Jun  4 09:25:26 2015
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 9A1531A905A for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 09:25:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.399
X-Spam-Level: 
X-Spam-Status: No, score=-0.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, J_CHICKENPOX_47=0.6, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pcHrOZConJLw for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 09:25:22 -0700 (PDT)
Received: from mail-wg0-x22f.google.com (mail-wg0-x22f.google.com [IPv6:2a00:1450:400c:c00::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A23FC1A8FD5 for <cfrg@irtf.org>; Thu,  4 Jun 2015 09:25:21 -0700 (PDT)
Received: by wgbgq6 with SMTP id gq6so37735010wgb.3 for <cfrg@irtf.org>; Thu, 04 Jun 2015 09:25: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 :cc:content-type; bh=bvLXgOfT0CVEjrwkWD5PAGd1B3BXcdy4861x0BtW+44=; b=EOBX6H0tCgTKd2K3WX7HUObDCAYWvdBy08uqkWDUnq8m6aqHwQBwbnp/U0CUonKcxl QupAUVL532pxUVpjHdg4hSB3KvwoQLt4kIQoD6uFp7Dv4lFQBwixnB/SydZ8RHS6I9F/ PS3gyYWG2ivCXlXgG+70sqoAbxjynetFmmqmKACEDxCgc4Dy6tmK9sJLkvbzON/lzClk 772rzjfxYe2n7sdJAjqWIpgzn6hHygZcEKhavkW6YEPHW7vrX0I/j7xsvJ+Psm8ZnBlm oE5R18Ujnk9hjsBIRSSHzXTo2o42tcQRTOM6tkQjuq6sNb7BNVnYWjcm9QqyAGe9Ma7q g9RA==
MIME-Version: 1.0
X-Received: by 10.194.248.227 with SMTP id yp3mr71244018wjc.32.1433435120368;  Thu, 04 Jun 2015 09:25:20 -0700 (PDT)
Received: by 10.194.20.97 with HTTP; Thu, 4 Jun 2015 09:25:20 -0700 (PDT)
In-Reply-To: <55706DA2.4080106@gmail.com>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie> <20150604065658.GA14531@LK-Perkele-VII> <55705C19.4040600@gmail.com> <20150604145859.GA18626@LK-Perkele-VII> <55706DA2.4080106@gmail.com>
Date: Thu, 4 Jun 2015 09:25:20 -0700
Message-ID: <CACsn0c=JJ3jybcU3myP=Y8m7jdfAxtLhDzRNQQbg1gaMgt0kfA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Rene Struik <rstruik.ext@gmail.com>
Content-Type: multipart/alternative; boundary=089e0141a840288b2e0517b39f70
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/mrbo3_LMGGezqzEuAoGzPLdTM8o>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 16:25:23 -0000

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

On Thu, Jun 4, 2015 at 8:24 AM, Rene Struik <rstruik.ext@gmail.com> wrote:

> Hi Ilari:
>
> Well, neither do deterministic signatures seem to help here: if one
> presumes k=f(m,d) and indeed finds that, for fixed public signature key,
> repeats of message m produce the same signature, this does not necessarily
> imply that f depends on private parameter d (for all one knows, k could
> only depend on public parameter m). This can only be detected if one prints
> the private parameter d in the spec. However, this does not say anything
> about behavior with "non-printed-in-the-spec" parameters.


No, the spec specifies a function sign(message, private_key) that returns a
signature. Because it specifies the function completely (defines the
function), it's possible to provide message, private_key pairs and require
the output to be a specific form. The functionality tested this way is
exactly the functionality used.


>
>
> Rene
>
> On 6/4/2015 10:58 AM, Ilari Liusvaara wrote:
>
>> On Thu, Jun 04, 2015 at 10:09:29AM -0400, Rene Struik wrote:
>>
>>  Note that the signature verification routine already provides virtually
>>> all
>>> the mechanisms to implement these "self tests", so incremental
>>> implementation
>>> cost would be virtually zero.
>>>
>> The problem is that this only catches buggy generation of the signature
>> once k is chosen (which one tends to quickly notice anyway, since nothing
>> works properly). It does not catch buggy generation of k (which is much
>> harder
>> to notice and could easily lead to catastrophic failure).
>>
>>
>> -Ilari
>>
>
>
> --
> email: rstruik.ext@gmail.com | Skype: rstruik
> cell: +1 (647) 867-5658 | US: +1 (415) 690-7363
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>



-- 
"Man is born free, but everywhere he is in chains".
--Rousseau.

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, Jun 4, 2015 at 8:24 AM, Rene Struik <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:rstruik.ext@gmail.com" target=3D"_blank">rstruik.ext@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">Hi Ilari:<br>
<br>
Well, neither do deterministic signatures seem to help here: if one presume=
s k=3Df(m,d) and indeed finds that, for fixed public signature key, repeats=
 of message m produce the same signature, this does not necessarily imply t=
hat f depends on private parameter d (for all one knows, k could only depen=
d on public parameter m). This can only be detected if one prints the priva=
te parameter d in the spec. However, this does not say anything about behav=
ior with &quot;non-printed-in-the-spec&quot; parameters.</blockquote><div><=
br></div><div>No, the spec specifies a function sign(message, private_key) =
that returns a signature. Because it specifies the function completely (def=
ines the function), it&#39;s possible to provide message, private_key pairs=
 and require the output to be a specific form. The functionality tested thi=
s way is exactly the functionality used.</div><div>=C2=A0</div><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex"><span><font color=3D"#888888"><br>
<br>
Rene</font></span><span><br>
<br>
On 6/4/2015 10:58 AM, Ilari Liusvaara wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
On Thu, Jun 04, 2015 at 10:09:29AM -0400, Rene Struik wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Note that the signature verification routine already provides virtually all=
<br>
the mechanisms to implement these &quot;self tests&quot;, so incremental im=
plementation<br>
cost would be virtually zero.<br>
</blockquote>
The problem is that this only catches buggy generation of the signature<br>
once k is chosen (which one tends to quickly notice anyway, since nothing<b=
r>
works properly). It does not catch buggy generation of k (which is much har=
der<br>
to notice and could easily lead to catastrophic failure).<br>
<br>
<br>
-Ilari<br>
</blockquote>
<br>
<br></span><span>
-- <br>
email: <a href=3D"mailto:rstruik.ext@gmail.com" target=3D"_blank">rstruik.e=
xt@gmail.com</a> | Skype: rstruik<br>
cell: <a href=3D"tel:%2B1%20%28647%29%20867-5658" value=3D"+16478675658" ta=
rget=3D"_blank">+1 (647) 867-5658</a> | US: <a href=3D"tel:%2B1%20%28415%29=
%20690-7363" value=3D"+14156907363" target=3D"_blank">+1 (415) 690-7363</a>=
<br>
<br></span><div><div>
_______________________________________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.org</a><br>
<a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" target=3D"_blank">htt=
p://www.irtf.org/mailman/listinfo/cfrg</a><br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
<div>&quot;Man is born free, but everywhere he is in chains&quot;.<br>--Rou=
sseau.</div>
</div></div>

--089e0141a840288b2e0517b39f70--


From nobody Thu Jun  4 09:38:15 2015
Return-Path: <campbell@mumble.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E6021A90A0 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 09:38:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level: 
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vxciatOQPIj9 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 09:38:12 -0700 (PDT)
Received: from jupiter.mumble.net (jupiter.mumble.net [74.50.56.165]) by ietfa.amsl.com (Postfix) with ESMTP id 7459A1A9063 for <cfrg@irtf.org>; Thu,  4 Jun 2015 09:38:12 -0700 (PDT)
Received: by jupiter.mumble.net (Postfix, from userid 1014) id 8D164605E8; Thu,  4 Jun 2015 16:37:16 +0000 (UTC)
From: Taylor R Campbell <campbell+cfrg@mumble.net>
To: Rene Struik <rstruik.ext@gmail.com>
In-reply-to: <55706DA2.4080106@gmail.com> (rstruik.ext@gmail.com)
Date: Thu, 4 Jun 2015 16:38:11 +0000
Sender: Taylor R Campbell <campbell@mumble.net>
User-Agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/9.1.99
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20150604163716.8D164605E8@jupiter.mumble.net>
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/k6_i-FvKNKccP-7STgXzV8RzTRo>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 16:38:14 -0000

   Date: Thu, 04 Jun 2015 11:24:18 -0400
   From: Rene Struik <rstruik.ext@gmail.com>

   Well, neither do deterministic signatures seem to help here: if one 
   presumes k=f(m,d) and indeed finds that, for fixed public signature key, 
   repeats of message m produce the same signature, this does not 
   necessarily imply that f depends on private parameter d (for all one 
   knows, k could only depend on public parameter m). This can only be 
   detected if one prints the private parameter d in the spec. However, 
   this does not say anything about behavior with "non-printed-in-the-spec" 
   parameters.

How do you write a test vector for signing without including the
signing key?

For a deterministic scheme, test vectors of the form

(secret key, message, signature)

verify correctness of the complete signing operation.

For a nondeterministic scheme, test vectors of the form

(secret key, message, nonce, signature)

verify only correctness of the deterministic part of the signing
operation, and cannot verify correctness of nonce generation.  For
RSASSA-PSS, `nonce' generation is inconsequential for security; for
ECDSA, nonce generation makes or breaks it.


From nobody Thu Jun  4 09:50:34 2015
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 402E91B35B9 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 09:50:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.401
X-Spam-Level: 
X-Spam-Status: No, score=-1.401 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, GB_ABOUTYOU=0.5, RCVD_IN_DNSWL_NONE=-0.0001, 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 poCeVgiIUuQY for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 09:50:32 -0700 (PDT)
Received: from emh03.mail.saunalahti.fi (emh03.mail.saunalahti.fi [62.142.5.109]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E3A231B35B6 for <cfrg@irtf.org>; Thu,  4 Jun 2015 09:50:31 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh03.mail.saunalahti.fi (Postfix) with ESMTP id AA2DE18879B; Thu,  4 Jun 2015 19:50:28 +0300 (EEST)
Date: Thu, 4 Jun 2015 19:50:28 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: David Jacobson <dmjacobson@sbcglobal.net>
Message-ID: <20150604165028.GA20115@LK-Perkele-VII>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie> <20150604065658.GA14531@LK-Perkele-VII> <55705235.6000501@gmail.com> <5570797D.7060209@sbcglobal.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <5570797D.7060209@sbcglobal.net>
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/W8MC9aLcqc-P7sJsgz1hMtNKsdQ>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] square roots
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 16:50:33 -0000

On Thu, Jun 04, 2015 at 09:14:53AM -0700, David Jacobson wrote:
> On 6/4/15 6:27 AM, Rene Struik wrote:
> >Hi Ilari:
> >
> >Just curious about your side channel remarks: could you give an example
> >where side channel resistance of sqrt{x} is required? Wouldn't this
> >computation only arise if one were to uncompress points, or can you give
> >another example?
> >
>
> If the field modulus p is congruent to 3 mod 4, one of the square roots of x
> can be computed by x^((p+1)/4) mod p, and the inverse can computed with
> x^(p-2) mod p.  Since the exponent is known, one does not need to worry
> about leaking bits of the exponent.  Underneath that, it is just multiplies
> and adds, and of those leak were are had anyway.

I was talking about l, not p (even ECDH needs constant-time 1/x mod p,
and sqrt(x) mod p pretty much only pops up in point decompression, which
is verification side).


Sqrt(x) mod l: l can be 1 mod 8, even for p 3 mod 4 (e.g. Curve41417).
Fortunately, no signature primitive seems to use sqrt(x) mod l for anything.

1/x mod l: x^(l-2) mod l does work, but is pretty slow (there are more multiples
and each multiply is slower than with 1/x mod p). ECDSA does have this when
signing (it inverts secret k), easily creating side channels when unsafe methods
(e.g. EGCD) are used.



-Ilari


From nobody Thu Jun  4 09:59:27 2015
Return-Path: <derek@ihtfp.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6CB191A0067 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 09:59:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.5
X-Spam-Level: 
X-Spam-Status: No, score=-1.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, GB_ABOUTYOU=0.5] 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 P7nJ-2yZfBAw for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 09:59:25 -0700 (PDT)
Received: from mail2.ihtfp.org (mail2.ihtfp.org [IPv6:2001:4830:143:1::3a11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9BF701A0066 for <cfrg@irtf.org>; Thu,  4 Jun 2015 09:59:25 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id C85B2E2036; Thu,  4 Jun 2015 12:59:23 -0400 (EDT)
Received: from mail2.ihtfp.org ([127.0.0.1]) by localhost (mail2.ihtfp.org [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 01814-08; Thu,  4 Jun 2015 12:59:21 -0400 (EDT)
Received: from securerf.ihtfp.org (unknown [IPv6:fe80::ea2a:eaff:fe7d:235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mocana.ihtfp.org", Issuer "IHTFP Consulting Certification Authority" (verified OK)) by mail2.ihtfp.org (Postfix) with ESMTPS id 99657E2035; Thu,  4 Jun 2015 12:59:21 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1433437161; bh=vmmpGzgRDvYb3veSXFMx6tIXlHd131wHTDONuw2uQEU=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=AVXy0nasiQC2vk0G4ASp3KCtlO0o8Y9ybs3wOkkbHC3YFJh/DvDY1JbNLTCH3s4y7 jj2fxnxuwX7YnYjimvpFnPyJBrc6ejNSPjhpUicImMthb5CutTyt1feFwVHWxdv8Hy ZYrdD0LBn+rH+cGDbM5Bzg7aSR+pNmzvbCoG9fus=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.14.8/8.14.8/Submit) id t54GxKaU032229; Thu, 4 Jun 2015 12:59:20 -0400
From: Derek Atkins <derek@ihtfp.com>
To: Rene Struik <rstruik.ext@gmail.com>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie> <20150604065658.GA14531@LK-Perkele-VII> <55705C19.4040600@gmail.com>
Date: Thu, 04 Jun 2015 12:59:20 -0400
In-Reply-To: <55705C19.4040600@gmail.com> (Rene Struik's message of "Thu, 04 Jun 2015 10:09:29 -0400")
Message-ID: <sjma8wfe7fb.fsf@securerf.ihtfp.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/WoVC-aIsY1hI3KZ6mbCVUncRqJg>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 16:59:26 -0000

Rene Struik <rstruik.ext@gmail.com> writes:

> Hi Ilari:
>
> Just curious about your remark that deterministic signatures would
> allow for easier testability.
>
> I don't know how these tests would exactly look like, but I presume
> these take as input some messages and public keys written in a spec
> and then checking whether the signature output is indeed as listed in
> the spec for the corresponding message/public key pairs {let us assume
> that these test parameters have been confirmed independently, prior to

No, you would publish the *PRIVATE* key, the message, and the signature,
so that you could verify that your implementation generates the exact
same signature given the exact same inputs.

You could theoretically do this with a non-deterministic scheme as well
if you also publish the random nonces along with the private key
parameters.  But having a deterministic signature scheme is better,
IMHO, because frankly some devices don't have a good source of random
numbers.

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


From nobody Thu Jun  4 10:00:30 2015
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 9B38F1A0100 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 10:00:28 -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 68d-0OoBFGbM for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 10:00:27 -0700 (PDT)
Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CD70A1A0067 for <cfrg@irtf.org>; Thu,  4 Jun 2015 10:00:23 -0700 (PDT)
Received: by igbsb11 with SMTP id sb11so44129728igb.0 for <cfrg@irtf.org>; Thu, 04 Jun 2015 10:00:23 -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:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Q28FvqHt638jg4lccHIMY1x4jqAKe8iKTOXo7eAqMDQ=; b=T4Ku03s8CFP2x5tlvbtIG7qSAhSeK97EeBSjh45P3sNv0MKnrkNreeuKVOxXcFIJ1P 0GnhfPSAn7Iwhpanr+AdgtBN/XDiF23jQBFd1YxEmgtWZrub4ja/2dVN/k2SR3A0R1ZJ Yw/X0KsbczdT3k9gyPc5cb9D9oOzaEJLVvfgBs0GzNx19oSTuR0Z5whqv7nsGnyuu4wE 0gWbhDdK5yrWJE0MYWcQ/4eyG4bD3WTYkndd2n6hm/RMZsam7ne0QSOyf35WKsj3DzZ7 U09ecNyuP2u3Ctulu7mgOY30eWMSGeDZqyQE5nZQ0oakPlWFkZ6gaboBNmIFJqQYue1a R0GA==
X-Received: by 10.107.15.149 with SMTP id 21mr50825274iop.44.1433437223355; Thu, 04 Jun 2015 10:00:23 -0700 (PDT)
Received: from [192.168.0.14] (CPE7cb21b2cb904-CM7cb21b2cb901.cpe.net.cable.rogers.com. [99.231.49.38]) by mx.google.com with ESMTPSA id d4sm1544883iod.17.2015.06.04.10.00.22 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jun 2015 10:00:22 -0700 (PDT)
Message-ID: <55708413.6010404@gmail.com>
Date: Thu, 04 Jun 2015 13:00:03 -0400
From: Rene Struik <rstruik.ext@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Taylor R Campbell <campbell+cfrg@mumble.net>
References: <20150604163716.8D164605E8@jupiter.mumble.net>
In-Reply-To: <20150604163716.8D164605E8@jupiter.mumble.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/oQRZbsQYZlwhkKiCF9aDRTjnymI>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 17:00:28 -0000

This only verifies that the implementation outputs behavior consistent 
with what is written in the spec. It does not verify correctness for any 
other input or for a non-exposed signing key {an implementation could 
simply include a table look-up for "CFRG test vectors" and do its own 
thing otherwise (and you would not catch this...)}. This illustrates the 
limited value of such tests. Comparing test results with a handful of 
printed values in a spec is *not* the same as validating the proper 
functioning of an implementation module.

On 6/4/2015 12:38 PM, Taylor R Campbell wrote:
>     Date: Thu, 04 Jun 2015 11:24:18 -0400
>     From: Rene Struik <rstruik.ext@gmail.com>
>
>     Well, neither do deterministic signatures seem to help here: if one
>     presumes k=f(m,d) and indeed finds that, for fixed public signature key,
>     repeats of message m produce the same signature, this does not
>     necessarily imply that f depends on private parameter d (for all one
>     knows, k could only depend on public parameter m). This can only be
>     detected if one prints the private parameter d in the spec. However,
>     this does not say anything about behavior with "non-printed-in-the-spec"
>     parameters.
>
> How do you write a test vector for signing without including the
> signing key?
>
> For a deterministic scheme, test vectors of the form
>
> (secret key, message, signature)
>
> verify correctness of the complete signing operation.

>
> For a nondeterministic scheme, test vectors of the form
>
> (secret key, message, nonce, signature)
>
> verify only correctness of the deterministic part of the signing
> operation, and cannot verify correctness of nonce generation.  For
> RSASSA-PSS, `nonce' generation is inconsequential for security; for
> ECDSA, nonce generation makes or breaks it.


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


From nobody Thu Jun  4 10:13:11 2015
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 F324F1A1A60 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 10:13:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.555
X-Spam-Level: *
X-Spam-Status: No, score=1.555 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uAvDyPfLzl9H for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 10:13:06 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2BEBA1A1A5D for <cfrg@irtf.org>; Thu,  4 Jun 2015 10:13:06 -0700 (PDT)
Received: from [192.168.1.102] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 4D20A3A9C4; Thu,  4 Jun 2015 10:11:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1433437874; bh=1cvfXyj4n3P8ZyHd0Zd1p2U+/1IqTux04aQJyt8Pvdg=; h=Date:From:To:CC:Subject:References:In-Reply-To:From; b=B6E/gtoxV4fhKGMNHeVsUCKoK98lry6DMQpJLGCM/Jf4sKk/NJOg7W55fmM/ANgdY MIISzC5DUoIipm7Prdq4MVLMQl8pHnAs9KPrYTa4e0+VogE7s/VLt+r9M9Khd9i+fA w1SxzqzBfANDkCsDb4Rox31VF0/WgyxXX/mSRhrg=
Message-ID: <5570871E.7090907@shiftleft.org>
Date: Thu, 04 Jun 2015 10:13:02 -0700
From: Mike Hamburg <mike@shiftleft.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Rene Struik <rstruik.ext@gmail.com>,  Taylor R Campbell <campbell+cfrg@mumble.net>
References: <20150604163716.8D164605E8@jupiter.mumble.net> <55708413.6010404@gmail.com>
In-Reply-To: <55708413.6010404@gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/0YFyCPpX4xhKoWgg9VabQeRtBIw>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 17:13:09 -0000

Rene,

Your quibble is true for any testing scheme.  Public test vectors in a 
spec aren't for proving that a piece of software is free of hidden 
faults.  They are for software authors checking that their 
honestly-written software does at least roughly the right thing, at 
least some fraction of the time.  An evaluator can also use their own 
test vectors to defeat a "CFRG lookup table", but that still does not 
prove the absence of backdoors.

Obviously the coverage you get from this varies by primitive, so AES is 
more testable than signing.  Fine.  But specifying deterministic 
signatures still improves testability, to a degree that will be useful 
in the real world.

-- Mike

On 06/04/2015 10:00 AM, Rene Struik wrote:
> This only verifies that the implementation outputs behavior consistent 
> with what is written in the spec. It does not verify correctness for 
> any other input or for a non-exposed signing key {an implementation 
> could simply include a table look-up for "CFRG test vectors" and do 
> its own thing otherwise (and you would not catch this...)}. This 
> illustrates the limited value of such tests. Comparing test results 
> with a handful of printed values in a spec is *not* the same as 
> validating the proper functioning of an implementation module.
>
> On 6/4/2015 12:38 PM, Taylor R Campbell wrote:
>>     Date: Thu, 04 Jun 2015 11:24:18 -0400
>>     From: Rene Struik <rstruik.ext@gmail.com>
>>
>>     Well, neither do deterministic signatures seem to help here: if one
>>     presumes k=f(m,d) and indeed finds that, for fixed public 
>> signature key,
>>     repeats of message m produce the same signature, this does not
>>     necessarily imply that f depends on private parameter d (for all one
>>     knows, k could only depend on public parameter m). This can only be
>>     detected if one prints the private parameter d in the spec. However,
>>     this does not say anything about behavior with 
>> "non-printed-in-the-spec"
>>     parameters.
>>
>> How do you write a test vector for signing without including the
>> signing key?
>>
>> For a deterministic scheme, test vectors of the form
>>
>> (secret key, message, signature)
>>
>> verify correctness of the complete signing operation.
>
>>
>> For a nondeterministic scheme, test vectors of the form
>>
>> (secret key, message, nonce, signature)
>>
>> verify only correctness of the deterministic part of the signing
>> operation, and cannot verify correctness of nonce generation. For
>> RSASSA-PSS, `nonce' generation is inconsequential for security; for
>> ECDSA, nonce generation makes or breaks it.
>
>


From nobody Thu Jun  4 10:20:17 2015
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 B56001A1BAE for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 10:20:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.5
X-Spam-Level: 
X-Spam-Status: No, score=-1.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, GB_ABOUTYOU=0.5, 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 iWPorjjj39kM for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 10:20:14 -0700 (PDT)
Received: from mail-wg0-x232.google.com (mail-wg0-x232.google.com [IPv6:2a00:1450:400c:c00::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 679361A1B9E for <cfrg@irtf.org>; Thu,  4 Jun 2015 10:20:14 -0700 (PDT)
Received: by wgv5 with SMTP id 5so38851975wgv.1 for <cfrg@irtf.org>; Thu, 04 Jun 2015 10:20:13 -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=5ifFo1CmYAQy9XEmAkFcY0arrKDHV0CTebd8ZTLNdAk=; b=Oexpn9cIBMpSQ+crcfrmFa815HdGyHFypjAjW6UPCCyZv3PqufvGsolyLPYfeTIXVV 5lbQt58ZBjpBJHK/ymepLQr+kgzdkAv84xA+1nMJx6dRmnsVKuWMlJnFXuzhDCJkoEpN YDaY7gyT3doEAqMmySXjhYRg7VqZF+dLw+8BuHncjw6vY5Us5O+qjNjHy5RzHxIggASv JOOQWbAawFLJajsd63adOoxkZyda1zMU7FCWoL6EtRsydcp8gbNpP1UaY9YpYgrhKQhr AVcBroMEPzVdLaJQREbL3Y6kRJTooOnWIV9rbs2EhzpnYWG7TNcXGqnjSGUrNTzo3p8H iYog==
X-Received: by 10.180.106.6 with SMTP id gq6mr9870775wib.39.1433438413200; Thu, 04 Jun 2015 10:20:13 -0700 (PDT)
Received: from [192.168.1.17] ([46.120.13.132]) by mx.google.com with ESMTPSA id ei8sm6651648wjd.32.2015.06.04.10.20.11 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Jun 2015 10:20:11 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <sjma8wfe7fb.fsf@securerf.ihtfp.org>
Date: Thu, 4 Jun 2015 20:20:10 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <ADC710F2-7E7F-4A14-8649-ACA60FADE03B@gmail.com>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie> <20150604065658.GA14531@LK-Perkele-VII> <55705C19.4040600@gmail.com> <sjma8wfe7fb.fsf@securerf.ihtfp.org>
To: Derek Atkins <derek@ihtfp.com>
X-Mailer: Apple Mail (2.2098)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/d7S8YnXNu2Onbki6-EcoJwN11p4>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 17:20:15 -0000

> On Jun 4, 2015, at 7:59 PM, Derek Atkins <derek@ihtfp.com> wrote:
>=20
> Rene Struik <rstruik.ext@gmail.com> writes:
>=20
>> Hi Ilari:
>>=20
>> Just curious about your remark that deterministic signatures would
>> allow for easier testability.
>>=20
>> I don't know how these tests would exactly look like, but I presume
>> these take as input some messages and public keys written in a spec
>> and then checking whether the signature output is indeed as listed in
>> the spec for the corresponding message/public key pairs {let us =
assume
>> that these test parameters have been confirmed independently, prior =
to
>=20
> No, you would publish the *PRIVATE* key, the message, and the =
signature,
> so that you could verify that your implementation generates the exact
> same signature given the exact same inputs.
>=20
> You could theoretically do this with a non-deterministic scheme as =
well
> if you also publish the random nonces along with the private key
> parameters.  But having a deterministic signature scheme is better,
> IMHO, because frankly some devices don't have a good source of random
> numbers.

I agree. Additionally, that test with provided nonces forces you to have =
aa special test path in your code.

Normally, your cryptographic library wouldn=E2=80=99t expose to the user =
that it is using random input. Consider OpenSSL=E2=80=99s ECDSA signing =
function:
  ECDSA_SIG*     ECDSA_do_sign(const unsigned char *dgst, int dgst_len, =
EC_KEY *eckey);

Internally this function calls whatever random number generator is =
either part of the library or used by it, but the user doesn=E2=80=99t =
need to worry about it.

Once you have the need to test, you need a new function. OpenSSL has =
that as well:
  ECDSA_SIG*     ECDSA_do_sign_ex(const unsigned char *dgst, int =
dgstlen,=20
                        const BIGNUM *kinv, const BIGNUM *rp,
                        EC_KEY *eckey);

The application doesn=E2=80=99t call this second function. It calls the =
first function. So you=E2=80=99re testing a function that is different =
from the one that you are testing.

That=E2=80=99s an artifact of having to test randomized signatures. =
There is no equivalent for, say, RSA.

Yoav

P.S. Yes, I know that the first function just calls the second function, =
and that the second function generates randoms if kinv and rp are NULL. =
But this expanded API would not exist if not for the need of testing.



From nobody Thu Jun  4 11:36:36 2015
Return-Path: <nico@cryptonector.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 88B8D1A885D for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 11:36:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.666
X-Spam-Level: 
X-Spam-Status: No, score=-1.666 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3YH0QrZlCrlg for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 11:36:34 -0700 (PDT)
Received: from homiemail-a106.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id EE4471A8861 for <cfrg@irtf.org>; Thu,  4 Jun 2015 11:36:33 -0700 (PDT)
Received: from homiemail-a106.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a106.g.dreamhost.com (Postfix) with ESMTP id A91D82005D006; Thu,  4 Jun 2015 11:36:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=T2m2UsqT7VuUwU AbzpLthGNzK2M=; b=xvDaUNLRHhVtwGXuDG1i72Vbcvf1+raJstRGlNV/c1oZJ3 5KVeyZFb8SNlKZUu5/aapgHqS88Eh9cnFzt0A9+E4nmDxFBykFzjOokVD8hhd/Dv LYgdaXJCZmyiQ1J2/1UJGUxDuoiajo6W3hYUuCKEJHJlmSq1VD71xVglWjsr8=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a106.g.dreamhost.com (Postfix) with ESMTPA id 1D57B2005D005; Thu,  4 Jun 2015 11:36:33 -0700 (PDT)
Date: Thu, 4 Jun 2015 13:36:32 -0500
From: Nico Williams <nico@cryptonector.com>
To: Rene Struik <rstruik.ext@gmail.com>
Message-ID: <20150604183631.GL18760@localhost>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie> <20150604065658.GA14531@LK-Perkele-VII> <55705C19.4040600@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <55705C19.4040600@gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/4F1uDeuCBccjw5nWOVCUhY9k-fY>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 18:36:34 -0000

On Thu, Jun 04, 2015 at 10:09:29AM -0400, Rene Struik wrote:
> [...]

It isn't possible to write test vectors for non-deterministic signature
schemes unless you expose PRNG state or nonce inputs as explicit
arguments to the API.  Regardless of whether one chooses to do that or
not, non-deterministic signature schemes whose security falls apart when
nonces are reused (or are predictable) is a really bad idea.

Anyways, we've already determined that we have consensus in favor of
deterministic signature schemes.  You could ask that that matter be
re-opened, but first re-read the threads that led there.

Nico
-- 


From nobody Thu Jun  4 11:39:58 2015
Return-Path: <nico@cryptonector.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8AA341A8866 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 11:39:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.233
X-Spam-Level: 
X-Spam-Status: No, score=0.233 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cul73Anumaa9 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 11:39:54 -0700 (PDT)
Received: from homiemail-a113.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id EDE341A8865 for <cfrg@irtf.org>; Thu,  4 Jun 2015 11:39:53 -0700 (PDT)
Received: from homiemail-a113.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a113.g.dreamhost.com (Postfix) with ESMTP id CFC0B2006000F; Thu,  4 Jun 2015 11:39:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=1WlyWKl/T4a7Ae F/CTLfBS3o/DY=; b=BUEQiNyQuNCgQgyf9YSXHbz/ne+1GDi9h28WND+cJYc7sd DN9Jsnn4CoWtXIN31zZm+TyLEdd4YZAeeHGT+l25UYp92g9YKzl5ULtAdENVAN/3 fCdvlIzwIOeAQEZEdvpyvPGo6Ul3k0dowkw6t+7Dvb4B+WBmr5D7pOg5/F/Z0=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a113.g.dreamhost.com (Postfix) with ESMTPA id 984A720058F37; Thu,  4 Jun 2015 11:39:52 -0700 (PDT)
Date: Thu, 4 Jun 2015 13:39:51 -0500
From: Nico Williams <nico@cryptonector.com>
To: Mike Hamburg <mike@shiftleft.org>
Message-ID: <20150604183950.GM18760@localhost>
References: <20150604163716.8D164605E8@jupiter.mumble.net> <55708413.6010404@gmail.com> <5570871E.7090907@shiftleft.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5570871E.7090907@shiftleft.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/G3-RWmViU9n5hAYpcz12jMEt9o4>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 18:39:54 -0000

On Thu, Jun 04, 2015 at 10:13:02AM -0700, Mike Hamburg wrote:
> Obviously the coverage you get from this varies by primitive, so AES
> is more testable than signing.  Fine.  But specifying deterministic
> signatures still improves testability, to a degree that will be
> useful in the real world.

Deterministic signatures do much more than make it easier to test
implementations: they also remove hidden state and/or dependency on
TRNGs (and in the process, one more possible place to check has no side
channels).  This is a big deal.  Tests shows the implementation works,
and determinism shows the implementation should continue to work when
used in production.

Nico
-- 


From nobody Thu Jun  4 12:21:56 2015
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 92B911A8961 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 12:21:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ofFNGNxiJM5A for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 12:21:54 -0700 (PDT)
Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DF1381A8952 for <cfrg@irtf.org>; Thu,  4 Jun 2015 12:21:53 -0700 (PDT)
Received: by igblz2 with SMTP id lz2so46801733igb.1 for <cfrg@irtf.org>; Thu, 04 Jun 2015 12:21:53 -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:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=JK9Gnruv1IsuPH1Gd3b0lcsRxSbJnbp015Yf87a5ELs=; b=hxJFg/BFiKUrNMTfF5Xm09MlMT/URUW8rNsDoqH+fsBw5/TtBAh8bgTiEZMjGbOmxv Eg2ONICKb/lFa9NuuUa8A089BxqsEdHru1FWmoaRlYMThUzN6wbvBO4SWJ9vMH98zRW7 J7aKyGlTH24dgJvkpYmOcrxkAKn578JGr6o1MnJEHpg5hSYslELUrBUPOSjZGOxi3WaG 9DdXar1XGSJYC06fw4tHcF1LsJEDRelTkJGMjY8U9iDVrtRwvXetT17ZLElJ4yEG24NO ybHmjOyo11eYlLcb8oJMYsMchsqwPu6rVXxmbwFp+k4yTwOgxnN3NpteQlQVs5FXwVQV s0yg==
X-Received: by 10.107.132.87 with SMTP id g84mr21552915iod.25.1433445713371; Thu, 04 Jun 2015 12:21:53 -0700 (PDT)
Received: from [192.168.0.14] (CPE7cb21b2cb904-CM7cb21b2cb901.cpe.net.cable.rogers.com. [99.231.49.38]) by mx.google.com with ESMTPSA id x4sm1768854iod.26.2015.06.04.12.21.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jun 2015 12:21:52 -0700 (PDT)
Message-ID: <5570A53D.7020207@gmail.com>
Date: Thu, 04 Jun 2015 15:21:33 -0400
From: Rene Struik <rstruik.ext@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Nico Williams <nico@cryptonector.com>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie> <20150604065658.GA14531@LK-Perkele-VII> <55705C19.4040600@gmail.com> <20150604183631.GL18760@localhost>
In-Reply-To: <20150604183631.GL18760@localhost>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/cuTcwUDjWU96yHOIAdNOWtCjV6o>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 19:21:55 -0000

I think one lesson one can draw from "piecemeal polls" is that it might 
make it harder to consider system-wide trade-offs.

Hence, the questions in my email of yesterday, June 3, 2015, 5.14pm EDT, 
see http://www.ietf.org/mail-archive/web/cfrg/current/msg06875.html. I 
think these still stand.

Rene

On 6/4/2015 2:36 PM, Nico Williams wrote:
> On Thu, Jun 04, 2015 at 10:09:29AM -0400, Rene Struik wrote:
>> [...]
> It isn't possible to write test vectors for non-deterministic signature
> schemes unless you expose PRNG state or nonce inputs as explicit
> arguments to the API.  Regardless of whether one chooses to do that or
> not, non-deterministic signature schemes whose security falls apart when
> nonces are reused (or are predictable) is a really bad idea.
>
> Anyways, we've already determined that we have consensus in favor of
> deterministic signature schemes.  You could ask that that matter be
> re-opened, but first re-read the threads that led there.
>
> Nico


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


From nobody Thu Jun  4 12:54:45 2015
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 D77741A9004 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 12:54:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.999
X-Spam-Level: 
X-Spam-Status: No, score=-0.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, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V6rwHmBe47jO for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 12:54:43 -0700 (PDT)
Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9450E1A9068 for <cfrg@irtf.org>; Thu,  4 Jun 2015 12:54:41 -0700 (PDT)
Received: by wiwd19 with SMTP id d19so133945wiw.0 for <cfrg@irtf.org>; Thu, 04 Jun 2015 12:54:40 -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=fZeKpSMQ3Gha2eFY8SLaRPvzOpuA5l9cjc8pxACHhqM=; b=LceL8WP+CfioQ4UVwCf2VeZF1l7DT8Op6RdjLOMsBvIab2DzkFIc6igH3auHJ5Zy2E arr7hAwp3enXE9meZ7AOYsrT1pjvCl6iHiPKLQ6MUGcesZQcG5194gvRfocJ3vvxWB+K ltF1tp+F3EL66NjLS+puFQ8Pi3RFNPmQV9mmmsa/nAqi1TF5a5tXmc2M4hp1HHEAo3nU 7sB9wfTsJ0gIAkQ0zlXEYXd4s861NgA+LHaoxaC3zNh6DPZh4xh18LU0bXSVMeXFEI+e 2qk+Ben9CTiPVsZUreBiugBu9c6unB6AKnHIuKqRNP2CxoHDhicwBS4kRSCqC37pM2FE 9xyg==
MIME-Version: 1.0
X-Received: by 10.180.8.41 with SMTP id o9mr11029576wia.83.1433447680321; Thu, 04 Jun 2015 12:54:40 -0700 (PDT)
Received: by 10.194.20.97 with HTTP; Thu, 4 Jun 2015 12:54:40 -0700 (PDT)
In-Reply-To: <5570A53D.7020207@gmail.com>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie> <20150604065658.GA14531@LK-Perkele-VII> <55705C19.4040600@gmail.com> <20150604183631.GL18760@localhost> <5570A53D.7020207@gmail.com>
Date: Thu, 4 Jun 2015 12:54:40 -0700
Message-ID: <CACsn0cm59EDNak8QeMACgw61QUjRMfT-Qqqjmp5q1Q1b+QhMQA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Rene Struik <rstruik.ext@gmail.com>
Content-Type: multipart/alternative; boundary=f46d04428f34ca2cfe0517b68b56
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/8x2FaKLvLyCkeg8f6sFeOQ2uNAs>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 19:54:45 -0000

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

On Thu, Jun 4, 2015 at 12:21 PM, Rene Struik <rstruik.ext@gmail.com> wrote:

> I think one lesson one can draw from "piecemeal polls" is that it might
> make it harder to consider system-wide trade-offs.
>
> Hence, the questions in my email of yesterday, June 3, 2015, 5.14pm EDT,
> see http://www.ietf.org/mail-archive/web/cfrg/current/msg06875.html. I
> think these still stand.


Note that verifiers will still accept signatures generated with random k,
permitting the avoidance of double hashing while preserving the more than
collision property in systems which actually require this.


>
>
> Rene
>
> On 6/4/2015 2:36 PM, Nico Williams wrote:
>
>> On Thu, Jun 04, 2015 at 10:09:29AM -0400, Rene Struik wrote:
>>
>>> [...]
>>>
>> It isn't possible to write test vectors for non-deterministic signature
>> schemes unless you expose PRNG state or nonce inputs as explicit
>> arguments to the API.  Regardless of whether one chooses to do that or
>> not, non-deterministic signature schemes whose security falls apart when
>> nonces are reused (or are predictable) is a really bad idea.
>>
>> Anyways, we've already determined that we have consensus in favor of
>> deterministic signature schemes.  You could ask that that matter be
>> re-opened, but first re-read the threads that led there.
>>
>> Nico
>>
>
>
> --
> email: rstruik.ext@gmail.com | Skype: rstruik
> cell: +1 (647) 867-5658 | US: +1 (415) 690-7363
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>



-- 
"Man is born free, but everywhere he is in chains".
--Rousseau.

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, Jun 4, 2015 at 12:21 PM, Rene Struik <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:rstruik.ext@gmail.com" target=3D"_blank">rstruik.ext@gmail.co=
m</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margi=
n:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204=
);border-left-style:solid;padding-left:1ex">I think one lesson one can draw=
 from &quot;piecemeal polls&quot; is that it might make it harder to consid=
er system-wide trade-offs.<br>
<br>
Hence, the questions in my email of yesterday, June 3, 2015, 5.14pm EDT, se=
e <a href=3D"http://www.ietf.org/mail-archive/web/cfrg/current/msg06875.htm=
l" target=3D"_blank">http://www.ietf.org/mail-archive/web/cfrg/current/msg0=
6875.html</a>. I think these still stand.</blockquote><div><br></div><div>N=
ote that verifiers will still accept signatures generated with random k, pe=
rmitting the avoidance of double hashing while preserving the more than col=
lision property in systems which actually require this.</div><div>=C2=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"><span class=3D""><font color=3D"#888888"><br>
<br>
Rene</font></span><span class=3D"im"><br>
<br>
On 6/4/2015 2:36 PM, Nico Williams wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
On Thu, Jun 04, 2015 at 10:09:29AM -0400, Rene Struik wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
[...]<br>
</blockquote>
It isn&#39;t possible to write test vectors for non-deterministic signature=
<br>
schemes unless you expose PRNG state or nonce inputs as explicit<br>
arguments to the API.=C2=A0 Regardless of whether one chooses to do that or=
<br>
not, non-deterministic signature schemes whose security falls apart when<br=
>
nonces are reused (or are predictable) is a really bad idea.<br>
<br>
Anyways, we&#39;ve already determined that we have consensus in favor of<br=
>
deterministic signature schemes.=C2=A0 You could ask that that matter be<br=
>
re-opened, but first re-read the threads that led there.<br>
<br>
Nico<br>
</blockquote>
<br>
<br>
-- <br></span><span class=3D"im">
email: <a href=3D"mailto:rstruik.ext@gmail.com" target=3D"_blank">rstruik.e=
xt@gmail.com</a> | Skype: rstruik<br>
cell: <a href=3D"tel:%2B1%20%28647%29%20867-5658" value=3D"+16478675658" ta=
rget=3D"_blank">+1 (647) 867-5658</a> | US: <a href=3D"tel:%2B1%20%28415%29=
%20690-7363" value=3D"+14156907363" target=3D"_blank">+1 (415) 690-7363</a>=
<br>
<br></span><div class=3D""><div class=3D"h5">
_______________________________________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.org</a><br>
<a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" target=3D"_blank">htt=
p://www.irtf.org/mailman/listinfo/cfrg</a><br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
<div class=3D"gmail_signature">&quot;Man is born free, but everywhere he is=
 in chains&quot;.<br>--Rousseau.</div>
</div></div>

--f46d04428f34ca2cfe0517b68b56--


From nobody Thu Jun  4 13:02:50 2015
Return-Path: <nico@cryptonector.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C188E1A907B for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 13:02:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.034
X-Spam-Level: *
X-Spam-Status: No, score=1.034 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ab_pCNm8BsiA for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 13:02:47 -0700 (PDT)
Received: from homiemail-a110.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id E33451A8F40 for <cfrg@irtf.org>; Thu,  4 Jun 2015 13:02:47 -0700 (PDT)
Received: from homiemail-a110.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a110.g.dreamhost.com (Postfix) with ESMTP id 604382005E810; Thu,  4 Jun 2015 13:02:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=k6LZbIoGgFOVcF wh23W7tiUdxQE=; b=po9HXUHSrv0RiX0s7lcf4j0FhLpZuJaUKu5qPzcOC2brAz s3NaamGQKxyxUaK7El+UOKHt4yOOh5RM7zqoTT9RVw+rfdppPZKUSXwo6XKA9ubJ 5/7p8MHhDprHoM3ntL+oEvKINYFPv7nL3b1xKz7m9uzidfVv24ZZe1s96JtqA=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a110.g.dreamhost.com (Postfix) with ESMTPA id 436E12005E80C; Thu,  4 Jun 2015 13:02:46 -0700 (PDT)
Date: Thu, 4 Jun 2015 15:02:45 -0500
From: Nico Williams <nico@cryptonector.com>
To: Rene Struik <rstruik.ext@gmail.com>
Message-ID: <20150604200244.GP18760@localhost>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie> <20150604065658.GA14531@LK-Perkele-VII> <55705C19.4040600@gmail.com> <20150604183631.GL18760@localhost> <5570A53D.7020207@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5570A53D.7020207@gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/4OqlC1ua0UtX52QAWsRdSJz_Rgo>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 20:02:48 -0000

On Thu, Jun 04, 2015 at 03:21:33PM -0400, Rene Struik wrote:
> I think one lesson one can draw from "piecemeal polls" is that it
> might make it harder to consider system-wide trade-offs.

This sub-poll became clearly necessary after the poll as to determinism
started, since that's when the online vs. CR matter came up.  Even if
the chairs had foreseen that outcome and produced a more complete single
poll, the overall outcome would probably still have been that we want a
deterministic signature scheme because the alternative hasn't worked out
well in practice and it's easy to see how it is very difficult to make
it work out well in practice.  And once all these polls are done I
suppose the chairs could well ask to confirm the overall outcome, but
there's nothing wrong with organic discovery of consensus.

Incidentally, Watson L. pointed out earlier in this poll that maybe we
can't get a deterministic, online, and CR (independent of the hash
function) signature scheme.  Nothing has changed since then on that
front.

The trade-offs come out the same for me: deterministic is the first
priority, so we're down to choosing between online and CR.

Since one can always make an online and not-CR scheme out of an offline
scheme, that's clearly what we should do, and everyone can be pleased.
(There's an extra hashing step in this case, but if bulk data is the
source of the online requirement, then the extra hash step is a
performance non-issue.)

For me the only question left is whether we should specify an online
scheme tightly integrated with the off-line scheme #3.  At first I was
in favor of this, now I'm in favor of #2 alone.  Online by generic
construction will do.  But I'm not opposed to #3 either.  I'm just
opposed to #1 on account of the past failures we have seen with online
signature schemes: the hash functions we've used have had a bad history
on the CR front, and we don't really have the confidence we need on the
current batch of hash functions.

Perhaps *after* a decade of SHA-3 cryptanalysis research we'll find that
SHA-3 is good enough for an online signature scheme and then we might be
sad about the choice to have an offline scheme back in 2015, but that
sadness will not be due to the scheme becoming insecure as a result, but
just that we could have been less paranoid.  I can live with that.

Nico
-- 


From nobody Thu Jun  4 13:18:40 2015
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 70AED1A90FD for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 13:18:39 -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 AMwCaXUu6na0 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 13:18:37 -0700 (PDT)
Received: from emh01.mail.saunalahti.fi (emh01.mail.saunalahti.fi [62.142.5.107]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 12A2A1A90FC for <cfrg@irtf.org>; Thu,  4 Jun 2015 13:18:36 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh01.mail.saunalahti.fi (Postfix) with ESMTP id BFEAA90038; Thu,  4 Jun 2015 23:18:34 +0300 (EEST)
Date: Thu, 4 Jun 2015 23:18:34 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Rene Struik <rstruik.ext@gmail.com>
Message-ID: <20150604201834.GA32469@LK-Perkele-VII>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie> <20150604065658.GA14531@LK-Perkele-VII> <55705C19.4040600@gmail.com> <20150604183631.GL18760@localhost> <5570A53D.7020207@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <5570A53D.7020207@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/a9BPrlkT1CPr45okAAuDOoiYr9c>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 20:18:39 -0000

On Thu, Jun 04, 2015 at 03:21:33PM -0400, Rene Struik wrote:
> I think one lesson one can draw from "piecemeal polls" is that it might make
> it harder to consider system-wide trade-offs.
> 
> Hence, the questions in my email of yesterday, June 3, 2015, 5.14pm EDT, see
> http://www.ietf.org/mail-archive/web/cfrg/current/msg06875.html. I think
> these still stand.

Going through briefly.

- Randomly generating k in Schnorr is very dangerous. And the dangers go
  far beyond testability.
- One can do deterministic one-pass Schnorr at cost of requiring nonces
  (the usual definition, not the bizarro one ECDSA uses).
- However, I think that is still too dangerous for main mode.
- The message size argument is that since verification is not streamable,
  and thus large message cause pain for verifiers, let's also cause pain
  for signers in order to keep those message sizes in check.


-Ilari


From nobody Thu Jun  4 13:23:31 2015
Return-Path: <nico@cryptonector.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6EAAC1A9114 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 13:23:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.233
X-Spam-Level: 
X-Spam-Status: No, score=0.233 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IBy_T3wxPdrE for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 13:23:29 -0700 (PDT)
Received: from homiemail-a25.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id AFEBE1A910E for <cfrg@irtf.org>; Thu,  4 Jun 2015 13:23:29 -0700 (PDT)
Received: from homiemail-a25.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a25.g.dreamhost.com (Postfix) with ESMTP id 58A98678071; Thu,  4 Jun 2015 13:23:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=Xt5dEX9j8wKV2/ DPjPkmXKiOyMU=; b=PGAh9mYbilmWrwvlGOtpMjMJ6Db76ebO0/eJF8CB1kmBvM NcLc8muPNJUGQPOBy38P7TPC92/On4PjpQEQTYPDAG7knyfC6Cu2b0sdKV58s59T JSY73DfX8bmmmvM24yM9kxzNMCsKwhS8IlIx1lWyw31nLJqNzolxc0zGrHX98=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a25.g.dreamhost.com (Postfix) with ESMTPA id 49E70678057; Thu,  4 Jun 2015 13:23:28 -0700 (PDT)
Date: Thu, 4 Jun 2015 15:23:27 -0500
From: Nico Williams <nico@cryptonector.com>
To: Watson Ladd <watsonbladd@gmail.com>
Message-ID: <20150604202326.GQ18760@localhost>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie> <20150604065658.GA14531@LK-Perkele-VII> <55705C19.4040600@gmail.com> <20150604183631.GL18760@localhost> <5570A53D.7020207@gmail.com> <CACsn0cm59EDNak8QeMACgw61QUjRMfT-Qqqjmp5q1Q1b+QhMQA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACsn0cm59EDNak8QeMACgw61QUjRMfT-Qqqjmp5q1Q1b+QhMQA@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/JnvlWx8DUEtuRIs5e1Z1GZGme9c>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 20:23:30 -0000

On Thu, Jun 04, 2015 at 12:54:40PM -0700, Watson Ladd wrote:
> Note that verifiers will still accept signatures generated with random k,
> permitting the avoidance of double hashing while preserving the more than
> collision property in systems which actually require this.

Right, special-purpose implementations can resort to such optimizations
because special-purpose implementations are more likely to manage the
requisite state and/or TRNG.  But for general purpose implementations we
should have deterministic behavior.

Note also that verification for message-derived k schemes is still
online (though implementations should generall not permit access to the
message prior to signature verification).  It's only the signature
function that is made offline by the CR constructions we've discussed.

Nico
-- 


From nobody Thu Jun  4 13:35:40 2015
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 4FF211A9237 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 13:35:38 -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 EtTo_iBSt7uX for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 13:35:35 -0700 (PDT)
Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8FB8B1A9235 for <cfrg@irtf.org>; Thu,  4 Jun 2015 13:35:35 -0700 (PDT)
Received: by wiwd19 with SMTP id d19so1090887wiw.0 for <cfrg@irtf.org>; Thu, 04 Jun 2015 13:35:34 -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=3ZRaBXwW9mDLJWZxsebJcHfcU9ILxZRnpzAYmty5huE=; b=c+R/7k5gfiE7/0TYyKegS6Wm58KHxMVngEn4LgqP0hRNIUHzp8pWgLugrgip9XpVdZ HgLBA9D/dXyko/svWJMdLW6H35grU/PGhYpCDujmoyyfYGE3WlyMbs38enqOXuu7ajXH 6vuxBMgCXtYY+cDMzamebMD2lCbUSLA83QpfhmsyFyugJDisX4G7c2j6i54Hc3lkrr70 u33WBsqbAdHLyvrz4ABCXateG0lZ3ra6miPhMHsKueQ9G1b5lUQmHT3Nz0oz9VZg67nD zmTwa+rQXwtFHNFlLat7+3vILvvv+Leu02qkmpsiTFFEBMSWVX74Vz/ugGeY435MSRBC z/mw==
MIME-Version: 1.0
X-Received: by 10.180.79.73 with SMTP id h9mr55355947wix.35.1433450134368; Thu, 04 Jun 2015 13:35:34 -0700 (PDT)
Received: by 10.194.20.97 with HTTP; Thu, 4 Jun 2015 13:35:34 -0700 (PDT)
In-Reply-To: <20150604202326.GQ18760@localhost>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie> <20150604065658.GA14531@LK-Perkele-VII> <55705C19.4040600@gmail.com> <20150604183631.GL18760@localhost> <5570A53D.7020207@gmail.com> <CACsn0cm59EDNak8QeMACgw61QUjRMfT-Qqqjmp5q1Q1b+QhMQA@mail.gmail.com> <20150604202326.GQ18760@localhost>
Date: Thu, 4 Jun 2015 13:35:34 -0700
Message-ID: <CACsn0ck97T=sYRf7Wr+G2mz63Xc5LjxTnNfakasNnw8FJR_8ug@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Nico Williams <nico@cryptonector.com>
Content-Type: multipart/alternative; boundary=f46d041825e20ff6ad0517b71eb4
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/X3lMiqO83qpEvgfSv34FLJqL8hI>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 20:35:38 -0000

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

On Thu, Jun 4, 2015 at 1:23 PM, Nico Williams <nico@cryptonector.com> wrote:

> On Thu, Jun 04, 2015 at 12:54:40PM -0700, Watson Ladd wrote:
> > Note that verifiers will still accept signatures generated with random k,
> > permitting the avoidance of double hashing while preserving the more than
> > collision property in systems which actually require this.
>
> Right, special-purpose implementations can resort to such optimizations
> because special-purpose implementations are more likely to manage the
> requisite state and/or TRNG.  But for general purpose implementations we
> should have deterministic behavior.
>
> Note also that verification for message-derived k schemes is still
> online (though implementations should generall not permit access to the
> message prior to signature verification).  It's only the signature
> function that is made offline by the CR constructions we've discussed.
>

Let's consider an actual scheme for a moment, namely EdDSA. The verifier
takes R and s, computes e=H(R, M), and determines if R=sG+eP. This only
requires one pass through the message, not two, which for some reason we
are calling "online" vs. "offline".

Why don't we see if anyone has an actual objection to EdDSA, instead of
fooling around trying to repeat this work? It's soon going to be over a
year: I'd like to see a finished product then,


> Nico
> --
>



-- 
"Man is born free, but everywhere he is in chains".
--Rousseau.

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, Jun 4, 2015 at 1:23 PM, Nico Williams <span dir=3D"ltr">&lt;<a =
href=3D"mailto:nico@cryptonector.com" target=3D"_blank">nico@cryptonector.c=
om</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""=
>On Thu, Jun 04, 2015 at 12:54:40PM -0700, Watson Ladd wrote:<br>
&gt; Note that verifiers will still accept signatures generated with random=
 k,<br>
&gt; permitting the avoidance of double hashing while preserving the more t=
han<br>
&gt; collision property in systems which actually require this.<br>
<br>
</span>Right, special-purpose implementations can resort to such optimizati=
ons<br>
because special-purpose implementations are more likely to manage the<br>
requisite state and/or TRNG.=C2=A0 But for general purpose implementations =
we<br>
should have deterministic behavior.<br>
<br>
Note also that verification for message-derived k schemes is still<br>
online (though implementations should generall not permit access to the<br>
message prior to signature verification).=C2=A0 It&#39;s only the signature=
<br>
function that is made offline by the CR constructions we&#39;ve discussed.<=
br></blockquote><div><br></div><div>Let&#39;s consider an actual scheme for=
 a moment, namely EdDSA. The verifier takes R and s, computes e=3DH(R, M), =
and determines if R=3DsG+eP. This only requires one pass through the messag=
e, not two, which for some reason we are calling &quot;online&quot; vs. &qu=
ot;offline&quot;.</div><div><br></div><div>Why don&#39;t we see if anyone h=
as an actual objection to EdDSA, instead of fooling around trying to repeat=
 this work? It&#39;s soon going to be over a year: I&#39;d like to see a fi=
nished product then,</div><div><br></div><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Nico<br>
--<br>
</font></span></blockquote></div><br><br clear=3D"all"><div><br></div>-- <b=
r><div class=3D"gmail_signature">&quot;Man is born free, but everywhere he =
is in chains&quot;.<br>--Rousseau.</div>
</div></div>

--f46d041825e20ff6ad0517b71eb4--


From nobody Thu Jun  4 14:53:40 2015
Return-Path: <nico@cryptonector.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9C4EB1AC7E7 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 14:53:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.666
X-Spam-Level: 
X-Spam-Status: No, score=-1.666 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14GSwGfG3IPm for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 14:53:39 -0700 (PDT)
Received: from homiemail-a16.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 14E401AC44E for <cfrg@irtf.org>; Thu,  4 Jun 2015 14:53:39 -0700 (PDT)
Received: from homiemail-a16.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a16.g.dreamhost.com (Postfix) with ESMTP id 965935080DB; Thu,  4 Jun 2015 14:53:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=LGzmLLXmWavSDz 9NSEmNFDNCGI8=; b=x9X1kcs0VugOK8jBPdS7rWjIrNZqelNz4UdUBAKlhQMbOz 1npatt5l/ujFhN27mWIfg3eDHfAhpolQJa96G1/RbBH76LjvqKd1NoIJzLn39BAk nNAtr9hNGQQqRCVMhWFXFzfcBoZu7IX7+ztdjkIF1fIkl/TQzMbuuzDtezdtA=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a16.g.dreamhost.com (Postfix) with ESMTPA id 0E15D508072; Thu,  4 Jun 2015 14:53:37 -0700 (PDT)
Date: Thu, 4 Jun 2015 16:53:37 -0500
From: Nico Williams <nico@cryptonector.com>
To: Watson Ladd <watsonbladd@gmail.com>
Message-ID: <20150604215336.GU18760@localhost>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie> <20150604065658.GA14531@LK-Perkele-VII> <55705C19.4040600@gmail.com> <20150604183631.GL18760@localhost> <5570A53D.7020207@gmail.com> <CACsn0cm59EDNak8QeMACgw61QUjRMfT-Qqqjmp5q1Q1b+QhMQA@mail.gmail.com> <20150604202326.GQ18760@localhost> <CACsn0ck97T=sYRf7Wr+G2mz63Xc5LjxTnNfakasNnw8FJR_8ug@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACsn0ck97T=sYRf7Wr+G2mz63Xc5LjxTnNfakasNnw8FJR_8ug@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/Uf7pIY90BG0RkxsLOHkhPrUdiXM>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 21:53:39 -0000

On Thu, Jun 04, 2015 at 01:35:34PM -0700, Watson Ladd wrote:
> Why don't we see if anyone has an actual objection to EdDSA, instead of
> fooling around trying to repeat this work? It's soon going to be over a
> year: I'd like to see a finished product then,

+1


From nobody Thu Jun  4 23:16:21 2015
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 AEE421B2C98 for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 23:16:19 -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 28DuABwrK3LI for <cfrg@ietfa.amsl.com>; Thu,  4 Jun 2015 23:16:17 -0700 (PDT)
Received: from emh07.mail.saunalahti.fi (emh07.mail.saunalahti.fi [62.142.5.117]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8B0351B2C86 for <cfrg@irtf.org>; Thu,  4 Jun 2015 23:16:17 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh07.mail.saunalahti.fi (Postfix) with ESMTP id 332B4401A; Fri,  5 Jun 2015 09:16:14 +0300 (EEST)
Date: Fri, 5 Jun 2015 09:16:14 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Nico Williams <nico@cryptonector.com>
Message-ID: <20150605061614.GA9888@LK-Perkele-VII>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <556F8811.2070101@cs.tcd.ie> <20150604065658.GA14531@LK-Perkele-VII> <55705C19.4040600@gmail.com> <20150604183631.GL18760@localhost> <5570A53D.7020207@gmail.com> <CACsn0cm59EDNak8QeMACgw61QUjRMfT-Qqqjmp5q1Q1b+QhMQA@mail.gmail.com> <20150604202326.GQ18760@localhost> <CACsn0ck97T=sYRf7Wr+G2mz63Xc5LjxTnNfakasNnw8FJR_8ug@mail.gmail.com> <20150604215336.GU18760@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20150604215336.GU18760@localhost>
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/44Xg7twgg1YN3XH_rx_pG11AIaw>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Jun 2015 06:16:19 -0000

On Thu, Jun 04, 2015 at 04:53:37PM -0500, Nico Williams wrote:
> On Thu, Jun 04, 2015 at 01:35:34PM -0700, Watson Ladd wrote:
> > Why don't we see if anyone has an actual objection to EdDSA, instead of
> > fooling around trying to repeat this work? It's soon going to be over a
> > year: I'd like to see a finished product then,
> 
> +1

The few prototypes I have written are heavily inspired by EdDSA. The
differences have been (some are bad ideas):


1) Modify k-generation to support larger curves

Generate d and seed as separate expansions of secret key.

This is needed in order to use SHA-512 and other standard-issue
512-bit hashes with 448-bit curve.


2) Optional couponing

Take in nonce (the usual kind, not the ECDSA kind) and pregenerate
k and kG out of that. 

Bad idea for standard use (needed for some specialist low-latency
applications).


3) Tweaks

Change way k is derived from key and message, so the same message can
generate different signatures.

Probably a bad idea: One can leak secret key by maliscously abusing
this.


4) Signature contexts

Extra data that must match between signer and verifier, to counter cross-
protocol attacks.

Cross-protocol attacks against signatures seem to be dime dozen.


5) Hash domains

Add function used for message prehashing (which may be indentity) into
signature.

Allows support for both online and offline mode and prevents attacking
stronger hashes by confusing those with weaker ones.



-Ilari


From nobody Fri Jun  5 09:46:44 2015
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 0EA211A898A for <cfrg@ietfa.amsl.com>; Fri,  5 Jun 2015 09:46:43 -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 YBCbNYzgM_Gg for <cfrg@ietfa.amsl.com>; Fri,  5 Jun 2015 09:46:41 -0700 (PDT)
Received: from mx0a-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E5EE51A0169 for <cfrg@irtf.org>; Fri,  5 Jun 2015 09:46:41 -0700 (PDT)
Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.14.5/8.14.5) with SMTP id t55Ghe0T016063; Fri, 5 Jun 2015 09:46:29 -0700
Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 1utrd4k4xp-1 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Fri, 05 Jun 2015 09:46:29 -0700
Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Fri, 5 Jun 2015 09:46:28 -0700
Received: from SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6]) by SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6%24]) with mapi id 15.00.1044.021; Fri, 5 Jun 2015 09:46:28 -0700
From: Paul Lambert <paul@marvell.com>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Thread-Topic: Signature contexts -> Re: [Cfrg] testability of signature input/output parameters
Thread-Index: AQHQn68q2eByjXFFrE2aQn1H50Ctwg==
Date: Fri, 5 Jun 2015 16:46:27 +0000
Message-ID: <D1971B0F.6AC2C%paul@marvell.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.5.0.150423
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.94.250.30]
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <AE54B755E16FB744BDA683B22373420A@marvell.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151, 1.0.33,  0.0.0000 definitions=2015-06-05_13:2015-06-05,2015-06-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-1506050214
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/xqkFknUq2Ela9iJ7HKT5jN-5l-Y>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: [Cfrg] Signature contexts -> Re: testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Jun 2015 16:46:43 -0000

>
>
>
>
>4) Signature contexts
>
>Extra data that must match between signer and verifier, to counter cross-
>protocol attacks.
>
>Cross-protocol attacks against signatures seem to be dime dozen.

Interesting problem area, however =8A

This seems like something that more generally should be part of the
semantics of the signed information rather than overloading the
cryptographic signature.

If you're proposing a form of signature that would only be able to be
validated by a specific target verifier (public key owner) then the
overall use case and flow become very different from what I assume we mean
by =B9signature=B9.  =20


Paul

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


From nobody Fri Jun  5 10:30:30 2015
Return-Path: <natanael.l@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E3D731A916C for <cfrg@ietfa.amsl.com>; Fri,  5 Jun 2015 10:30: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 Os4o8u3btOkK for <cfrg@ietfa.amsl.com>; Fri,  5 Jun 2015 10:30:28 -0700 (PDT)
Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 30F231B31E0 for <cfrg@irtf.org>; Fri,  5 Jun 2015 10:29:09 -0700 (PDT)
Received: by lbcmx3 with SMTP id mx3so50163420lbc.1 for <cfrg@irtf.org>; Fri, 05 Jun 2015 10:29:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rUtVkDBiJanKO1ZDHmI7ggCl6bT41iNBtwbmvka3SYY=; b=guXW3VyIPmf8Z5V3U3+1m3AbilePKyyr30JkVvDAUP0tjPCK5WAaUzt3hPBL9VGkTL DrC/sJLsMh+0TRjRU1oSF3DOFrOVs/TrIuUyNpFomrO55KppsR2A7ApNl5oSytK19qAD zLic2d9S4NGY8Vkdf3Ul/mNSGuuvKJ95z/GZxmrJyt7LRnJflYaTmfFuIUWDN5fCPWrg uuVE9C0VX7MkpXpYCpLgT7xxZxL5YJV9KFsIocDu1x7FSuZMq1vxskxgLoG0P+AOh1P4 nQ3biwBRasKvItD9b6UdW8u2Pj25tnVw1LgD2+eTccz48uYWgJn+9xejF8zSYbwfBdeP XVwA==
MIME-Version: 1.0
X-Received: by 10.152.205.67 with SMTP id le3mr4364333lac.50.1433525347505; Fri, 05 Jun 2015 10:29:07 -0700 (PDT)
Received: by 10.114.5.100 with HTTP; Fri, 5 Jun 2015 10:29:07 -0700 (PDT)
Received: by 10.114.5.100 with HTTP; Fri, 5 Jun 2015 10:29:07 -0700 (PDT)
In-Reply-To: <D1971B0F.6AC2C%paul@marvell.com>
References: <D1971B0F.6AC2C%paul@marvell.com>
Date: Fri, 5 Jun 2015 19:29:07 +0200
Message-ID: <CAAt2M1-j__gtH9nTYVTpjkLVeCxUW0-_06jhCzUTxbtRtzaOpA@mail.gmail.com>
From: Natanael <natanael.l@gmail.com>
To: Paul Lambert <paul@marvell.com>
Content-Type: multipart/alternative; boundary=001a1133a8681d5f340517c8a15e
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/csoPjBLoYXZHMkhbBNWyvdUJKMc>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Signature contexts -> Re: testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Jun 2015 17:30:30 -0000

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

Den 5 jun 2015 18:47 skrev "Paul Lambert" <paul@marvell.com>:
> >4) Signature contexts
> >
> >Extra data that must match between signer and verifier, to counter cross=
-
> >protocol attacks.
> >
> >Cross-protocol attacks against signatures seem to be dime dozen.
>
> Interesting problem area, however =C5=A0
>
> This seems like something that more generally should be part of the
> semantics of the signed information rather than overloading the
> cryptographic signature.
>
> If you're proposing a form of signature that would only be able to be
> validated by a specific target verifier (public key owner) then the
> overall use case and flow become very different from what I assume we mea=
n
> by =C2=B9signature=C2=B9.

How about defining a field that can be used to specify protocol usage /
context, which is signed together with the plaintext? Similar to the common
version number headers in PGP ASCII armored blocks, it can be ignored by
implementations that don't care about it, but allows for the
implementations who care about it to flag what should be used where and
reject signed data with the wrong context.

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

<p dir=3D"ltr"><br>
Den 5 jun 2015 18:47 skrev &quot;Paul Lambert&quot; &lt;<a href=3D"mailto:p=
aul@marvell.com">paul@marvell.com</a>&gt;:<br>
&gt; &gt;4) Signature contexts<br>
&gt; &gt;<br>
&gt; &gt;Extra data that must match between signer and verifier, to counter=
 cross-<br>
&gt; &gt;protocol attacks.<br>
&gt; &gt;<br>
&gt; &gt;Cross-protocol attacks against signatures seem to be dime dozen.<b=
r>
&gt;<br>
&gt; Interesting problem area, however =C5=A0<br>
&gt;<br>
&gt; This seems like something that more generally should be part of the<br=
>
&gt; semantics of the signed information rather than overloading the<br>
&gt; cryptographic signature.<br>
&gt;<br>
&gt; If you&#39;re proposing a form of signature that would only be able to=
 be<br>
&gt; validated by a specific target verifier (public key owner) then the<br=
>
&gt; overall use case and flow become very different from what I assume we =
mean<br>
&gt; by =C2=B9signature=C2=B9.</p>
<p dir=3D"ltr">How about defining a field that can be used to specify proto=
col usage / context, which is signed together with the plaintext? Similar t=
o the common version number headers in PGP ASCII armored blocks, it can be =
ignored by implementations that don&#39;t care about it, but allows for the=
 implementations who care about it to flag what should be used where and re=
ject signed data with the wrong context. </p>

--001a1133a8681d5f340517c8a15e--


From nobody Fri Jun  5 10:34:43 2015
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 BFCD21AC443 for <cfrg@ietfa.amsl.com>; Fri,  5 Jun 2015 10:34:42 -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 uzY422vXZDwM for <cfrg@ietfa.amsl.com>; Fri,  5 Jun 2015 10:34:40 -0700 (PDT)
Received: from emh04.mail.saunalahti.fi (emh04.mail.saunalahti.fi [62.142.5.110]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B0EEB1A902B for <cfrg@irtf.org>; Fri,  5 Jun 2015 10:32:43 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh04.mail.saunalahti.fi (Postfix) with ESMTP id 295B51A25E4; Fri,  5 Jun 2015 20:32:41 +0300 (EEST)
Date: Fri, 5 Jun 2015 20:32:40 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Paul Lambert <paul@marvell.com>
Message-ID: <20150605173240.GA24018@LK-Perkele-VII>
References: <D1971B0F.6AC2C%paul@marvell.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <D1971B0F.6AC2C%paul@marvell.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/-hWjBep8zoYYGE-Du8jeCfufnzM>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Signature contexts -> Re: testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Jun 2015 17:34:42 -0000

On Fri, Jun 05, 2015 at 04:46:27PM +0000, Paul Lambert wrote:
> >
> >
> >
> >
> >4) Signature contexts
> >
> >Extra data that must match between signer and verifier, to counter cross-
> >protocol attacks.
> >
> >Cross-protocol attacks against signatures seem to be dime dozen.
> 
> Interesting problem area, however Ĺ 
> 
> This seems like something that more generally should be part of the
> semantics of the signed information rather than overloading the
> cryptographic signature.

The problem that two protocols will probably conflict about meaning of
at least some message, unless specifically designed not to.

Basically, if there are N contexts, there are N^2-N possible conflicts,
so it is not surprising those pop up (or worse, not pop up).


> If you're proposing a form of signature that would only be able to be
> validated by a specific target verifier (public key owner) then the
> overall use case and flow become very different from what I assume we mean
> by ÂšsignatureÂš.   

The contexts are intended to be fixed by protocol, and thus publically
known.


-Ilari


From nobody Fri Jun  5 10:42:02 2015
Return-Path: <vf@unity.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 825671A0115 for <cfrg@ietfa.amsl.com>; Fri,  5 Jun 2015 10:41:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.788
X-Spam-Level: 
X-Spam-Status: No, score=0.788 tagged_above=-999 required=5 tests=[BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aIzcEet9rCaK for <cfrg@ietfa.amsl.com>; Fri,  5 Jun 2015 10:41:55 -0700 (PDT)
Received: from vc.unity.net (tr.unity.net [195.24.140.242]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 047DE1A00FE for <cfrg@irtf.org>; Fri,  5 Jun 2015 10:41:55 -0700 (PDT)
Received: from vf by vc.unity.net with local (Exim 4.80) (envelope-from <vf@unity.net>) id 1Z0van-0000n4-3j; Fri, 05 Jun 2015 20:39:41 +0300
Date: Fri, 5 Jun 2015 20:39:41 +0300
From: Vadym Fedyukovych <vf@unity.net>
To: Paul Lambert <paul@marvell.com>
Message-ID: <20150605173941.GA23793@vc.unity.net>
References: <556E63DB.8090904@digitalbazaar.com> <D193B311.6A3A7%paul@marvell.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
In-Reply-To: <D193B311.6A3A7%paul@marvell.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: vf@unity.net
X-SA-Exim-Scanned: No (on vc.unity.net); SAEximRunCond expanded to false
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/QreDAIDqAECiMNP40brqm_6LuFg>
Cc: Crypto Forum Research Group <cfrg@irtf.org>
Subject: Re: [Cfrg] ZKP for proving ownership of a credential
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Jun 2015 17:41:58 -0000

On Wed, Jun 03, 2015 at 02:33:43AM +0000, Paul Lambert wrote:
> 
> 
> On 6/2/15, 7:18 PM, "Manu Sporny" <msporny@digitalbazaar.com> wrote:
> 
> >Hi all,
> >
> >I'm currently involved in some work in a Community Group at W3C called
> >the Credentials CG as well as the Web Payments Interest Group at W3C. An
> >executive summary of what the Credentials CG is trying to do is here:
> >
> >https://docs.google.com/document/d/1Nq543-Am1hQUIZ2hhzAFl8KexvIEBwDDc_f3Ik
> >z1opQ/edit
> >
> >We have a subset of credentials, like proof of citizenship ("this person
> >is a citizen of the United Kingdom") and proof of age ("this person is
> >above the age of 21"), that we believe could be asserted without leaking
> >information that could be used by colluding websites* to identify the
> >individual with the credential. We're trying to avoid having a single
> >identifier associated w/ these credentials that can be used to track
> >individuals between sites.
> >
> >Clearly, at some point it's impossible to protect the privacy of the
> >individual or organization because information like a government issued
> >ID or name is shared in the credential. However, those are not the use
> >cases we're focused on with this particular question.
> >
> >We have a hunch that perhaps some form of Zero Knowledge Proof could be
> >used with the credential, such that:
> >
> >1. The issuer of the credential (a government) could issue a
> >   credential to a recipient (a citizen). The credential would
> >   contain an assertion (this person is a citizen of the United
> >   Kingdom). The credential would also contain a credential-specific
> >   ZKP algorithm and some public ZKP initialization vectors of some
> >   kind.
> >2. The recipient (the citizen) would separate out the /private/
> >   credential-specific ZKP algorithm and store it. The recipient
> >   would also store the /public/ credential with ZKP initialization
> >   vectors.
> >3. A verifier (3rd party website, like the BBC) would then request
> >   a credential proving UK citizenship.
> Unless the credential is different each time it is provided to a third
> party the recipient is trackable.

It depends on credential type.
This holds for a blind signature (u-prove) such that
recipient produces a challenge
verifiable with equality-of-two-logarithms relation.
This does not hold for a strong RSA -based credentials scheme.

> This problem has been ?solved' to some degree by P1609.2 for automotive
> applications.  
> 
> 
> Paul
> 
> 
> >The recipient and verifier
> >   would then go through a number of ZKP iterations until the
> >   verifier was satisfied.
> >
> >The end result is that the recipient has proven their citizenship while
> >the verifier has ensured that it checked this particular property of an
> >individual before delivering a service to them.
> >
> >Unfortunately, we don't have any experts in ZKPs in the group and need
> >to have a chat with someone that is an expert. Preferably, someone that
> >knows if it is possible to construct a ZKP that could be used in this way.
> >
> >If there is a more promising cryptographic approach than using a ZKP,
> >we'd love to hear about that as well. Any ideas?
> >
> >-- manu
> >
> >* The one big caveat to this is that a simple ask of an email address,
> >  browser fingerprinting, supercookies, defeats this mechanism.
> >  However, I believe our mandate in the future is going to be
> >  "don't make privacy worse on the Web".
> >
> >-- 
> >Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
> >Founder/CEO - Digital Bazaar, Inc.
> >blog: Web Payments: The Architect, the Sage, and the Moral Voice
> >https://manu.sporny.org/2015/payments-collaboration/
> >


From nobody Fri Jun  5 12:37:13 2015
Return-Path: <dkg@fifthhorseman.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 96CB11A9103 for <cfrg@ietfa.amsl.com>; Fri,  5 Jun 2015 12:37:11 -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 GXy76h8ujuUv for <cfrg@ietfa.amsl.com>; Fri,  5 Jun 2015 12:37:10 -0700 (PDT)
Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108]) by ietfa.amsl.com (Postfix) with ESMTP id 315BE1A8857 for <cfrg@irtf.org>; Fri,  5 Jun 2015 12:37:10 -0700 (PDT)
Received: from fifthhorseman.net (unknown [38.109.115.130]) by che.mayfirst.org (Postfix) with ESMTPSA id 3C7D3F984; Fri,  5 Jun 2015 15:37:07 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id AFAB62044C; Fri,  5 Jun 2015 15:36:44 -0400 (EDT)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Natanael <natanael.l@gmail.com>, Paul Lambert <paul@marvell.com>
In-Reply-To: <CAAt2M1-j__gtH9nTYVTpjkLVeCxUW0-_06jhCzUTxbtRtzaOpA@mail.gmail.com>
References: <D1971B0F.6AC2C%paul@marvell.com> <CAAt2M1-j__gtH9nTYVTpjkLVeCxUW0-_06jhCzUTxbtRtzaOpA@mail.gmail.com>
User-Agent: Notmuch/0.20.1 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu)
Date: Fri, 05 Jun 2015 15:36:44 -0400
Message-ID: <87fv66vtf7.fsf@alice.fifthhorseman.net>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/77MAQ6iKDbiajNiUQpU9hJAXhYg>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Signature contexts -> Re: testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Jun 2015 19:37:11 -0000

On Fri 2015-06-05 13:29:07 -0400, Natanael wrote:
> How about defining a field that can be used to specify protocol usage
> / context, which is signed together with the plaintext? Similar to the
> common version number headers in PGP ASCII armored blocks, it can be
> ignored by implementations that don't care about it, but allows for
> the implementations who care about it to flag what should be used
> where and reject signed data with the wrong context.

fwiw, the "headers in PGP ASCII armored blocks" are not
cryptographically protected at all.  This is not a model to emulate :)

        --dkg


From nobody Fri Jun  5 18:54:07 2015
Return-Path: <simon@josefsson.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 C2A9B1ACD33 for <cfrg@ietfa.amsl.com>; Fri,  5 Jun 2015 18:54:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.348
X-Spam-Level: 
X-Spam-Status: No, score=0.348 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HELO_EQ_SE=0.35, 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 IVhfkKc5Bq73 for <cfrg@ietfa.amsl.com>; Fri,  5 Jun 2015 18:54:05 -0700 (PDT)
Received: from duva.sjd.se (duva.sjd.se [IPv6:2001:9b0:1:1702::100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C9AC21ACD2E for <cfrg@irtf.org>; Fri,  5 Jun 2015 18:54:04 -0700 (PDT)
Received: from latte.josefsson.org ([216.55.31.130]) (authenticated bits=0) by duva.sjd.se (8.14.4/8.14.4/Debian-4) with ESMTP id t561ruSQ030790 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Sat, 6 Jun 2015 03:54:00 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Andrey Jivsov <crypto@brainhub.org>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <5564CBEC.8070109@brainhub.org> <87siafxiyw.fsf@latte.josefsson.org> <556D4112.7040208@brainhub.org>
OpenPGP: id=54265E8C; url=http://josefsson.org/54265e8c.txt
X-Hashcash: 1:22:150606:cfrg@irtf.org::u43Z2jimRqtxZECD:6q09
X-Hashcash: 1:22:150606:crypto@brainhub.org::uXfRsFsG2cReUvvR:kLQA
Date: Sat, 06 Jun 2015 03:53:54 +0200
In-Reply-To: <556D4112.7040208@brainhub.org> (Andrey Jivsov's message of "Mon,  01 Jun 2015 22:37:22 -0700")
Message-ID: <87zj4d38lp.fsf@latte.josefsson.org>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature"
X-Virus-Scanned: clamav-milter 0.98.7 at duva.sjd.se
X-Virus-Status: Clean
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/bcibR0nq0n32D4NAWr68QEZC5PM>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Jun 2015 01:54:06 -0000

--=-=-=
Content-Type: text/plain

Andrey Jivsov <crypto@brainhub.org> writes:

> On 5/29/2015 12:49 PM, Simon Josefsson wrote:
>> Andrey Jivsov <crypto@brainhub.org> writes:
>>
>>> Major OpenPGP implementations use streaming mode to sign (e.g. in 'cat
>>> InFile | gpg --clearsign'), just as with encryption, without writing
>>> sensitive data to a temporary file. They depend on IUF. I haven't seen
>>> this with SMIME/CMS -- this is harder, but possible.
>> It is no problem to support streaming of inputs and at the same time
>> support for example EdDSA which does not follow the IUF paradigm.  Don't
>> confuse Unix stdin/stdout streaming with streaming of input to a digital
>> signature algorithm.
>
> Yes, but what cost "no problems" actually has in some cases?
>
> Before: one could hash during streaming.
> After: one extra re-hashing is needed, denying the benefit of hashing
> while streaming.

I believe you are mistaken.  OpenPGP with EdDSA only hashes once, during
streaming.

> To fix this new demand of low-level crypto there needs to be an
> engineering fix at a higher level. In the case of OpenPGP applications
> this means the buffering of the entire input must happen, somehow.

This is false, there is no need to buffer the entire message.  Just hash
the stream and sign the hash.

> If a user signs+encrypts a 1 TB file, he needs to have at least 2TB of
> disk space, one at the destination, and another at an
> implementation-specific location (e.g. /tmp directory, at destination,
> or $HOME). Besides user unfriendliness, such as slower performance and
> extra free space demands, one cannot really delete/wipe a sensitive
> file on an SSD drive, and the temporary file allows good possibility
> for signature fault attacks.

I believe GnuPG already implements EdDSA signing, so you can look at the
implementation to see how it actually works.  There is no temporary
files the same size as the input.

/Simon

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJVclKyAAoJEIYLf7sy+BGd7+4H/jeXl30APTdEXBl5dmDIVL6v
rJ84TulEe/OpACqvnhRs2zIxa8Eifc4bkkbbiWzV3dOvFcVCecMZxmq3K9OIS9jq
DLLw8mlVb7UdVACXy1Bk1txVALLmM4+9HPJuqyU/z3yUwS14x886db4DQcKNywjf
hel7hOxNvtQ5q/Pp6lauh/sla0Tp4mV+ty2Z0OwVmDSF/M4i1CApLEc15dAc9oNw
sfCOXUDytyUmclut+eu2K2adJWg6HsKKxtHbuf7799+YUdIQA4DUq8JpSm7R8OV0
cwh9Qud/Dibzy/mlwDvZWQWj3mrCu8erPULFf4yWR2KXXzPee0uhWdNUG+M8paE=
=uFQ+
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Sat Jun  6 02:00:26 2015
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 CCDA11B2AE2 for <cfrg@ietfa.amsl.com>; Sat,  6 Jun 2015 02:00:24 -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 34q52HJ2Zc_o for <cfrg@ietfa.amsl.com>; Sat,  6 Jun 2015 02:00:23 -0700 (PDT)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 38B151B2AE1 for <cfrg@irtf.org>; Sat,  6 Jun 2015 02:00:22 -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 t5690Cck024421; Sat, 6 Jun 2015 02:00:12 -0700
Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 1uu6n4tj8u-1 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Sat, 06 Jun 2015 02:00:12 -0700
Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Sat, 6 Jun 2015 02:00:10 -0700
Received: from SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6]) by SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6%24]) with mapi id 15.00.1044.021; Sat, 6 Jun 2015 02:00:11 -0700
From: Paul Lambert <paul@marvell.com>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Thread-Topic: Signature contexts -> Re: [Cfrg] testability of signature input/output parameters
Thread-Index: AQHQn68q2eByjXFFrE2aQn1H50Ctwp2eoTgAgACNyoA=
Date: Sat, 6 Jun 2015 09:00:10 +0000
Message-ID: <D1980340.6AD13%paul@marvell.com>
References: <D1971B0F.6AC2C%paul@marvell.com> <20150605173240.GA24018@LK-Perkele-VII>
In-Reply-To: <20150605173240.GA24018@LK-Perkele-VII>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.5.0.150423
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.94.250.30]
Content-Type: text/plain; charset="utf-8"
Content-ID: <C31975AC689CB842809AE6081CF8F8CC@marvell.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151, 1.0.33,  0.0.0000 definitions=2015-06-06_09:2015-06-05,2015-06-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-1506060127
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/ph8tqmsLPydAPZ0p7iNbzpS3dU0>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Signature contexts -> Re: testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Jun 2015 09:00:25 -0000

DQoNCj4+ID4NCj4+ID40KSBTaWduYXR1cmUgY29udGV4dHMNCj4+ID4NCj4+ID5FeHRyYSBkYXRh
IHRoYXQgbXVzdCBtYXRjaCBiZXR3ZWVuIHNpZ25lciBhbmQgdmVyaWZpZXIsIHRvIGNvdW50ZXIN
Cj4+Y3Jvc3MtDQo+PiA+cHJvdG9jb2wgYXR0YWNrcy4NCj4+ID4NCj4+ID5Dcm9zcy1wcm90b2Nv
bCBhdHRhY2tzIGFnYWluc3Qgc2lnbmF0dXJlcyBzZWVtIHRvIGJlIGRpbWUgZG96ZW4uDQo+PiAN
Cj4+IEludGVyZXN0aW5nIHByb2JsZW0gYXJlYSwgaG93ZXZlciDFoA0KPj4gDQo+PiBUaGlzIHNl
ZW1zIGxpa2Ugc29tZXRoaW5nIHRoYXQgbW9yZSBnZW5lcmFsbHkgc2hvdWxkIGJlIHBhcnQgb2Yg
dGhlDQo+PiBzZW1hbnRpY3Mgb2YgdGhlIHNpZ25lZCBpbmZvcm1hdGlvbiByYXRoZXIgdGhhbiBv
dmVybG9hZGluZyB0aGUNCj4+IGNyeXB0b2dyYXBoaWMgc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h1cyBwdWJsaWNhbGx5DQo+a25vd24uDQoNCj4NCj4N
Cj4tSWxhcmkNCj4NCg0K


From nobody Sat Jun  6 04:58:26 2015
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 F28751B2C6E for <cfrg@ietfa.amsl.com>; Sat,  6 Jun 2015 04:58:24 -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 UFruxyy4cA-3 for <cfrg@ietfa.amsl.com>; Sat,  6 Jun 2015 04:58:20 -0700 (PDT)
Received: from emh07.mail.saunalahti.fi (emh07.mail.saunalahti.fi [62.142.5.117]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 744171B2C6D for <cfrg@irtf.org>; Sat,  6 Jun 2015 04:58:19 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh07.mail.saunalahti.fi (Postfix) with ESMTP id D43424002; Sat,  6 Jun 2015 14:58:16 +0300 (EEST)
Date: Sat, 6 Jun 2015 14:58:16 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Paul Lambert <paul@marvell.com>
Message-ID: <20150606115816.GA15528@LK-Perkele-VII>
References: <D1971B0F.6AC2C%paul@marvell.com> <20150605173240.GA24018@LK-Perkele-VII> <D1980340.6AD13%paul@marvell.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <D1980340.6AD13%paul@marvell.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/ml0ZjWeacarI4T037q2WuWfDTg0>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Signature contexts -> Re: testability of signature input/output parameters
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Jun 2015 11:58:25 -0000

On Sat, Jun 06, 2015 at 09:00:10AM +0000, Paul Lambert wrote:
> 
> >The problem that two protocols will probably conflict about meaning of
> >at least some message, unless specifically designed not to.
> >
> Ok, thank you for your patient explanation.  I see where this might help,
> but it does imply that the context needs to be an explicit parameter of a
> signature API. 

Yes, it is signing and verifying parameter, simlarly as message. In fact,
in my prototypes, internally it gets treated as part of the message to
sign with the underlying simpler primitive.


-Ilari


From nobody Sun Jun  7 23:38:33 2015
Return-Path: <crypto@brainhub.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CCB781B2C5D for <cfrg@ietfa.amsl.com>; Sun,  7 Jun 2015 23:38:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.799
X-Spam-Level: 
X-Spam-Status: No, score=0.799 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id urWAe83qnHXH for <cfrg@ietfa.amsl.com>; Sun,  7 Jun 2015 23:38:29 -0700 (PDT)
Received: from resqmta-po-07v.sys.comcast.net (resqmta-po-07v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:166]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 897F31B2C89 for <cfrg@irtf.org>; Sun,  7 Jun 2015 23:38:29 -0700 (PDT)
Received: from resomta-po-20v.sys.comcast.net ([96.114.154.244]) by resqmta-po-07v.sys.comcast.net with comcast id dieS1q0045Geu2801ieUpk; Mon, 08 Jun 2015 06:38:28 +0000
Received: from [192.168.1.2] ([71.202.164.227]) by resomta-po-20v.sys.comcast.net with comcast id dieS1q00A4uhcbK01ieS3Z; Mon, 08 Jun 2015 06:38:28 +0000
Message-ID: <55753862.9070205@brainhub.org>
Date: Sun, 07 Jun 2015 23:38:26 -0700
From: Andrey Jivsov <crypto@brainhub.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Simon Josefsson <simon@josefsson.org>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <5564CBEC.8070109@brainhub.org> <87siafxiyw.fsf@latte.josefsson.org> <556D4112.7040208@brainhub.org> <87zj4d38lp.fsf@latte.josefsson.org>
In-Reply-To: <87zj4d38lp.fsf@latte.josefsson.org>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1433745508; bh=r9rVa1jP2UXGa+0xTKKROSGc8P/nZg3i6rNIuE57YZQ=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=VaxJ5Y88KOCGptXZ63HLK+DbWwsjvVDCq9Pb91wwCGd2leZHfUigO+5lAD3qwfBQz VSs0L3M0Vzxpl9hgZ9sn98gQgJjlsa7zzasQ6duVbk23idK81WapKONvCpe6x0pLo9 cHnhXQqdsmWZAnV4qw0+tZbOTXlvC8L8xgQqn7WF4BjFPqTtGRdDdErvI5ZA4Rez28 u7IO6gaZQ5JbR2XO3XAEXEun340uITFY7QhgAVjQd+PahRMDT0ETxSNGUv5ZjE2CtT bKzDkej2kw/N1YeemuFrKI2fOdVJyE+S4wj8qEFDz9+7A2teGIt5pEBCl4gdGjdyXQ jSL2effIWmiMA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/SXBZdwZ7czLXIjyyjqxcoTWJKiU>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Jun 2015 06:38:32 -0000

On 06/05/2015 06:53 PM, Simon Josefsson wrote:
...
>> Yes, but what cost "no problems" actually has in some cases?
>>
>> Before: one could hash during streaming.
>> After: one extra re-hashing is needed, denying the benefit of hashing
>> while streaming.
>
> I believe you are mistaken.  OpenPGP with EdDSA only hashes once, during
> streaming.
>

For example, GnuPGP, which follows the 
https://tools.ietf.org/html/draft-koch-eddsa-for-openpgp-02#section-5 
(search for "a digest of the message is used as input"), hashes the 
message three times.

_gcry_ecc_eddsa_sign hashes the input twice (per EdDSA spec), and the 
'gcry_mpi_t input', the input to the EdDSA sign function, is the hash of 
the message (note that the input is the MPI, not a file or a buffer). 
The higher-level code hashed the actual input into that MPI passed to 
_gcry_ecc_eddsa_sign.

By doing so GnuPG implementation and the spec above depend on the poll's 
#3 as the only mode (for large or small messages alike).

It follows that GnuPG signing method always depends on collision 
resistance of the hash function, (always with ECDSA, and always with 
EdDSA). This means that the 2 extra hashings done in the EdDSA sign 
function don't buy much (at least they don't free one from using a 
collision resistant function).

>> To fix this new demand of low-level crypto there needs to be an
>> engineering fix at a higher level. In the case of OpenPGP applications
>> this means the buffering of the entire input must happen, somehow.
>
> This is false, there is no need to buffer the entire message.  Just hash
> the stream and sign the hash.

Correct. This is poll's #3. One would need to buffer during streaming 
with poll's #2.

>
>> If a user signs+encrypts a 1 TB file, he needs to have at least 2TB of
>> disk space, one at the destination, and another at an
>> implementation-specific location (e.g. /tmp directory, at destination,
>> or $HOME). Besides user unfriendliness, such as slower performance and
>> extra free space demands, one cannot really delete/wipe a sensitive
>> file on an SSD drive, and the temporary file allows good possibility
>> for signature fault attacks.
>
> I believe GnuPG already implements EdDSA signing, so you can look at the
> implementation to see how it actually works.  There is no temporary
> files the same size as the input.

I double-checked the above with the libgcrypt-1.6.3 source code.

>
> /Simon
>


From nobody Mon Jun  8 04:09:49 2015
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 237AF1A1B7D for <cfrg@ietfa.amsl.com>; Mon,  8 Jun 2015 04:09:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.002
X-Spam-Level: 
X-Spam-Status: No, score=-0.002 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, 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 vThZBt5wUO-r for <cfrg@ietfa.amsl.com>; Mon,  8 Jun 2015 04:09:46 -0700 (PDT)
Received: from emh04.mail.saunalahti.fi (emh04.mail.saunalahti.fi [62.142.5.110]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 846A71A1B72 for <cfrg@irtf.org>; Mon,  8 Jun 2015 04:09:46 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh04.mail.saunalahti.fi (Postfix) with ESMTP id 9B4991A2667; Mon,  8 Jun 2015 14:09:44 +0300 (EEST)
Date: Mon, 8 Jun 2015 14:09:44 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Andrey Jivsov <crypto@brainhub.org>
Message-ID: <20150608110944.GB25285@LK-Perkele-VII>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <5564CBEC.8070109@brainhub.org> <87siafxiyw.fsf@latte.josefsson.org> <556D4112.7040208@brainhub.org> <87zj4d38lp.fsf@latte.josefsson.org> <55753862.9070205@brainhub.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <55753862.9070205@brainhub.org>
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/LQ0LkFt23OOvkZdhEWSTRJShEsc>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Jun 2015 11:09:48 -0000

On Sun, Jun 07, 2015 at 11:38:26PM -0700, Andrey Jivsov wrote:
> 
> It follows that GnuPG signing method always depends on collision resistance
> of the hash function, (always with ECDSA, and always with EdDSA). This means
> that the 2 extra hashings done in the EdDSA sign function don't buy much (at
> least they don't free one from using a collision resistant function).

Yes, those two don't free from having to have CR hash function, however, what
those do is:

- Not having to do "nonce" generation involving random numbers (which has
  a long history of trainwrecks).
- Not having to do divisions mod order. Divisions mod order when verifying are
  annoying, divisions mod order when signing are dangerous.

And besides, both "extra" hashes look to be just one SHA-512 block if hash
algorithm is SHA-256.

And signing long messages like CMS and OpenPGP do is more of an exception.
Most signing is of short messages.


-Ilari


From nobody Tue Jun  9 03:58:17 2015
Return-Path: <simon@josefsson.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 B90D71A0022 for <cfrg@ietfa.amsl.com>; Tue,  9 Jun 2015 03:58:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.149
X-Spam-Level: *
X-Spam-Status: No, score=1.149 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_SE=0.35, 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 Bb70176545ie for <cfrg@ietfa.amsl.com>; Tue,  9 Jun 2015 03:58:15 -0700 (PDT)
Received: from duva.sjd.se (duva.sjd.se [IPv6:2001:9b0:1:1702::100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8170B1A001B for <cfrg@irtf.org>; Tue,  9 Jun 2015 03:58:14 -0700 (PDT)
Received: from latte.josefsson.org ([155.4.17.3]) (authenticated bits=0) by duva.sjd.se (8.14.4/8.14.4/Debian-4) with ESMTP id t59Aw3Xm010927 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for <cfrg@irtf.org>; Tue, 9 Jun 2015 12:58:05 +0200
X-Hashcash: 1:22:150609:cfrg@irtf.org::DEYHpLM8y1okgM1a:29cT
From: Simon Josefsson <simon@josefsson.org>
To: cfrg@irtf.org
OpenPGP: id=54265E8C; url=http://josefsson.org/54265e8c.txt
Date: Tue, 09 Jun 2015 12:58:02 +0200
Message-ID: <87oakpdu85.fsf@latte.josefsson.org>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature"
X-Virus-Scanned: clamav-milter 0.98.7 at duva.sjd.se
X-Virus-Status: Clean
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/19JSJpZgVrSQhvSeJlboLaPkMFU>
Subject: [Cfrg] Options?
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Jun 2015 10:58:15 -0000

--=-=-=
Content-Type: text/plain

Hello.

Perhaps this is a too simple question, but anyway.  What are the
alternatives for signature scheme that are on the table?  Quoting the
meeting minutes [1]:

 next: define a signature scheme for use with the new curves.
 Some options:
 - ECDSA on (twisted) Edwards form versions of the new curves
 - De-randomised ECDSA:
   - avoids common failure mode of ECDSA
   - generate r for ECDSA by hashing message and private key
   - generate r via prf.
 - EdDSA [BDLST'11]
   - variant of schnorr signature scheme

Are there any details how the first option would actually work?  Has
anyone tried implementing it?

The second alternative is not a completely new signature scheme, is it?
The idea looks similar to RFC 6979.

Are there other options available?

/Simon

[1] https://www.ietf.org/proceedings/92/minutes/minutes-92-cfrg

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJVdsa6AAoJEIYLf7sy+BGd+BYH/35sriKjjwx1KN6zAhWzYLy4
0X16y9pj/Wc+yQ2LsVh8GQIQW0TzLeDjlz6CYhMBygTflEbdIGkfbrNKr8HeNTyC
VihrP18zw3CPapX3uo2tQ7drgYJdagOIXo1a6UqMK9nbJ0uEIL8C50drBVFbaIas
ukG+9bDnFyX/yy0cT2q8G7IT3pvsJGhB9+l2yT2I6wHqXuMxLSpsbwjb/QmKp2LN
Eb8ooe+11h25osZA/GXwOLymNI5ahs1M2JxdV+Jyf5U5oJu3H/Qv6XCZbpRvxsS9
pOrMVxZHpvO8mgmqibCx8YJxRkujy5BuWgM5hBXRNlwQooJ09XDSM03xMytPXfA=
=qwlp
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue Jun  9 04:01:55 2015
Return-Path: <Kenny.Paterson@rhul.ac.uk>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E32A51A0054 for <cfrg@ietfa.amsl.com>; Tue,  9 Jun 2015 04:01:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.003
X-Spam-Level: 
X-Spam-Status: No, score=-0.003 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ChhIqQdmLBgS for <cfrg@ietfa.amsl.com>; Tue,  9 Jun 2015 04:01:51 -0700 (PDT)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0679.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::679]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 63DCD1A002A for <cfrg@irtf.org>; Tue,  9 Jun 2015 04:01:51 -0700 (PDT)
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by DBXPR03MB382.eurprd03.prod.outlook.com (10.141.10.12) with Microsoft SMTP Server (TLS) id 15.1.184.17; Tue, 9 Jun 2015 11:01:33 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) by DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) with mapi id 15.01.0184.014; Tue, 9 Jun 2015 11:01:33 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Simon Josefsson <simon@josefsson.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Options?
Thread-Index: AQHQoqM4h1bmn1NiMkuDNjs47xUVq52kErUA
Date: Tue, 9 Jun 2015 11:01:33 +0000
Message-ID: <D19C85B5.4BF95%kenny.paterson@rhul.ac.uk>
References: <87oakpdu85.fsf@latte.josefsson.org>
In-Reply-To: <87oakpdu85.fsf@latte.josefsson.org>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.9.150325
authentication-results: josefsson.org; dkim=none (message not signed) header.d=none;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [134.219.227.30]
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB382;
x-microsoft-antispam-prvs: <DBXPR03MB3825200EF423642619302D3BCBE0@DBXPR03MB382.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(520003)(5005006)(3002001); SRVR:DBXPR03MB382; BCL:0; PCL:0; RULEID:; SRVR:DBXPR03MB382; 
x-forefront-prvs: 06022AA85F
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(51704005)(479174004)(2900100001)(2950100001)(5001960100002)(2501003)(102836002)(107886002)(77096005)(92566002)(66066001)(74482002)(2656002)(40100003)(62966003)(77156002)(83506001)(15975445007)(36756003)(122556002)(19580395003)(19580405001)(54356999)(87936001)(5001770100001)(4001350100001)(76176999)(46102003)(189998001)(86362001)(5002640100001)(50986999)(106116001); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR03MB382; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: text/plain; charset="us-ascii"
Content-ID: <FB753F322F7D8141A5214ECF336E30CA@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jun 2015 11:01:33.2401 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR03MB382
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/ZnZeJXDPzz07-Gj1MwxxvXbWwe0>
Subject: Re: [Cfrg] Options?
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Jun 2015 11:01:54 -0000

Simon,

We'll be coming to that very question rather soon as chairs, once the
current poll is closed and we've analysed the results. Watch this space!

Everyone else: please just hold off for a couple of days.

Cheers

Kenny=20



On 09/06/2015 11:58, "Simon Josefsson" <simon@josefsson.org> wrote:

>Hello.
>
>Perhaps this is a too simple question, but anyway.  What are the
>alternatives for signature scheme that are on the table?  Quoting the
>meeting minutes [1]:
>
> next: define a signature scheme for use with the new curves.
> Some options:
> - ECDSA on (twisted) Edwards form versions of the new curves
> - De-randomised ECDSA:
>   - avoids common failure mode of ECDSA
>   - generate r for ECDSA by hashing message and private key
>   - generate r via prf.
> - EdDSA [BDLST'11]
>   - variant of schnorr signature scheme
>
>Are there any details how the first option would actually work?  Has
>anyone tried implementing it?
>
>The second alternative is not a completely new signature scheme, is it?
>The idea looks similar to RFC 6979.
>
>Are there other options available?
>
>/Simon
>
>[1] https://www.ietf.org/proceedings/92/minutes/minutes-92-cfrg


From nobody Tue Jun  9 07:21:45 2015
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1669D1A8798 for <cfrg@ietfa.amsl.com>; Tue,  9 Jun 2015 07:21:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.689
X-Spam-Level: 
X-Spam-Status: No, score=0.689 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cmu0h37f9Tkj for <cfrg@ietfa.amsl.com>; Tue,  9 Jun 2015 07:21:42 -0700 (PDT)
Received: from statler.isode.com (statler.isode.com [217.34.220.151]) by ietfa.amsl.com (Postfix) with ESMTP id BA2A11A879F for <cfrg@irtf.org>; Tue,  9 Jun 2015 07:21:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1433859702; d=isode.com; s=selector; i=@isode.com; bh=OZ+G80v+WCampx61TZ/OXTIozL0PcC3MOpQOKTcESsc=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=sjEtmDexhz/GCAyFzGS0KZM79lNIcGjBE0bzbw1XEdLOWFyF8sQABLZAuCX59rjg+wOuR8 MLgryrvfUh45g0P50rWhXxDh1hPeUmTQzP3TkRLrd2Rxuwy2ZAP9xGBgdSpLf5NmK7ljck YzcFbf3/iuotfJ7Hj9LJMAaQjA5pQ7Y=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215])  by statler.isode.com (submission channel) via TCP with ESMTPSA  id <VXb2dQAne2im@statler.isode.com>; Tue, 9 Jun 2015 15:21:41 +0100
Message-ID: <5576F66F.8020902@isode.com>
Date: Tue, 09 Jun 2015 15:21:35 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
To: "cfrg@irtf.org" <cfrg@irtf.org>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com>
In-Reply-To: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/YbKtGpYQCpce6pLDRaoEH0sFHec>
Subject: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Jun 2015 14:21:44 -0000

On 20/05/2015 22:16, Alexey Melnikov wrote:
> Signature schemes have, traditionally, hashed the message to be signed to
> a representative value and then actually signed that value. This has led
> to APIs that follow the Init, Update*, Final (IUF) pattern that allows for
> fragmented or very large messages to be signed with constant memory usage.
>
> Alternatively, some signature schemes hash the message to be signed twice,
> where a prefix of the second hash depends on the result of the first.
> Ed25519 is an example of a scheme of this type. This typically allows the
> signature scheme to require fewer assumptions about the strength of the
> hash function that is employed. However, this approach implies that the signing
> algorithm would have to buffer the entire message. That could lead to
> unacceptable memory usage for applications that sign very large messages.
>
> Penalising large messages might be seen as a positive by some because
> signing arbitrarily large messages invites implementations to process
> unauthenticated data because of its potential size. Also, designs that
> really wish to do this can always define that the message to be signed is
> actually a hash of the data. In doing so they would reintroduce the
> requirement that the hash function be collision resistant, but can
> implement an IUF API in constant space again.
>
> On the other hand, if we wish a signature primitive to be easy to
> substitute into existing protocols then supporting a constant-space IUF
> API might be seen as a requirement.
>
> Chairs wish to poll the group on the following topic (please pick one):
>
> #1: The signature scheme should follow the traditional model of hashing
> the message to be signed, thus trivially supporting IUF APIs in
> constant-space, at the cost of requiring collision resistant hash
> functions.
>
> #2: The signature scheme should not depend on collision resistance, at the
> cost of the signing algorithm having to buffer messages to be signed.
>
> #3: option #2, but with an additional "large message" mode defined for
> protocols that feel that they need it, where the message to be signed is
> actually a hash of the true message.

After discussing answers to this poll chairs concluded that despite
security limitations of Initiliase-Update-Finalise (IUF) APIs on verifier's
end, there is rough consensus that any recommended CFRG signature scheme
should support such APIs.

The next step for CFRG is to solicit proposals for EC signature schemes that
satisfy the previously agreed requirements, including support for the IUF APIs.


From nobody Tue Jun  9 14:44:10 2015
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 65EBE1A01AE for <cfrg@ietfa.amsl.com>; Tue,  9 Jun 2015 14:44:09 -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 SRC6pEq2Un7c for <cfrg@ietfa.amsl.com>; Tue,  9 Jun 2015 14:44:07 -0700 (PDT)
Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 10DCB1A0045 for <cfrg@irtf.org>; Tue,  9 Jun 2015 14:44:06 -0700 (PDT)
Received: by wibut5 with SMTP id ut5so29742173wib.1 for <cfrg@irtf.org>; Tue, 09 Jun 2015 14:44: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=KpNrTAfl5TkP+1ndtzPVSbURHBVv5oPU8z/5MHBAjnc=; b=HHQM9FD8DneEzC9d95o7kOajqIXxJ8lfNzk4/gj1/b/dqBRDhW1n9j71bLJLCiN24W HMrJR2xE95g3vav41EEeEABXy/2o/iO2GbUJedkCcuEg0b7ej2JEZSc87islrwphjrjc huoR+Y+QggQ93tbiAzr2H6Vk5PrHQwqn9ancZqJQIbKVR43btOzWmx7U5wvdpEqbF6uw DdpisgfZglZBNk8QeytxXT4aprF9YPIx684yjiKoEy9QE+QO3a90HQK/wgPAAbAUPduo cRL22DVsBzQqr/kg2ItOVohTqxbAAoZ989l36qE777IB+3y7sw/ZAS53+cEm1hSrRfiM itXA==
MIME-Version: 1.0
X-Received: by 10.194.172.130 with SMTP id bc2mr46583839wjc.85.1433886245732;  Tue, 09 Jun 2015 14:44:05 -0700 (PDT)
Received: by 10.194.20.97 with HTTP; Tue, 9 Jun 2015 14:44:05 -0700 (PDT)
Received: by 10.194.20.97 with HTTP; Tue, 9 Jun 2015 14:44:05 -0700 (PDT)
In-Reply-To: <5576F66F.8020902@isode.com>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <5576F66F.8020902@isode.com>
Date: Tue, 9 Jun 2015 14:44:05 -0700
Message-ID: <CACsn0c=FWkGCWJ8LERVFAN-puD4GEeBF0Y7wm985iTSFvb+dSA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Content-Type: multipart/alternative; boundary=089e013c63425348d905181ca81c
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/nINcR5znqwPNS0YXPV9T6vZ-leg>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Jun 2015 21:44:09 -0000

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

On Jun 9, 2015 7:21 AM, "Alexey Melnikov" <alexey.melnikov@isode.com> wrote:
>
> On 20/05/2015 22:16, Alexey Melnikov wrote:
>>
>> Signature schemes have, traditionally, hashed the message to be signed to
>> a representative value and then actually signed that value. This has led
>> to APIs that follow the Init, Update*, Final (IUF) pattern that allows
for
>> fragmented or very large messages to be signed with constant memory
usage.
>>
>> Alternatively, some signature schemes hash the message to be signed
twice,
>> where a prefix of the second hash depends on the result of the first.
>> Ed25519 is an example of a scheme of this type. This typically allows the
>> signature scheme to require fewer assumptions about the strength of the
>> hash function that is employed. However, this approach implies that the
signing
>> algorithm would have to buffer the entire message. That could lead to
>> unacceptable memory usage for applications that sign very large messages.
>>
>> Penalising large messages might be seen as a positive by some because
>> signing arbitrarily large messages invites implementations to process
>> unauthenticated data because of its potential size. Also, designs that
>> really wish to do this can always define that the message to be signed is
>> actually a hash of the data. In doing so they would reintroduce the
>> requirement that the hash function be collision resistant, but can
>> implement an IUF API in constant space again.
>>
>> On the other hand, if we wish a signature primitive to be easy to
>> substitute into existing protocols then supporting a constant-space IUF
>> API might be seen as a requirement.
>>
>> Chairs wish to poll the group on the following topic (please pick one):
>>
>> #1: The signature scheme should follow the traditional model of hashing
>> the message to be signed, thus trivially supporting IUF APIs in
>> constant-space, at the cost of requiring collision resistant hash
>> functions.
>>
>> #2: The signature scheme should not depend on collision resistance, at
the
>> cost of the signing algorithm having to buffer messages to be signed.
>>
>> #3: option #2, but with an additional "large message" mode defined for
>> protocols that feel that they need it, where the message to be signed is
>> actually a hash of the true message.
>
>
> After discussing answers to this poll chairs concluded that despite
> security limitations of Initiliase-Update-Finalise (IUF) APIs on
verifier's
> end, there is rough consensus that any recommended CFRG signature scheme
> should support such APIs.
>
> The next step for CFRG is to solicit proposals for EC signature schemes
that
> satisfy the previously agreed requirements, including support for the IUF
APIs.

Does this mean that option 3 has been taken, or option 1? Or will we permit
both and decide based on what the schemes look like?

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

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

<p dir="ltr"><br>
On Jun 9, 2015 7:21 AM, &quot;Alexey Melnikov&quot; &lt;<a href="mailto:alexey.melnikov@isode.com">alexey.melnikov@isode.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On 20/05/2015 22:16, Alexey Melnikov wrote:<br>
&gt;&gt;<br>
&gt;&gt; Signature schemes have, traditionally, hashed the message to be signed to<br>
&gt;&gt; a representative value and then actually signed that value. This has led<br>
&gt;&gt; to APIs that follow the Init, Update*, Final (IUF) pattern that allows for<br>
&gt;&gt; fragmented or very large messages to be signed with constant memory usage.<br>
&gt;&gt;<br>
&gt;&gt; Alternatively, some signature schemes hash the message to be signed twice,<br>
&gt;&gt; where a prefix of the second hash depends on the result of the first.<br>
&gt;&gt; Ed25519 is an example of a scheme of this type. This typically allows the<br>
&gt;&gt; signature scheme to require fewer assumptions about the strength of the<br>
&gt;&gt; hash function that is employed. However, this approach implies that the signing<br>
&gt;&gt; algorithm would have to buffer the entire message. That could lead to<br>
&gt;&gt; unacceptable memory usage for applications that sign very large messages.<br>
&gt;&gt;<br>
&gt;&gt; Penalising large messages might be seen as a positive by some because<br>
&gt;&gt; signing arbitrarily large messages invites implementations to process<br>
&gt;&gt; unauthenticated data because of its potential size. Also, designs that<br>
&gt;&gt; really wish to do this can always define that the message to be signed is<br>
&gt;&gt; actually a hash of the data. In doing so they would reintroduce the<br>
&gt;&gt; requirement that the hash function be collision resistant, but can<br>
&gt;&gt; implement an IUF API in constant space again.<br>
&gt;&gt;<br>
&gt;&gt; On the other hand, if we wish a signature primitive to be easy to<br>
&gt;&gt; substitute into existing protocols then supporting a constant-space IUF<br>
&gt;&gt; API might be seen as a requirement.<br>
&gt;&gt;<br>
&gt;&gt; Chairs wish to poll the group on the following topic (please pick one):<br>
&gt;&gt;<br>
&gt;&gt; #1: The signature scheme should follow the traditional model of hashing<br>
&gt;&gt; the message to be signed, thus trivially supporting IUF APIs in<br>
&gt;&gt; constant-space, at the cost of requiring collision resistant hash<br>
&gt;&gt; functions.<br>
&gt;&gt;<br>
&gt;&gt; #2: The signature scheme should not depend on collision resistance, at the<br>
&gt;&gt; cost of the signing algorithm having to buffer messages to be signed.<br>
&gt;&gt;<br>
&gt;&gt; #3: option #2, but with an additional &quot;large message&quot; mode defined for<br>
&gt;&gt; protocols that feel that they need it, where the message to be signed is<br>
&gt;&gt; actually a hash of the true message.<br>
&gt;<br>
&gt;<br>
&gt; After discussing answers to this poll chairs concluded that despite<br>
&gt; security limitations of Initiliase-Update-Finalise (IUF) APIs on verifier&#39;s<br>
&gt; end, there is rough consensus that any recommended CFRG signature scheme<br>
&gt; should support such APIs.<br>
&gt;<br>
&gt; The next step for CFRG is to solicit proposals for EC signature schemes that<br>
&gt; satisfy the previously agreed requirements, including support for the IUF APIs.</p>
<p dir="ltr">Does this mean that option 3 has been taken, or option 1? Or will we permit both and decide based on what the schemes look like?</p>
<p dir="ltr">&gt;<br>
&gt; _______________________________________________<br>
&gt; Cfrg mailing list<br>
&gt;<a href="mailto:Cfrg@irtf.org"> Cfrg@irtf.org</a><br>
&gt;<a href="http://www.irtf.org/mailman/listinfo/cfrg"> http://www.irtf.org/mailman/listinfo/cfrg</a><br>
</p>

--089e013c63425348d905181ca81c--


From nobody Tue Jun  9 18:03:02 2015
Return-Path: <nico@cryptonector.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8AC141A9053 for <cfrg@ietfa.amsl.com>; Tue,  9 Jun 2015 18:03:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.966
X-Spam-Level: 
X-Spam-Status: No, score=-0.966 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, GB_I_INVITATION=-2, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nuYkF1s_ZYCY for <cfrg@ietfa.amsl.com>; Tue,  9 Jun 2015 18:02:59 -0700 (PDT)
Received: from homiemail-a27.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 806CE1A905A for <cfrg@irtf.org>; Tue,  9 Jun 2015 18:02:59 -0700 (PDT)
Received: from homiemail-a27.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTP id D427A598085; Tue,  9 Jun 2015 18:02:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=zmlUHdKMnJG2QL w2/MbdsZT0nK0=; b=k6V8OY1KSci4srClW9xnovTwY6J1h0ZQyATF9oqT7+YQQ+ bH/FETJmsSHY0Nv9bazbxLjNLNghRZRH9SOpru5IxfLPTQJK6sXf0Jcgq7ca1bEh ZR+j9pbAo0gCz8hd3E/Eoq/ovzT/jszl1/2Bc+XbW0KrZRZyD60sXWFcvyw8I=
Received: from localhost (unknown [172.56.22.208]) (Authenticated sender: nico@cryptonector.com) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTPA id 1BD1F598056; Tue,  9 Jun 2015 18:02:57 -0700 (PDT)
Date: Tue, 9 Jun 2015 20:02:57 -0500
From: Nico Williams <nico@cryptonector.com>
To: Watson Ladd <watsonbladd@gmail.com>
Message-ID: <20150610010255.GC18760@localhost>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <5576F66F.8020902@isode.com> <CACsn0c=FWkGCWJ8LERVFAN-puD4GEeBF0Y7wm985iTSFvb+dSA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACsn0c=FWkGCWJ8LERVFAN-puD4GEeBF0Y7wm985iTSFvb+dSA@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/g92_iEZGxcrE3Ou6MnI3s3AYx-8>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 10 Jun 2015 01:03:00 -0000

On Tue, Jun 09, 2015 at 02:44:05PM -0700, Watson Ladd wrote:
> On Jun 9, 2015 7:21 AM, "Alexey Melnikov" <alexey.melnikov@isode.com> wrote:
> > [...]
> 
> Does this mean that option 3 has been taken, or option 1? Or will we permit
> both and decide based on what the schemes look like?

My take is that this is still to be decided (otherwise why not be clear
about it?).

I think it would be a terrible mistake to not have a deterministic and
collision-resistant signature scheme, but it would not be a terrible
mistake to *also* have a deterministic and not-CR (but online) signature
scheme.  One can argue that having the latter is an invitation to others
to make terrible mistakes, but it can't possibly be as bad as not having
*any* determnistic and CR signature scheme.

Nico
-- 


From nobody Tue Jun  9 18:10:10 2015
Return-Path: <bascule@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3F9221A906B for <cfrg@ietfa.amsl.com>; Tue,  9 Jun 2015 18:10:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.1
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tmI3MamRz8ij for <cfrg@ietfa.amsl.com>; Tue,  9 Jun 2015 18:10:06 -0700 (PDT)
Received: from mail-ob0-x22c.google.com (mail-ob0-x22c.google.com [IPv6:2607:f8b0:4003:c01::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9DA8D1A9037 for <cfrg@irtf.org>; Tue,  9 Jun 2015 18:10:06 -0700 (PDT)
Received: by obbgp2 with SMTP id gp2so24520895obb.2 for <cfrg@irtf.org>; Tue, 09 Jun 2015 18:10:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=daYVOr1vOrEOJKTXEB7iI4NjwOOt618Cm/NTUZCAqLI=; b=INoM1dA7OaQkzMXynvx8+8Um7oGsXnRnpUOMW/el3xC07rgumMV39k9EYNNlWUiXAF N5xQEjjLNd2QfYQP97FMgTV0QgnopZwJvuQ5aI+QU99OCz5WeWHFNCn065HLoWgKYVJD fCx4/21yaD99O4Ye9sPKo6JgKuEiXSuUPZa/2Qrvf5XBypOpvls/PnM2ouhlFcRL6Y38 +4+CFmLKmEeUqxGuYRluPE+QlwA/iIlcl0QuZpaYmrj3iYce36jVbweQuzBcKWA8a191 RXiH70aoap3AWBEi+Jjv798kJZexTfkhPWo2vaDET6cq9V09CJnzNzpBdjsoHS4MDfd9 n8Iw==
X-Received: by 10.182.76.100 with SMTP id j4mr445815obw.14.1433898606084; Tue, 09 Jun 2015 18:10:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.110.241 with HTTP; Tue, 9 Jun 2015 18:09:45 -0700 (PDT)
In-Reply-To: <20150610010255.GC18760@localhost>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <5576F66F.8020902@isode.com> <CACsn0c=FWkGCWJ8LERVFAN-puD4GEeBF0Y7wm985iTSFvb+dSA@mail.gmail.com> <20150610010255.GC18760@localhost>
From: Tony Arcieri <bascule@gmail.com>
Date: Tue, 9 Jun 2015 18:09:45 -0700
Message-ID: <CAHOTMVJqjuvoS=cz8=uyD+uE82s8Aajw7O32jx1L27_Sytf6LA@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
Content-Type: multipart/alternative; boundary=047d7b6729240f48be05181f890b
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/1ynTJTw3z6lZBOiqw16i368klOU>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 10 Jun 2015 01:10:08 -0000

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

On Tue, Jun 9, 2015 at 6:02 PM, Nico Williams <nico@cryptonector.com> wrote:

> I think it would be a terrible mistake to not have a deterministic and
> collision-resistant signature scheme, but it would not be a terrible
> mistake to *also* have a deterministic and not-CR (but online) signature
> scheme.


+1. I was trying to make that same point with my vote

-- 
Tony Arcieri

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On T=
ue, Jun 9, 2015 at 6:02 PM, Nico Williams <span dir=3D"ltr">&lt;<a href=3D"=
mailto:nico@cryptonector.com" target=3D"_blank">nico@cryptonector.com</a>&g=
t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think it would be a te=
rrible mistake to not have a deterministic and<br>
collision-resistant signature scheme, but it would not be a terrible<br>
mistake to *also* have a deterministic and not-CR (but online) signature<br=
>
scheme.</blockquote><div><br></div><div>+1. I was trying to make that same =
point with my vote=C2=A0</div></div><div><br></div>-- <br><div class=3D"gma=
il_signature">Tony Arcieri<br></div>
</div></div>

--047d7b6729240f48be05181f890b--


From nobody Wed Jun 10 07:04:06 2015
Return-Path: <simon@josefsson.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 9E52A1B2A9C for <cfrg@ietfa.amsl.com>; Wed, 10 Jun 2015 07:04:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.348
X-Spam-Level: 
X-Spam-Status: No, score=0.348 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HELO_EQ_SE=0.35, 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 hCpYtSZ4kzw9 for <cfrg@ietfa.amsl.com>; Wed, 10 Jun 2015 07:04:04 -0700 (PDT)
Received: from duva.sjd.se (duva.sjd.se [IPv6:2001:9b0:1:1702::100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F1ECB1B29D4 for <cfrg@irtf.org>; Wed, 10 Jun 2015 07:04:02 -0700 (PDT)
Received: from latte.josefsson.org ([155.4.17.3]) (authenticated bits=0) by duva.sjd.se (8.14.4/8.14.4/Debian-4) with ESMTP id t5AE3mnn003136 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 10 Jun 2015 16:03:50 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Andrey Jivsov <crypto@brainhub.org>
References: <C49BFA4F-76B9-48A1-913B-144D606FBBDD@isode.com> <5564CBEC.8070109@brainhub.org> <87siafxiyw.fsf@latte.josefsson.org> <556D4112.7040208@brainhub.org> <87zj4d38lp.fsf@latte.josefsson.org> <55753862.9070205@brainhub.org>
OpenPGP: id=54265E8C; url=http://josefsson.org/54265e8c.txt
X-Hashcash: 1:22:150610:cfrg@irtf.org::gxOEPwhI261ZZIod:2dQx
X-Hashcash: 1:22:150610:crypto@brainhub.org::ewkBz19n0WgMDsyp:Qvlo
Date: Wed, 10 Jun 2015 16:03:47 +0200
In-Reply-To: <55753862.9070205@brainhub.org> (Andrey Jivsov's message of "Sun,  07 Jun 2015 23:38:26 -0700")
Message-ID: <87h9qfpsn0.fsf@latte.josefsson.org>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature"
X-Virus-Scanned: clamav-milter 0.98.7 at duva.sjd.se
X-Virus-Status: Clean
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/vAbe_tWwvSSiw_VmnieNb6T7Od4>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 10 Jun 2015 14:04:05 -0000

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Andrey Jivsov <crypto@brainhub.org> writes:

> On 06/05/2015 06:53 PM, Simon Josefsson wrote:
> ...
>>> Yes, but what cost "no problems" actually has in some cases?
>>>
>>> Before: one could hash during streaming.
>>> After: one extra re-hashing is needed, denying the benefit of hashing
>>> while streaming.
>>
>> I believe you are mistaken.  OpenPGP with EdDSA only hashes once, during
>> streaming.
>
> For example, GnuPGP, which follows the
> https://tools.ietf.org/html/draft-koch-eddsa-for-openpgp-02#section-5=20
> (search for "a digest of the message is used as input"), hashes the
> message three times.

Well, not really, it hashes the message (the data to sign) once, and
then signs the hash value using EdDSA.  Yes, EdDSA internally hashes its
input (the hash value) twice, but that won't require buffering the
entire data to sign (the message).  I believe it was that property
("hash entire message once or multiple times") that was under
discussion.  So I think we actually agree on everything except we had
different contexts of this discussion.

> _gcry_ecc_eddsa_sign hashes the input twice (per EdDSA spec), and the
> 'gcry_mpi_t input', the input to the EdDSA sign function, is the hash
> of the message (note that the input is the MPI, not a file or a
> buffer). The higher-level code hashed the actual input into that MPI
> passed to _gcry_ecc_eddsa_sign.
>
> By doing so GnuPG implementation and the spec above depend on the
> poll's #3 as the only mode (for large or small messages alike).

Right.  Thanks for analysis.

> It follows that GnuPG signing method always depends on collision
> resistance of the hash function, (always with ECDSA, and always with
> EdDSA). This means that the 2 extra hashings done in the EdDSA sign
> function don't buy much (at least they don't free one from using a
> collision resistant function).

Right.

>>> To fix this new demand of low-level crypto there needs to be an
>>> engineering fix at a higher level. In the case of OpenPGP applications
>>> this means the buffering of the entire input must happen, somehow.
>>
>> This is false, there is no need to buffer the entire message.  Just hash
>> the stream and sign the hash.
>
> Correct. This is poll's #3. One would need to buffer during streaming
> with poll's #2.

Not so fast -- it would be perfectly fine for CFRG to stop and only do
#2 and leave the #3 part to higher-level protocols, like OpenPGP and
S/MIME which has the large-message-concern.  It seems OpenPGP has
already done this.

/Simon

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJVeEPDAAoJEIYLf7sy+BGd+FUH/jEjredNUuD6T87C3O0REUzV
x/aTrV3Jd2WJxFD6dI/g8nNMQq0wwa4+SC46Fft5qogQiT3eggBPUMvgUPPnSXrj
7pk7UhAAh0Cl4nYOwbVzhmNJd9M3009Rxm14DkT26Hvd91NSX3KfYe+eh7iBsTCl
2IgmbzNEdxW5WOjhwe74Z1sliIR5rTYsuWkrHZvUm+OHlS2vANtj7kE1U0gNrltH
Mjt9lid9+dAdgrQcFdGo0/Nx2mLHk4TZmmfgrirHdEGNb3HAXGFFADT0sMmkkCg2
wU9iCSUN8uRhDNC8ky6LVGGo/Lbq0yFkTuyRZsRBBzD942UGUuvwznfR9DiARkQ=
=pztE
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Wed Jun 10 07:28:47 2015
Return-Path: <simon@josefsson.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 37C0F1A8720 for <cfrg@ietfa.amsl.com>; Wed, 10 Jun 2015 07:28:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.149
X-Spam-Level: *
X-Spam-Status: No, score=1.149 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_SE=0.35, 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 MIOIbV5YcVFV for <cfrg@ietfa.amsl.com>; Wed, 10 Jun 2015 07:28:44 -0700 (PDT)
Received: from duva.sjd.se (duva.sjd.se [IPv6:2001:9b0:1:1702::100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A9B7E1B2A74 for <cfrg@irtf.org>; Wed, 10 Jun 2015 07:28:32 -0700 (PDT)
Received: from latte.josefsson.org ([155.4.17.3]) (authenticated bits=0) by duva.sjd.se (8.14.4/8.14.4/Debian-4) with ESMTP id t5AESTTk005526 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for <cfrg@irtf.org>; Wed, 10 Jun 2015 16:28:30 +0200
X-Hashcash: 1:22:150610:cfrg@irtf.org::E7o67F3L+NA9TZGl:9zy0
From: Simon Josefsson <simon@josefsson.org>
To: cfrg@irtf.org
OpenPGP: id=54265E8C; url=http://josefsson.org/54265e8c.txt
Date: Wed, 10 Jun 2015 16:28:28 +0200
Message-ID: <87fv5zprhv.fsf@latte.josefsson.org>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature"
X-Virus-Scanned: clamav-milter 0.98.7 at duva.sjd.se
X-Virus-Status: Clean
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/m_wlRbOOFXI6MTRWOrqucWX9BKk>
Subject: [Cfrg] MakingEdDSA non-collision-resistant
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 10 Jun 2015 14:28:45 -0000

--=-=-=
Content-Type: text/plain

Hi.

I've been thinking about how to construct a non-collision-resiliant
signature scheme based on the collision-resiliant EdDSA, in order to
comply with how I interpret the newly imposed CFRG requirement to
support streamed IUF-modes.

A simple approach would be to specify a process like this:

  Non-CR-Ed25519-SHA256(K, M) := Ed25519(K, "SHA-256" || SHA-256(M))

The hash function to use would then be parametrizable by modifying the
constant string "SHA-256" to the name of some other function, and use
that function instead of SHA-256 to compute the hash of the message to
sign.  The string could be replaced with any string that is unique for
each hash.

Thoughts on this construct?

Having someone do proper theoretical security proofs of it would be
useful.  You would reduce the security assumptions to that of the EdDSA
signature algorithm and the collision-resistance property of the hash
function.

This construct will have the same unwanted security properties as RSA
and ECDSA have wrt having streamed untrusted data around.  I'm sure
implementers will shoot themselves in the foot with the approach -- just
like they do with RSA/ECDSA -- so a security consideration on this
aspect is warranted.  An "The Init-Update-Finish API is Considered
Harmful" text if you want.

Another approach would be to sign continously like Bernstein suggested,
by splitting up m into many packets p0, p1, ... pn:

   * packet p0 plus a signature s0 of ("start",p0);
   * packet p1 plus a signature s1 of ("middle",s0,p1);
   * packet p2 plus a signature s2 of ("middle",s1,p2);
   * ...;
   * last packet pn plus a signature of ("end",previous s,pn).

This has the advantage that it keeps the collision-resiliance property
at the expense of the cost of doing many signatures.  This approach
would need to discuss how packets are split up, which you can do in many
ways.

Both approaches would be add-on's to EdDSA itself, so they would be
optional modes.

/Simon

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJVeEmMAAoJEIYLf7sy+BGdY+YIAIq8hlGZoDFIz6Fw0zXmlTl8
vqO78IaoEiUCYJBNXjvdbyiB3lv+EaUJoEs+jZmcUVBgJfwylSqXGoPqsB48ZduG
uufAma38XPzzGaPSN+0/DKBal2wXHUKRwERj9/97i7z8eFw9z3KrUWA0GiH99U8G
OXyUaftXimdL20Cswz6Hj2oizel9QExELw49zkQfqxmD4sRz5hy6eNUwaFs9JeTk
nvbAjMxL9Uvp7ySdGJvR5Qvk7R/cUJCb1oR6BN6R8pwTEl+Di3Mm9jEn169BsU+/
gNS64FX4ZGRVHwmzZIJe20Cue/iACB7wjoYIFFg1pBi5m0vriQLi6XzoI6CRMro=
=53To
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Wed Jun 10 11:01:25 2015
Return-Path: <campbell@mumble.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3EC8D1B33E9 for <cfrg@ietfa.amsl.com>; Wed, 10 Jun 2015 11:01:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.79
X-Spam-Level: 
X-Spam-Status: No, score=0.79 tagged_above=-999 required=5 tests=[BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lTPV8HsC44kP for <cfrg@ietfa.amsl.com>; Wed, 10 Jun 2015 11:01:22 -0700 (PDT)
Received: from jupiter.mumble.net (jupiter.mumble.net [74.50.56.165]) by ietfa.amsl.com (Postfix) with ESMTP id D4D7F1B33E6 for <cfrg@irtf.org>; Wed, 10 Jun 2015 11:01:22 -0700 (PDT)
Received: by jupiter.mumble.net (Postfix, from userid 1014) id 8D1C46050D; Wed, 10 Jun 2015 18:00:23 +0000 (UTC)
From: Taylor R Campbell <campbell+cfrg@mumble.net>
To: Simon Josefsson <simon@josefsson.org>
In-reply-to: <87fv5zprhv.fsf@latte.josefsson.org> (simon@josefsson.org)
Date: Wed, 10 Jun 2015 18:01:22 +0000
Sender: Taylor R Campbell <campbell@mumble.net>
User-Agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/9.1.99
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20150610180023.8D1C46050D@jupiter.mumble.net>
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/P7oxUNRTvHap9MkhQiQSkIfq4h4>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] MakingEdDSA non-collision-resistant
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 10 Jun 2015 18:01:24 -0000

   Date: Wed, 10 Jun 2015 16:28:28 +0200
   From: Simon Josefsson <simon@josefsson.org>

   I've been thinking about how to construct a non-collision-resiliant
   signature scheme based on the collision-resiliant EdDSA, in order to
   comply with how I interpret the newly imposed CFRG requirement to
   support streamed IUF-modes.

   A simple approach would be to specify a process like this:

     Non-CR-Ed25519-SHA256(K, M) := Ed25519(K, "SHA-256" || SHA-256(M))

If you randomize this with an unpredictable 128-bit nonce r, yielding

r || Ed25519(K, "SHA-256" || r || SHA-256(r || M)),

then all you need is *either* an entropy source at signing time *or*
collision resistance of SHA-256.

Note that in this case, picking r = 0 deterministically doesn't
destroy the security of the scheme, unless collisions are found in the
function M |---> SHA-256(0 || M).  But randomization provides some
defence against cryptanalysis of the hash function like we saw with
MD5 leading to certificate forgery, thanks to RSA, Inc.'s change to
RSASSA-PSS to use H(r || H(M)) instead of H(r || M).

(This scheme still requires (r, M) |---> SHA-256(r || M) to be target-
collision-resistant -- but Ed25519 requires the same of SHA-512, and
there's been no evidence that either function is likely to flunk that
property.)


From nobody Fri Jun 12 12:32:30 2015
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 41B871AD0BA for <cfrg@ietfa.amsl.com>; Fri, 12 Jun 2015 12:32:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.1
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6Sy3J2wbVrMD for <cfrg@ietfa.amsl.com>; Fri, 12 Jun 2015 12:32:28 -0700 (PDT)
Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B7FD41AD0C1 for <cfrg@irtf.org>; Fri, 12 Jun 2015 12:32:26 -0700 (PDT)
Received: by wibdq8 with SMTP id dq8so25354256wib.1 for <cfrg@irtf.org>; Fri, 12 Jun 2015 12:32:25 -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=GRdkkU1jyTyJ+HhbsJueXz9A22M8gcmQ0mHme+frF38=; b=B522FcvBQQIecX2zQjfWflZp0hPWW6m8z2o2eWB894aD1s0qkGsLRhbt+s769agPt0 xFA6UzL1Mv5+j7RoDnxcvTr3inV1vjByxnZ0QsTq7MImxaQ7CRa4B2PqP19PUIiJ0Sei BbiAnDhWNuirl1+pkDv0i7qAgOoVq6/doKX+v39+qjAVLthuC5+r8lHyjX7xlj3EChLi lfY/ouoEVP6XKDAjmvCvmRL+ZV/URPSShBAno8Wx3q833gbuAZ8EpOvHZPEMqXVIcn+l y1qydfptrkjyNZ3qONUjL/fIGuFyuMei9/lRREXLIJJieVyACt90wjKpBzWj8GUsSRRm WkQg==
MIME-Version: 1.0
X-Received: by 10.194.248.227 with SMTP id yp3mr28639242wjc.32.1434137545502;  Fri, 12 Jun 2015 12:32:25 -0700 (PDT)
Received: by 10.194.20.97 with HTTP; Fri, 12 Jun 2015 12:32:25 -0700 (PDT)
Date: Fri, 12 Jun 2015 12:32:25 -0700
Message-ID: <CACsn0ckBy7RNyA2PUyjWmzm4bJBQyRhQ7DsdE_SXSjg2DSQ0bA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: multipart/alternative; boundary=089e0141a840f5777a0518572afa
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/-2HyXYlCN0uN7TGm0qqwgSZTT2o>
Subject: [Cfrg] IUF and Schnorr
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Jun 2015 19:32:29 -0000

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

Dear all,

It turns out that PKCS #11 will not work with Schnorr signatures: the
message is presented in parts, and only at the end is the signature
presented to the verifier. As a result we will have to hash the messages
for signing.

Is anyone using PKCS #11 for verification? I think the answer will turn out
to be yes unfortunately.

Sincerely,
Watson Ladd

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

<div dir=3D"ltr">Dear all,
<div><br></div><div>It turns out that PKCS #11 will not work with Schnorr s=
ignatures: the message is presented in parts, and only at the end is the si=
gnature presented to the verifier. As a result we will have to hash the mes=
sages for signing.</div><div><br></div><div>Is anyone using PKCS #11 for ve=
rification? I think the answer will turn out to be yes unfortunately.</div>=
<div><br></div><div>Sincerely,<br>Watson Ladd</div></div>

--089e0141a840f5777a0518572afa--


From nobody Fri Jun 12 14:21:39 2015
Return-Path: <bascule@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C43BE1B2B4F for <cfrg@ietfa.amsl.com>; Fri, 12 Jun 2015 14:21:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.1
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4YPoSxeCSn7c for <cfrg@ietfa.amsl.com>; Fri, 12 Jun 2015 14:21:37 -0700 (PDT)
Received: from mail-oi0-x243.google.com (mail-oi0-x243.google.com [IPv6:2607:f8b0:4003:c06::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 410DC1B2B4D for <cfrg@irtf.org>; Fri, 12 Jun 2015 14:21:37 -0700 (PDT)
Received: by oiav1 with SMTP id v1so5715389oia.3 for <cfrg@irtf.org>; Fri, 12 Jun 2015 14:21:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=hTZ+/J2v3U2nrgKEAfKPZBfAlIKESxML2zahpsdksJY=; b=NO7szo9T5HkxzjbJ1XfkUJi1OONJ7BLMKOpxQqWYgm+86XFjwuaAxT9o9zbXfHqk0B 6TH7QIyUL4BIsFRBLerDh8Km31Pm7wiguGcOLAcx3l/nhVMDM9UUgTQQKgOFbFTYptXs C3WPZGsMTwRdzGMHbSxQJQ8AuwiBxglkGDl9rPlCEB0snBe1O0KwOdNV3xyu6mLCPPOX q0R70MdY/tEeOt+MHJNrNsGnEvcxcatUtybthmgCLPf/53jdTrKYJyymXcYAr65N8/iK uSUliuibOvhiqeYYBHnPY7z37aSkeoneSfMCk46r/CWL+G1gi5Fs3FUA3YK/W7F7mU0m CUUA==
X-Received: by 10.182.33.74 with SMTP id p10mr13883048obi.84.1434144096695; Fri, 12 Jun 2015 14:21:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.110.241 with HTTP; Fri, 12 Jun 2015 14:21:16 -0700 (PDT)
In-Reply-To: <CACsn0ckBy7RNyA2PUyjWmzm4bJBQyRhQ7DsdE_SXSjg2DSQ0bA@mail.gmail.com>
References: <CACsn0ckBy7RNyA2PUyjWmzm4bJBQyRhQ7DsdE_SXSjg2DSQ0bA@mail.gmail.com>
From: Tony Arcieri <bascule@gmail.com>
Date: Fri, 12 Jun 2015 14:21:16 -0700
Message-ID: <CAHOTMVLXqhuTKav+zcsX4=HNzOuaoBRFPv_OofXgepMgjBbqVQ@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: multipart/alternative; boundary=047d7b5d662670ce7f051858b1f6
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/Q0dkYaVe_i8j7fr7XQ0ZqV3DiRI>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] IUF and Schnorr
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Jun 2015 21:21:38 -0000

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

On Fri, Jun 12, 2015 at 12:32 PM, Watson Ladd <watsonbladd@gmail.com> wrote:

> Is anyone using PKCS #11 for verification? I think the answer will turn
> out to be yes unfortunately.
>

Perhaps this is orthogonal, but I went to the W3C WebCrypto Workshop on
hardware tokens, identity, and authentication last year. What I concluded
was while PKCS#11 has wide, somewhat enthusiastic support from hardware
vendors, it's both unsuitable and untenable to the challenges of providing
users with access to hardware tokens from web browsers.

This is where I look to standard like U2F/UAF as alternatives. The former
presently uses ECDSA, but supports hardware tokens generating unique ECC
keypairs per site/origin, and can also be used for the use case of users
interactively authenticating documents. U2F has tokens act as USB HID
devices, from which browsers can access them directly.

Anyway, my two cents on PCKS#11...

-- 
Tony Arcieri

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On F=
ri, Jun 12, 2015 at 12:32 PM, Watson Ladd <span dir=3D"ltr">&lt;<a href=3D"=
mailto:watsonbladd@gmail.com" target=3D"_blank">watsonbladd@gmail.com</a>&g=
t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div>Is=
 anyone using PKCS #11 for verification? I think the answer will turn out t=
o be yes unfortunately.</div></div></blockquote><div><br></div><div>Perhaps=
 this is orthogonal, but I went to the W3C WebCrypto Workshop on hardware t=
okens, identity, and authentication last year. What I concluded was while P=
KCS#11 has wide, somewhat enthusiastic support from hardware vendors, it&#3=
9;s both unsuitable and untenable to the challenges of providing users with=
 access to hardware tokens from web browsers.</div><div><br></div><div>This=
 is where I look to standard like U2F/UAF as alternatives. The former prese=
ntly uses ECDSA, but supports hardware tokens generating unique ECC keypair=
s per site/origin, and can also be used for the use case of users interacti=
vely authenticating documents. U2F has tokens act as USB HID devices, from =
which browsers can access them directly.</div><div><br></div><div>Anyway, m=
y two cents on PCKS#11...</div><div><br></div></div>-- <br><div class=3D"gm=
ail_signature">Tony Arcieri<br></div>
</div></div>

--047d7b5d662670ce7f051858b1f6--


From nobody Fri Jun 12 14:58:25 2015
Return-Path: <alangley@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2F4CE1B2B53 for <cfrg@ietfa.amsl.com>; Fri, 12 Jun 2015 14:58:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NU8SnrbKdZXC for <cfrg@ietfa.amsl.com>; Fri, 12 Jun 2015 14:58:23 -0700 (PDT)
Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BA7201A8901 for <cfrg@irtf.org>; Fri, 12 Jun 2015 14:58:22 -0700 (PDT)
Received: by lbcue7 with SMTP id ue7so26213106lbc.0 for <cfrg@irtf.org>; Fri, 12 Jun 2015 14:58:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=BB1/LxKc9gEyEYoaZ8fk6JTjttPEcRBqbQ8bT8ibNXc=; b=hQWJ4S1GBFis0NrjjcZr8Muha0Uz8woDUVMYTYaJR+vN9WSRoUas7Ru7FalYV+rB2j GEkuFTQ9Zw3XJYBePyBBgTo6nXKEi++bnPwT/WcPBXsQFvgsY3wpVHq/eERnSxXuWfpy O70P1WI44fPCIGEM6i6oeNYNOmPSs5msXtiyN3D1DGO8noVB0sbpYjc5w3eHZp/2V5ij cVCXo7+Cpg8FFGczR5Un9XnYIe0secsCWRWEL8Np3s9oUqYt8DZdWhHblEE6tot/gYGz M8wCgA6/rBeaFn/3vM3z34Mp6RNNjvBdqchcbM6g+ooIrmVul1j2IBmUBZ+NIln8Bk9v AGTw==
MIME-Version: 1.0
X-Received: by 10.152.8.168 with SMTP id s8mr17053344laa.116.1434146301127; Fri, 12 Jun 2015 14:58:21 -0700 (PDT)
Sender: alangley@gmail.com
Received: by 10.112.89.69 with HTTP; Fri, 12 Jun 2015 14:58:21 -0700 (PDT)
In-Reply-To: <CACsn0ckBy7RNyA2PUyjWmzm4bJBQyRhQ7DsdE_SXSjg2DSQ0bA@mail.gmail.com>
References: <CACsn0ckBy7RNyA2PUyjWmzm4bJBQyRhQ7DsdE_SXSjg2DSQ0bA@mail.gmail.com>
Date: Fri, 12 Jun 2015 14:58:21 -0700
X-Google-Sender-Auth: VngPO-RvDRYCsaU15kh37pttHHs
Message-ID: <CAMfhd9VnYYZZ_ufkzKGtX=y=HLurinn_suoKAzximPcAfFThjw@mail.gmail.com>
From: Adam Langley <agl@imperialviolet.org>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/HEeNLNCwwFkv9g9wtB5HVAKs1NA>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] IUF and Schnorr
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Jun 2015 21:58:24 -0000

On Fri, Jun 12, 2015 at 12:32 PM, Watson Ladd <watsonbladd@gmail.com> wrote:
> It turns out that PKCS #11 will not work with Schnorr signatures: the
> message is presented in parts, and only at the end is the signature
> presented to the verifier. As a result we will have to hash the messages for
> signing.

I believe the WG has concluded that we will have, at least, an IUF
mode in constant-space. One possibility might be signing Hash(message)
with Ed25519. Is that not a Schnorr(ish) signature that would work
with PKCS#11?

To be clear, I care little for PKCS#11 but I don't see the problem
here. (I know that NSS had a real problem with AES-GCM because of
PKCS#11 but that didn't seem to be fatal for AES-GCM.)


Cheers

AGL

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


From nobody Fri Jun 12 17:06:06 2015
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 ADAE11A8AF4 for <cfrg@ietfa.amsl.com>; Fri, 12 Jun 2015 17:06:02 -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_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5oGsVLwq7l4W for <cfrg@ietfa.amsl.com>; Fri, 12 Jun 2015 17:06:00 -0700 (PDT)
Received: from mail-wi0-x242.google.com (mail-wi0-x242.google.com [IPv6:2a00:1450:400c:c05::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2F7691A8AD7 for <cfrg@irtf.org>; Fri, 12 Jun 2015 17:05:15 -0700 (PDT)
Received: by wivz2 with SMTP id z2so6309533wiv.0 for <cfrg@irtf.org>; Fri, 12 Jun 2015 17:04:09 -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=6lLzgIUtjQT5xTAJmUiZTU0XcENYhsvmyhvwwAm1YkM=; b=tVRXp5FxDrqXnMfWl00xKwhOn/u1UORisQmnmZl4GJ8jibKKv2LSvGy/7QjRPL5mY6 2UAEdSNmNW+aSjI2ozjTnNriqqajUG2PbutvtTs9zQiFcWvEAUKtUIAmhWs4LfpSgJd6 FNxpg/KsgXv75MF57QoaofsTI3LIBjybxl3HWLZVVNftusUBKB68GMzsh15nlDsWWL4V M57cRuoIgwA/WnAKkJuoNAytY7PYt2/aT/+IatcqKMNMcJ76eSPPsZZxTWz9ts+4LI7I IBU8GM4c33aYqWrw9Zk8oo8P5vBPWptTy5qjILWqdVBjKlW6sz6g3hfypnn20UBy7w+5 zdrQ==
MIME-Version: 1.0
X-Received: by 10.194.123.4 with SMTP id lw4mr30038195wjb.94.1434153849696; Fri, 12 Jun 2015 17:04:09 -0700 (PDT)
Received: by 10.194.20.97 with HTTP; Fri, 12 Jun 2015 17:04:09 -0700 (PDT)
In-Reply-To: <CAMfhd9VnYYZZ_ufkzKGtX=y=HLurinn_suoKAzximPcAfFThjw@mail.gmail.com>
References: <CACsn0ckBy7RNyA2PUyjWmzm4bJBQyRhQ7DsdE_SXSjg2DSQ0bA@mail.gmail.com> <CAMfhd9VnYYZZ_ufkzKGtX=y=HLurinn_suoKAzximPcAfFThjw@mail.gmail.com>
Date: Fri, 12 Jun 2015 17:04:09 -0700
Message-ID: <CACsn0cmOb3yG6xerftpvnY_KC6VYJJ4QYqNSp90qqRmXEVBYGg@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Adam Langley <agl@imperialviolet.org>
Content-Type: multipart/alternative; boundary=089e01227ee0c3b86e05185af62e
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/imyFko4gGnjvejCKPHVl2sx0N5A>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] IUF and Schnorr
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Jun 2015 00:06:02 -0000

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

On Fri, Jun 12, 2015 at 2:58 PM, Adam Langley <agl@imperialviolet.org>
wrote:

> On Fri, Jun 12, 2015 at 12:32 PM, Watson Ladd <watsonbladd@gmail.com>
> wrote:
> > It turns out that PKCS #11 will not work with Schnorr signatures: the
> > message is presented in parts, and only at the end is the signature
> > presented to the verifier. As a result we will have to hash the messages
> for
> > signing.
>
> I believe the WG has concluded that we will have, at least, an IUF
> mode in constant-space. One possibility might be signing Hash(message)
> with Ed25519. Is that not a Schnorr(ish) signature that would work
> with PKCS#11?
>

That's a signature scheme that would work, however, I had initially thought
that verification of schemes with H(r||M) would fit IUP APIs. And it would,
if the API took the signature in the initialization, but it doesn't. So it
seems that we have to sign Hash(message) as a hard requirement.


> To be clear, I care little for PKCS#11 but I don't see the problem
> here. (I know that NSS had a real problem with AES-GCM because of
> PKCS#11 but that didn't seem to be fatal for AES-GCM.)
>

That's because NIST demanded it: whatever problems particular
implementations had got solved to accommodate that request.


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



-- 
"Man is born free, but everywhere he is in chains".
--Rousseau.

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Fri, Jun 12, 2015 at 2:58 PM, Adam Langley <span dir=3D"ltr">&lt;<a =
href=3D"mailto:agl@imperialviolet.org" target=3D"_blank">agl@imperialviolet=
.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Fri, =
Jun 12, 2015 at 12:32 PM, Watson Ladd &lt;<a href=3D"mailto:watsonbladd@gma=
il.com" target=3D"_blank">watsonbladd@gmail.com</a>&gt; wrote:<br>
</span><span>&gt; It turns out that PKCS #11 will not work with Schnorr sig=
natures: the<br>
&gt; message is presented in parts, and only at the end is the signature<br=
>
&gt; presented to the verifier. As a result we will have to hash the messag=
es for<br>
&gt; signing.<br>
<br>
</span>I believe the WG has concluded that we will have, at least, an IUF<b=
r>
mode in constant-space. One possibility might be signing Hash(message)<br>
with Ed25519. Is that not a Schnorr(ish) signature that would work<br>
with PKCS#11?<br></blockquote><div><br></div><div>That&#39;s a signature sc=
heme that would work, however, I had initially thought that verification of=
 schemes with H(r||M) would fit IUP APIs. And it would, if the API took the=
 signature in the initialization, but it doesn&#39;t. So it seems that we h=
ave to sign Hash(message) as a hard requirement.</div><div><br></div><block=
quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc=
 solid;padding-left:1ex">
<br>
To be clear, I care little for PKCS#11 but I don&#39;t see the problem<br>
here. (I know that NSS had a real problem with AES-GCM because of<br>
PKCS#11 but that didn&#39;t seem to be fatal for AES-GCM.)<br></blockquote>=
<div><br></div><div>That&#39;s because NIST demanded it: whatever problems =
particular implementations had got solved to accommodate that request.</div=
><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Cheers<br>
<br>
AGL<br>
<span><font color=3D"#888888"><br>
--<br>
Adam Langley <a href=3D"mailto:agl@imperialviolet.org" target=3D"_blank">ag=
l@imperialviolet.org</a> <a href=3D"https://www.imperialviolet.org" rel=3D"=
noreferrer" target=3D"_blank">https://www.imperialviolet.org</a><br>
</font></span></blockquote></div><br><br clear=3D"all"><div><br></div>-- <b=
r><div>&quot;Man is born free, but everywhere he is in chains&quot;.<br>--R=
ousseau.</div>
</div></div>

--089e01227ee0c3b86e05185af62e--


From nobody Fri Jun 12 17:31:45 2015
Return-Path: <crypto@brainhub.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ADCC01A87E4 for <cfrg@ietfa.amsl.com>; Fri, 12 Jun 2015 17:31:44 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7bEAXmCS3qGn for <cfrg@ietfa.amsl.com>; Fri, 12 Jun 2015 17:31:42 -0700 (PDT)
Received: from resqmta-po-04v.sys.comcast.net (resqmta-po-04v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:163]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8DFA51A88A7 for <cfrg@irtf.org>; Fri, 12 Jun 2015 17:31:42 -0700 (PDT)
Received: from resomta-po-17v.sys.comcast.net ([96.114.154.241]) by resqmta-po-04v.sys.comcast.net with comcast id fcVc1q0025Clt1L01cXiwP; Sat, 13 Jun 2015 00:31:42 +0000
Received: from [IPv6:::1] ([71.202.164.227]) by resomta-po-17v.sys.comcast.net with comcast id fcXB1q00R4uhcbK01cXgLr; Sat, 13 Jun 2015 00:31:41 +0000
Message-ID: <557B79CF.8030800@brainhub.org>
Date: Fri, 12 Jun 2015 17:31:11 -0700
From: Andrey Jivsov <crypto@brainhub.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: cfrg@irtf.org
References: <CACsn0ckBy7RNyA2PUyjWmzm4bJBQyRhQ7DsdE_SXSjg2DSQ0bA@mail.gmail.com>
In-Reply-To: <CACsn0ckBy7RNyA2PUyjWmzm4bJBQyRhQ7DsdE_SXSjg2DSQ0bA@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1434155502; bh=KtU2/H2riK5+VEOkMYw0iPljbzbfCpitdpDHlxj5cyA=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=H+x430HcD5PqftYE0vBA4r8xzh8Mf7gdL0lPDUriztEBMLvaPn6CD6o8rG3h1FgJP CdUykHvQeRj/GYaXeB3DfKG+9BW/t+ZdJLDpjJnSyWUiCmHcu1a8GkxryBMP9QQl7b YWuopHd5hRk+6o4d9/KsLBwYMI0G7gCYuytFMmXtJShO7dnWsb93qNUPxduPo0DHr+ xpD9kZ8wHifZaUxCRT346Cfw47aU4jcvENfTKgIb0vn57apL0OPSizmtVzIAThcs30 JAFRyaWjmwsAVrRK8ARYka/xmE05/KMHN0gBe4fGVcn575R9ZWU+2iULivvjldrq2n SRKuNRlNCDTJQ==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/dI9NnTFgKM0VYsVp-xrNtgp3PK8>
Subject: Re: [Cfrg] IUF and Schnorr
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Jun 2015 00:31:44 -0000

On 06/12/2015 12:32 PM, Watson Ladd wrote:
> Dear all,
>
> It turns out that PKCS #11 will not work with Schnorr signatures: the 
> message is presented in parts, and only at the end is the signature 
> presented to the verifier. As a result we will have to hash the 
> messages for signing.
>
> Is anyone using PKCS #11 for verification? I think the answer will 
> turn out to be yes unfortunately.
>
>

PKCS#11 has a single-call C_Verify(CK_SESSION_HANDLE hSession, 
CK_BYTE_PTR pData, CK_ULONG ulDataLen, CK_BYTE_PTR pSignature, CK_ULONG 
ulSignatureLen).

There is also a single-call C_Sign.

I expect that the existing code is more likely to call C_Sign and not 
C_SignUpdate, C_SignUpdate, ... C_SignFinal for public key signing, 
because ulDataLen <= 64 bytes for OpenPGP, SMIME/CMS, TLS, IPSec, X.509, 
SSH, .... This means that there is other code that does the hashing and 
that higher-level features may depend on IUF behavior in that hashing code.

( C_SignUpdate is more likely be used for MAC. The PKCS#11 spec gives an 
example of CKM_DES_MAC mechanism used with C_SignUpdate )

Same applies to C_Verify v.s. C_VerifyUpdate, but it's less likely to be 
used than signing functions.


From nobody Fri Jun 12 17:32:05 2015
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EBCA41A8867 for <cfrg@ietfa.amsl.com>; Fri, 12 Jun 2015 17:31:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.095
X-Spam-Level: **
X-Spam-Status: No, score=2.095 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, UNPARSEABLE_RELAY=0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iwoVgMIEGTgQ for <cfrg@ietfa.amsl.com>; Fri, 12 Jun 2015 17:31:54 -0700 (PDT)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id 599F21A916E for <cfrg@irtf.org>; Fri, 12 Jun 2015 17:31:53 -0700 (PDT)
Received: (qmail 32377 invoked by uid 1017); 13 Jun 2015 00:32:12 -0000
Received: from unknown (unknown) by unknown with QMTP; 13 Jun 2015 00:32:12 -0000
Received: (qmail 29125 invoked by uid 1000); 13 Jun 2015 00:31:36 -0000
Date: 13 Jun 2015 00:31:36 -0000
Message-ID: <20150613003136.29124.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
In-Reply-To: <5576F66F.8020902@isode.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/o4GaMRUAsv7iQAYHhrnbm2hAPkg>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Jun 2015 00:31:56 -0000

Alexey Melnikov writes:
> After discussing answers to this poll chairs concluded that despite
> security limitations of Initiliase-Update-Finalise (IUF) APIs on
> verifier's end, there is rough consensus that any recommended CFRG
> signature scheme should support such APIs.

I can't figure out what this statement means. Can you please clarify
what you're saying the rough consensus is?

Taking, e.g., Ed25519 as an example: Would recommending

   * Ed25519(m) as the higher-security default and
   * Ed25519(SHA-3-512(m)), with an IUF API, for protocols that want
     small devices to be able to handle large messages in one pass

meet the requirement to "support" an IUF API?

Or are you saying that the recommendation would have to be just
Ed25519(SHA-3-512(m)), and that there's rough consensus against
splitting out the Ed25519(m) layer for protocols that want the higher
security?

---Dan


From nobody Fri Jun 12 18:13:07 2015
Return-Path: <bascule@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EA22E1B2C82 for <cfrg@ietfa.amsl.com>; Fri, 12 Jun 2015 18:13: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 q4fuF8BaCdRb for <cfrg@ietfa.amsl.com>; Fri, 12 Jun 2015 18:13:04 -0700 (PDT)
Received: from mail-ob0-x22c.google.com (mail-ob0-x22c.google.com [IPv6:2607:f8b0:4003:c01::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B636A1B2C7F for <cfrg@irtf.org>; Fri, 12 Jun 2015 18:13:04 -0700 (PDT)
Received: by obcej4 with SMTP id ej4so33001782obc.0 for <cfrg@irtf.org>; Fri, 12 Jun 2015 18:13:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=nvX0jOSd7qV4xsDMNcRwDNrUezHj5ffSHd6WYfge+gg=; b=cJ+5yisZEyzkYNXB3rzG/3PjOl26GTShcZSITAzIUcB8lwTp7BWDNh7rqCTVGF0t5f 4wW8rtXVZwiLAwB1cROzE70JfAyo2V0pFsBDRStLFIJc1fWHZYv8031rQYJDwXvMjLKG 7Rr+60V7Ze4+q+iS7ThyCZx3EHPvpb2gYbXW97Qw8twrS22oi2hwyODOX7DKsmlRqZK7 PMldFoeIOBrfw6yzBmgfZKgh32V3UVaAYJn3kiz+65Bl1P4k7BoOU9XmE5CcCg6YqgWt rwUjPnYfOI8h/Xi5LWZRudXbDlDMq9BYR5jtCEO6VwwAaQ92ImS70ZK7FyIpf0XAhZ6A PYbw==
X-Received: by 10.202.52.138 with SMTP id b132mr13597080oia.125.1434157984266;  Fri, 12 Jun 2015 18:13:04 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.110.241 with HTTP; Fri, 12 Jun 2015 18:12:43 -0700 (PDT)
In-Reply-To: <20150613003136.29124.qmail@cr.yp.to>
References: <5576F66F.8020902@isode.com> <20150613003136.29124.qmail@cr.yp.to>
From: Tony Arcieri <bascule@gmail.com>
Date: Fri, 12 Jun 2015 18:12:43 -0700
Message-ID: <CAHOTMVK_bBzafH-thabhnrWwj5M9Rze2r1FYy=PBMCErbkbt-g@mail.gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: multipart/alternative; boundary=001a113d3e0234405c05185bedaf
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/i_O3uKLPnHsr7V9PS8jrlVJZelg>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Jun 2015 01:13:06 -0000

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

On Fri, Jun 12, 2015 at 5:31 PM, D. J. Bernstein <djb@cr.yp.to> wrote:

> I can't figure out what this statement means. Can you please clarify
> what you're saying the rough consensus is?


+1. Given the numbered options, which one do you mean?

-- 
Tony Arcieri

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On F=
ri, Jun 12, 2015 at 5:31 PM, D. J. Bernstein <span dir=3D"ltr">&lt;<a href=
=3D"mailto:djb@cr.yp.to" target=3D"_blank">djb@cr.yp.to</a>&gt;</span> wrot=
e:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex">I can&#39;t figure out what this state=
ment means. Can you please clarify<br>
what you&#39;re saying the rough consensus is?</blockquote><div><br></div><=
div>+1. Given the numbered options, which one do you mean?</div><div>=C2=A0=
</div></div>-- <br><div class=3D"gmail_signature">Tony Arcieri<br></div>
</div></div>

--001a113d3e0234405c05185bedaf--


From nobody Fri Jun 12 19:18:42 2015
Return-Path: <dmjacobson@sbcglobal.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8FA7B1B2D14 for <cfrg@ietfa.amsl.com>; Fri, 12 Jun 2015 19:18:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.1
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JAQjO3VqG0kr for <cfrg@ietfa.amsl.com>; Fri, 12 Jun 2015 19:18:40 -0700 (PDT)
Received: from nm19-vm1.access.bullet.mail.gq1.yahoo.com (nm19-vm1.access.bullet.mail.gq1.yahoo.com [216.39.63.17]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 240FA1B2D11 for <cfrg@irtf.org>; Fri, 12 Jun 2015 19:18:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1434161918; bh=jo+Z3EAl422FE4EkM4MRlob+daFMHU4XuNJzaPv+tz4=; h=Date:From:To:Subject:References:In-Reply-To:From:Subject; b=lhIlL3hv+3b4JI0G/aZTLRi5rMMJvybIunoOBiiq1zvkNYVanPHBetS0jp6jjQqbk0tmK1HAbJKdlYD+i861ApLBE9klh0qKV3AgrtJLe02Eot9V78BzQjPxE4mDZkYD3LqetfKuXLT+MKesZUCPbLeZLffzqp0qZkFtmCDaTOEIVCOYwxK1aHjdgIXyG2pzgtl2KQr/8ukC02l59cA0AqHDWfosnInTgBxXvLebqm4GaN4uakQAdFPg/PgfW1ImD/W9oaJX4t2LWex5+6WhlzshdD4Fqy3ydWVbF5jVUCUbVUhQlDw0WWWJE4NlnQfODcrnUZ+xWrRSIc7ARVud4w==
Received: from [216.39.60.173] by nm19.access.bullet.mail.gq1.yahoo.com with NNFMP; 13 Jun 2015 02:18:38 -0000
Received: from [67.195.22.117] by tm9.access.bullet.mail.gq1.yahoo.com with NNFMP; 13 Jun 2015 02:18:38 -0000
Received: from [127.0.0.1] by smtp112.sbc.mail.gq1.yahoo.com with NNFMP; 13 Jun 2015 02:18:38 -0000
X-Yahoo-Newman-Id: 668954.35878.bm@smtp112.sbc.mail.gq1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: VBmQ__IVM1mfR9Ll4jEyHlfcSydFpukROu9uIgoMBDo..oa Px0J8gcUocKDxk9gWwy7fzgqYd_sWKqJGHAjNVKsRWaF6DjL9vSQko_zQyzl H0ojZ5oaONhNKfoPWhhZAkgB3SvzyMhilpCzulmlEiDBa.rhjWpPZjw94np6 hd1TdRJIuEGm1agMz67k4zHJiCNTvtHXpRsxnCIDTnv_qNqkqfU3QHq2uz6p Mrg4UddrbuN2I6sKOP9RYhjiqiG2DrkRFe7pFeiUEiLw2aC6qPFnf.iDkF7L brZgADMj.3vxaOJtRn0Y2VcTzMP77RLGf.4VxDRwsB2TYRmjazhHdej5TmEu UvyYV5546xFtVKkvnpf6hoCTaxrS2EzRrGcTZEk20BgguZiXoO7gD8AqE0IO T7heAPOcHFqSAKM8_dY_RAgiX7AievlUDUVvmYONB5OKnU5hIVG698F5ooy_ TbbX8QXtyZIM89Shpd9FpldX0RMku69KlFnJd8RVeTvdYiqrSBKXC9g0k1Rx 2XK3YuaQVg.2s4B5v3WR_Mswg9.loXELWei5ljcAuRTM-
X-Yahoo-SMTP: nOrmCa6swBAE50FabWnlVFUpgFVJ9Gbi__8U5mpvhtQq7tTV1g--
Message-ID: <557B92FD.4070301@sbcglobal.net>
Date: Fri, 12 Jun 2015 19:18:37 -0700
From: David Jacobson <dmjacobson@sbcglobal.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Watson Ladd <watsonbladd@gmail.com>, "cfrg@irtf.org" <cfrg@irtf.org>
References: <CACsn0ckBy7RNyA2PUyjWmzm4bJBQyRhQ7DsdE_SXSjg2DSQ0bA@mail.gmail.com>
In-Reply-To: <CACsn0ckBy7RNyA2PUyjWmzm4bJBQyRhQ7DsdE_SXSjg2DSQ0bA@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------030009070801010902030805"
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/JoJKzfcSX9wjlQQxA6feqZ1RXFs>
Subject: Re: [Cfrg] IUF and Schnorr
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Jun 2015 02:18:41 -0000

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

On 6/12/15 12:32 PM, Watson Ladd wrote:
> Dear all,
>
> It turns out that PKCS #11 will not work with Schnorr signatures: the 
> message is presented in parts, and only at the end is the signature 
> presented to the verifier. As a result we will have to hash the 
> messages for signing.
>
> Is anyone using PKCS #11 for verification? I think the answer will 
> turn out to be yes unfortunately.
>
> Sincerely,
> Watson Ladd
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>

To you only.

Oracle (which acquired the dying Sun Microsystems) supports PKCS#11.

According to 
http://docs.oracle.com/cd/E23824_01/html/819-2145/chapter1-1.html, they 
have a crypto framework that uses PKCS#11, and I would presume that 
people are using it for verification.

(FWIW, back when I worked at Sun Microsystems, I wrote significant parts 
of the predecessor to that, before there was the framework.)

    --David




--------------030009070801010902030805
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">On 6/12/15 12:32 PM, Watson Ladd wrote:<br>
    </div>
    <blockquote
cite="mid:CACsn0ckBy7RNyA2PUyjWmzm4bJBQyRhQ7DsdE_SXSjg2DSQ0bA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Dear all,
        <div><br>
        </div>
        <div>It turns out that PKCS #11 will not work with Schnorr
          signatures: the message is presented in parts, and only at the
          end is the signature presented to the verifier. As a result we
          will have to hash the messages for signing.</div>
        <div><br>
        </div>
        <div>Is anyone using PKCS #11 for verification? I think the
          answer will turn out to be yes unfortunately.</div>
        <div><br>
        </div>
        <div>Sincerely,<br>
          Watson Ladd</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Cfrg mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a>
<a class="moz-txt-link-freetext" href="http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/mailman/listinfo/cfrg</a>

</pre>
    </blockquote>
    <br>
    To you only.<br>
     
    <br>
    Oracle (which acquired the dying Sun Microsystems) supports
    PKCS#11.  <br>
    <br>
    According to
    <a class="moz-txt-link-freetext" href="http://docs.oracle.com/cd/E23824_01/html/819-2145/chapter1-1.html">http://docs.oracle.com/cd/E23824_01/html/819-2145/chapter1-1.html</a>,
    they have a crypto framework that uses PKCS#11, and I would presume
    that people are using it for verification.<br>
    <br>
    (FWIW, back when I worked at Sun Microsystems, I wrote significant
    parts of the predecessor to that, before there was the framework.)<br>
    <br>
       --David<br>
    <br>
    <br>
    <br>
  </body>
</html>

--------------030009070801010902030805--


From nobody Mon Jun 15 09:33:52 2015
Return-Path: <nico@cryptonector.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 343D81A00A8 for <cfrg@ietfa.amsl.com>; Mon, 15 Jun 2015 09:33:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.034
X-Spam-Level: *
X-Spam-Status: No, score=1.034 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BnJGY-20Z6NC for <cfrg@ietfa.amsl.com>; Mon, 15 Jun 2015 09:33:50 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 358C91A011F for <cfrg@irtf.org>; Mon, 15 Jun 2015 09:33:50 -0700 (PDT)
Received: from homiemail-a107.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTP id D83402004F4E6; Mon, 15 Jun 2015 09:33:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=fb3qfJ2WXqKuAS rylJuBeMElqyY=; b=c+68wyMfmB7DpFHNjrR8/ZojI26xz8eUE6PkmS8rZgqgOJ vrAe7Y0fQrpAbslPJ1wvW1U2+L6Rb2qgmavUW8QXLY9V5Seh7vejk1BdcLuCRaa0 KdirPkO5Isx8ClkEOQqi+cqn20lAwx8Z+VPvSwQClCeXVW57nQ/yvHGrc7qJg=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a107.g.dreamhost.com (Postfix) with ESMTPA id 46E292004F4C4; Mon, 15 Jun 2015 09:33:49 -0700 (PDT)
Date: Mon, 15 Jun 2015 11:33:48 -0500
From: Nico Williams <nico@cryptonector.com>
To: Watson Ladd <watsonbladd@gmail.com>
Message-ID: <20150615163347.GC3955@localhost>
References: <CACsn0ckBy7RNyA2PUyjWmzm4bJBQyRhQ7DsdE_SXSjg2DSQ0bA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACsn0ckBy7RNyA2PUyjWmzm4bJBQyRhQ7DsdE_SXSjg2DSQ0bA@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/1IlInoJW4F1Cv-VN-EE2R0xgD0M>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] IUF and Schnorr
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Jun 2015 16:33:51 -0000

On Fri, Jun 12, 2015 at 12:32:25PM -0700, Watson Ladd wrote:
> It turns out that PKCS #11 will not work with Schnorr signatures: the
> message is presented in parts, and only at the end is the signature
> presented to the verifier. As a result we will have to hash the messages
> for signing.

Right, only C_VerifyFinal() gets the signature, but the signature is
needed to get started, so it ought to have been in C_VerifyInit().

Note that no matter what, in order to use a new signature algorithm with
PKCS#11 one needs at the very least new CK_MECHANISM_TYPE codepoint
assignments.  This means that this can get fixed when that codepoint
assignment is requested.  There could be several ways to fix it, from
adding new functions to prefixing the signature to the message in the
EdDSA case.  (IIUC, adding new functions is harder than abusing existing
ones.)

I wouldn't get too exercised about this.  It doesn't seem to be anything
more than a special case of the need to deploy new code in order to
deploy new crypto.

> Is anyone using PKCS #11 for verification? I think the answer will turn out
> to be yes unfortunately.

There's no needed for PKCS#11 to verify signatures, of course, since
there's no need for a token to be involved (the verification key is
generally public, though it doesn't have to be).  But PKSC#11 can be
used for more than just an interface to tokens: it can also be used as a
generic interface to crypto algorithm implementations.

Solaris uses (or used to) PKCS#11 in that very manner as the basis for
its cryptographic framework, with a "metaslot token" and builtin
softtoken that provide software implementations of algorithms not
provided by actual hard and soft tokens.

Nico
-- 


From nobody Tue Jun 16 02:05:34 2015
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DB1151A9150 for <cfrg@ietfa.amsl.com>; Tue, 16 Jun 2015 02:05:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.111
X-Spam-Level: 
X-Spam-Status: No, score=-0.111 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J3t0eOBqjxcY for <cfrg@ietfa.amsl.com>; Tue, 16 Jun 2015 02:05:32 -0700 (PDT)
Received: from statler.isode.com (statler.isode.com [217.34.220.151]) by ietfa.amsl.com (Postfix) with ESMTP id 422711A902B for <cfrg@irtf.org>; Tue, 16 Jun 2015 02:05:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1434445531; d=isode.com; s=selector; i=@isode.com; bh=AtSfYC/XVS9/wNmyMD/tXggwSmsICzVQes3jNnN3IfI=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=I2mIe0dvDLv3/14owvfo4BQLfE5rzfp6lD6o3AIhEjAo0vVcHo5kT3Hb2bID5F6GSLhYup iO596aATDox0pxfQwhsTuY8Qce2751TeB6IkQ1eIFJ+c6p7E1noG5juxt5dbK8RxFoh7gC X7ZsUQm5X8+ECp0UY4X0KaEnO8mdTmE=;
Received: from [192.168.0.5] (cpc5-nmal20-2-0-cust24.19-2.cable.virginm.net [92.234.84.25])  by statler.isode.com (submission channel) via TCP with ESMTPSA  id <VX=m2QAne2et@statler.isode.com>; Tue, 16 Jun 2015 10:05:30 +0100
X-SMTP-Protocol-Errors: PIPELINING
Message-ID: <557FE6E4.3040509@isode.com>
Date: Tue, 16 Jun 2015 10:05:40 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
To: Tony Arcieri <bascule@gmail.com>
References: <5576F66F.8020902@isode.com> <20150613003136.29124.qmail@cr.yp.to> <CAHOTMVK_bBzafH-thabhnrWwj5M9Rze2r1FYy=PBMCErbkbt-g@mail.gmail.com>
In-Reply-To: <CAHOTMVK_bBzafH-thabhnrWwj5M9Rze2r1FYy=PBMCErbkbt-g@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------020401060908070202080209"
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/H-NM1Qs-4QJfqqApEDGCWHqW9IY>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Jun 2015 09:05:34 -0000

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

On 13/06/2015 02:12, Tony Arcieri wrote:
> On Fri, Jun 12, 2015 at 5:31 PM, D. J. Bernstein <djb@cr.yp.to 
> <mailto:djb@cr.yp.to>> wrote:
>
>     I can't figure out what this statement means. Can you please clarify
>     what you're saying the rough consensus is?
>
>
> +1. Given the numbered options, which one do you mean?

There was rough consensus for the option #1.



--------------020401060908070202080209
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 text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 13/06/2015 02:12, Tony Arcieri
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAHOTMVK_bBzafH-thabhnrWwj5M9Rze2r1FYy=PBMCErbkbt-g@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Fri, Jun 12, 2015 at 5:31 PM, D.
            J. Bernstein <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:djb@cr.yp.to" target="_blank">djb@cr.yp.to</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">I can't
              figure out what this statement means. Can you please
              clarify<br>
              what you're saying the rough consensus is?</blockquote>
            <div><br>
            </div>
            <div>+1. Given the numbered options, which one do you mean?</div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    There was rough consensus for the option #1.<br>
    <br>
    <br>
  </body>
</html>

--------------020401060908070202080209--


From nobody Tue Jun 16 02:19:04 2015
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5238E1A88D7 for <cfrg@ietfa.amsl.com>; Tue, 16 Jun 2015 02:19:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.011
X-Spam-Level: 
X-Spam-Status: No, score=-2.011 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mlxeBjbWCFLT for <cfrg@ietfa.amsl.com>; Tue, 16 Jun 2015 02:19:03 -0700 (PDT)
Received: from waldorf.isode.com (waldorf.isode.com [217.34.220.150]) by ietfa.amsl.com (Postfix) with ESMTP id 874D41A1F00 for <cfrg@irtf.org>; Tue, 16 Jun 2015 02:19:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1434446335; d=isode.com; s=selector; i=@isode.com; bh=y3EKYn+OtUwNgehCnMHzN/vtkunxDALpRTRy0ssW85E=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=mhiAM32/POth+xPWOq1yr3AyucdrQobchnhDmCpd1txmO7TsohcnQzz6l82K3mE/5Ss8QH 3jOGRflhW1J/Agv7HqsGvJc8gChzIapPhTW/Scbo07RyRRkIaMuFyRl10tW2NmTdCqeNNl b1ulsor3rCvQ9shBV/3XO5ucXkB3gVk=;
Received: from [192.168.0.5] (cpc5-nmal20-2-0-cust24.19-2.cable.virginm.net [92.234.84.25])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <VX=p-wAZW7O5@waldorf.isode.com>; Tue, 16 Jun 2015 10:18:54 +0100
X-SMTP-Protocol-Errors: PIPELINING
Message-ID: <557FEA01.7070207@isode.com>
Date: Tue, 16 Jun 2015 10:18:57 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
To: cfrg@irtf.org
References: <20150613003136.29124.qmail@cr.yp.to>
In-Reply-To: <20150613003136.29124.qmail@cr.yp.to>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/1Uy4QQUx7etkTWvhjUwis_r05No>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Jun 2015 09:19:04 -0000

On 13/06/2015 01:31, D. J. Bernstein wrote:
> Alexey Melnikov writes:
>> After discussing answers to this poll chairs concluded that despite
>> security limitations of Initiliase-Update-Finalise (IUF) APIs on
>> verifier's end, there is rough consensus that any recommended CFRG
>> signature scheme should support such APIs.
> I can't figure out what this statement means. Can you please clarify
> what you're saying the rough consensus is?
>
> Taking, e.g., Ed25519 as an example: Would recommending
>
>     * Ed25519(m) as the higher-security default and
>     * Ed25519(SHA-3-512(m)), with an IUF API, for protocols that want
>       small devices to be able to handle large messages in one pass
>
> meet the requirement to "support" an IUF API?
>
> Or are you saying that the recommendation would have to be just
> Ed25519(SHA-3-512(m)), and that there's rough consensus against
> splitting out the Ed25519(m) layer for protocols that want the higher
> security?
The rough consensus is that CFRG EC signature recommendation to IETF 
would have to provide IUF API.

In your example, this means that "Ed25519(SHA-3-512(m)), with an IUF 
API" satisfies the requirement and CFRG poll result doesn't say anything 
about (doesn't recommend and doesn't prohibit) "Ed25519(m) as the 
higher-security default".


From nobody Tue Jun 16 08:15:14 2015
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 858D01B3ABB for <cfrg@ietfa.amsl.com>; Tue, 16 Jun 2015 08:15:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.09
X-Spam-Level: 
X-Spam-Status: No, score=0.09 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1LisoVV4G8cx for <cfrg@ietfa.amsl.com>; Tue, 16 Jun 2015 08:15:09 -0700 (PDT)
Received: from a.mx.secunet.com (a.mx.secunet.com [195.81.216.161]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A7F641B3A97 for <cfrg@irtf.org>; Tue, 16 Jun 2015 08:15:09 -0700 (PDT)
Received: from localhost (alg1 [127.0.0.1]) by a.mx.secunet.com (Postfix) with ESMTP id E6D3E1A0249; Tue, 16 Jun 2015 17:14: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 NqgGvcfWtL-P; Tue, 16 Jun 2015 17:14:49 +0200 (CEST)
Received: from mail-essen-01.secunet.de (unknown [10.53.40.204]) by a.mx.secunet.com (Postfix) with ESMTP id 73C7F1A0248; Tue, 16 Jun 2015 17:14:49 +0200 (CEST)
Received: from [10.208.1.212] (10.208.1.212) by mail-essen-01.secunet.de (10.53.40.204) with Microsoft SMTP Server (TLS) id 14.3.224.2; Tue, 16 Jun 2015 17:15:05 +0200
Message-ID: <55803D78.3020706@secunet.com>
Date: Tue, 16 Jun 2015 17:15:04 +0200
From: Johannes Merkle <johannes.merkle@secunet.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: "Salz, Rich" <rsalz@akamai.com>, Tony Arcieri <bascule@gmail.com>, "cfrg@irtf.org" <cfrg@irtf.org>
References: <CAHOTMVJwYL3Sd4WLpuZkx5=M9kPzYR=KgPj7hJ124ZF4kaKBWg@mail.gmail.com> <cf2e481f72ac45a2a49300fa09dce43d@ustx2ex-dag1mb2.msg.corp.akamai.com>
In-Reply-To: <cf2e481f72ac45a2a49300fa09dce43d@ustx2ex-dag1mb2.msg.corp.akamai.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.208.1.212]
X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/GHCqtw_eyHTJ5GGwnj4XQIkvfLU>
Subject: Re: [Cfrg] Backup ciphersuites in the event of an ECCpocalypse
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Jun 2015 15:15:12 -0000

Salz, Rich schrieb am 04.06.2015 um 02:33:
>> Should there be backup algorithms in the event of some revolutionary innovation that breaks all known curves or all curves presently in use?
> 
> No.  It is trying to solve a worry about the future with a hope.
>

We have the scenario of someone building a quantum computer. In this case, not only ECC is broken but RSA and FFDH, too.
Although I can't imagine that this will happen soon, it's better to be prepared.


> How do you know a backup is any better?  And, if it is, why is it a backup and not the primary choice?
> 

There are many schemes believed to be resistant to quantum computers, including hash-based signatures where the security
can be based on any secure hash function.
https://datatracker.ietf.org/doc/draft-huelsing-cfrg-hash-sig-xmss/
https://datatracker.ietf.org/doc/draft-mcgrew-hash-sigs/

Of course, almost all Post-quantum schemes have very large keys making them not the primary choice today.

-- 
Johannes


From nobody Tue Jun 16 08:22:48 2015
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 EBD4D1B3ACD for <cfrg@ietfa.amsl.com>; Tue, 16 Jun 2015 08:22:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.712
X-Spam-Level: 
X-Spam-Status: No, score=-0.712 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bktXqKQZZtUM for <cfrg@ietfa.amsl.com>; Tue, 16 Jun 2015 08:22:41 -0700 (PDT)
Received: from prod-mail-xrelay06.akamai.com (prod-mail-xrelay06.akamai.com [96.6.114.98]) by ietfa.amsl.com (Postfix) with ESMTP id 4453E1B3AC5 for <cfrg@irtf.org>; Tue, 16 Jun 2015 08:22:41 -0700 (PDT)
Received: from prod-mail-xrelay06.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 70EDA167246; Tue, 16 Jun 2015 15:22:40 +0000 (GMT)
Received: from prod-mail-relay08.akamai.com (prod-mail-relay08.akamai.com [172.27.22.71]) by prod-mail-xrelay06.akamai.com (Postfix) with ESMTP id 6577F167244; Tue, 16 Jun 2015 15:22:40 +0000 (GMT)
Received: from email.msg.corp.akamai.com (ustx2ex-cas1.msg.corp.akamai.com [172.27.25.30]) by prod-mail-relay08.akamai.com (Postfix) with ESMTP id 2C8AA980E2; Tue, 16 Jun 2015 15:22:40 +0000 (GMT)
Received: from USTX2EX-DAG1MB2.msg.corp.akamai.com (172.27.27.102) by ustx2ex-dag1mb5.msg.corp.akamai.com (172.27.27.105) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Tue, 16 Jun 2015 10:22:39 -0500
Received: from USTX2EX-DAG1MB2.msg.corp.akamai.com ([172.27.6.132]) by ustx2ex-dag1mb2.msg.corp.akamai.com ([172.27.6.132]) with mapi id 15.00.1076.000; Tue, 16 Jun 2015 10:22:39 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Johannes Merkle <johannes.merkle@secunet.com>, Tony Arcieri <bascule@gmail.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Backup ciphersuites in the event of an ECCpocalypse
Thread-Index: AQHQnlT8vuZBAoAfzk+2oH+Sjkx4l52bfr6QgBQm2gD//62cQA==
Date: Tue, 16 Jun 2015 15:22:39 +0000
Message-ID: <97b40654c1984b2b95239806d737d816@ustx2ex-dag1mb2.msg.corp.akamai.com>
References: <CAHOTMVJwYL3Sd4WLpuZkx5=M9kPzYR=KgPj7hJ124ZF4kaKBWg@mail.gmail.com> <cf2e481f72ac45a2a49300fa09dce43d@ustx2ex-dag1mb2.msg.corp.akamai.com> <55803D78.3020706@secunet.com>
In-Reply-To: <55803D78.3020706@secunet.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.34.197]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/GvK46RaTXFSxB8lLxhZxVRSgnho>
Subject: Re: [Cfrg] Backup ciphersuites in the event of an ECCpocalypse
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Jun 2015 15:22:45 -0000

> We have the scenario of someone building a quantum computer. In this case=
,
> not only ECC is broken but RSA and FFDH, too.

Trying to build seems more accurate.

> Although I can't imagine that this will happen soon, it's better to be pr=
epared.

If they succeed then everything's broken.

We clearly have enough problems trying to get good solid crypto deployed no=
w.  We should spend our (meager, finite) efforts there.



From nobody Tue Jun 16 08:32:51 2015
Return-Path: <sfluhrer@cisco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A029E1B2DDD for <cfrg@ietfa.amsl.com>; Tue, 16 Jun 2015 08:32:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level: 
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fKcUEUW075PJ for <cfrg@ietfa.amsl.com>; Tue, 16 Jun 2015 08:32:49 -0700 (PDT)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2B47A1B2DD9 for <cfrg@irtf.org>; Tue, 16 Jun 2015 08:32:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1544; q=dns/txt; s=iport; t=1434468769; x=1435678369; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=bQsVMVR+5y4m7vyCXdX5gaSZsfbBEMDYT0UC6e9qcRw=; b=Iwbol/W0Cnwiy8Jnb86ZIn5kXKuS42K9APLB77ygDPqzc3nB/jBTdBci 7+LDKaQ+v7j5hYaUU/KU7m3LPSSzJS3H7D+Arec69wzKOFvanpTnwAKyu GiwyPpbK3CBTXLXjhBwvM8lMNn/3FiqXnTfKtXOJwSPcaCooJObXM8Wsa 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AmBACbQIBV/4oNJK1bgxBUXwa+GgmBYYV4AoFAOBQBAQEBAQEBgQqEIgEBAQQ6SwQCAQgRBAEBCxQJBzIUCQgCBAESCIgnDc1BAQEBAQEBAQEBAQEBAQEBAQEBAQEBEwSLRIQaOzgGgxGBFgEEk18BhFGfCyaCCh2BUm+BRoEBAQEB
X-IronPort-AV: E=Sophos;i="5.13,626,1427760000";  d="scan'208";a="7726884"
Received: from alln-core-5.cisco.com ([173.36.13.138]) by rcdn-iport-1.cisco.com with ESMTP; 16 Jun 2015 15:32:48 +0000
Received: from xhc-rcd-x10.cisco.com (xhc-rcd-x10.cisco.com [173.37.183.84]) by alln-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id t5GFWmYu005153 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 16 Jun 2015 15:32:48 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.217]) by xhc-rcd-x10.cisco.com ([173.37.183.84]) with mapi id 14.03.0195.001; Tue, 16 Jun 2015 10:32:47 -0500
From: "Scott Fluhrer (sfluhrer)" <sfluhrer@cisco.com>
To: Johannes Merkle <johannes.merkle@secunet.com>, "Salz, Rich" <rsalz@akamai.com>, Tony Arcieri <bascule@gmail.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Backup ciphersuites in the event of an ECCpocalypse
Thread-Index: AQHQnlUBWWE+B65QnUennxQeBvnR5J2b0zgAgBPSYAD//634YA==
Date: Tue, 16 Jun 2015 15:32:47 +0000
Message-ID: <A113ACFD9DF8B04F96395BDEACB340420D0C8B56@xmb-rcd-x04.cisco.com>
References: <CAHOTMVJwYL3Sd4WLpuZkx5=M9kPzYR=KgPj7hJ124ZF4kaKBWg@mail.gmail.com> <cf2e481f72ac45a2a49300fa09dce43d@ustx2ex-dag1mb2.msg.corp.akamai.com> <55803D78.3020706@secunet.com>
In-Reply-To: <55803D78.3020706@secunet.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.86.245.28]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/mJF2J73FJSppUa5ScBfz60iiXDg>
Subject: Re: [Cfrg] Backup ciphersuites in the event of an ECCpocalypse
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Jun 2015 15:32:50 -0000

> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Johannes Merkle
> Sent: Tuesday, June 16, 2015 11:15 AM
> To: Salz, Rich; Tony Arcieri; cfrg@irtf.org
> Subject: Re: [Cfrg] Backup ciphersuites in the event of an ECCpocalypse
>=20
> Salz, Rich schrieb am 04.06.2015 um 02:33:
> >> Should there be backup algorithms in the event of some revolutionary
> innovation that breaks all known curves or all curves presently in use?
> >
> > No.  It is trying to solve a worry about the future with a hope.
> >
>=20
> We have the scenario of someone building a quantum computer. In this
> case, not only ECC is broken but RSA and FFDH, too.
> Although I can't imagine that this will happen soon, it's better to be
> prepared.
>=20
>=20
> > How do you know a backup is any better?  And, if it is, why is it a bac=
kup
> and not the primary choice?
> >
>=20
> There are many schemes believed to be resistant to quantum computers,
> including hash-based signatures where the security can be based on any
> secure hash function.
> https://datatracker.ietf.org/doc/draft-huelsing-cfrg-hash-sig-xmss/
> https://datatracker.ietf.org/doc/draft-mcgrew-hash-sigs/
>=20
> Of course, almost all Post-quantum schemes have very large keys making
> them not the primary choice today.

Minor correction: hash based signatures (such as the Huelsing and McGrew pr=
oposals above) have large signatures; the McGrew proposal has quite small p=
ublic keys, and the Huelsing has reasonable sized ones.



From nobody Thu Jun 18 10:04:19 2015
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 A89741B2A02; Thu, 18 Jun 2015 10:04:18 -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 XWVFsE1SoQEk; Thu, 18 Jun 2015 10:04:17 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 5D6611B2A04; Thu, 18 Jun 2015 10:04:16 -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: 6.0.3.p3
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20150618170416.30233.58367.idtracker@ietfa.amsl.com>
Date: Thu, 18 Jun 2015 10:04:16 -0700
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/gMQ-R4w01AhWU_zz_36ED8vgQx4>
Cc: cfrg@ietf.org
Subject: [Cfrg] I-D Action: draft-irtf-cfrg-dragonfly-08.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: Thu, 18 Jun 2015 17:04:18 -0000

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

        Title           : Dragonfly Key Exchange
        Author          : Dan Harkins
	Filename        : draft-irtf-cfrg-dragonfly-08.txt
	Pages           : 17
	Date            : 2015-06-18

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.  This document is a product of the Crypto Forum
   Research Group (CFRG).


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

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

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


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

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


From nobody Thu Jun 18 10:37:24 2015
Return-Path: <pgut001@cs.auckland.ac.nz>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 13C141B2ADB for <cfrg@ietfa.amsl.com>; Thu, 18 Jun 2015 10:37:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.79
X-Spam-Level: 
X-Spam-Status: No, score=0.79 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9An2GHbG8h_D for <cfrg@ietfa.amsl.com>; Thu, 18 Jun 2015 10:37:21 -0700 (PDT)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0834B1B2ABA for <cfrg@irtf.org>; Thu, 18 Jun 2015 10:37:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1434649039; x=1466185039; h=from:to:subject:date:message-id: content-transfer-encoding:mime-version; bh=D/sTweC5qxhc1qlEpQ1h+2w43MbOZr6ZaYszEjka+q8=; b=uzdtPZNplaFYZfxsKhJPH8RYsqIlbMZu9euoZlg8M66no9zvqO4BdrI5 6WCriMgceoz5D+bpv6d+9UgQE9uMUNbuTnUAspiLqJHgHHaA7eQ5dad5e v2J2P4LOmVc4ajg98BHtpurWP9pbsSNn877CKy/uiXDp1gnkA5JccP2pT X1c1WxFOHTTwHJ96eb6rYDnSsR3DczxfWiaVQuTwTEB1BQMIP5MrvpkF5 a2RST3DNL59oGaSfAX02e0vJcCRchg+3Fg8MJ8BRQmF0pCkooBsAbqpMF exfqLMs9XpT1mwpqot1gX4gJXHUYs9s+z9zZ7HzKrNCxQfuildLbzyOe7 A==;
X-IronPort-AV: E=Sophos;i="5.13,640,1427713200"; d="scan'208";a="23606277"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.125 - Outgoing - Outgoing
Received: from uxchange10-fe3.uoa.auckland.ac.nz ([130.216.4.125]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES128-SHA; 19 Jun 2015 05:37:17 +1200
Received: from UXCN10-TDC05.UoA.auckland.ac.nz ([169.254.9.151]) by uxchange10-fe3.UoA.auckland.ac.nz ([169.254.143.234]) with mapi id 14.03.0174.001; Fri, 19 Jun 2015 05:37:17 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: "cfrg@irtf.org" <cfrg@irtf.org>, "saag@ietf.org" <saag@ietf.org>
Thread-Topic: Twist Insecurity
Thread-Index: AdCp7WtAMKFDOmz6TZ2ngjz8zBlMqQ==
Date: Thu, 18 Jun 2015 17:37:16 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C73AB045C85@uxcn10-tdc05.UoA.auckland.ac.nz>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [130.216.158.4]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/jQ6b10zNxcyv0GuRu3Xsc0N26wM>
Subject: [Cfrg] Twist Insecurity
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jun 2015 17:37:23 -0000

For those who haven't seen it yet, the following paper may be of interest:=
=0A=
=0A=
  http://eprint.iacr.org/2015/577=0A=
  =0A=
  Several authors suggest that the use of twist secure Elliptic Curves=0A=
  automatically leads to secure implementations. We argue that even for twi=
st=0A=
  secure curves a point validation has to be performed. We illustrate this=
=0A=
  with examples where the security of EC-algorithms is strongly degraded, e=
ven=0A=
  for twist secure curves.=0A=
=0A=
  We show that the usual blindig countermeasures against SCA are insufficie=
nt=0A=
  (actually they introduce weaknesses) if no point validation is performed,=
 or=0A=
  if an attacker has access to certain intermediate points. In this case th=
e=0A=
  overall security of the system is reduced to the length of the blinding=
=0A=
  parameter. We emphazise that our methods work even in the case of a very=
=0A=
  high identification error rate during the SCA-phase.=0A=
=0A=
Peter.=0A=


From nobody Thu Jun 18 15:50:52 2015
Return-Path: <kurt@roeckx.be>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C65811A909F for <cfrg@ietfa.amsl.com>; Thu, 18 Jun 2015 15:50:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.799
X-Spam-Level: 
X-Spam-Status: No, score=0.799 tagged_above=-999 required=5 tests=[BAYES_50=0.8, 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 wgp_Ihtsn1to for <cfrg@ietfa.amsl.com>; Thu, 18 Jun 2015 15:50:49 -0700 (PDT)
Received: from defiant.e-webshops.eu (defiant.e-webshops.eu [82.146.122.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C1F461A909C for <cfrg@irtf.org>; Thu, 18 Jun 2015 15:50:48 -0700 (PDT)
Received: from intrepid.roeckx.be (localhost [127.0.0.1]) by defiant.e-webshops.eu (Postfix) with ESMTP id 4A97E1C208B; Fri, 19 Jun 2015 00:50:45 +0200 (CEST)
Received: by intrepid.roeckx.be (Postfix, from userid 1000) id 01EE71FE056F; Fri, 19 Jun 2015 00:50:44 +0200 (CEST)
Date: Fri, 19 Jun 2015 00:50:44 +0200
From: Kurt Roeckx <kurt@roeckx.be>
To: Tony Arcieri <bascule@gmail.com>
Message-ID: <20150618225044.GA6583@roeckx.be>
References: <CAHOTMVJwYL3Sd4WLpuZkx5=M9kPzYR=KgPj7hJ124ZF4kaKBWg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAHOTMVJwYL3Sd4WLpuZkx5=M9kPzYR=KgPj7hJ124ZF4kaKBWg@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/slySkUgNyib2vtHuTmY4gBI3bcg>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Backup ciphersuites in the event of an ECCpocalypse
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jun 2015 22:50:50 -0000

On Wed, Jun 03, 2015 at 04:27:56PM -0700, Tony Arcieri wrote:
> This question was broached by people on the TLS mailing list who are
> apparently already running off and implementing things. I think it actually
> belongs here.
> 
> Some questions:
> 
> Should there be backup algorithms in the event of some revolutionary
> innovation that breaks all known curves or all curves presently in use?
> 
> If both key exchange and signatures are moving to ECC, what should the
> backups be, provided we think backups are a good idea?

I think there are various people who would like to keep the
communication confidential for a long time.  So I think they would
be most interested in having a key exchange (and encryption) that
is likely to survive a long time.  I think the key exchange is the
most likely weak point.  So I think there are people that don't
look it as a backup but want to already start using it.

The paper Adam pointed to at least looks interesting for those
people, but I'm not sure how ready that is.  I have a feeling it
still requires more research.

But I think that the people who (think that they) need it is such
a minority and that we have more important things to do that it
currently shouldn't be a priority for us to look at it.

I'm wondering if there are estimates for how long things like RSA,
DDDHE, ECDHE and so on will still be usable.


Kurt


From nobody Thu Jun 18 23:28:11 2015
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9FEAD1A1BCD for <cfrg@ietfa.amsl.com>; Thu, 18 Jun 2015 23:28:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.896
X-Spam-Level: **
X-Spam-Status: No, score=2.896 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, UNPARSEABLE_RELAY=0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5bDOCBlANFAT for <cfrg@ietfa.amsl.com>; Thu, 18 Jun 2015 23:28:08 -0700 (PDT)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id DFE9A1A1BCC for <cfrg@irtf.org>; Thu, 18 Jun 2015 23:28:07 -0700 (PDT)
Received: (qmail 12535 invoked by uid 1017); 19 Jun 2015 06:28:26 -0000
Received: from unknown (unknown) by unknown with QMTP; 19 Jun 2015 06:28:26 -0000
Received: (qmail 3508 invoked by uid 1000); 19 Jun 2015 06:27:52 -0000
Date: 19 Jun 2015 06:27:52 -0000
Message-ID: <20150619062752.3506.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
In-Reply-To: <557FEA01.7070207@isode.com> <557FE6E4.3040509@isode.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/bskvI2C1jxB4oGo3IdBxjMB7SfA>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 06:28:09 -0000

I'm still unable to figure out what the chairs are saying the rough
consensus is. I'll keep using Ed25519 and SHA-3-512 to illustrate the
options available:

   Option #1: Specify Ed25519(SHA-3-512(m)) with an IUF API.
   Option #2: Specify higher-security Ed25519(m).
   Option #3: Specify Ed25519(m) as the higher-security default and
              Ed25519(SHA-3-512(m)) for applications that need IUF.

I understand that the chairs are saying that the following position has
rough consensus: the demand for deploying IUF APIs in some applications
outweighs the security concerns regarding those APIs; consequently, CFRG
needs to specify an IUF signature scheme, such as Ed25519(SHA-3-512(m)).

This is, however, compatible with _also_ specifying the more fundamental
Ed25519(m) layer as the default higher-security signature scheme. My
reading of the discussions so far is that it would be easy to justify
doing this: specifying Ed25519(m) as the higher-security default and
Ed25519(SHA-3-512(m)) for applications that need IUF. Both Ed25519(m)
and Ed25519(SHA-3-512(m)) have clearly attracted significant interest.

Are the chairs saying that the rough consensus is to do this? Or that
the rough consensus is to _not_ do this? Or still unsettled?

I would expect the first answer, but what I've seen is a completely
unclear mix of the second answer and the third answer. See quotes below.
Obviously clarification is required.

Alexey Melnikov writes:
> In your example, this means that "Ed25519(SHA-3-512(m)), with an IUF
> API" satisfies the requirement and CFRG poll result doesn't say
> anything about (doesn't recommend and doesn't prohibit) "Ed25519(m) as
> the higher-security default".

Okay. This seems to be a clear statement that the rough consensus is
against option #2---the choice between option #1 and option #3 hasn't
been resolved yet. "Doesn't recommend" allows option #1, and "doesn't 
prohibit" allows option #3.

In other words, you're saying that the rough consensus is that CFRG
needs to provide Ed25519(SHA-3-512(m)) or something else with an IUF
API, and that it isn't settled yet whether CFRG will also provide
something like Ed25519(m).

> There was rough consensus for the option #1.

This contradicts the "doesn't prohibit" statement. Option #1 would mean
specifying _only_ Ed25519(SHA-3-512(m)), and _not_ specifying Ed25519(m)
as the higher-security default.

---Dan


From nobody Fri Jun 19 11:00:18 2015
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 C49201ACE27 for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 11:00:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.798
X-Spam-Level: 
X-Spam-Status: No, score=0.798 tagged_above=-999 required=5 tests=[BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9y0w_B2n4NKm for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 11:00:09 -0700 (PDT)
Received: from entima.net (entima.net [78.129.143.175]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 16F8F1ACE1B for <cfrg@irtf.org>; Fri, 19 Jun 2015 11:00:08 -0700 (PDT)
Message-ID: <558458AF.6080301@akr.io>
Date: Fri, 19 Jun 2015 19:00:15 +0100
From: Alyssa Rowan <akr@akr.io>
MIME-Version: 1.0
To: cfrg@irtf.org
References: <20150619062752.3506.qmail@cr.yp.to>
In-Reply-To: <20150619062752.3506.qmail@cr.yp.to>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/_KNlrKzyLQfHUuoZS9fDNX-Mts4>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 18:00:14 -0000

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

On 2015-06-19 07:27, D. J. Bernstein wrote:

> I understand that the chairs are saying that the following
> position has rough consensus:

I've largely stayed out of this poll as I don't have an incredibly
strong opinion here, but I'd also like clarity.

EdDSA(H(m)) is weaker than EdDSA(m). Of course we desire
collision-resistance in any hash that we choose, but EdDSA(m) doesn't
NEED it.

If we propose a change to Ed25519 that makes it weaker, we'll need to
be very, very careful to justify why: otherwise our recommendations to
the upstream working group may well not be useful in contrast to
existing rough consensus and running code in, e.g., GnuPG and OpenSSH.
If we don't have a strong opinion, is it really worth the change?

TLS WG don't seem to have any concerns about Ed25519 implementation:
they're in fact talking about which OIDs to allocate. They are the
ones who will implement it in a way which most interacts with
init-update-final APIs: if they don't care to change it, need we?

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

iQIcBAEBCgAGBQJVhFioAAoJEOyEjtkWi2t6+X0P/jOrbfCiWxs7JrNgVGNKKY3W
1UVCDAKhM7IzL6235CqcqRIpV0CwyFWr5GkG9BE0ohqzUd280HVeLZsEGyoob7Dm
QNJ38zHuza2R4vwZHQd1G45wsdykG0NemEvF3OQSfsvjVkjj0MermxYv2n7cHGyZ
h/rUGgU7KeXhEMqrG1pJpE7HMrujGzotbqfkWDIly5bE1jR1cl+SvecaB2e0R7lI
a2ljF/Ot3/gIuljb+xeOUhTH4U2GEiW43CA/b1fLnvqwRTVa9NE0uB+A2tig0Cfe
NMBvrGstZy3tZm9p/9kI1r5OjzkrZ/ApTfMdXzRXjLS2dfn/c3BwcOvLnCoDUA2k
lXn/q5cV4tFJaBBFVom9J/+w0E6otrIcqHBeqJk9yrIX4HRSKkoN/TquOHz9Ml9w
1borWHkGcFOlGQt1POH7/7HfFH0qPcIwvVLhGs3PEles4N+EYnP1AmVKoYbJHXat
JnyV5SmJLzThNKem8BLN/QITfmHkoB/eYF+jh6yHxkvpxPNlX1RZGWfAvWa5M/hx
94rZJB7JClizwzb+mWK2X8ZGcGEtlu7n0pW/KII+N5kw2s7xW1Uu1y65l0ZEEZYV
kp2h9GkDuLg3T2BizHVWiZ5fxDNnq75GkNdzuJGKuN3LtTgUNHyto4zufTS5MD5v
XNADN5q70VIWEROeTJtF
=z1jx
-----END PGP SIGNATURE-----


From nobody Fri Jun 19 11:04:32 2015
Return-Path: <prvs=3612728a5a=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 88D5A1ACE38 for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 11:04:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.209
X-Spam-Level: 
X-Spam-Status: No, score=-4.209 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01, UNPARSEABLE_RELAY=0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WiOuXiVrbOwy for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 11:04:30 -0700 (PDT)
Received: from mx1.ll.mit.edu (MX1.LL.MIT.EDU [129.55.12.45]) by ietfa.amsl.com (Postfix) with ESMTP id D55671ACE3D for <cfrg@irtf.org>; Fri, 19 Jun 2015 11:04:29 -0700 (PDT)
Received: from LLE2K10-HUB01.mitll.ad.local (LLE2K10-HUB01.mitll.ad.local) by mx1.ll.mit.edu (unknown) with ESMTP id t5JI4RjX026708; Fri, 19 Jun 2015 14:04:27 -0400
From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
To: Alyssa Rowan <akr@akr.io>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
Thread-Index: AQHQqlkRwazrYQfccEma7ey58Ly2S520YfKA//++DoA=
Date: Fri, 19 Jun 2015 18:04:25 +0000
Message-ID: <D1A9D142.1AD1D%uri@ll.mit.edu>
References: <20150619062752.3506.qmail@cr.yp.to> <558458AF.6080301@akr.io>
In-Reply-To: <558458AF.6080301@akr.io>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.5.1.150515
x-originating-ip: [172.25.177.187]
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha256; boundary="B_3517567453_21045424"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151, 1.0.33,  0.0.0000 definitions=2015-06-19_06:2015-06-18,2015-06-19,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-1506190310
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/u3U7qykkhrILAe0chwpGwzvLCFo>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 18:04:31 -0000

--B_3517567453_21045424
Content-type: text/plain;
	charset="UTF-8"
Content-transfer-encoding: 7bit

>On 2015-06-19 07:27, D. J. Bernstein wrote:
>>I understand that the chairs are saying that the following
>> position has rough consensus:
>
>I've largely stayed out of this poll as I don't have an incredibly
>strong opinion here, but I'd also like clarity.
>
>EdDSA(H(m)) is weaker than EdDSA(m). Of course we desire
>collision-resistance in any hash that we choose, but EdDSA(m) doesn't
>NEED it.

Yes EdDSA(H(m)) is weaker, but (a) this weakness is negligible even from
the theoretical point of view, and (b) it is much more *usable* and
*practical* that EdDSA(m).

Needless to say, I much prefer EdDSA(H(m)), for the simple reasons
mentioned above.

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

MIIQ0AYJKoZIhvcNAQcCoIIQwTCCEL0CAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0B
BwGggg6fMIIE6jCCA9KgAwIBAgIKE5SxSwAAAABE8TANBgkqhkiG9w0BAQsFADBRMQswCQYD
VQQGEwJVUzEfMB0GA1UEChMWTUlUIExpbmNvbG4gTGF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IaYV0NnagNaWiirAl
TFTDqKSfeEbc9bieMy1zZ17rTifSTI6xanDIvneWBGp7QBvt8CAP5LP89MUiIxzybCCWLiYB
5wTyVEPzVoPGZvE/8Ciyj9aOp0We+D6UfP+rrakCTTkhstN2y4rFtJ3D6nNAt2BvUzzug+yq
N0dUMQ30uA219t3Vj8m8CKQpSxapKU1d5e9rJKUbnMNvZFOtNwnxQzOnESVyt8GFLJIGHlRW
twM6jC+3EGab7AUv49SZpWCRjiIY9KxI3EdtIUnddT4so4Ap4AtmuOja

--B_3517567453_21045424--


From nobody Fri Jun 19 11:19:46 2015
Return-Path: <bascule@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 23FCA1ACEA4 for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 11:19: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 85SgOmPilOhN for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 11:19:44 -0700 (PDT)
Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EAC8C1ACEA0 for <cfrg@irtf.org>; Fri, 19 Jun 2015 11:19:43 -0700 (PDT)
Received: by obbsn1 with SMTP id sn1so79415589obb.1 for <cfrg@irtf.org>; Fri, 19 Jun 2015 11:19:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=xfYOfMOmZ99kRof3JvG/aTpVnO925+cwGJtFyIvZ0kQ=; b=Hpke5b3rxM5VrF8Ao2gBPUaIq7Dn1tZeo7y9js3fXm/EnWDzFJaYRtRYcruIygOl/r mrv3kAM/noxh+WbtRRx+DvcKDb8u68966yJ0E0E2vdDauLb4B4rr3wn2/ahjuzThZvhs EAZ8MucvILNu+FxHfmaicR735oNgeNMIXAz/rJl/gV8OGogpXwYAECug1tFsXquCkZdw Gr9Hv5Hk8ArcJncuOrAv+Qh/R56vW0k2YR+ZbuHEpBGXW7kqm+rOFb/uwBrU8xkfoKB5 Bdc2Lb9cHEs1jwsJPZ4KNwvBz/FrJ9t+81oOjPbpbPRZe7URQ1sPVw2iClXCkYFsAezW emIA==
X-Received: by 10.202.86.212 with SMTP id k203mr2412409oib.13.1434737983396; Fri, 19 Jun 2015 11:19:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.110.241 with HTTP; Fri, 19 Jun 2015 11:19:23 -0700 (PDT)
In-Reply-To: <D1A9D142.1AD1D%uri@ll.mit.edu>
References: <20150619062752.3506.qmail@cr.yp.to> <558458AF.6080301@akr.io> <D1A9D142.1AD1D%uri@ll.mit.edu>
From: Tony Arcieri <bascule@gmail.com>
Date: Fri, 19 Jun 2015 11:19:23 -0700
Message-ID: <CAHOTMVJC+TRYu1k6m3AAUo555c_WBCC1bFOUHpEW3x+ztDPzPw@mail.gmail.com>
To: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
Content-Type: multipart/alternative; boundary=001a113d7caad8a2090518e2f716
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/kFAMtA7bkO_GP47AlgcApJjVtZQ>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 18:19:45 -0000

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

On Fri, Jun 19, 2015 at 11:04 AM, Blumenthal, Uri - 0553 - MITLL <
uri@ll.mit.edu> wrote:

> Yes EdDSA(H(m)) is weaker, but (a) this weakness is negligible even from
> the theoretical point of view


Uhh, remember Flame? Collisions have been used in real-world attacks
against the X.509 PKI.

-- 
Tony Arcieri

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On F=
ri, Jun 19, 2015 at 11:04 AM, Blumenthal, Uri - 0553 - MITLL <span dir=3D"l=
tr">&lt;<a href=3D"mailto:uri@ll.mit.edu" target=3D"_blank">uri@ll.mit.edu<=
/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">Yes EdDSA(H(m)) is =
weaker, but (a) this weakness is negligible even from<br>
the theoretical point of view</blockquote><div><br></div><div>Uhh, remember=
 Flame? Collisions have been used in real-world attacks against the X.509 P=
KI.</div></div><div><br></div>-- <br><div class=3D"gmail_signature">Tony Ar=
cieri<br></div>
</div></div>

--001a113d7caad8a2090518e2f716--


From nobody Fri Jun 19 13:25:00 2015
Return-Path: <prvs=3612728a5a=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 D57071B2A1B for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 13:24:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.207
X-Spam-Level: 
X-Spam-Status: No, score=-4.207 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, T_RP_MATCHES_RCVD=-0.01, UNPARSEABLE_RELAY=0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RM5Nf2KVJe3o for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 13:24:52 -0700 (PDT)
Received: from mx1.ll.mit.edu (MX1.LL.MIT.EDU [129.55.12.45]) by ietfa.amsl.com (Postfix) with ESMTP id 073D91B2A17 for <cfrg@irtf.org>; Fri, 19 Jun 2015 13:24:51 -0700 (PDT)
Received: from LLE2K10-HUB02.mitll.ad.local (LLE2K10-HUB02.mitll.ad.local) by mx1.ll.mit.edu (unknown) with ESMTP id t5JKOmuC018086; Fri, 19 Jun 2015 16:24:48 -0400
From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
To: Tony Arcieri <bascule@gmail.com>
Thread-Topic: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
Thread-Index: AQHQqlkRwazrYQfccEma7ey58Ly2S520YfKA//++DoCAAEdLgP//3/cA
Date: Fri, 19 Jun 2015 20:24:48 +0000
Message-ID: <D1A9F26E.1AD39%uri@ll.mit.edu>
References: <20150619062752.3506.qmail@cr.yp.to> <558458AF.6080301@akr.io> <D1A9D142.1AD1D%uri@ll.mit.edu> <CAHOTMVJC+TRYu1k6m3AAUo555c_WBCC1bFOUHpEW3x+ztDPzPw@mail.gmail.com>
In-Reply-To: <CAHOTMVJC+TRYu1k6m3AAUo555c_WBCC1bFOUHpEW3x+ztDPzPw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.5.1.150515
x-originating-ip: [172.25.177.187]
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha256; boundary="B_3517575884_21494888"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151, 1.0.33,  0.0.0000 definitions=2015-06-19_06:2015-06-18,2015-06-19,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-1506190353
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/IsGr9_oiOiYy3YUG84nzf3uKUSg>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 20:24:58 -0000

--B_3517575884_21494888
Content-type: multipart/alternative;
	boundary="B_3517575884_21494866"


--B_3517575884_21494866
Content-type: text/plain;
	charset="UTF-8"
Content-transfer-encoding: 7bit

> On Fri, Jun 19, 2015 at 11:04 AM, Blumenthal, Uri - 0553 - MITLL
> <uri@ll.mit.edu> wrote:
>> Yes EdDSA(H(m)) is weaker, but (a) this weakness is negligible even from
>> the theoretical point of view
> 
> Uhh, remember Flame? Collisions have been used in real-world attacks against
> the X.509 PKI.

Uhh, IMHO we are supposed to be practical even when paranoid. I find it
certain that we all would be beyond caring by the time collisions are
produced in SHA-3.



--B_3517575884_21494866
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"><b=
lockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT: #b5c4d=
f 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div><div><div dir=3D"ltr"><div c=
lass=3D"gmail_extra"><div class=3D"gmail_quote">On Fri, Jun 19, 2015 at 11:04 AM=
, Blumenthal, Uri - 0553 - MITLL
<span dir=3D"ltr">&lt;<a href=3D"mailto:uri@ll.mit.edu" target=3D"_blank">uri@ll.=
mit.edu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes EdDSA(H(m)) is weaker, but (a) this weakness is negligible even from<br=
>
the theoretical point of view</blockquote><div><br></div><div>Uhh, remember=
 Flame? Collisions have been used in real-world attacks against the X.509 PK=
I.</div></div></div></div></div></div></blockquote></span><div><br></div><sp=
an id=3D"OLK_SRC_BODY_SECTION"><div><div><div dir=3D"ltr"><div class=3D"gmail_extr=
a"><div class=3D"gmail_signature">Uhh, IMHO we are supposed to be practical ev=
en when paranoid. I find it certain that we all would be beyond caring by th=
e time collisions are produced in SHA-3.</div></div></div></div></div></span=
></body></html>

--B_3517575884_21494866--

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

MIIQ0AYJKoZIhvcNAQcCoIIQwTCCEL0CAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0B
BwGggg6fMIIE6jCCA9KgAwIBAgIKE5SxSwAAAABE8TANBgkqhkiG9w0BAQsFADBRMQswCQYD
VQQGEwJVUzEfMB0GA1UEChMWTUlUIExpbmNvbG4gTGFib3JhdG9yeTEMMAoGA1UECxMDUEtJ
MRMwEQYDVQQDEwpNSVRMTCBDQS0zMB4XDTE1MDYxNTE2MjQzOVoXDTE2MDYxNDE2MjQzOVow
YTELMAkGA1UEBhMCVVMxHzAdBgNVBAoTFk1JVCBMaW5jb2xuIExhYm9yYXRvcnkxDzANBgNV
BAsTBlBlb3BsZTEgMB4GA1UEAxMXQmx1bWVudGhhbC5VcmkuNTAwMTA1ODQwggEiMA0GCSqG
SIb3DQEBAQUAA4IBDwAwggEKAoIBAQC0tVFZOYvbDipiXfjylg0yIORem8AMZ4UQJ7EM2BI8
jKLj/h3RwH4w2DOMdepALLUqscSrpX6HPbo80M1O0cSSIYcYl8wQzDAMmvoD3HWbupwSXEPf
eRtBo26jAvsDkOp46TPu40Pu61AkHx4vIgqU7XkofKhow18Ka/9ZkJ+oSnLK6Xy9+n8JiViO
kTm2NjyF+CcpAobwZ3lBepHihvK3EilYR6V1EHQb+Y+2aWtexkFzBNXaN7i4Sdzq+LNSzCON
DDDnRxA2c/B/p7MBDzocaigPxmKOHcE5eamxCgpJEUVCEALzeVZxcYURDJw68tZ90pJSLuw7
r6iigykQbRINAgMBAAGjggGyMIIBrjAdBgNVHQ4EFgQUQzxm8xAhtcoaGyRStaMMhrmd7/Mw
DgYDVR0PAQH/BAQ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AJBgNVBAYTAlVTMR8w
HQYDVQQKExZNSVQgTGluY29sbiBMYWJvcmF0b3J5MQwwCgYDVQQLEwNQS0kxEzARBgNVBAMT
Ck1JVExMIENBLTMCChOUsUsAAAAARPEwDQYJYIZIAWUDBAIBBQCgaTAvBgkqhkiG9w0BCQQx
IgQg8Jf3zvAS3Mm9l/uBevBQiN9xEgX34V8QFps/J8Nos9IwGAYJKoZIhvcNAQkDMQsGCSqG
SIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTUwNjE5MjAyNDQ0WjANBgkqhkiG9w0BAQEFAASC
AQBXoPS0zpPJR/KkOq1sgUg3A1i4/nbg6w8DBlT0tvnQiuEOlgr8Oukf4ue2kOJ7WMeALzDz
EnixvvQSRXYWB8R19waj4uWWEWmAsbOLai8qzPqdSwsYwouslsWJzf8uxlvBl+aGJ8EuAzbJ
s/if39YFlVScpOQhnBwi1BDwk5ci4G99Xj1b3EKbYa6BLFvN6Cu7XT5M6r0RoGw6KcAsMwBN
MKRiiYGQ5nXzvjxAYVqIdOv7AKM04sWeFrB9U0DLV5Gvdz5eYwen0aIm0Xtt/BqQztcXX/x4
1VxnFXWctyePlqJqKCcvLNez/1+ic2g4Yn6Qzj9pjqobrrmW05r4Chqd

--B_3517575884_21494888--


From nobody Fri Jun 19 13:46:26 2015
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2E6B31B29D2 for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 13:46:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.112
X-Spam-Level: 
X-Spam-Status: No, score=-0.112 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TOYcxF7p1Hy3 for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 13:46:24 -0700 (PDT)
Received: from waldorf.isode.com (waldorf.isode.com [217.34.220.150]) by ietfa.amsl.com (Postfix) with ESMTP id A23951B29C8 for <cfrg@irtf.org>; Fri, 19 Jun 2015 13:46:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1434746783; d=isode.com; s=selector; i=@isode.com; bh=37EcRNWXA2WR1qckYSNlN0mpvwOsE4ohFqlzjFgHEQw=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=oNDtNZfhP3Z5wgZLubcjS8e02++WidVDkj7R+VwXGHx7IqVkl7AzZOH63B1Z6FGFkOo2DF jstCqWjeo4wwUG+ko+HFEPJWT7WUDx1m6jBDb6s1cxvBMQM/QPF/LjSbOVsPukAcgvppfn lbwUR/g/8uhbuq/5bWI8UpPfukaeH8Q=;
Received: from [192.168.0.5] (cpc5-nmal20-2-0-cust24.19-2.cable.virginm.net [92.234.84.25])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <VYR=nAA3=1Df@waldorf.isode.com>; Fri, 19 Jun 2015 21:46:23 +0100
X-SMTP-Protocol-Errors: PIPELINING
Message-ID: <55847FA4.50606@isode.com>
Date: Fri, 19 Jun 2015 21:46:28 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
To: Alyssa Rowan <akr@akr.io>
References: <20150619062752.3506.qmail@cr.yp.to> <558458AF.6080301@akr.io>
In-Reply-To: <558458AF.6080301@akr.io>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/ElGltD1Hy-iCcbnRRHZNmx502qk>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 20:46:26 -0000

Alyssa,

On 19/06/2015 19:00, Alyssa Rowan wrote:
> On 2015-06-19 07:27, D. J. Bernstein wrote:
>
>> I understand that the chairs are saying that the following
>> position has rough consensus:
> I've largely stayed out of this poll as I don't have an incredibly
> strong opinion here, but I'd also like clarity.
>
> EdDSA(H(m)) is weaker than EdDSA(m). Of course we desire
> collision-resistance in any hash that we choose, but EdDSA(m) doesn't
> NEED it.
>
> If we propose a change to Ed25519 that makes it weaker, we'll need to
> be very, very careful to justify why: otherwise our recommendations to
> the upstream working group may well not be useful in contrast to
> existing rough consensus and running code in, e.g., GnuPG and OpenSSH.
> If we don't have a strong opinion, is it really worth the change?
Just a reminder that CFRG is not trying to rubber-stamp any particular 
signature algorithm. CFRG might end up converging on something based on 
EdDSA, but at the moment it is too early to tell.

> TLS WG don't seem to have any concerns about Ed25519 implementation:
> they're in fact talking about which OIDs to allocate. They are the
> ones who will implement it in a way which most interacts with
> init-update-final APIs: if they don't care to change it, need we?
TLS WG will not assign an OID until the signature recommendation is 
settled in CFRG. Stephen (Security AD) was quite clear that he is 
against proliferation of multiple ciphers/signatures/etc and that he 
wants the signature issue to be settled in CFRG first.

Best Regards,
Alexey


From nobody Fri Jun 19 13:51:54 2015
Return-Path: <Kenny.Paterson@rhul.ac.uk>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6B5A81B29E2 for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 13:51:53 -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 pmAE0CWRUSDr for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 13:51:51 -0700 (PDT)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0625.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::625]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DD5121B29E1 for <cfrg@irtf.org>; Fri, 19 Jun 2015 13:51:49 -0700 (PDT)
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) with Microsoft SMTP Server (TLS) id 15.1.190.14; Fri, 19 Jun 2015 20:51:27 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) by DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) with mapi id 15.01.0190.013; Fri, 19 Jun 2015 20:51:27 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: "D. J. Bernstein" <djb@cr.yp.to>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
Thread-Index: AQHQqlkR7uIOoWZbQUqlx8k1wkAeop20X3IA
Date: Fri, 19 Jun 2015 20:51:27 +0000
Message-ID: <D1AA3DE5.4CBBA%kenny.paterson@rhul.ac.uk>
References: <557FEA01.7070207@isode.com> <557FE6E4.3040509@isode.com> <20150619062752.3506.qmail@cr.yp.to>
In-Reply-To: <20150619062752.3506.qmail@cr.yp.to>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.9.150325
authentication-results: cr.yp.to; dkim=none (message not signed) header.d=none;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [78.146.52.20]
x-microsoft-exchange-diagnostics: 1; DBXPR03MB383; 3:krN1aHeBgFPn5WRh41GhWaCLtWOi0qwzQCukR56hauyU+l/gNGE+ydRxsHChRAYzYK7hBd3WR95FCoIEgYyKKWJcfuxHV8D6ZGayGZf2PdeIcsN75njfklfKP3O1WSjPj1x3k1H/FKD//b6wB2RrFg==; 10:c/B0NdE0xZiCq1VvG3OAGvuZ84YT+VWgvv31b20Wmvo1ipfeP/N8PsO6sYjAFuTkFtft04yO6x3gahCQ7JGBn7SPcQsxE6AaSzP1iKvIUJg=; 6:IhQ399vDtRgpRz5gRabk+S9Jn7Jr9k6h7anJo7w/GSuUcLgpa0+lJbL8YgLVy6Ja
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB383;
x-microsoft-antispam-prvs: <DBXPR03MB3838DFED1D666F791756476BCA40@DBXPR03MB383.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:DBXPR03MB383; BCL:0; PCL:0; RULEID:; SRVR:DBXPR03MB383; 
x-forefront-prvs: 0612E553B4
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(479174004)(24454002)(36756003)(54356999)(106116001)(46102003)(76176999)(74482002)(92566002)(2656002)(66066001)(87936001)(2501003)(77156002)(19580395003)(62966003)(19580405001)(4001350100001)(40100003)(122556002)(5001770100001)(86362001)(5002640100001)(83506001)(102836002)(107886002)(2900100001)(2950100001)(561944003)(50986999)(5001960100002)(189998001)(77096005); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR03MB383; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: text/plain; charset="us-ascii"
Content-ID: <3E4BCD6FC09F2C4AABA5B0FAC7384667@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jun 2015 20:51:27.1280 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR03MB383
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/lgMmQqfcjveKRsI_CKKpp5BG8Eg>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 20:51:53 -0000

Hi,

On 19/06/2015 07:27, "D. J. Bernstein" <djb@cr.yp.to> wrote:

>I'm still unable to figure out what the chairs are saying the rough
>consensus is.

Option 1: the IUF API.

We will focus on that option for now.

(Consensus *was* rough though.)

> I'll keep using Ed25519 and SHA-3-512 to illustrate the
>options available:

I appreciate that you are using Ed25519 merely to make things concrete,
but it's perhaps worth making it clear that we've not yet settled on any
particular signature scheme. Of course, Schnorr and DSA variants will be
prime candidates.=20

Alexey and I are meeting tomorrow to discuss how to structure the next
part of our work. We hope to come to the list with a proposal for that
soon after.

Cheers,

Kenny=20



From bjorn.edstrom@gmail.com  Fri Jun 19 13:51:10 2015
Return-Path: <bjorn.edstrom@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 44B411B29E0 for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 13:51:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.921
X-Spam-Level: 
X-Spam-Status: No, score=0.921 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sjOGgTL2unBZ for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 13:51:08 -0700 (PDT)
Received: from mail-pa0-x22c.google.com (mail-pa0-x22c.google.com [IPv6:2607:f8b0:400e:c03::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9B8311B29DF for <cfrg@irtf.org>; Fri, 19 Jun 2015 13:51:08 -0700 (PDT)
Received: by pacyx8 with SMTP id yx8so92325605pac.2 for <cfrg@irtf.org>; Fri, 19 Jun 2015 13:51:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=KA6MpH62bocL+0YgwK62ODDMNqFpEGlDdtNYnDqg2vc=; b=O6DCBlpG1TUP0itf/t2+2Od5NR3KJMtV3WmafvjfN8FClieNhlVI1Uwjj8n/1ptX9g XK+iLhTcLackOZWXXfIg9jJPfZioIzDyWfJdybYvthEVIgBmxeB6jDybXZOuE2Cv4DD9 HhZOwTb0ECRjzkfOnKNhpIt602BZhsFRwLA6GgjRSlCMEzknmgwZ/PzbFA9jC5etSEE5 ZdJGqOHsg6PqGsXwbyzLgn6opY4jq3A/cq5fSCql4a0O31rgbNegQHYk8+kvj8sNZjvD D8AjH7i3gT/17VFfEiMbOKohv7zAmC5CRmwctgEFl8YrrkZEfGpsJ+d6X+jz+56mnOmu UEtQ==
MIME-Version: 1.0
X-Received: by 10.69.19.129 with SMTP id gu1mr35800416pbd.162.1434747068143; Fri, 19 Jun 2015 13:51:08 -0700 (PDT)
Sender: bjorn.edstrom@gmail.com
Received: by 10.66.179.72 with HTTP; Fri, 19 Jun 2015 13:51:08 -0700 (PDT)
In-Reply-To: <20150619062752.3506.qmail@cr.yp.to>
References: <557FEA01.7070207@isode.com> <557FE6E4.3040509@isode.com> <20150619062752.3506.qmail@cr.yp.to>
Date: Fri, 19 Jun 2015 22:51:08 +0200
X-Google-Sender-Auth: WqmUs_zXgsXVINKzxxhUq5aAoRI
Message-ID: <CAA4PzX3Toc+Ev6rp38rU73rinygxGPE7_FLXOWrRMh+N4SPyYQ@mail.gmail.com>
From: =?UTF-8?B?QmrDtnJuIEVkc3Ryw7Zt?= <be@bjrn.se>
To: cfrg@irtf.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/VUsS1w3AurX1BVJXhwVR9_guYgo>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 20:52:40 -0000

I like Option #3. That seems likely what people are going to do anyway
(modulo choice of hash function).

As a working software engineer in the industry a potential break of
the hash function in this case would be the least of my concern.

- Bj=C3=B6rn

On Fri, Jun 19, 2015 at 8:27 AM, D. J. Bernstein <djb@cr.yp.to> wrote:
> I'm still unable to figure out what the chairs are saying the rough
> consensus is. I'll keep using Ed25519 and SHA-3-512 to illustrate the
> options available:
>
>    Option #1: Specify Ed25519(SHA-3-512(m)) with an IUF API.
>    Option #2: Specify higher-security Ed25519(m).
>    Option #3: Specify Ed25519(m) as the higher-security default and
>               Ed25519(SHA-3-512(m)) for applications that need IUF.
>
> I understand that the chairs are saying that the following position has
> rough consensus: the demand for deploying IUF APIs in some applications
> outweighs the security concerns regarding those APIs; consequently, CFRG
> needs to specify an IUF signature scheme, such as Ed25519(SHA-3-512(m)).
>
> This is, however, compatible with _also_ specifying the more fundamental
> Ed25519(m) layer as the default higher-security signature scheme. My
> reading of the discussions so far is that it would be easy to justify
> doing this: specifying Ed25519(m) as the higher-security default and
> Ed25519(SHA-3-512(m)) for applications that need IUF. Both Ed25519(m)
> and Ed25519(SHA-3-512(m)) have clearly attracted significant interest.
>
> Are the chairs saying that the rough consensus is to do this? Or that
> the rough consensus is to _not_ do this? Or still unsettled?
>
> I would expect the first answer, but what I've seen is a completely
> unclear mix of the second answer and the third answer. See quotes below.
> Obviously clarification is required.
>
> Alexey Melnikov writes:
>> In your example, this means that "Ed25519(SHA-3-512(m)), with an IUF
>> API" satisfies the requirement and CFRG poll result doesn't say
>> anything about (doesn't recommend and doesn't prohibit) "Ed25519(m) as
>> the higher-security default".
>
> Okay. This seems to be a clear statement that the rough consensus is
> against option #2---the choice between option #1 and option #3 hasn't
> been resolved yet. "Doesn't recommend" allows option #1, and "doesn't
> prohibit" allows option #3.
>
> In other words, you're saying that the rough consensus is that CFRG
> needs to provide Ed25519(SHA-3-512(m)) or something else with an IUF
> API, and that it isn't settled yet whether CFRG will also provide
> something like Ed25519(m).
>
>> There was rough consensus for the option #1.
>
> This contradicts the "doesn't prohibit" statement. Option #1 would mean
> specifying _only_ Ed25519(SHA-3-512(m)), and _not_ specifying Ed25519(m)
> as the higher-security default.
>
> ---Dan
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Fri Jun 19 14:32:32 2015
Return-Path: <alangley@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 814CA1B2ACC for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 14:32:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bRBu7SisKUBf for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 14:32:28 -0700 (PDT)
Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E2F441B2ACB for <cfrg@irtf.org>; Fri, 19 Jun 2015 14:32:27 -0700 (PDT)
Received: by lbbti3 with SMTP id ti3so79421318lbb.1 for <cfrg@irtf.org>; Fri, 19 Jun 2015 14:32:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=DJ+yRv9IwSdPJss8iVo9LwbPYY174Ow4ZRaQU3M8UpM=; b=pQVLtwoUPD46AzRj+eZSB5TYVsOztnBmyHl7WZvpJO2ye/2JQWbHdyvVTf/R9KpH8l Xuw7UBKJtNxSVis8VSaeLuN0KG0MtqHMGp+S8JPk0iRPhr8jmMFUenC4wIKY0MkgvUVU O4EUB/f9WL43qxp4+iFhSHvtUyR3vwUUmo2t/IUyoYnRnT6+/oTYc05WHKLMZ/fnYkkh Hn9I7zwzPdXo9tmC7VWNflwjhwAwLZ7MbyokCsEgw0avBs7BzjUXHhrLNK1nlrpJhj+9 +e4H/etU/w43g1AwbKPtEuo50SLet+O0mnvCYAEuoFRuOaf/F9RfCDLQsjnPoZkkNuwq 3HCg==
MIME-Version: 1.0
X-Received: by 10.112.220.7 with SMTP id ps7mr19400987lbc.72.1434749546350; Fri, 19 Jun 2015 14:32:26 -0700 (PDT)
Sender: alangley@gmail.com
Received: by 10.112.89.69 with HTTP; Fri, 19 Jun 2015 14:32:26 -0700 (PDT)
In-Reply-To: <CAA4PzX3Toc+Ev6rp38rU73rinygxGPE7_FLXOWrRMh+N4SPyYQ@mail.gmail.com>
References: <557FEA01.7070207@isode.com> <557FE6E4.3040509@isode.com> <20150619062752.3506.qmail@cr.yp.to> <CAA4PzX3Toc+Ev6rp38rU73rinygxGPE7_FLXOWrRMh+N4SPyYQ@mail.gmail.com>
Date: Fri, 19 Jun 2015 14:32:26 -0700
X-Google-Sender-Auth: iwU5ip21BI-1oDI6Xq6nRm3JUAM
Message-ID: <CAMfhd9Ua=fV_MKMfj1T8dApM6fA7Ko4y8-_uu03dd_WpmK4VvQ@mail.gmail.com>
From: Adam Langley <agl@imperialviolet.org>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/QM_aX7tm-8qsSkXM0VbF9SxRIuA>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 21:32:29 -0000

Ponder, for a second, a world in which CFRG specified two schemes:
Ed25519(m) and Ed25519(H(m)).

Also consider a PKI system that issues certificates and CRLs.
Certificates are a type of message and are some serialisation of {0,
name, public-key of name}, where the zero is a single byte that serves
as a "type" indicator. CRLs are another type of message and are {1,
start-time, end-time, list of revoked certificate hashes}.

A signed message is {message, signature-algorithm, signature}.

Now, you might not think that this design is wise, but I would argue
that it's plausible as it's similar to X.509.

I, the attacker, can register a domain name and get a certificate for
it. The CA happens to sign with Ed25519(H(m)), even though the
messages aren't very large. So, offline, I iterate over many domain
names and pick one where the hash of the certificate structure for
that name and my public-key looks like a valid CRL message. I need to
fix the first byte to be one, probably fix a few other length bytes,
and obviously my fake CRL has to be exactly the length of a hash, but
the work-factor is pretty plausible.

Now I register that domain name and get a certificate for it. Then I
construct {message = fake CRL, signature-algorithm = Ed25519(m),
signature = signature from real certificate}. That should validate,
no? If I can construct a valid, signed CRL that covers a wide range of
time then I've broken revocation in this system.

The key here is that the attacker can specify the signature algorithm
and confuse the verifier. X.509 allows exactly this but, even if not,
I suspect that people will use the same key in several different
contexts like that.

So we would need to be careful with Ed25519(H(m)).


Cheers

AGL


From nobody Fri Jun 19 14:40:36 2015
Return-Path: <prvs=3612728a5a=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 336681B2B04 for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 14:40:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.208
X-Spam-Level: 
X-Spam-Status: No, score=-4.208 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01, UNPARSEABLE_RELAY=0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RKRylOdNFCSE for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 14:40:33 -0700 (PDT)
Received: from mx1.ll.mit.edu (MX1.LL.MIT.EDU [129.55.12.45]) by ietfa.amsl.com (Postfix) with ESMTP id 67CBE1B2AFD for <cfrg@irtf.org>; Fri, 19 Jun 2015 14:40:33 -0700 (PDT)
Received: from LLE2K10-HUB02.mitll.ad.local (LLE2K10-HUB02.mitll.ad.local) by mx1.ll.mit.edu (unknown) with ESMTP id t5JLeV0t001248; Fri, 19 Jun 2015 17:40:31 -0400
From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
To: Adam Langley <agl@imperialviolet.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
Thread-Index: AQHQqlkRwazrYQfccEma7ey58Ly2S520kbEAgAALigD//78uAA==
Date: Fri, 19 Jun 2015 21:40:30 +0000
Message-ID: <D1AA03C5.1AD55%uri@ll.mit.edu>
References: <557FEA01.7070207@isode.com> <557FE6E4.3040509@isode.com> <20150619062752.3506.qmail@cr.yp.to> <CAA4PzX3Toc+Ev6rp38rU73rinygxGPE7_FLXOWrRMh+N4SPyYQ@mail.gmail.com> <CAMfhd9Ua=fV_MKMfj1T8dApM6fA7Ko4y8-_uu03dd_WpmK4VvQ@mail.gmail.com>
In-Reply-To: <CAMfhd9Ua=fV_MKMfj1T8dApM6fA7Ko4y8-_uu03dd_WpmK4VvQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.5.1.150515
x-originating-ip: [172.25.177.187]
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha256; boundary="B_3517580426_21804637"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151, 1.0.33,  0.0.0000 definitions=2015-06-19_07:2015-06-18,2015-06-19,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-1506190375
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/Nx3gpLA4q2K3PckkxdBEqzJeHaM>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 21:40:35 -0000

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

On 6/19/15, 17:32 , "Adam Langley" <agl@imperialviolet.org> wrote:

>Ponder, for a second, a world in which CFRG specified two schemes:
>Ed25519(m) and Ed25519(H(m))=E2=80=A6...
>
>I, the attacker, can register a domain name and get a certificate for
>it. The CA happens to sign with Ed25519(H(m)), even though the
>messages aren't very large. So, offline, I iterate over many domain
>names and pick one where the hash of the certificate structure for
>that name and my public-key looks like a valid CRL message. I need to
>fix the first byte to be one, probably fix a few other length bytes,
>and obviously my fake CRL has to be exactly the length of a hash, but
>the work-factor is pretty plausible.

Good point. But doesn=E2=80=99t that imply the ability to create collisions in H(=
)
at will?

>So we would need to be careful with Ed25519(H(m)).

Sure=E2=80=A6 On the other hand, I=E2=80=99d like a demonstration, if possible. One
example of the above would suffice. :-)

P.S. I assume H() is a decent hash, e.g. SHA-3 or BLAKE2.=20

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

MIIQ0AYJKoZIhvcNAQcCoIIQwTCCEL0CAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0B
BwG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iG9w0BCQUxDxcNMTUwNjE5MjE0MDI2WjANBgkqhkiG9w0BAQEFAASC
AQBIF7UapZMOp1KDKOGcfdXecYb4RFsY2FtM6g0vEWBqynCD3iy8NmdziEaVIU2fduWiAOzS
xB4P9cNm+CxjtK3gMKPs/3CiIUQrr/61aN/YPdtfsfYNmDdYnM3e1/FyfGOfDWczxr0V2EXv
Qc0tAQgqK15C26WTlIfib3WehgPprXtSxyXfmSaJbbouBj1xEzFB9TIuhGcR596wIQ+kSJjg
+VnJ566N6BviVgdJTwJeu31m5rWCwkGMLtRK0RN6BGzhLvVUubk4e8O9wTC/EnO1ilTXwADy
K258n/nj2exb1U1nDLpgvsOimTBt5yu1pR6A472rJ0IMLLee8EPQkqRr

--B_3517580426_21804637--


From nobody Fri Jun 19 14:53:11 2015
Return-Path: <alangley@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ED2A91B2AD6 for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 14:53:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U9HFHsixLVDX for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 14:53:08 -0700 (PDT)
Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 559031B2A9A for <cfrg@irtf.org>; Fri, 19 Jun 2015 14:53:08 -0700 (PDT)
Received: by lbbti3 with SMTP id ti3so79626295lbb.1 for <cfrg@irtf.org>; Fri, 19 Jun 2015 14:53:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=r67doMQAv7OGSwNGxKyujRYrys+UNko4Qlj4somm0zE=; b=Rtsvx4PPCd0vGyJNMXj5om+WDBeyiG0wP7WadS2wKl6Ox3zVSfE5envkgxQ1p0RkDl iXSDNUMurPxKL9qXOHUtGUKFZMryps4/prU8FZIhLMc/zruJ5AhsvgLxY1as8vbXhNi8 icuF2b6B0ln9cmWVVbytynp24MTZCuMRDxBUxJ6R4dJ6gVnYl70v+lpWVtugPHrF+lp9 WXNKgihFgu7hv1D2k4Arha3eaMokPk/DFalwzSxJ7cq9Vsur2/LjKqGATlnQL8mHNPWn XvvL5O2klg7h3Ms9OXuBT+7nabCyKnvKqVjZQLiVgHNhDbFcUQvpL+1y//homqXd1K3C yMxA==
MIME-Version: 1.0
X-Received: by 10.112.118.48 with SMTP id kj16mr19774979lbb.57.1434750786859;  Fri, 19 Jun 2015 14:53:06 -0700 (PDT)
Sender: alangley@gmail.com
Received: by 10.112.89.69 with HTTP; Fri, 19 Jun 2015 14:53:06 -0700 (PDT)
In-Reply-To: <D1AA03C5.1AD55%uri@ll.mit.edu>
References: <557FEA01.7070207@isode.com> <557FE6E4.3040509@isode.com> <20150619062752.3506.qmail@cr.yp.to> <CAA4PzX3Toc+Ev6rp38rU73rinygxGPE7_FLXOWrRMh+N4SPyYQ@mail.gmail.com> <CAMfhd9Ua=fV_MKMfj1T8dApM6fA7Ko4y8-_uu03dd_WpmK4VvQ@mail.gmail.com> <D1AA03C5.1AD55%uri@ll.mit.edu>
Date: Fri, 19 Jun 2015 14:53:06 -0700
X-Google-Sender-Auth: fxIQlIFTHfrmP23A738gCSo9OM4
Message-ID: <CAMfhd9Vhdi64hA_U2oWF_Xmy-cSr59Bu2+7YEEwRg2b4EGkRPg@mail.gmail.com>
From: Adam Langley <agl@imperialviolet.org>
To: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/p4nINPk2asg_WVnKKo8ZjI2kSa4>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 21:53:10 -0000

On Fri, Jun 19, 2015 at 2:40 PM, Blumenthal, Uri - 0553 - MITLL
<uri@ll.mit.edu> wrote:
> Good point. But doesn=E2=80=99t that imply the ability to create collisio=
ns in H()
> at will?

No, it's just a hash-cash problem: find x such that the first byte of
H(x) is one, and such that a couple of other bytes in H(x) have
certain values. Even if the hash function is perfect, trying 256
different values of x should give you one where H(x) starts with a
particular byte.


Cheers

AGL

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


From nobody Fri Jun 19 14:56:32 2015
Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4C8411B2B53 for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 14:56:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.347
X-Spam-Level: 
X-Spam-Status: No, score=-1.347 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6zKEeXGhy-28 for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 14:56:30 -0700 (PDT)
Received: from hoffman.proper.com (Opus1.Proper.COM [207.182.41.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0EAD41B2B52 for <cfrg@irtf.org>; Fri, 19 Jun 2015 14:56:30 -0700 (PDT)
Received: from [10.20.30.101] (142-254-17-100.dsl.dynamic.fusionbroadband.com [142.254.17.100]) (authenticated bits=0) by hoffman.proper.com (8.15.1/8.14.9) with ESMTPSA id t5JLuREH099298 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 Jun 2015 14:56:27 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: hoffman.proper.com: Host 142-254-17-100.dsl.dynamic.fusionbroadband.com [142.254.17.100] claimed to be [10.20.30.101]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <CAMfhd9Ua=fV_MKMfj1T8dApM6fA7Ko4y8-_uu03dd_WpmK4VvQ@mail.gmail.com>
Date: Fri, 19 Jun 2015 14:56:26 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <D37BA1F1-615C-46EE-B2B0-530B9E9B71B5@vpnc.org>
References: <557FEA01.7070207@isode.com> <557FE6E4.3040509@isode.com> <20150619062752.3506.qmail@cr.yp.to> <CAA4PzX3Toc+Ev6rp38rU73rinygxGPE7_FLXOWrRMh+N4SPyYQ@mail.gmail.com> <CAMfhd9Ua=fV_MKMfj1T8dApM6fA7Ko4y8-_uu03dd_WpmK4VvQ@mail.gmail.com>
To: Adam Langley <agl@imperialviolet.org>
X-Mailer: Apple Mail (2.2098)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/dXXrDB3YNKg1kGP_TkmecwnLzvQ>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 21:56:31 -0000

On Jun 19, 2015, at 2:32 PM, Adam Langley <agl@imperialviolet.org> =
wrote:
> So, offline, I iterate over many domain
> names and pick one where the hash of the certificate structure for
> that name and my public-key looks like a valid CRL message.

In order to do this, don't you need to have broken the preimage =
resistance of the hash, or that the output length of the hash has to be =
160 bits or less?

--Paul Hoffman=


From nobody Fri Jun 19 15:03:58 2015
Return-Path: <bascule@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 15FAD1B2B5E for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 15:03:57 -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 7cQXRrjht5-3 for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 15:03:55 -0700 (PDT)
Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com [IPv6:2607:f8b0:4003:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9250F1B2AF2 for <cfrg@irtf.org>; Fri, 19 Jun 2015 15:03:55 -0700 (PDT)
Received: by oigx81 with SMTP id x81so89334334oig.1 for <cfrg@irtf.org>; Fri, 19 Jun 2015 15:03:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=tss+0lIGyLmzmlB3B9ZOHC2KJbFEJCCPXwc56vggHLw=; b=KOOSJsza3h7fj9bBxiVolHeWrx+0T9wI9yDVAi0u6pljCeZJyi6+kIJ3vU/RUt9uMh 0CVM+5dQMDA1v57Iq3gaZnuftq2Ln/OOnlvZVns5U84B+nSrifgRqta6lmF8V1Kf3DEA uLb3CY2w4hxbWO+3oIDcVdAgm5Wz6epkRnydqip3TOQq9fKrKwXWAz+vawpB6wYqLgZq 2003ICVWYllg8vK0Aew2TqDaTrsNgraPYUZ3hNCwCa9oh/5FLWzmTGfs+UhbI+2SKwdn RLTDnfnBQaHXBZNfgRzanaBo+RD/wlrESQQvOpLGi2h3Ha3yBrwrXHHswzRB+1HDZTIK a9oQ==
X-Received: by 10.202.210.148 with SMTP id j142mr14487287oig.68.1434751435062;  Fri, 19 Jun 2015 15:03:55 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.110.241 with HTTP; Fri, 19 Jun 2015 15:03:34 -0700 (PDT)
In-Reply-To: <D1A9F26E.1AD39%uri@ll.mit.edu>
References: <20150619062752.3506.qmail@cr.yp.to> <558458AF.6080301@akr.io> <D1A9D142.1AD1D%uri@ll.mit.edu> <CAHOTMVJC+TRYu1k6m3AAUo555c_WBCC1bFOUHpEW3x+ztDPzPw@mail.gmail.com> <D1A9F26E.1AD39%uri@ll.mit.edu>
From: Tony Arcieri <bascule@gmail.com>
Date: Fri, 19 Jun 2015 15:03:34 -0700
Message-ID: <CAHOTMVKLYjrh_50pisnmOQaf4LTHtg+N9xPMPoE_h09Nv8uw7Q@mail.gmail.com>
To: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
Content-Type: multipart/alternative; boundary=001a113d2bf8a0c6450518e619d8
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/mnNkLqRDNGP-H1d9pkgnj0KmEV4>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 22:03:57 -0000

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

On Fri, Jun 19, 2015 at 1:24 PM, Blumenthal, Uri - 0553 - MITLL <
uri@ll.mit.edu> wrote:

> Uhh, IMHO we are supposed to be practical even when paranoid. I find it
> certain that we all would be beyond caring by the time collisions are
> produced in SHA-3.
>
> As the expression goes "attacks always get better". I definitely care
about having constructions that would survive SHA-3 collisions, and I also
think they might pose a credible threat in the next two decades or so.

I guess the counterargument is to swear off primitives with fewer sharp
edges due to the constraints of devices that will be obsolete in a few
years? I would prefer to have cryptographic primitives that stand the test
of time.

-- 
Tony Arcieri

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On F=
ri, Jun 19, 2015 at 1:24 PM, Blumenthal, Uri - 0553 - MITLL <span dir=3D"lt=
r">&lt;<a href=3D"mailto:uri@ll.mit.edu" target=3D"_blank" onclick=3D"windo=
w.open(&#39;https://mail.google.com/mail/?view=3Dcm&amp;tf=3D1&amp;to=3Duri=
@ll.mit.edu&amp;cc=3D&amp;bcc=3D&amp;su=3D&amp;body=3D&#39;,&#39;_blank&#39=
;);return false;">uri@ll.mit.edu</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><div style=3D"word-wrap:break-word;color:rgb(0,0,0);font-size=
:14px;font-family:Calibri,sans-serif"><div><div class=3D"h5"><span><blockqu=
ote style=3D"BORDER-LEFT:#b5c4df 5 solid;PADDING:0 0 0 5;MARGIN:0 0 0 5"><d=
iv><div><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quo=
te"><span style=3D"color:rgb(0,0,0)">Uhh, IMHO we are supposed to be practi=
cal even when paranoid. I find it certain that we all would be beyond carin=
g by the time collisions are produced in SHA-3.</span><br></div></div></div=
></div></div></blockquote></span></div></div></div>
</blockquote></div>As the expression goes &quot;attacks always get better&q=
uot;. I definitely care about having constructions that would survive SHA-3=
 collisions, and I also think they might pose a credible threat in the next=
 two decades or so.</div><div class=3D"gmail_extra"><br></div><div class=3D=
"gmail_extra">I guess the counterargument is to swear off primitives with f=
ewer sharp edges due to the constraints of devices that will be obsolete in=
 a few years? I would prefer to have cryptographic primitives that stand th=
e test of time.<br clear=3D"all"><div><br></div>-- <br><div class=3D"gmail_=
signature">Tony Arcieri<br></div>
</div></div>

--001a113d2bf8a0c6450518e619d8--


From nobody Fri Jun 19 15:08:34 2015
Return-Path: <Kenny.Paterson@rhul.ac.uk>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8477A1B2B68 for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 15:08:33 -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 jjZU4OXsZ75M for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 15:08:31 -0700 (PDT)
Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0609.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe04::609]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 076841B2B52 for <cfrg@irtf.org>; Fri, 19 Jun 2015 15:08:30 -0700 (PDT)
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by DBXPR03MB381.eurprd03.prod.outlook.com (10.141.10.11) with Microsoft SMTP Server (TLS) id 15.1.190.14; Fri, 19 Jun 2015 22:08:09 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) by DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) with mapi id 15.01.0190.013; Fri, 19 Jun 2015 22:08:09 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Tony Arcieri <bascule@gmail.com>, "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
Thread-Topic: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
Thread-Index: AQHQqlkR7uIOoWZbQUqlx8k1wkAeop20HuSAgAABKoCAAAQugIAAIwsAgAAbmACAABIFgA==
Date: Fri, 19 Jun 2015 22:08:09 +0000
Message-ID: <D1AA50A4.4CC54%kenny.paterson@rhul.ac.uk>
References: <20150619062752.3506.qmail@cr.yp.to> <558458AF.6080301@akr.io> <D1A9D142.1AD1D%uri@ll.mit.edu> <CAHOTMVJC+TRYu1k6m3AAUo555c_WBCC1bFOUHpEW3x+ztDPzPw@mail.gmail.com> <D1A9F26E.1AD39%uri@ll.mit.edu> <CAHOTMVKLYjrh_50pisnmOQaf4LTHtg+N9xPMPoE_h09Nv8uw7Q@mail.gmail.com>
In-Reply-To: <CAHOTMVKLYjrh_50pisnmOQaf4LTHtg+N9xPMPoE_h09Nv8uw7Q@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.9.150325
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [78.146.52.20]
x-microsoft-exchange-diagnostics: 1; DBXPR03MB381; 3:mnx84jRVvqfv3xVolMZqcIdFuyfYjfjTDOyX7i2MM7BqN0lkCTvH9P6iZf6bNVQU+7DnZsLo0oiIM7EotDCf23FFsJ1kcTOq8iqL56N7P5SdKUv5vv79N4UUCU+4yCLxhQr1nw6/OSUY84ZOK9Fv5g==; 10:Jn/24NMEYYUt/saL9CvTeVXmAp5jt9lChlhulTRZTyEkocmmImvy8vkJO45O2ePsPQQblIjYpNfWWvZzxH9vaK09ZlpUiMW2wrVepKnGqb0=; 6:3aOOubB7v69u/bdBBwrIKJuOe8BHJGeedHz0W9z3Nz1mW2awwehLMzU5EPFRC6IT
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB381;
x-microsoft-antispam-prvs: <DBXPR03MB3814A64E4349AEA479C3940BCA40@DBXPR03MB381.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:DBXPR03MB381; BCL:0; PCL:0; RULEID:; SRVR:DBXPR03MB381; 
x-forefront-prvs: 0612E553B4
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(51704005)(377454003)(24454002)(479174004)(106116001)(62966003)(77156002)(92566002)(5002640100001)(36756003)(5001770100001)(4001350100001)(66066001)(83506001)(189998001)(86362001)(5001960100002)(77096005)(54356999)(102836002)(74482002)(46102003)(2950100001)(40100003)(87936001)(2656002)(19580395003)(50986999)(76176999)(2171001)(2900100001)(122556002)(19580405001); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR03MB381; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: text/plain; charset="us-ascii"
Content-ID: <EDB074476D629B4C979702FE3D677EA3@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jun 2015 22:08:09.6413 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR03MB381
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/y2s2vNgnY-KpbBaEeCu3LtA8FgU>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 22:08:33 -0000

Folks,

I appreciate the input, but let's not rerun all the arguments we've
already had.=20

People were quite rightly asking the chairs to provide more clarity on the
result of the poll. We've now done that.

It was narrow, but option 1 had the most support.

Cheers

Kenny =20

On 19/06/2015 23:03, "Tony Arcieri" <bascule@gmail.com> wrote:

>On Fri, Jun 19, 2015 at 1:24 PM, Blumenthal, Uri - 0553 - MITLL
><uri@ll.mit.edu> wrote:
>
>
>Uhh, IMHO we are supposed to be practical even when paranoid. I find it
>certain that we all would be beyond caring by the time collisions are
>produced in SHA-3.
>
>
>
>
>
>
>
>
>
>
>
>
>
>As the expression goes "attacks always get better". I definitely care
>about having constructions that would survive SHA-3 collisions, and I
>also think they might pose a credible threat in the next two decades or
>so.
>
>
>I guess the counterargument is to swear off primitives with fewer sharp
>edges due to the constraints of devices that will be obsolete in a few
>years? I would prefer to have cryptographic primitives that stand the
>test of time.
>
>
>--=20
>Tony Arcieri
>
>
>


From nobody Fri Jun 19 15:29:55 2015
Return-Path: <crypto@brainhub.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 264061B2B6F for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 15:29:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.501
X-Spam-Level: 
X-Spam-Status: No, score=-0.501 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2dWTt_rnqFmH for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 15:29:52 -0700 (PDT)
Received: from resqmta-po-03v.sys.comcast.net (resqmta-po-03v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:162]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 09B371A3B9F for <cfrg@irtf.org>; Fri, 19 Jun 2015 15:29:51 -0700 (PDT)
Received: from resomta-po-01v.sys.comcast.net ([96.114.154.225]) by resqmta-po-03v.sys.comcast.net with comcast id iNVr1q0014s37d401NVrsl; Fri, 19 Jun 2015 22:29:51 +0000
Received: from [IPv6:::1] ([71.202.164.227]) by resomta-po-01v.sys.comcast.net with comcast id iNVq1q0044uhcbK01NVqvY; Fri, 19 Jun 2015 22:29:51 +0000
Message-ID: <558497DD.5060006@brainhub.org>
Date: Fri, 19 Jun 2015 15:29:49 -0700
From: Andrey Jivsov <crypto@brainhub.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: cfrg@irtf.org
References: <557FEA01.7070207@isode.com> <557FE6E4.3040509@isode.com> <20150619062752.3506.qmail@cr.yp.to> <CAA4PzX3Toc+Ev6rp38rU73rinygxGPE7_FLXOWrRMh+N4SPyYQ@mail.gmail.com> <CAMfhd9Ua=fV_MKMfj1T8dApM6fA7Ko4y8-_uu03dd_WpmK4VvQ@mail.gmail.com>
In-Reply-To: <CAMfhd9Ua=fV_MKMfj1T8dApM6fA7Ko4y8-_uu03dd_WpmK4VvQ@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1434752991; bh=b7Frt88c+rQDXQxUDb1i53MHhgZh3X5F4ZRj3BY8TVA=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=OcMI+db31bT2OkeH+uzgYXCzfgeNE4713hAhH812iulyhi8EEojrxe46gzBq9kYnx ok5F7rQp0cj1Xeghi0LbTu4IdQZCJCU6kK0ef7Wbbi5xbQRZjxektb6wqspiZwBvP8 nOGXBycZZfXw7aLpxoelM8tE/QYkJLRF8sRgmhbjGNO2cHsf2yp1vnDMlrbr4NXfKW 03QVu3jy6grgDkgYkWDiXdARHRkhbcQwTmgbehpg34WS7OjEw1wDeX5AdrmRuJtWoV XUMgG0IRlWUwzmlZR3yBeYNQwVSSDMOUFDS+/svkydI10sq3Zpe9gE/Vswbg4S0PLs r8SWAyKy+ZvCQ==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/_pQHc2hKm3zQ2NMfbH2WrqnJA-g>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 22:29:54 -0000

On 06/19/2015 02:32 PM, Adam Langley wrote:
> Ponder, for a second, a world in which CFRG specified two schemes:
> Ed25519(m) and Ed25519(H(m)).
>
> Also consider a PKI system that issues certificates and CRLs.
> Certificates are a type of message and are some serialisation of {0,
> name, public-key of name}, where the zero is a single byte that serves
> as a "type" indicator. CRLs are another type of message and are {1,
> start-time, end-time, list of revoked certificate hashes}.
>
> A signed message is {message, signature-algorithm, signature}.
>
> Now, you might not think that this design is wise, but I would argue
> that it's plausible as it's similar to X.509.
>
> I, the attacker, can register a domain name and get a certificate for
> it. The CA happens to sign with Ed25519(H(m)), even though the
> messages aren't very large. So, offline, I iterate over many domain
> names and pick one where the hash of the certificate structure for
> that name and my public-key looks like a valid CRL message. I need to
> fix the first byte to be one, probably fix a few other length bytes,
> and obviously my fake CRL has to be exactly the length of a hash, but
> the work-factor is pretty plausible.
>
> Now I register that domain name and get a certificate for it. Then I
> construct {message = fake CRL, signature-algorithm = Ed25519(m),
> signature = signature from real certificate}. That should validate,
> no? If I can construct a valid, signed CRL that covers a wide range of
> time then I've broken revocation in this system.
>
> The key here is that the attacker can specify the signature algorithm
> and confuse the verifier. X.509 allows exactly this but, even if not,
> I suspect that people will use the same key in several different
> contexts like that.
>
> So we would need to be careful with Ed25519(H(m)).
>
We can stress that IUF is a property of the key. I think this is a 
natural thing to do.

Randomized signatures mitigate these concerns too. The attack Adam 
described assumes that the attacker controls the image of the H(m) fed 
by the CA to Ed25519.

Compare this with sig = nonce | Ed25519(H(nonce | m))), where the signer 
picks/derives the unpredictable nonce somehow. Applications that want 
IUF need it for "large" files, and they shouldn't mind expanding the 
signature with an explicit nonce.

( On Adam's particular attack, it's odd that a (small) X.509 cert is 
signed as Ed25519(H(m)), but a (large) CRL as Ed25519(m) ).




From nobody Fri Jun 19 16:00:00 2015
Return-Path: <campbell@mumble.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8DE2A1A8780 for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 15:59:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level: 
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PmBDg9t72HFe for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 15:59:58 -0700 (PDT)
Received: from jupiter.mumble.net (jupiter.mumble.net [74.50.56.165]) by ietfa.amsl.com (Postfix) with ESMTP id 470751B2BD9 for <cfrg@irtf.org>; Fri, 19 Jun 2015 15:58:56 -0700 (PDT)
Received: by jupiter.mumble.net (Postfix, from userid 1014) id 26A5060682; Fri, 19 Jun 2015 22:57:51 +0000 (UTC)
From: Taylor R Campbell <campbell+cfrg@mumble.net>
To: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
In-reply-to: <D1AA03C5.1AD55%uri@ll.mit.edu>
Date: Fri, 19 Jun 2015 22:58:55 +0000
Sender: Taylor R Campbell <campbell@mumble.net>
User-Agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/9.1.99
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Message-Id: <20150619225751.26A5060682@jupiter.mumble.net>
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/3xCWp2F68uEWRZrKfHjLSZBT9V4>
Cc: Adam Langley <agl@imperialviolet.org>, cfrg@irtf.org
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 22:59:59 -0000

   Date: Fri, 19 Jun 2015 21:40:30 +0000
   From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>

   On 6/19/15, 17:32 , "Adam Langley" <agl@imperialviolet.org> wrote:

   >Ponder, for a second, a world in which CFRG specified two schemes:
   >Ed25519(m) and Ed25519(H(m))...

This is why I and others pointed out that you need to sign the choice
of H along with H(m) if you want to do this seriously:

Ed25519(`literal' || m)
Ed25519(`SHA3-512' || SHA3-512(m))
r || Ed25519(`BLAKE2S-PRF' || r || BLAKE2S-PRF_r(m))

   >I, the attacker, can register a domain name and get a certificate for
   >it. The CA happens to sign with Ed25519(H(m)), even though the
   >messages aren't very large. So, offline, I iterate over many domain
   >names and pick one where the hash of the certificate structure for
   >that name and my public-key looks like a valid CRL message. I need to
   >fix the first byte to be one, probably fix a few other length bytes,
   >and obviously my fake CRL has to be exactly the length of a hash, but
   >the work-factor is pretty plausible.

   Good point. But doesn't that imply the ability to create collisions in H=
()
   at will?

No, just the ability to find a message whose hash's first few bytes
are the same as the first few bytes of a valid CRL message.  If you
want to specify n bits exactly, it takes 2^n tries on average.


From nobody Fri Jun 19 16:02:22 2015
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 5F2EE1A8780 for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 16:02:20 -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 Qxuqj_6regwc for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 16:02:19 -0700 (PDT)
Received: from entima.net (entima.net [78.129.143.175]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 242071A879C for <cfrg@irtf.org>; Fri, 19 Jun 2015 16:02:18 -0700 (PDT)
Message-ID: <55849F81.3090708@akr.io>
Date: Sat, 20 Jun 2015 00:02:25 +0100
From: Alyssa Rowan <akr@akr.io>
MIME-Version: 1.0
To: cfrg@irtf.org
References: <20150619062752.3506.qmail@cr.yp.to> <558458AF.6080301@akr.io> <55847FA4.50606@isode.com>
In-Reply-To: <55847FA4.50606@isode.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/lLSNh34p2l7MOuCCux-PmwywmFQ>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 23:02:20 -0000

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

On 2015-06-19 21:46, Alexey Melnikov wrote:

> Just a reminder that CFRG is not trying to rubber-stamp any 
> particular signature algorithm.

Naturally, I'm just saying: the further we diverge from something
people already recognise as good, the more we'll need make sure to
justify that divergence to scrutiny, or they might not want to use it.


On 2015-06-19 19:04, Blumenthal, Uri - 0553 - MITLL wrote:
> it is much more *usable* and *practical* that EdDSA(m).

Of course the TLS WG, as implementers, get the last word on what is
usable and practical for them.

I was simply pointing out that OpenSSH have deployed EdDSA(m) with
absolutely no troubles, and so have GnuPG, which have large messages.
It worked for them, so I don't think it's a huge concern in practice?

But I also accept #1 is easier to shoe-horn into, say, PKCS#11, and
agl's articulated the precise scenario underlying my discomfort with #3.

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

iQIcBAEBCgAGBQJVhJ9rAAoJEOyEjtkWi2t66fkQAJYbUIKN8ASITxC5i38mevsX
a0YXFSKbIAalJU2ZWKBzZE/nDJKgaSXFzpw3S5ztj6W/zA0wvKcsTGW6fiiPM/+b
S3xcoOzqZ+eyd9F3NCsc11aGaCDHx/1nXIoZoZRuAr2ej2JsWrnPL2hAWvd9B2tt
d2mFii9dgi7vS1+z/cdPMNJT3py2FtqKJYLPlv/UYz/yGFeHTNgFRMuFK9zwT3/x
mwv2xSKU1HlZGOGWjE4ZH4czIAVm4kSquTas8eoCkR6Wt7KOthpthD5RWxa4AiCV
UBGn/KtooRUHIPDAK29fnTPo7qniAnk7fk6gNgngTg/gvXrPOsDPQkkaCzF4PUUx
KstYCbXsSpYeZ+/GN0CW+alvx+d0lN2fg+WoLUgfjvwcGTYYd+FvPeHfDfy9Erva
HBgVpwIIpcsB/67dAsyqFRXhNydo0NMgvg0WRZe29+wUwwJGw9xv+O6y01pRR+Db
6ZzcsxM1rm0xIrCdPqytxF3V8RXEnrEa9fBeTf9wSFgA3+FgA5+iWHLQ8xs/pi2b
Nfk66gv1ZH4Re4AVGUjYzEdOQkySg2CRlPG5vfNkFK+Bm0enmUZCK16Jb98U8JQK
1jv0PA3vmqJzfcNwmwphNRohsmrwoW7MJqJDJmoNwo/VnrwPFVz1e3J6ibNPmnQs
6N+dXfvpFoV5R4Fm1ylx
=MXyT
-----END PGP SIGNATURE-----


From nobody Fri Jun 19 16:13:12 2015
Return-Path: <crypto@brainhub.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 16E161A8980 for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 16:13:11 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YeCUzuNzJ-Yz for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 16:13:09 -0700 (PDT)
Received: from resqmta-po-03v.sys.comcast.net (resqmta-po-03v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:162]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3D3F41A8830 for <cfrg@irtf.org>; Fri, 19 Jun 2015 16:13:09 -0700 (PDT)
Received: from resomta-po-01v.sys.comcast.net ([96.114.154.225]) by resqmta-po-03v.sys.comcast.net with comcast id iPD21q0014s37d401PD8ix; Fri, 19 Jun 2015 23:13:08 +0000
Received: from [IPv6:::1] ([71.202.164.227]) by resomta-po-01v.sys.comcast.net with comcast id iPD71q00K4uhcbK01PD7Xs; Fri, 19 Jun 2015 23:13:08 +0000
Message-ID: <5584A203.7040209@brainhub.org>
Date: Fri, 19 Jun 2015 16:13:07 -0700
From: Andrey Jivsov <crypto@brainhub.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: cfrg@irtf.org
X-Priority: 5 (Lowest)
References: <20150619062752.3506.qmail@cr.yp.to> <558458AF.6080301@akr.io> <55847FA4.50606@isode.com> <55849F81.3090708@akr.io>
In-Reply-To: <55849F81.3090708@akr.io>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1434755588; bh=pe52KnsG3c+qfGW5WGVFZTLBi8AaNLXWNYFVsUxoHS4=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=a7bGuBQjpNRurTrkrpfF3SHK/yMy/ijEwpCrK2gcGA9x93w1tCX83pNrapUAKJC/l OEMG/8gXTavHdZQEn098eWjyfE7DdBWFnzXWd4+VQRE6vm7FK7QNnyoovKYKIP7QDx DneKzT0GsBsKMQQ4aYTqajypO2Ub3JfQoD7rSNWYcsAZCpJucgEh1BFCK4MSWPo7IK +A+kZ+qx6ZmutBQFv9hYZAWWXJlSoAlSlCDSqjKFoFk43N5DhTNnHxQ/E6ScmdJzaa jsoOAoHObJEAr2F/JVuLvzx3UwOKhpq8X+zU1nZ16krjI6KkP8wpvRRaszj9tRQDK3 5IKrPjzPD30jw==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/B7TU5Og1Sp5VO1QwJGJBHjAUF3g>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 23:13:11 -0000

On 06/19/2015 04:02 PM, Alyssa Rowan wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> On 2015-06-19 21:46, Alexey Melnikov wrote:
>
>> Just a reminder that CFRG is not trying to rubber-stamp any
>> particular signature algorithm.
>
> Naturally, I'm just saying: the further we diverge from something
> people already recognise as good, the more we'll need make sure to
> justify that divergence to scrutiny, or they might not want to use it.
>
>
> On 2015-06-19 19:04, Blumenthal, Uri - 0553 - MITLL wrote:
>> it is much more *usable* and *practical* that EdDSA(m).
>
> Of course the TLS WG, as implementers, get the last word on what is
> usable and practical for them.
>
> I was simply pointing out that OpenSSH have deployed EdDSA(m) with
> absolutely no troubles, and so have GnuPG, which have large messages.
> It worked for them, so I don't think it's a huge concern in practice?

No, OpenPGP uses EdDSA(H(m)) only, i.e. it relies on IUF and doesn't use 
the "high security" option, I believe exactly to avoid "troubles".

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

>
> But I also accept #1 is easier to shoe-horn into, say, PKCS#11, and
> agl's articulated the precise scenario underlying my discomfort with #3.
>
...


From nobody Fri Jun 19 16:15:16 2015
Return-Path: <campbell@mumble.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 89A211A907B for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 16:15:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level: 
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t-ea1YvV5GPM for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 16:15:13 -0700 (PDT)
Received: from jupiter.mumble.net (jupiter.mumble.net [74.50.56.165]) by ietfa.amsl.com (Postfix) with ESMTP id 9DE811A8FD6 for <cfrg@irtf.org>; Fri, 19 Jun 2015 16:15:13 -0700 (PDT)
Received: by jupiter.mumble.net (Postfix, from userid 1014) id EEA3260682; Fri, 19 Jun 2015 23:14:08 +0000 (UTC)
From: Taylor R Campbell <campbell+cfrg@mumble.net>
To: Alyssa Rowan <akr@akr.io>
In-reply-to: <55849F81.3090708@akr.io>
Date: Fri, 19 Jun 2015 23:15:12 +0000
Sender: Taylor R Campbell <campbell@mumble.net>
User-Agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/9.1.99
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20150619231408.EEA3260682@jupiter.mumble.net>
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/N_KBMIuWyFVG7LJHIteZ5FJ7m5s>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 23:15:14 -0000

   Date: Sat, 20 Jun 2015 00:02:25 +0100
   From: Alyssa Rowan <akr@akr.io>

   I was simply pointing out that OpenSSH have deployed EdDSA(m) with
   absolutely no troubles, and so have GnuPG, which have large messages.
   It worked for them, so I don't think it's a huge concern in practice?

For the record: GnuPG deployed EdDSA(H(m)), not EdDSA(m), because
every signature in OpenPGP takes the form Sign(H(m)) for some hash
function H which may vary from message to message according to user
preferences.

(This is not to say that OpenPGP's approach is a good idea.  Not much
has changed in it in the two decades since it was first designed, in
spite of two decades of advances in cryptography engineering.  Should
the CFRG recommend that new protocols ignore decades of advances and
experience from practical attacks in the wild, in favour of remaining
stuck in the cryptography engineering practices of 1995?)


From nobody Fri Jun 19 17:38:42 2015
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 169641B2BE6 for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 17:38:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i64xwspW6b1V for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 17:38:39 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id 562881B2BE5 for <cfrg@irtf.org>; Fri, 19 Jun 2015 17:38:39 -0700 (PDT)
Received: from smtp-pop.rim.net (HELO XCT104CNC.rim.net) ([10.65.161.204]) by mhs214cnc.rim.net with ESMTP/TLS/AES128-SHA; 19 Jun 2015 20:38:37 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT104CNC.rim.net ([::1]) with mapi id 14.03.0210.002; Fri, 19 Jun 2015 20:38:36 -0400
From: Dan Brown <dbrown@certicom.com>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>, Tony Arcieri <bascule@gmail.com>, "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
Thread-Topic: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
Thread-Index: AQHQqlkRYGXquySeBEKBAd2iE13a+J20YfKAgAABKoCAAAQvgIAAIwoAgAAbmACAAAFIgP//5vtp
Date: Sat, 20 Jun 2015 00:38:35 +0000
Message-ID: <20150620003833.5333071.63818.3468@certicom.com>
References: <20150619062752.3506.qmail@cr.yp.to> <558458AF.6080301@akr.io> <D1A9D142.1AD1D%uri@ll.mit.edu> <CAHOTMVJC+TRYu1k6m3AAUo555c_WBCC1bFOUHpEW3x+ztDPzPw@mail.gmail.com> <D1A9F26E.1AD39%uri@ll.mit.edu> <CAHOTMVKLYjrh_50pisnmOQaf4LTHtg+N9xPMPoE_h09Nv8uw7Q@mail.gmail.com>, <D1AA50A4.4CC54%kenny.paterson@rhul.ac.uk>
In-Reply-To: <D1AA50A4.4CC54%kenny.paterson@rhul.ac.uk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset="windows-1256"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/7EWUuPjDUhQ3QRu7RrcWFKrWUuk>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Jun 2015 00:38:41 -0000

So, if we're stuck with deterministic + IUF, maybe we can do reverse Schnor=
r, with the point being suffixes to the message instead of prefixed, and th=
en rely on wide pipe hash without any extension=FD properties, etc., which =
is slightly than a simple hash (or is it?).

Sent from my BlackBerry 10 smartphone on the Rogers network.
  Original Message
From: Paterson, Kenny
Sent: Friday, June 19, 2015 6:08 PM
To: Tony Arcieri; Blumenthal, Uri - 0553 - MITLL
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme=
: friendliness to low memory implementations (ends on June 3rd)


Folks,

I appreciate the input, but let's not rerun all the arguments we've
already had.

People were quite rightly asking the chairs to provide more clarity on the
result of the poll. We've now done that.

It was narrow, but option 1 had the most support.

Cheers

Kenny

On 19/06/2015 23:03, "Tony Arcieri" <bascule@gmail.com> wrote:

>On Fri, Jun 19, 2015 at 1:24 PM, Blumenthal, Uri - 0553 - MITLL
><uri@ll.mit.edu> wrote:
>
>
>Uhh, IMHO we are supposed to be practical even when paranoid. I find it
>certain that we all would be beyond caring by the time collisions are
>produced in SHA-3.
>
>
>
>
>
>
>
>
>
>
>
>
>
>As the expression goes "attacks always get better". I definitely care
>about having constructions that would survive SHA-3 collisions, and I
>also think they might pose a credible threat in the next two decades or
>so.
>
>
>I guess the counterargument is to swear off primitives with fewer sharp
>edges due to the constraints of devices that will be obsolete in a few
>years? I would prefer to have cryptographic primitives that stand the
>test of time.
>
>
>--
>Tony Arcieri
>
>
>

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


From nobody Fri Jun 19 19:23:47 2015
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9D7341B2CA4 for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 19:23:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level: 
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D917ebx2kE0p for <cfrg@ietfa.amsl.com>; Fri, 19 Jun 2015 19:23:44 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CC9661ACE35 for <cfrg@irtf.org>; Fri, 19 Jun 2015 19:23:43 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id B8581BE88; Sat, 20 Jun 2015 03:23:41 +0100 (IST)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ue21GqMHN3UB; Sat, 20 Jun 2015 03:23:40 +0100 (IST)
Received: from [192.168.101.66] (c-71-198-161-140.hsd1.ca.comcast.net [71.198.161.140]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id EFA72BE7B; Sat, 20 Jun 2015 03:23:39 +0100 (IST)
Message-ID: <5584CEA9.9030607@cs.tcd.ie>
Date: Sat, 20 Jun 2015 03:23:37 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>,  Alyssa Rowan <akr@akr.io>
References: <20150619062752.3506.qmail@cr.yp.to> <558458AF.6080301@akr.io> <55847FA4.50606@isode.com>
In-Reply-To: <55847FA4.50606@isode.com>
OpenPGP: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/BJ4igH0Vo02KplHFW4-T6NuN2ik>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Summary of the poll: Elliptic Curves - signature scheme: friendliness to low memory implementations (ends on June 3rd)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Jun 2015 02:23:45 -0000

A clarification...

On 19/06/15 21:46, Alexey Melnikov wrote:
>>
> TLS WG will not assign an OID until the signature recommendation is
> settled in CFRG. Stephen (Security AD) was quite clear that he is
> against proliferation of multiple ciphers/signatures/etc and that he
> wants the signature issue to be settled in CFRG first.

Yes, that's how I want to see things go, for fairly the obvious
reason that other outcomes will cause confusion at least.

However, if there is IETF consensus for something else (e.g. if the
TLS WG did prefer something different to the CFRG outcome, and if
that consensus was maintained through an IETF last call) then my
preferences would not matter.

S.


From nobody Sat Jun 20 05:28:47 2015
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 8B01C1A1EF9 for <cfrg@ietfa.amsl.com>; Sat, 20 Jun 2015 05:28:45 -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, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id me0JWES6L8Fk for <cfrg@ietfa.amsl.com>; Sat, 20 Jun 2015 05:28: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 5FE3D1A1F04 for <cfrg@irtf.org>; Sat, 20 Jun 2015 05:28:38 -0700 (PDT)
Received: from xct101cnc.rim.net ([10.65.161.201]) by mhs215cnc.rim.net with ESMTP/TLS/AES128-SHA; 20 Jun 2015 08:28:37 -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.0210.002; Sat, 20 Jun 2015 08:28:37 -0400
From: Dan Brown <dbrown@certicom.com>
To: IRTF CFRG <cfrg@irtf.org>
Thread-Topic: suffix+IUF+"det" sigs
Thread-Index: AdCrVKFMOA8BzPGIRmKLFuaS6mchLA==
Date: Sat, 20 Jun 2015 12:28:36 +0000
Message-ID: <20150620122834.5333071.49414.3474@certicom.com>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: multipart/alternative; boundary="_000_201506201228345333071494143474certicomcom_"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/jnqJ9SgbhtisB8ztY8Cuuyi1ZAk>
Subject: [Cfrg] suffix+IUF+"det" sigs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Jun 2015 12:28:45 -0000

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

4oCOTW9yZSBkZXRhaWxzIGFib3V0IG15IHByZXZpb3VzIHByb3Bvc2FsLi4uDQoNCm9wdGlvbiBh
KSBzaWduZXIgY29tcHV0ZXMgdHdvIGhhc2ggc3RyZWFtcyBzaW11bHRhbmVvdXNseTogZWcgcj1I
TUFDKGssTSkgZm9yIHNvbWUga2V5IGsgYW5kIGU9U0hBLTIoTSB8IHJHKS4gU2lnbmF0dXJlIGlz
IHJHLCBzIHdoZXJlIGlzIGJ5IHNvbWUgZm9ybXVsYSBUQkQuDQoNCm9wdGlvbiBiKSBzaWduZXIg
4oCOY29tcHV0ZXMgb25lIGhhc2ggbG9uZyBoYXNoIHN0cmVhbSwgZm9yIFNIQS0zKE18ckcpLCBi
dXQgcGF1c2VzIGF0IE0sIGFuZCBkZXJpdmVzIHIgZnJvbSBzb21lIGludGVybWVkaWF0ZSB2YWx1
ZSBpbiB0aGUgU0hBLTMgY29tcHV0YXRpb24uIFNpZ25hdHVyZSBhcyBhYm92ZS4NCg0KaW4gYm90
aCBvcHRpb25zLCB0aGUgdmVyaWZpZXIgbmVlZCBvbmx5IGhhc2ggTXxyRyB3aXRoIG5vIHRyaWNr
cy4NCg0KTmVpdGhlcidzIHBlcmZlY3QuLi4gc3VyZWx5IHNvbWVvbmUgaGFzIGNvbnNpZGVyZWQg
c29tZXRoaW5nIHNpbWlsYXIuLi4NCg0KU2VudCBmcm9tIG15IEJsYWNrQmVycnkgMTAgc21hcnRw
aG9uZSBvbiB0aGUgUm9nZXJzIG5ldHdvcmsuDQo=

--_000_201506201228345333071494143474certicomcom_
Content-Type: text/html; charset="utf-8"
Content-ID: <90E0A02C9EA8EF45B5EA1847716D0396@rim.com>
Content-Transfer-Encoding: base64

PGh0bWw+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIgY29udGVudD0i
dGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjxzdHlsZT4gYm9keSB7ICBmb250LWZhbWlseTog
IkNhbGlicmkiLCJTbGF0ZSBQcm8iLCJzYW5zLXNlcmlmIjsgY29sb3I6IzI2MjYyNiB9PC9zdHls
ZT4NCjwvaGVhZD4NCjxib2R5Pg0KPGRpdj7igI5Nb3JlIGRldGFpbHMgYWJvdXQgbXkgcHJldmlv
dXMgcHJvcG9zYWwuLi48L2Rpdj4NCjxkaXY+PGJyPg0KPC9kaXY+DQo8ZGl2Pm9wdGlvbiBhKSBz
aWduZXIgY29tcHV0ZXMgdHdvIGhhc2ggc3RyZWFtcyBzaW11bHRhbmVvdXNseTogZWcgcj1ITUFD
KGssTSkgZm9yIHNvbWUga2V5IGsgYW5kIG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jwv
aHRtbD4NCg==

--_000_201506201228345333071494143474certicomcom_--


From nobody Sun Jun 21 02:52:30 2015
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2795A1ACE4E for <cfrg@ietfa.amsl.com>; Sun, 21 Jun 2015 02:52:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.906
X-Spam-Level: **
X-Spam-Status: No, score=2.906 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.793, T_DKIM_INVALID=0.01] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ozj1EZeFd9BN for <cfrg@ietfa.amsl.com>; Sun, 21 Jun 2015 02:52:27 -0700 (PDT)
Received: from waldorf.isode.com (unknown [217.34.220.150]) by ietfa.amsl.com (Postfix) with ESMTP id 28A9E1ACE4D for <cfrg@irtf.org>; Sun, 21 Jun 2015 02:52:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1434880345; d=isode.com; s=selector; i=@isode.com; bh=xs/dmRjtiCOaUZ5G5e2m9OdaPjIYKLfAiHd1jggnhMY=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=bRLWTQYn7P0KYbA+U1i7kykgr4S3P2JIoljG7rOIT3xdwlpPXkECjRi8rRyv6cVVdXAtP2 s94s6JsCKEnjtAy1wBWNkOAfGGxAbW4w+CxnTD/v3miNM1Ayl3XWkS+f58AALrUX0uZn0a cbxCGCP10e3AB2IIT/rL4KB9QVuhbjs=;
Received: from [192.168.0.5] (cpc5-nmal20-2-0-cust24.19-2.cable.virginm.net [92.234.84.25])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <VYaJVQA3=6h=@waldorf.isode.com>; Sun, 21 Jun 2015 10:52:25 +0100
X-SMTP-Protocol-Errors: PIPELINING
Message-ID: <5586895A.3020607@isode.com>
Date: Sun, 21 Jun 2015 10:52:26 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
To: "cfrg@irtf.org" <cfrg@irtf.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/zdbF2sdwInlVfKruyjKIeJe81RM>
Subject: [Cfrg] Soliciting EC signature scheme proposals
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 21 Jun 2015 09:52:29 -0000

Dear CFRG participants,

We are now at the point where we have gathered sufficient requirements 
(not necessarily NIST-compliant, deterministic, IUF interface) where it 
seems sensible to invite proposals for signature schemes meeting those 
requirements.

We would like to have proposals that are reasonably detailed so that 
they can be assessed properly by CFRG readers. We realise that doing 
fully detailed proposals would take a lot work, so we do not expect 
full-fledged proposals in the style of a NIST competition (say). That 
said, we would like to encourage proposers to explain the security 
properties of their proposals as well as their implementation 
characteristics, and to make proposals that are generic in the sense of 
being usable for either of the two curves that we have previously agreed 
upon.

Please submit your proposals within 2 weeks (i.e. by July 5th); e-mails 
to the CFRG list are fine. We encourage constructive questions and 
clarifications about proposals as they are made. At this stage, we 
anticipate needing a longer discussion period that extends beyond the 2 
week submission period. After that, we may poll to decide on CFRG 
recommended scheme. Depending on how the on-list discussions go in the 
next 4 weeks, we might also have face-to-face discussion at the CFRG 
meeting planned for IETF 93 in Prague in July.

Best Regards,
CFRG Chairs.


From nobody Sun Jun 21 20:55:03 2015
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 CA43E1B2B51 for <cfrg@ietfa.amsl.com>; Sun, 21 Jun 2015 20:55:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.3
X-Spam-Level: *
X-Spam-Status: No, score=1.3 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, J_CHICKENPOX_12=0.6, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BQpvgRKM6JKh for <cfrg@ietfa.amsl.com>; Sun, 21 Jun 2015 20:55:02 -0700 (PDT)
Received: from mail-wg0-x22f.google.com (mail-wg0-x22f.google.com [IPv6:2a00:1450:400c:c00::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 910E71B2BAA for <cfrg@irtf.org>; Sun, 21 Jun 2015 20:55:00 -0700 (PDT)
Received: by wgqq4 with SMTP id q4so5175240wgq.1 for <cfrg@irtf.org>; Sun, 21 Jun 2015 20:54:59 -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=6poLjfLAB5PpLFPRs9QdNoSnFWWu3tXOkB5EO1Twlbs=; b=BI5QxbVrFtuGrfL85jSujJmHf36BNUjRPfgvwclJcSWEOCGepaV4linCzDf9fw2ev6 g+0D2le7iIzkUi7t60k+tZAjuTWoTymUcTcysCQEgzJvzs9gL/BSV0asowWkDPPCf50A B39yMDStAxKEVGo9N2m9LLM4FpPKNVGUYqgDRfoLzQE1kzVvXyNoztafK7n8dNspq0HR BdGD+VXko+UZEg6LgH6dC5562wz0CkacMDU1NOlFnH3T1IWHj3KsLoNehqQTYpG0jt4W omMqR+Me0ld3p16dJ/CPJX0C5H4dv6Eb66Sr90zKI7H/ebRRGkVRph/qYCAm11zjrG7Q DGag==
MIME-Version: 1.0
X-Received: by 10.194.172.130 with SMTP id bc2mr36888504wjc.85.1434945299155;  Sun, 21 Jun 2015 20:54:59 -0700 (PDT)
Received: by 10.194.20.97 with HTTP; Sun, 21 Jun 2015 20:54:59 -0700 (PDT)
Date: Sun, 21 Jun 2015 20:54:59 -0700
Message-ID: <CACsn0cm9rHw1EDAm=YbsN1PLQQkk3oz6qV5APtcTuir4uxyzUQ@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/xrUQSFKKzzq3HwQEiWflupguRiw>
Subject: [Cfrg] Signature proposal
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 22 Jun 2015 03:55:03 -0000

Dear all,
I'm proposing the following signature scheme. This incorporates the
ideas of a number of people, but shouldn't be seen as endorsed by any
of them.

We write E: (-1)y^4+x^4=1+dx^2y^2 as the affine form of an Edwards
curve, possibly twisted over p. We represent values in F_p as
little-endian fixed width length vectors of bytes of the
representative in {0,1,\ldots p-1}. Define a value in F_p as negative
if its smallest representative is less than p-1/2, and positive
otherwise. We encode a point on E as the y coordinate followed by a
byte which is 0 if the x coordinate negative, 1 if the x coordinate
positive. Let q be the order of the large prime subgroup of E.

A signer has a public key A that is a point on E, and a private key
(v,k), where A=kG for G the generator of the prime order subgroup of
E, and s is a floor(log_2(p)+7)/8 string of bytes.  Let H be a hash
function. We let r=H(v||M) mod q  where H is taken as a little-endian
string of bytes, compute R=rG, and let c=H(M||R) mod q. Then let
s=r-ck. The signature is (R,s).

A verifier computes c=H(M||R) mod q, and verifies that sG+cA=R. This
scheme is secure in the ROM as it is yet another Schnorr signature
variation. For wide-pipe designs it's somewhat collision resistant.

Sincerely,
Watson Ladd


From nobody Mon Jun 22 02:12:18 2015
Return-Path: <Kenny.Paterson@rhul.ac.uk>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A08C81B2E84 for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 02:12:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.398
X-Spam-Level: *
X-Spam-Status: No, score=1.398 tagged_above=-999 required=5 tests=[BAYES_50=0.8, J_CHICKENPOX_12=0.6, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ApCt8YDZUty6 for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 02:12:15 -0700 (PDT)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0697.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::697]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 696E81B2E82 for <cfrg@irtf.org>; Mon, 22 Jun 2015 02:12:15 -0700 (PDT)
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) with Microsoft SMTP Server (TLS) id 15.1.195.15; Mon, 22 Jun 2015 09:11:57 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) by DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) with mapi id 15.01.0195.005; Mon, 22 Jun 2015 09:11:57 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Watson Ladd <watsonbladd@gmail.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Signature proposal
Thread-Index: AQHQrJ9DhhPW/auwfUWc20kKMIOSRp24TnWA
Date: Mon, 22 Jun 2015 09:11:56 +0000
Message-ID: <D1AD834C.4CCDE%kenny.paterson@rhul.ac.uk>
References: <CACsn0cm9rHw1EDAm=YbsN1PLQQkk3oz6qV5APtcTuir4uxyzUQ@mail.gmail.com>
In-Reply-To: <CACsn0cm9rHw1EDAm=YbsN1PLQQkk3oz6qV5APtcTuir4uxyzUQ@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.9.150325
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [78.146.52.20]
x-microsoft-exchange-diagnostics: 1; DBXPR03MB383; 5:/E0dFKN+tWjxDS5KMYehve8Qic7SAWitW1wT0V20mh2Qu5oFsMell/VOkjmzAA4Ay5pEgjvL3Z1TZUxcARjxfg6LgV/MyjJPqn+ADEprr+zZ7wUeLC73UO2sqYWJ5mNYvCXMo17bcDlHzISY4mTFoA==; 24:2Es+ro7CIpAXjwNEB3hyGOmfyuB5+Ya0CEaeY97isJg+JTMzgpLL+VW8Suwj2u5KpYFE5wzhn5Pdz5xKE/johwaxB6mqLlwUSQZHGXGcCk8=; 20:+oLBlrm0tJ2L867LJIqCCT8cLsnUv/6Qai+Sc2GNociEYdqAsWblDDKpyi0wxVfg/CZ633jdedz1GnVuXWG0qg==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB383;
x-microsoft-antispam-prvs: <DBXPR03MB3830BE957680CDA029A6A28BCA10@DBXPR03MB383.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:DBXPR03MB383; BCL:0; PCL:0; RULEID:; SRVR:DBXPR03MB383; 
x-forefront-prvs: 06157D541C
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(24454002)(479174004)(51704005)(87936001)(74482002)(86362001)(122556002)(2656002)(5002640100001)(46102003)(102836002)(2950100001)(77096005)(36756003)(40100003)(2900100001)(19580405001)(19580395003)(106116001)(66066001)(76176999)(54356999)(189998001)(92566002)(107886002)(50986999)(5001960100002)(5001920100001)(62966003)(2501003)(77156002)(5001770100001)(561944003); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR03MB383; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: text/plain; charset="us-ascii"
Content-ID: <C48B21F78F3C4A42927D5987419715BC@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jun 2015 09:11:56.9245 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR03MB383
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/qhnF5kiZrxkKRCiWIGN-D5CKy_0>
Subject: Re: [Cfrg] Signature proposal
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 22 Jun 2015 09:12:17 -0000

Hi Watson,

Thanks a lot for proposing this scheme. This is the the level of detail we
were looking for at this stage, so it serves as a good example for any
other proposers.

See below for some comments on security.

On 22/06/2015 04:54, "Watson Ladd" <watsonbladd@gmail.com> wrote:

>Dear all,
>I'm proposing the following signature scheme. This incorporates the
>ideas of a number of people, but shouldn't be seen as endorsed by any
>of them.
>
>We write E: (-1)y^4+x^4=3D1+dx^2y^2 as the affine form of an Edwards
>curve, possibly twisted over p. We represent values in F_p as
>little-endian fixed width length vectors of bytes of the
>representative in {0,1,\ldots p-1}. Define a value in F_p as negative
>if its smallest representative is less than p-1/2, and positive
>otherwise. We encode a point on E as the y coordinate followed by a
>byte which is 0 if the x coordinate negative, 1 if the x coordinate
>positive. Let q be the order of the large prime subgroup of E.
>
>A signer has a public key A that is a point on E, and a private key
>(v,k), where A=3DkG for G the generator of the prime order subgroup of
>E, and s is a floor(log_2(p)+7)/8 string of bytes.  Let H be a hash
>function. We let r=3DH(v||M) mod q  where H is taken as a little-endian
>string of bytes, compute R=3DrG, and let c=3DH(M||R) mod q. Then let
>s=3Dr-ck. The signature is (R,s).
>
>A verifier computes c=3DH(M||R) mod q, and verifies that sG+cA=3DR. This
>scheme is secure in the ROM as it is yet another Schnorr signature
>variation. For wide-pipe designs it's somewhat collision resistant.

A few of us discussed a scheme like this off-list a while back. We were
not convinced about its inherent collision resistance, and it seems you
may also be aware of the issue given your use of the word "somewhat" in
connection with wide-pipe designs.

For everyone else's benefit, here's the problem (credit due to Adam
Langley):
=20
Consider an adversary who can find messages M_1, M_2 such that the partial
hashes of M_1 and M_2 under H are equal - here we are thinking of H being
the usual kind of hash function that processes its inputs in blocks, with
the intermediate hash value being fed forward to the next stage - think of
SHA-256 with its compression function. This assumption is not quite the
same as breaking collision resistance of H, but it's close enough.

Then, since inner collisions lead to full collisions, the full hashes of
M_1 || R and M_2 || R will also be equal for *any* R. But the "form" of R
is not checked during verification - the verifier can't regenerate R and
check that it's of the form rG where r =3D H(v || M) for the right M, for
obvious reasons. This means (informally) that "any R will do" as far as
verification is concerned.

So if the adversary obtains a valid signature (R,s) for M_1, then (R,s)
will also be a valid signature for M_2.

Hence, the proposal does seem to depend on collision resistance of H for
its security, at least for H's of the assumed form (and which I would
venture we are likely to adopt in our selected signature scheme).

[Technical note 1: this requirement on H should not be too much of a
surprise, assuming the correctness of your earlier hypothesis about the
incompatibility between supporting the IUF interface and achieving
collision resistance: your proposal could be implemented in constant space
for an IUF interface by employing two running hash computations: one for
H(v ||M), the other for H(M || R), with the latter only being finalised
once R has been computed after the finalisation of the former.

Technical note 2: Ed25519 follows Schnorr and uses H(R || A || M), putting
R first and thereby not allowing the attacker the same flexibility in
finding collisions in the above attack scenario.]

Cheers,

Kenny=20
=20


From nobody Mon Jun 22 05:23:28 2015
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 CEF5A1A1A76 for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 05:23:26 -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_50=0.8, J_CHICKENPOX_12=0.6, J_CHICKENPOX_22=0.6, RCVD_IN_DNSWL_NONE=-0.0001, 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 raY_Jjpixum7 for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 05:23:24 -0700 (PDT)
Received: from emh04.mail.saunalahti.fi (emh04.mail.saunalahti.fi [62.142.5.110]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3FB711A1A6E for <cfrg@irtf.org>; Mon, 22 Jun 2015 05:23:24 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh04.mail.saunalahti.fi (Postfix) with ESMTP id F23681A26E1 for <cfrg@irtf.org>; Mon, 22 Jun 2015 15:23:21 +0300 (EEST)
Date: Mon, 22 Jun 2015 15:23:21 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: cfrg@irtf.org
Message-ID: <20150622122321.GA28986@LK-Perkele-VII>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
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/dJ7QFk8AVigkpceNA4oxXzpVVTs>
Subject: [Cfrg] Signature proposal
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 22 Jun 2015 12:23:27 -0000

[This is an abridged version of more extended spec I'm working on,
omitting generation of a and seed, couponing and some more extended
security/design discussion.]

Asumptions made:
- p is prime.
- E is (twisted) Edwards curve over GF(p).[1]
- l is prime at least 2^200.5
- B is point on E with order l.
- LEB128(x) is unsigned LEB128 encoding of integer x.
- len(x) is length of octet string x in octets.
- ceil(x) is the smallest integer at least x.
- H(x) is hash function with output at least 64 bits longer than number
  of bits in l (or for curves not near power of two order, also at least
  5/4 of bits of l, whichever is greater) [3].
  - For Curve25519, minimum is (bit under) 320 bits, for Curve448, minimum
   is (bit under) 512 bits  (both curves are near power of two order).
- PH(x) is collision-resistant hash function of at least 200-bit output[2]
  or identity function. The protocol using negotiates or specifies.
- LSB(x) is the least significant bit of x.
- tointeger(x) reads octet string x as little-endian base-256 integer.

Points are converted into octet strings as little-endian encoding (with
ceil((p_bits+1)/8) octets) of LSB(x)*2^p_bits+y, where p_bits is the
number of bits in p (e.g. 255 for curves based on Curve25519 and 448
for curves based on Curve448).

Scalars (integers mod l) are converted into octet strings as little-
endian encoding (with ceil(l_bits/8) octets, where l_bits is the number
of bits in l).


Private key consists of:
- E (curve)
- H(x) (function)
- seed (octets)
- a  (scalar)

And public key:
- E (curve)
- H(x) (function)
- A=aB (point)

Signing:
========
Inputs:
- key: private key (E and H(x) are contained within)
- hash_id: If PH(x) is identity, this is empty string. Otherwise it is
  ASN.1 DER-encoded X.509 AlgorithmIdentifier for PH(x) (with omitted
  optional parameters encoded as ASN.1 NULL).
  - E.g. SHA-256 is 30 0d 06 09 60 86 48 01 65 03 04 02 01 05 00
    (15 octets).
  - E.g. Blake2b-256 is 30 0f 06 0b 2b 06 01 04 01 8d 3a 0c 02 01 20
    05 00 (17 octets).
- context: Context string (specified by protocol, default is empty
  string).
- message: The message to sign.

Let M' be concatenation of:
- LEB128(len(hash_id))
- hash_id
- LEB128(len(context))
- context
- LEB128(len(PH(message)))
- PH(message)

Let r_tmp be concatenation of:
- Octet 0x02
- LEB128(len(seed))
- seed
- M'

Let r = tointeger(H(r_tmp)) % l.

Let h_tmp be concatenation of:
- Octet 0x03
- LEB128(ceil((p_bits + 1) / 8))
- encode_point(rB)
- encode_point(aB)
- M'

Let h = tointeger(H(h_tmp)) % l.
Let s = (r - h*a) % l.

Signature is encode_pont(rB) || encode_scalar(s)


Verification:
=============
Inputs:
- key: public key (E and H(x) are contained within)
- hash_id, context, message: As with signing.
- signature: The output of signing.

Let R=rB, s and A=aB be be values decoded from inputs.

Let h be calculated as in sigining (all needed inputs are available)

Check if R = sB+hA. If this holds, signature is valid.


Security notes:
===============
- This is yet another Schnorr variant.
- hash_id is to counter cross-hash attacks (we all know that weak hashes
  should be deimplemented, except this doesn't seem to happen in the
  real world[4]).
- context is to counter cross-protocol attacks (these seem to be an
  issue in real world[5]).
- PH(x) needs to be CR (which identity trivially is). If protocol
  supports it, randomized hashes can be used to weaken this
  requirement.


Design notes:
=============
- The design is heavily based on EdDSA (mainly adds capability to
  operate on more curves, online operation and contexts).
- I made online operation take a raw hash, since most protocols seem
  to operate that way with existing signature functions (not having to
  potentially calculate the same hash multiple ways!).
- Context is not hashed since it should come from executable/firmware
  image and should generally be very short (few dozen octets at most).
- I picked X.509 AlgorithmIdentifier, since most used hashes seem to
  have those. Besides, most of the time the values can just be hardcoded
  in executable/firmware image as octet strings.[6]



[1] The actual requirements are (Edwards curves are an example):
- y is always in GF(p)
- All terms are constant or quadric in x.

(This is needed for point encoding to work).

[2] The 200 bit minimum is mostly there to exclude some crap hash
functions (and also as reasonable strength-matching).

[3] Some curve can need that much for elimination of excessive bias.

[4] E.g. Recently (unstrengthened) MD5 (collisions in seconds) was
found to be still enabled in GnuTLS. Also, all the crap crypto
(RC4, EXPORT(!), etc...) enabled in various TLS servers.

[5] E.g. Recently cross-protocol attack was found in Git push
signatures. And also, intial version of signatures for TLS 1.3 had
cross-protocol attack (both since fixed).

[6] There is IANA registry for hash function names, but it has 7
functions (three are crap and remaining four are the usual SHA-2 stuff)
and is annoying to update (standards track!)


-Ilari


From nobody Mon Jun 22 06:21:03 2015
Return-Path: <bjorn.edstrom@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 B68261A8AB3 for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 06:20:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.722
X-Spam-Level: *
X-Spam-Status: No, score=1.722 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GlRUSXCP5fVj for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 06:20:55 -0700 (PDT)
Received: from mail-pd0-x232.google.com (mail-pd0-x232.google.com [IPv6:2607:f8b0:400e:c02::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5DF1D1A8AAB for <cfrg@irtf.org>; Mon, 22 Jun 2015 06:20:55 -0700 (PDT)
Received: by pdbki1 with SMTP id ki1so138899483pdb.1 for <cfrg@irtf.org>; Mon, 22 Jun 2015 06:20:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=uSrXc/AXffDpM+2tSJMk+bfi1hBjuTjhT6sdzbI6tFo=; b=MZRBMkIMEm4RhJXDtMBTA4rG/EI8Hc6h6aNPYWUdCbiGNqVOaK/5SwiOUu4yxRahZ9 QCjb0nnDohWi+VPIVY6V7Ews9oPbNoM4bDn3JirzyBNfxzS7efUu7Iq1Zqwk1gfZTNhQ jIM2YqP16o3u+bONSqWSW73vhAVLE8++llQPBfzen7h1fNQgFlzl2As7SEAlx7nxtl82 zzPQg+6O1XxsXBy4M5irHqLcLK+CCXSG9t3Y6mNjzSUH0cLGc46yG8gBWeP51uji1Saf xtQ4uBTlzOu5S3L3XB4VBKVPV3wB+1kvn/SeyMjfdgWtT+XVUHYSsLLykJMISlsaR1me ArAQ==
MIME-Version: 1.0
X-Received: by 10.68.91.197 with SMTP id cg5mr59548267pbb.26.1434979254676; Mon, 22 Jun 2015 06:20:54 -0700 (PDT)
Sender: bjorn.edstrom@gmail.com
Received: by 10.66.179.72 with HTTP; Mon, 22 Jun 2015 06:20:54 -0700 (PDT)
Date: Mon, 22 Jun 2015 15:20:54 +0200
X-Google-Sender-Auth: IeF0Ym1cGzpqyYLDOkfPZ5AlVzA
Message-ID: <CAA4PzX2k6ZZOkFMcR-AkN-1-D3-=sdmQi_MCo-aO+Ev3KN3N8Q@mail.gmail.com>
From: =?UTF-8?B?QmrDtnJuIEVkc3Ryw7Zt?= <be@bjrn.se>
To: cfrg@irtf.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/mObwceXEctiFhfYs4PIm1QIsacA>
Subject: [Cfrg] EdDSA choice of hash function/parameter derivation for curves > 256 bit
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 22 Jun 2015 13:20:57 -0000

This is somewhat relevant to the current proposal round.

I've been looking at the EdDSA paper and a reference implementation of
Ed25519. Recall that it uses a deterministic variant of Schnorr where
the random "k" parameter is derived from a hash function. Specifically
Ed25519 takes the SHA2-512 of a seed "sk" and splits in into two
halves:

- The first half is used for the secret key, "a".

- The second half is the Schnorr random value "k".

This happens to work very well for the Ed25519 curve because the
single hash call will result in two 256 bit values, as desired.

The (open, rhetorical) question would then be: How would you derive
"a" and "k" for a curve bigger than 256 bit, in the absence of common
hash functions with larger than 512 bit output?

Regards
Bj=C3=B6rn


From nobody Mon Jun 22 06:25:37 2015
Return-Path: <hanno@hboeck.de>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BA0C71A038B for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 06:25:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.699
X-Spam-Level: **
X-Spam-Status: No, score=2.699 tagged_above=-999 required=5 tests=[BAYES_50=0.8, MANGLED_BACK=2.3, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jB1tix7p54Ke for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 06:25:34 -0700 (PDT)
Received: from zucker2.schokokeks.org (zucker2.schokokeks.org [178.63.68.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B16D71A8AC8 for <cfrg@irtf.org>; Mon, 22 Jun 2015 06:25:33 -0700 (PDT)
Received: from pc1 (x4d06b276.dyn.telefonica.de [::ffff:77.6.178.118]) (AUTH: LOGIN hanno-default@schokokeks.org, TLS: TLSv1/SSLv3, 128bits, ECDHE-RSA-AES128-GCM-SHA256) by zucker.schokokeks.org with ESMTPSA; Mon, 22 Jun 2015 15:25:31 +0200 id 000000000000004E.0000000055880CCB.00005A7A
Date: Mon, 22 Jun 2015 15:26:29 +0200
From: Hanno =?UTF-8?B?QsO2Y2s=?= <hanno@hboeck.de>
To: cfrg@irtf.org
Message-ID: <20150622152629.2fa9771f@pc1>
In-Reply-To: <CAA4PzX2k6ZZOkFMcR-AkN-1-D3-=sdmQi_MCo-aO+Ev3KN3N8Q@mail.gmail.com>
References: <CAA4PzX2k6ZZOkFMcR-AkN-1-D3-=sdmQi_MCo-aO+Ev3KN3N8Q@mail.gmail.com>
X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="=_zucker.schokokeks.org-23162-1434979531-0001-2"
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/BMXqCTPW86Fj0O3ApbGzLw8uDSs>
Subject: Re: [Cfrg] EdDSA choice of hash function/parameter derivation for curves > 256 bit
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 22 Jun 2015 13:25:36 -0000

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

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

On Mon, 22 Jun 2015 15:20:54 +0200
Bj=C3=B6rn Edstr=C3=B6m <be@bjrn.se> wrote:

> The (open, rhetorical) question would then be: How would you derive
> "a" and "k" for a curve bigger than 256 bit, in the absence of common
> hash functions with larger than 512 bit output?

SHA-3 will afaik have hashes with configurable output size ("SHAKE").

Earlier protocols had a construction called "MGF1" (see RFC 3447)
that allows having hashes with a defined output size (pretty
simple construction, combining a counter with a hash function).

Both should work.

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

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

--=_zucker.schokokeks.org-23162-1434979531-0001-2
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
Content-Description: OpenPGP digital signature

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

iQIcBAEBCgAGBQJViA0FAAoJEKWIAHK7tR5CSicP/Avopt0Xo65jGetj7uqYi2gN
9NRSZI/ZbXiGhWYvRTlBe8ng4tLV+xl4wRX8uATXP/5i+/RZfgmD2oOUCIPqBwQh
zWPRDnIbYmznEsRN9f0iYIz6Zyf+6vfoz5SwO0XoGjluBmL+GElnkwJ9D3a9Viup
+YrnrWgx7cImeym9AtmFl+hLs492znoaMkfxKLBiNG4ibvWSl6bwnWAxkKzQPI3b
iNZUdql4VnuQN8xlV17mCvA7kFoE+U/0Wq0xIvRtk09n5NlWG4IEEvR2DUa1CNXg
+FK6kJwdTr9TSd877rKPSw8C3XispwEARN7UZ/4RmA+U352yRHpY12hJwTdGSo+K
rlHnN0fArw8eBCEf0mS4Mi6XdZGCtKPaK3yUXOPQIHWN3dUsDRJlr9VZE3ialcO3
WaMffnLhDQpA8d5dHfJDTWf58FeRvrhPCExDN7+jL0JvE0Cx2VMyf0NGNMIsSDXY
H1KDE7Nnhc2Gb4YbZ7wPeWhuR6xNtIx5MMFJgGOXZKkJqVllKCbRpLWiDAvMkUHg
4eEtRzl4wS2ui8aVOdCivpKCOEp+juQHRGm9At5NR9K/BiOkHAqqj5vMhIJFUQOq
Xo6Oym1sbzTMzrBESuvnjuUbpO+EaGdQjwXfSitVasxQYEes+8o5u9q8xuTxTx05
djhLr2ySS2AdN1uRGGTw
=ZLvL
-----END PGP SIGNATURE-----

--=_zucker.schokokeks.org-23162-1434979531-0001-2--


From nobody Mon Jun 22 07:13:38 2015
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 1AEC21AC410 for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 07:13:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.099
X-Spam-Level: *
X-Spam-Status: No, score=1.099 tagged_above=-999 required=5 tests=[BAYES_50=0.8, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_NONE=-0.0001, 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 UVfJa5zAURWH for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 07:13:35 -0700 (PDT)
Received: from emh06.mail.saunalahti.fi (emh06.mail.saunalahti.fi [62.142.5.116]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 662801AC429 for <cfrg@irtf.org>; Mon, 22 Jun 2015 07:13:35 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh06.mail.saunalahti.fi (Postfix) with ESMTP id DE788699D2; Mon, 22 Jun 2015 17:13:32 +0300 (EEST)
Date: Mon, 22 Jun 2015 17:13:32 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: =?utf-8?B?QmrDtnJuIEVkc3Ryw7Zt?= <be@bjrn.se>
Message-ID: <20150622141332.GA19669@LK-Perkele-VII>
References: <CAA4PzX2k6ZZOkFMcR-AkN-1-D3-=sdmQi_MCo-aO+Ev3KN3N8Q@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAA4PzX2k6ZZOkFMcR-AkN-1-D3-=sdmQi_MCo-aO+Ev3KN3N8Q@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/WqLoydrOmYcEwNfCbE1RMXG-4BI>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] EdDSA choice of hash function/parameter derivation for curves > 256 bit
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 22 Jun 2015 14:13:37 -0000

On Mon, Jun 22, 2015 at 03:20:54PM +0200, BjĂśrn EdstrĂśm wrote:
> 
> I've been looking at the EdDSA paper and a reference implementation of
> Ed25519. Recall that it uses a deterministic variant of Schnorr where
> the random "k" parameter is derived from a hash function. Specifically
> Ed25519 takes the SHA2-512 of a seed "sk" and splits in into two
> halves:
> 
> - The first half is used for the secret key, "a".
> 
> - The second half is the Schnorr random value "k".
> 
> This happens to work very well for the Ed25519 curve because the
> single hash call will result in two 256 bit values, as desired.
> 
> The (open, rhetorical) question would then be: How would you derive
> "a" and "k" for a curve bigger than 256 bit, in the absence of common
> hash functions with larger than 512 bit output?

Or just add some labels and call hash function twice with different
labels (this works with curves up to 512 bits[1]).


[1] To reach E-521 you would need some tricks (most likely some
KDF). But once curves get big enough, one also gets the trouble
of (uniformly!) generating the hash term in scalar part and the
pseudorandom parameter (and that actually becomes a problem before
a and k).


-Ilari


From nobody Mon Jun 22 07:42:12 2015
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 01D261AC443 for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 07:42:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.7
X-Spam-Level: 
X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hq8tI-Ns1yDb for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 07:42:05 -0700 (PDT)
Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 103C91ACD65 for <cfrg@irtf.org>; Mon, 22 Jun 2015 07:42:04 -0700 (PDT)
Received: by wicnd19 with SMTP id nd19so78883169wic.1 for <cfrg@irtf.org>; Mon, 22 Jun 2015 07:42: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=I5cHfmdKpk4GAwHgqb6ITHejeHFIxwuT+zRUyH8Z0e4=; b=mv3lNR02umsi76MWTlmY4LLH9PLi3tQtc/QiMH+8luGO8lL+km3JA1zdQwybp8RZmL uplIjrxOonuDCqkB3Ts/w8x4qgNu62ENrqmiJXZ89k0y0oaQ8R9W/Ejl6V2XG2uMeNPB 8LIEK3M79l3Womb/I+AaAF2mdd07ZliQK0RfpCYF+tcM8HvYjnIrHwp5GNRMe7eAthjQ tSCHcFE24Xqt8RM2onAU9ycBZv7VtcwRFevuNgJDXPZxqc/cts91JXUvSLa0lezp8jd1 k6m9x4/yT7UsaEfkiCUM3oELZUL6N0d83WdwC8C8dAQsk5lRjL5wdhIcN7qCzQnwMgQo gQXw==
MIME-Version: 1.0
X-Received: by 10.180.188.48 with SMTP id fx16mr32471004wic.35.1434984122824;  Mon, 22 Jun 2015 07:42:02 -0700 (PDT)
Received: by 10.194.20.97 with HTTP; Mon, 22 Jun 2015 07:42:02 -0700 (PDT)
In-Reply-To: <20150622141332.GA19669@LK-Perkele-VII>
References: <CAA4PzX2k6ZZOkFMcR-AkN-1-D3-=sdmQi_MCo-aO+Ev3KN3N8Q@mail.gmail.com> <20150622141332.GA19669@LK-Perkele-VII>
Date: Mon, 22 Jun 2015 07:42:02 -0700
Message-ID: <CACsn0ck+Y3TWPPhEg=Tq0bPE9rq0PG+A9htCNuuoHF1g_siMmg@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/17hVtlS58NK2yx8h9kTn8wyLgVg>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] EdDSA choice of hash function/parameter derivation for curves > 256 bit
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 22 Jun 2015 14:42:10 -0000

On Mon, Jun 22, 2015 at 7:13 AM, Ilari Liusvaara
<ilari.liusvaara@elisanet.fi> wrote:
> On Mon, Jun 22, 2015 at 03:20:54PM +0200, Bj=C3=B6rn Edstr=C3=B6m wrote:
>>
>> I've been looking at the EdDSA paper and a reference implementation of
>> Ed25519. Recall that it uses a deterministic variant of Schnorr where
>> the random "k" parameter is derived from a hash function. Specifically
>> Ed25519 takes the SHA2-512 of a seed "sk" and splits in into two
>> halves:
>>
>> - The first half is used for the secret key, "a".
>>
>> - The second half is the Schnorr random value "k".
>>
>> This happens to work very well for the Ed25519 curve because the
>> single hash call will result in two 256 bit values, as desired.
>>
>> The (open, rhetorical) question would then be: How would you derive
>> "a" and "k" for a curve bigger than 256 bit, in the absence of common
>> hash functions with larger than 512 bit output?
>
> Or just add some labels and call hash function twice with different
> labels (this works with curves up to 512 bits[1]).
>
>
> [1] To reach E-521 you would need some tricks (most likely some
> KDF). But once curves get big enough, one also gets the trouble
> of (uniformly!) generating the hash term in scalar part and the
> pseudorandom parameter (and that actually becomes a problem before
> a and k).

I'm not entirely sure what you are saying here. Yes, we need to
generate larger Schnorr random values. But that's the only place where
there is a problem if we store the key as two parts: the Schnorr
protocol will work with challenges which are not uniform over all the
scalars, unless I'm badly missing something. Yes, the security
reduction will be a bit different, but it's inherently lossy with the
proof methods we know. ECDSA on E-521 uses SHA-512, not some larger
output variant, and still works.

Sincerely,
Watson Ladd

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



--=20
"Man is born free, but everywhere he is in chains".
--Rousseau.


From nobody Mon Jun 22 09:22:49 2015
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 D9A8D1A87BE for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 09:22:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.354
X-Spam-Level: ****
X-Spam-Status: No, score=4.354 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, J_CHICKENPOX_42=0.6, MIME_8BIT_HEADER=0.3, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pt3-LuIcoGD8 for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 09:22:42 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 153281A87C2 for <cfrg@irtf.org>; Mon, 22 Jun 2015 09:21:42 -0700 (PDT)
Received: from [192.168.1.143] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 367593A9C7; Mon, 22 Jun 2015 09:18:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1434989919; bh=XKGdNX4R1pJMdv2CvsmPmsNpA2cc+OcSq7RP5B8uZtM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=Y+rS/Ft8bKRziRQptZhG9XAYsSjq2DJUWZCKXuGlIT28wYaAVeGgDL+FOwSfz4E5/ n/WGry91LoqnRV0v2safo0oUSeOHPolOPrkqXbVDb7Y8BDPN7CEx+HyfVoMEnkeQ3Q F+ubqRuIiYRXOQOgfOrDLluYhAR1sAsxWfgI9Kbk=
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <CAA4PzX2k6ZZOkFMcR-AkN-1-D3-=sdmQi_MCo-aO+Ev3KN3N8Q@mail.gmail.com>
Date: Mon, 22 Jun 2015 09:21:38 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <D9A4F67F-1C58-4EF6-B997-D736C7446EED@shiftleft.org>
References: <CAA4PzX2k6ZZOkFMcR-AkN-1-D3-=sdmQi_MCo-aO+Ev3KN3N8Q@mail.gmail.com>
To: =?utf-8?Q?Bj=C3=B6rn_Edstr=C3=B6m?= <be@bjrn.se>
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/0VENgVPXKisVO4fW_pG3fJ-6MG4>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] EdDSA choice of hash function/parameter derivation for curves > 256 bit
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 22 Jun 2015 16:22:44 -0000

Another option for everything but E-521 is

k =3D HMAC(sk, =E2=80=9Cderive secret key=E2=80=9D)
nonce =3D HMAC(sk, =E2=80=9Cderive nonce=E2=80=9D || m)

Since HMAC is a PRF, you can extend it by chaining the output into =
HMAC(sk, =E2=80=9Cextend secret key / nonce=E2=80=9D || k_0) or similar.

=E2=80=94 Mike

> On Jun 22, 2015, at 6:20 AM, Bj=C3=B6rn Edstr=C3=B6m <be@bjrn.se> =
wrote:
>=20
> This is somewhat relevant to the current proposal round.
>=20
> I've been looking at the EdDSA paper and a reference implementation of
> Ed25519. Recall that it uses a deterministic variant of Schnorr where
> the random "k" parameter is derived from a hash function. Specifically
> Ed25519 takes the SHA2-512 of a seed "sk" and splits in into two
> halves:
>=20
> - The first half is used for the secret key, "a".
>=20
> - The second half is the Schnorr random value "k".
>=20
> This happens to work very well for the Ed25519 curve because the
> single hash call will result in two 256 bit values, as desired.
>=20
> The (open, rhetorical) question would then be: How would you derive
> "a" and "k" for a curve bigger than 256 bit, in the absence of common
> hash functions with larger than 512 bit output?
>=20
> Regards
> Bj=C3=B6rn
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Mon Jun 22 11:55:04 2015
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 9270E1A6F28 for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 11:55:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.6
X-Spam-Level: 
X-Spam-Status: No, score=-0.6 tagged_above=-999 required=5 tests=[BAYES_50=0.8, GB_I_LETTER=-2, J_CHICKENPOX_31=0.6, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XIxIGdcCNLSE for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 11:55:01 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id A1B9F1A6F22 for <cfrg@irtf.org>; Mon, 22 Jun 2015 11:55:00 -0700 (PDT)
Received: from xct106cnc.rim.net ([10.65.161.206]) by mhs213cnc.rim.net with ESMTP/TLS/AES128-SHA; 22 Jun 2015 14:54:55 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT106CNC.rim.net ([fe80::d824:6c98:60dc:3918%16]) with mapi id 14.03.0210.002; Mon, 22 Jun 2015 14:54:55 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'alexey.melnikov@isode.com'" <alexey.melnikov@isode.com>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Soliciting EC signature scheme proposals
Thread-Index: AQHQrAgAXKF7WNmL7kW9aEI5ItVYbJ244EmQ
Date: Mon, 22 Jun 2015 18:54:54 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5DFF8F5@XMB116CNC.rim.net>
References: <5586895A.3020607@isode.com>
In-Reply-To: <5586895A.3020607@isode.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_0000_01D0ACFB.65C4F600"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/B-nif_KZTJFpyfvuhwBqHqv7EIo>
Subject: Re: [Cfrg] Soliciting EC signature scheme proposals
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 22 Jun 2015 18:55:03 -0000

------=_NextPart_000_0000_01D0ACFB.65C4F600
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi CFRG,

Consider an ECDSA_CFRG signature (R,s) of a message m under public key
Q to be valid if:

sR = h(m||R)G + f(R) Q

An ECDSA_CFRG signature can be converted to a plain ECDSA signature
(f(R),s) on message m||R under public key Q, so it can be verified
using an ECDSA verifier, provided a compatible f is used.

The signature scheme ECDSA_CFRG aims to improve on ECDSA upon by
addressing most of the ECDSA security critiques.


Notations

The description assumes an encoding of EC points, indicated with
uppercase letters, and conversion f of point encodings to integers, and
a (wide-pipe) hash function h(), e.g. SHA3.  Some tweaks of h, such as
h', h'', h''', will be considered too.  Fix a base point G with a
prime order n, with integer computations usually done mod n.

Note that in the verification equation h(m||R) would be a truncated
hash when backwards compatibility with ECDSA is needed.


Signature generation, deterministic

As usual, the signer's public key Q = dG for a private key d.

The signer also has a secondary secret u, and computes k = h'(u,m),
where tweak h' indicates a possible extended length to ensure that k
has more bits than n, to avoid bias in k.  Furthermore, we assume that
MAC(u,m) = h'(u,m)G is secure as a MAC.  To help with this task, we
may amend h' to have a form like HMAC.

The signer computes R = (k+h(u,k)n)G, where here mod n is not applied.
So, R is a deterministic function of m, as CFRG has required, and it
is computed using additive masking to protect against side channels.

Side note: the infamous and insecure repeated-k ECDSA failed signature
are also "deterministic" functions of the message.  CFRG should
probably choose a better name here, like "pseudorandom".

The private key d and the secondary secret u should (must?) be derived
from a common secret seed (which is then destroyed - except see below).
(I think EdDSA works this way, right?) E.g d||u = h'''(seed).  (This
aims to protect against a poorly chosen u, and consequent predictable
k.)

Optionally: the signer can also prepare some single-use pairs (z,Z=zG)
and compute R as R = (((k/z) mod n) + h(u,k)n) Z.  Note: this is
multiplicative masking; because it is more expensive, it is optional.
The pair (z,Z) can be computed before m is received.

Optionally, the signer can use a single-affine-coordinate Montgomery
differential-addition chain ladder to compute R.  The full coordinate
representation of R can be recovered.

The signer then computes (mod n)

v = h''(u,k) k.  

t = (h(m||R) + f(R) d) / v

s = h''(u,k) t

So, s = (h(m||R) + f(R)d)/k, similar to ECDSA, but the signer
must apply multiplicative masking to the inversion.  The actual
inversion of v should be done via Fermat's little theorem, but if
every bit of speed is crucial, then v may be inverted using some form
of Euclidean algorithm.  Note that, unlike some previous ECDSA
standards, k is not inverted directly.

For a long message m, the signer computes k = h'(u,m) and h(m||R) in
tandem, without buffering the whole of m, as required by the IUF
condition.

Overall, the signature generation process aims to reduce the risk of
side channels associated with k, because this is a known critical area
of most DL-based signatures.


Verification speedups (optional)

The use of (R,s) instead of (r,s) has some known advantages, which are
reviewed here.

Instead of computing 1/s mod n, etc. as some ECDSA standards describe,
one can compute h(R||m)G quickly using pre-computed tables for G, and
then compare this against sR - f(R)Q, which can be computed using
multi-scalar multiplication methods.

Batch verification is fairly straightforward, just add the equations
together (perhaps randomly scaling) etc.




Security arguments against various attacks


Side channels?

Standard side channel protections above are mandated, though perhaps I
missed some.


Signerless (passive, key-only) forgery

Forging ECDSA_CFRG without the help of a signer implies an ECDSA
forgery.

So, ECDSA_CFRG is at least as secure as ECDSA against signerless
(passive) forgers.


Signer-assisted forgery?

Unfortunately, I don't have a way to directly convert a more general
ECDSA_CFRG forger, i.e., one that exploits the signer as an oracle,
into the corresponding ECDSA forger, because an ECDSA signer does not
seem to convertible into an ECDSA_CFRG signer.

This theoretical obstacle might mean that there are some degenerate
forms of hash functions in which exploiting an ECDSA_CFRG signer makes
forgery easier.


Repudiation and MAC

Suppose an ECDSA_CFRG forgery (R',s') of message m has the property
that R' = h'(u,m)G, so that (R',s') is the same signature that the
honest signer would produce.  Since the signer did not sign m, the
forger has essentially defeated the security of MAC(u,m) = h'(u,m)G.

It seems reasonable to conjecture that this is infeasible of h'(u,m)
is a secure MAC.

Otherwise the forgery (R',s') is not what the signer would produce,
and in particular, R' is not of the form h'(u,m) G.  An ECDSA_CFRG
signer can try to repudiate the forgery (R',s') as follows.  The
signer generates signature (R,s) and then provides a zero-knowledge
proof that R = h'(u,m)G, provide that the signer has a previously
register commitment to the value of u.  (Or, the signer could keep the
seed from which d and u are derived, and then provide a ZK proof that
R and Q are ultimately derived from the same seed.)

Of course, such a repudiation does not help in real-time
authentication, but in many authentication, there are good
non-signature forms to authentication, such as authenticated key
agreement.


Collision resilience and wide pipe hashing?

If h is a wide-pipe hash, then ECDSA_CFRG does not rely on collision
resistance of h, at least strictly speaking

As Kenny pointed in response to Watson, for a narrow-pipe hash,
finding an extensible mid-pipe collision is known to be as easy as
finding a collision.  For a wide-pipe hash this is not known: that is
one the promising security aspects of wide pipe hash functions, at
least as I understand it.

Furthermore, it was one of the security goals of the SHA-3 competition
to act like a ROM.  An internal, extendable collision (m,m') such that
h(m||R) = h(m'||R) for all R is a very non-ROM property.
Consequently, there was considerable incentive during the SHA-3
competition to find such an attack, and none was found for SHA-3
(right?).

So, collision resistance is not necessary for ECDSA_CFRG, if we assume
a new conjecture security property of wide-pipe hashes like SHA-3.  In
other words, ECDSA_CFRG_SHA3 is superficially resilient to SHA-3
collisions.



Re-using old security proofs?

I expect that if we invoke ROM, then the Pointcheval-Stern forking
lemma prove would apply to ECDSA_CFRG.  (I think that they even
proposed such a modification to ECDSA).

I expect that generic group model proofs for ECDSA could be adapted to
ECDSA_CFRG.  (I think Koblitz and Menezes recently suggested this.)


Conclusion

Security is well-covered, on the theory and practice sides.
Efficiency may not be optimal, but it is still pretty good.


Best regards,

Dan




> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Alexey Melnikov
> Sent: Sunday, June 21, 2015 5:52 AM
> To: cfrg@irtf.org
> Subject: [Cfrg] Soliciting EC signature scheme proposals
> 
> Dear CFRG participants,
> 
> We are now at the point where we have gathered sufficient requirements
(not
> necessarily NIST-compliant, deterministic, IUF interface) where it seems
> sensible to invite proposals for signature schemes meeting those
requirements.
> 
> We would like to have proposals that are reasonably detailed so that they
can
> be assessed properly by CFRG readers. We realise that doing fully detailed
> proposals would take a lot work, so we do not expect full-fledged
proposals in
> the style of a NIST competition (say). That said, we would like to
encourage
> proposers to explain the security properties of their proposals as well as
their
> implementation characteristics, and to make proposals that are generic in
the
> sense of being usable for either of the two curves that we have previously
> agreed upon.
> 
> Please submit your proposals within 2 weeks (i.e. by July 5th); e-mails to
the
> CFRG list are fine. We encourage constructive questions and clarifications
> about proposals as they are made. At this stage, we anticipate needing a
longer
> discussion period that extends beyond the 2 week submission period. After
> that, we may poll to decide on CFRG recommended scheme. Depending on
> how the on-list discussions go in the next 4 weeks, we might also have
face-to-
> face discussion at the CFRG meeting planned for IETF 93 in Prague in July.
> 
> Best Regards,
> CFRG Chairs.
> 
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg

------=_NextPart_000_0000_01D0ACFB.65C4F600
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-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8snRHMP8qD9jO/OPtS8Z1uMG0GCSsGAQQBgjcQBDFgMF4wUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGAgpb8AmWAAQAPH2iMG8GCyqGSIb3DQEJEAILMWCgXjBQMRMwEQYKCZImiZPyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZ
S0YCClvwCZYABAA8faIwgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYBv2g53wh6DAVwVv8/0m6i2j9xhuYsW
nZ7Mup2HUOIVww1rj0Hhi96xmYr1RRBlBV26VeT/hSsfzoh1nIjYJxRVZNsWnnyVT+W9XAp/EUGM
kWtQ9Bw6k0K6FbG7SC4IqFlq2n3ZnsCGF6G73DwVtcA12cKWi4PmvKwc1szzFUllAwAAAAAAAA==

------=_NextPart_000_0000_01D0ACFB.65C4F600--


From nobody Mon Jun 22 12:28:30 2015
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 4AB991A89B1 for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 12:28:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.399
X-Spam-Level: 
X-Spam-Status: No, score=-3.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, GB_I_LETTER=-2, HTML_MESSAGE=0.001, J_CHICKENPOX_31=0.6, 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 jwIgdTBMzOAJ for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 12:28:20 -0700 (PDT)
Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C85111A88D2 for <cfrg@irtf.org>; Mon, 22 Jun 2015 12:28:19 -0700 (PDT)
Received: by wicnd19 with SMTP id nd19so86053149wic.1 for <cfrg@irtf.org>; Mon, 22 Jun 2015 12:28:18 -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=5VvA6PbpjMIEeH0CIpSH4vmnvl6tQQeJFXI73npdmbE=; b=BrN+DOUywpPUVvdWlDbgu5Zfvfw8eKehTWs4qQmuJodVt+z0J+9OrNubSB4Zk2yaoe zRagyskjG/mTZlEFEKSuP2ugWAuuTKlh9v/jGlCateJcCAi/PxVl6wcnX/nZHKQeMtFI QODSnG1NVJf9rFl3UibCLRa97QTRUW3I7AuACgrY2xGJpWu/Sgg9cKmsp2Ki64PaM2uL KAxtZ5c+RtPXxpYAxvfEiRAlPN9y42XGUABQL4rndcCDHLZ/5WqyrM45itNgx6Sp5ms4 GTW9n1LhrsQh9UidABGqFZxY8Bg11PF2kfu39YpwOLjnlGC9fAqWctYj3GoUfyjinUgQ qekg==
MIME-Version: 1.0
X-Received: by 10.180.79.73 with SMTP id h9mr34731563wix.35.1435001298474; Mon, 22 Jun 2015 12:28:18 -0700 (PDT)
Received: by 10.194.20.97 with HTTP; Mon, 22 Jun 2015 12:28:17 -0700 (PDT)
Received: by 10.194.20.97 with HTTP; Mon, 22 Jun 2015 12:28:17 -0700 (PDT)
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5DFF8F5@XMB116CNC.rim.net>
References: <5586895A.3020607@isode.com> <810C31990B57ED40B2062BA10D43FBF5DFF8F5@XMB116CNC.rim.net>
Date: Mon, 22 Jun 2015 12:28:17 -0700
Message-ID: <CACsn0cn2H=mnWF9nAZKX=FviPTEJAchE99K2f_Oji2-UDrd=fQ@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Dan Brown <dbrown@certicom.com>
Content-Type: multipart/alternative; boundary=f46d041825e2a5e0a00519204656
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/eWAqtBSxdJYSlADWUJ3miIvw05E>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Soliciting EC signature scheme proposals
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 22 Jun 2015 19:28:27 -0000

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

On Jun 22, 2015 11:55 AM, "Dan Brown" <dbrown@certicom.com> wrote:
>
> Hi CFRG,
>
> Consider an ECDSA_CFRG signature (R,s) of a message m under public key
> Q to be valid if:
>
> sR = h(m||R)G + f(R) Q
>
> An ECDSA_CFRG signature can be converted to a plain ECDSA signature
> (f(R),s) on message m||R under public key Q, so it can be verified
> using an ECDSA verifier, provided a compatible f is used.

Could you explain how NSS, just to pick one example, would be able to
verify these signatures? It seems that the constraints on encoding would
force the use of Weierstrass big endian form, or sufficently big changes to
make adding another scheme a rounding error in complexity. (I also suspect
a typo in above: f(R)/s would be more believable to me)

There is also a cross protocol attack if the same key is used for ECDSA
and this scheme.

>
> The signature scheme ECDSA_CFRG aims to improve on ECDSA upon by
> addressing most of the ECDSA security critiques.
>
>
> Notations
>
> The description assumes an encoding of EC points, indicated with
> uppercase letters, and conversion f of point encodings to integers, and
> a (wide-pipe) hash function h(), e.g. SHA3.  Some tweaks of h, such as
> h', h'', h''', will be considered too.  Fix a base point G with a
> prime order n, with integer computations usually done mod n.
>
> Note that in the verification equation h(m||R) would be a truncated
> hash when backwards compatibility with ECDSA is needed.
>
>
> Signature generation, deterministic
>
> As usual, the signer's public key Q = dG for a private key d.
>
> The signer also has a secondary secret u, and computes k = h'(u,m),
> where tweak h' indicates a possible extended length to ensure that k
> has more bits than n, to avoid bias in k.  Furthermore, we assume that
> MAC(u,m) = h'(u,m)G is secure as a MAC.  To help with this task, we
> may amend h' to have a form like HMAC.

MAC security is not sufficient. We need PRF.

>
> The signer computes R = (k+h(u,k)n)G, where here mod n is not applied.
> So, R is a deterministic function of m, as CFRG has required, and it
> is computed using additive masking to protect against side channels.

This masking is deterministic: repeated signatures with of the same message
can be averaged to amplify observations.
It's also clear that masking of nG with various countermeasures can be
applied to all schemes in a variety of ways.

>
> Side note: the infamous and insecure repeated-k ECDSA failed signature
> are also "deterministic" functions of the message.  CFRG should
> probably choose a better name here, like "pseudorandom".
>
> The private key d and the secondary secret u should (must?) be derived
> from a common secret seed (which is then destroyed - except see below).
> (I think EdDSA works this way, right?) E.g d||u = h'''(seed).  (This
> aims to protect against a poorly chosen u, and consequent predictable
> k.)
>
> Optionally: the signer can also prepare some single-use pairs (z,Z=zG)
> and compute R as R = (((k/z) mod n) + h(u,k)n) Z.  Note: this is
> multiplicative masking; because it is more expensive, it is optional.
> The pair (z,Z) can be computed before m is received.
>
> Optionally, the signer can use a single-affine-coordinate Montgomery
> differential-addition chain ladder to compute R.  The full coordinate
> representation of R can be recovered.
>
> The signer then computes (mod n)
>
> v = h''(u,k) k.
>
> t = (h(m||R) + f(R) d) / v
>
> s = h''(u,k) t
>
> So, s = (h(m||R) + f(R)d)/k, similar to ECDSA, but the signer
> must apply multiplicative masking to the inversion.  The actual
> inversion of v should be done via Fermat's little theorem, but if
> every bit of speed is crucial, then v may be inverted using some form
> of Euclidean algorithm.  Note that, unlike some previous ECDSA
> standards, k is not inverted directly.
>
> For a long message m, the signer computes k = h'(u,m) and h(m||R) in
> tandem, without buffering the whole of m, as required by the IUF
> condition.
>
> Overall, the signature generation process aims to reduce the risk of
> side channels associated with k, because this is a known critical area
> of most DL-based signatures.
>
>
> Verification speedups (optional)
>
> The use of (R,s) instead of (r,s) has some known advantages, which are
> reviewed here.
>
> Instead of computing 1/s mod n, etc. as some ECDSA standards describe,
> one can compute h(R||m)G quickly using pre-computed tables for G, and
> then compare this against sR - f(R)Q, which can be computed using
> multi-scalar multiplication methods.
>
> Batch verification is fairly straightforward, just add the equations
> together (perhaps randomly scaling) etc.
>
>
>
>
> Security arguments against various attacks
>
>
> Side channels?
>
> Standard side channel protections above are mandated, though perhaps I
> missed some.
>
>
> Signerless (passive, key-only) forgery
>
> Forging ECDSA_CFRG without the help of a signer implies an ECDSA
> forgery.
>
> So, ECDSA_CFRG is at least as secure as ECDSA against signerless
> (passive) forgers.
>
>
> Signer-assisted forgery?
>
> Unfortunately, I don't have a way to directly convert a more general
> ECDSA_CFRG forger, i.e., one that exploits the signer as an oracle,
> into the corresponding ECDSA forger, because an ECDSA signer does not
> seem to convertible into an ECDSA_CFRG signer.

There already is a deterministic, batchable version of ECDSA: transmit R
instead of r.
>
> This theoretical obstacle might mean that there are some degenerate
> forms of hash functions in which exploiting an ECDSA_CFRG signer makes
> forgery easier.
>
>
> Repudiation and MAC
>
> Suppose an ECDSA_CFRG forgery (R',s') of message m has the property
> that R' = h'(u,m)G, so that (R',s') is the same signature that the
> honest signer would produce.  Since the signer did not sign m, the
> forger has essentially defeated the security of MAC(u,m) = h'(u,m)G.
>
> It seems reasonable to conjecture that this is infeasible of h'(u,m)
> is a secure MAC.
>
> Otherwise the forgery (R',s') is not what the signer would produce,
> and in particular, R' is not of the form h'(u,m) G.  An ECDSA_CFRG
> signer can try to repudiate the forgery (R',s') as follows.  The
> signer generates signature (R,s) and then provides a zero-knowledge
> proof that R = h'(u,m)G, provide that the signer has a previously
> register commitment to the value of u.  (Or, the signer could keep the
> seed from which d and u are derived, and then provide a ZK proof that
> R and Q are ultimately derived from the same seed.)
>
> Of course, such a repudiation does not help in real-time
> authentication, but in many authentication, there are good
> non-signature forms to authentication, such as authenticated key
> agreement.
>
>
> Collision resilience and wide pipe hashing?
>
> If h is a wide-pipe hash, then ECDSA_CFRG does not rely on collision
> resistance of h, at least strictly speaking
>
> As Kenny pointed in response to Watson, for a narrow-pipe hash,
> finding an extensible mid-pipe collision is known to be as easy as
> finding a collision.  For a wide-pipe hash this is not known: that is
> one the promising security aspects of wide pipe hash functions, at
> least as I understand it.

They are (conjectureally) separated: consider truncating SHA-2 to 64 bits
as an example.

>
> Furthermore, it was one of the security goals of the SHA-3 competition
> to act like a ROM.  An internal, extendable collision (m,m') such that
> h(m||R) = h(m'||R) for all R is a very non-ROM property.
> Consequently, there was considerable incentive during the SHA-3
> competition to find such an attack, and none was found for SHA-3
> (right?).
>
> So, collision resistance is not necessary for ECDSA_CFRG, if we assume
> a new conjecture security property of wide-pipe hashes like SHA-3.  In
> other words, ECDSA_CFRG_SHA3 is superficially resilient to SHA-3
> collisions.
>
>
>
> Re-using old security proofs?
>
> I expect that if we invoke ROM, then the Pointcheval-Stern forking
> lemma prove would apply to ECDSA_CFRG.  (I think that they even
> proposed such a modification to ECDSA).
>
> I expect that generic group model proofs for ECDSA could be adapted to
> ECDSA_CFRG.  (I think Koblitz and Menezes recently suggested this.)
>
>
> Conclusion
>
> Security is well-covered, on the theory and practice sides.
> Efficiency may not be optimal, but it is still pretty good.
>
>
> Best regards,
>
> Dan
>
>
>
>
> > -----Original Message-----
> > From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Alexey Melnikov
> > Sent: Sunday, June 21, 2015 5:52 AM
> > To: cfrg@irtf.org
> > Subject: [Cfrg] Soliciting EC signature scheme proposals
> >
> > Dear CFRG participants,
> >
> > We are now at the point where we have gathered sufficient requirements
> (not
> > necessarily NIST-compliant, deterministic, IUF interface) where it seems
> > sensible to invite proposals for signature schemes meeting those
> requirements.
> >
> > We would like to have proposals that are reasonably detailed so that
they
> can
> > be assessed properly by CFRG readers. We realise that doing fully
detailed
> > proposals would take a lot work, so we do not expect full-fledged
> proposals in
> > the style of a NIST competition (say). That said, we would like to
> encourage
> > proposers to explain the security properties of their proposals as well
as
> their
> > implementation characteristics, and to make proposals that are generic
in
> the
> > sense of being usable for either of the two curves that we have
previously
> > agreed upon.
> >
> > Please submit your proposals within 2 weeks (i.e. by July 5th); e-mails
to
> the
> > CFRG list are fine. We encourage constructive questions and
clarifications
> > about proposals as they are made. At this stage, we anticipate needing a
> longer
> > discussion period that extends beyond the 2 week submission period.
After
> > that, we may poll to decide on CFRG recommended scheme. Depending on
> > how the on-list discussions go in the next 4 weeks, we might also have
> face-to-
> > face discussion at the CFRG meeting planned for IETF 93 in Prague in
July.
> >
> > Best Regards,
> > CFRG Chairs.
> >
> > _______________________________________________
> > Cfrg mailing list
> > Cfrg@irtf.org
> > http://www.irtf.org/mailman/listinfo/cfrg
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>

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

<p dir=3D"ltr"><br>
On Jun 22, 2015 11:55 AM, &quot;Dan Brown&quot; &lt;<a href=3D"mailto:dbrow=
n@certicom.com">dbrown@certicom.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi CFRG,<br>
&gt;<br>
&gt; Consider an ECDSA_CFRG signature (R,s) of a message m under public key=
<br>
&gt; Q to be valid if:<br>
&gt;<br>
&gt; sR =3D h(m||R)G + f(R) Q<br>
&gt;<br>
&gt; An ECDSA_CFRG signature can be converted to a plain ECDSA signature<br=
>
&gt; (f(R),s) on message m||R under public key Q, so it can be verified<br>
&gt; using an ECDSA verifier, provided a compatible f is used.</p>
<p dir=3D"ltr">Could you explain how NSS, just to pick one example, would b=
e able to verify these signatures? It seems that the constraints on encodin=
g would force the use of Weierstrass big endian form, or sufficently big ch=
anges to make adding another scheme a rounding error in complexity. (I also=
 suspect a typo in above: f(R)/s would be more believable to me)</p>
<p dir=3D"ltr">There is also a cross protocol attack if the same key is use=
d for ECDSA=C2=A0 and this scheme.</p>
<p dir=3D"ltr">&gt;<br>
&gt; The signature scheme ECDSA_CFRG aims to improve on ECDSA upon by<br>
&gt; addressing most of the ECDSA security critiques.<br>
&gt;<br>
&gt;<br>
&gt; Notations<br>
&gt;<br>
&gt; The description assumes an encoding of EC points, indicated with<br>
&gt; uppercase letters, and conversion f of point encodings to integers, an=
d<br>
&gt; a (wide-pipe) hash function h(), e.g. SHA3.=C2=A0 Some tweaks of h, su=
ch as<br>
&gt; h&#39;, h&#39;&#39;, h&#39;&#39;&#39;, will be considered too.=C2=A0 F=
ix a base point G with a<br>
&gt; prime order n, with integer computations usually done mod n.<br>
&gt;<br>
&gt; Note that in the verification equation h(m||R) would be a truncated<br=
>
&gt; hash when backwards compatibility with ECDSA is needed.<br>
&gt;<br>
&gt;<br>
&gt; Signature generation, deterministic<br>
&gt;<br>
&gt; As usual, the signer&#39;s public key Q =3D dG for a private key d.<br=
>
&gt;<br>
&gt; The signer also has a secondary secret u, and computes k =3D h&#39;(u,=
m),<br>
&gt; where tweak h&#39; indicates a possible extended length to ensure that=
 k<br>
&gt; has more bits than n, to avoid bias in k.=C2=A0 Furthermore, we assume=
 that<br>
&gt; MAC(u,m) =3D h&#39;(u,m)G is secure as a MAC.=C2=A0 To help with this =
task, we<br>
&gt; may amend h&#39; to have a form like HMAC.</p>
<p dir=3D"ltr">MAC security is not sufficient. We need PRF.</p>
<p dir=3D"ltr">&gt;<br>
&gt; The signer computes R =3D (k+h(u,k)n)G, where here mod n is not applie=
d.<br>
&gt; So, R is a deterministic function of m, as CFRG has required, and it<b=
r>
&gt; is computed using additive masking to protect against side channels.</=
p>
<p dir=3D"ltr">This masking is deterministic: repeated signatures with of t=
he same message can be averaged to amplify observations.<br>
It&#39;s also clear that masking of nG with various countermeasures can be =
applied to all schemes in a variety of ways.</p>
<p dir=3D"ltr">&gt;<br>
&gt; Side note: the infamous and insecure repeated-k ECDSA failed signature=
<br>
&gt; are also &quot;deterministic&quot; functions of the message.=C2=A0 CFR=
G should<br>
&gt; probably choose a better name here, like &quot;pseudorandom&quot;.<br>
&gt;<br>
&gt; The private key d and the secondary secret u should (must?) be derived=
<br>
&gt; from a common secret seed (which is then destroyed - except see below)=
.<br>
&gt; (I think EdDSA works this way, right?) E.g d||u =3D h&#39;&#39;&#39;(s=
eed).=C2=A0 (This<br>
&gt; aims to protect against a poorly chosen u, and consequent predictable<=
br>
&gt; k.)<br>
&gt;<br>
&gt; Optionally: the signer can also prepare some single-use pairs (z,Z=3Dz=
G)<br>
&gt; and compute R as R =3D (((k/z) mod n) + h(u,k)n) Z.=C2=A0 Note: this i=
s<br>
&gt; multiplicative masking; because it is more expensive, it is optional.<=
br>
&gt; The pair (z,Z) can be computed before m is received.<br>
&gt;<br>
&gt; Optionally, the signer can use a single-affine-coordinate Montgomery<b=
r>
&gt; differential-addition chain ladder to compute R.=C2=A0 The full coordi=
nate<br>
&gt; representation of R can be recovered.<br>
&gt;<br>
&gt; The signer then computes (mod n)<br>
&gt;<br>
&gt; v =3D h&#39;&#39;(u,k) k.<br>
&gt;<br>
&gt; t =3D (h(m||R) + f(R) d) / v<br>
&gt;<br>
&gt; s =3D h&#39;&#39;(u,k) t<br>
&gt;<br>
&gt; So, s =3D (h(m||R) + f(R)d)/k, similar to ECDSA, but the signer<br>
&gt; must apply multiplicative masking to the inversion.=C2=A0 The actual<b=
r>
&gt; inversion of v should be done via Fermat&#39;s little theorem, but if<=
br>
&gt; every bit of speed is crucial, then v may be inverted using some form<=
br>
&gt; of Euclidean algorithm.=C2=A0 Note that, unlike some previous ECDSA<br=
>
&gt; standards, k is not inverted directly.<br>
&gt;<br>
&gt; For a long message m, the signer computes k =3D h&#39;(u,m) and h(m||R=
) in<br>
&gt; tandem, without buffering the whole of m, as required by the IUF<br>
&gt; condition.<br>
&gt;<br>
&gt; Overall, the signature generation process aims to reduce the risk of<b=
r>
&gt; side channels associated with k, because this is a known critical area=
<br>
&gt; of most DL-based signatures.<br>
&gt;<br>
&gt;<br>
&gt; Verification speedups (optional)<br>
&gt;<br>
&gt; The use of (R,s) instead of (r,s) has some known advantages, which are=
<br>
&gt; reviewed here.<br>
&gt;<br>
&gt; Instead of computing 1/s mod n, etc. as some ECDSA standards describe,=
<br>
&gt; one can compute h(R||m)G quickly using pre-computed tables for G, and<=
br>
&gt; then compare this against sR - f(R)Q, which can be computed using<br>
&gt; multi-scalar multiplication methods.<br>
&gt;<br>
&gt; Batch verification is fairly straightforward, just add the equations<b=
r>
&gt; together (perhaps randomly scaling) etc.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Security arguments against various attacks<br>
&gt;<br>
&gt;<br>
&gt; Side channels?<br>
&gt;<br>
&gt; Standard side channel protections above are mandated, though perhaps I=
<br>
&gt; missed some.<br>
&gt;<br>
&gt;<br>
&gt; Signerless (passive, key-only) forgery<br>
&gt;<br>
&gt; Forging ECDSA_CFRG without the help of a signer implies an ECDSA<br>
&gt; forgery.<br>
&gt;<br>
&gt; So, ECDSA_CFRG is at least as secure as ECDSA against signerless<br>
&gt; (passive) forgers.<br>
&gt;<br>
&gt;<br>
&gt; Signer-assisted forgery?<br>
&gt;<br>
&gt; Unfortunately, I don&#39;t have a way to directly convert a more gener=
al<br>
&gt; ECDSA_CFRG forger, i.e., one that exploits the signer as an oracle,<br=
>
&gt; into the corresponding ECDSA forger, because an ECDSA signer does not<=
br>
&gt; seem to convertible into an ECDSA_CFRG signer.</p>
<p dir=3D"ltr">There already is a deterministic, batchable version of ECDSA=
: transmit R instead of r.<br>
&gt;<br>
&gt; This theoretical obstacle might mean that there are some degenerate<br=
>
&gt; forms of hash functions in which exploiting an ECDSA_CFRG signer makes=
<br>
&gt; forgery easier.<br>
&gt;<br>
&gt;<br>
&gt; Repudiation and MAC<br>
&gt;<br>
&gt; Suppose an ECDSA_CFRG forgery (R&#39;,s&#39;) of message m has the pro=
perty<br>
&gt; that R&#39; =3D h&#39;(u,m)G, so that (R&#39;,s&#39;) is the same sign=
ature that the<br>
&gt; honest signer would produce.=C2=A0 Since the signer did not sign m, th=
e<br>
&gt; forger has essentially defeated the security of MAC(u,m) =3D h&#39;(u,=
m)G.<br>
&gt;<br>
&gt; It seems reasonable to conjecture that this is infeasible of h&#39;(u,=
m)<br>
&gt; is a secure MAC.<br>
&gt;<br>
&gt; Otherwise the forgery (R&#39;,s&#39;) is not what the signer would pro=
duce,<br>
&gt; and in particular, R&#39; is not of the form h&#39;(u,m) G.=C2=A0 An E=
CDSA_CFRG<br>
&gt; signer can try to repudiate the forgery (R&#39;,s&#39;) as follows.=C2=
=A0 The<br>
&gt; signer generates signature (R,s) and then provides a zero-knowledge<br=
>
&gt; proof that R =3D h&#39;(u,m)G, provide that the signer has a previousl=
y<br>
&gt; register commitment to the value of u.=C2=A0 (Or, the signer could kee=
p the<br>
&gt; seed from which d and u are derived, and then provide a ZK proof that<=
br>
&gt; R and Q are ultimately derived from the same seed.)<br>
&gt;<br>
&gt; Of course, such a repudiation does not help in real-time<br>
&gt; authentication, but in many authentication, there are good<br>
&gt; non-signature forms to authentication, such as authenticated key<br>
&gt; agreement.<br>
&gt;<br>
&gt;<br>
&gt; Collision resilience and wide pipe hashing?<br>
&gt;<br>
&gt; If h is a wide-pipe hash, then ECDSA_CFRG does not rely on collision<b=
r>
&gt; resistance of h, at least strictly speaking<br>
&gt;<br>
&gt; As Kenny pointed in response to Watson, for a narrow-pipe hash,<br>
&gt; finding an extensible mid-pipe collision is known to be as easy as<br>
&gt; finding a collision.=C2=A0 For a wide-pipe hash this is not known: tha=
t is<br>
&gt; one the promising security aspects of wide pipe hash functions, at<br>
&gt; least as I understand it.</p>
<p dir=3D"ltr">They are (conjectureally) separated: consider truncating SHA=
-2 to 64 bits as an example.</p>
<p dir=3D"ltr">&gt;<br>
&gt; Furthermore, it was one of the security goals of the SHA-3 competition=
<br>
&gt; to act like a ROM.=C2=A0 An internal, extendable collision (m,m&#39;) =
such that<br>
&gt; h(m||R) =3D h(m&#39;||R) for all R is a very non-ROM property.<br>
&gt; Consequently, there was considerable incentive during the SHA-3<br>
&gt; competition to find such an attack, and none was found for SHA-3<br>
&gt; (right?).<br>
&gt;<br>
&gt; So, collision resistance is not necessary for ECDSA_CFRG, if we assume=
<br>
&gt; a new conjecture security property of wide-pipe hashes like SHA-3.=C2=
=A0 In<br>
&gt; other words, ECDSA_CFRG_SHA3 is superficially resilient to SHA-3<br>
&gt; collisions.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Re-using old security proofs?<br>
&gt;<br>
&gt; I expect that if we invoke ROM, then the Pointcheval-Stern forking<br>
&gt; lemma prove would apply to ECDSA_CFRG.=C2=A0 (I think that they even<b=
r>
&gt; proposed such a modification to ECDSA).<br>
&gt;<br>
&gt; I expect that generic group model proofs for ECDSA could be adapted to=
<br>
&gt; ECDSA_CFRG.=C2=A0 (I think Koblitz and Menezes recently suggested this=
.)<br>
&gt;<br>
&gt;<br>
&gt; Conclusion<br>
&gt;<br>
&gt; Security is well-covered, on the theory and practice sides.<br>
&gt; Efficiency may not be optimal, but it is still pretty good.<br>
&gt;<br>
&gt;<br>
&gt; Best regards,<br>
&gt;<br>
&gt; Dan<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &gt; -----Original Message-----<br>
&gt; &gt; From: Cfrg [mailto:<a href=3D"mailto:cfrg-bounces@irtf.org">cfrg-=
bounces@irtf.org</a>] On Behalf Of Alexey Melnikov<br>
&gt; &gt; Sent: Sunday, June 21, 2015 5:52 AM<br>
&gt; &gt; To:<a href=3D"mailto:cfrg@irtf.org"> cfrg@irtf.org</a><br>
&gt; &gt; Subject: [Cfrg] Soliciting EC signature scheme proposals<br>
&gt; &gt;<br>
&gt; &gt; Dear CFRG participants,<br>
&gt; &gt;<br>
&gt; &gt; We are now at the point where we have gathered sufficient require=
ments<br>
&gt; (not<br>
&gt; &gt; necessarily NIST-compliant, deterministic, IUF interface) where i=
t seems<br>
&gt; &gt; sensible to invite proposals for signature schemes meeting those<=
br>
&gt; requirements.<br>
&gt; &gt;<br>
&gt; &gt; We would like to have proposals that are reasonably detailed so t=
hat they<br>
&gt; can<br>
&gt; &gt; be assessed properly by CFRG readers. We realise that doing fully=
 detailed<br>
&gt; &gt; proposals would take a lot work, so we do not expect full-fledged=
<br>
&gt; proposals in<br>
&gt; &gt; the style of a NIST competition (say). That said, we would like t=
o<br>
&gt; encourage<br>
&gt; &gt; proposers to explain the security properties of their proposals a=
s well as<br>
&gt; their<br>
&gt; &gt; implementation characteristics, and to make proposals that are ge=
neric in<br>
&gt; the<br>
&gt; &gt; sense of being usable for either of the two curves that we have p=
reviously<br>
&gt; &gt; agreed upon.<br>
&gt; &gt;<br>
&gt; &gt; Please submit your proposals within 2 weeks (i.e. by July 5th); e=
-mails to<br>
&gt; the<br>
&gt; &gt; CFRG list are fine. We encourage constructive questions and clari=
fications<br>
&gt; &gt; about proposals as they are made. At this stage, we anticipate ne=
eding a<br>
&gt; longer<br>
&gt; &gt; discussion period that extends beyond the 2 week submission perio=
d. After<br>
&gt; &gt; that, we may poll to decide on CFRG recommended scheme. Depending=
 on<br>
&gt; &gt; how the on-list discussions go in the next 4 weeks, we might also=
 have<br>
&gt; face-to-<br>
&gt; &gt; face discussion at the CFRG meeting planned for IETF 93 in Prague=
 in July.<br>
&gt; &gt;<br>
&gt; &gt; Best Regards,<br>
&gt; &gt; CFRG Chairs.<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>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Cfrg mailing list<br>
&gt;<a href=3D"mailto:Cfrg@irtf.org"> Cfrg@irtf.org</a><br>
&gt;<a href=3D"http://www.irtf.org/mailman/listinfo/cfrg"> http://www.irtf.=
org/mailman/listinfo/cfrg</a><br>
&gt;<br>
</p>

--f46d041825e2a5e0a00519204656--


From nobody Mon Jun 22 13:43:46 2015
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 5DBA71ACDA7 for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 13:43:45 -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_31=0.6, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F6PYaoqrt7X8 for <cfrg@ietfa.amsl.com>; Mon, 22 Jun 2015 13:43:43 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 30E841ACDA4 for <cfrg@irtf.org>; Mon, 22 Jun 2015 13:43:42 -0700 (PDT)
Received: from xct101cnc.rim.net ([10.65.161.201]) by mhs210cnc.rim.net with ESMTP/TLS/AES128-SHA; 22 Jun 2015 16:43:42 -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.0210.002; Mon, 22 Jun 2015 16:43:41 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'watsonbladd@gmail.com'" <watsonbladd@gmail.com>
Thread-Topic: [Cfrg] Soliciting EC signature scheme proposals
Thread-Index: AQHQrAgAXKF7WNmL7kW9aEI5ItVYbJ244EmQgABN4oD//8M1cA==
Date: Mon, 22 Jun 2015 20:43:40 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5DFF975@XMB116CNC.rim.net>
References: <5586895A.3020607@isode.com> <810C31990B57ED40B2062BA10D43FBF5DFF8F5@XMB116CNC.rim.net> <CACsn0cn2H=mnWF9nAZKX=FviPTEJAchE99K2f_Oji2-UDrd=fQ@mail.gmail.com>
In-Reply-To: <CACsn0cn2H=mnWF9nAZKX=FviPTEJAchE99K2f_Oji2-UDrd=fQ@mail.gmail.com>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.252]
Content-Type: multipart/alternative; boundary="_000_810C31990B57ED40B2062BA10D43FBF5DFF975XMB116CNCrimnet_"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/BvXiue84YOYjC7KwZOZoJuvSJYE>
Cc: "'cfrg@irtf.org'" <cfrg@irtf.org>
Subject: Re: [Cfrg] Soliciting EC signature scheme proposals
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@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, 22 Jun 2015 20:43:45 -0000

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

DQoNCkZyb206IFdhdHNvbiBMYWRkIFttYWlsdG86d2F0c29uYmxhZGRAZ21haWwuY29tXQ0KPiBD
b25zaWRlciBhbiBFQ0RTQV9DRlJHIHNpZ25hdHVyZSAoUixzKSBvZiBhIG1lc3NhZ2UgbSB1bmRl
ciBwdWJsaWMga2V5DQo+IFEgdG8gYmUgdmFsaWQgaWY6DQo+DQo+IHNSID0gaChtfHxSKUcgKyBm
KFIpIFENCj4NCj4gQW4gRUNEU0FfQ0ZSRyBzaWduYXR1cmUgY2FuIGJlIGNvbnZlcnRlZCB0byBh
IHBsYWluIEVDRFNBIHNpZ25hdHVyZQ0KPiAoZihSKSxzKSBvbiBtZXNzYWdlIG18fFIgdW5kZXIg
cHVibGljIGtleSBRLCBzbyBpdCBjYW4gYmUgdmVyaWZpZWQNCj4gdXNpbmcgYW4gRUNEU0EgdmVy
aWZpZXIsIHByb3ZpZGVkIGEgY29tcGF0aWJsZSBmIGlzIHVzZWQuDQoNCkNvdWxkIHlvdSBleHBs
YWluIGhvdyBOU1MsIGp1c3QgdG8gcGljayBvbmUgZXhhbXBsZSwgd291bGQgYmUgYWJsZSB0byB2
ZXJpZnkgdGhlc2Ugc2lnbmF0dXJlcz8gSXQgc2VlbXMgdGhhdCB0aGUgY29uc3RyYWludHMgb24g
ZW5jb2Rpbmcgd291bGQgZm9yY2U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XY+DQo8L2Rpdj4NCjwvYm9keT4NCjwvaHRtbD4NCg==

--_000_810C31990B57ED40B2062BA10D43FBF5DFF975XMB116CNCrimnet_--


From nobody Tue Jun 23 01:00:18 2015
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 066B41A904D for <cfrg@ietfa.amsl.com>; Tue, 23 Jun 2015 01:00:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.799
X-Spam-Level: 
X-Spam-Status: No, score=0.799 tagged_above=-999 required=5 tests=[BAYES_50=0.8, 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 uUxGA43xGArX for <cfrg@ietfa.amsl.com>; Tue, 23 Jun 2015 01:00:14 -0700 (PDT)
Received: from emh07.mail.saunalahti.fi (emh07.mail.saunalahti.fi [62.142.5.117]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EFFA11A8FD3 for <cfrg@irtf.org>; Tue, 23 Jun 2015 01:00:13 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh07.mail.saunalahti.fi (Postfix) with ESMTP id 8E0704015; Tue, 23 Jun 2015 11:00:11 +0300 (EEST)
Date: Tue, 23 Jun 2015 11:00:11 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Watson Ladd <watsonbladd@gmail.com>
Message-ID: <20150623080011.GA10346@LK-Perkele-VII>
References: <CACsn0cm9rHw1EDAm=YbsN1PLQQkk3oz6qV5APtcTuir4uxyzUQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CACsn0cm9rHw1EDAm=YbsN1PLQQkk3oz6qV5APtcTuir4uxyzUQ@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/O48p3vv60AiM_8crsYLx1f8iSnA>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Signature proposal
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Jun 2015 08:00:17 -0000

On Sun, Jun 21, 2015 at 08:54:59PM -0700, Watson Ladd wrote:
> 
> We write E: (-1)y^4+x^4=1+dx^2y^2 as the affine form of an Edwards
> curve, possibly twisted over p. We represent values in F_p as
> little-endian fixed width length vectors of bytes of the
> representative in {0,1,\ldots p-1}. Define a value in F_p as negative
> if its smallest representative is less than p-1/2, and positive
> otherwise. We encode a point on E as the y coordinate followed by a
> byte which is 0 if the x coordinate negative, 1 if the x coordinate
> positive. Let q be the order of the large prime subgroup of E.

Did you mean E: (-1)x^2+y^2=1+dx^2y^2? AFAIK, Usually the a twist
factor is on x, and usually the lhs terms are quadric.

Also, isn't the usual negative/positive criteria when working on
curves that are possibly of fields of size 4k+1 the LSB of the
representative? I think that might be easier to get than comparing
the coordinate with (p-1)/2.


-Ilari


From nobody Tue Jun 23 03:18:01 2015
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 A338D1ACE34 for <cfrg@ietfa.amsl.com>; Tue, 23 Jun 2015 03:18:00 -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 eDc1sr4X94OX for <cfrg@ietfa.amsl.com>; Tue, 23 Jun 2015 03:17:58 -0700 (PDT)
Received: from emh01.mail.saunalahti.fi (emh01.mail.saunalahti.fi [62.142.5.107]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EDE391ACE2E for <cfrg@irtf.org>; Tue, 23 Jun 2015 03:17:57 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh01.mail.saunalahti.fi (Postfix) with ESMTP id 4933A9007B; Tue, 23 Jun 2015 13:17:55 +0300 (EEST)
Date: Tue, 23 Jun 2015 13:17:55 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Dan Brown <dbrown@certicom.com>
Message-ID: <20150623101755.GA11611@LK-Perkele-VII>
References: <5586895A.3020607@isode.com> <810C31990B57ED40B2062BA10D43FBF5DFF8F5@XMB116CNC.rim.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5DFF8F5@XMB116CNC.rim.net>
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/zuE0RcRpddlh0XI7znOj1RqzCks>
Cc: "'cfrg@irtf.org'" <cfrg@irtf.org>
Subject: Re: [Cfrg] Soliciting EC signature scheme proposals
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Jun 2015 10:18:00 -0000

On Mon, Jun 22, 2015 at 06:54:54PM +0000, Dan Brown wrote:
> Hi CFRG,
> 
> Consider an ECDSA_CFRG signature (R,s) of a message m under public key
> Q to be valid if:
> 
> sR = h(m||R)G + f(R) Q
> 
> An ECDSA_CFRG signature can be converted to a plain ECDSA signature
> (f(R),s) on message m||R under public key Q, so it can be verified
> using an ECDSA verifier, provided a compatible f is used.

I don't think any kind of ECDSA compatiblity is a goal.
 
> The signature scheme ECDSA_CFRG aims to improve on ECDSA upon by
> addressing most of the ECDSA security critiques.

I have two main critiques of ECDSA:
- Requiring highly random k (one can pseudorandomly generate one if
  one doesn't care about strict ECDSA compliance).
- Inversion mod order in signing.

> The signer computes R = (k+h(u,k)n)G, where here mod n is not applied.
> So, R is a deterministic function of m, as CFRG has required, and it
> is computed using additive masking to protect against side channels.

Most software does not need additive masking against side channels, only
devices in hostile environments do. Also, the masking if present needs
to be random, not deterministic (as noted by Ladd).
 
> The private key d and the secondary secret u should (must?) be derived
> from a common secret seed (which is then destroyed - except see below).
> (I think EdDSA works this way, right?) E.g d||u = h'''(seed).  (This
> aims to protect against a poorly chosen u, and consequent predictable
> k.)

EdDSA can store either the derived components or the seed used to
generate those. The hashing somewhat protects against poor choices of
the derived parameters.
 
> Optionally: the signer can also prepare some single-use pairs (z,Z=zG)
> and compute R as R = (((k/z) mod n) + h(u,k)n) Z.  Note: this is
> multiplicative masking; because it is more expensive, it is optional.
> The pair (z,Z) can be computed before m is received.

I don't see benefit in doing this, since it seemingly does not cut
latency (prederiving R would, as it would just leave the scalar part
to be done after signing).

> Optionally, the signer can use a single-affine-coordinate Montgomery
> differential-addition chain ladder to compute R.  The full coordinate
> representation of R can be recovered.
> 
> The signer then computes (mod n)
> 
> v = h''(u,k) k.  
> 
> t = (h(m||R) + f(R) d) / v
> 
> s = h''(u,k) t

Inversion mod order there?

The major problem I have with inversions mod order are:
- Those are slow, especially if you want side channel resistance.
- Those easily open up side channels (modern OSes and hardawre are
  ridiculously vulernable here).

> For a long message m, the signer computes k = h'(u,m) and h(m||R) in
> tandem, without buffering the whole of m, as required by the IUF
> condition.

I think such double computations would cause problems in some
protocols (e.g. TLS 1.2).
 
> Overall, the signature generation process aims to reduce the risk of
> side channels associated with k, because this is a known critical area
> of most DL-based signatures.

Also, if one does serious software sidechannel checks, blinding is
not enough to pass those, one needs already constant-time code (one
can then implement blinding on top if one needs to).

> Verification speedups (optional)
> 
> The use of (R,s) instead of (r,s) has some known advantages, which are
> reviewed here.
> 
> Batch verification is fairly straightforward, just add the equations
> together (perhaps randomly scaling) etc.

I thought batch verification needs R? 
 
> Security arguments against various attacks
> 
> Side channels?
> 
> Standard side channel protections above are mandated, though perhaps I
> missed some.

Inversion... Yes, fermat is side-channel safe, except it is quite a bit
slower than EGCD, which isn't.

> Collision resilience and wide pipe hashing?
> 
> As Kenny pointed in response to Watson, for a narrow-pipe hash,
> finding an extensible mid-pipe collision is known to be as easy as
> finding a collision.  For a wide-pipe hash this is not known: that is
> one the promising security aspects of wide pipe hash functions, at
> least as I understand it.

Unfortunately, there doesn't seem to be good wide-pipe hashes at lengths
needed. I know two wide-pipe hashes at 512 bits with serious analysis:

1) Skein-1024-512 (SHA-3 finalist). ~6.83 cpb on Haswell. About 15%
   faster than SHA-512.
2) Keccak-512 (SHA-3 winner). ~16.57 cpb on Haswell. About half(!) of
   SHA-512 speed.

None of the other SHA-3 finalists (or derivates thereof) are capable of
widepipe at 512-bits.

And this is compounded here by the fact that hash is computed twice
(pehaps even with in parallel with other hashes).


-Ilari


From nobody Tue Jun 23 06:50:38 2015
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 DC47D1A8A16 for <cfrg@ietfa.amsl.com>; Tue, 23 Jun 2015 06:50:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11grwCXVeTxB for <cfrg@ietfa.amsl.com>; Tue, 23 Jun 2015 06:50:34 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 62C491A8A13 for <cfrg@irtf.org>; Tue, 23 Jun 2015 06:50:33 -0700 (PDT)
Received: from xct107cnc.rim.net ([10.65.161.207]) by mhs211cnc.rim.net with ESMTP/TLS/AES128-SHA; 23 Jun 2015 09:50:25 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT107CNC.rim.net ([fe80::b815:71ef:9f8f:e07c%16]) with mapi id 14.03.0210.002; Tue, 23 Jun 2015 09:50:25 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'ilari.liusvaara@elisanet.fi'" <ilari.liusvaara@elisanet.fi>
Thread-Topic: ECDSA_CFRG ... RE: [Cfrg] Soliciting EC signature scheme proposals
Thread-Index: AdCtuf2eTW2AmFQDSZupUFzsV6iwZQ==
Date: Tue, 23 Jun 2015 13:50:24 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5DFFC4E@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_0005_01D0AD9A.06A686D0"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/z1lYP7cDq9641RFfCQ-ZPA_icMM>
Cc: "'cfrg@irtf.org'" <cfrg@irtf.org>
Subject: [Cfrg] ECDSA_CFRG ... RE: Soliciting EC signature scheme proposals
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Jun 2015 13:50:38 -0000

------=_NextPart_000_0005_01D0AD9A.06A686D0
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: 7bit

Hi Ilari,

Thanks for the feedback.  Responses in-line.

I renamed this thread to ECDSA_CFRG, for better specificity (also making it 
easier to ignore).

> -----Original Message-----
> From: Ilari Liusvaara [mailto:ilari.liusvaara@elisanet.fi]
> Sent: Tuesday, June 23, 2015 6:18 AM
>
> On Mon, Jun 22, 2015 at 06:54:54PM +0000, Dan Brown wrote:
> > Hi CFRG,
> >
> > Consider an ECDSA_CFRG signature (R,s) of a message m under public key
> > Q to be valid if:
> >
> > sR = h(m||R)G + f(R) Q
> >
> > An ECDSA_CFRG signature can be converted to a plain ECDSA signature
> > (f(R),s) on message m||R under public key Q, so it can be verified
> > using an ECDSA verifier, provided a compatible f is used.
>
> I don't think any kind of ECDSA compatiblity is a goal.

[DB] Ok, it was my individual goal, just a bonus for CFRG.

>
> > The signature scheme ECDSA_CFRG aims to improve on ECDSA upon by
> > addressing most of the ECDSA security critiques.
>
> I have two main critiques of ECDSA:
> - Requiring highly random k (one can pseudorandomly generate one if
>   one doesn't care about strict ECDSA compliance).

[DB]  All DL-based signatures, not just ECDSA, require, for _security_, k of 
sufficient quality.  By strict ECDSA compliance, I assume you refer to 
standards, and by highly random, maybe you mean entropy per k?  Recent ECDSA 
standards require a well-seeded CSPRNG, with re-trials or extra bits, but this 
does not require new entropy per k.  Older ECDSA standards are more vague, so 
it's hard to pin down "strict compliance".

> - Inversion mod order in signing.
[DB] I said _security_ critiques: so I suggested two security protections.
>
[DB] You didn't list ECDSA's need for collision resistance (in other words, 
lack of collision resilience).  I think a few others wanted that.

> > The signer computes R = (k+h(u,k)n)G, where here mod n is not applied.
> > So, R is a deterministic function of m, as CFRG has required, and it
> > is computed using additive masking to protect against side channels.
>
> Most software does not need additive masking against side channels, only
> devices in hostile environments do. Also, the masking if present needs to be
> random, not deterministic (as noted by Ladd).
>
> > The private key d and the secondary secret u should (must?) be derived
> > from a common secret seed (which is then destroyed - except see below).
> > (I think EdDSA works this way, right?) E.g d||u = h'''(seed).  (This
> > aims to protect against a poorly chosen u, and consequent predictable
> > k.)
>
> EdDSA can store either the derived components or the seed used to generate
> those. The hashing somewhat protects against poor choices of the derived
> parameters.
>
> > Optionally: the signer can also prepare some single-use pairs (z,Z=zG)
> > and compute R as R = (((k/z) mod n) + h(u,k)n) Z.  Note: this is
> > multiplicative masking; because it is more expensive, it is optional.
> > The pair (z,Z) can be computed before m is received.
>
> I don't see benefit in doing this, since it seemingly does not cut latency
> (prederiving R would, as it would just leave the scalar part to be done 
> after
> signing).
>
[DB] The benefit is security, not efficiency.  Multiplicative masking offers 
an extra degree of side channel protection, because the scalar multiplication, 
the largest potential side channel, is now completely independent of the k, 
which is critical to protect from side channel.  Note that the additive 
masking and constant-time implementation do not offer full independence, 
because k enters in the scalar multiplication.  In this multiplicative k only 
enters into a mod n multiplication k * (1/z) mod n, which, as a simpler 
computation, ought to be easier to protect against side channels.

> > Optionally, the signer can use a single-affine-coordinate Montgomery
> > differential-addition chain ladder to compute R.  The full coordinate
> > representation of R can be recovered.
> >
> > The signer then computes (mod n)
> >
> > v = h''(u,k) k.
> >
> > t = (h(m||R) + f(R) d) / v
> >
> > s = h''(u,k) t
>
> Inversion mod order there?
>
> The major problem I have with inversions mod order are:
> - Those are slow, especially if you want side channel resistance.
> - Those easily open up side channels (modern OSes and hardawre are
>   ridiculously vulernable here).
>
[DB]  Yes, it may be slow.  Multiplicative masking is used.  Perhaps v should 
be randomized, rather than deterministic.

By the way, all DL-based already need inversion mod field size to switch from 
projective to affine.   Smart and Malone-Lee [+others?] showed that projective 
coordinates leak, so one should already be taking side channel protections for 
inversion.

If the inversion mod field size uses Fermat inversion, and the inversion mod 
order can be done with EGCD (assuming the multiplicative masking 
countermeasure works), the relative cost of the inversion mod order should be 
quite low.

> > For a long message m, the signer computes k = h'(u,m) and h(m||R) in
> > tandem, without buffering the whole of m, as required by the IUF
> > condition.
>
> I think such double computations would cause problems in some protocols
> (e.g. TLS 1.2).

[DB]  Hmm, why?  Is it too slow?

I suppose that a less conservative approach that I mentioned in a previous 
email (suffix ...) could avoid the double comp, by deriving R from an internal 
state of SHA3, ... I'd have to look into the SHA3/Keccak specification to see 
if they already offer such a mechanism, else it would be a hack.

>
> > Overall, the signature generation process aims to reduce the risk of
> > side channels associated with k, because this is a known critical area
> > of most DL-based signatures.
>
> Also, if one does serious software sidechannel checks, blinding is not 
> enough to
> pass those, one needs already constant-time code (one can then implement
> blinding on top if one needs to).
>
[DB] Yes, we should mandate constant-code for the signer.

> > Verification speedups (optional)
> >
> > The use of (R,s) instead of (r,s) has some known advantages, which are
> > reviewed here.
> >
> > Batch verification is fairly straightforward, just add the equations
> > together (perhaps randomly scaling) etc.
>
> I thought batch verification needs R?
>
[DB] Huh?  I wrote above that ECDSA_CFRG provides R, I thought this was clear.

> > Security arguments against various attacks
> >
> > Side channels?
> >
> > Standard side channel protections above are mandated, though perhaps I
> > missed some.
>
> Inversion... Yes, fermat is side-channel safe, except it is quite a bit 
> slower than
> EGCD, which isn't.
>
[DB] Multiplicatively masking is the protection. Never mind EGCD: suppose the 
v above is public.  I already sent an email to CFRB about this, and I don't 
recall any complaints.  What's your attack?

> > Collision resilience and wide pipe hashing?
> >
> > As Kenny pointed in response to Watson, for a narrow-pipe hash,
> > finding an extensible mid-pipe collision is known to be as easy as
> > finding a collision.  For a wide-pipe hash this is not known: that is
> > one the promising security aspects of wide pipe hash functions, at
> > least as I understand it.
>
> Unfortunately, there doesn't seem to be good wide-pipe hashes at lengths
> needed. I know two wide-pipe hashes at 512 bits with serious analysis:
>
> 1) Skein-1024-512 (SHA-3 finalist). ~6.83 cpb on Haswell. About 15%
>    faster than SHA-512.
> 2) Keccak-512 (SHA-3 winner). ~16.57 cpb on Haswell. About half(!) of
>    SHA-512 speed.
>
> None of the other SHA-3 finalists (or derivates thereof) are capable of
> widepipe at 512-bits.
>
[DB] Ok, I just assumed SHA-3 could do this.  Looking on Wikipedia, I see 
SHA-3-512 has a capacity of 1024 and rate of 576, so this seems wide-pipe to 
me.  Also, Wikipedia says that the capacity must be double the security level 
for collision resistance. But I'm no expert: what am I missing?

> And this is compounded here by the fact that hash is computed twice (pehaps
> even with in parallel with other hashes).
>
[DB] Ok, a highly constrained of long messages could shortcut the R 
computation, as I alluded to above.  Of course, this should be well-specified 
to avoid self-rolling pitfalls.  I will look into this.


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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICClvwCZYABAA8faIwDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGMB4XDTE1MDQxMDIxMjgwNFoXDTE2MDQwMjAxMTEwNVowgaQxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xDTALBgNVBAsTBEFNRVIxCzAJBgNVBAsTAkNBMRQwEgYD
VQQLEwtNaXNzaXNzYXVnYTEOMAwGA1UECxMFVXNlcnMxEjAQBgNVBAMTCURhbiBCcm93bjEiMCAG
CSqGSIb3DQEJARYTZGJyb3duQGNlcnRpY29tLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
gYEAnqyPpiXJ8uIKCHaqpEmU2q/9KYQJi6yizaJruUGAoUstFzjV7XymMDqnaZqLR/QQoR3Qojm2
pjb3luP0P+37tro+PlKEgODyauhfaT78GLlJHq3GZxI6N27UHyYHWGFglAh6uCaHcGBitBZCyEFr
n+FDG5cYb89jhPuiZWu48ocCAwEAAaOCA5gwggOUMAsGA1UdDwQEAwIFoDBEBgkqhkiG9w0BCQ8E
NzA1MA4GCCqGSIb3DQMCAgIAgDAOBggqhkiG9w0DBAICAIAwBwYFKw4DAgcwCgYIKoZIhvcNAwcw
FwYJKwYBBAGCNxQCBAoeCABVAHMAZQByMCkGA1UdJQQiMCAGCisGAQQBgjcKAwQGCCsGAQUFBwME
BggrBgEFBQcDAjBBBgNVHREEOjA4oCEGCisGAQQBgjcUAgOgEwwRZGFuaWJyb3duQHJpbS5uZXSB
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DYyMzEzNTAyNFowIwYJKoZIhvcNAQkEMRYEFKAv
IbOrD7XEn6aGbOQRqUE5f0Z/MG0GCSsGAQQBgjcQBDFgMF4wUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGAgpb8AmWAAQAPH2iMG8GCyqGSIb3DQEJEAILMWCgXjBQMRMwEQYKCZImiZPyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZ
S0YCClvwCZYABAA8faIwgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYAwbLVSt7pe4vDG0ZPMD/cJ48JABe4G
i9tHzLclZcWoimIAWWkKgjZnjT77PbH/zCsvqKtd2h4RbiIVu2KFQW25U0E2s2U2RuOx1n9Cp78t
NRRXN06hO1nsYiwMkrznOENd3ed7XJcWmiVlVM2jIZ67m+3Pw97P3H0Q/um5vHbrjAAAAAAAAA==

------=_NextPart_000_0005_01D0AD9A.06A686D0--


From nobody Tue Jun 23 08:14:11 2015
Return-Path: <quynh.dang@nist.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 3AE8D1B2CD7 for <cfrg@ietfa.amsl.com>; Tue, 23 Jun 2015 08:14: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, RCVD_IN_DNSWL_NONE=-0.0001, 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 RP4i40Spto3k for <cfrg@ietfa.amsl.com>; Tue, 23 Jun 2015 08:14:07 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0132.outbound.protection.outlook.com [207.46.100.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BE0751B2D0C for <cfrg@irtf.org>; Tue, 23 Jun 2015 08:14:03 -0700 (PDT)
Received: from BN1PR09MB123.namprd09.prod.outlook.com (10.255.200.25) by BN1PR09MB043.namprd09.prod.outlook.com (10.255.201.146) with Microsoft SMTP Server (TLS) id 15.1.195.15; Tue, 23 Jun 2015 15:14:02 +0000
Received: from BN1PR09MB124.namprd09.prod.outlook.com (10.255.200.27) by BN1PR09MB123.namprd09.prod.outlook.com (10.255.200.25) with Microsoft SMTP Server (TLS) id 15.1.195.15; Tue, 23 Jun 2015 15:14:01 +0000
Received: from BN1PR09MB124.namprd09.prod.outlook.com ([10.255.200.27]) by BN1PR09MB124.namprd09.prod.outlook.com ([10.255.200.27]) with mapi id 15.01.0195.005; Tue, 23 Jun 2015 15:14:01 +0000
From: "Dang, Quynh" <quynh.dang@nist.gov>
To: "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: Performance of SHA-512 vs Keccak [c = 512] ( SHAKE256) for 512-bit hash output. 
Thread-Index: AQHQrcc8bXmUuA+P60qM84GXP40LGA==
Date: Tue, 23 Jun 2015 15:14:01 +0000
Message-ID: <BN1PR09MB1241B23CB61F6A3CAADCFFBF3A00@BN1PR09MB124.namprd09.prod.outlook.com>
References: <5586895A.3020607@isode.com> <810C31990B57ED40B2062BA10D43FBF5DFF8F5@XMB116CNC.rim.net>, <20150623101755.GA11611@LK-Perkele-VII>
In-Reply-To: <20150623101755.GA11611@LK-Perkele-VII>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: irtf.org; dkim=none (message not signed) header.d=none;
x-originating-ip: [129.6.230.6]
x-microsoft-exchange-diagnostics: 1; BN1PR09MB123; 5:YHIb/X0JTQQEDp6wn58yycsfFVkWp0Ihvhloa60udXGLOYbfJjpjfDfSjtZF6/KUcS79w0G8kBtZyB4A6vY8K+/xSRXG8evQ31okh9w2X90CYv6uGYv+YQwScDVB44wxOWoMoIkBJ9a/hlevvmI5JA==; 24:51LAS4J73Kof8W3Xu4e76kc5+liqyj+TnwcDpx+eIG/IrhndQboWxZs5JV31AuRk09aqHw6VxMY42YorLBN7tIbdUx1ZNAOIzRU3jisrOtU=; 20:3YQbMSVM7kMRavLPvXAn+kXPI6qf3AiB9ps09IG4YEwqQbubm5sgb573O9K6TJslcIpTnu4D0VhjVl9ukj/UZA==
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BN1PR09MB123; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BN1PR09MB043; 
x-microsoft-antispam-prvs: <BN1PR09MB1235376EB43A99CEF964AC9F3A00@BN1PR09MB123.namprd09.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BN1PR09MB123; BCL:0; PCL:0; RULEID:; SRVR:BN1PR09MB123; 
x-forefront-prvs: 06167FAD59
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(6009001)(53754006)(66066001)(33656002)(54356999)(122556002)(93376004)(50986999)(77096005)(102836002)(15975445007)(229853001)(40100003)(74316001)(76176999)(2656002)(87936001)(15188555004)(86362001)(106116001)(19580395003)(99286002)(77156002)(62966003)(5003600100002)(46102003)(450100001)(76576001)(92566002)(5002640100001)(2900100001)(110136002)(5001960100002)(189998001)(5001920100001)(2950100001)(107886002)(491001)(15302535012)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR09MB123; H:BN1PR09MB124.namprd09.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; 
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jun 2015 15:14:01.1745 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2ab5d82f-d8fa-4797-a93e-054655c61dec
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR09MB123
X-Microsoft-Exchange-Diagnostics: 1; BN1PR09MB043; 2:UOl9yF1YSn0e3pOK5iBuBbpFhUoOnAcG+/QLqhayuDZD8I/sCG6tCv2zBoe7kswo; 3:Lzr3Mg7KIzCLO0WYpP5nf3voe0ekPSlhERx+CPHCRaHjkA7nG/V7WRBkj46L2MynvCOeFuHbFMiVlhzc7QGy4jmNpxe+4PePHFxDdF6kkFBBvUD20AdWkoUy/eRVMbjHBn8nrzcs7eEtgqw0DfJpcA==; 23:XKNlmLJDC4NlVCul8Mzo78F8qmbsbVpj2kgK2ypi253blcJhwq5/5PfPOVVL0kUQMn82qwBJ8rTFlDBegsftb4NuWrJy4Pz4xJyiG5B4UxjkMVjPcuaYudle3gkic0+IqBOnHZc8OW3jDI7sLFJfPK3FJrq6jDdkay1b4gLZ9qav6QTHOYczDfZlltd7Sk5sVujSPXKuSocxBYWVD2xEkgECLKaaLhycvGIhLUj/aRc/rWF3UFvvFeIx0hLRQlpp
X-OriginatorOrg: nist.gov
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/YaBGJTaphcg51KBz9J_gH3bl0rA>
Subject: [Cfrg] Performance of SHA-512 vs Keccak [c = 512] ( SHAKE256) for 512-bit hash output.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Jun 2015 15:14:09 -0000

Hi all,=20

Looking at this ebash website at http://bench.cr.yp.to/results-sha3.html, i=
t looks like Keccak [c =3D 512] does perform comparatively to SHA-512,  or =
even better over all.=20

Keccak [ c =3D 256] (SHAKE128) (for 256-bit hash output)  is expected to ha=
ve roughly 25% better performance than Keccak [ c =3D 512].

Quynh. =


From nobody Tue Jun 23 09:29:17 2015
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 73E9A1ACE61 for <cfrg@ietfa.amsl.com>; Tue, 23 Jun 2015 09:29:16 -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 r2VymIGCZjxg for <cfrg@ietfa.amsl.com>; Tue, 23 Jun 2015 09:29:14 -0700 (PDT)
Received: from emh07.mail.saunalahti.fi (emh07.mail.saunalahti.fi [62.142.5.117]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5AEA91ACE5D for <cfrg@irtf.org>; Tue, 23 Jun 2015 09:29:14 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh07.mail.saunalahti.fi (Postfix) with ESMTP id 95E89401F; Tue, 23 Jun 2015 19:29:11 +0300 (EEST)
Date: Tue, 23 Jun 2015 19:29:11 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: "Dang, Quynh" <quynh.dang@nist.gov>
Message-ID: <20150623162911.GA17679@LK-Perkele-VII>
References: <5586895A.3020607@isode.com> <810C31990B57ED40B2062BA10D43FBF5DFF8F5@XMB116CNC.rim.net> <20150623101755.GA11611@LK-Perkele-VII> <BN1PR09MB1241B23CB61F6A3CAADCFFBF3A00@BN1PR09MB124.namprd09.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <BN1PR09MB1241B23CB61F6A3CAADCFFBF3A00@BN1PR09MB124.namprd09.prod.outlook.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/Q4H9VvLieBVDiaA_yS5ds7VPEKU>
Cc: "'cfrg@irtf.org'" <cfrg@irtf.org>
Subject: Re: [Cfrg] Performance of SHA-512 vs Keccak [c = 512] ( SHAKE256) for 512-bit hash output.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Jun 2015 16:29:16 -0000

On Tue, Jun 23, 2015 at 03:14:01PM +0000, Dang, Quynh wrote:
> 
> Hi all, 
> 
> Looking at this ebash website at http://bench.cr.yp.to/results-sha3.html, it looks like Keccak [c = 512] does perform comparatively to SHA-512,  or even better over all. 

The naming seems bit odd. The one labeled "keccakc512" (sic) looks to be
256-bit output, not 512-bit output needed.

The one with Keccakc1024 (dead last in speed) is the 512-bit output one.

All the others are named after bitlengths. E.g. "skein10241024" is really
1024-bit output hash (the 512-bit widepipe variant runs at the same speed,
as only initialization and finalization differ).


-Ilari


From nobody Tue Jun 23 09:37:55 2015
Return-Path: <coruus@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4F6A81AD061 for <cfrg@ietfa.amsl.com>; Tue, 23 Jun 2015 09:37:54 -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 PXg5HAYsQ4hQ for <cfrg@ietfa.amsl.com>; Tue, 23 Jun 2015 09:37:50 -0700 (PDT)
Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ACF2E1AD060 for <cfrg@irtf.org>; Tue, 23 Jun 2015 09:37:50 -0700 (PDT)
Received: by igbqq3 with SMTP id qq3so93247033igb.0 for <cfrg@irtf.org>; Tue, 23 Jun 2015 09:37:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=LdpIzx06Bx0nIC+dB/CGh9W9zjaK5+zowQVadz08u7I=; b=T2fXaPIhpKivf8MpyzQoWRMOdeulEN+VE2FPh6gGOa4r/7MfIKBwpvhrwv1nz6/TEG xwMOnhZK62ieCgE2iHDFNYiJcFcr4T6n5s3W6ShVWJsnvwB2Fqon1x17koO5LbhklfWT PRZnBt8/HEqzrTfty52iVj4olJU26V0HvZ/+j2AUgbcNqtTNRSCG8UN7ga+bSWCIWNFC AT4hzlndYe6/egycy7AET+hvAO3YAkR5DXdRDpdUQFBB3SiTbSxmxzFoYLqguhPgSgAc w9pr2U4VcmU58DtvDqF6G2458EIFx5XKijdILK8lQKi9W8CoauCtaajy4WFM9TLR9vwe qJlg==
X-Received: by 10.50.97.33 with SMTP id dx1mr3347781igb.1.1435077470204; Tue, 23 Jun 2015 09:37:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.36.109.67 with HTTP; Tue, 23 Jun 2015 09:37:30 -0700 (PDT)
In-Reply-To: <20150623162911.GA17679@LK-Perkele-VII>
References: <5586895A.3020607@isode.com> <810C31990B57ED40B2062BA10D43FBF5DFF8F5@XMB116CNC.rim.net> <20150623101755.GA11611@LK-Perkele-VII> <BN1PR09MB1241B23CB61F6A3CAADCFFBF3A00@BN1PR09MB124.namprd09.prod.outlook.com> <20150623162911.GA17679@LK-Perkele-VII>
From: David Leon Gil <coruus@gmail.com>
Date: Tue, 23 Jun 2015 09:37:30 -0700
Message-ID: <CAA7UWsW+eGWXi2Ss7gm+9SbNA3NNfRtQXitbhSe=7U=XGUrmHw@mail.gmail.com>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Content-Type: multipart/alternative; boundary=047d7b10c889d63ba605193202d5
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/yAk3Pulj6SgzVq6C7h75oHnZuew>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Performance of SHA-512 vs Keccak [c = 512] ( SHAKE256) for 512-bit hash output.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Jun 2015 16:37:54 -0000

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

Keccak uses an internal 200-byte state. Thus, for SHAKE128, the maximum
output length without reapplying the permutation, setting c = s * 2, is 200
- c = 168 bytes, and for SHAKE256 is 136 bytes.

And so, for both the specified SHAKE instances, holding input length
fixed/security strength fixed, any output length from 0-136 bytes has
exactly the same performance as any other output length in that range.

On Tue, Jun 23, 2015 at 9:29 AM, Ilari Liusvaara <
ilari.liusvaara@elisanet.fi> wrote:

> On Tue, Jun 23, 2015 at 03:14:01PM +0000, Dang, Quynh wrote:
> >
> > Hi all,
> >
> > Looking at this ebash website at http://bench.cr.yp.to/results-sha3.html,
> it looks like Keccak [c = 512] does perform comparatively to SHA-512,  or
> even better over all.
>
> The naming seems bit odd. The one labeled "keccakc512" (sic) looks to be
> 256-bit output, not 512-bit output needed.
>
> The one with Keccakc1024 (dead last in speed) is the 512-bit output one.
>
> All the others are named after bitlengths. E.g. "skein10241024" is really
> 1024-bit output hash (the 512-bit widepipe variant runs at the same speed,
> as only initialization and finalization differ).
>
>
> -Ilari
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>

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

<div dir=3D"ltr">Keccak uses an internal 200-byte state. Thus, for SHAKE128=
, the maximum output length without reapplying the permutation, setting c =
=3D s * 2, is 200 - c =3D 168 bytes, and for SHAKE256 is 136 bytes.<div><br=
></div><div>And so, for both the specified SHAKE instances, holding input l=
ength fixed/security strength fixed, any output length from 0-136 bytes has=
 exactly the same performance as any other output length in that range.</di=
v></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, J=
un 23, 2015 at 9:29 AM, Ilari Liusvaara <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:ilari.liusvaara@elisanet.fi" target=3D"_blank">ilari.liusvaara@elisane=
t.fi</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D=
"">On Tue, Jun 23, 2015 at 03:14:01PM +0000, Dang, Quynh wrote:<br>
&gt;<br>
&gt; Hi all,<br>
&gt;<br>
&gt; Looking at this ebash website at <a href=3D"http://bench.cr.yp.to/resu=
lts-sha3.html" rel=3D"noreferrer" target=3D"_blank">http://bench.cr.yp.to/r=
esults-sha3.html</a>, it looks like Keccak [c =3D 512] does perform compara=
tively to SHA-512,=C2=A0 or even better over all.<br>
<br>
</span>The naming seems bit odd. The one labeled &quot;keccakc512&quot; (si=
c) looks to be<br>
256-bit output, not 512-bit output needed.<br>
<br>
The one with Keccakc1024 (dead last in speed) is the 512-bit output one.<br=
>
<br>
All the others are named after bitlengths. E.g. &quot;skein10241024&quot; i=
s really<br>
1024-bit output hash (the 512-bit widepipe variant runs at the same speed,<=
br>
as only initialization and finalization differ).<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
-Ilari<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
_______________________________________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
<a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" rel=3D"noreferrer" ta=
rget=3D"_blank">http://www.irtf.org/mailman/listinfo/cfrg</a><br>
</div></div></blockquote></div><br></div>

--047d7b10c889d63ba605193202d5--


From nobody Sat Jun 27 15:54:45 2015
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 83C561A92FC for <cfrg@ietfa.amsl.com>; Sat, 27 Jun 2015 15:54:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.011
X-Spam-Level: 
X-Spam-Status: No, score=-2.011 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WI0JuAStZL1l for <cfrg@ietfa.amsl.com>; Sat, 27 Jun 2015 15:54:42 -0700 (PDT)
Received: from statler.isode.com (statler.isode.com [217.34.220.151]) by ietfa.amsl.com (Postfix) with ESMTP id 7BB2A1A92FB for <cfrg@irtf.org>; Sat, 27 Jun 2015 15:54:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1435445681; d=isode.com; s=selector; i=@isode.com; bh=zan0aw8Q7Bn7XndlS3WTKeoNjjb/J9B6PahfZSRDSpY=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=PvgOdI1ZBSv+qJgbbJLJky5Q8qPL1ST0eYvfXaFR/kmcE82vkBLESFNOV9241Ph8wGjgbh F9ZHihoWeaD7v9DBaiSvH6Z27R7iUqtKmf6xd8M884Urx5G8pf0xt2lT1KnVZx7N+Xtj5Z RHQsz/Bi5G2aynbkrYnXuBY6CMLSsTQ=;
Received: from [192.168.0.6] (cpc5-nmal20-2-0-cust24.19-2.cable.virginm.net [92.234.84.25])  by statler.isode.com (submission channel) via TCP with ESMTPSA  id <VY8prgBxrGbM@statler.isode.com>; Sat, 27 Jun 2015 23:54:41 +0100
X-SMTP-Protocol-Errors: PIPELINING
From: Alexey Melnikov <alexey.melnikov@isode.com>
Date: Sat, 27 Jun 2015 23:56:40 +0100
References: <20150626235501.5508.55121.idtracker@ietfa.amsl.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Message-Id: <C8576901-F85A-437B-ADA9-2744D201B620@isode.com>
X-Mailer: iPad Mail (12F69)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/lmVZ2yv7-xkUiu3Boj5kaxpGWgk>
Subject: [Cfrg] CFRG session at IETF 93
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Jun 2015 22:54:43 -0000

The Prague IETF agenda is now final:

> cfrg Session 1 (2:00:00)
>    Wednesday, Afternoon Session I 1300-1530
>    Room Name: Athens/Barcelona size: 100
>    ---------------------------------------------


From nobody Mon Jun 29 01:14:31 2015
Return-Path: <smyshsv@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 8C3371A8784 for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 01:14:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.701
X-Spam-Level: 
X-Spam-Status: No, score=0.701 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 BggC-y7y6Uy7 for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 01:14:29 -0700 (PDT)
Received: from mail-vn0-x236.google.com (mail-vn0-x236.google.com [IPv6:2607:f8b0:400c:c0f::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1B7CD1A8781 for <cfrg@irtf.org>; Mon, 29 Jun 2015 01:14:29 -0700 (PDT)
Received: by vnbf190 with SMTP id f190so4520968vnb.10 for <cfrg@irtf.org>; Mon, 29 Jun 2015 01:14:28 -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=6REF23o0fKl4pzGa8dAKVs1OUHMb+VAOSlRvVgOpjC8=; b=qZk62fS31Mguf0CU9JYh5TAz4wUrAhl/uIipwoLgaa37hvdAcbJSXYtawZPxWf3CGJ bzW6hwh76qDbZbrCv8J2FD+BkQcu012L5hHxz4E+whgKbArwSLEfXRvUvAdnH4lrBkbu tZXCU/YNeFsRJh03jcgOIwJYwICBXiL/DUCXnW9fC08pVWxivMf12o0SBV2sBZUhKIY6 xD+4Y0xxWPSxiXck8ErEWWG9+IC3cCC/suTp2YDu4LruEiSGH6iC1yagat4M2rxysrST C541xEH4qKRVRWtBpCN8OD4amYYthW9NWO/tZQNZjPnul1fxlmXfh+tSyy6vTi28jWY4 lIBg==
MIME-Version: 1.0
X-Received: by 10.52.103.8 with SMTP id fs8mr11974699vdb.13.1435565668345; Mon, 29 Jun 2015 01:14:28 -0700 (PDT)
Received: by 10.31.61.20 with HTTP; Mon, 29 Jun 2015 01:14:28 -0700 (PDT)
Date: Mon, 29 Jun 2015 11:14:28 +0300
Message-ID: <CAMr0u6=iQouSsFfWS0t973RLTGOCu14oAapJNHYryrQG7RLnHw@mail.gmail.com>
From: "Stanislav V. Smyshlyaev" <smyshsv@gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: multipart/alternative; boundary=047d7b86ef2eb6bbac0519a3ada5
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/RLFti_v0--YZ4_Me00jdMeI5Aqg>
Subject: [Cfrg] For your information: RFC draft with Russian additional cryptographic algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jun 2015 08:14:30 -0000

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

Dear colleagues!

We would like to inform you that we are preparing a document with
additional alorithms that are used with Russian standards in
cryptoprotocols and that are recommended for usage in Russia (instead of
RFC 4357).

https://datatracker.ietf.org/doc/draft-smyshlyaev-gost-usage/

We would be very thankful for any comments for our draft document.

Best regards,

Stanislav V. Smyshlyaev, Ph.D.,

Head of Information Security Department,

CryptoPro LLC

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

<div dir=3D"ltr"><div>Dear colleagues!</div><div><br></div><div>We would li=
ke to inform you that we are preparing a document with additional alorithms=
 that are used with Russian standards in cryptoprotocols and that are recom=
mended for usage in Russia (instead of RFC 4357).</div><div><br></div><div>=
<a href=3D"https://datatracker.ietf.org/doc/draft-smyshlyaev-gost-usage/">h=
ttps://datatracker.ietf.org/doc/draft-smyshlyaev-gost-usage/</a><br></div><=
div><br></div><div>We would be very thankful for any comments for our draft=
 document.</div><br clear=3D"all"><div><div class=3D"gmail_signature"><div =
dir=3D"ltr"><p><font color=3D"#1f497d">Best regards,</font></p><p><font col=
or=3D"#1f497d">Stanislav V. Smyshlyaev, Ph.D.,</font></p><p><font color=3D"=
#1f497d">Head of Information Security Department,</font></p><p><font color=
=3D"#1f497d">CryptoPro LLC</font></p><div><br></div><div><br></div></div></=
div></div>
</div>

--047d7b86ef2eb6bbac0519a3ada5--


From nobody Mon Jun 29 07:35:23 2015
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 B272D1A909A for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 07:35:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.4
X-Spam-Level: *
X-Spam-Status: No, score=1.4 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  J_CHICKENPOX_12=0.6, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HbjQKY_o7ArO for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 07:35:21 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 0FEB41A020A for <cfrg@irtf.org>; Mon, 29 Jun 2015 07:35:20 -0700 (PDT)
Received: from xct102cnc.rim.net ([10.65.161.202]) by mhs211cnc.rim.net with ESMTP/TLS/AES128-SHA; 29 Jun 2015 10:35:21 -0400
Received: from XCT114CNC.rim.net (10.65.161.214) by XCT102CNC.rim.net (10.65.161.202) with Microsoft SMTP Server (TLS) id 14.3.210.2; Mon, 29 Jun 2015 10:35:19 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT114CNC.rim.net ([::1]) with mapi id 14.03.0210.002; Mon, 29 Jun 2015 10:35:19 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'watsonbladd@gmail.com'" <watsonbladd@gmail.com>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: On W. Ladd's suffixed-Schnorr signature proposal RE: [Cfrg] Signature proposal
Thread-Index: AdCyd58fzkFxIM75S1aXbVgJRyja2w==
Date: Mon, 29 Jun 2015 14:35:18 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E016C4@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_0027_01D0B257.4AD3D580"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/mc5fzLvdkyOia7HJo9qMO0WghOM>
Subject: [Cfrg] On W. Ladd's suffixed-Schnorr signature proposal RE: Signature proposal
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jun 2015 14:35:22 -0000

------=_NextPart_000_0027_01D0B257.4AD3D580
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi all,

Some very theoretical comments/questions on Watson Ladd's suffixed-Schnorr 
signature variant proposal below:

> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Watson Ladd
>
> A signer has a public key A that is a point on E, and a private key (v,k), 
> where
> A=kG for G the generator of the prime order subgroup of E, and s is a
> floor(log_2(p)+7)/8 string of bytes.  Let H be a hash function. We let 
> r=H(v||M)
> mod q  where H is taken as a little-endian string of bytes, compute R=rG, 
> and
> let c=H(M||R) mod q. Then let s=r-ck. The signature is (R,s).

[DB] For some narrow-pipe hashes H, there's a remote risk in computing r = 
H(v||M) in this prefixed-hash mode: it allows an attacker to use an extension 
attack and find M' extending such that r'= H(v||M') are related by a known 
extension function, say F, so r'=F(r).    Of course, this is just a non-linear 
relation between r and r', and there are no known ways to exploit it, because 
the known exploits require a linear relation between r and r' (to apply linear 
algebra), or else some kind of range bias in r and r' (to apply lattice 
methods).

So, this risk is definitely just a theoretical worry: and we can wave it away 
by relying on security properties of the resulting function F.  Better yet, it 
can be largely alleviated with a wide-pipe hash, or use a narrow-pipe hash of 
width larger than the modulus (effectively a wide-pipe), or by using something 
different than the prefix-construction, kind of like HMAC, because these 
methods seem to prevent the creation of the known relation F above.  Provided 
the latter counter-measures are not too costly compared to simple prefixing, 
they seem preferable to simple-prefixing.

Secondly, and even more theoretically, although I fully expect that the random 
oracle model (ROM) security proof(s) could easily work with this dual use of 
the hash, I wonder if such a result has been written up formally somewhere: 
just in case there's isn't some kind of surprising bad interaction between the 
two uses.

>
> A verifier computes c=H(M||R) mod q, and verifies that sG+cA=R. This scheme
> is secure in the ROM as it is yet another Schnorr signature variation. For 
> wide-
> pipe designs it's somewhat collision resistant.
>
[DB]  Neven, Smart and Warinschi documented the fact that Schnorr signatures 
need the hash to have certain security properties: including chosen-target 
random prefix preimage resistance ("RPP"), as well a second-preimage version 
of this ("RPSP").  One can argue that these security properties are plausible 
since nobody has broken them, despite the widespread popularity of 
prefixed-Schnorr.  For example, in addition to EdDSA, there are several 
Schnorr-like signature schemes standardized in ISO (and even in ANSI: 
X9.92-1).

By contrast, it seems that hardly anybody has seriously considered 
suffixed-Schnorr before.  As such, nobody has much incentive to try to 
directly cryptanalyze corresponding suffix-version of the 
Neven-Smart-Warinschi security properties of the hash.  Of course, these 
security properties still seem like very plausible security properties. 
Furthermore, (i) they hold true in the random oracle model (ROM) (but so do 
non-extension properties, so there are sometimes gap between ROM and real 
hashes), and (ii) Neven, Smart and Warinschi (NSW) state that these security 
properties are also implied by collision resistance of the hash.  That's a 
good start, but it would be nice to have even greater assurance provided by an 
incentive for direct cryptanalysis.  Is there some other well-established 
scheme that depends on such hash security properties?  Or, maybe one can 
further formalize the NSW argument about the collision resistance, and use a 
hash with sufficient collision resistance.  I have verified the NSW argument: 
I vaguely recall that there exist contrived pathological hashes that separate 
the collision resistance from preimage resistance, but I did not cross check 
these with the NSW argument.


------=_NextPart_000_0027_01D0B257.4AD3D580
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.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0GCSsGAQQBgjcQBDFgMF4wUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGAgpb8AmWAAQAPH2iMG8GCyqGSIb3DQEJEAILMWCgXjBQMRMwEQYKCZImiZPyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZ
S0YCClvwCZYABAA8faIwgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYBMEkWvTGoi6dNnm1u9bzMlNPHP+x82
B4CrBtBLnOlcGMB+Df+7G8hyfzkSKrdSRfHi6bgrNNXlz2iidg6rdbI7PYz2ONBROag7TOnkSNJQ
CGYXcvUEp2u9RyufmkxE9odx0ikuvySc2B9UrDIoJEEAktT1TDM/H9T42VbBkqFrwQAAAAAAAA==

------=_NextPart_000_0027_01D0B257.4AD3D580--


From nobody Mon Jun 29 09:09:37 2015
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 1D7C81ACE7E for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 09:09:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xrT_CFylQyRU for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 09:09:33 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id 4F7861ACE65 for <cfrg@irtf.org>; Mon, 29 Jun 2015 09:09:32 -0700 (PDT)
Received: from xct105cnc.rim.net ([10.65.161.205]) by mhs214cnc.rim.net with ESMTP/TLS/AES128-SHA; 29 Jun 2015 12:09:32 -0400
Received: from XCT114CNC.rim.net (10.65.161.214) by XCT105CNC.rim.net (10.65.161.205) with Microsoft SMTP Server (TLS) id 14.3.210.2; Mon, 29 Jun 2015 12:09:32 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT114CNC.rim.net ([::1]) with mapi id 14.03.0210.002; Mon, 29 Jun 2015 12:09:31 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'ilari.liusvaara@elisanet.fi'" <ilari.liusvaara@elisanet.fi>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Signature proposal
Thread-Index: AQHQrOZBAdD6/uAXFkyKCNMv3Pw4yJ3Dqqjw
Date: Mon, 29 Jun 2015 16:09:30 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E018E0@XMB116CNC.rim.net>
References: <20150622122321.GA28986@LK-Perkele-VII>
In-Reply-To: <20150622122321.GA28986@LK-Perkele-VII>
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_002B_01D0B264.741B8A20"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/rk2MbwRJIYqRLMJLjL14QYLMrio>
Subject: Re: [Cfrg] Signature proposal
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jun 2015 16:09:35 -0000

------=_NextPart_000_002B_01D0B264.741B8A20
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi Ilari,

Your proposal looks like a very detailed and careful version of EdDSA.
Three unrelated comments follow:

1) I still prefer the ECDSA method (from Kravitz's DSA) in which R enters
the computation of s without passing through a hash function (but one can
also add it to the hash function, for double protection).  The direct use of
R provides ECDSA partial protection against the very unlikely risk of very
severe hash failures.

2) In reviewing your detailed specification, I realized something [probably
known already - who do I credit?] that might apply quite generally, i.e. to
other CFRG DL-based signature proposals, including mine.

Some hashes may be defined as a truncation of another hash, if I recall
correctly.  That seems quite bad if both are used to generate ephemeral
secrets in deterministic signatures, because it can introduce a linear
relation between the ephemeral secrets in two signatures, which, I think,
would compromise the signing key. 

I did not fact-check every detail in the attack worry above, but thought the
worry worth sharing because of the risk it would leak the signing key.  If
there's some reason the attack would fail, or there's no such hashes (i.e.
I'm completely misremembering!), then phew, and sorry.   If this really is a
problem, then: perhaps it is well-known (e.g. maybe it's part of EdDSA
paper, which I read and forgot); a countermeasure might be to use yet more
hash identifiers, or fix the hash used in the computation of ephemeral
secrets (or otherwise banning such truncated hashes).

3) Any reason why you allow I=order(B) to be as low as 201 bits?  I did not
think CFRG is considering such curves.

Best regards,

Dan

> -----Original Message-----

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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICClvwCZYABAA8faIwDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGMB4XDTE1MDQxMDIxMjgwNFoXDTE2MDQwMjAxMTEwNVowgaQxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xDTALBgNVBAsTBEFNRVIxCzAJBgNVBAsTAkNBMRQwEgYD
VQQLEwtNaXNzaXNzYXVnYTEOMAwGA1UECxMFVXNlcnMxEjAQBgNVBAMTCURhbiBCcm93bjEiMCAG
CSqGSIb3DQEJARYTZGJyb3duQGNlcnRpY29tLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
gYEAnqyPpiXJ8uIKCHaqpEmU2q/9KYQJi6yizaJruUGAoUstFzjV7XymMDqnaZqLR/QQoR3Qojm2
pjb3luP0P+37tro+PlKEgODyauhfaT78GLlJHq3GZxI6N27UHyYHWGFglAh6uCaHcGBitBZCyEFr
n+FDG5cYb89jhPuiZWu48ocCAwEAAaOCA5gwggOUMAsGA1UdDwQEAwIFoDBEBgkqhkiG9w0BCQ8E
NzA1MA4GCCqGSIb3DQMCAgIAgDAOBggqhkiG9w0DBAICAIAwBwYFKw4DAgcwCgYIKoZIhvcNAwcw
FwYJKwYBBAGCNxQCBAoeCABVAHMAZQByMCkGA1UdJQQiMCAGCisGAQQBgjcKAwQGCCsGAQUFBwME
BggrBgEFBQcDAjBBBgNVHREEOjA4oCEGCisGAQ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hkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTE1MDYyOTE2MDkzMFowIwYJKoZIhvcNAQkEMRYEFODR
t0btcbCy31IMu40QxdnNSs3tMG0GCSsGAQQBgjcQBDFgMF4wUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGAgpb8AmWAAQAPH2iMG8GCyqGSIb3DQEJEAILMWCgXjBQMRMwEQYKCZImiZPyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZ
S0YCClvwCZYABAA8faIwgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYA2myNiC7oh+D08zpim1IfewBBPzvn+
YzcAoq4JL1bi4Eqhdn1B9z81TVJQ1bujFKvtPpdY+CekWwofY1ZJ/MhfwhAglYb3R0JVHHtsDwnG
4FH2eTEYH/dGoGvGOPN7XAKBTU4DTr4Lge4rQ6OIV/RmuE6lm0j31DQvThSH4rNiQQAAAAAAAA==

------=_NextPart_000_002B_01D0B264.741B8A20--


From nobody Mon Jun 29 09:38:18 2015
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 3494E1B2A26 for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 09:38:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.555
X-Spam-Level: *
X-Spam-Status: No, score=1.555 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lyeyv6l5YDw4 for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 09:38:15 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D56991B2A16 for <cfrg@irtf.org>; Mon, 29 Jun 2015 09:38:15 -0700 (PDT)
Received: from [192.168.1.143] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 424C73A9C5; Mon, 29 Jun 2015 09:34:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1435595685; bh=BFGPaPehxYtXbcmEy+N3SUep8eGC21Cq56eWAIyQVDo=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=BOLJnvUebC3OrA9jwReQ5EfOKuPcpbh0qN9pp3ch/oGI6SaQMj2tSSTjtNSkVA996 3xlkvyBunIhMJZEOXRGnGZ7WtC0aFYs9f2ExofDtdOUIDziv29S5INvaydvrG6kbIs 93OT0XHJrEbuaWWHYV0PqtqHoPT/9aZfBW1R3lXY=
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5E018E0@XMB116CNC.rim.net>
Date: Mon, 29 Jun 2015 09:38:12 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <9DCF0DC7-08AA-484E-AFFA-B31117A3BB80@shiftleft.org>
References: <20150622122321.GA28986@LK-Perkele-VII> <810C31990B57ED40B2062BA10D43FBF5E018E0@XMB116CNC.rim.net>
To: Dan Brown <dbrown@certicom.com>
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/en86Nz3DPKYZr_JAHUgmU3GmRDk>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Signature proposal
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jun 2015 16:38:17 -0000

> On Jun 29, 2015, at 9:09 AM, Dan Brown <dbrown@certicom.com> wrote:
>=20
> Hi Ilari,
>=20
> Your proposal looks like a very detailed and careful version of EdDSA.
> Three unrelated comments follow:
>=20
> 1) I still prefer the ECDSA method (from Kravitz's DSA) in which R =
enters
> the computation of s without passing through a hash function (but one =
can
> also add it to the hash function, for double protection).  The direct =
use of
> R provides ECDSA partial protection against the very unlikely risk of =
very
> severe hash failures.
>=20
> 2) In reviewing your detailed specification, I realized something =
[probably
> known already - who do I credit?] that might apply quite generally, =
i.e. to
> other CFRG DL-based signature proposals, including mine.
>=20
> Some hashes may be defined as a truncation of another hash, if I =
recall
> correctly.  That seems quite bad if both are used to generate =
ephemeral
> secrets in deterministic signatures, because it can introduce a linear
> relation between the ephemeral secrets in two signatures, which, I =
think,
> would compromise the signing key.=20
>=20
> I did not fact-check every detail in the attack worry above, but =
thought the
> worry worth sharing because of the risk it would leak the signing key. =
 If
> there's some reason the attack would fail, or there's no such hashes =
(i.e.
> I'm completely misremembering!), then phew, and sorry.   If this =
really is a
> problem, then: perhaps it is well-known (e.g. maybe it's part of EdDSA
> paper, which I read and forgot); a countermeasure might be to use yet =
more
> hash identifiers, or fix the hash used in the computation of ephemeral
> secrets (or otherwise banning such truncated hashes).

I believe that this would compromise the signing key, at least if the =
two hashes
are used with the same curve and the length difference is small.  =
However, I=E2=80=99m
not aware of any two deployed hash functions where one is a truncation =
of
another; in particular, SHA512/n have different IVs.  So this would only =
happen
if you truncate the same hash to two difference lengths, or use a =
variable-
output-length hash with two different output lengths.

=E2=80=94 Mike

> 3) Any reason why you allow I=3Dorder(B) to be as low as 201 bits?  I =
did not
> think CFRG is considering such curves.
>=20
> Best regards,
>=20
> Dan
>=20
>> -----Original Message-----
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Mon Jun 29 10:06:24 2015
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 CED311B2BAA for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 10:06:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AolFcevRefWt for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 10:06:21 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id AD5061B2B9F for <cfrg@irtf.org>; Mon, 29 Jun 2015 10:06:05 -0700 (PDT)
Received: from xct107cnc.rim.net ([10.65.161.207]) by mhs214cnc.rim.net with ESMTP/TLS/AES128-SHA; 29 Jun 2015 13:06:05 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT107CNC.rim.net ([fe80::b815:71ef:9f8f:e07c%16]) with mapi id 14.03.0210.002; Mon, 29 Jun 2015 13:06:04 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'mike@shiftleft.org'" <mike@shiftleft.org>
Thread-Topic: [Cfrg] Signature proposal
Thread-Index: AQHQrOZBAdD6/uAXFkyKCNMv3Pw4yJ3DqqjwgABSkwD//8EnkA==
Date: Mon, 29 Jun 2015 17:06:04 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E0195A@XMB116CNC.rim.net>
References: <20150622122321.GA28986@LK-Perkele-VII> <810C31990B57ED40B2062BA10D43FBF5E018E0@XMB116CNC.rim.net> <9DCF0DC7-08AA-484E-AFFA-B31117A3BB80@shiftleft.org>
In-Reply-To: <9DCF0DC7-08AA-484E-AFFA-B31117A3BB80@shiftleft.org>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.251]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0030_01D0B26C.5AAD3FE0"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/QfALSDKI6PuvSedpCSUZ1z7pMzQ>
Cc: "'cfrg@irtf.org'" <cfrg@irtf.org>
Subject: Re: [Cfrg] Signature proposal
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jun 2015 17:06:23 -0000

------=_NextPart_000_0030_01D0B26C.5AAD3FE0
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable


> -----Original Message-----
> From: Michael Hamburg
>=20
> I believe that this would compromise the signing key, at least if the =
two hashes
> are used with the same curve and the length difference is small.  =
However, I=E2=80=99m
> not aware of any two deployed hash functions where one is a truncation =
of
> another; in particular, SHA512/n have different IVs.  So this would =
only happen
> if you truncate the same hash to two difference lengths, or use a =
variable-
> output-length hash with two different output lengths.
>=20
[DB] Thanks for checking this.

Also, I did some after-post fact-checking and found that SHA-384 and =
SHA-224 do indeed use different IVs than SHA-512 and SHA-256.  Sorry for =
forgetting that crucial fact.

Good catch about the small difference in output length. Yes, I forgot to =
mention that the attacker has to guess the truncated bits to find a =
linear relation.  So, truncation from 512 down to 256 would defeat the =
attack.

I've since noticed that some (old?) versions of HMAC do allow =
truncation. Because I've suggested trying to avoid extension attacks on =
prefixed-hashing with SHA-1/2 to generated ephemeral secrets, I will =
look further into the impact of using HMAC as a PRF for this task.  I =
think it's just better to go with SHA-3, but an alternative is mandate =
no truncation to be used in the generation of the ephemeral key.



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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrD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l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGAgpb8AmWAAQAPH2iMG8GCyqGSIb3DQEJEAILMWCgXjBQMRMwEQYKCZImiZPyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZ
S0YCClvwCZYABAA8faIwgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYAgnESrJogch5qy4w7NQU6ccYUNHOM7
d8u4OxoHV9ELk/CpxR/az+oWXgFGFKEYBohBXulQFCq/8RdN1XNT3A3W18PQhQPG04mbAuQFDDoM
Azzt1HQy83c+ugAc4laaiX4zJrdfu/6iMWBcacPwgfJrdqwYVGBb7WjSVjCc4UKufgAAAAAAAA==

------=_NextPart_000_0030_01D0B26C.5AAD3FE0--


From nobody Mon Jun 29 10:10:14 2015
Return-Path: <dmjacobson@sbcglobal.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 57C5A1ACD6B for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 10:10:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.1
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N9KE0LxFQmYN for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 10:10:11 -0700 (PDT)
Received: from nm16-vm8.access.bullet.mail.gq1.yahoo.com (nm16-vm8.access.bullet.mail.gq1.yahoo.com [216.39.63.224]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BBA9A1ACD72 for <cfrg@irtf.org>; Mon, 29 Jun 2015 10:10:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1435597811; bh=imtJDg92V31rq2Xiijq+en4FHvdnqxwlthxTcJluLdE=; h=Date:From:To:Subject:References:In-Reply-To:From:Subject; b=fWoEkPVFmhqwq0lAWHst0FX/WzB6uDqC84ux95HS9M/uz+oH2fKYx8kVOwVpyN2oG9vWtd+1E384G/gCvPmD81P4j+MgyD3+KPmpy2Wj/izkwcQk04H+ff7OViWQGKNc04ZI7dh0iVKuqrxXkL8iN63qosJlSyB2ow+32bqkcs0uV/bKHRadzdA2djn40T81GvNw0a8XoZ4fJa/qaTMN9vhF0VjtWUYn2NT41Vo8YcrYwiW/DIFROZJnhjRchnovgKg1nBqnxwzJRueOjTuFZ22EyG9/+gbl9ZvMK5y7udIIoZAE7tFte/wamNcLLPZhsCHv+/0G7IOoSJ1NF06U0Q==
Received: from [216.39.60.176] by nm16.access.bullet.mail.gq1.yahoo.com with NNFMP; 29 Jun 2015 17:10:11 -0000
Received: from [67.195.23.144] by tm12.access.bullet.mail.gq1.yahoo.com with NNFMP; 29 Jun 2015 17:10:11 -0000
Received: from [127.0.0.1] by smtp116.sbc.mail.gq1.yahoo.com with NNFMP; 29 Jun 2015 17:10:11 -0000
X-Yahoo-Newman-Id: 279818.31517.bm@smtp116.sbc.mail.gq1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: slMOPMgVM1k1ew.sWoB4sbqSvGfX9P72EaVuGY6jecpW0an 9uJeNuTqqff_uy6XFdLL87.i7K2h3vHE5NayttTy7VZtFGN7w1lQ8Tv4hXok ZH6t9ZjyzVlJ0SNMq1rNtI5lIRBKBnzPLgwz5Plm3Qye1AOuG6bKSxyADWjn m8vjwCHhXJ09pYZm_qSwR6GYFeW0Z82FNH_V6I9lh7jBDMQYwO4Z3x748uWa taiDBVpK.uzvkLj4V_hd1UNZ9q2FBLHUCVx_0Rah1nEwnBQah5ebiV8pEGDH Z9zlwSaVZgHSdT7BNgCQeZsrKySbwqqEin0o.a7ONm0ShsYRRpVfsJKFsSN. FLwHQr1iPWpYGTU.lw0Mke8l7DbKkmS_C4PnZA9o6pn91y_ATY1ptvuMCyY0 rxrhApgrsOIyQpFWETNZgiishkwDa4FwHr0hW3SnzbgXPYzT.xBgrzxwP46l a0FBWBSQFnjwnUk.hHXQMTWQclTAN1EAdqTYZPlkOMHatXLsHn1gGIgBiUf8 mPp4GEFsCbohBphBn4URfnwx9onCDhcfttAaoEBzhg9P2PZDs6vq0hTl1
X-Yahoo-SMTP: nOrmCa6swBAE50FabWnlVFUpgFVJ9Gbi__8U5mpvhtQq7tTV1g--
Message-ID: <55917BF2.4060700@sbcglobal.net>
Date: Mon, 29 Jun 2015 10:10:10 -0700
From: David Jacobson <dmjacobson@sbcglobal.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Dan Brown <dbrown@certicom.com>,  "'ilari.liusvaara@elisanet.fi'" <ilari.liusvaara@elisanet.fi>, "'cfrg@irtf.org'" <cfrg@irtf.org>
References: <20150622122321.GA28986@LK-Perkele-VII> <810C31990B57ED40B2062BA10D43FBF5E018E0@XMB116CNC.rim.net>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5E018E0@XMB116CNC.rim.net>
Content-Type: multipart/alternative; boundary="------------010004050606000208050701"
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/LGUqIGQI5012L4EaRwKdJlRbs3g>
Subject: Re: [Cfrg] Signature proposal
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jun 2015 17:10:13 -0000

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

On 6/29/15 9:09 AM, Dan Brown wrote:
> Hi Ilari,
>
> Your proposal looks like a very detailed and careful version of EdDSA.
> Three unrelated comments follow:
>
> 1) I still prefer the ECDSA method (from Kravitz's DSA) in which R enters
> the computation of s without passing through a hash function (but one can
> also add it to the hash function, for double protection).  The direct use of
> R provides ECDSA partial protection against the very unlikely risk of very
> severe hash failures.
>
> 2) In reviewing your detailed specification, I realized something [probably
> known already - who do I credit?] that might apply quite generally, i.e. to
> other CFRG DL-based signature proposals, including mine.
>
> Some hashes may be defined as a truncation of another hash, if I recall
> correctly.  That seems quite bad if both are used to generate ephemeral
> secrets in deterministic signatures, because it can introduce a linear
> relation between the ephemeral secrets in two signatures, which, I think,
> would compromise the signing key.
>
> I did not fact-check every detail in the attack worry above, but thought the
> worry worth sharing because of the risk it would leak the signing key.  If
> there's some reason the attack would fail, or there's no such hashes (i.e.
> I'm completely misremembering!), then phew, and sorry.   If this really is a
> problem, then: perhaps it is well-known (e.g. maybe it's part of EdDSA
> paper, which I read and forgot); a countermeasure might be to use yet more
> hash identifiers, or fix the hash used in the computation of ephemeral
> secrets (or otherwise banning such truncated hashes).
>
> 3) Any reason why you allow I=order(B) to be as low as 201 bits?  I did not
> think CFRG is considering such curves.
>
> Best regards,
>
> Dan
>
>> -----Original Message-----
>>
>>
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> http://www.irtf.org/mailman/listinfo/cfrg
Check out FIPS 186-4.  It defines SHA-512/224 and SHA-512/256, which are 
SHA-512 truncated to 224 and 256 bits respectively.  And it states, in 
Section 5.3.5 "SHA-512/224 (t = 224) and SHA-512/256 (t = 256) are 
approved hash algorithms."

     --David


--------------010004050606000208050701
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">On 6/29/15 9:09 AM, Dan Brown wrote:<br>
    </div>
    <blockquote
      cite="mid:810C31990B57ED40B2062BA10D43FBF5E018E0@XMB116CNC.rim.net"
      type="cite">
      <pre wrap="">Hi Ilari,

Your proposal looks like a very detailed and careful version of EdDSA.
Three unrelated comments follow:

1) I still prefer the ECDSA method (from Kravitz's DSA) in which R enters
the computation of s without passing through a hash function (but one can
also add it to the hash function, for double protection).  The direct use of
R provides ECDSA partial protection against the very unlikely risk of very
severe hash failures.

2) In reviewing your detailed specification, I realized something [probably
known already - who do I credit?] that might apply quite generally, i.e. to
other CFRG DL-based signature proposals, including mine.

Some hashes may be defined as a truncation of another hash, if I recall
correctly.  That seems quite bad if both are used to generate ephemeral
secrets in deterministic signatures, because it can introduce a linear
relation between the ephemeral secrets in two signatures, which, I think,
would compromise the signing key. 

I did not fact-check every detail in the attack worry above, but thought the
worry worth sharing because of the risk it would leak the signing key.  If
there's some reason the attack would fail, or there's no such hashes (i.e.
I'm completely misremembering!), then phew, and sorry.   If this really is a
problem, then: perhaps it is well-known (e.g. maybe it's part of EdDSA
paper, which I read and forgot); a countermeasure might be to use yet more
hash identifiers, or fix the hash used in the computation of ephemeral
secrets (or otherwise banning such truncated hashes).

3) Any reason why you allow I=order(B) to be as low as 201 bits?  I did not
think CFRG is considering such curves.

Best regards,

Dan

</pre>
      <blockquote type="cite">
        <pre wrap="">-----Original Message-----
</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>
    </blockquote>
    Check out FIPS 186-4.  It defines SHA-512/224 and SHA-512/256, which
    are SHA-512 truncated to 224 and 256 bits respectively.  And it
    states, in Section 5.3.5 "SHA-512/224 (t = 224) and SHA-512/256 (t =
    256) are approved hash algorithms."<br>
    <br>
        --David<br>
    <br>
  </body>
</html>

--------------010004050606000208050701--


From nobody Mon Jun 29 10:23:15 2015
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 E900A1B2BE5 for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 10:23:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.501
X-Spam-Level: 
X-Spam-Status: No, score=-0.501 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ScRmfVMubBXh for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 10:23:06 -0700 (PDT)
Received: from emh06.mail.saunalahti.fi (emh06.mail.saunalahti.fi [62.142.5.116]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 65E041A00F9 for <cfrg@irtf.org>; Mon, 29 Jun 2015 10:23:06 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh06.mail.saunalahti.fi (Postfix) with ESMTP id EB4B769983; Mon, 29 Jun 2015 20:23:03 +0300 (EEST)
Date: Mon, 29 Jun 2015 20:23:03 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Michael Hamburg <mike@shiftleft.org>
Message-ID: <20150629172303.GA25177@LK-Perkele-VII>
References: <20150622122321.GA28986@LK-Perkele-VII> <810C31990B57ED40B2062BA10D43FBF5E018E0@XMB116CNC.rim.net> <9DCF0DC7-08AA-484E-AFFA-B31117A3BB80@shiftleft.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <9DCF0DC7-08AA-484E-AFFA-B31117A3BB80@shiftleft.org>
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/VS0OdyQAmr7t7Rd4S9ibEoTL3iA>
Cc: Dan Brown <dbrown@certicom.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Signature proposal
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jun 2015 17:23:14 -0000

On Mon, Jun 29, 2015 at 09:38:12AM -0700, Michael Hamburg wrote:
> 
> > On Jun 29, 2015, at 9:09 AM, Dan Brown <dbrown@certicom.com> wrote:
> > 
> > Hi Ilari,
> > 
> > Your proposal looks like a very detailed and careful version of EdDSA.
> > Three unrelated comments follow:
> > 
> > 1) I still prefer the ECDSA method (from Kravitz's DSA) in which R enters
> > the computation of s without passing through a hash function (but one can
> > also add it to the hash function, for double protection).  The direct use of
> > R provides ECDSA partial protection against the very unlikely risk of very
> > severe hash failures.

I most definitely do not want signer to have do any inversions mod order. Those
are slow and just too tempting to do in unsafe way.

> > 2) In reviewing your detailed specification, I realized something [probably
> > known already - who do I credit?] that might apply quite generally, i.e. to
> > other CFRG DL-based signature proposals, including mine.
> > 
> > Some hashes may be defined as a truncation of another hash, if I recall
> > correctly.  That seems quite bad if both are used to generate ephemeral
> > secrets in deterministic signatures, because it can introduce a linear
> > relation between the ephemeral secrets in two signatures, which, I think,
> > would compromise the signing key. 

I did run into problems with multiple curves, which is the reason I stuck the
curve into keys (and at the same time stuck the hash too).

Also, the way full proposal (I omitted key generation) generates seed, if the
same hash function is used as for signing, there will be no linear relation,
as seeds will be of different lengths (unless there is only fractional-octet
differnce).

> > I did not fact-check every detail in the attack worry above, but thought the
> > worry worth sharing because of the risk it would leak the signing key.  If
> > there's some reason the attack would fail, or there's no such hashes (i.e.
> > I'm completely misremembering!), then phew, and sorry.   If this really is a
> > problem, then: perhaps it is well-known (e.g. maybe it's part of EdDSA
> > paper, which I read and forgot); a countermeasure might be to use yet more
> > hash identifiers, or fix the hash used in the computation of ephemeral
> > secrets (or otherwise banning such truncated hashes).

I think I have seen some hash function that did raw truncation. Not widely
used ones tho.

> I believe that this would compromise the signing key, at least if the two hashes
> are used with the same curve and the length difference is small.  However, Iâm
> not aware of any two deployed hash functions where one is a truncation of
> another; in particular, SHA512/n have different IVs.  So this would only happen
> if you truncate the same hash to two difference lengths, or use a variable-
> output-length hash with two different output lengths.

Also, one would have to use one's own hash function (not the one indicated for
the key) for pseudorandom parameter generation and then have two of those that
are truncated versions of other and use those for the same key.

If one wanted some identifers, one would only need to stick one to generation
of r.

> > 3) Any reason why you allow I=order(B) to be as low as 201 bits?  I did not
> > think CFRG is considering such curves.

Well, I used the WF100 limit from Safecurves. One could pick higher limit
(I think EdDSA had some quite ridiculously low one).



-Ilari


From nobody Mon Jun 29 10:25:54 2015
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 C5BBE1B2BE3 for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 10:25:52 -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 j0zDD9yhXxQ3 for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 10:25:51 -0700 (PDT)
Received: from emh04.mail.saunalahti.fi (emh04.mail.saunalahti.fi [62.142.5.110]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 595F01B2BE8 for <cfrg@irtf.org>; Mon, 29 Jun 2015 10:25:51 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh04.mail.saunalahti.fi (Postfix) with ESMTP id 019901A2635; Mon, 29 Jun 2015 20:25:48 +0300 (EEST)
Date: Mon, 29 Jun 2015 20:25:48 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: David Jacobson <dmjacobson@sbcglobal.net>
Message-ID: <20150629172548.GA25403@LK-Perkele-VII>
References: <20150622122321.GA28986@LK-Perkele-VII> <810C31990B57ED40B2062BA10D43FBF5E018E0@XMB116CNC.rim.net> <55917BF2.4060700@sbcglobal.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <55917BF2.4060700@sbcglobal.net>
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/SRmUHkeKzcO43xrw7xHuleKKxco>
Cc: Dan Brown <dbrown@certicom.com>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Subject: Re: [Cfrg] Signature proposal
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jun 2015 17:25:52 -0000

On Mon, Jun 29, 2015 at 10:10:10AM -0700, David Jacobson wrote:
> On 6/29/15 9:09 AM, Dan Brown wrote:
> >
> >Some hashes may be defined as a truncation of another hash, if I recall
> >correctly.  That seems quite bad if both are used to generate ephemeral
> >secrets in deterministic signatures, because it can introduce a linear
> >relation between the ephemeral secrets in two signatures, which, I think,
> >would compromise the signing key.
>
> Check out FIPS 186-4.  It defines SHA-512/224 and SHA-512/256, which are
> SHA-512 truncated to 224 and 256 bits respectively.  And it states, in
> Section 5.3.5 "SHA-512/224 (t = 224) and SHA-512/256 (t = 256) are approved
> hash algorithms."

Nope (as said elsewhere in this thread), SHA-512/224 ad SHA-512/256 are not
truncations of SHA-512. The IVs are different.


-Ilari


From nobody Mon Jun 29 10:31:05 2015
Return-Path: <prvs=46228ac177=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 7A6E41ACEFC for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 10:31:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.209
X-Spam-Level: 
X-Spam-Status: No, score=-4.209 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01, UNPARSEABLE_RELAY=0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2aQ9JWiZjBbp for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 10:31:02 -0700 (PDT)
Received: from mx1.ll.mit.edu (MX1.LL.MIT.EDU [129.55.12.45]) by ietfa.amsl.com (Postfix) with ESMTP id B00B21ACE53 for <cfrg@irtf.org>; Mon, 29 Jun 2015 10:31:01 -0700 (PDT)
Received: from LLE2K10-HUB02.mitll.ad.local (LLE2K10-HUB02.mitll.ad.local) by mx1.ll.mit.edu (unknown) with ESMTP id t5THUpa2001488; Mon, 29 Jun 2015 13:30:51 -0400
From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>, David Jacobson <dmjacobson@sbcglobal.net>
Thread-Topic: [Cfrg] Signature proposal
Thread-Index: AQHQrOZBPUwHzMsJLkC4RD67wWkJ1p3D9TcAgAAQ8wCAAAReAP//vk+A
Date: Mon, 29 Jun 2015 17:30:50 +0000
Message-ID: <D1B6F86E.1B3CA%uri@ll.mit.edu>
References: <20150622122321.GA28986@LK-Perkele-VII> <810C31990B57ED40B2062BA10D43FBF5E018E0@XMB116CNC.rim.net> <55917BF2.4060700@sbcglobal.net> <20150629172548.GA25403@LK-Perkele-VII>
In-Reply-To: <20150629172548.GA25403@LK-Perkele-VII>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.5.1.150515
x-originating-ip: [172.25.177.187]
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha256; boundary="B_3518429441_72715937"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151, 1.0.33,  0.0.0000 definitions=2015-06-29_03:2015-06-29,2015-06-29,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-1506180000 definitions=main-1506290278
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/QmtJgDtCPeipRvVji0Kaj9p0ZtM>
Cc: Dan Brown <dbrown@certicom.com>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Subject: Re: [Cfrg] Signature proposal
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jun 2015 17:31:03 -0000

--B_3518429441_72715937
Content-type: text/plain;
	charset="UTF-8"
Content-transfer-encoding: 7bit

On 6/29/15, 13:25 , "Ilari Liusvaara" <ilari.liusvaara@elisanet.fi> wrote:

>On Mon, Jun 29, 2015 at 10:10:10AM -0700, David Jacobson wrote:
>>Check out FIPS 186-4.  It defines SHA-512/224 and SHA-512/256, which are
>> SHA-512 truncated to 224 and 256 bits respectively.  And it states, in
>> Section 5.3.5 "SHA-512/224 (t = 224) and SHA-512/256 (t = 256) are
>>approved
>> hash algorithms."
>
>Nope (as said elsewhere in this thread), SHA-512/224 ad SHA-512/256 are
>not
>truncations of SHA-512. The IVs are different.

Yes and Yes.  :-)

I.e., yes SHA-384 and SHA-224 *are* truncations of SHA-512 and SHA-256
code-wise, and yes - they *also* do have different Ivs (with the
implication that one *cannot* compute SHA-256 of a blob, truncate the
output to 224 bits and say it is SHA-224 hash of the blob).

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

MIIQ0AYJKoZIhvcNAQcCoIIQwTCCEL0CAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0B
BwGggg6fMIIE6jCCA9KgAwIBAgIKE5SxSwAAAABE8TANBgkqhkiG9w0BAQsFADBRMQswCQYD
VQQGEwJVUzEfMB0GA1UEChMWTUlUIExpbmNvbG4gTGFib3JhdG9yeTEMMAoGA1UECxMDUEtJ
MRMwEQYDVQQDEwpNSVRMTCBDQS0zMB4XDTE1MDYxNTE2MjQzOVoXDTE2MDYxNDE2MjQzOVow
YTELMAkGA1UEBhMCVVMxHzAdBgNVBAoTFk1JVCBMaW5jb2xuIExhYm9yYXRvcnkxDzANBgNV
BAsTBlBlb3BsZTEgMB4GA1UEAxMXQmx1bWVudGhhbC5VcmkuNTAwMTA1ODQwggEi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QnBv1q44BSGII0+qSJVPPhxFvguFg2P8SwQrn9cKvZQqwXTcZcEI

--B_3518429441_72715937--


From nobody Mon Jun 29 11:22:19 2015
Return-Path: <Kenny.Paterson@rhul.ac.uk>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4BCE51A0076 for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 11:22:18 -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 j9wWWYBwytxD for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 11:22:16 -0700 (PDT)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0604.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::604]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 910C51A0066 for <cfrg@irtf.org>; Mon, 29 Jun 2015 11:22:16 -0700 (PDT)
Received: from DB4PR03MB377.eurprd03.prod.outlook.com (10.242.231.12) by DB4PR03MB377.eurprd03.prod.outlook.com (10.242.231.12) with Microsoft SMTP Server (TLS) id 15.1.201.16; Mon, 29 Jun 2015 18:21:56 +0000
Received: from DB4PR03MB377.eurprd03.prod.outlook.com ([10.242.231.12]) by DB4PR03MB377.eurprd03.prod.outlook.com ([10.242.231.12]) with mapi id 15.01.0201.000; Mon, 29 Jun 2015 18:21:56 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] CFRG session at IETF 93
Thread-Index: AQHQsSxKWuIPd/29T0Kz/0jsRvVvBp3DmB8AgAAkO4D///BBgIAAMraA
Date: Mon, 29 Jun 2015 18:21:56 +0000
Message-ID: <D1B74ABD.4D667%kenny.paterson@rhul.ac.uk>
References: <20150626235501.5508.55121.idtracker@ietfa.amsl.com> <C8576901-F85A-437B-ADA9-2744D201B620@isode.com> <DD654F26-2D0F-4A78-B6A1-37D6DFEB09F5@vpnc.org> <D1B72DE2.4D64D%kenny.paterson@rhul.ac.uk> <5591703D.20801@isode.com>
In-Reply-To: <5591703D.20801@isode.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.9.150325
authentication-results: irtf.org; dkim=none (message not signed) header.d=none;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [134.219.227.30]
x-microsoft-exchange-diagnostics: 1; DB4PR03MB377; 5:9z+uw4p6+d+sDKxw7FVB1MihiaaZG4Z+alu7Upq5AKYS5d1HGPp/trxtydS4hHLrxXIrNs72vo8VEg9sGR/fUoZZ6EHeyGXMSM1BClGF9nrkFLon+n88IUBebuif0bnMrQe1G1a3yHLS0QQFoLNkTg==; 24:j+IwAgOk13y1sF0+/Dk78/MzmD+RekXXKEbrsODcXnRpsGxY4V2OWBDXW8WOgOW/uohUBjPZytUb5GYACY37/eklX8aXg1Lsf6zL7muGffs=; 20:CsJeWai+ehvfTfcEWBertrDvjhNsAv2DwbihzppxQ/FKPJARMFmnHYGF4STU+jxuIzUPjdmm6Ns+3Xo4J/6B8g==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB4PR03MB377;
x-microsoft-antispam-prvs: <DB4PR03MB3779E12890278515790147BBCAA0@DB4PR03MB377.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:DB4PR03MB377; BCL:0; PCL:0; RULEID:; SRVR:DB4PR03MB377; 
x-forefront-prvs: 0622A98CD5
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(164054003)(77156002)(62966003)(122556002)(4001350100001)(40100003)(5001960100002)(110136002)(107886002)(2900100001)(189998001)(5002640100001)(2950100001)(74482002)(36756003)(46102003)(2501003)(558084003)(106116001)(2656002)(87936001)(2351001)(77096005)(66066001)(102836002)(76176999)(50986999)(54356999)(93886004)(86362001)(83506001)(92566002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR03MB377; H:DB4PR03MB377.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: text/plain; charset="us-ascii"
Content-ID: <44185E2BA6F4B04DA1284A0DA5D492C4@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2015 18:21:56.3746 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR03MB377
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/uUoID-0MOhIQnJ_Gx5kJd2BU_fA>
Subject: Re: [Cfrg] CFRG session at IETF 93
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jun 2015 18:22:18 -0000

Dear All,

Please send the chairs suggestions for agenda items for the forthcoming
CFRG session at IETF 93.

Suggestions should consist of a title, a slot length request, and a short
description (or, even better, slideware).

Thanks,

Kenny

(for the chairs)


From nobody Mon Jun 29 13:11:46 2015
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 0F4E01B3396 for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 13:11:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aNK3o5A3cX_1 for <cfrg@ietfa.amsl.com>; Mon, 29 Jun 2015 13:11: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 82A931B3390 for <cfrg@irtf.org>; Mon, 29 Jun 2015 13:11:42 -0700 (PDT)
Received: from xct106cnc.rim.net ([10.65.161.206]) by mhs215cnc.rim.net with ESMTP/TLS/AES128-SHA; 29 Jun 2015 16:11:36 -0400
Received: from XCT114CNC.rim.net (10.65.161.214) by XCT106CNC.rim.net (10.65.161.206) with Microsoft SMTP Server (TLS) id 14.3.210.2; Mon, 29 Jun 2015 16:11:35 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT114CNC.rim.net ([::1]) with mapi id 14.03.0210.002; Mon, 29 Jun 2015 16:11:35 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'ilari.liusvaara@elisanet.fi'" <ilari.liusvaara@elisanet.fi>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: Comments on I. Liusvaara signature proposal RE: [Cfrg] Signature proposal
Thread-Index: AdCypmfKjLsPErb5Sq6a9cOWhMPong==
Date: Mon, 29 Jun 2015 20:11:34 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E01A0E@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_0043_01D0B286.4521CFF0"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/AlW-IJ8s04co2OO53DF6Aft1E0s>
Subject: [Cfrg] Comments on I. Liusvaara signature proposal RE: Signature proposal
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jun 2015 20:11:45 -0000

------=_NextPart_000_0043_01D0B286.4521CFF0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi Ilari,

Two more minor comments/questions:

1) Your proposal's making PH (pre-hash) optional seems to be an instance of
option #3 from the IUF CFRG poll, but the CFRG chairs seem to require option
#1 from the poll.  

2) Does your hash_id mechanism address the issues in:
http://grouper.ieee.org/groups/1363/Research/contributions/HashFunctionFirew
alls.pdf
?  If so, how?  If not, what's their purpose?

Best regards

Dan


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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICClvwCZYABAA8faIwDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGMB4XDTE1MDQxMDIxMjgwNFoXDTE2MDQwMjAxMTEwNVowgaQxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xDTALBgNVBAsTBEFNRVIxCzAJBgNVBAsTAkNBMRQwEgYD
VQQLEwtNaXNzaXNzYXVnYTEOMAwGA1UECxMFVXNlcnMxEjAQBgNVBAMTCURhbiBCcm93bjEiMCAG
CSqGSIb3DQEJARYTZGJyb3duQGNlcnRpY29tLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
gYEAnqyPpiXJ8uIKCHaqpEmU2q/9KYQJi6yizaJruUGAoUstFzjV7XymMDqnaZqLR/QQoR3Qojm2
pjb3luP0P+37tro+PlKEgODyauhfaT78GLlJHq3GZxI6N27UHyYHWGFglAh6uCaHcGBitBZCyEFr
n+FDG5cYb89jhPuiZWu48ocCAwEAAaOCA5gwggOUMAsGA1UdDwQEAwIFoDBEBgkqhkiG9w0BCQ8E
NzA1MA4GCCqGSIb3DQMCAgIAgDAOBggqhkiG9w0DBAICAIAwBwYFKw4DAgcwCgYIKoZIhvcNAwcw
FwYJKwYBBAGCNxQCBAoeCABVAHMAZQByMCkGA1UdJQQiMCAGCisGAQQBgjcKAwQGCCsGAQUFBwME
BggrBgEFBQcDAjBBBgNVHREEOjA4oCEGCisGA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
hkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTE1MDYyOTIwMTEzNFowIwYJKoZIhvcNAQkEMRYEFMzv
u/yjkf6oOQ7zXbvgE/lKe8tIMG0GCSsGAQQBgjcQBDFgMF4wUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGAgpb8AmWAAQAPH2iMG8GCyqGSIb3DQEJEAILMWCgXjBQMRMwEQYKCZImiZPyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZ
S0YCClvwCZYABAA8faIwgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYAH+tbIkurX9Eg/aEPtP93rc0CWRftk
kxJnunVtMZod01rRZS2LD1v71NaIzpzwEfP9a6iYpo4/Cy1zjiRB1xGTTpLB/nrXZ8GeQ84i2WDH
Mmz9UoqMtCH7MWEQhacXDsLBUU/HthrtYIZys6TUXMzj72vxN88gU6IWNpABSx/U3QAAAAAAAA==

------=_NextPart_000_0043_01D0B286.4521CFF0--


From nobody Tue Jun 30 00:57:39 2015
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 C9F361A1A16 for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 00:57:37 -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 blOdIDeNLE6d for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 00:57:35 -0700 (PDT)
Received: from emh07.mail.saunalahti.fi (emh07.mail.saunalahti.fi [62.142.5.117]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4A8731A001B for <cfrg@irtf.org>; Tue, 30 Jun 2015 00:57:35 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh07.mail.saunalahti.fi (Postfix) with ESMTP id 9FCE4404F; Tue, 30 Jun 2015 10:57:31 +0300 (EEST)
Date: Tue, 30 Jun 2015 10:57:31 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Dan Brown <dbrown@certicom.com>
Message-ID: <20150630075731.GA6141@LK-Perkele-VII>
References: <810C31990B57ED40B2062BA10D43FBF5E01A0E@XMB116CNC.rim.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5E01A0E@XMB116CNC.rim.net>
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/ua7b69VKTEYeeU0efLyG5gul5kk>
Cc: "'cfrg@irtf.org'" <cfrg@irtf.org>
Subject: Re: [Cfrg] Comments on I. Liusvaara signature proposal RE: Signature proposal
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 07:57:38 -0000

On Mon, Jun 29, 2015 at 08:11:34PM +0000, Dan Brown wrote:
> Hi Ilari,
> 
> Two more minor comments/questions:
> 
> 1) Your proposal's making PH (pre-hash) optional seems to be an instance of
> option #3 from the IUF CFRG poll, but the CFRG chairs seem to require option
> #1 from the poll.  

AFAICT, the poll result was that IUF is required, non-IUF is not required,
not that IUF is required and non-IUF is prohibited.

That would certainly be consistent with statement "doesn't recommend and
doesn't prohibit" regarding non-IUF.


> 2) Does your hash_id mechanism address the issues in:
> http://grouper.ieee.org/groups/1363/Research/contributions/HashFunctionFirew
> alls.pdf
> ?  If so, how?  If not, what's their purpose?

Yeah, that issue. As for how, the hash_id is included as-is into final
hash input, which should make attacks like presented in the slides much
more difficult.


-Ilari


From nobody Tue Jun 30 03:22:35 2015
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 BA5F61A9059; Tue, 30 Jun 2015 03:22:34 -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 ipHN-AToZ-58; Tue, 30 Jun 2015 03:22:33 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 8B33C1A8F37; Tue, 30 Jun 2015 03:22:33 -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: 6.0.4.p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20150630102233.27507.54181.idtracker@ietfa.amsl.com>
Date: Tue, 30 Jun 2015 03:22:33 -0700
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/xZtuNqZMxqVhRcIGMpCXVLVbZzU>
Cc: cfrg@ietf.org
Subject: [Cfrg] I-D Action: draft-irtf-cfrg-pake-reqs-00.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: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 10:22:34 -0000

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

        Title           : Requirements for PAKE schemes
        Author          : Joern-Marc Schmidt
	Filename        : draft-irtf-cfrg-pake-reqs-00.txt
	Pages           : 9
	Date            : 2015-06-29

Abstract:
   Password-Authenticated Key Agreement (PAKE) schemes are interactive
   protocols that allow the participants to authenticate each other and
   derive shared cryptographic keys using a (weaker) shared password.
   This document reviews different types of PAKE schemes and discusses
   their requirements.


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

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-irtf-cfrg-pake-reqs-00


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

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


From nobody Tue Jun 30 03:28:01 2015
Return-Path: <Joern-Marc.Schmidt@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 2A9651A90E2 for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 03:28:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.31
X-Spam-Level: 
X-Spam-Status: No, score=-2.31 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c49uts9tIrQL for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 03:27:58 -0700 (PDT)
Received: from a.mx.secunet.com (a.mx.secunet.com [195.81.216.161]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B68121A90C0 for <cfrg@ietf.org>; Tue, 30 Jun 2015 03:27:57 -0700 (PDT)
Received: from localhost (alg1 [127.0.0.1]) by a.mx.secunet.com (Postfix) with ESMTP id F2AF71A0112 for <cfrg@ietf.org>; Tue, 30 Jun 2015 12:27:38 +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 4nCsX8Bq4LR5 for <cfrg@ietf.org>; Tue, 30 Jun 2015 12:27:37 +0200 (CEST)
Received: from mail-essen-02.secunet.de (unknown [10.53.40.205]) by a.mx.secunet.com (Postfix) with ESMTP id A04DF1A006C for <cfrg@ietf.org>; Tue, 30 Jun 2015 12:27:37 +0200 (CEST)
Received: from MAIL-ESSEN-01.secunet.de ([fe80::1c79:38b7:821e:46b4]) by mail-essen-02.secunet.de ([fe80::4431:e661:14d0:41ce%16]) with mapi id 14.03.0248.002; Tue, 30 Jun 2015 12:27:54 +0200
From: =?iso-8859-1?Q?Schmidt=2C_J=F6rn-Marc?= <Joern-Marc.Schmidt@secunet.com>
To: "cfrg@ietf.org" <cfrg@ietf.org>
Thread-Topic: Requirements for PAKE schemes
Thread-Index: AdCy+dikW2yfjpFKQGKG99TioYevag==
Date: Tue, 30 Jun 2015 10:27:54 +0000
Message-ID: <38634A9C401D714A92BB13BBA9CCD34F1664EDF2@mail-essen-01.secunet.de>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.208.1.67]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0048_01D0B330.2F985960"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/76EgZxDdJkIq8K2PALnzWEI8BiA>
Subject: [Cfrg] Requirements for PAKE schemes
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 10:28:00 -0000

------=_NextPart_000_0048_01D0B330.2F985960
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Dear all,

I've just submitted a draft that discusses potential requirements for =
PAKE
schemes:  https://datatracker.ietf.org/doc/draft-irtf-cfrg-pake-reqs/
Many thanks go to Dan Harkins for his great help & support.

I hope that this document is a kind of starting point for a discussion =
on
what we expect from PAKE schemes. Any comment/feedback/suggestion is
welcome.

Best regards,

J=F6rn


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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIILcDCCA4Aw
ggJooAMCAQICAQgwDQYJKoZIhvcNAQEFBQAwTTEXMBUGA1UEAwwOc2VjdW5ldC1QS0ktMDExJTAj
BgNVBAoMHHNlY3VuZXQgU2VjdXJpdHkgTmV0d29ya3MgQUcxCzAJBgNVBAYTAkRFMB4XDTEzMDkx
NDE4MDczN1oXDTE2MDkwMjE4MDczN1owUjEZMBcGA1UEAwwQUHVibGljLVNlY3Rvci0wNDEWMBQG
A1UECwwNUHVibGljIFNlY3RvcjEQMA4GA1UECgwHc2VjdW5ldDELMAkGA1UEBhMCZGUwggEiMA0G
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCRqvsVVv5MbQS8cy8hB4K/W1zCJkQmiEzH+Dq6Jk+v
J60qwXQW+rAkohGpglka0Cunv/nEWcTuOV2WZg+GtvQcriWs6Xgo22SCE41r5zXOtmgYrWlXOYbl
clirYVzfvpeQBOklcBd2Pu7scdlN7lR6ZNkxxJjcMZh/jLkEbIWV7pew3DdafUvjH7P9ecLaB2HD
9JM7h0/uUiwWCtJ1u+1Mnqu4SVYuFTu1oUTkBjrWxO7e7F3MweO6Vxj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311EmYe9djOP7
kgc7C1LCaQmbJ2aU1nDUdYB/GrrgVIvoLYVMHMAtMjyP1pSy3lfJ5rDr+YsPJnVyygV90Zk0kZal
WMGUvVQnGbB+a3sQhOgP3p7/UDaSAVH4FPLweuVU7tA80hukKASL3S9ahanDchfn7v06pzTiQJcv
/DC+7/2s/mZob+wcsu7gURaNky0G1EHURWbV6pF6yRxlZo6708+BFAHhftfweaxqnAZ8qHd+v140
nrURxFjVzegYVo9qC4fY2BCUAvMPD2AR9Dwk1gAAAAAAAA==

------=_NextPart_000_0048_01D0B330.2F985960--


From nobody Tue Jun 30 04:06:27 2015
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 C29531A8855 for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 04:06:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.967
X-Spam-Level: 
X-Spam-Status: No, score=-1.967 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, MIME_8BIT_HEADER=0.3, 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 AuCQSnhRKbMI for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 04:06:24 -0700 (PDT)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4DA291A8854 for <cfrg@ietf.org>; Tue, 30 Jun 2015 04:06:24 -0700 (PDT)
Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.15.0.59/8.15.0.59) with SMTP id t5UB5llG020788; Tue, 30 Jun 2015 04:06:23 -0700
Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0b-0016f401.pphosted.com with ESMTP id 1vbggrh71e-1 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 30 Jun 2015 04:06:23 -0700
Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Tue, 30 Jun 2015 04:06:21 -0700
Received: from SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6]) by SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6%21]) with mapi id 15.00.1044.021; Tue, 30 Jun 2015 04:06:21 -0700
From: Paul Lambert <paul@marvell.com>
To: =?Windows-1252?Q?Schmidt=2C_J=F6rn-Marc?= <Joern-Marc.Schmidt@secunet.com>,  "cfrg@ietf.org" <cfrg@ietf.org>
Thread-Topic: [Cfrg] Requirements for PAKE schemes
Thread-Index: AQHQsyTLGvKyZPKkQUKzsy2M6NFzkg==
Date: Tue, 30 Jun 2015 11:06:21 +0000
Message-ID: <D1B7C462.6E7C4%paul@marvell.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.5.2.150604
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.94.250.30]
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <88A76E8CF21B8F4DB6459371F72AFBB2@marvell.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2015-06-30_05:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 kscore.is_bulkscore=0 kscore.compositescore=1 compositescore=0.9 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 kscore.is_spamscore=0 rbsscore=0.9 spamscore=0 urlsuspectscore=0.9 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1506180000 definitions=main-1506300179
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/hG7YtK5extjfClzmCV8VREHHjGM>
Subject: Re: [Cfrg] Requirements for PAKE schemes
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 11:06:25 -0000

Nicely written =8A A couple general comments, in section 5 it states:

"This technique can be used
   to parlay a short one-time code, into a long-lived public key.=B2

This seems much more interesting than just setting up shared secrets.
Perhaps it could be included in the MAY comments to help promote the
addressing of this capability.  A PAKE plus long-lived public key is an
important building block for pairing/setup of devices that use public keys
for authentication.

Where long-lived public keys are used, a requirement should also be added
to discuss the privacy properties of the scheme.

Paul


On 6/30/15, 3:27 AM, "Cfrg on behalf of Schmidt, J=F6rn-Marc"
<cfrg-bounces@irtf.org on behalf of Joern-Marc.Schmidt@secunet.com> wrote:

>Dear all,
>
>I've just submitted a draft that discusses potential requirements for PAKE
>schemes:  https://datatracker.ietf.org/doc/draft-irtf-cfrg-pake-reqs/
>Many thanks go to Dan Harkins for his great help & support.
>
>I hope that this document is a kind of starting point for a discussion on
>what we expect from PAKE schemes. Any comment/feedback/suggestion is
>welcome.
>
>Best regards,
>
>J=F6rn
>


From nobody Tue Jun 30 08:00:07 2015
Return-Path: <quynh.dang@nist.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 945501AC408 for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 08:00:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.798
X-Spam-Level: 
X-Spam-Status: No, score=0.798 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001, 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 XZ9IjiY-6R6V for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 08:00:03 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0126.outbound.protection.outlook.com [207.46.100.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7B7161AC416 for <cfrg@irtf.org>; Tue, 30 Jun 2015 08:00:03 -0700 (PDT)
Received: from BN1PR09MB124.namprd09.prod.outlook.com (10.255.200.27) by BN1PR09MB121.namprd09.prod.outlook.com (10.255.200.145) with Microsoft SMTP Server (TLS) id 15.1.195.15; Tue, 30 Jun 2015 15:00:01 +0000
Received: from BN1PR09MB124.namprd09.prod.outlook.com ([10.255.200.27]) by BN1PR09MB124.namprd09.prod.outlook.com ([10.255.200.27]) with mapi id 15.01.0195.005; Tue, 30 Jun 2015 15:00:01 +0000
From: "Dang, Quynh" <quynh.dang@nist.gov>
To: "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: Performance of SHA-512 vs Keccak [c = 512] ( SHAKE256) for 512-bit hash output. 
Thread-Index: AQHQrcc8bXmUuA+P60qM84GXP40LGJ3FJOgi
Date: Tue, 30 Jun 2015 15:00:01 +0000
Message-ID: <BN1PR09MB12496D28882F5FA05B50220F3A90@BN1PR09MB124.namprd09.prod.outlook.com>
References: <5586895A.3020607@isode.com> <810C31990B57ED40B2062BA10D43FBF5DFF8F5@XMB116CNC.rim.net>, <20150623101755.GA11611@LK-Perkele-VII>, <BN1PR09MB1241B23CB61F6A3CAADCFFBF3A00@BN1PR09MB124.namprd09.prod.outlook.com>
In-Reply-To: <BN1PR09MB1241B23CB61F6A3CAADCFFBF3A00@BN1PR09MB124.namprd09.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: irtf.org; dkim=none (message not signed) header.d=none;
x-originating-ip: [129.6.230.6]
x-microsoft-exchange-diagnostics: 1; BN1PR09MB121; 5:ycwWKqUpNZ++ZabD4mNT7foRQXjWQyKVUtX6vzOEE66dwIX4hxfLa6BkDSrZJnUpK1aj5KUUQrvHictK5LyBcm/SAJq947LZzcyxB1w4JVgFygNf1F5x15uVC6Z1rl+78PhV+PfPvPdcDvjbPA6JQw==; 24:Ix1o+66gtDwg46qngJuEbscVxCIYvV+XEWNV/TCXmtc6hAe+5J8OBcxYPPa7ts38IbumNrx7FM7ifmG1WY4UCRuSsHlqxpPhZfm574DZfJY=; 20:/Pq9qlomrI2SU7KfCH0I1Y2v1aniGn/UdHit1fFBvJeUjy1yzgMiQY7BLThW58yXP0Ob6/mpBUDkNO0HbjnH3w==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1PR09MB121;
x-microsoft-antispam-prvs: <BN1PR09MB121EFC1A632FF79C8A8DE1EF3A90@BN1PR09MB121.namprd09.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BN1PR09MB121; BCL:0; PCL:0; RULEID:; SRVR:BN1PR09MB121; 
x-forefront-prvs: 06237E4555
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(6009001)(53754006)(377454003)(19580405001)(99286002)(15975445007)(1720100001)(46102003)(106116001)(77096005)(5003600100002)(102836002)(33656002)(450100001)(62966003)(2656002)(86362001)(19580395003)(87936001)(2900100001)(2950100001)(93886004)(77156002)(40100003)(76176999)(54356999)(50986999)(74316001)(122556002)(66066001)(5001960100002)(92566002)(107886002)(110136002)(76576001)(189998001)(5002640100001)(491001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR09MB121; H:BN1PR09MB124.namprd09.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; 
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: nist.gov
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2015 15:00:01.2895 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2ab5d82f-d8fa-4797-a93e-054655c61dec
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR09MB121
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/gmELpI76SVeRcHddIwCEdpj-qVI>
Subject: Re: [Cfrg] Performance of SHA-512 vs Keccak [c = 512] ( SHAKE256) for 512-bit hash output.
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 15:00:05 -0000

Hi IIari and all,

We decided to use security levels to name the SHAKEs: SHAKE128 and SHAKE256=
.

SHA-256 has 64 rounds and SHA-512 has 80 rounds. SHA-512 has (80 - 64) 16/6=
4 =3D 25% more rounds than SHA-256 has.=20

SHA-512 has word size of 64 bits and input block size of 1024 bits which ar=
e twice as large as word size and input block size of SHA-256.

Therefore, I think it would be reasonable to expect that SHA-512 has much b=
etter performance than SHA-256 on 64-bit machines generally ( 2 / 1.25 =3D =
1.6).=20

Below were some performance data references that I saw in the past, a few y=
ears ago.

http://bench.cr.yp.to/xweb-hash/long- sha256.html (This one did not work wh=
en I tried to access it today or it does not exist anymore.)

Gueron, S., S. Johnson, and J. Walker. 2011. SHA-512=3D256, 2011 Eighth Int=
ernational Conference on Information Technology: New Generation.


That was why we specified SHA-512/256 as an alternative to SHA-256.

Quynh.=20


________________________________________
From: Dang, Quynh
Sent: Tuesday, June 23, 2015 11:14 AM
To: 'cfrg@irtf.org'
Subject: Performance of SHA-512 vs Keccak [c =3D 512] ( SHAKE256) for 512-b=
it hash output.

Hi all,

Looking at this ebash website at http://bench.cr.yp.to/results-sha3.html, i=
t looks like Keccak [c =3D 512] does perform comparatively to SHA-512,  or =
even better over all.

Keccak [ c =3D 256] (SHAKE128) (for 256-bit hash output)  is expected to ha=
ve roughly 25% better performance than Keccak [ c =3D 512].

Quynh.=


From nobody Tue Jun 30 08:14:00 2015
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 89FB51B2DDF for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 08:13:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level: 
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WQfLU_irMmYw for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 08:13:57 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 570191B2DC5 for <Cfrg@irtf.org>; Tue, 30 Jun 2015 08:13:54 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id D87A8BE4C; Tue, 30 Jun 2015 16:13:52 +0100 (IST)
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nk_oCPUlmF83; Tue, 30 Jun 2015 16:13:52 +0100 (IST)
Received: from [134.226.36.180] (stephen-think.dsg.cs.tcd.ie [134.226.36.180]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id B88CCBE49; Tue, 30 Jun 2015 16:13:52 +0100 (IST)
Message-ID: <5592B230.7060605@cs.tcd.ie>
Date: Tue, 30 Jun 2015 16:13:52 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: "cfrg@irtf.org" <Cfrg@irtf.org>
OpenPGP: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/6SJ_Qlq1NggEZktsxowWwcuRWPU>
Cc: Paul Hoffman <paul.hoffman@vpnc.org>
Subject: [Cfrg] two curvy drafts...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 15:13:59 -0000

Hiya,

I've just noticed we have both of these drafts [1,2] in work
at the same time.

What is the proper relationship between them? E.g. should they
mention one another somehow or should there be some text in
one that helps a reader of the other, or are there changes to
one that'd be worth making given the other?

For example, the title of [2] might be considered no longer
quite accurate if [2] doesn't cover the kinds of curve
described in [1]? Or maybe [1] should adopt notation from
[2] and say where/how it differs from what's in [2]?

I don't really care much how we resolve any potential issues
with these, but it'd be a shame if we ended up confusing
readers (more than necessary:-)

Thanks,
S.

[1] https://tools.ietf.org/html/draft-irtf-cfrg-curves-02
[2] https://tools.ietf.org/html/draft-hoffman-rfc6090bis-02


From nobody Tue Jun 30 08:27:36 2015
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 838E01ACAD5 for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 08:27:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.011
X-Spam-Level: 
X-Spam-Status: No, score=-2.011 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u3izDTa6Mpvb for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 08:27:34 -0700 (PDT)
Received: from waldorf.isode.com (waldorf.isode.com [217.34.220.150]) by ietfa.amsl.com (Postfix) with ESMTP id 2C4DE1A3B9F for <Cfrg@irtf.org>; Tue, 30 Jun 2015 08:27:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1435678053; d=isode.com; s=selector; i=@isode.com; bh=E0MyoZjBIdovY52A6GcJU4msLApvM4CGBq4Y6muROA0=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=GpID91/4TEIjh+w9TwP6Uc3BakxzPFnVd/wsw9j2KKx+sT7bSyo5yeyH5/3ZdjOkWHKc3C ZAeHw6+RWL1liv+PDQPKVvUiHHQsn0+eGmnZKDmqJ73HMvdb1fyxq/Y8cCUvtu17kqt1yN ySdpNWW3nKF8OBXfqQBqjtXRycH7CwA=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <VZK1YgA3=6Az@waldorf.isode.com>; Tue, 30 Jun 2015 16:27:33 +0100
Message-ID: <5592B559.4030402@isode.com>
Date: Tue, 30 Jun 2015 16:27:21 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>, "cfrg@irtf.org" <Cfrg@irtf.org>
References: <5592B230.7060605@cs.tcd.ie>
In-Reply-To: <5592B230.7060605@cs.tcd.ie>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/PNyly9O7Nk6m158YcyiqrhQG-ys>
Cc: Paul Hoffman <paul.hoffman@vpnc.org>
Subject: Re: [Cfrg] two curvy drafts...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 15:27:35 -0000

Hi Stephen,

On 30/06/2015 16:13, Stephen Farrell wrote:
> Hiya,
>
> I've just noticed we have both of these drafts [1,2] in work
> at the same time.
>
> What is the proper relationship between them? E.g. should they
> mention one another somehow or should there be some text in
> one that helps a reader of the other, or are there changes to
> one that'd be worth making given the other?
>
> For example, the title of [2] might be considered no longer
> quite accurate if [2] doesn't cover the kinds of curve
> described in [1]? Or maybe [1] should adopt notation from
> [2] and say where/how it differs from what's in [2]?
>
> I don't really care much how we resolve any potential issues
> with these, but it'd be a shame if we ended up confusing
> readers (more than necessary:-)

(I haven't looked at draft-hoffman-rfc6090bis recently.)
If there are any inconsistencies, it is worth updating draft-hoffman-rfc6090bis-02 after draft-irtf-cfrg-curves is done.


> Thanks,
> S.
>
> [1] https://tools.ietf.org/html/draft-irtf-cfrg-curves-02
> [2] https://tools.ietf.org/html/draft-hoffman-rfc6090bis-02
>


From nobody Tue Jun 30 08:31:01 2015
Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 16EE11ACCE7 for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 08:31:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.053
X-Spam-Level: 
X-Spam-Status: No, score=0.053 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, HELO_MISMATCH_COM=0.553] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L6d_9d-HBOp8 for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 08:30:56 -0700 (PDT)
Received: from hoffman.proper.com (Opus1.Proper.COM [207.182.41.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 120E51A006F for <Cfrg@irtf.org>; Tue, 30 Jun 2015 08:30:56 -0700 (PDT)
Received: from [10.20.30.101] (142-254-17-100.dsl.dynamic.fusionbroadband.com [142.254.17.100]) (authenticated bits=0) by hoffman.proper.com (8.15.1/8.14.9) with ESMTPSA id t5UFUnOa042073 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 Jun 2015 08:30:50 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: hoffman.proper.com: Host 142-254-17-100.dsl.dynamic.fusionbroadband.com [142.254.17.100] claimed to be [10.20.30.101]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <5592B230.7060605@cs.tcd.ie>
Date: Tue, 30 Jun 2015 08:30:48 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <5933DE59-FE9D-4105-BF51-D687F2E0AE66@vpnc.org>
References: <5592B230.7060605@cs.tcd.ie>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
X-Mailer: Apple Mail (2.2098)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/PIzCpQ1aPAautbRawRiDi7afShA>
Cc: "cfrg@irtf.org" <Cfrg@irtf.org>
Subject: Re: [Cfrg] two curvy drafts...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 15:31:00 -0000

The RG has not yet adopted draft-hoffman-rfc6090bis, although that would =
be great.=20

RFC 6090 was about the early foundations of the EC used in ECDSA, =
showing that it all was quite some time ago. Someone reading RFC 6090 =
who cared about possible patent claims could get a historical =
perspective on how old the fundamental parts of EC were invented.

It has been said that some of the cryptography in draft-irtf-cfrg-curves =
is more recent than that of ECDSA. If we added that into 6090bis, it =
would make it harder for the reader to make the historical distinctions.

Maybe we can progress 6090bis for its value of fixing bugs in 6090, and =
start a different document that only talks about the crypto that is =
different from 6090bis.

--Paul Hoffman=


From nobody Tue Jun 30 08:38:31 2015
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 467151A9234 for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 08:38:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.81
X-Spam-Level: 
X-Spam-Status: No, score=-2.81 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id edC2WxpPUKQ3 for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 08:38:29 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3D89F1A90C1 for <Cfrg@irtf.org>; Tue, 30 Jun 2015 08:38:29 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id B4AEBBDF9; Tue, 30 Jun 2015 16:38:26 +0100 (IST)
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h7ZIJEDg94B9; Tue, 30 Jun 2015 16:38:26 +0100 (IST)
Received: from [134.226.36.180] (stephen-think.dsg.cs.tcd.ie [134.226.36.180]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 91DBDBDCB; Tue, 30 Jun 2015 16:38:26 +0100 (IST)
Message-ID: <5592B7F2.60707@cs.tcd.ie>
Date: Tue, 30 Jun 2015 16:38:26 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Paul Hoffman <paul.hoffman@vpnc.org>
References: <5592B230.7060605@cs.tcd.ie> <5933DE59-FE9D-4105-BF51-D687F2E0AE66@vpnc.org>
In-Reply-To: <5933DE59-FE9D-4105-BF51-D687F2E0AE66@vpnc.org>
OpenPGP: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/CR7zsYZXUU-8t-u72Mwb68PIAUM>
Cc: "cfrg@irtf.org" <Cfrg@irtf.org>
Subject: Re: [Cfrg] two curvy drafts...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 15:38:30 -0000

On 30/06/15 16:30, Paul Hoffman wrote:
> The RG has not yet adopted draft-hoffman-rfc6090bis, although that
> would be great.

Ah, ok - I forgot or didn't know you wanted to do it via cfrg.
(6090 is an IETF stream RFC but we can figure out whatever's
needed if cfrg want to process it.)

> 
> RFC 6090 was about the early foundations of the EC used in ECDSA,
> showing that it all was quite some time ago. Someone reading RFC 6090
> who cared about possible patent claims could get a historical
> perspective on how old the fundamental parts of EC were invented.
> 
> It has been said that some of the cryptography in
> draft-irtf-cfrg-curves is more recent than that of ECDSA. If we added
> that into 6090bis, it would make it harder for the reader to make the
> historical distinctions.
> 
> Maybe we can progress 6090bis for its value of fixing bugs in 6090,
> and start a different document that only talks about the crypto that
> is different from 6090bis.

Or add an informative ref to the new stuff to 6090bis and say that
there is new stuff, but it's not covered here. Isn't it just the
normative refs that we need "old" in 6090bis?

But I guess I'm more interested in the other way about. While (again)
I don't mind what the right answer is, if someone started their ECC
reading with 6090bis and then went to draft-irtf-cfrg-curves, is there
something we should be doing to make their life easier? Or don't we
think that's a deal?

S.



> 
> --Paul Hoffman
> 


From nobody Tue Jun 30 08:47:46 2015
Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5F5561ACD19 for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 08:47:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.347
X-Spam-Level: 
X-Spam-Status: No, score=-1.347 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uinsZX0R10vr for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 08:47:44 -0700 (PDT)
Received: from hoffman.proper.com (Opus1.Proper.COM [207.182.41.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 971291ACD12 for <Cfrg@irtf.org>; Tue, 30 Jun 2015 08:47:44 -0700 (PDT)
Received: from [10.20.30.101] (142-254-17-100.dsl.dynamic.fusionbroadband.com [142.254.17.100]) (authenticated bits=0) by hoffman.proper.com (8.15.1/8.14.9) with ESMTPSA id t5UFlc3d042466 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 Jun 2015 08:47:39 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: hoffman.proper.com: Host 142-254-17-100.dsl.dynamic.fusionbroadband.com [142.254.17.100] claimed to be [10.20.30.101]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <5592B7F2.60707@cs.tcd.ie>
Date: Tue, 30 Jun 2015 08:47:38 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <C1B9D895-CAAB-4F4B-91CA-A2C1B92996BD@vpnc.org>
References: <5592B230.7060605@cs.tcd.ie> <5933DE59-FE9D-4105-BF51-D687F2E0AE66@vpnc.org> <5592B7F2.60707@cs.tcd.ie>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
X-Mailer: Apple Mail (2.2098)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/0Wyia_xfBHuGchk2FQ3Qs3Pq48c>
Cc: "cfrg@irtf.org" <Cfrg@irtf.org>
Subject: Re: [Cfrg] two curvy drafts...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 15:47:45 -0000

On Jun 30, 2015, at 8:38 AM, Stephen Farrell <stephen.farrell@cs.tcd.ie> =
wrote:
>=20
>=20
>=20
> On 30/06/15 16:30, Paul Hoffman wrote:
>> The RG has not yet adopted draft-hoffman-rfc6090bis, although that
>> would be great.
>=20
> Ah, ok - I forgot or didn't know you wanted to do it via cfrg.
> (6090 is an IETF stream RFC but we can figure out whatever's
> needed if cfrg want to process it.)

Stream is unimportant to getting the information out.

>=20
>>=20
>> RFC 6090 was about the early foundations of the EC used in ECDSA,
>> showing that it all was quite some time ago. Someone reading RFC 6090
>> who cared about possible patent claims could get a historical
>> perspective on how old the fundamental parts of EC were invented.
>>=20
>> It has been said that some of the cryptography in
>> draft-irtf-cfrg-curves is more recent than that of ECDSA. If we added
>> that into 6090bis, it would make it harder for the reader to make the
>> historical distinctions.
>>=20
>> Maybe we can progress 6090bis for its value of fixing bugs in 6090,
>> and start a different document that only talks about the crypto that
>> is different from 6090bis.
>=20
> Or add an informative ref to the new stuff to 6090bis and say that
> there is new stuff, but it's not covered here. Isn't it just the
> normative refs that we need "old" in 6090bis?

Correct. I can add that, and even if 6090bis gets published as an RFC =
before draft-irtf-cfrg-curves does, it would be a useful reference to =
add.

> But I guess I'm more interested in the other way about. While (again)
> I don't mind what the right answer is, if someone started their ECC
> reading with 6090bis and then went to draft-irtf-cfrg-curves, is there
> something we should be doing to make their life easier? Or don't we
> think that's a deal?

It would not hurt for draft-irtf-cfrg-curves to point to 6090 or =
6090bis.

--Paul Hoffman=


From nobody Tue Jun 30 08:54:57 2015
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 3A1851ACD38 for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 08:54:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 n9SwanEXnVXY for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 08:54:54 -0700 (PDT)
Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3A08C1ACD36 for <cfrg@irtf.org>; Tue, 30 Jun 2015 08:54:54 -0700 (PDT)
Received: by wgjx7 with SMTP id x7so13476769wgj.2 for <cfrg@irtf.org>; Tue, 30 Jun 2015 08:49:17 -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=XB5t82Uuqzmv93XguueGGDOTJWADo6ZeWjZeDLyw294=; b=b2DCUXOalrrN5arW5kFc5bpu1LgGejlYO2vlbslPNyhMSdc0/FfDeABtuZE+vPTK6p 8Va9bMKOd3u08JrAoZTObFli/K0ESsys0Q37BP3vIs6+iCa2SfWbMQJSUd1x09Pe0jff 6Rd+jhy/KbC5HCDXM3ZOFxAW2f3v2zLvYDLIlCY8Y1SUfDj09B/DB4/auN7IiBMl6aAL us6r5sg3aHyyGTI24JLizESTHtUfbQOj/EV6SR2bavVMKUCPGMWCoC4IbgQn9ILpFC6l gMX6XZ9+yUtToqH7PZ+Rg+/0eAwE7CezSinNQL5IxQzIa5NJIpgzlwQEhME3Wg+UUMX1 DjrQ==
MIME-Version: 1.0
X-Received: by 10.194.172.130 with SMTP id bc2mr43121439wjc.85.1435679357591;  Tue, 30 Jun 2015 08:49:17 -0700 (PDT)
Received: by 10.194.20.97 with HTTP; Tue, 30 Jun 2015 08:49:17 -0700 (PDT)
Received: by 10.194.20.97 with HTTP; Tue, 30 Jun 2015 08:49:17 -0700 (PDT)
In-Reply-To: <5592B7F2.60707@cs.tcd.ie>
References: <5592B230.7060605@cs.tcd.ie> <5933DE59-FE9D-4105-BF51-D687F2E0AE66@vpnc.org> <5592B7F2.60707@cs.tcd.ie>
Date: Tue, 30 Jun 2015 08:49:17 -0700
Message-ID: <CACsn0ckDcv_MOrA7shYRGGE_PRpBi31Fo9rR9u49d=P9d8+RCQ@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Content-Type: multipart/alternative; boundary=089e013c63421eef930519be26dd
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/dCXQntcG6DvI1EfxCfxDSSuvoxg>
Cc: cfrg@irtf.org, Paul Hoffman <paul.hoffman@vpnc.org>
Subject: Re: [Cfrg] two curvy drafts...
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 15:54:56 -0000

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

On Jun 30, 2015 8:39 AM, "Stephen Farrell" <stephen.farrell@cs.tcd.ie>
wrote:
>
>
>
> On 30/06/15 16:30, Paul Hoffman wrote:
> > The RG has not yet adopted draft-hoffman-rfc6090bis, although that
> > would be great.
>
> Ah, ok - I forgot or didn't know you wanted to do it via cfrg.
> (6090 is an IETF stream RFC but we can figure out whatever's
> needed if cfrg want to process it.)
>
> >
> > RFC 6090 was about the early foundations of the EC used in ECDSA,
> > showing that it all was quite some time ago. Someone reading RFC 6090
> > who cared about possible patent claims could get a historical
> > perspective on how old the fundamental parts of EC were invented.
> >
> > It has been said that some of the cryptography in
> > draft-irtf-cfrg-curves is more recent than that of ECDSA. If we added
> > that into 6090bis, it would make it harder for the reader to make the
> > historical distinctions.
> >
> > Maybe we can progress 6090bis for its value of fixing bugs in 6090,
> > and start a different document that only talks about the crypto that
> > is different from 6090bis.
>
> Or add an informative ref to the new stuff to 6090bis and say that
> there is new stuff, but it's not covered here. Isn't it just the
> normative refs that we need "old" in 6090bis?

The point was to present patent free algorithms. Adding information from an
informative reference that is later would also be a problem, unless we're
just saying "new stuff is here".

>
> But I guess I'm more interested in the other way about. While (again)
> I don't mind what the right answer is, if someone started their ECC
> reading with 6090bis and then went to draft-irtf-cfrg-curves, is there
> something we should be doing to make their life easier? Or don't we
> think that's a deal?

Maybe? Until we get further along with both of those I'm not sure they are
ready to be read against each other yet.
>
> S.
>
>
>
> >
> > --Paul Hoffman
> >
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg

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

<p dir="ltr"><br>
On Jun 30, 2015 8:39 AM, &quot;Stephen Farrell&quot; &lt;<a href="mailto:stephen.farrell@cs.tcd.ie">stephen.farrell@cs.tcd.ie</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On 30/06/15 16:30, Paul Hoffman wrote:<br>
&gt; &gt; The RG has not yet adopted draft-hoffman-rfc6090bis, although that<br>
&gt; &gt; would be great.<br>
&gt;<br>
&gt; Ah, ok - I forgot or didn&#39;t know you wanted to do it via cfrg.<br>
&gt; (6090 is an IETF stream RFC but we can figure out whatever&#39;s<br>
&gt; needed if cfrg want to process it.)<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; RFC 6090 was about the early foundations of the EC used in ECDSA,<br>
&gt; &gt; showing that it all was quite some time ago. Someone reading RFC 6090<br>
&gt; &gt; who cared about possible patent claims could get a historical<br>
&gt; &gt; perspective on how old the fundamental parts of EC were invented.<br>
&gt; &gt;<br>
&gt; &gt; It has been said that some of the cryptography in<br>
&gt; &gt; draft-irtf-cfrg-curves is more recent than that of ECDSA. If we added<br>
&gt; &gt; that into 6090bis, it would make it harder for the reader to make the<br>
&gt; &gt; historical distinctions.<br>
&gt; &gt;<br>
&gt; &gt; Maybe we can progress 6090bis for its value of fixing bugs in 6090,<br>
&gt; &gt; and start a different document that only talks about the crypto that<br>
&gt; &gt; is different from 6090bis.<br>
&gt;<br>
&gt; Or add an informative ref to the new stuff to 6090bis and say that<br>
&gt; there is new stuff, but it&#39;s not covered here. Isn&#39;t it just the<br>
&gt; normative refs that we need &quot;old&quot; in 6090bis?</p>
<p dir="ltr">The point was to present patent free algorithms. Adding information from an informative reference that is later would also be a problem, unless we&#39;re just saying &quot;new stuff is here&quot;.</p>
<p dir="ltr">&gt;<br>
&gt; But I guess I&#39;m more interested in the other way about. While (again)<br>
&gt; I don&#39;t mind what the right answer is, if someone started their ECC<br>
&gt; reading with 6090bis and then went to draft-irtf-cfrg-curves, is there<br>
&gt; something we should be doing to make their life easier? Or don&#39;t we<br>
&gt; think that&#39;s a deal?</p>
<p dir="ltr">Maybe? Until we get further along with both of those I&#39;m not sure they are ready to be read against each other yet.<br>
&gt;<br>
&gt; S.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; --Paul Hoffman<br>
&gt; &gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Cfrg mailing list<br>
&gt; <a href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
&gt; <a href="http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/mailman/listinfo/cfrg</a><br>
</p>

--089e013c63421eef930519be26dd--


From nobody Tue Jun 30 09:04:50 2015
Return-Path: <dmjacobson@sbcglobal.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B4ACE1ACD53 for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 09:04:48 -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, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dhDEhTX8sL7G for <cfrg@ietfa.amsl.com>; Tue, 30 Jun 2015 09:04:47 -0700 (PDT)
Received: from nm21-vm9.access.bullet.mail.gq1.yahoo.com (nm21-vm9.access.bullet.mail.gq1.yahoo.com [216.39.62.68]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 633641ACD4F for <cfrg@irtf.org>; Tue, 30 Jun 2015 09:04:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1435680286; bh=RAuCsRykqM/zDOhtGxjWVBnJS+7nzVrC5F8xKQuswF0=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=WEedG6puxyITZg6KS3W/agmCY9VXK2RSeKVqoDCLsTEbL0+AIC6nUkf6CqbN5eVnoTmqlh3IpXoZeHpkPMxSXdikDeQZnNX3DAHju2ChxkqduMy0SmSiksWKOCAW8EE9YOV9douUVs7Iv5SaocIWw1VnWkokgZfRT9k1NEMFyuZSq0F5xjlC0MLsFljo8+R5EBwBkvmBNlBbqfv2M0wz+j6pr3WhShCSUaZ+5FS48rIJfigWrAN1ShazA2B6PRMDEcMr9QUZqJ32CbJnIec6EIO+WMam9iA+rtq0VxeBPG0YznkY4gwgJkroUSqUQHrKE9iNQe+ueYUXyym7Y0zYhA==
Received: from [216.39.60.166] by nm21.access.bullet.mail.gq1.yahoo.com with NNFMP; 30 Jun 2015 16:04:46 -0000
Received: from [67.195.23.144] by tm2.access.bullet.mail.gq1.yahoo.com with NNFMP; 30 Jun 2015 16:04:46 -0000
Received: from [127.0.0.1] by smtp116.sbc.mail.gq1.yahoo.com with NNFMP; 30 Jun 2015 16:04:46 -0000
X-Yahoo-Newman-Id: 657587.50217.bm@smtp116.sbc.mail.gq1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: Vlp5fRkVM1n6OwyYw1sfKrmWXN.FnyPmZlAMGIc4zREGclo sC1dPSXavxYCjgcNBXS2tm4iMsBWGtWI881E30o5EEkcCdlf874rjOUiwrI9 0JDj0ai.6DiH_2TzzByAPGhexeH4oMdqGHpCmVCtrQVfy35odbZG7agoSdm6 r8eHfN8FOMc0goO7JDJVYRDzDyiskI8xF_1XcAhKlO5RR3kcQcOfRgClHIoV fpV8MydhGajj1ikwVFtae0EyAdtt7En3PrnrKaFZaA2MHmHeCMmemeCFOB75 _Z_xQL7.Lpo1omn1EzcarPqDNMJrkO0vntkgfkTmrvDX4xkCjWrb0mZf6D7Z hX9Ot6KFDHyWToT.hgGktbVA.LM117I0WZlI5V38Hn6eTrxi63MmMbr7VjrS oubCZt2HGWSe_lvyFGSzhHuGXqAJ6CZ1he9.eL5hgsawH3297qhYJCNW6wA6 JG6qi.tgNrTBImG6.UbuIBYXVQD88XcFVhpHRhbOeYCeMzRtnmkiLP3HtdAe hHULYdrjE0j5hvJW.WPd6vE83IigLFDP8CX_Y.sSL5S1VmYvM42J6QQ--
X-Yahoo-SMTP: nOrmCa6swBAE50FabWnlVFUpgFVJ9Gbi__8U5mpvhtQq7tTV1g--
Message-ID: <5592BE1D.5080608@sbcglobal.net>
Date: Tue, 30 Jun 2015 09:04:45 -0700
From: David Jacobson <dmjacobson@sbcglobal.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>,  Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
References: <20150622122321.GA28986@LK-Perkele-VII> <810C31990B57ED40B2062BA10D43FBF5E018E0@XMB116CNC.rim.net> <55917BF2.4060700@sbcglobal.net> <20150629172548.GA25403@LK-Perkele-VII> <D1B6F86E.1B3CA%uri@ll.mit.edu>
In-Reply-To: <D1B6F86E.1B3CA%uri@ll.mit.edu>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/EKl_mV5IzJqRhim_ANkMxZmXQEg>
Cc: Dan Brown <dbrown@certicom.com>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Subject: Re: [Cfrg] Signature proposal
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 16:04:48 -0000

On 6/29/15 10:30 AM, Blumenthal, Uri - 0553 - MITLL wrote:
> On 6/29/15, 13:25 , "Ilari Liusvaara" <ilari.liusvaara@elisanet.fi> wrote:
>
>> On Mon, Jun 29, 2015 at 10:10:10AM -0700, David Jacobson wrote:
>>> Check out FIPS 186-4.  It defines SHA-512/224 and SHA-512/256, which are
>>> SHA-512 truncated to 224 and 256 bits respectively.  And it states, in
>>> Section 5.3.5 "SHA-512/224 (t = 224) and SHA-512/256 (t = 256) are
>>> approved
>>> hash algorithms."
>> Nope (as said elsewhere in this thread), SHA-512/224 ad SHA-512/256 are
>> not
>> truncations of SHA-512. The IVs are different.
> Yes and Yes.  :-)
>
> I.e., yes SHA-384 and SHA-224 *are* truncations of SHA-512 and SHA-256
> code-wise, and yes - they *also* do have different Ivs (with the
> implication that one *cannot* compute SHA-256 of a blob, truncate the
> output to 224 bits and say it is SHA-224 hash of the blob).
Thank you for correcting my error.  FIPS 180-4 says in section 4.2.3 
that the sequence of 80 64 bit words used in the algorithm is the same 
for SHA-384, SHA-512, SHA-512/224, and SHA-512/256. But those words are 
not the initial value.  That is defined in 5.3.6, and indeed depends on 
the truncated size.

    --David

