
From lars@netapp.com  Wed Sep 12 10:02:05 2012
Return-Path: <lars@netapp.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A480D21F86A3 for <cfrg@ietfa.amsl.com>; Wed, 12 Sep 2012 10:02:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -11.758
X-Spam-Level: 
X-Spam-Status: No, score=-11.758 tagged_above=-999 required=5 tests=[AWL=0.730, BAYES_00=-2.599, GB_I_INVITATION=-2, RCVD_IN_DNSWL_HI=-8, SARE_NETPROD=0.111]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5qAWPVpPKGQB for <cfrg@ietfa.amsl.com>; Wed, 12 Sep 2012 10:02:05 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id E49A821F8697 for <cfrg@irtf.org>; Wed, 12 Sep 2012 10:02:04 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.80,410,1344236400";  d="p7s'?scan'208";a="688825545"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 12 Sep 2012 10:01:58 -0700
Received: from vmwexceht05-prd.hq.netapp.com (vmwexceht05-prd.hq.netapp.com [10.106.77.35]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q8CH1wLu002973 for <cfrg@irtf.org>; Wed, 12 Sep 2012 10:01:58 -0700 (PDT)
Received: from SACEXCMBX01-PRD.hq.netapp.com ([169.254.2.212]) by vmwexceht05-prd.hq.netapp.com ([10.106.77.35]) with mapi id 14.02.0309.002; Wed, 12 Sep 2012 10:01:57 -0700
From: "Eggert, Lars" <lars@netapp.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: Call for Nominations: Applied Networking Research Prize 2013
Thread-Index: AQHNkQhQ3P/5Su599UChM9AKAMIwWQ==
Date: Wed, 12 Sep 2012 17:01:56 +0000
Message-ID: <D4D47BCFFE5A004F95D707546AC0D7E906824721@SACEXCMBX01-PRD.hq.netapp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.106.53.51]
Content-Type: multipart/signed; boundary="Apple-Mail=_05B99A66-6824-4FD2-ADC0-255E23AFCCA7"; protocol="application/pkcs7-signature"; micalg=sha1
MIME-Version: 1.0
Subject: [Cfrg] Call for Nominations: Applied Networking Research Prize 2013
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: "anrp@irtf.org" <anrp@irtf.org>
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Sep 2012 17:02:05 -0000

--Apple-Mail=_05B99A66-6824-4FD2-ADC0-255E23AFCCA7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


                      CALL FOR NOMINATIONS:

           APPLIED NETWORKING RESEARCH PRIZE (ANRP) 2013

                      http://irtf.org/anrp

********************************************************************
***     Submit nominations for the 2013 award period of the      ***
***  Applied Networking Research Prize until November 30, 2012!  ***
***                                                              ***
***    (Please share this announcement with your colleagues.)    ***
********************************************************************

The Applied Networking Research Prize (ANRP) is awarded for recent
results in applied networking research that are relevant for
transitioning into shipping Internet products and related
standardization efforts. Researchers with relevant, recent results
are encouraged to apply for this prize, which will offer them the
opportunity to present and discuss their work with the engineers,
network operators, policy makers and scientists that participate in
the Internet Engineering Task Force (IETF) and its research arm, the
Internet Research Task Force (IRTF). Third-party nominations for this
prize are also encouraged. The goal of the Applied Networking
Research Prize is to recognize the best new ideas in networking, and
bring them to the IETF and IRTF especially in cases where they would
not otherwise see much exposure or discussion.

The Applied Networking Research Prize (ANRP) consists of:

 =95 cash prize of $500 (USD)
 =95 invited talk at the IRTF Open Meeting
 =95 travel grant to attend a week-long IETF meeting (airfare, hotel,
   registration, stipend)
 =95 recognition at the IETF plenary
 =95 invitation to related social activities
 =95 potential for additional travel grants to future IETF meetings,
   based on community feedback

The Applied Networking Research Prize will be awarded once per
calendar year. Each year, several winners will be chosen and invited
to present their work at one of the three IETF meetings during the
year.


HOW TO NOMINATE

Only a single person can be nominated for the award. The basis of the
nomination is a peer-reviewed, original journal, conference or
workshop paper they authored, which was recently published or
accepted for publication. The nominee must be one of the main authors
of the nominated paper. Both self nominations (nominating one=92s own
paper) and third-party nominations (nominating someone else=92s paper)
are encouraged.

The nominated paper should provide a scientific foundation for
possible future IETF engineering work or IRTF research and
experimentation, analyze the behavior of Internet protocols in
operational deployments or realistic testbeds, make an important
contribution to the understanding of Internet scalability,
performance, reliability, security or capability, or otherwise be of
relevance to ongoing or future IETF or IRTF activities.

Applicants must briefly describe how the nominated paper relates to
these goals, and are encouraged to describe how a presentation of
these research results would foster their transition into new IETF
engineering or IRTF experimentation, or otherwise seed new activities
that will have an impact on the real-world Internet.

The goal of the Applied Networking Research Prize (ANRP) is to foster
the transitioning of research results into real-world benefits for
the Internet. Therefore, applicants must indicate that they (or the
nominee, in case of third-party nominations) are available to attend
at least one of the year=92s IETF meetings in person and in its
entirety.

Nominations must include:

 =95 the name and email address of the nominee
 =95 a bibliographic reference to the published (or accepted)
   nominated paper
 =95 a PDF copy of the nominated paper
 =95 a statement that describes how the nominated paper fulfills the
   goals of the award
 =95 a statement about which of the year=92s IETF meetings the nominee
   would be available to attend in person and in its entirety
 =95 a brief biography or CV of the nominee
 =95 optionally, any other supporting information (link to nominee=92s
   web site, etc.)

Nominations are submitted via the submission site at
http://irtf.org/anrp/2013/. In exceptional cases, nominations may
also be submitted by email to anrp@irtf.org.


SELECTION PROCESS

A small selection committee comprised of individuals knowledgeable
about the IRTF, IETF and the broader networking research community
will evaluate the submissions against these selection criteria.


IMPORTANT DATES

Applications close: November 30, 2012 (hard)
Notifications:      December 20, 2012


SPONSORS

The Applied Networking Research Prize (ANRP) is supported by the
Internet Society (ISOC), as part of its Internet Research Award
Programme, in coordination with the Internet Research Task Force
(IRTF).


HELP PUBLICIZE THE ANRP

If you would like to help publicize the ANRP within your
organization, you are welcome to print and use the flyer at
http://irtf.org/anrp-2013-flyer.pdf


--Apple-Mail=_05B99A66-6824-4FD2-ADC0-255E23AFCCA7
Content-Disposition: attachment; filename="smime.p7s"
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIMQDCCBUow
ggQyoAMCAQICEFcfSRTG0jNknqb9LV9GuFkwDQYJKoZIhvcNAQEFBQAwgd0xCzAJBgNVBAYTAlVT
MRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29y
azE7MDkGA1UECxMyVGVybXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9ycGEg
KGMpMDkxHjAcBgNVBAsTFVBlcnNvbmEgTm90IFZhbGlkYXRlZDE3MDUGA1UEAxMuVmVyaVNpZ24g
Q2xhc3MgMSBJbmRpdmlkdWFsIFN1YnNjcmliZXIgQ0EgLSBHMzAeFw0xMTEyMTAwMDAwMDBaFw0x
MjEyMDkyMzU5NTlaMIIBDTEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlT
aWduIFRydXN0IE5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T0skxkHa2bUAAAAAAAA=

--Apple-Mail=_05B99A66-6824-4FD2-ADC0-255E23AFCCA7--

From mcgrew@cisco.com  Thu Sep 13 07:40:52 2012
Return-Path: <mcgrew@cisco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2AC5821F852B for <cfrg@ietfa.amsl.com>; Thu, 13 Sep 2012 07:40:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.598
X-Spam-Level: 
X-Spam-Status: No, score=-110.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8IHNaOgbGL24 for <cfrg@ietfa.amsl.com>; Thu, 13 Sep 2012 07:40:51 -0700 (PDT)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) by ietfa.amsl.com (Postfix) with ESMTP id 7025621F852D for <cfrg@irtf.org>; Thu, 13 Sep 2012 07:40:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2086; q=dns/txt; s=iport; t=1347547251; x=1348756851; h=from:to:cc:subject:date:message-id:mime-version; bh=Jk++qsEyZR8eB1U6NR9HcAbqZpNdgLGQVHZ5PmxQt0k=; b=NhlbdAmvNK+MuoLZuBWHso4GmVyds2K/VA9VBue6RJnHwO1XNqs0O7cC /aJMfYPvI4mAzhdRyKwS9obZF/A9o5edBQc9TVMBBRk/gce5CHB/Erczd ZzNXnqgq0rLeXMgjL+fB7L8Y2WeH+Fx2vIcfjw4sDmm42l7aID9gbeefE w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av4EAOXvUVCtJV2c/2dsb2JhbABFgku5LIEHgicSAQpcEgEMAXMnBA4nh2sLm12gOJFHA5VggRSNJIFpgmaCFw
X-IronPort-AV: E=Sophos;i="4.80,417,1344211200";  d="scan'208,217";a="121243657"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by rcdn-iport-8.cisco.com with ESMTP; 13 Sep 2012 14:40:42 +0000
Received: from xhc-aln-x09.cisco.com (xhc-aln-x09.cisco.com [173.36.12.83]) by rcdn-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id q8DEegQD013113 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 13 Sep 2012 14:40:42 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.159]) by xhc-aln-x09.cisco.com ([173.36.12.83]) with mapi id 14.02.0298.004; Thu, 13 Sep 2012 09:40:42 -0500
From: "David McGrew (mcgrew)" <mcgrew@cisco.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
Thread-Index: AQHNkb3A2Mn62duUhkur3ySu3qHaQw==
Date: Thu, 13 Sep 2012 14:40:41 +0000
Message-ID: <CC7768A9.EDA64%mcgrew@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.1.120420
x-originating-ip: [10.117.10.227]
x-tm-as-product-ver: SMEX-10.2.0.1135-7.000.1014-19180.005
x-tm-as-result: No--30.098300-8.000000-31
x-tm-as-user-approved-sender: No
x-tm-as-user-blocked-sender: No
Content-Type: multipart/alternative; boundary="_000_CC7768A9EDA64mcgrewciscocom_"
MIME-Version: 1.0
Subject: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Sep 2012 14:40:52 -0000

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

Hi,

Thomas has updated his individual submission on deterministic [EC]DSA.   I =
think this is useful work that deserves to move forward to RFC, and that th=
e research group should support it (based on my own opinion and the positiv=
e feedback on the list regarding version =9600).   Please take a look at th=
e draft if you have an opinion on digital signatures, and let Thomas know i=
f you have constructive criticism.   Verification of the test cases, and re=
view of the security considerations, would be especially helpful.

Thanks,

David

<http://tools.ietf.org/html/draft-pornin-deterministic-dsa-01>

--_000_CC7768A9EDA64mcgrewciscocom_
Content-Type: text/html; charset="Windows-1252"
Content-ID: <05DD76ADCE67844B882D8CC2D5EDBFD8@cisco.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
ly: Calibri, sans-serif; ">
<div>Hi,</div>
<div><br>
</div>
<div>Thomas has updated his individual submission on deterministic [EC]DSA.=
 &nbsp; I think this is useful work that deserves to move forward to RFC, a=
nd that the research group should support it (based on my own opinion and t=
he positive feedback on the list regarding
 version =9600). &nbsp; Please take a look at the draft if you have an opin=
ion on digital signatures, and let Thomas know if you have constructive cri=
ticism. &nbsp; Verification of the test cases, and review of the security c=
onsiderations, would be especially helpful.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>David</div>
<div><br>
</div>
<div>&lt;http://tools.ietf.org/html/draft-pornin-deterministic-dsa-01&gt;</=
div>
</body>
</html>

--_000_CC7768A9EDA64mcgrewciscocom_--

From zooko@zooko.com  Mon Sep 17 14:58:32 2012
Return-Path: <zooko@zooko.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1FB2721F84F6 for <cfrg@ietfa.amsl.com>; Mon, 17 Sep 2012 14:58:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cpsnUWrH9ZLZ for <cfrg@ietfa.amsl.com>; Mon, 17 Sep 2012 14:58:31 -0700 (PDT)
Received: from zim.maski.org (zim.maski.org [173.230.137.215]) by ietfa.amsl.com (Postfix) with ESMTP id A999B21F84F1 for <cfrg@irtf.org>; Mon, 17 Sep 2012 14:58:31 -0700 (PDT)
Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: zooko) by zim.maski.org (Postfix) with ESMTPSA id B49372331B for <cfrg@irtf.org>; Mon, 17 Sep 2012 21:58:30 +0000 (UTC)
Received: by eeke52 with SMTP id e52so3845570eek.13 for <cfrg@irtf.org>; Mon, 17 Sep 2012 14:58:29 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.14.212.72 with SMTP id x48mr14989967eeo.40.1347919109457; Mon, 17 Sep 2012 14:58:29 -0700 (PDT)
Received: by 10.14.95.6 with HTTP; Mon, 17 Sep 2012 14:58:29 -0700 (PDT)
Date: Mon, 17 Sep 2012 15:58:29 -0600
Message-ID: <CANdZDc6xH_QtKNkN4=-FwrcbiGjxSEpqOrcO+2jPH5j9wx8Q1Q@mail.gmail.com>
From: "Zooko Wilcox-O'Hearn" <zooko@zooko.com>
To: cfrg@irtf.org
Content-Type: text/plain; charset=UTF-8
Subject: [Cfrg] call for review: Web Cryptography API
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Sep 2012 21:58:32 -0000

Folks:

For better or for worse, web-based apps are likely to be the most
widely-used security-sensitive apps in the not too distant future.
We're trying to make it for better. Please help!

The Web Cryptography API working group (of the W3C) has posted this
working draft and is soliciting feedback. I imagine that the final
version of this specification will be implemented by all the major
browser vendors, as well as by other Javascript platforms such as
"node.js".

http://www.w3.org/TR/WebCryptoAPI/

Thank you for your attention.

Regards,

Zooko Wilcox-O'Hearn

Founder, CEO, and Customer Support Rep, Least Authority Enterprises

https://leastauthority.com

From dkravitz@trustcentral.com  Wed Sep 19 15:40:38 2012
Return-Path: <dkravitz@trustcentral.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7129721E804E for <cfrg@ietfa.amsl.com>; Wed, 19 Sep 2012 15:40:38 -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_50=0.001, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Tw0501FFuvtn for <cfrg@ietfa.amsl.com>; Wed, 19 Sep 2012 15:40:35 -0700 (PDT)
Received: from vms173007pub.verizon.net (vms173007pub.verizon.net [206.46.173.7]) by ietfa.amsl.com (Postfix) with ESMTP id 92ACC21E8048 for <cfrg@irtf.org>; Wed, 19 Sep 2012 15:40:35 -0700 (PDT)
Received: from hatemtlaptop ([unknown] [173.66.52.63]) by vms173007.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MAM00GK8CAQO7CD@vms173007.mailsrvcs.net> for cfrg@irtf.org; Wed, 19 Sep 2012 17:40:09 -0500 (CDT)
From: "David W. Kravitz" <dkravitz@trustcentral.com>
To: <cfrg@irtf.org>
References: <CC7768A9.EDA64%mcgrew@cisco.com> <9745FE04-5A2C-4D38-9D34-AFF3A2EC54C6@callas.org>
In-reply-to: <9745FE04-5A2C-4D38-9D34-AFF3A2EC54C6@callas.org>
Date: Wed, 19 Sep 2012 18:40:01 -0400
Message-id: <002801cd96b7$b7c38c80$274aa580$@trustcentral.com>
MIME-version: 1.0
Content-type: multipart/alternative; boundary="----=_NextPart_000_0029_01CD9696.30B4F9C0"
X-Mailer: Microsoft Outlook 14.0
Thread-index: AQJZjD1WbN3mB22kfgMwgvHZe2e5lAHYBuGklmuTzgA=
Content-language: en-us
Cc: john.kelsey@nist.gov, mcgrew@cisco.com
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Sep 2012 22:40:38 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0029_01CD9696.30B4F9C0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi all,

 

Comments below.

 

Thanks,

Jon Callas, David W. Kravitz, and Phil Zimmermann

 

The required security attributes for the safe use of HMAC in this draft are
more nuanced than the description currently conveys.  Consider the following
two excerpts of the draft from the Security Considerations (section 5):
"Security relies on whether the generation of 'k' is indistinguishable from
the output of a Random Oracle.  Roughly speaking, HMAC_DRBG is secure in
that role as long as HMAC behaves as a PRF (Pseudo-Random Function)."   "One
remaining issue with deterministic (EC)DSA, as presented in this document,
is the "double use" of the private key 'x', both as private key in the
signature generation algorithm itself, and as input to the HMAC_DRBG-based
pseudo-random oracle for producing the 'k' value.  This requires HMAC_DRBG
to keep on being a random oracle, even when the public key (which is
computed from 'x') is also known.  Given the lack of common structure
between HMAC and discrete logarithm, this seems a reasonable assumption."
Any discussion in the literature of "random oracle" is typically with
respect to "a publicly accessible random function" (as, for example, in
"Indifferentiability, Impossibility Results on Reductions, and Applications
to the Random Oracle Methodology," by U. Maurer, R. Renner, and C.
Holenstein, ftp://ftp.inf.ethz.ch/pub/crypto/publications/MaReHo04.pdf). But
as HMAC_DRBG is specified in the draft document (with null internal state
per "Note that we instantiate a new HMAC_DRBG instance for each signature
generation process," and "double use" of the private key 'x'), given any
single output of HMAC_DRBG, all other outputs are completely distinguishable
from the output of an arbitrary truly random function. In other words, given
a single 'k' value that was generated using HMAC_DRBG as specified, any
other 'k' value(s) recovered from 's' by using 'r', 'H(m)' and the
no-longer-private value of 'x' can be determined as having been generated
using HMAC_DRBG as specified. Note that even if no values of 'k' are
disclosed, the use of null internal state would be problematic in an
application relying on a DRBG where repeated outputs are unacceptable.

 

So, given that neither (pseudo-)random oracle nor the
next-output-bits-given-previous-output-bits- uncertainty property of DRBG is
achieved within the context of the actual (EC)DSA application, we can use a
simpler formulation here. An example of such is HMAC('x', H(m)||Counter),
where Counter is reinitialized for each signature generation process
instance and potential bias is addressed by deriving 'k' using  a single
Counter value as in [FIPS PUB 186-3] B.2.2 (Per-Message Secret Number
Generation by Testing Candidates), or multiple Counter values are used as in
B.2.1 (Per-Message Secret Number Generation Using Extra Random Bits).

 

Note that in the case where multiple entities have knowledge of 'x' (which
may complicate non-repudiation), deterministic generation of 'k' has the
effect that the potential subliminal/covert channel is replaced by a MAC
property. That is, any entity with knowledge of 'x' can verify the integrity
of 'm' using 's' while ignoring both the transmitted value of 'r', and 'y'
or 'U' (where y = g^x mod p in DSA or U = xG in ECDSA). 

 

It might also be prudent to indicate in the Security Considerations section
that the use of wholly deterministic generation of 'k', while not adversely
affecting the security of (EC)DSA itself and enabling an implementation to
be safely tested using dummy values of 'x', may have a deleterious effect
against resistance to side-channel attacks such as DPA (as opposed to
"masking" using a true RNG).

 

 

From: "David McGrew (mcgrew)" <mcgrew@cisco.com>

Subject: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA
Digital Signature Algorithms

Date: September 13, 2012 7:40:41 AM PDT

To: "cfrg@irtf.org" <cfrg@irtf.org>

 

Hi,

 

Thomas has updated his individual submission on deterministic [EC]DSA.   I
think this is useful work that deserves to move forward to RFC, and that the
research group should support it (based on my own opinion and the positive
feedback on the list regarding version -00).   Please take a look at the
draft if you have an opinion on digital signatures, and let Thomas know if
you have constructive criticism.   Verification of the test cases, and
review of the security considerations, would be especially helpful.

 

Thanks,

 

David

 

<http://tools.ietf.org/html/draft-pornin-deterministic-dsa-01>

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

 


------=_NextPart_000_0029_01CD9696.30B4F9C0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.apple-tab-span
	{mso-style-name:apple-tab-span;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'=
>Hi all,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'=
>Comments below.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'=
>Thanks,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'=
>Jon Callas, David W. Kravitz, and Phil =
Zimmermann<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>The required security =
attributes for the safe use of HMAC in this draft are more nuanced than =
the description currently conveys.&nbsp; Consider the following two =
excerpts of the draft from the Security Considerations (section 5): =
&#8220;Security relies on whether the generation of 'k' is =
indistinguishable from the output of a Random Oracle.&nbsp; Roughly =
speaking, HMAC_DRBG is secure in that role as long as HMAC behaves as a =
PRF (Pseudo-Random Function).&#8221;&nbsp;&nbsp; &#8220;One remaining =
issue with deterministic (EC)DSA, as presented in this document, is the =
&quot;double use&quot; of the private key 'x', both as private key in =
the signature generation algorithm itself, and as input to the =
HMAC_DRBG-based pseudo-random oracle for producing the 'k' value.&nbsp; =
This requires HMAC_DRBG to keep on being a random oracle, even when the =
public key (which is computed from 'x') is also known.&nbsp; Given the =
lack of common structure between HMAC and discrete logarithm, this seems =
a reasonable assumption.&#8221; Any discussion in the literature of =
&#8220;random oracle&#8221; is typically with respect to &#8220;a =
publicly accessible random function&#8221; (as, for example, in =
&#8220;Indifferentiability, Impossibility Results on Reductions, and =
Applications to the Random Oracle Methodology,&#8221; by U. Maurer, R. =
Renner, and C. Holenstein, <a =
href=3D"ftp://ftp.inf.ethz.ch/pub/crypto/publications/MaReHo04.pdf">ftp:/=
/ftp.inf.ethz.ch/pub/crypto/publications/MaReHo04.pdf</a>). But as =
HMAC_DRBG is specified in the draft document (with null internal state =
per &#8220;Note that we instantiate a new HMAC_DRBG instance for each =
signature generation process,&#8221; and &#8220;double use&#8221; of the =
private key &#8216;x&#8217;), given any single output of HMAC_DRBG, all =
other outputs are completely distinguishable from the output of an =
arbitrary truly random function. In other words, given a single =
&#8216;k&#8217; value that was generated using HMAC_DRBG as specified, =
any other &#8216;k&#8217; value(s) recovered from &#8216;s&#8217; by =
using &#8216;r&#8217;, &#8216;H(m)&#8217; and the no-longer-private =
value of &#8216;x&#8217; can be determined as having been generated =
using HMAC_DRBG as specified. Note that even if no values of =
&#8216;k&#8217; are disclosed, the use of null internal state would be =
problematic in an application relying on a DRBG where repeated outputs =
are unacceptable.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>So, given that neither =
(pseudo-)random oracle nor the =
next-output-bits-given-previous-output-bits- uncertainty property of =
DRBG is achieved within the context of the actual (EC)DSA application, =
we can use a simpler formulation here. An example of such is =
HMAC(&#8216;x&#8217;, H(m)||Counter), where Counter is reinitialized for =
each signature generation process instance and potential bias is =
addressed by deriving &#8216;k&#8217; using&nbsp; a single Counter value =
as in [FIPS PUB 186-3] B.2.2 (Per-Message Secret Number Generation by =
Testing Candidates), or multiple Counter values are used as in B.2.1 =
(Per-Message Secret Number Generation Using Extra Random =
Bits).<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>Note that in the case =
where multiple entities have knowledge of &#8216;x&#8217; (which may =
complicate non-repudiation), deterministic generation of &#8216;k&#8217; =
has the effect that the potential subliminal/covert channel is replaced =
by a MAC property. That is, any entity with knowledge of &#8216;x&#8217; =
can verify the integrity of &#8216;m&#8217; using &#8216;s&#8217; while =
ignoring both the transmitted value of &#8216;r&#8217;, and =
&#8216;y&#8217; or &#8216;U&#8217; (where y =3D g^x mod p in DSA or U =
=3D xG in ECDSA). <o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>It might also be prudent =
to indicate in the Security Considerations section that the use of =
wholly deterministic generation of &#8216;k&#8217;, while not adversely =
affecting the security of (EC)DSA itself and enabling an implementation =
to be safely tested using dummy values of &#8216;x&#8217;, may have a =
deleterious effect against resistance to side-channel attacks such as =
DPA (as opposed to &#8220;masking&#8221; using a true =
RNG).<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><p =
class=3DMsoNormal><b><span =
style=3D'font-size:13.5pt;font-family:"Helvetica","sans-serif"'>From: =
</span></b><span =
style=3D'font-size:13.5pt;font-family:"Helvetica","sans-serif"'>&quot;Dav=
id McGrew (mcgrew)&quot; &lt;<a =
href=3D"mailto:mcgrew@cisco.com">mcgrew@cisco.com</a>&gt;</span><o:p></o:=
p></p></div><div><p class=3DMsoNormal><b><span =
style=3D'font-size:13.5pt;font-family:"Helvetica","sans-serif"'>Subject: =
[Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital =
Signature Algorithms</span></b><o:p></o:p></p></div><div><p =
class=3DMsoNormal><b><span =
style=3D'font-size:13.5pt;font-family:"Helvetica","sans-serif"'>Date: =
</span></b><span =
style=3D'font-size:13.5pt;font-family:"Helvetica","sans-serif"'>September=
 13, 2012 7:40:41 AM PDT</span><o:p></o:p></p></div><div><p =
class=3DMsoNormal><b><span =
style=3D'font-size:13.5pt;font-family:"Helvetica","sans-serif"'>To: =
</span></b><span =
style=3D'font-size:13.5pt;font-family:"Helvetica","sans-serif"'>&quot;<a =
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>&quot; &lt;<a =
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>&gt;</span><o:p></o:p></p>=
</div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>Hi,<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>Thomas has updated his individual submission on deterministic [EC]DSA. =
&nbsp; I think this is useful work that deserves to move forward to RFC, =
and that the research group should support it (based on my own opinion =
and the positive feedback on the list regarding version &#8211;00). =
&nbsp; Please take a look at the draft if you have an opinion on digital =
signatures, and let Thomas know if you have constructive criticism. =
&nbsp; Verification of the test cases, and review of the security =
considerations, would be especially =
helpful.<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>Thanks,<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>David<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>&lt;<a =
href=3D"http://tools.ietf.org/html/draft-pornin-deterministic-dsa-01">htt=
p://tools.ietf.org/html/draft-pornin-deterministic-dsa-01</a>&gt;<o:p></o=
:p></span></p></div></div><p =
class=3DMsoNormal>_______________________________________________<br>Cfrg=
 mailing list<br><a =
href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br><a =
href=3D"http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/ma=
ilman/listinfo/cfrg</a><o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------=_NextPart_000_0029_01CD9696.30B4F9C0--


From simon@josefsson.org  Mon Sep 24 02:56:02 2012
Return-Path: <simon@josefsson.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3A59B21F8643 for <cfrg@ietfa.amsl.com>; Mon, 24 Sep 2012 02:56:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -99.873
X-Spam-Level: 
X-Spam-Status: No, score=-99.873 tagged_above=-999 required=5 tests=[AWL=0.036, BAYES_00=-2.599, FH_HOST_EQ_D_D_D_D=0.765, HELO_MISMATCH_COM=0.553, HOST_EQ_STATICB=1.372, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5JRIO4V7n9WL for <cfrg@ietfa.amsl.com>; Mon, 24 Sep 2012 02:56:01 -0700 (PDT)
Received: from yxa-v.extundo.com (static-213-115-179-173.sme.bredbandsbolaget.se [213.115.179.173]) by ietfa.amsl.com (Postfix) with ESMTP id 6F9C921F863C for <cfrg@irtf.org>; Mon, 24 Sep 2012 02:56:00 -0700 (PDT)
Received: from latte (static-213-115-179-130.sme.bredbandsbolaget.se [213.115.179.130]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q8O9tsAT029921 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for <cfrg@irtf.org>; Mon, 24 Sep 2012 11:55:56 +0200
X-Hashcash: 1:22:120924:cfrg@irtf.org::kl+LSz7pQvPU2oz/:8Yzp
From: Simon Josefsson <simon@josefsson.org>
To: cfrg@irtf.org
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
Date: Mon, 24 Sep 2012 11:55:53 +0200
Message-ID: <87bogv4udy.fsf@latte.josefsson.org>
User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/23.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Virus-Scanned: clamav-milter 0.97.3 at yxa-v
X-Virus-Status: Clean
Subject: [Cfrg] scrypt password-based key derivation function
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Sep 2012 09:56:02 -0000

All,

Colin and I have published a draft describing Colin's scrypt key
derivation function.  We would appreciate review of the document:

http://tools.ietf.org/html/draft-josefsson-scrypt-kdf

The input we are seeking here is primarily review of the cryptographic
aspects and correctness of the algorithm description, although all
comments and suggestions are appreciated.

Thanks in advance,
/Simon

From kmigoe@nsa.gov  Mon Sep 24 07:21:20 2012
Return-Path: <kmigoe@nsa.gov>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 21AA921F84B5 for <cfrg@ietfa.amsl.com>; Mon, 24 Sep 2012 07:21:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.109
X-Spam-Level: 
X-Spam-Status: No, score=-9.109 tagged_above=-999 required=5 tests=[BAYES_05=-1.11, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KupPDvQvaetR for <cfrg@ietfa.amsl.com>; Mon, 24 Sep 2012 07:21:14 -0700 (PDT)
Received: from nsa.gov (emvm-gh1-uea09.nsa.gov [63.239.67.10]) by ietfa.amsl.com (Postfix) with ESMTP id 5924321F8622 for <cfrg@irtf.org>; Mon, 24 Sep 2012 07:21:13 -0700 (PDT)
X-TM-IMSS-Message-ID: <7752aecb00173b2c@nsa.gov>
Received: from MSHT-GH1-UEA02.corp.nsa.gov ([10.215.227.181]) by nsa.gov ([63.239.67.10]) with ESMTP (TREND IMSS SMTP Service 7.1) id 7752aecb00173b2c ; Mon, 24 Sep 2012 10:22:52 -0400
Received: from MSMR-GH1-UEA08.corp.nsa.gov (10.215.225.3) by MSHT-GH1-UEA02.corp.nsa.gov (10.215.227.181) with Microsoft SMTP Server (TLS) id 14.1.289.1; Mon, 24 Sep 2012 10:21:11 -0400
Received: from MSMR-GH1-UEA03.corp.nsa.gov ([10.215.224.3]) by MSMR-GH1-UEA08.corp.nsa.gov ([10.215.225.3]) with mapi id 14.01.0289.001; Mon, 24 Sep 2012 10:21:11 -0400
From: "Igoe, Kevin M." <kmigoe@nsa.gov>
To: "'David W. Kravitz'" <dkravitz@trustcentral.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
Thread-Index: AQJZjD1WbN3mB22kfgMwgvHZe2e5lAHYBuGklmuTzgCAB1BZIA==
Date: Mon, 24 Sep 2012 14:21:10 +0000
Message-ID: <3C4AAD4B5304AB44A6BA85173B4675CA17687160@MSMR-GH1-UEA03.corp.nsa.gov>
References: <CC7768A9.EDA64%mcgrew@cisco.com> <9745FE04-5A2C-4D38-9D34-AFF3A2EC54C6@callas.org> <002801cd96b7$b7c38c80$274aa580$@trustcentral.com>
In-Reply-To: <002801cd96b7$b7c38c80$274aa580$@trustcentral.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.215.254.27]
Content-Type: multipart/alternative; boundary="_000_3C4AAD4B5304AB44A6BA85173B4675CA17687160MSMRGH1UEA03cor_"
MIME-Version: 1.0
Cc: "john.kelsey@nist.gov" <john.kelsey@nist.gov>, "mcgrew@cisco.com" <mcgrew@cisco.com>
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Sep 2012 14:21:20 -0000

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

David:

  I'm having a hard time parsing the last two sentences of the first paragr=
aph.  Would you be kind
enough to rephrase them for me?

1) As far as I can see this draft instantiates the HMAC_DRBG using the seed=
 (=3D x || H(M) ) in
precisely the correct manner.  I miss where they have strayed from the stan=
dard.

2) I'm not  sure what you mean by "null internal state".

Clearly I am misinterpreting what you are trying to say.

From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf Of Dav=
id W. Kravitz
Sent: Wednesday, September 19, 2012 6:40 PM
To: cfrg@irtf.org
Cc: john.kelsey@nist.gov; mcgrew@cisco.com
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA D=
igital Signature Algorithms

Hi all,

Comments below.

Thanks,
Jon Callas, David W. Kravitz, and Phil Zimmermann

The required security attributes for the safe use of HMAC in this draft are=
 more nuanced than the description currently conveys.  Consider the followi=
ng two excerpts of the draft from the Security Considerations (section 5): =
"Security relies on whether the generation of 'k' is indistinguishable from=
 the output of a Random Oracle.  Roughly speaking, HMAC_DRBG is secure in t=
hat role as long as HMAC behaves as a PRF (Pseudo-Random Function)."   "One=
 remaining issue with deterministic (EC)DSA, as presented in this document,=
 is the "double use" of the private key 'x', both as private key in the sig=
nature generation algorithm itself, and as input to the HMAC_DRBG-based pse=
udo-random oracle for producing the 'k' value.  This requires HMAC_DRBG to =
keep on being a random oracle, even when the public key (which is computed =
from 'x') is also known.  Given the lack of common structure between HMAC a=
nd discrete logarithm, this seems a reasonable assumption." Any discussion =
in the literature of "random oracle" is typically with respect to "a public=
ly accessible random function" (as, for example, in "Indifferentiability, I=
mpossibility Results on Reductions, and Applications to the Random Oracle M=
ethodology," by U. Maurer, R. Renner, and C. Holenstein, ftp://ftp.inf.ethz=
.ch/pub/crypto/publications/MaReHo04.pdf). But as HMAC_DRBG is specified in=
 the draft document (with null internal state per "Note that we instantiate=
 a new HMAC_DRBG instance for each signature generation process," and "doub=
le use" of the private key 'x'), given any single output of HMAC_DRBG, all =
other outputs are completely distinguishable from the output of an arbitrar=
y truly random function. In other words, given a single 'k' value that was =
generated using HMAC_DRBG as specified, any other 'k' value(s) recovered fr=
om 's' by using 'r', 'H(m)' and the no-longer-private value of 'x' can be d=
etermined as having been generated using HMAC_DRBG as specified. Note that =
even if no values of 'k' are disclosed, the use of null internal state woul=
d be problematic in an application relying on a DRBG where repeated outputs=
 are unacceptable.

So, given that neither (pseudo-)random oracle nor the next-output-bits-give=
n-previous-output-bits- uncertainty property of DRBG is achieved within the=
 context of the actual (EC)DSA application, we can use a simpler formulatio=
n here. An example of such is HMAC('x', H(m)||Counter), where Counter is re=
initialized for each signature generation process instance and potential bi=
as is addressed by deriving 'k' using  a single Counter value as in [FIPS P=
UB 186-3] B.2.2 (Per-Message Secret Number Generation by Testing Candidates=
), or multiple Counter values are used as in B.2.1 (Per-Message Secret Numb=
er Generation Using Extra Random Bits).

Note that in the case where multiple entities have knowledge of 'x' (which =
may complicate non-repudiation), deterministic generation of 'k' has the ef=
fect that the potential subliminal/covert channel is replaced by a MAC prop=
erty. That is, any entity with knowledge of 'x' can verify the integrity of=
 'm' using 's' while ignoring both the transmitted value of 'r', and 'y' or=
 'U' (where y =3D g^x mod p in DSA or U =3D xG in ECDSA).

It might also be prudent to indicate in the Security Considerations section=
 that the use of wholly deterministic generation of 'k', while not adversel=
y affecting the security of (EC)DSA itself and enabling an implementation t=
o be safely tested using dummy values of 'x', may have a deleterious effect=
 against resistance to side-channel attacks such as DPA (as opposed to "mas=
king" using a true RNG).


From: "David McGrew (mcgrew)" <mcgrew@cisco.com<mailto:mcgrew@cisco.com>>
Subject: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digit=
al Signature Algorithms
Date: September 13, 2012 7:40:41 AM PDT
To: "cfrg@irtf.org<mailto:cfrg@irtf.org>" <cfrg@irtf.org<mailto:cfrg@irtf.o=
rg>>

Hi,

Thomas has updated his individual submission on deterministic [EC]DSA.   I =
think this is useful work that deserves to move forward to RFC, and that th=
e research group should support it (based on my own opinion and the positiv=
e feedback on the list regarding version -00).   Please take a look at the =
draft if you have an opinion on digital signatures, and let Thomas know if =
you have constructive criticism.   Verification of the test cases, and revi=
ew of the security considerations, would be especially helpful.

Thanks,

David

<http://tools.ietf.org/html/draft-pornin-deterministic-dsa-01>
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org<mailto:Cfrg@irtf.org>
http://www.irtf.org/mailman/listinfo/cfrg


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.apple-tab-span
	{mso-style-name:apple-tab-span;}
span.EmailStyle20
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle21
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">David:<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp; I&#8217;m having a=
 hard time parsing the last two sentences of the first paragraph.&nbsp; Wou=
ld you be kind<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">enough to rephrase them f=
or me?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">1) As far as I can see th=
is draft instantiates the HMAC_DRBG using the seed (=3D x || H(M) ) in
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">precisely the correct man=
ner.&nbsp; I miss where they have strayed from the standard. &nbsp;<o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">2) I&#8217;m not &nbsp;su=
re what you mean by &#8220;null internal state&#8221;.<o:p></o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Clearly I am misinterpret=
ing what you are trying to say.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> cfrg-bou=
nces@irtf.org [mailto:cfrg-bounces@irtf.org]
<b>On Behalf Of </b>David W. Kravitz<br>
<b>Sent:</b> Wednesday, September 19, 2012 6:40 PM<br>
<b>To:</b> cfrg@irtf.org<br>
<b>Cc:</b> john.kelsey@nist.gov; mcgrew@cisco.com<br>
<b>Subject:</b> Re: [Cfrg] call for review: Deterministic Usage of DSA and =
ECDSA Digital Signature Algorithms<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi all,<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:#1F497D">Comments below.<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks,<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:#1F497D">Jon Callas, David W. Kravit=
z, and Phil Zimmermann<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">The required security =
attributes for the safe use of HMAC in this draft are more nuanced than the=
 description currently conveys.&nbsp; Consider the following two excerpts o=
f the draft from the Security Considerations
 (section 5): &#8220;Security relies on whether the generation of 'k' is in=
distinguishable from the output of a Random Oracle.&nbsp; Roughly speaking,=
 HMAC_DRBG is secure in that role as long as HMAC behaves as a PRF (Pseudo-=
Random Function).&#8221;&nbsp;&nbsp; &#8220;One remaining issue with
 deterministic (EC)DSA, as presented in this document, is the &quot;double =
use&quot; of the private key 'x', both as private key in the signature gene=
ration algorithm itself, and as input to the HMAC_DRBG-based pseudo-random =
oracle for producing the 'k' value.&nbsp; This
 requires HMAC_DRBG to keep on being a random oracle, even when the public =
key (which is computed from 'x') is also known.&nbsp; Given the lack of com=
mon structure between HMAC and discrete logarithm, this seems a reasonable =
assumption.&#8221; Any discussion in the literature
 of &#8220;random oracle&#8221; is typically with respect to &#8220;a publi=
cly accessible random function&#8221; (as, for example, in &#8220;Indiffere=
ntiability, Impossibility Results on Reductions, and Applications to the Ra=
ndom Oracle Methodology,&#8221; by U. Maurer, R. Renner, and C. Holenstein,
<a href=3D"ftp://ftp.inf.ethz.ch/pub/crypto/publications/MaReHo04.pdf">ftp:=
//ftp.inf.ethz.ch/pub/crypto/publications/MaReHo04.pdf</a>). But as HMAC_DR=
BG is specified in the draft document (with null internal state per &#8220;=
Note that we instantiate a new HMAC_DRBG
 instance for each signature generation process,&#8221; and &#8220;double u=
se&#8221; of the private key &#8216;x&#8217;), given any single output of H=
MAC_DRBG, all other outputs are completely distinguishable from the output =
of an arbitrary truly random function. In other words, given a
 single &#8216;k&#8217; value that was generated using HMAC_DRBG as specifi=
ed, any other &#8216;k&#8217; value(s) recovered from &#8216;s&#8217; by us=
ing &#8216;r&#8217;, &#8216;H(m)&#8217; and the no-longer-private value of =
&#8216;x&#8217; can be determined as having been generated using HMAC_DRBG =
as specified. Note that even
 if no values of &#8216;k&#8217; are disclosed, the use of null internal st=
ate would be problematic in an application relying on a DRBG where repeated=
 outputs are unacceptable.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">So, given that neither=
 (pseudo-)random oracle nor the next-output-bits-given-previous-output-bits=
- uncertainty property of DRBG is achieved within the context of the actual=
 (EC)DSA application, we can use a simpler
 formulation here. An example of such is HMAC(&#8216;x&#8217;, H(m)||Counte=
r), where Counter is reinitialized for each signature generation process in=
stance and potential bias is addressed by deriving &#8216;k&#8217; using&nb=
sp; a single Counter value as in [FIPS PUB 186-3] B.2.2 (Per-Message
 Secret Number Generation by Testing Candidates), or multiple Counter value=
s are used as in B.2.1 (Per-Message Secret Number Generation Using Extra Ra=
ndom Bits).<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Note that in the case =
where multiple entities have knowledge of &#8216;x&#8217; (which may compli=
cate non-repudiation), deterministic generation of &#8216;k&#8217; has the =
effect that the potential subliminal/covert channel is replaced
 by a MAC property. That is, any entity with knowledge of &#8216;x&#8217; c=
an verify the integrity of &#8216;m&#8217; using &#8216;s&#8217; while igno=
ring both the transmitted value of &#8216;r&#8217;, and &#8216;y&#8217; or =
&#8216;U&#8217; (where y =3D g^x mod p in DSA or U =3D xG in ECDSA).
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">It might also be prude=
nt to indicate in the Security Considerations section that the use of wholl=
y deterministic generation of &#8216;k&#8217;, while not adversely affectin=
g the security of (EC)DSA itself and enabling an
 implementation to be safely tested using dummy values of &#8216;x&#8217;, =
may have a deleterious effect against resistance to side-channel attacks su=
ch as DPA (as opposed to &#8220;masking&#8221; using a true RNG).<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:13.5pt;font-family:&quot=
;Helvetica&quot;,&quot;sans-serif&quot;">From:
</span></b><span style=3D"font-size:13.5pt;font-family:&quot;Helvetica&quot=
;,&quot;sans-serif&quot;">&quot;David McGrew (mcgrew)&quot; &lt;<a href=3D"=
mailto:mcgrew@cisco.com">mcgrew@cisco.com</a>&gt;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:13.5pt;font-family:&quot=
;Helvetica&quot;,&quot;sans-serif&quot;">Subject: [Cfrg] call for review: D=
eterministic Usage of DSA and ECDSA Digital Signature Algorithms</span></b>=
<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:13.5pt;font-family:&quot=
;Helvetica&quot;,&quot;sans-serif&quot;">Date:
</span></b><span style=3D"font-size:13.5pt;font-family:&quot;Helvetica&quot=
;,&quot;sans-serif&quot;">September 13, 2012 7:40:41 AM PDT</span><o:p></o:=
p></p>
</div>
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:13.5pt;font-family:&quot=
;Helvetica&quot;,&quot;sans-serif&quot;">To:
</span></b><span style=3D"font-size:13.5pt;font-family:&quot;Helvetica&quot=
;,&quot;sans-serif&quot;">&quot;<a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.=
org</a>&quot; &lt;<a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>&gt;</s=
pan><o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">Hi,<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p=
>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">Thomas has updated his indi=
vidual submission on deterministic [EC]DSA. &nbsp; I think this is useful w=
ork that deserves to move forward to RFC, and that the research
 group should support it (based on my own opinion and the positive feedback=
 on the list regarding version &#8211;00). &nbsp; Please take a look at the=
 draft if you have an opinion on digital signatures, and let Thomas know if=
 you have constructive criticism. &nbsp; Verification
 of the test cases, and review of the security considerations, would be esp=
ecially helpful.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p=
>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">Thanks,<o:p></o:p></span></=
p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p=
>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">David<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p=
>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">&lt;<a href=3D"http://tools=
.ietf.org/html/draft-pornin-deterministic-dsa-01">http://tools.ietf.org/htm=
l/draft-pornin-deterministic-dsa-01</a>&gt;<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
<a href=3D"http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/m=
ailman/listinfo/cfrg</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_3C4AAD4B5304AB44A6BA85173B4675CA17687160MSMRGH1UEA03cor_--

From dkravitz@trustcentral.com  Mon Sep 24 08:31:31 2012
Return-Path: <dkravitz@trustcentral.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 078EB21F87AD for <cfrg@ietfa.amsl.com>; Mon, 24 Sep 2012 08:31:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.998
X-Spam-Level: 
X-Spam-Status: No, score=-0.998 tagged_above=-999 required=5 tests=[AWL=1.000,  BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_42=0.6]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nG-13qwjBtJ9 for <cfrg@ietfa.amsl.com>; Mon, 24 Sep 2012 08:31:27 -0700 (PDT)
Received: from vms173007pub.verizon.net (vms173007pub.verizon.net [206.46.173.7]) by ietfa.amsl.com (Postfix) with ESMTP id CA72C21F860B for <cfrg@irtf.org>; Mon, 24 Sep 2012 08:31:26 -0700 (PDT)
Received: from hatemtlaptop ([unknown] [173.66.52.63]) by vms173007.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MAV001V91QRH00D@vms173007.mailsrvcs.net> for cfrg@irtf.org; Mon, 24 Sep 2012 10:30:34 -0500 (CDT)
From: "David W. Kravitz" <dkravitz@trustcentral.com>
To: "'Igoe, Kevin M.'" <kmigoe@nsa.gov>,	<cfrg@irtf.org>
References: <CC7768A9.EDA64%mcgrew@cisco.com> <9745FE04-5A2C-4D38-9D34-AFF3A2EC54C6@callas.org> <002801cd96b7$b7c38c80$274aa580$@trustcentral.com> <3C4AAD4B5304AB44A6BA85173B4675CA17687160@MSMR-GH1-UEA03.corp.nsa.gov>
In-reply-to: <3C4AAD4B5304AB44A6BA85173B4675CA17687160@MSMR-GH1-UEA03.corp.nsa.gov>
Date: Mon, 24 Sep 2012 11:30:27 -0400
Message-id: <000601cd9a69$897d3460$9c779d20$@trustcentral.com>
MIME-version: 1.0
Content-type: multipart/alternative; boundary="----=_NextPart_000_0007_01CD9A48.026FDA20"
X-Mailer: Microsoft Outlook 14.0
Thread-index: AQJZjD1WbN3mB22kfgMwgvHZe2e5lAHYBuGkAN83IhkCSTqTvpZZpIgw
Content-language: en-us
Cc: john.kelsey@nist.gov, mcgrew@cisco.com
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Sep 2012 15:31:31 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0007_01CD9A48.026FDA20
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Kevin,

 

One effect of the use of "internal state" is the prevention of HMAC_DRBG
from producing repeat outputs, where "HMAC_DRBG Internal State" is defined
in section 10.1.2.1 of SP 800-90A. By stating that "Note that we instantiate
a new HMAC_DRBG instance for each signature generation process," the draft
is indicating that internal state is not carried over (which is what I meant
by "null"). Consequently, given a repeat message 'm' (i.e., repeat seed (= x
|| H(m) )), the output repeats. While this is not a problem in this
particular application, it violates a fundamental property of a good DRBG.
Furthermore, with regard to the next-output-bits-given-previous-output-bits-
uncertainty property of a good DRBG, if the output for a single message 'm'
becomes known, all other outputs are not only distinguishable from the
output of a truly random function, but are actually computable. This is due
to the "double use" of the private key 'x' for generation of 'k' and for
generation of 's' from 'k'. Since we don't require the use of a DRBG in this
(EC)DSA application, we can use HMAC directly (with 'x' as the HMAC key, and
H(m)||Counter as the HMAC'ed data, where Counter is used in conjunction with
FIPS PUB 186-3 B.2.1 or B.2.2).

 

Note that the use of deterministic generation of 'k' (whether done as in the
current draft, or the suggested simplified version, or based on a block
cipher instead of HMAC) has an additional potential non-repudiation
advantage not previously explicitly mentioned: It could make it more
difficult to plausibly disavow signatures on the basis of leakage of 'x' due
to low entropy 'k'.

 

Thanks,

David

 

From: Igoe, Kevin M. [mailto:kmigoe@nsa.gov] 
Sent: Monday, September 24, 2012 10:21 AM
To: 'David W. Kravitz'; cfrg@irtf.org
Cc: john.kelsey@nist.gov; mcgrew@cisco.com
Subject: RE: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA
Digital Signature Algorithms

 

David:

 

  I'm having a hard time parsing the last two sentences of the first
paragraph.  Would you be kind

enough to rephrase them for me?

 

1) As far as I can see this draft instantiates the HMAC_DRBG using the seed
(= x || H(M) ) in 

precisely the correct manner.  I miss where they have strayed from the
standard.  

 

2) I'm not  sure what you mean by "null internal state".

 

Clearly I am misinterpreting what you are trying to say.

 

From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf Of
David W. Kravitz
Sent: Wednesday, September 19, 2012 6:40 PM
To: cfrg@irtf.org
Cc: john.kelsey@nist.gov; mcgrew@cisco.com
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA
Digital Signature Algorithms

 

Hi all,

 

Comments below.

 

Thanks,

Jon Callas, David W. Kravitz, and Phil Zimmermann

 

The required security attributes for the safe use of HMAC in this draft are
more nuanced than the description currently conveys.  Consider the following
two excerpts of the draft from the Security Considerations (section 5):
"Security relies on whether the generation of 'k' is indistinguishable from
the output of a Random Oracle.  Roughly speaking, HMAC_DRBG is secure in
that role as long as HMAC behaves as a PRF (Pseudo-Random Function)."   "One
remaining issue with deterministic (EC)DSA, as presented in this document,
is the "double use" of the private key 'x', both as private key in the
signature generation algorithm itself, and as input to the HMAC_DRBG-based
pseudo-random oracle for producing the 'k' value.  This requires HMAC_DRBG
to keep on being a random oracle, even when the public key (which is
computed from 'x') is also known.  Given the lack of common structure
between HMAC and discrete logarithm, this seems a reasonable assumption."
Any discussion in the literature of "random oracle" is typically with
respect to "a publicly accessible random function" (as, for example, in
"Indifferentiability, Impossibility Results on Reductions, and Applications
to the Random Oracle Methodology," by U. Maurer, R. Renner, and C.
Holenstein, ftp://ftp.inf.ethz.ch/pub/crypto/publications/MaReHo04.pdf). But
as HMAC_DRBG is specified in the draft document (with null internal state
per "Note that we instantiate a new HMAC_DRBG instance for each signature
generation process," and "double use" of the private key 'x'), given any
single output of HMAC_DRBG, all other outputs are completely distinguishable
from the output of an arbitrary truly random function. In other words, given
a single 'k' value that was generated using HMAC_DRBG as specified, any
other 'k' value(s) recovered from 's' by using 'r', 'H(m)' and the
no-longer-private value of 'x' can be determined as having been generated
using HMAC_DRBG as specified. Note that even if no values of 'k' are
disclosed, the use of null internal state would be problematic in an
application relying on a DRBG where repeated outputs are unacceptable.

 

So, given that neither (pseudo-)random oracle nor the
next-output-bits-given-previous-output-bits- uncertainty property of DRBG is
achieved within the context of the actual (EC)DSA application, we can use a
simpler formulation here. An example of such is HMAC('x', H(m)||Counter),
where Counter is reinitialized for each signature generation process
instance and potential bias is addressed by deriving 'k' using  a single
Counter value as in [FIPS PUB 186-3] B.2.2 (Per-Message Secret Number
Generation by Testing Candidates), or multiple Counter values are used as in
B.2.1 (Per-Message Secret Number Generation Using Extra Random Bits).

 

Note that in the case where multiple entities have knowledge of 'x' (which
may complicate non-repudiation), deterministic generation of 'k' has the
effect that the potential subliminal/covert channel is replaced by a MAC
property. That is, any entity with knowledge of 'x' can verify the integrity
of 'm' using 's' while ignoring both the transmitted value of 'r', and 'y'
or 'U' (where y = g^x mod p in DSA or U = xG in ECDSA). 

 

It might also be prudent to indicate in the Security Considerations section
that the use of wholly deterministic generation of 'k', while not adversely
affecting the security of (EC)DSA itself and enabling an implementation to
be safely tested using dummy values of 'x', may have a deleterious effect
against resistance to side-channel attacks such as DPA (as opposed to
"masking" using a true RNG).

 

 

From: "David McGrew (mcgrew)" <mcgrew@cisco.com>

Subject: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA
Digital Signature Algorithms

Date: September 13, 2012 7:40:41 AM PDT

To: "cfrg@irtf.org" <cfrg@irtf.org>

 

Hi,

 

Thomas has updated his individual submission on deterministic [EC]DSA.   I
think this is useful work that deserves to move forward to RFC, and that the
research group should support it (based on my own opinion and the positive
feedback on the list regarding version -00).   Please take a look at the
draft if you have an opinion on digital signatures, and let Thomas know if
you have constructive criticism.   Verification of the test cases, and
review of the security considerations, would be especially helpful.

 

Thanks,

 

David

 

<http://tools.ietf.org/html/draft-pornin-deterministic-dsa-01>

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

 


------=_NextPart_000_0007_01CD9A48.026FDA20
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.apple-tab-span
	{mso-style-name:apple-tab-span;}
span.EmailStyle20
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle21
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle22
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Kevin,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>One effect of the use of &#8220;internal state&#8221; is the =
prevention of HMAC_DRBG from producing repeat outputs, where =
&#8220;HMAC_DRBG Internal State&#8221; is defined in section 10.1.2.1 of =
SP 800-90A. By stating that &#8220;Note that we instantiate a new =
HMAC_DRBG instance for each signature generation process,&#8221; the =
draft is indicating that internal state is not carried over (which is =
what I meant by &#8220;null&#8221;). Consequently, given a repeat =
message &#8216;m&#8217; (i.e., repeat seed (=3D x || H(m) )), the output =
repeats. While this is not a problem in this particular application, it =
violates a fundamental property of a good DRBG. Furthermore, with regard =
to the next-output-bits-given-previous-output-bits- uncertainty property =
of a good DRBG, if the output for a single message &#8216;m&#8217; =
becomes known, all other outputs are not only distinguishable from the =
output of a truly random function, but are actually computable. This is =
due to the &#8220;double use&#8221; of the private key &#8216;x&#8217; =
for generation of &#8216;k&#8217; and for generation of &#8216;s&#8217; =
from &#8216;k&#8217;. Since we don&#8217;t require the use of a DRBG in =
this (EC)DSA application, we can use HMAC directly (with &#8216;x&#8217; =
as the HMAC key, and H(m)||Counter as the HMAC&#8217;ed data, where =
Counter is used in conjunction with FIPS PUB 186-3 B.2.1 or =
B.2.2).<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Note that the use of deterministic generation of &#8216;k&#8217; =
(whether done as in the current draft, or the suggested simplified =
version, or based on a block cipher instead of HMAC) has an additional =
potential non-repudiation advantage not previously explicitly mentioned: =
It could make it more difficult to plausibly disavow signatures on the =
basis of leakage of &#8216;x&#8217; due to low entropy =
&#8216;k&#8217;.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Thanks,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>David<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Igoe, Kevin M. [mailto:kmigoe@nsa.gov] <br><b>Sent:</b> Monday, =
September 24, 2012 10:21 AM<br><b>To:</b> 'David W. Kravitz'; =
cfrg@irtf.org<br><b>Cc:</b> john.kelsey@nist.gov; =
mcgrew@cisco.com<br><b>Subject:</b> RE: [Cfrg] call for review: =
Deterministic Usage of DSA and ECDSA Digital Signature =
Algorithms<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>David:<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp; I&#8217;m having a hard time parsing the last two sentences of =
the first paragraph.&nbsp; Would you be kind<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>enough to rephrase them for me?<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>1) As far as I can see this draft instantiates the HMAC_DRBG using =
the seed (=3D x || H(M) ) in <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>precisely the correct manner.&nbsp; I miss where they have strayed =
from the standard. &nbsp;<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>2) I&#8217;m not &nbsp;sure what you mean by &#8220;null internal =
state&#8221;.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Clearly I am misinterpreting what you are trying to =
say.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
<a href=3D"mailto:cfrg-bounces@irtf.org">cfrg-bounces@irtf.org</a> <a =
href=3D"mailto:[mailto:cfrg-bounces@irtf.org]">[mailto:cfrg-bounces@irtf.=
org]</a> <b>On Behalf Of </b>David W. Kravitz<br><b>Sent:</b> Wednesday, =
September 19, 2012 6:40 PM<br><b>To:</b> <a =
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a><br><b>Cc:</b> <a =
href=3D"mailto:john.kelsey@nist.gov">john.kelsey@nist.gov</a>; <a =
href=3D"mailto:mcgrew@cisco.com">mcgrew@cisco.com</a><br><b>Subject:</b> =
Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital =
Signature Algorithms<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'=
>Hi all,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'=
>Comments below.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'=
>Thanks,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'=
>Jon Callas, David W. Kravitz, and Phil =
Zimmermann<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>The required security =
attributes for the safe use of HMAC in this draft are more nuanced than =
the description currently conveys.&nbsp; Consider the following two =
excerpts of the draft from the Security Considerations (section 5): =
&#8220;Security relies on whether the generation of 'k' is =
indistinguishable from the output of a Random Oracle.&nbsp; Roughly =
speaking, HMAC_DRBG is secure in that role as long as HMAC behaves as a =
PRF (Pseudo-Random Function).&#8221;&nbsp;&nbsp; &#8220;One remaining =
issue with deterministic (EC)DSA, as presented in this document, is the =
&quot;double use&quot; of the private key 'x', both as private key in =
the signature generation algorithm itself, and as input to the =
HMAC_DRBG-based pseudo-random oracle for producing the 'k' value.&nbsp; =
This requires HMAC_DRBG to keep on being a random oracle, even when the =
public key (which is computed from 'x') is also known.&nbsp; Given the =
lack of common structure between HMAC and discrete logarithm, this seems =
a reasonable assumption.&#8221; Any discussion in the literature of =
&#8220;random oracle&#8221; is typically with respect to &#8220;a =
publicly accessible random function&#8221; (as, for example, in =
&#8220;Indifferentiability, Impossibility Results on Reductions, and =
Applications to the Random Oracle Methodology,&#8221; by U. Maurer, R. =
Renner, and C. Holenstein, <a =
href=3D"ftp://ftp.inf.ethz.ch/pub/crypto/publications/MaReHo04.pdf">ftp:/=
/ftp.inf.ethz.ch/pub/crypto/publications/MaReHo04.pdf</a>). But as =
HMAC_DRBG is specified in the draft document (with null internal state =
per &#8220;Note that we instantiate a new HMAC_DRBG instance for each =
signature generation process,&#8221; and &#8220;double use&#8221; of the =
private key &#8216;x&#8217;), given any single output of HMAC_DRBG, all =
other outputs are completely distinguishable from the output of an =
arbitrary truly random function. In other words, given a single =
&#8216;k&#8217; value that was generated using HMAC_DRBG as specified, =
any other &#8216;k&#8217; value(s) recovered from &#8216;s&#8217; by =
using &#8216;r&#8217;, &#8216;H(m)&#8217; and the no-longer-private =
value of &#8216;x&#8217; can be determined as having been generated =
using HMAC_DRBG as specified. Note that even if no values of =
&#8216;k&#8217; are disclosed, the use of null internal state would be =
problematic in an application relying on a DRBG where repeated outputs =
are unacceptable.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>So, given that neither =
(pseudo-)random oracle nor the =
next-output-bits-given-previous-output-bits- uncertainty property of =
DRBG is achieved within the context of the actual (EC)DSA application, =
we can use a simpler formulation here. An example of such is =
HMAC(&#8216;x&#8217;, H(m)||Counter), where Counter is reinitialized for =
each signature generation process instance and potential bias is =
addressed by deriving &#8216;k&#8217; using&nbsp; a single Counter value =
as in [FIPS PUB 186-3] B.2.2 (Per-Message Secret Number Generation by =
Testing Candidates), or multiple Counter values are used as in B.2.1 =
(Per-Message Secret Number Generation Using Extra Random =
Bits).<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>Note that in the case =
where multiple entities have knowledge of &#8216;x&#8217; (which may =
complicate non-repudiation), deterministic generation of &#8216;k&#8217; =
has the effect that the potential subliminal/covert channel is replaced =
by a MAC property. That is, any entity with knowledge of &#8216;x&#8217; =
can verify the integrity of &#8216;m&#8217; using &#8216;s&#8217; while =
ignoring both the transmitted value of &#8216;r&#8217;, and =
&#8216;y&#8217; or &#8216;U&#8217; (where y =3D g^x mod p in DSA or U =
=3D xG in ECDSA). <o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>It might also be prudent =
to indicate in the Security Considerations section that the use of =
wholly deterministic generation of &#8216;k&#8217;, while not adversely =
affecting the security of (EC)DSA itself and enabling an implementation =
to be safely tested using dummy values of &#8216;x&#8217;, may have a =
deleterious effect against resistance to side-channel attacks such as =
DPA (as opposed to &#8220;masking&#8221; using a true =
RNG).<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><p =
class=3DMsoNormal><b><span =
style=3D'font-size:13.5pt;font-family:"Helvetica","sans-serif"'>From: =
</span></b><span =
style=3D'font-size:13.5pt;font-family:"Helvetica","sans-serif"'>&quot;Dav=
id McGrew (mcgrew)&quot; &lt;<a =
href=3D"mailto:mcgrew@cisco.com">mcgrew@cisco.com</a>&gt;</span><o:p></o:=
p></p></div><div><p class=3DMsoNormal><b><span =
style=3D'font-size:13.5pt;font-family:"Helvetica","sans-serif"'>Subject: =
[Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital =
Signature Algorithms</span></b><o:p></o:p></p></div><div><p =
class=3DMsoNormal><b><span =
style=3D'font-size:13.5pt;font-family:"Helvetica","sans-serif"'>Date: =
</span></b><span =
style=3D'font-size:13.5pt;font-family:"Helvetica","sans-serif"'>September=
 13, 2012 7:40:41 AM PDT</span><o:p></o:p></p></div><div><p =
class=3DMsoNormal><b><span =
style=3D'font-size:13.5pt;font-family:"Helvetica","sans-serif"'>To: =
</span></b><span =
style=3D'font-size:13.5pt;font-family:"Helvetica","sans-serif"'>&quot;<a =
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>&quot; &lt;<a =
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>&gt;</span><o:p></o:p></p>=
</div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>Hi,<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>Thomas has updated his individual submission on deterministic [EC]DSA. =
&nbsp; I think this is useful work that deserves to move forward to RFC, =
and that the research group should support it (based on my own opinion =
and the positive feedback on the list regarding version &#8211;00). =
&nbsp; Please take a look at the draft if you have an opinion on digital =
signatures, and let Thomas know if you have constructive criticism. =
&nbsp; Verification of the test cases, and review of the security =
considerations, would be especially =
helpful.<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>Thanks,<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>David<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>&lt;<a =
href=3D"http://tools.ietf.org/html/draft-pornin-deterministic-dsa-01">htt=
p://tools.ietf.org/html/draft-pornin-deterministic-dsa-01</a>&gt;<o:p></o=
:p></span></p></div></div><p =
class=3DMsoNormal>_______________________________________________<br>Cfrg=
 mailing list<br><a =
href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br><a =
href=3D"http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/ma=
ilman/listinfo/cfrg</a><o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></body></html>
------=_NextPart_000_0007_01CD9A48.026FDA20--


From kmigoe@nsa.gov  Mon Sep 24 10:17:17 2012
Return-Path: <kmigoe@nsa.gov>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 35F3A21E8048 for <cfrg@ietfa.amsl.com>; Mon, 24 Sep 2012 10:17:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.554
X-Spam-Level: 
X-Spam-Status: No, score=-9.554 tagged_above=-999 required=5 tests=[AWL=0.444,  BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_42=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IafSzTwCZCUS for <cfrg@ietfa.amsl.com>; Mon, 24 Sep 2012 10:17:12 -0700 (PDT)
Received: from nsa.gov (emvm-gh1-uea09.nsa.gov [63.239.67.10]) by ietfa.amsl.com (Postfix) with ESMTP id 83ABD21F8829 for <cfrg@irtf.org>; Mon, 24 Sep 2012 10:17:11 -0700 (PDT)
X-TM-IMSS-Message-ID: <77f3cb72001776b7@nsa.gov>
Received: from MSHT-GH1-UEA01.corp.nsa.gov ([10.215.227.18]) by nsa.gov ([63.239.67.10]) with ESMTP (TREND IMSS SMTP Service 7.1) id 77f3cb72001776b7 ; Mon, 24 Sep 2012 13:18:50 -0400
Received: from MSMR-GH1-UEA02.corp.nsa.gov (10.215.227.180) by MSHT-GH1-UEA01.corp.nsa.gov (10.215.227.18) with Microsoft SMTP Server (TLS) id 14.1.289.1; Mon, 24 Sep 2012 13:17:10 -0400
Received: from MSMR-GH1-UEA03.corp.nsa.gov ([10.215.224.3]) by MSMR-GH1-UEA02.corp.nsa.gov ([10.215.227.180]) with mapi id 14.01.0289.001; Mon, 24 Sep 2012 13:17:10 -0400
From: "Igoe, Kevin M." <kmigoe@nsa.gov>
To: "'David W. Kravitz'" <dkravitz@trustcentral.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
Thread-Index: AQJZjD1WbN3mB22kfgMwgvHZe2e5lAHYBuGklmuTzgCAB1BZIIAAWUCA///I9JA=
Date: Mon, 24 Sep 2012 17:17:08 +0000
Message-ID: <3C4AAD4B5304AB44A6BA85173B4675CA176901BE@MSMR-GH1-UEA03.corp.nsa.gov>
References: <CC7768A9.EDA64%mcgrew@cisco.com> <9745FE04-5A2C-4D38-9D34-AFF3A2EC54C6@callas.org> <002801cd96b7$b7c38c80$274aa580$@trustcentral.com> <3C4AAD4B5304AB44A6BA85173B4675CA17687160@MSMR-GH1-UEA03.corp.nsa.gov> <000601cd9a69$897d3460$9c779d20$@trustcentral.com>
In-Reply-To: <000601cd9a69$897d3460$9c779d20$@trustcentral.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.215.254.27]
Content-Type: multipart/alternative; boundary="_000_3C4AAD4B5304AB44A6BA85173B4675CA176901BEMSMRGH1UEA03cor_"
MIME-Version: 1.0
Cc: "john.kelsey@nist.gov" <john.kelsey@nist.gov>, "mcgrew@cisco.com" <mcgrew@cisco.com>
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Sep 2012 17:17:17 -0000

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

Hi David:

Thanks for the clarifications.

I have heard reports that some applications (I think it was BGPsec related,=
 but I could easily be wrong),
like the "feature" that  Alice's signature will be the same each time she s=
igns the same message.  (Hopefully
someone more familiar with BGPsec can verify this).

I believe your main concern is the double use of the signer's secret "x" va=
lue.   As you point out, we are
"betting the farm" that ALL of the "k"'s produced by the HMAC_DRBG are stro=
ng.  I've not seen any reason
to doubt the strength of HMAC_DRBG.

It is  unlikely that we will ever be able to prove this double usage doesn'=
t introduce any security problems .
But I agree with the author that given the extensive analysis of the primit=
ive's involved, the only risk is that
somehow combining the two leads to an exploitable weakness.   I agree with =
you and the author that this
is double usage unlikely to lead to an exploitable  weakness,  but would li=
ke more feedback from the list
on this point.

You're probably right that the use of full blown HMAC_DRBG is overly conser=
vative, but it has the virtue of
having withstood many years of examination.  In an effort to get a design f=
inished in a timely fashion I
suggest that we continue with the existing design.  But I also would strong=
ly encourage you and your co-authors
to put forth a more daring and an efficient alternative design, one that wi=
ll require more extensive analysis
before it is ready for adoption.


From: David W. Kravitz [mailto:dkravitz@trustcentral.com]
Sent: Monday, September 24, 2012 11:30 AM
To: Igoe, Kevin M.; cfrg@irtf.org
Cc: john.kelsey@nist.gov; mcgrew@cisco.com; pornin@bolet.org
Subject: RE: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA D=
igital Signature Algorithms

Kevin,

One effect of the use of "internal state" is the prevention of HMAC_DRBG fr=
om producing repeat outputs, where "HMAC_DRBG Internal State" is defined in=
 section 10.1.2.1 of SP 800-90A. By stating that "Note that we instantiate =
a new HMAC_DRBG instance for each signature generation process," the draft =
is indicating that internal state is not carried over (which is what I mean=
t by "null"). Consequently, given a repeat message 'm' (i.e., repeat seed (=
=3D x || H(m) )), the output repeats. While this is not a problem in this p=
articular application, it violates a fundamental property of a good DRBG. F=
urthermore, with regard to the next-output-bits-given-previous-output-bits-=
 uncertainty property of a good DRBG, if the output for a single message 'm=
' becomes known, all other outputs are not only distinguishable from the ou=
tput of a truly random function, but are actually computable. This is due t=
o the "double use" of the private key 'x' for generation of 'k' and for gen=
eration of 's' from 'k'. Since we don't require the use of a DRBG in this (=
EC)DSA application, we can use HMAC directly (with 'x' as the HMAC key, and=
 H(m)||Counter as the HMAC'ed data, where Counter is used in conjunction wi=
th FIPS PUB 186-3 B.2.1 or B.2.2).

Note that the use of deterministic generation of 'k' (whether done as in th=
e current draft, or the suggested simplified version, or based on a block c=
ipher instead of HMAC) has an additional potential non-repudiation advantag=
e not previously explicitly mentioned: It could make it more difficult to p=
lausibly disavow signatures on the basis of leakage of 'x' due to low entro=
py 'k'.

Thanks,
David

From: Igoe, Kevin M. [mailto:kmigoe@nsa.gov]
Sent: Monday, September 24, 2012 10:21 AM
To: 'David W. Kravitz'; cfrg@irtf.org
Cc: john.kelsey@nist.gov; mcgrew@cisco.com
Subject: RE: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA D=
igital Signature Algorithms

David:

  I'm having a hard time parsing the last two sentences of the first paragr=
aph.  Would you be kind
enough to rephrase them for me?

1) As far as I can see this draft instantiates the HMAC_DRBG using the seed=
 (=3D x || H(M) ) in
precisely the correct manner.  I miss where they have strayed from the stan=
dard.

2) I'm not  sure what you mean by "null internal state".

Clearly I am misinterpreting what you are trying to say.

From: cfrg-bounces@irtf.org<mailto:cfrg-bounces@irtf.org> [mailto:cfrg-boun=
ces@irtf.org]<mailto:[mailto:cfrg-bounces@irtf.org]> On Behalf Of David W. =
Kravitz
Sent: Wednesday, September 19, 2012 6:40 PM
To: cfrg@irtf.org<mailto:cfrg@irtf.org>
Cc: john.kelsey@nist.gov<mailto:john.kelsey@nist.gov>; mcgrew@cisco.com<mai=
lto:mcgrew@cisco.com>
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA D=
igital Signature Algorithms

Hi all,

Comments below.

Thanks,
Jon Callas, David W. Kravitz, and Phil Zimmermann

The required security attributes for the safe use of HMAC in this draft are=
 more nuanced than the description currently conveys.  Consider the followi=
ng two excerpts of the draft from the Security Considerations (section 5): =
"Security relies on whether the generation of 'k' is indistinguishable from=
 the output of a Random Oracle.  Roughly speaking, HMAC_DRBG is secure in t=
hat role as long as HMAC behaves as a PRF (Pseudo-Random Function)."   "One=
 remaining issue with deterministic (EC)DSA, as presented in this document,=
 is the "double use" of the private key 'x', both as private key in the sig=
nature generation algorithm itself, and as input to the HMAC_DRBG-based pse=
udo-random oracle for producing the 'k' value.  This requires HMAC_DRBG to =
keep on being a random oracle, even when the public key (which is computed =
from 'x') is also known.  Given the lack of common structure between HMAC a=
nd discrete logarithm, this seems a reasonable assumption." Any discussion =
in the literature of "random oracle" is typically with respect to "a public=
ly accessible random function" (as, for example, in "Indifferentiability, I=
mpossibility Results on Reductions, and Applications to the Random Oracle M=
ethodology," by U. Maurer, R. Renner, and C. Holenstein, ftp://ftp.inf.ethz=
.ch/pub/crypto/publications/MaReHo04.pdf). But as HMAC_DRBG is specified in=
 the draft document (with null internal state per "Note that we instantiate=
 a new HMAC_DRBG instance for each signature generation process," and "doub=
le use" of the private key 'x'), given any single output of HMAC_DRBG, all =
other outputs are completely distinguishable from the output of an arbitrar=
y truly random function. In other words, given a single 'k' value that was =
generated using HMAC_DRBG as specified, any other 'k' value(s) recovered fr=
om 's' by using 'r', 'H(m)' and the no-longer-private value of 'x' can be d=
etermined as having been generated using HMAC_DRBG as specified. Note that =
even if no values of 'k' are disclosed, the use of null internal state woul=
d be problematic in an application relying on a DRBG where repeated outputs=
 are unacceptable.

So, given that neither (pseudo-)random oracle nor the next-output-bits-give=
n-previous-output-bits- uncertainty property of DRBG is achieved within the=
 context of the actual (EC)DSA application, we can use a simpler formulatio=
n here. An example of such is HMAC('x', H(m)||Counter), where Counter is re=
initialized for each signature generation process instance and potential bi=
as is addressed by deriving 'k' using  a single Counter value as in [FIPS P=
UB 186-3] B.2.2 (Per-Message Secret Number Generation by Testing Candidates=
), or multiple Counter values are used as in B.2.1 (Per-Message Secret Numb=
er Generation Using Extra Random Bits).

Note that in the case where multiple entities have knowledge of 'x' (which =
may complicate non-repudiation), deterministic generation of 'k' has the ef=
fect that the potential subliminal/covert channel is replaced by a MAC prop=
erty. That is, any entity with knowledge of 'x' can verify the integrity of=
 'm' using 's' while ignoring both the transmitted value of 'r', and 'y' or=
 'U' (where y =3D g^x mod p in DSA or U =3D xG in ECDSA).

It might also be prudent to indicate in the Security Considerations section=
 that the use of wholly deterministic generation of 'k', while not adversel=
y affecting the security of (EC)DSA itself and enabling an implementation t=
o be safely tested using dummy values of 'x', may have a deleterious effect=
 against resistance to side-channel attacks such as DPA (as opposed to "mas=
king" using a true RNG).


From: "David McGrew (mcgrew)" <mcgrew@cisco.com<mailto:mcgrew@cisco.com>>
Subject: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digit=
al Signature Algorithms
Date: September 13, 2012 7:40:41 AM PDT
To: "cfrg@irtf.org<mailto:cfrg@irtf.org>" <cfrg@irtf.org<mailto:cfrg@irtf.o=
rg>>

Hi,

Thomas has updated his individual submission on deterministic [EC]DSA.   I =
think this is useful work that deserves to move forward to RFC, and that th=
e research group should support it (based on my own opinion and the positiv=
e feedback on the list regarding version -00).   Please take a look at the =
draft if you have an opinion on digital signatures, and let Thomas know if =
you have constructive criticism.   Verification of the test cases, and revi=
ew of the security considerations, would be especially helpful.

Thanks,

David

<http://tools.ietf.org/html/draft-pornin-deterministic-dsa-01>
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org<mailto:Cfrg@irtf.org>
http://www.irtf.org/mailman/listinfo/cfrg


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.apple-tab-span
	{mso-style-name:apple-tab-span;}
span.EmailStyle20
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle21
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle23
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi David:<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks for the clarificat=
ions.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I have heard reports that=
 some applications (I think it was BGPsec related, but I could easily be wr=
ong),<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">like the &#8220;feature&#=
8221; that &nbsp;Alice&#8217;s signature will be the same each time she sig=
ns the same message.&nbsp; (Hopefully<br>
someone more familiar with BGPsec can verify this). &nbsp;&nbsp;<o:p></o:p>=
</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I believe your main conce=
rn is the double use of the signer&#8217;s secret &#8220;x&#8221; value. &n=
bsp;&nbsp;As you point out, we are
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&#8220;betting the farm&#=
8221; that ALL of the &#8220;k&#8221;&#8217;s produced by the HMAC_DRBG are=
 strong.&nbsp; I&#8217;ve not seen any reason &nbsp;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">to doubt the strength of =
HMAC_DRBG.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">It is &nbsp;unlikely that=
 we will ever be able to prove this double usage doesn&#8217;t introduce an=
y security problems .&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">But I agree with the auth=
or that given the extensive analysis of the primitive&#8217;s involved, the=
 only risk is that<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">somehow combining the two=
 leads to an exploitable weakness. &nbsp;&nbsp;I agree with you and the aut=
hor that this<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">is double usage unlikely =
to lead to an exploitable &nbsp;weakness, &nbsp;but would like more feedbac=
k from the list
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">on this point. &nbsp;&nbs=
p;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">You&#8217;re probably rig=
ht that the use of full blown HMAC_DRBG is overly conservative, but it has =
the virtue of
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">having withstood many yea=
rs of examination.&nbsp; In an effort to get a design finished in a timely =
fashion I<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">suggest that we continue =
with the existing design.&nbsp; But I also would strongly encourage you and=
 your co-authors
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">to put forth a more darin=
g and an efficient alternative design, one that will require more extensive=
 analysis
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">before it is ready for ad=
option. &nbsp;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> David W.=
 Kravitz [mailto:dkravitz@trustcentral.com]
<br>
<b>Sent:</b> Monday, September 24, 2012 11:30 AM<br>
<b>To:</b> Igoe, Kevin M.; cfrg@irtf.org<br>
<b>Cc:</b> john.kelsey@nist.gov; mcgrew@cisco.com; pornin@bolet.org<br>
<b>Subject:</b> RE: [Cfrg] call for review: Deterministic Usage of DSA and =
ECDSA Digital Signature Algorithms<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Kevin,<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">One effect of the use of =
&#8220;internal state&#8221; is the prevention of HMAC_DRBG from producing =
repeat outputs, where &#8220;HMAC_DRBG Internal State&#8221; is defined in =
section
 10.1.2.1 of SP 800-90A. By stating that &#8220;Note that we instantiate a =
new HMAC_DRBG instance for each signature generation process,&#8221; the dr=
aft is indicating that internal state is not carried over (which is what I =
meant by &#8220;null&#8221;). Consequently, given a repeat
 message &#8216;m&#8217; (i.e., repeat seed (=3D x || H(m) )), the output r=
epeats. While this is not a problem in this particular application, it viol=
ates a fundamental property of a good DRBG. Furthermore, with regard to the=
 next-output-bits-given-previous-output-bits-
 uncertainty property of a good DRBG, if the output for a single message &#=
8216;m&#8217; becomes known, all other outputs are not only distinguishable=
 from the output of a truly random function, but are actually computable. T=
his is due to the &#8220;double use&#8221; of the private
 key &#8216;x&#8217; for generation of &#8216;k&#8217; and for generation o=
f &#8216;s&#8217; from &#8216;k&#8217;. Since we don&#8217;t require the us=
e of a DRBG in this (EC)DSA application, we can use HMAC directly (with &#8=
216;x&#8217; as the HMAC key, and H(m)||Counter as the HMAC&#8217;ed data, =
where Counter is used in conjunction
 with FIPS PUB 186-3 B.2.1 or B.2.2).<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Note that the use of dete=
rministic generation of &#8216;k&#8217; (whether done as in the current dra=
ft, or the suggested simplified version, or based on a block cipher
 instead of HMAC) has an additional potential non-repudiation advantage not=
 previously explicitly mentioned: It could make it more difficult to plausi=
bly disavow signatures on the basis of leakage of &#8216;x&#8217; due to lo=
w entropy &#8216;k&#8217;.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks,<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">David<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Igoe, Ke=
vin M. [mailto:kmigoe@nsa.gov]
<br>
<b>Sent:</b> Monday, September 24, 2012 10:21 AM<br>
<b>To:</b> 'David W. Kravitz'; cfrg@irtf.org<br>
<b>Cc:</b> john.kelsey@nist.gov; mcgrew@cisco.com<br>
<b>Subject:</b> RE: [Cfrg] call for review: Deterministic Usage of DSA and =
ECDSA Digital Signature Algorithms<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">David:<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp; I&#8217;m having a=
 hard time parsing the last two sentences of the first paragraph.&nbsp; Wou=
ld you be kind<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">enough to rephrase them f=
or me?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">1) As far as I can see th=
is draft instantiates the HMAC_DRBG using the seed (=3D x || H(M) ) in
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">precisely the correct man=
ner.&nbsp; I miss where they have strayed from the standard. &nbsp;<o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">2) I&#8217;m not &nbsp;su=
re what you mean by &#8220;null internal state&#8221;.<o:p></o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Clearly I am misinterpret=
ing what you are trying to say.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href=3D"mailto:cfrg-bounces@irtf.org">cfrg-bounces@irtf.org</a> <a href=
=3D"mailto:[mailto:cfrg-bounces@irtf.org]">
[mailto:cfrg-bounces@irtf.org]</a> <b>On Behalf Of </b>David W. Kravitz<br>
<b>Sent:</b> Wednesday, September 19, 2012 6:40 PM<br>
<b>To:</b> <a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a><br>
<b>Cc:</b> <a href=3D"mailto:john.kelsey@nist.gov">john.kelsey@nist.gov</a>=
; <a href=3D"mailto:mcgrew@cisco.com">
mcgrew@cisco.com</a><br>
<b>Subject:</b> Re: [Cfrg] call for review: Deterministic Usage of DSA and =
ECDSA Digital Signature Algorithms<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi all,<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:#1F497D">Comments below.<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks,<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;;color:#1F497D">Jon Callas, David W. Kravit=
z, and Phil Zimmermann<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">The required security =
attributes for the safe use of HMAC in this draft are more nuanced than the=
 description currently conveys.&nbsp; Consider the following two excerpts o=
f the draft from the Security Considerations
 (section 5): &#8220;Security relies on whether the generation of 'k' is in=
distinguishable from the output of a Random Oracle.&nbsp; Roughly speaking,=
 HMAC_DRBG is secure in that role as long as HMAC behaves as a PRF (Pseudo-=
Random Function).&#8221;&nbsp;&nbsp; &#8220;One remaining issue with
 deterministic (EC)DSA, as presented in this document, is the &quot;double =
use&quot; of the private key 'x', both as private key in the signature gene=
ration algorithm itself, and as input to the HMAC_DRBG-based pseudo-random =
oracle for producing the 'k' value.&nbsp; This
 requires HMAC_DRBG to keep on being a random oracle, even when the public =
key (which is computed from 'x') is also known.&nbsp; Given the lack of com=
mon structure between HMAC and discrete logarithm, this seems a reasonable =
assumption.&#8221; Any discussion in the literature
 of &#8220;random oracle&#8221; is typically with respect to &#8220;a publi=
cly accessible random function&#8221; (as, for example, in &#8220;Indiffere=
ntiability, Impossibility Results on Reductions, and Applications to the Ra=
ndom Oracle Methodology,&#8221; by U. Maurer, R. Renner, and C. Holenstein,
<a href=3D"ftp://ftp.inf.ethz.ch/pub/crypto/publications/MaReHo04.pdf">ftp:=
//ftp.inf.ethz.ch/pub/crypto/publications/MaReHo04.pdf</a>). But as HMAC_DR=
BG is specified in the draft document (with null internal state per &#8220;=
Note that we instantiate a new HMAC_DRBG
 instance for each signature generation process,&#8221; and &#8220;double u=
se&#8221; of the private key &#8216;x&#8217;), given any single output of H=
MAC_DRBG, all other outputs are completely distinguishable from the output =
of an arbitrary truly random function. In other words, given a
 single &#8216;k&#8217; value that was generated using HMAC_DRBG as specifi=
ed, any other &#8216;k&#8217; value(s) recovered from &#8216;s&#8217; by us=
ing &#8216;r&#8217;, &#8216;H(m)&#8217; and the no-longer-private value of =
&#8216;x&#8217; can be determined as having been generated using HMAC_DRBG =
as specified. Note that even
 if no values of &#8216;k&#8217; are disclosed, the use of null internal st=
ate would be problematic in an application relying on a DRBG where repeated=
 outputs are unacceptable.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">So, given that neither=
 (pseudo-)random oracle nor the next-output-bits-given-previous-output-bits=
- uncertainty property of DRBG is achieved within the context of the actual=
 (EC)DSA application, we can use a simpler
 formulation here. An example of such is HMAC(&#8216;x&#8217;, H(m)||Counte=
r), where Counter is reinitialized for each signature generation process in=
stance and potential bias is addressed by deriving &#8216;k&#8217; using&nb=
sp; a single Counter value as in [FIPS PUB 186-3] B.2.2 (Per-Message
 Secret Number Generation by Testing Candidates), or multiple Counter value=
s are used as in B.2.1 (Per-Message Secret Number Generation Using Extra Ra=
ndom Bits).<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Note that in the case =
where multiple entities have knowledge of &#8216;x&#8217; (which may compli=
cate non-repudiation), deterministic generation of &#8216;k&#8217; has the =
effect that the potential subliminal/covert channel is replaced
 by a MAC property. That is, any entity with knowledge of &#8216;x&#8217; c=
an verify the integrity of &#8216;m&#8217; using &#8216;s&#8217; while igno=
ring both the transmitted value of &#8216;r&#8217;, and &#8216;y&#8217; or =
&#8216;U&#8217; (where y =3D g^x mod p in DSA or U =3D xG in ECDSA).
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">It might also be prude=
nt to indicate in the Security Considerations section that the use of wholl=
y deterministic generation of &#8216;k&#8217;, while not adversely affectin=
g the security of (EC)DSA itself and enabling an
 implementation to be safely tested using dummy values of &#8216;x&#8217;, =
may have a deleterious effect against resistance to side-channel attacks su=
ch as DPA (as opposed to &#8220;masking&#8221; using a true RNG).<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:13.5pt;font-family:&quot=
;Helvetica&quot;,&quot;sans-serif&quot;">From:
</span></b><span style=3D"font-size:13.5pt;font-family:&quot;Helvetica&quot=
;,&quot;sans-serif&quot;">&quot;David McGrew (mcgrew)&quot; &lt;<a href=3D"=
mailto:mcgrew@cisco.com">mcgrew@cisco.com</a>&gt;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:13.5pt;font-family:&quot=
;Helvetica&quot;,&quot;sans-serif&quot;">Subject: [Cfrg] call for review: D=
eterministic Usage of DSA and ECDSA Digital Signature Algorithms</span></b>=
<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:13.5pt;font-family:&quot=
;Helvetica&quot;,&quot;sans-serif&quot;">Date:
</span></b><span style=3D"font-size:13.5pt;font-family:&quot;Helvetica&quot=
;,&quot;sans-serif&quot;">September 13, 2012 7:40:41 AM PDT</span><o:p></o:=
p></p>
</div>
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:13.5pt;font-family:&quot=
;Helvetica&quot;,&quot;sans-serif&quot;">To:
</span></b><span style=3D"font-size:13.5pt;font-family:&quot;Helvetica&quot=
;,&quot;sans-serif&quot;">&quot;<a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.=
org</a>&quot; &lt;<a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>&gt;</s=
pan><o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">Hi,<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p=
>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">Thomas has updated his indi=
vidual submission on deterministic [EC]DSA. &nbsp; I think this is useful w=
ork that deserves to move forward to RFC, and that the research
 group should support it (based on my own opinion and the positive feedback=
 on the list regarding version &#8211;00). &nbsp; Please take a look at the=
 draft if you have an opinion on digital signatures, and let Thomas know if=
 you have constructive criticism. &nbsp; Verification
 of the test cases, and review of the security considerations, would be esp=
ecially helpful.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p=
>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">Thanks,<o:p></o:p></span></=
p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p=
>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">David<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p=
>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">&lt;<a href=3D"http://tools=
.ietf.org/html/draft-pornin-deterministic-dsa-01">http://tools.ietf.org/htm=
l/draft-pornin-deterministic-dsa-01</a>&gt;<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal">_______________________________________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
<a href=3D"http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/m=
ailman/listinfo/cfrg</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</body>
</html>

--_000_3C4AAD4B5304AB44A6BA85173B4675CA176901BEMSMRGH1UEA03cor_--

From prvs=06142bf100=uri@ll.mit.edu  Mon Sep 24 10:54:01 2012
Return-Path: <prvs=06142bf100=uri@ll.mit.edu>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 87C4C21F8797 for <cfrg@ietfa.amsl.com>; Mon, 24 Sep 2012 10:54:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.201
X-Spam-Level: 
X-Spam-Status: No, score=-5.201 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ydlnpXOimztX for <cfrg@ietfa.amsl.com>; Mon, 24 Sep 2012 10:53:55 -0700 (PDT)
Received: from mx2.ll.mit.edu (MX2.LL.MIT.EDU [129.55.12.46]) by ietfa.amsl.com (Postfix) with ESMTP id D63FA21E8048 for <cfrg@irtf.org>; Mon, 24 Sep 2012 10:53:54 -0700 (PDT)
Received: from LLE2K7-HUB02.mitll.ad.local (LLE2K7-HUB02.mitll.ad.local) by mx2.ll.mit.edu (unknown) with ESMTP id q8OHrmL7000423; Mon, 24 Sep 2012 13:53:48 -0400
From: "Blumenthal, Uri - 0668 - MITLL" <uri@ll.mit.edu>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Date: Mon, 24 Sep 2012 13:53:45 -0400
Thread-Topic: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
Thread-Index: Ac2afYy3R80ffKgWQrij9JxeDb/PNA==
Message-ID: <CC8613F0.104B8%uri@ll.mit.edu>
In-Reply-To: <3C4AAD4B5304AB44A6BA85173B4675CA176901BE@MSMR-GH1-UEA03.corp.nsa.gov>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.12.0.110505
acceptlanguage: en-US
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="B_3431339625_26774936"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855, 1.0.431, 0.0.0000 definitions=2012-09-24_04:2012-09-24, 2012-09-24, 1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=2 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1203120001 definitions=main-1209240220
Cc: "john.kelsey@nist.gov" <john.kelsey@nist.gov>, David McGrew <mcgrew@cisco.com>
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Sep 2012 17:54:01 -0000

--B_3431339625_26774936
Content-type: multipart/alternative;
	boundary="B_3431339625_26773935"


--B_3431339625_26773935
Content-type: text/plain;
	charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

> I believe your main concern is the double use of the signer=B9s secret =B3x=B2
> value.   As you point out, we are
> =B3betting the farm=B2 that ALL of the =B3k=B2=B9s produced by the HMAC_DRBG are st=
rong.
> I=B9ve not seen any reason
> to doubt the strength of HMAC_DRBG.
Would this reference http://www.springerlink.com/content/j7340u8162582044/
shake your confidence? (David K., thanks for pointing me at it.) Its
abstract says (again, thanks, David):

> Applications of an iterated hash function such as HMAC require that the
> compression function of the hash function is a pseudorandom function. How=
ever,
> the pseudorandom-function property of the compression function was not
> analyzed up to now. This paper shows that it is easy to distinguish betwe=
en
> the 22 step-reduced SHA-512 compression function with the key-via-IV stra=
tegy
> and a random function. This is the first result on the pseudorandom-funct=
ion
> property of the SHA-512 compression function with the key-via-IV strategy=
. A
> similar distinguishing attack is applicable to the SHA-256 compression
> function with the key-via-IV strategy.

For their distinguisher they computed prf-advantage as 2^-12 with 4 queries=
.
Advantage increases with the number of queries, as should be expected.

HMAC is pseudorandom only if the underlying compression function is
pseudorandom. SHA2 may not be pseudorandom.

> But I also would strongly encourage you and your co-authors
> to put forth a more daring and an efficient alternative design, one that =
will
> require more extensive analysis
> before it is ready for adoption.

A good alternative IMHO would be using a block cipher-based compression
function.

Tnx!



> From: David W. Kravitz [mailto:dkravitz@trustcentral.com]
> Sent: Monday, September 24, 2012 11:30 AM
> To: Igoe, Kevin M.; cfrg@irtf.org
> Cc: john.kelsey@nist.gov; mcgrew@cisco.com; pornin@bolet.org
> Subject: RE: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA
> Digital Signature Algorithms
> =20
> Kevin,
> =20
> One effect of the use of =B3internal state=B2 is the prevention of HMAC_DRBG =
from
> producing repeat outputs, where =B3HMAC_DRBG Internal State=B2 is defined in
> section 10.1.2.1 of SP 800-90A. By stating that =B3Note that we instantiate=
 a
> new HMAC_DRBG instance for each signature generation process,=B2 the draft =
is
> indicating that internal state is not carried over (which is what I meant=
 by
> =B3null=B2). Consequently, given a repeat message =8Cm=B9 (i.e., repeat seed (=3D x=
 ||
> H(m) )), the output repeats. While this is not a problem in this particul=
ar
> application, it violates a fundamental property of a good DRBG. Furthermo=
re,
> with regard to the next-output-bits-given-previous-output-bits- uncertain=
ty
> property of a good DRBG, if the output for a single message =8Cm=B9 becomes k=
nown,
> all other outputs are not only distinguishable from the output of a truly
> random function, but are actually computable. This is due to the =B3double =
use=B2
> of the private key =8Cx=B9 for generation of =8Ck=B9 and for generation of =8Cs=B9 fr=
om
> =8Ck=B9. Since we don=B9t require the use of a DRBG in this (EC)DSA application=
, we
> can use HMAC directly (with =8Cx=B9 as the HMAC key, and H(m)||Counter as the
> HMAC=B9ed data, where Counter is used in conjunction with FIPS PUB 186-3 B.=
2.1
> or B.2.2).
> =20
> Note that the use of deterministic generation of =8Ck=B9 (whether done as in =
the
> current draft, or the suggested simplified version, or based on a block c=
ipher
> instead of HMAC) has an additional potential non-repudiation advantage no=
t
> previously explicitly mentioned: It could make it more difficult to plaus=
ibly
> disavow signatures on the basis of leakage of =8Cx=B9 due to low entropy =8Ck=B9.
> =20
> Thanks,
> David
> =20
>=20
> From: Igoe, Kevin M. [mailto:kmigoe@nsa.gov]
> Sent: Monday, September 24, 2012 10:21 AM
> To: 'David W. Kravitz'; cfrg@irtf.org
> Cc: john.kelsey@nist.gov; mcgrew@cisco.com
> Subject: RE: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA
> Digital Signature Algorithms
> =20
> David:
> =20
>   I=B9m having a hard time parsing the last two sentences of the first
> paragraph.  Would you be kind
> enough to rephrase them for me?
> =20
> 1) As far as I can see this draft instantiates the HMAC_DRBG using the se=
ed (=3D
> x || H(M) ) in=20
> precisely the correct manner.  I miss where they have strayed from the
> standard. =20
> =20
> 2) I=B9m not  sure what you mean by =B3null internal state=B2.
> =20
> Clearly I am misinterpreting what you are trying to say.
> =20
>=20
> From:cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf Of Da=
vid
> W. Kravitz
> Sent: Wednesday, September 19, 2012 6:40 PM
> To: cfrg@irtf.org
> Cc: john.kelsey@nist.gov; mcgrew@cisco.com
> Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA
> Digital Signature Algorithms
> =20
> Hi all,
> =20
> Comments below.
> =20
> Thanks,
> Jon Callas, David W. Kravitz, and Phil Zimmermann
> =20
> The required security attributes for the safe use of HMAC in this draft a=
re
> more nuanced than the description currently conveys.  Consider the follow=
ing
> two excerpts of the draft from the Security Considerations (section 5):
> =B3Security relies on whether the generation of 'k' is indistinguishable fr=
om
> the output of a Random Oracle.  Roughly speaking, HMAC_DRBG is secure in =
that
> role as long as HMAC behaves as a PRF (Pseudo-Random Function).=B2   =B3One
> remaining issue with deterministic (EC)DSA, as presented in this document=
, is
> the "double use" of the private key 'x', both as private key in the signa=
ture
> generation algorithm itself, and as input to the HMAC_DRBG-based pseudo-r=
andom
> oracle for producing the 'k' value.  This requires HMAC_DRBG to keep on b=
eing
> a random oracle, even when the public key (which is computed from 'x') is=
 also
> known.  Given the lack of common structure between HMAC and discrete
> logarithm, this seems a reasonable assumption.=B2 Any discussion in the
> literature of =B3random oracle=B2 is typically with respect to =B3a publicly
> accessible random function=B2 (as, for example, in =B3Indifferentiability,
> Impossibility Results on Reductions, and Applications to the Random Oracl=
e
> Methodology,=B2 by U. Maurer, R. Renner, and C. Holenstein,
> ftp://ftp.inf.ethz.ch/pub/crypto/publications/MaReHo04.pdf). But as HMAC_=
DRBG
> is specified in the draft document (with null internal state per =B3Note th=
at we
> instantiate a new HMAC_DRBG instance for each signature generation proces=
s,=B2
> and =B3double use=B2 of the private key =8Cx=B9), given any single output of
> HMAC_DRBG, all other outputs are completely distinguishable from the outp=
ut of
> an arbitrary truly random function. In other words, given a single =8Ck=B9 va=
lue
> that was generated using HMAC_DRBG as specified, any other =8Ck=B9 value(s)
> recovered from =8Cs=B9 by using =8Cr=B9, =8CH(m)=B9 and the no-longer-private value o=
f =8Cx=B9
> can be determined as having been generated using HMAC_DRBG as specified. =
Note
> that even if no values of =8Ck=B9 are disclosed, the use of null internal sta=
te
> would be problematic in an application relying on a DRBG where repeated
> outputs are unacceptable.
> =20
> So, given that neither (pseudo-)random oracle nor the
> next-output-bits-given-previous-output-bits- uncertainty property of DRBG=
 is
> achieved within the context of the actual (EC)DSA application, we can use=
 a
> simpler formulation here. An example of such is HMAC(=8Cx=B9, H(m)||Counter),
> where Counter is reinitialized for each signature generation process inst=
ance
> and potential bias is addressed by deriving =8Ck=B9 using  a single Counter v=
alue
> as in [FIPS PUB 186-3] B.2.2 (Per-Message Secret Number Generation by Tes=
ting
> Candidates), or multiple Counter values are used as in B.2.1 (Per-Message
> Secret Number Generation Using Extra Random Bits).
> =20
> Note that in the case where multiple entities have knowledge of =8Cx=B9 (whic=
h may
> complicate non-repudiation), deterministic generation of =8Ck=B9 has the effe=
ct
> that the potential subliminal/covert channel is replaced by a MAC propert=
y.
> That is, any entity with knowledge of =8Cx=B9 can verify the integrity of =8Cm=B9
> using =8Cs=B9 while ignoring both the transmitted value of =8Cr=B9, and =8Cy=B9 or =8CU=
=B9
> (where y =3D g^x mod p in DSA or U =3D xG in ECDSA).
> =20
> It might also be prudent to indicate in the Security Considerations secti=
on
> that the use of wholly deterministic generation of =8Ck=B9, while not adverse=
ly
> affecting the security of (EC)DSA itself and enabling an implementation t=
o be
> safely tested using dummy values of =8Cx=B9, may have a deleterious effect ag=
ainst
> resistance to side-channel attacks such as DPA (as opposed to =B3masking=B2 u=
sing
> a true RNG).
> =20
> =20
>=20
> From: "David McGrew (mcgrew)" <mcgrew@cisco.com>
>=20
> Subject: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Dig=
ital
> Signature Algorithms
>=20
> Date: September 13, 2012 7:40:41 AM PDT
>=20
> To: "cfrg@irtf.org" <cfrg@irtf.org>
> =20
>=20
> Hi,
>=20
> =20
>=20
> Thomas has updated his individual submission on deterministic [EC]DSA.   =
I
> think this is useful work that deserves to move forward to RFC, and that =
the
> research group should support it (based on my own opinion and the positiv=
e
> feedback on the list regarding version =AD00).   Please take a look at the =
draft
> if you have an opinion on digital signatures, and let Thomas know if you =
have
> constructive criticism.   Verification of the test cases, and review of t=
he
> security considerations, would be especially helpful.
>=20
> =20
>=20
> Thanks,
>=20
> =20
>=20
> David
>=20
> =20
>=20
> <http://tools.ietf.org/html/draft-pornin-deterministic-dsa-01>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
> =20



--B_3431339625_26773935
Content-type: text/html;
	charset="ISO-8859-1"
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; "><span id=3D"OLK_SRC_BODY_SECTIO=
N" style=3D"font-family: Calibri, sans-serif; "><blockquote id=3D"MAC_OUTLOOK_AT=
TRIBUTION_BLOCKQUOTE" style=3D"border-left-color: rgb(181, 196, 223); border-l=
eft-width: 5px; border-left-style: solid; padding-top: 0px; padding-right: 0=
px; padding-bottom: 0px; padding-left: 5px; margin-top: 0px; margin-right: 0=
px; margin-bottom: 0px; margin-left: 5px; "><div xmlns:v=3D"urn:schemas-micros=
oft-com:vml" xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:=
schemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/off=
ice/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40"><div lang=3D"EN-US" =
link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1"><p class=3D"MsoNormal" st=
yle=3D"color: rgb(0, 0, 0); font-size: 14px; "><span class=3D"Apple-style-span" =
style=3D"color: rgb(31, 73, 125); font-size: 15px; ">I believe your main conce=
rn is the double use of the signer&#8217;s secret &#8220;x&#8221; value. &nb=
sp;&nbsp;As you point out, we are</span></p><p class=3D"MsoNormal" style=3D"colo=
r: rgb(0, 0, 0); font-size: 14px; "><span style=3D"font-size: 11pt; color: rgb=
(31, 73, 125); font-family: Calibri, sans-serif; ">&#8220;betting the farm&#=
8221; that ALL of the &#8220;k&#8221;&#8217;s produced by the HMAC_DRBG are =
strong.&nbsp; I&#8217;ve not seen any reason &nbsp;<o:p></o:p></span></p><p =
class=3D"MsoNormal" style=3D"color: rgb(0, 0, 0); font-size: 14px; "><span style=
=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif=
; ">to doubt the strength of HMAC_DRBG.</span></p></div></div></div></blockq=
uote></span><div>Would this reference&nbsp;<a href=3D"http://www.springerlink.=
com/content/j7340u8162582044/">http://www.springerlink.com/content/j7340u816=
2582044/</a>&nbsp;shake your confidence? (David K., thanks for pointing me a=
t it.) Its abstract says (again, thanks, David):</div><div><br></div><blockq=
uote style=3D"margin:0 0 0 40px; border:none; padding:0px;"><div><span class=3D"=
Apple-style-span" style=3D"color: rgb(31, 73, 125); font-size: 15px; font-fami=
ly: Calibri, sans-serif; ">Applications of an iterated hash function such as=
 HMAC require that the compression function of the hash function is a pseudo=
random function. However, the pseudorandom-function property of the compress=
ion function was not analyzed up to now. This paper shows that it is easy to=
 distinguish between the 22 step-reduced SHA-512 compression function with t=
he key-via-IV strategy and a random function. This is the first result on th=
e pseudorandom-function property of the SHA-512 compression function with th=
e key-via-IV strategy. A similar distinguishing attack is applicable to the =
SHA-256 compression function with the key-via-IV strategy.</span></div></blo=
ckquote><div><br></div><div>For their distinguisher they computed prf-advant=
age as 2^-12 with 4 queries. Advantage increases with the number of queries,=
 as should be expected.</div><div><br></div><div>HMAC is pseudorandom only i=
f the underlying compression function is pseudorandom. SHA2 may not be pseud=
orandom.</div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION" style=3D"font-fam=
ily: Calibri, sans-serif; "><blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUO=
TE" style=3D"border-left-color: rgb(181, 196, 223); border-left-width: 5px; bo=
rder-left-style: solid; padding-top: 0px; padding-right: 0px; padding-bottom=
: 0px; padding-left: 5px; margin-top: 0px; margin-right: 0px; margin-bottom:=
 0px; margin-left: 5px; "><div xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns=
:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-=
com:office:word" xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><div lang=3D"EN-US" link=3D"blue" vlink=3D=
"purple"><div class=3D"WordSection1"><p class=3D"MsoNormal" style=3D"color: rgb(0,=
 0, 0); font-size: 14px; "><span style=3D"font-size: 11pt; color: rgb(31, 73, =
125); font-family: Calibri, sans-serif; ">But I also would strongly encourag=
e you and your co-authors
<o:p></o:p></span></p><p class=3D"MsoNormal" style=3D"color: rgb(0, 0, 0); font=
-size: 14px; "><span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-f=
amily: Calibri, sans-serif; ">to put forth a more daring and an efficient al=
ternative design, one that will require more extensive analysis
<o:p></o:p></span></p><p class=3D"MsoNormal" style=3D"color: rgb(0, 0, 0); font=
-size: 14px; "><span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-f=
amily: Calibri, sans-serif; ">before it is ready for adoption. &nbsp;</span>=
</p></div></div></div></blockquote></span><div><div>A good alternative IMHO =
would be using a block cipher-based compression function.</div><div><br></di=
v><div>Tnx!</div></div><div><br></div><div><br></div><div><br></div><span id=
=3D"OLK_SRC_BODY_SECTION" style=3D"font-family: Calibri, sans-serif; "><blockquo=
te id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"border-left-color: rgb(181=
, 196, 223); border-left-width: 5px; border-left-style: solid; padding-top: =
0px; padding-right: 0px; padding-bottom: 0px; padding-left: 5px; margin-top:=
 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 5px; "><div xmlns:=
v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-microsoft-com:office:=
office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" xmlns:m=3D"http://sche=
mas.microsoft.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html4=
0"><div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1"><d=
iv style=3D"color: rgb(0, 0, 0); font-size: 14px; border-top-style: none; bord=
er-right-style: none; border-bottom-style: none; border-width: initial; bord=
er-color: initial; border-left-style: solid; border-left-color: blue; border=
-left-width: 1.5pt; padding-top: 0in; padding-right: 0in; padding-bottom: 0i=
n; padding-left: 4pt; "><div><div style=3D"border:none;border-top:solid #B5C4D=
F 1.0pt;padding:3.0pt 0in 0in 0in"><p class=3D"MsoNormal"><b><span style=3D"font=
-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span style=3D=
"font-size: 10pt; font-family: Tahoma, sans-serif; "> David W. Kravitz [<a h=
ref=3D"mailto:dkravitz@trustcentral.com">mailto:dkravitz@trustcentral.com</a>]=
<br><b>Sent:</b> Monday, September 24, 2012 11:30 AM<br><b>To:</b> Igoe, Ke=
vin M.; <a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a><br><b>Cc:</b> <a hr=
ef=3D"mailto:john.kelsey@nist.gov">john.kelsey@nist.gov</a>; <a href=3D"mailto:m=
cgrew@cisco.com">mcgrew@cisco.com</a>; <a href=3D"mailto:pornin@bolet.org">por=
nin@bolet.org</a><br><b>Subject:</b> RE: [Cfrg] call for review: Determinist=
ic Usage of DSA and ECDSA Digital Signature Algorithms<o:p></o:p></span></p>=
</div></div><p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p><p class=3D"MsoNormal"><=
span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, =
sans-serif; ">Kevin,<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"=
font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; =
"><o:p>&nbsp;</o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size: 1=
1pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; ">One effect=
 of the use of &#8220;internal state&#8221; is the prevention of HMAC_DRBG f=
rom producing repeat outputs, where &#8220;HMAC_DRBG Internal State&#8221; i=
s defined in section
 10.1.2.1 of SP 800-90A. By stating that &#8220;Note that we instantiate a =
new HMAC_DRBG instance for each signature generation process,&#8221; the dra=
ft is indicating that internal state is not carried over (which is what I me=
ant by &#8220;null&#8221;). Consequently, given a repeat
 message &#8216;m&#8217; (i.e., repeat seed (=3D x || H(m) )), the output rep=
eats. While this is not a problem in this particular application, it violate=
s a fundamental property of a good DRBG. Furthermore, with regard to the nex=
t-output-bits-given-previous-output-bits-
 uncertainty property of a good DRBG, if the output for a single message &#=
8216;m&#8217; becomes known, all other outputs are not only distinguishable =
from the output of a truly random function, but are actually computable. Thi=
s is due to the &#8220;double use&#8221; of the private
 key &#8216;x&#8217; for generation of &#8216;k&#8217; and for generation o=
f &#8216;s&#8217; from &#8216;k&#8217;. Since we don&#8217;t require the use=
 of a DRBG in this (EC)DSA application, we can use HMAC directly (with &#821=
6;x&#8217; as the HMAC key, and H(m)||Counter as the HMAC&#8217;ed data, whe=
re Counter is used in conjunction
 with FIPS PUB 186-3 B.2.1 or B.2.2).<o:p></o:p></span></p><p class=3D"MsoNor=
mal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Cal=
ibri, sans-serif; "><o:p>&nbsp;</o:p></span></p><p class=3D"MsoNormal"><span s=
tyle=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-s=
erif; ">Note that the use of deterministic generation of &#8216;k&#8217; (wh=
ether done as in the current draft, or the suggested simplified version, or =
based on a block cipher
 instead of HMAC) has an additional potential non-repudiation advantage not=
 previously explicitly mentioned: It could make it more difficult to plausib=
ly disavow signatures on the basis of leakage of &#8216;x&#8217; due to low =
entropy &#8216;k&#8217;.<o:p></o:p></span></p><p class=3D"MsoNormal"><span sty=
le=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-ser=
if; "><o:p>&nbsp;</o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-siz=
e: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; ">Thanks=
,<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size: 11pt; co=
lor: rgb(31, 73, 125); font-family: Calibri, sans-serif; ">David<o:p></o:p><=
/span></p><p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, =
73, 125); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p><d=
iv><div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in"><p class=3D"MsoNormal"><b><span style=3D"font-size: 10pt; font-family: =
Tahoma, sans-serif; ">From:</span></b><span style=3D"font-size: 10pt; font-fam=
ily: Tahoma, sans-serif; "> Igoe, Kevin M. [<a href=3D"mailto:kmigoe@nsa.gov">=
mailto:kmigoe@nsa.gov</a>]
<br><b>Sent:</b> Monday, September 24, 2012 10:21 AM<br><b>To:</b> 'David W=
. Kravitz'; <a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a><br><b>Cc:</b> <=
a href=3D"mailto:john.kelsey@nist.gov">john.kelsey@nist.gov</a>; <a href=3D"mail=
to:mcgrew@cisco.com">mcgrew@cisco.com</a><br><b>Subject:</b> RE: [Cfrg] call=
 for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorith=
ms<o:p></o:p></span></p></div></div><p class=3D"MsoNormal"><o:p>&nbsp;</o:p></=
p><p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 125)=
; font-family: Calibri, sans-serif; ">David:<o:p></o:p></span></p><p class=3D"=
MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-famil=
y: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p><p class=3D"MsoNormal"><=
span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, =
sans-serif; ">&nbsp; I&#8217;m having a hard time parsing the last two sente=
nces of the first paragraph.&nbsp; Would you be kind<o:p></o:p></span></p><p=
 class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 125); fo=
nt-family: Calibri, sans-serif; ">enough to rephrase them for me?<o:p></o:p>=
</span></p><p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31,=
 73, 125); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p><=
p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 125); f=
ont-family: Calibri, sans-serif; ">1) As far as I can see this draft instant=
iates the HMAC_DRBG using the seed (=3D x || H(M) ) in
<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size: 11pt; co=
lor: rgb(31, 73, 125); font-family: Calibri, sans-serif; ">precisely the cor=
rect manner.&nbsp; I miss where they have strayed from the standard. &nbsp;<=
o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size: 11pt; colo=
r: rgb(31, 73, 125); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></=
span></p><p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 7=
3, 125); font-family: Calibri, sans-serif; ">2) I&#8217;m not &nbsp;sure wha=
t you mean by &#8220;null internal state&#8221;.<o:p></o:p></span></p><p cla=
ss=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-f=
amily: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p><p class=3D"MsoNorma=
l"><span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Calib=
ri, sans-serif; ">Clearly I am misinterpreting what you are trying to say.<o=
:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color=
: rgb(31, 73, 125); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></s=
pan></p><div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in=
 0in 4.0pt"><div><div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padd=
ing:3.0pt 0in 0in 0in"><p class=3D"MsoNormal"><b><span style=3D"font-size: 10pt;=
 font-family: Tahoma, sans-serif; ">From:</span></b><span style=3D"font-size: =
10pt; font-family: Tahoma, sans-serif; "><a href=3D"mailto:cfrg-bounces@irtf.o=
rg">cfrg-bounces@irtf.org</a> <a href=3D"mailto:[mailto:cfrg-bounces@irtf.org]=
">
[mailto:cfrg-bounces@irtf.org]</a> <b>On Behalf Of </b>David W. Kravitz<br>=
<b>Sent:</b> Wednesday, September 19, 2012 6:40 PM<br><b>To:</b> <a href=3D"ma=
ilto:cfrg@irtf.org">cfrg@irtf.org</a><br><b>Cc:</b> <a href=3D"mailto:john.kel=
sey@nist.gov">john.kelsey@nist.gov</a>; <a href=3D"mailto:mcgrew@cisco.com">
mcgrew@cisco.com</a><br><b>Subject:</b> Re: [Cfrg] call for review: Determi=
nistic Usage of DSA and ECDSA Digital Signature Algorithms<o:p></o:p></span>=
</p></div></div><p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p><p class=3D"MsoNorma=
l"><span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Arial=
, sans-serif; ">Hi all,<o:p></o:p></span></p><p class=3D"MsoNormal"><span styl=
e=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Arial, sans-serif;=
 "><o:p>&nbsp;</o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size: =
11pt; color: rgb(31, 73, 125); font-family: Arial, sans-serif; ">Comments be=
low.<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size: 11pt;=
 color: rgb(31, 73, 125); font-family: Arial, sans-serif; "><o:p>&nbsp;</o:p=
></span></p><p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31=
, 73, 125); font-family: Arial, sans-serif; ">Thanks,<o:p></o:p></span></p><=
p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 125); f=
ont-family: Arial, sans-serif; ">Jon Callas, David W. Kravitz, and Phil Zimm=
ermann<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"color:#1F497D"=
><o:p>&nbsp;</o:p></span></p><p class=3D"MsoNormal"><span style=3D"color:#1F497D=
">The required security attributes for the safe use of HMAC in this draft ar=
e more nuanced than the description currently conveys.&nbsp; Consider the fo=
llowing two excerpts of the draft from the Security Considerations
 (section 5): &#8220;Security relies on whether the generation of 'k' is in=
distinguishable from the output of a Random Oracle.&nbsp; Roughly speaking, =
HMAC_DRBG is secure in that role as long as HMAC behaves as a PRF (Pseudo-Ra=
ndom Function).&#8221;&nbsp;&nbsp; &#8220;One remaining issue with
 deterministic (EC)DSA, as presented in this document, is the "double use" =
of the private key 'x', both as private key in the signature generation algo=
rithm itself, and as input to the HMAC_DRBG-based pseudo-random oracle for p=
roducing the 'k' value.&nbsp; This
 requires HMAC_DRBG to keep on being a random oracle, even when the public =
key (which is computed from 'x') is also known.&nbsp; Given the lack of comm=
on structure between HMAC and discrete logarithm, this seems a reasonable as=
sumption.&#8221; Any discussion in the literature
 of &#8220;random oracle&#8221; is typically with respect to &#8220;a publi=
cly accessible random function&#8221; (as, for example, in &#8220;Indifferen=
tiability, Impossibility Results on Reductions, and Applications to the Rand=
om Oracle Methodology,&#8221; by U. Maurer, R. Renner, and C. Holenstein,
<a href=3D"ftp://ftp.inf.ethz.ch/pub/crypto/publications/MaReHo04.pdf">ftp://=
ftp.inf.ethz.ch/pub/crypto/publications/MaReHo04.pdf</a>). But as HMAC_DRBG =
is specified in the draft document (with null internal state per &#8220;Note=
 that we instantiate a new HMAC_DRBG
 instance for each signature generation process,&#8221; and &#8220;double u=
se&#8221; of the private key &#8216;x&#8217;), given any single output of HM=
AC_DRBG, all other outputs are completely distinguishable from the output of=
 an arbitrary truly random function. In other words, given a
 single &#8216;k&#8217; value that was generated using HMAC_DRBG as specifi=
ed, any other &#8216;k&#8217; value(s) recovered from &#8216;s&#8217; by usi=
ng &#8216;r&#8217;, &#8216;H(m)&#8217; and the no-longer-private value of &#=
8216;x&#8217; can be determined as having been generated using HMAC_DRBG as =
specified. Note that even
 if no values of &#8216;k&#8217; are disclosed, the use of null internal st=
ate would be problematic in an application relying on a DRBG where repeated =
outputs are unacceptable.<o:p></o:p></span></p><p class=3D"MsoNormal"><span st=
yle=3D"color:#1F497D"><o:p>&nbsp;</o:p></span></p><p class=3D"MsoNormal"><span s=
tyle=3D"color:#1F497D">So, given that neither (pseudo-)random oracle nor the n=
ext-output-bits-given-previous-output-bits- uncertainty property of DRBG is =
achieved within the context of the actual (EC)DSA application, we can use a =
simpler
 formulation here. An example of such is HMAC(&#8216;x&#8217;, H(m)||Counte=
r), where Counter is reinitialized for each signature generation process ins=
tance and potential bias is addressed by deriving &#8216;k&#8217; using&nbsp=
; a single Counter value as in [FIPS PUB 186-3] B.2.2 (Per-Message
 Secret Number Generation by Testing Candidates), or multiple Counter value=
s are used as in B.2.1 (Per-Message Secret Number Generation Using Extra Ran=
dom Bits).<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"color:#1F4=
97D"><o:p>&nbsp;</o:p></span></p><p class=3D"MsoNormal"><span style=3D"color:#1F=
497D">Note that in the case where multiple entities have knowledge of &#8216=
;x&#8217; (which may complicate non-repudiation), deterministic generation o=
f &#8216;k&#8217; has the effect that the potential subliminal/covert channe=
l is replaced
 by a MAC property. That is, any entity with knowledge of &#8216;x&#8217; c=
an verify the integrity of &#8216;m&#8217; using &#8216;s&#8217; while ignor=
ing both the transmitted value of &#8216;r&#8217;, and &#8216;y&#8217; or &#=
8216;U&#8217; (where y =3D g^x mod p in DSA or U =3D xG in ECDSA).
<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p=
>&nbsp;</o:p></span></p><p class=3D"MsoNormal"><span style=3D"color:#1F497D">It =
might also be prudent to indicate in the Security Considerations section tha=
t the use of wholly deterministic generation of &#8216;k&#8217;, while not a=
dversely affecting the security of (EC)DSA itself and enabling an
 implementation to be safely tested using dummy values of &#8216;x&#8217;, =
may have a deleterious effect against resistance to side-channel attacks suc=
h as DPA (as opposed to &#8220;masking&#8221; using a true RNG).<o:p></o:p><=
/span></p><p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p>=
</span></p><p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p=
></span></p><div><p class=3D"MsoNormal"><b><span style=3D"font-size: 13.5pt; fon=
t-family: Helvetica, sans-serif; ">From:
</span></b><span style=3D"font-size: 13.5pt; font-family: Helvetica, sans-ser=
if; ">"David McGrew (mcgrew)" &lt;<a href=3D"mailto:mcgrew@cisco.com">mcgrew@c=
isco.com</a>&gt;</span><o:p></o:p></p></div><div><p class=3D"MsoNormal"><b><sp=
an style=3D"font-size: 13.5pt; font-family: Helvetica, sans-serif; ">Subject: =
[Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signatu=
re Algorithms</span></b><o:p></o:p></p></div><div><p class=3D"MsoNormal"><b><s=
pan style=3D"font-size: 13.5pt; font-family: Helvetica, sans-serif; ">Date:
</span></b><span style=3D"font-size: 13.5pt; font-family: Helvetica, sans-ser=
if; ">September 13, 2012 7:40:41 AM PDT</span><o:p></o:p></p></div><div><p c=
lass=3D"MsoNormal"><b><span style=3D"font-size: 13.5pt; font-family: Helvetica, =
sans-serif; ">To:
</span></b><span style=3D"font-size: 13.5pt; font-family: Helvetica, sans-ser=
if; ">"<a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>" &lt;<a href=3D"mailto=
:cfrg@irtf.org">cfrg@irtf.org</a>&gt;</span><o:p></o:p></p></div><p class=3D"M=
soNormal"><o:p>&nbsp;</o:p></p><div><div><p class=3D"MsoNormal"><span style=3D"f=
ont-size: 10.5pt; color: black; font-family: Calibri, sans-serif; ">Hi,<o:p>=
</o:p></span></p></div><div><p class=3D"MsoNormal"><span style=3D"font-size: 10.=
5pt; color: black; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></sp=
an></p></div><div><p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color=
: black; font-family: Calibri, sans-serif; ">Thomas has updated his individu=
al submission on deterministic [EC]DSA. &nbsp; I think this is useful work t=
hat deserves to move forward to RFC, and that the research
 group should support it (based on my own opinion and the positive feedback=
 on the list regarding version &#8211;00). &nbsp; Please take a look at the =
draft if you have an opinion on digital signatures, and let Thomas know if y=
ou have constructive criticism. &nbsp; Verification
 of the test cases, and review of the security considerations, would be esp=
ecially helpful.<o:p></o:p></span></p></div><div><p class=3D"MsoNormal"><span =
style=3D"font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; ">=
<o:p>&nbsp;</o:p></span></p></div><div><p class=3D"MsoNormal"><span style=3D"fon=
t-size: 10.5pt; color: black; font-family: Calibri, sans-serif; ">Thanks,<o:=
p></o:p></span></p></div><div><p class=3D"MsoNormal"><span style=3D"font-size: 1=
0.5pt; color: black; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></=
span></p></div><div><p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; col=
or: black; font-family: Calibri, sans-serif; ">David<o:p></o:p></span></p></=
div><div><p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; =
font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p></div><div><=
p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font-famil=
y: Calibri, sans-serif; ">&lt;<a href=3D"http://tools.ietf.org/html/draft-porn=
in-deterministic-dsa-01">http://tools.ietf.org/html/draft-pornin-determinist=
ic-dsa-01</a>&gt;<o:p></o:p></span></p></div></div><p class=3D"MsoNormal">____=
___________________________________________<br>
Cfrg mailing list<br><a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br><a=
 href=3D"http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/mailma=
n/listinfo/cfrg</a><o:p></o:p></p><p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>=
</div></div></div></div></div></blockquote></span></body></html>

--B_3431339625_26773935--

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

MIIUAAYJKoZIhvcNAQcC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MAkGBSsOAwIa
BQCgXTAjBgkqhkiG9w0BCQQxFgQUZQb0vmdkBBTERwRk/jW6QNOvt1owGAYJKoZIhvcNAQkD
MQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTIwOTI0MTc1MzQ1WjANBgkqhkiG9w0B
AQEFAASCAQCq16Al5hVlDh77jLtlNg2dBD7/wKWVtWc4oTLNM+nSOFKBRAjjzQvJJa8AsSaR
QQ3zeg0+Bur71DK+aZx4CxuCz/0AQSr8deQpTmv3yt1msXPWnXExOMXNa1e9QSxr4ibMzCaR
DymnTLPOBoayV1M8PYgOk/R3SNLYiVZBVmSlO9xn95v6kCtXko5v2C+zDbhoobSiVgG7ggRf
oQ/Vf7iSuOgpjw2krwLb7Oxgf+CiqikRNwkw4s4IXeXoauL6wQQsZ0UTePmyOmw1zDpXeD07
qL8TKXoTSfM79uA7XzWq1Ncx4FcOPKnYDQHWsNdKiJSXxcpgiZzlFOR8yO91VZFP

--B_3431339625_26774936--

From prvs=261400c488=dbrown@certicom.com  Mon Sep 24 11:37:56 2012
Return-Path: <prvs=261400c488=dbrown@certicom.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C32A21F8876 for <cfrg@ietfa.amsl.com>; Mon, 24 Sep 2012 11:37:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.782
X-Spam-Level: 
X-Spam-Status: No, score=-2.782 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, EXTRA_MPART_TYPE=1, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_MED=-4, SARE_GIF_ATTACH=1.42]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7DJG+vLHbcyG for <cfrg@ietfa.amsl.com>; Mon, 24 Sep 2012 11:37:51 -0700 (PDT)
Received: from mhs061cnc.rim.net (mhs061cnc.rim.net [208.65.73.35]) by ietfa.amsl.com (Postfix) with ESMTP id 9991821F887B for <cfrg@irtf.org>; Mon, 24 Sep 2012 11:37:50 -0700 (PDT)
X-AuditID: 0a412830-b7fab6d000006b80-c2-5060a879eec3
Received: from XCT102CNC.rim.net (xct102cnc.rim.net [10.65.161.202]) (using TLS with cipher AES128-SHA (AES128-SHA/128 bits)) (Client did not present a certificate) by mhs061cnc.rim.net (SBG) with SMTP id 4D.16.27520.978A0605; Mon, 24 Sep 2012 18:37:45 +0000 (GMT)
Received: from XCT111CNC.rim.net (10.65.161.211) by XCT102CNC.rim.net (10.65.161.202) with Microsoft SMTP Server (TLS) id 14.2.298.4; Mon, 24 Sep 2012 14:37:44 -0400
Received: from XMB111CNC.rim.net ([fe80::fcd6:cc6c:9e0b:25bc]) by XCT111CNC.rim.net ([::1]) with mapi id 14.02.0298.004; Mon, 24 Sep 2012 14:37:44 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'David McGrew (mcgrew)'" <mcgrew@cisco.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
Thread-Index: AQHNkb3A2Mn62duUhkur3ySu3qHaQ5eZv7lQ
Date: Mon, 24 Sep 2012 18:37:43 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF50B9A9C@XMB111CNC.rim.net>
References: <CC7768A9.EDA64%mcgrew@cisco.com>
In-Reply-To: <CC7768A9.EDA64%mcgrew@cisco.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.248]
Content-Type: multipart/related; boundary="_004_810C31990B57ED40B2062BA10D43FBF50B9A9CXMB111CNCrimnet_";  type="multipart/alternative"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+N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
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Sep 2012 18:37:56 -0000

--_004_810C31990B57ED40B2062BA10D43FBF50B9A9CXMB111CNCrimnet_
Content-Type: multipart/alternative;
	boundary="_000_810C31990B57ED40B2062BA10D43FBF50B9A9CXMB111CNCrimnet_"

--_000_810C31990B57ED40B2062BA10D43FBF50B9A9CXMB111CNCrimnet_
Content-Type: text/plain; charset="us-ascii"
content-transfer-encoding: quoted-printable

Dear CFRG subscribers,

0. Summary of this email (because it is rather long, sorry)

The I-D that is the topic of this thread addresses a major issue in using (E=
C)DSA, and provides a good solution, but there is a simpler and more standar=
ds compliant solution, which is described below.  This I-D also addresses a=
 minor issue in using (EC)DSA, and provides a good solution.  Though address=
ing a minor issue, it is worth an RFC, but perhaps with greater coordination=
 with other standards.


1. The Issues

A general issue is that ephemeral private keys (EC)DSA must be secret (and m=
ust not even possess certain kinds of bias) and also must not repeat for dis=
tinct messages, (even show other weaker types of interdependence). Otherwise=
, known attack algorithms can be used to learn the static private key.

A major issue, which can be viewed a special case of the general issue, is h=
ow to handle an (EC)DSA instantiation with no live entropy source for genera=
ting secret ephemeral keys.

A minor issue is to purposely make (EC)DSA operate in a mode that generates=
 a constant signature per message.   Firstly, this mode avoids certain attac=
ks (on repeated keys per message), but is not the only way to do so.  Second=
ly, this mode makes certain security proofs work.  Thirdly, perhaps some unk=
nown attacks exploit a small leakage per each different (but unbiased) ephem=
eral key per message, in which case this mode would resists those attacks.


2. A Simpler and More Compliant Solution to the Major Issue

A solution (simpler than in the I-D) to the major issue is to generate the (=
EC)DSA static and ephemeral keys with a pre-seeded DRBG, the first being the=
 static private key, and the remaining being ephemeral keys.  Just to be cle=
ar: the initial DRBG must be seeded with enough entropy.

Alternatively, and along the lines of the I-D, all ephemeral keys could be g=
enerated using a single DRBG instance seeded with the static private key.  T=
his is not very compliant for two reasons: (1) the static private key is bei=
ng use for another purpose, and (2) standards such as NIST Draft Special Pub=
lication 800-90C defined an entropy as inside an RBG boundary and not access=
ible to the application using it, such as the (EC)DSA implementation, so the=
 general RBG API does not allow the external control the entropy.

If there is some risk that this single DRBG is multi-threaded and could poss=
ibly supply the same key to two different threads (which it should never eve=
r do, and this would be a major implementation error), then one could add th=
e message hash as an additional input the message digest.  This would help a=
void the fatal problem of a repeated ephemeral across different messages.  I=
n other words, the (EC)DSA implementation could try to be very robust and ov=
ercome a potential deficiency in a (faulty) DRBG implementation.

Perhaps another I-D explaining this simpler solution would help the IETF.

By the way, I agree with that using HMAC_DRBG may well be quite helpful in g=
etting it deployed, because current ANSI/NIST compliant implementation shoul=
d already use HMAC_DRBG (or another the SP 800-90A DRBGs).  I also agree, th=
at using HMAC_DRBG helps with compliance, but with the following reservation=
.    I also agree that although this I-D may not comply with various standar=
ds, it is probably a harmless violation.


3. Solving the Minor Issue

On the minor issue, which may be main motivation for the I-D, of generating=
 a constant signature per message, there is only a small benefit.  It would=
 nice if a solution, unlike the I-D, could be strictly compliant to the othe=
r RBG standards.

I am reviewing SP 800-90C, but so far I haven't found any way to use it, in=
 strict compliance, to achieve an (EC)DSA with constant signature per messag=
e.  Again, by strict compliance, I mean the (EC)DSA is not allowed to see, t=
ouch, or influence the entropy inputs, and also the entropy inputs cannot be=
 replicated.  The closest I could get is as follows.  First, instantiate an=
 initial DRBG with real entropy.  It serves as a source of entropy input SEI=
 for further DRBGs, using the notion of an "RBG chain" from NIST's Draft Spe=
cial Publication 800-90C, subsequent DRBGs can be instantiated using this SE=
I.  As in the I-D, one DRBG instance could be instantiated per signature.  =
 Note that this requires that this per-signature DRBG be seeded using the ou=
tput of the initial DRBG, which generates some new random bits for the purpo=
ses of the seeding.  The message digest, could be fed in as additional input=
 (or nonce).  However, in order to have a constant-signature-per-message, th=
e (EC)DSA would have to maintain a database of message to ephemeral key valu=
es.

Perhaps, I'm interpreting 90C too strictly, and it does allow entropy-input=
 replication.  But I would be surprised if it did, because in general, that=
 could be very bad if not carefully handled.  In that case, the initial DRBG=
 could be called once as SEI, to obtain an initial seed, then this since can=
 be replicated in the sense that is used to instantiate multiple other DRBGs=
.


4.  Question about deterministic modes

I am also not totally confident that running (EC)DSA with no new entropy per=
 ephemeral key does not lose any security.  For example, it may cause the se=
curity of (EC)DSA to rely more heavily on the properties of the hash functio=
ns, than it would normally.  Any thoughts?


5. Regarding Anonymity

The security consideration section of the I-D mentions anonymity.  A message=
 and its ECDSA signature (r,s) can be used to reconstruct the public key (or=
 a small set of possible candidates for the keys), and should probably not b=
e regarded as anonymous.  (Doing so for DSA seems to be hard problem.)  So,=
 the security consideration could perhaps be clarified, to avoid giving the=
 wrong impression.  (At this point, I don't have a suggested re-wording, but=
 I could probably be


6. Regarding some of David Kravitz's Comments

My reservations about compliance are also related to David Kravitz's concern=
, which I agree with. The danger may be that this non-compliant way of using=
 the DRBG in this I-D is mistakenly ported from (EC)DSA over to some other a=
pplications, with some potentially bad consequences.  David Kravitz's counte=
r proposal is also not compliant with the current (EC)DSA standards, which t=
hat the keys be generated using an approved RNG.


7. Modifying other (EC)DSA standards

So, if a deterministic mode of (EC)DSA is really desired, and deemed secure,=
 should the (EC)DSA standards be amended to loosen this requirement on the k=
ey generation, such as in the manner of the I-D, or as in Kravitz's alternat=
ive solution?

I can take this question to ANSI X9F1 working group for the next revision of=
 ANS X9.62 (ECDSA), which I am currently editing.

Best regards,

Daniel Brown

Research In Motion Limited




[cid:image001.gif@01CD9A50.EC8235B0]



From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf Of Davi=
d McGrew (mcgrew)
Sent: Thursday, September 13, 2012 10:41 AM
To: cfrg@irtf.org
Subject: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digita=
l Signature Algorithms

Hi,

Thomas has updated his individual submission on deterministic [EC]DSA.   I t=
hink this is useful work that deserves to move forward to RFC, and that the=
 research group should support it (based on my own opinion and the positive=
 feedback on the list regarding version -00).   Please take a look at the dr=
aft if you have an opinion on digital signatures, and let Thomas know if you=
 have constructive criticism.   Verification of the test cases, and review o=
f the security considerations, would be especially helpful.

Thanks,

David

<http://tools.ietf.org/html/draft-pornin-deterministic-dsa-01>

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential infor=
mation, privileged material (including material protected by the solicitor-c=
lient or other applicable privileges), or constitute non-public information.=
 Any use of this information by anyone other than the intended recipient is=
 prohibited. If you have received this transmission in error, please immedia=
tely reply to the sender and delete this information from your system. Use,=
 dissemination, distribution, or reproduction of this transmission by uninte=
nded recipients is not authorized and may be unlawful.

--_000_810C31990B57ED40B2062BA10D43FBF50B9A9CXMB111CNCrimnet_
Content-Type: text/html; charset="us-ascii"
content-transfer-encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micro=
soft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" xm=
lns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http://w=
ww.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:145050294;
	mso-list-type:hybrid;
	mso-list-template-ids:-1935252560 -775778726 67698713 67698715 67698703 676=
98713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-start-at:0;
	mso-level-text:%1;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1
	{mso-list-id:2031029719;
	mso-list-type:hybrid;
	mso-list-template-ids:1628986290 67698705 67698713 67698715 67698703 676987=
13 67698715 67698703 67698713 67698715;}
@list l1:level1
	{mso-level-start-at:0;
	mso-level-text:"%1\)";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level2
	{mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level3
	{mso-level-tab-stop:1.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level4
	{mso-level-tab-stop:2.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level5
	{mso-level-tab-stop:2.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level6
	{mso-level-tab-stop:3.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level7
	{mso-level-tab-stop:3.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level8
	{mso-level-tab-stop:4.0in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level9
	{mso-level-tab-stop:4.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l2
	{mso-list-id:2037270832;
	mso-list-type:hybrid;
	mso-list-template-ids:434954834 67698703 67698713 67698715 67698703 6769871=
3 67698715 67698703 67698713 67698715;}
@list l2:level1
	{mso-level-start-at:0;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"3074" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple" style=3D"word-wrap: brea=
k-word;-webkit-nbsp-mode: space;-webkit-line-break: after-white-space">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Dear CFRG subscribers,<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">0. Summary of this email (b=
ecause it is rather long, sorry)
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">The I-D that is the topic o=
f this thread addresses a major issue in using (EC)DSA, and provides a good=
 solution, but there is a simpler and more standards compliant
 solution, which is described below.&nbsp; This I-D also addresses a minor i=
ssue in using (EC)DSA, and provides a good solution.&nbsp; Though addressing=
 a minor issue, it is worth an RFC, but perhaps with greater coordination wi=
th other standards.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">1. The Issues<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">A general issue is that eph=
emeral private keys (EC)DSA must be secret (and must not even possess certai=
n kinds of bias) and also must not repeat for distinct
 messages, (even show other weaker types of interdependence). Otherwise, kno=
wn attack algorithms can be used to learn the static private key.&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">A major issue, which can be=
 viewed a special case of the general issue, is how to handle an (EC)DSA ins=
tantiation with no live entropy source for generating
 secret ephemeral keys.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">A minor issue is to purpose=
ly make (EC)DSA operate in a mode that generates a constant signature per me=
ssage.&nbsp;&nbsp; Firstly, this mode avoids certain attacks (on
 repeated keys per message), but is not the only way to do so.&nbsp; Secondl=
y, this mode makes certain security proofs work.&nbsp; Thirdly, perhaps some=
 unknown attacks exploit a small leakage per each different (but unbiased) e=
phemeral key per message, in which case
 this mode would resists those attacks.&nbsp; <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">2. A Simpler and More Compl=
iant Solution to the Major Issue<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">A solution (simpler than in=
 the I-D) to the major issue is to generate the (EC)DSA static and ephemeral=
 keys with a pre-seeded DRBG, the first being the static
 private key, and the remaining being ephemeral keys.&nbsp; Just to be clear=
: the initial DRBG must be seeded with enough entropy.&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Alternatively, and along th=
e lines of the I-D, all ephemeral keys could be generated using a single DRB=
G instance seeded with the static private key.&nbsp; This
 is not very compliant for two reasons: (1) the static private key is being=
 use for another purpose, and (2) standards such as NIST Draft Special Publi=
cation 800-90C defined an entropy as inside an RBG boundary and not accessib=
le to the application using it,
 such as the (EC)DSA implementation, so the general RBG API does not allow t=
he external control the entropy.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">If there is some risk that=
 this single DRBG is multi-threaded and could possibly supply the same key t=
o two different threads (which it should never ever do,
 and this would be a major implementation error), then one could add the mes=
sage hash as an additional input the message digest.&nbsp; This would help a=
void the fatal problem of a repeated ephemeral across different messages.&nb=
sp; In other words, the (EC)DSA implementation
 could try to be very robust and overcome a potential deficiency in a (fault=
y) DRBG implementation.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Perhaps another I-D explain=
ing this simpler solution would help the IETF.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">By the way, I agree with th=
at using HMAC_DRBG may well be quite helpful in getting it deployed, because=
 current ANSI/NIST compliant implementation should already
 use HMAC_DRBG (or another the SP 800-90A DRBGs).&nbsp; I also agree, that u=
sing HMAC_DRBG helps with compliance, but with the following reservation.&nb=
sp;&nbsp;&nbsp; I also agree that although this I-D may not comply with vari=
ous standards, it is probably a harmless violation.&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">3. Solving the Minor Issue<=
o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">On the minor issue, which m=
ay be main motivation for the I-D, of generating a constant signature per me=
ssage, there is only a small benefit.&nbsp; It would nice
 if a solution, unlike the I-D, could be strictly compliant to the other RBG=
 standards.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I am reviewing SP 800-90C,=
 but so far I haven&#8217;t found any way to use it, in strict compliance, t=
o achieve an (EC)DSA with constant signature per message. &nbsp;Again,
 by strict compliance, I mean the (EC)DSA is not allowed to see, touch, or i=
nfluence the entropy inputs, and also the entropy inputs cannot be replicate=
d.&nbsp; The closest I could get is as follows.&nbsp; First, instantiate an=
 initial DRBG with real entropy.&nbsp; It serves
 as a source of entropy input SEI for further DRBGs, using the notion of an=
 &#8220;RBG chain&#8221; from NIST&#8217;s Draft Special Publication 800-90C=
, subsequent DRBGs can be instantiated using this SEI.&nbsp; As in the I-D,=
 one DRBG instance could be instantiated per signature.&nbsp;&nbsp;
 Note that this requires that this per-signature DRBG be seeded using the ou=
tput of the initial DRBG, which generates some new random bits for the purpo=
ses of the seeding.&nbsp; The message digest, could be fed in as additional=
 input (or nonce). &nbsp;However, in order
 to have a constant-signature-per-message, the (EC)DSA would have to maintai=
n a database of message to ephemeral key values.&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Perhaps, I&#8217;m interpre=
ting 90C too strictly, and it does allow entropy-input replication.&nbsp; Bu=
t I would be surprised if it did, because in general, that could
 be very bad if not carefully handled.&nbsp; In that case, the initial DRBG=
 could be called once as SEI, to obtain an initial seed, then this since can=
 be replicated in the sense that is used to instantiate multiple other DRBGs=
.&nbsp;&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">4.&nbsp; Question about det=
erministic modes<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I am also not totally confi=
dent that running (EC)DSA with no new entropy per ephemeral key does not los=
e any security.&nbsp; For example, it may cause the security
 of (EC)DSA to rely more heavily on the properties of the hash functions, th=
an it would normally.&nbsp; Any thoughts?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">5. Regarding Anonymity<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">The security consideration=
 section of the I-D mentions anonymity.&nbsp; A message and its ECDSA signat=
ure (r,s) can be used to reconstruct the public key (or a small
 set of possible candidates for the keys), and should probably not be regard=
ed as anonymous.&nbsp; (Doing so for DSA seems to be hard problem.)&nbsp; So=
, the security consideration could perhaps be clarified, to avoid giving the=
 wrong impression.&nbsp; (At this point, I don&#8217;t
 have a suggested re-wording, but I could probably be<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">6. Regarding some of David=
 Kravitz&#8217;s Comments<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">My reservations about compl=
iance are also related to David Kravitz&#8217;s concern, which I agree with.=
 The danger may be that this non-compliant way of using the
 DRBG in this I-D is mistakenly ported from (EC)DSA over to some other appli=
cations, with some potentially bad consequences.&nbsp; David Kravitz&#8217;s=
 counter proposal is also not compliant with the current (EC)DSA standards,=
 which that the keys be generated using an
 approved RNG.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">7. Modifying other (EC)DSA=
 standards<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">So, if a deterministic mode=
 of (EC)DSA is really desired, and deemed secure, should the (EC)DSA standar=
ds be amended to loosen this requirement on the key generation,
 such as in the manner of the I-D, or as in Kravitz&#8217;s alternative solu=
tion?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I can take this question to=
 ANSI X9F1 working group for the next revision of ANS X9.62 (ECDSA), which I=
 am currently editing.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Best regards,<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<div>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" width=3D"600" style=3D"width:5.0in">
<tbody>
<tr>
<td style=3D"padding:0in 0in 2.4pt 0in">
<p class=3D"MsoNormal" style=3D"line-height:9.0pt"><span style=3D"font-size:=
7.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">Dani=
el Brown<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style=3D"padding:0in 0in 0in 0in">
<p class=3D"MsoNormal" style=3D"margin-top:3.0pt"><span style=3D"font-size:7=
.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0073BC">Res=
earch In Motion Limited</span><span style=3D"font-size:7.0pt;font-family:&qu=
ot;Arial&quot;,&quot;sans-serif&quot;;color:black">
<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D;display:none"><o:p>&nbsp=
;</o:p></span></p>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" width=3D"600" style=3D"width:5.0in">
<tbody>
<tr>
<td style=3D"padding:0in 0in 0in 0in"></td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D;display:none"><o:p>&nbsp=
;</o:p></span></p>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"3" cellpadding=
=3D"0" width=3D"600" style=3D"width:5.0in">
<tbody>
<tr>
<td style=3D"padding:7.8pt 0in 0in 0in">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><img width=3D"141" heig=
ht=3D"34" id=3D"Picture_x0020_1" src=3D"cid:image001.gif@01CD9A50.EC8235B0"=
 alt=3D"cid:image001.gif@01CD9A50.EC8235B0"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width=3D"600" style=3D"width:5.0in;padding:7.8pt 0in 0in 0in"></td>
</tr>
</tbody>
</table>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4=
.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0=
in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot;=
Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-siz=
e:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> cfrg-bounce=
s@irtf.org [mailto:cfrg-bounces@irtf.org]
<b>On Behalf Of </b>David McGrew (mcgrew)<br>
<b>Sent:</b> Thursday, September 13, 2012 10:41 AM<br>
<b>To:</b> cfrg@irtf.org<br>
<b>Subject:</b> [Cfrg] call for review: Deterministic Usage of DSA and ECDSA=
 Digital Signature Algorithms<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:8.5pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:black">Hi,<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:8.5pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:8.5pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:black">Thomas has updated his individ=
ual submission on deterministic [EC]DSA. &nbsp; I think this is useful work=
 that deserves to move forward to RFC, and that the research
 group should support it (based on my own opinion and the positive feedback=
 on the list regarding version &#8211;00). &nbsp; Please take a look at the=
 draft if you have an opinion on digital signatures, and let Thomas know if=
 you have constructive criticism. &nbsp; Verification
 of the test cases, and review of the security considerations, would be espe=
cially helpful.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:8.5pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:8.5pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:black">Thanks,<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:8.5pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:8.5pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:black">David<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:8.5pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:8.5pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:black">&lt;http://tools.ietf.org/html=
/draft-pornin-deterministic-dsa-01&gt;<o:p></o:p></span></p>
</div>
</div>
</div>
--------------------------------------------------------------------- <br>
This transmission (including any attachments) may contain confidential infor=
mation, privileged material (including material protected by the solicitor-c=
lient or other applicable privileges), or constitute non-public information.=
 Any use of this information by anyone other than the intended recipient is=
 prohibited. If you have received this transmission in error, please immedia=
tely reply to the sender and delete this information from your system. Use,=
 dissemination, distribution, or reproduction of this transmission by uninte=
nded recipients is not authorized and may be unlawful.
</body>
</html>

--_000_810C31990B57ED40B2062BA10D43FBF50B9A9CXMB111CNCrimnet_--

--_004_810C31990B57ED40B2062BA10D43FBF50B9A9CXMB111CNCrimnet_
Content-Type: image/gif; name="image001.gif"
Content-Description: image001.gif
Content-Disposition: inline; filename="image001.gif"; size=2577;
	creation-date="Mon, 24 Sep 2012 16:34:21 GMT";
	modification-date="Mon, 24 Sep 2012 16:34:21 GMT"
Content-ID: <image001.gif@01CD9A50.EC8235B0>
Content-Transfer-Encoding: base64

R0lGODlhjQAiANUAAF5bXMrJydjX1zIvMF5bW+Xl5fLx8UE9PsvKyvPy8np3eJSTkzIvL5WTlMvK
ycrKybCvr4eFhk9MTV5cXJSSk6KhoEI+PoeGhmtqaXp4eOTk5KOhoa+urmxqab68vUE9PZWTk727
vHp3d2xqauTl5LCvrtjY19nY2FBNTdnY16KgoKOhoE9MTL28vK+vrvPy8WtpaTIuLzEuL11bW4iG
hkI9Pr68vIiGh09NTSMfHyQgICMfICQfIP///wAAAAAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0
IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4
bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAg
NjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpy
ZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRl
c2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFw
LzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxu
czpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1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EQWYywMAl3wixAI8+pWAuTmgm2kOJAtxQmUUcNCIAOv9MV8PDLqS
AAt+OGKWYeyUcseGMeP9x3geAuiHbFAIQEspPyURtgUUULAABqtG5oA4xIQLSAgJlGBBiPMZdJQN
K3zpTgoRlHQYAdOYWfACIFDM/9HiPXAAX4AkFFDnIhA86s43JhRcBHSeDBC5GDVg0k1AKJT4hycR
Jbjl1ur9yCBsec2kwyY9PNBnD2KFB94fA3wz63WbvfnAk0Os8MfFQigZ4BkCeL2ZHyMoM8H064hS
ZeLTkCFA4DOG4kGpCuaKXq0jATPJlkBuloIhCOA359nBoHoQrh3AYAgV40FeijABP4gEDQaAQAMa
sIAGbKBR9FiAG9jUAxcIjQIGoN0CGlWACLiBABmwVwFqxzEhpKABIMBhayiARBYijggGWAFPRmAc
IYRghXfrQQmQKLW65QAO5wijGGCnA/qJ8Yz5CM8J0MjGLXxgEYxroxynwAEIwRRwjnh8ggCQIbU8
+vGPgAykIPMYBAA7

--_004_810C31990B57ED40B2062BA10D43FBF50B9A9CXMB111CNCrimnet_--

From dkravitz@trustcentral.com  Mon Sep 24 14:11:04 2012
Return-Path: <dkravitz@trustcentral.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7DFD61F0425 for <cfrg@ietfa.amsl.com>; Mon, 24 Sep 2012 14:11:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.265
X-Spam-Level: 
X-Spam-Status: No, score=-1.265 tagged_above=-999 required=5 tests=[AWL=0.133,  BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_41=0.6, J_CHICKENPOX_42=0.6]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FCMvwp76tvDv for <cfrg@ietfa.amsl.com>; Mon, 24 Sep 2012 14:11:00 -0700 (PDT)
Received: from vms173011pub.verizon.net (vms173011pub.verizon.net [206.46.173.11]) by ietfa.amsl.com (Postfix) with ESMTP id 59E711F041D for <cfrg@irtf.org>; Mon, 24 Sep 2012 14:11:00 -0700 (PDT)
Received: from hatemtlaptop ([unknown] [173.66.52.63]) by vms173011.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MAV00FMFHH75ZG1@vms173011.mailsrvcs.net> for cfrg@irtf.org; Mon, 24 Sep 2012 16:10:31 -0500 (CDT)
From: "David W. Kravitz" <dkravitz@trustcentral.com>
To: "'Igoe, Kevin M.'" <kmigoe@nsa.gov>,	<cfrg@irtf.org>
References: <CC7768A9.EDA64%mcgrew@cisco.com> <9745FE04-5A2C-4D38-9D34-AFF3A2EC54C6@callas.org> <002801cd96b7$b7c38c80$274aa580$@trustcentral.com> <3C4AAD4B5304AB44A6BA85173B4675CA17687160@MSMR-GH1-UEA03.corp.nsa.gov> <000601cd9a69$897d3460$9c779d20$@trustcentral.com> <3C4AAD4B5304AB44A6BA85173B4675CA176901BE@MSMR-GH1-UEA03.corp.nsa.gov>
In-reply-to: <3C4AAD4B5304AB44A6BA85173B4675CA176901BE@MSMR-GH1-UEA03.corp.nsa.gov>
Date: Mon, 24 Sep 2012 17:10:19 -0400
Message-id: <002901cd9a99$070dc870$15295950$@trustcentral.com>
MIME-version: 1.0
Content-type: multipart/alternative; boundary="----=_NextPart_000_002A_01CD9A77.7FFD8800"
X-Mailer: Microsoft Outlook 14.0
Thread-index: AQJZjD1WbN3mB22kfgMwgvHZe2e5lAHYBuGkAN83IhkCSTqTvgGB4PPAAV1JojKWQxjaAA==
Content-language: en-us
Cc: john.kelsey@nist.gov, mcgrew@cisco.com, lily.chen@nist.gov
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Sep 2012 21:11:04 -0000

This is a multipart message in MIME format.

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

Kevin and all,

 

In the (EC)DSA application, unlike a DRBG considered in isolation, we need
k^-1 mod q and (H(m) + xr) mod q to effectively hide each other when
multiplied modulo q and the resultant modular product 's' and r = (g^k mod
p) mod q and y = g^x mod p and 'm' are public (as is g^k mod p through
reconstruction during signature verification). Unlike applications that
actually require a DRBG: (1) it is not a security weakness if k's repeat for
the same m's; and (2) we don't need to reconsider the case where an
adversary gains a k value through compromise (as opposed to cryptanalysis)
since this is (equally) deadly regardless of how k is generated.

 

So within this particular application (as opposed to DRBG in general) how is
the use of HMAC_DRBG in the draft document
http://tools.ietf.org/html/draft-pornin-deterministic-dsa-01 any more secure
than the direct use of HMAC(x, H(m)||Counter), where (for bias handling)
Counter increments by one, is reinitialized for each 'm', and its values are
completely determined by either FIPS PUB 186-3 B.2.1 (Per-Message Secret
Number Generation Using Extra Random Bits)or B.2.2 (Per-Message Secret
Number Generation by Testing Candidates)?

 

As "data points" regarding the security of HMAC:

 

http://cseweb.ucsd.edu/~mihir/papers/hmac-new.html , New Proofs for NMAC and
HMAC: Security without Collision-Resistance, has the following "Abstract:
HMAC was proved by Bellare, Canetti and Krawczyk (1996) to be a PRF assuming
that (1) the underlying compression function is a PRF, and (2) the iterated
hash function is weakly collision-resistant. However, recent attacks show
that assumption (2) is false for MD5 and SHA-1, removing the proof-based
support for HMAC in these cases. This paper proves that HMAC is a PRF under
the sole assumption that the compression function is a PRF. This recovers a
proof based guarantee since no known attacks compromise the pseudorandomness
of the compression function, and it also helps explain the
resistance-to-attack that HMAC has shown even when implemented with hash
functions whose (weak) collision resistance is compromised. We also show
that an even weaker-than-PRF condition on the compression function, namely
that it is a privacy-preserving MAC, suffices to establish HMAC is a secure
MAC as long as the hash function meets the very weak requirement of being
computationally almost universal, where again the value lies in the fact
that known attacks do not invalidate the assumptions made."

 

Although I realize "SHA-3" is coming, with regard to whether/which existing
SHA compression functions are PRFs, this is what I found so far:
http://www.springerlink.com/content/j7340u8162582044/ ,
Pseudorandom-Function Property of the Step-Reduced Compression Functions of
SHA-256 and SHA-512, Abstract: "Applications of an iterated hash function
such as HMAC require that the compression function of the hash function is a
pseudorandom function. However, the pseudorandom-function property of the
compression function was not analyzed up to now. This paper shows that it is
easy to distinguish between the 22 step-reduced SHA-512 compression function
with the key-via-IV strategy and a random function. This is the first result
on the pseudorandom-function property of the SHA-512 compression function
with the key-via-IV strategy. A similar distinguishing attack is applicable
to the SHA-256 compression function with the key-via-IV strategy."

 

As we know, HMAC is used in
http://csrc.nist.gov/publications/nistpubs/800-108/sp800-108.pdf, SP 800-108
Recommendation for Key Derivation Using Pseudorandom Functions,  which
indicates "For key derivation, this Recommendation approves the use of
either the keyed-hash Message Authentication Code (HMAC) specified in [8] or
the cipher-based Message Authentication Code (CMAC) specified in [7] as the
pseudorandom function." Presumably, the reason why that Special Pub does not
recommend the use of a keyed hash function directly (instead of HMAC) is
because, in particular, the length-extension property of Merkle-Damgard-
based hash functions implies such hash functions do not behave as PRFs even
if the underlying compression function behaves as a PRF.

 

Thanks,

David

 

From: Igoe, Kevin M. [mailto:kmigoe@nsa.gov] 
Sent: Monday, September 24, 2012 1:17 PM
To: 'David W. Kravitz'; cfrg@irtf.org
Cc: john.kelsey@nist.gov; mcgrew@cisco.com; pornin@bolet.org
Subject: RE: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA
Digital Signature Algorithms

 

Hi David:

 

Thanks for the clarifications.

 

I have heard reports that some applications (I think it was BGPsec related,
but I could easily be wrong),

like the "feature" that  Alice's signature will be the same each time she
signs the same message.  (Hopefully
someone more familiar with BGPsec can verify this).   

 

I believe your main concern is the double use of the signer's secret "x"
value.   As you point out, we are 

"betting the farm" that ALL of the "k"'s produced by the HMAC_DRBG are
strong.  I've not seen any reason  

to doubt the strength of HMAC_DRBG. 

 

It is  unlikely that we will ever be able to prove this double usage doesn't
introduce any security problems .  

But I agree with the author that given the extensive analysis of the
primitive's involved, the only risk is that

somehow combining the two leads to an exploitable weakness.   I agree with
you and the author that this

is double usage unlikely to lead to an exploitable  weakness,  but would
like more feedback from the list 

on this point.   

 

You're probably right that the use of full blown HMAC_DRBG is overly
conservative, but it has the virtue of 

having withstood many years of examination.  In an effort to get a design
finished in a timely fashion I

suggest that we continue with the existing design.  But I also would
strongly encourage you and your co-authors 

to put forth a more daring and an efficient alternative design, one that
will require more extensive analysis 

before it is ready for adoption. 


------=_NextPart_000_002A_01CD9A77.7FFD8800
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.apple-tab-span
	{mso-style-name:apple-tab-span;}
span.EmailStyle20
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle21
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Kevin and all,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>In the (EC)DSA application, unlike a DRBG considered in isolation, we =
need k^-1 mod q and (H(m) + xr) mod q to effectively hide each other =
when multiplied modulo q and the resultant modular product =
&#8216;s&#8217; and r =3D (g^k mod p) mod q and y =3D g^x mod p and =
&#8216;m&#8217; are public (as is g^k mod p through reconstruction =
during signature verification). Unlike applications that actually =
require a DRBG: (1) it is not a security weakness if k&#8217;s repeat =
for the same m&#8217;s; and (2) we don&#8217;t need to reconsider the =
case where an adversary gains a k value through compromise (as opposed =
to cryptanalysis) since this is (equally) deadly regardless of how k is =
generated.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>So within this particular application (as opposed to DRBG in general) =
how is the use of HMAC_DRBG in the draft document <a =
href=3D"http://tools.ietf.org/html/draft-pornin-deterministic-dsa-01">htt=
p://tools.ietf.org/html/draft-pornin-deterministic-dsa-01</a> any more =
secure than the direct use of HMAC(x, H(m)||Counter), where (for bias =
handling) Counter increments by one, is reinitialized for each =
&#8216;m&#8217;, and its values are completely determined by either FIPS =
PUB 186-3 B.2.1 (Per-Message Secret Number Generation Using Extra Random =
Bits)or B.2.2 (Per-Message Secret Number Generation by Testing =
Candidates)?<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>As &#8220;data points&#8221; regarding the security of =
HMAC:<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><a =
href=3D"http://cseweb.ucsd.edu/~mihir/papers/hmac-new.html">http://cseweb=
.ucsd.edu/~mihir/papers/hmac-new.html</a> , New Proofs for NMAC and =
HMAC: Security without Collision-Resistance, has the following =
&#8220;Abstract: HMAC was proved by Bellare, Canetti and Krawczyk (1996) =
to be a PRF assuming that (1) the underlying compression function is a =
PRF, and (2) the iterated hash function is weakly collision-resistant. =
However, recent attacks show that assumption (2) is false for MD5 and =
SHA-1, removing the proof-based support for HMAC in these cases. This =
paper proves that HMAC is a PRF under the sole assumption that the =
compression function is a PRF. This recovers a proof based guarantee =
since no known attacks compromise the pseudorandomness of the =
compression function, and it also helps explain the resistance-to-attack =
that HMAC has shown even when implemented with hash functions whose =
(weak) collision resistance is compromised. We also show that an even =
weaker-than-PRF condition on the compression function, namely that it is =
a privacy-preserving MAC, suffices to establish HMAC is a secure MAC as =
long as the hash function meets the very weak requirement of being =
computationally almost universal, where again the value lies in the fact =
that known attacks do not invalidate the assumptions =
made.&#8221;<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Although I realize &#8220;SHA-3&#8221; is coming, with regard to =
whether/which existing SHA compression functions are PRFs, this is what =
I found so far: <a =
href=3D"http://www.springerlink.com/content/j7340u8162582044/">http://www=
.springerlink.com/content/j7340u8162582044/</a> , Pseudorandom-Function =
Property of the Step-Reduced Compression Functions of SHA-256 and =
SHA-512, Abstract: &#8220;Applications of an iterated hash function such =
as HMAC require that the compression function of the hash function is a =
pseudorandom function. However, the pseudorandom-function property of =
the compression function was not analyzed up to now. This paper shows =
that it is easy to distinguish between the 22 step-reduced SHA-512 =
compression function with the key-via-IV strategy and a random function. =
This is the first result on the pseudorandom-function property of the =
SHA-512 compression function with the key-via-IV strategy. A similar =
distinguishing attack is applicable to the SHA-256 compression function =
with the key-via-IV strategy.&#8221;<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>As we know, HMAC is used in <a =
href=3D"http://csrc.nist.gov/publications/nistpubs/800-108/sp800-108.pdf"=
>http://csrc.nist.gov/publications/nistpubs/800-108/sp800-108.pdf</a>, =
<i>SP 800-108</i> <i>Recommendation for Key Derivation Using =
Pseudorandom Functions</i>, &nbsp;which indicates &#8220;For key =
derivation, this Recommendation approves the use of either the =
keyed-hash Message Authentication Code (HMAC) specified in [8] or the =
cipher-based Message Authentication Code (CMAC) specified in [7] as the =
pseudorandom function.&#8221; Presumably, the reason why that Special =
Pub does not recommend the use of a keyed hash function directly =
(instead of HMAC) is because, in particular, the length-extension =
property of Merkle-Damgard- based hash functions implies such hash =
functions do not behave as PRFs even if the underlying compression =
function behaves as a PRF.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Thanks,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>David<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Igoe, Kevin M. [mailto:kmigoe@nsa.gov] <br><b>Sent:</b> Monday, =
September 24, 2012 1:17 PM<br><b>To:</b> 'David W. Kravitz'; =
cfrg@irtf.org<br><b>Cc:</b> john.kelsey@nist.gov; mcgrew@cisco.com; =
pornin@bolet.org<br><b>Subject:</b> RE: [Cfrg] call for review: =
Deterministic Usage of DSA and ECDSA Digital Signature =
Algorithms<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Hi David:<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Thanks for the clarifications.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I have heard reports that some applications (I think it was BGPsec =
related, but I could easily be wrong),<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>like the &#8220;feature&#8221; that &nbsp;Alice&#8217;s signature =
will be the same each time she signs the same message.&nbsp; =
(Hopefully<br>someone more familiar with BGPsec can verify this). =
&nbsp;&nbsp;<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I believe your main concern is the double use of the signer&#8217;s =
secret &#8220;x&#8221; value. &nbsp;&nbsp;As you point out, we are =
<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&#8220;betting the farm&#8221; that ALL of the =
&#8220;k&#8221;&#8217;s produced by the HMAC_DRBG are strong.&nbsp; =
I&#8217;ve not seen any reason &nbsp;<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>to doubt the strength of HMAC_DRBG. <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>It is &nbsp;unlikely that we will ever be able to prove this double =
usage doesn&#8217;t introduce any security problems .&nbsp; =
<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>But I agree with the author that given the extensive analysis of the =
primitive&#8217;s involved, the only risk is =
that<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>somehow combining the two leads to an exploitable weakness. =
&nbsp;&nbsp;I agree with you and the author that =
this<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>is double usage unlikely to lead to an exploitable &nbsp;weakness, =
&nbsp;but would like more feedback from the list =
<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>on this point. &nbsp;&nbsp;<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>You&#8217;re probably right that the use of full blown HMAC_DRBG is =
overly conservative, but it has the virtue of <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>having withstood many years of examination.&nbsp; In an effort to get =
a design finished in a timely fashion I<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>suggest that we continue with the existing design.&nbsp; But I also =
would strongly encourage you and your co-authors =
<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>to put forth a more daring and an efficient alternative design, one =
that will require more extensive analysis <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>before it is ready for adoption. </span><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p></o:p></span></p></div></body></html>
------=_NextPart_000_002A_01CD9A77.7FFD8800--


From dkravitz@trustcentral.com  Mon Sep 24 21:12:23 2012
Return-Path: <dkravitz@trustcentral.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E078221F855D for <cfrg@ietfa.amsl.com>; Mon, 24 Sep 2012 21:12:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[AWL=0.701,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vi1FjJVBsF1o for <cfrg@ietfa.amsl.com>; Mon, 24 Sep 2012 21:12:22 -0700 (PDT)
Received: from vms173019pub.verizon.net (vms173019pub.verizon.net [206.46.173.19]) by ietfa.amsl.com (Postfix) with ESMTP id B564021F88DA for <cfrg@irtf.org>; Mon, 24 Sep 2012 21:12:22 -0700 (PDT)
Received: from hatemtlaptop ([unknown] [173.66.52.63]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MAW00ELD0ZJN562@vms173019.mailsrvcs.net> for cfrg@irtf.org; Mon, 24 Sep 2012 23:11:48 -0500 (CDT)
From: "David W. Kravitz" <dkravitz@trustcentral.com>
To: <cfrg@irtf.org>
Date: Tue, 25 Sep 2012 00:11:42 -0400
Message-id: <000001cd9ad3$e1a50e00$a4ef2a00$@trustcentral.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-index: Ac2aqv5622th3vZPThiSekGbAOuPyQ==
Content-language: en-us
Cc: dbrown@certicom.com, mcgrew@cisco.com
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Sep 2012 04:12:24 -0000

Hi all,

With regard to Dan Brown's  point 5 below ("Regarding Anonymity"), the
reconstruction of y = g^x mod p from g^k mod p, r, s, and H(m) is very
similar to the reconstruction of g^k mod p from y, r, s, and H(m) that
actually occurs during signature verification. But without knowledge of y,
the recovery of g^k mod p from its highly compressed form r = (g^k mod p)
mod q appears to be computationally infeasible. For ECDSA, the analogous
recovery of the integer representation of the X coordinate of kG from its
reduced form r is not analogous in difficulty (and is, in fact, trivial),
due to the small cofactor of 1,2 or 4 per the NIST Recommended Curves in
FIPS PUB 186-3, D.1. The difficulty of the DSA case was exploited in U.S.
Patent 5,832,089, D. Kravitz, P. Gemmell, E. Brickell, Off-line Compatible
Electronic Cash Method and System, issued November 3, 1998, and Y. Zheng,
Signcryption or How to Achieve Cost(Signature & Encryption) <<
Cost(Signature) + Cost(Encryption), Crypto '97
http://www.signcryption.org/publications/. Kravitz, et al., states that "
... unlike the El Gamal signature scheme, the Digital Signature Algorithm
apparently does not transmit enough information in its signatures to allow
recovery of the public key. ...the functionality of the Digital Signature
Algorithm may be efficiently extended beyond a straight forward digital
signature mechanism in order to provide (1) sender anonymity, (2)
transaction security, and (3) database security." Zheng essentially achieves
encryption for confidentiality at the same time as signing by "Alice" to
intended recipient "Bob" by replacing generator 'g' in DSA by Bob's public
key g^b mod p. Bob can recover the shared secret (g^b)^k mod p from (g^b)^a
mod p, ((g^b)^k mod p) mod q, s and H(m), but others (besides Alice) cannot
derive the shared secret. 

With regard to Uri Blumenthal's suggestion with respect to the use of a
block cipher (and Dan Brown's point 6 below), there is an issue similar to
the one raised about a "non-compliant" version of HMAC_DRBG vs. the direct
use of HMAC with Counter. Namely, can we use a simpler / more efficient
block cipher- based form that is not prone to potential misuse as an actual
DRBG, as would be a downgraded/"non-compliant" version of CTR_DRBG? The
reference for CTR_DRBG (and HMAC_DRBG) is NIST SP 800-90A.

Thanks,
David

Date: Mon, 24 Sep 2012 18:37:43 +0000
From: Dan Brown <dbrown@certicom.com>
To: "'David McGrew (mcgrew)'" <mcgrew@cisco.com>, "cfrg@irtf.org"
	<cfrg@irtf.org>
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and
	ECDSA Digital Signature Algorithms
Message-ID: <810C31990B57ED40B2062BA10D43FBF50B9A9C@XMB111CNC.rim.net>
Content-Type: text/plain; charset="us-ascii"

Dear CFRG subscribers,

0. Summary of this email (because it is rather long, sorry)

The I-D that is the topic of this thread addresses a major issue in using
(EC)DSA, and provides a good solution, but there is a simpler and more
standards compliant solution, which is described below.  This I-D also
addresses a minor issue in using (EC)DSA, and provides a good solution.
Though addressing a minor issue, it is worth an RFC, but perhaps with
greater coordination with other standards.


1. The Issues

A general issue is that ephemeral private keys (EC)DSA must be secret (and
must not even possess certain kinds of bias) and also must not repeat for
distinct messages, (even show other weaker types of interdependence).
Otherwise, known attack algorithms can be used to learn the static private
key.

A major issue, which can be viewed a special case of the general issue, is
how to handle an (EC)DSA instantiation with no live entropy source for
generating secret ephemeral keys.

A minor issue is to purposely make (EC)DSA operate in a mode that generates
a constant signature per message.   Firstly, this mode avoids certain
attacks (on repeated keys per message), but is not the only way to do so.
Secondly, this mode makes certain security proofs work.  Thirdly, perhaps
some unknown attacks exploit a small leakage per each different (but
unbiased) ephemeral key per message, in which case this mode would resists
those attacks.


2. A Simpler and More Compliant Solution to the Major Issue

A solution (simpler than in the I-D) to the major issue is to generate the
(EC)DSA static and ephemeral keys with a pre-seeded DRBG, the first being
the static private key, and the remaining being ephemeral keys.  Just to be
clear: the initial DRBG must be seeded with enough entropy.

Alternatively, and along the lines of the I-D, all ephemeral keys could be
generated using a single DRBG instance seeded with the static private key.
This is not very compliant for two reasons: (1) the static private key is
being use for another purpose, and (2) standards such as NIST Draft Special
Publication 800-90C defined an entropy as inside an RBG boundary and not
accessible to the application using it, such as the (EC)DSA implementation,
so the general RBG API does not allow the external control the entropy.

If there is some risk that this single DRBG is multi-threaded and could
possibly supply the same key to two different threads (which it should never
ever do, and this would be a major implementation error), then one could add
the message hash as an additional input the message digest.  This would help
avoid the fatal problem of a repeated ephemeral across different messages.
In other words, the (EC)DSA implementation could try to be very robust and
overcome a potential deficiency in a (faulty) DRBG implementation.

Perhaps another I-D explaining this simpler solution would help the IETF.

By the way, I agree with that using HMAC_DRBG may well be quite helpful in
getting it deployed, because current ANSI/NIST compliant implementation
should already use HMAC_DRBG (or another the SP 800-90A DRBGs).  I also
agree, that using HMAC_DRBG helps with compliance, but with the following
reservation.    I also agree that although this I-D may not comply with
various standards, it is probably a harmless violation.


3. Solving the Minor Issue

On the minor issue, which may be main motivation for the I-D, of generating
a constant signature per message, there is only a small benefit.  It would
nice if a solution, unlike the I-D, could be strictly compliant to the other
RBG standards.

I am reviewing SP 800-90C, but so far I haven't found any way to use it, in
strict compliance, to achieve an (EC)DSA with constant signature per
message.  Again, by strict compliance, I mean the (EC)DSA is not allowed to
see, touch, or influence the entropy inputs, and also the entropy inputs
cannot be replicated.  The closest I could get is as follows.  First,
instantiate an initial DRBG with real entropy.  It serves as a source of
entropy input SEI for further DRBGs, using the notion of an "RBG chain" from
NIST's Draft Special Publication 800-90C, subsequent DRBGs can be
instantiated using this SEI.  As in the I-D, one DRBG instance could be
instantiated per signature.   Note that this requires that this
per-signature DRBG be seeded using the output of the initial DRBG, which
generates some new random bits for the purposes of the seeding.  The message
digest, could be fed in as additional input (or nonce).  However, in order
to have a constant-signature-per-message, the (EC
 )DSA would have to maintain a database of message to ephemeral key values.

Perhaps, I'm interpreting 90C too strictly, and it does allow entropy-input
replication.  But I would be surprised if it did, because in general, that
could be very bad if not carefully handled.  In that case, the initial DRBG
could be called once as SEI, to obtain an initial seed, then this since can
be replicated in the sense that is used to instantiate multiple other DRBGs.


4.  Question about deterministic modes

I am also not totally confident that running (EC)DSA with no new entropy per
ephemeral key does not lose any security.  For example, it may cause the
security of (EC)DSA to rely more heavily on the properties of the hash
functions, than it would normally.  Any thoughts?


5. Regarding Anonymity

The security consideration section of the I-D mentions anonymity.  A message
and its ECDSA signature (r,s) can be used to reconstruct the public key (or
a small set of possible candidates for the keys), and should probably not be
regarded as anonymous.  (Doing so for DSA seems to be hard problem.)  So,
the security consideration could perhaps be clarified, to avoid giving the
wrong impression.  (At this point, I don't have a suggested re-wording, but
I could probably be


6. Regarding some of David Kravitz's Comments

My reservations about compliance are also related to David Kravitz's
concern, which I agree with. The danger may be that this non-compliant way
of using the DRBG in this I-D is mistakenly ported from (EC)DSA over to some
other applications, with some potentially bad consequences.  David Kravitz's
counter proposal is also not compliant with the current (EC)DSA standards,
which that the keys be generated using an approved RNG.


7. Modifying other (EC)DSA standards

So, if a deterministic mode of (EC)DSA is really desired, and deemed secure,
should the (EC)DSA standards be amended to loosen this requirement on the
key generation, such as in the manner of the I-D, or as in Kravitz's
alternative solution?

I can take this question to ANSI X9F1 working group for the next revision of
ANS X9.62 (ECDSA), which I am currently editing.

Best regards,

Daniel Brown

Research In Motion Limited
------------------------------------------------

I-D Reference: http://tools.ietf.org/html/draft-pornin-deterministic-dsa-01 


From prvs=661571e639=dbrown@certicom.com  Tue Sep 25 08:24:08 2012
Return-Path: <prvs=661571e639=dbrown@certicom.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C327C21F845A for <cfrg@ietfa.amsl.com>; Tue, 25 Sep 2012 08:24:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.182
X-Spam-Level: 
X-Spam-Status: No, score=-2.182 tagged_above=-999 required=5 tests=[AWL=-0.600, BAYES_00=-2.599, EXTRA_MPART_TYPE=1, HTML_MESSAGE=0.001, J_CHICKENPOX_41=0.6, J_CHICKENPOX_42=0.6, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_MED=-4, SARE_GIF_ATTACH=1.42]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q7Qv0Lgk7Jqq for <cfrg@ietfa.amsl.com>; Tue, 25 Sep 2012 08:24:02 -0700 (PDT)
Received: from mhs061cnc.rim.net (mhs061cnc.rim.net [208.65.73.35]) by ietfa.amsl.com (Postfix) with ESMTP id 744DA21F853D for <cfrg@irtf.org>; Tue, 25 Sep 2012 08:24:02 -0700 (PDT)
X-AuditID: 0a412830-b7fab6d000006b80-09-5061cc91f135
Received: from XCT105CNC.rim.net (xct105cnc.rim.net [10.65.161.205]) (using TLS with cipher AES128-SHA (AES128-SHA/128 bits)) (Client did not present a certificate) by mhs061cnc.rim.net (SBG) with SMTP id F9.5F.27520.19CC1605; Tue, 25 Sep 2012 15:24:01 +0000 (GMT)
Received: from XCT111CNC.rim.net (10.65.161.211) by XCT105CNC.rim.net (10.65.161.205) with Microsoft SMTP Server (TLS) id 14.2.298.4; Tue, 25 Sep 2012 11:24:00 -0400
Received: from XMB111CNC.rim.net ([fe80::fcd6:cc6c:9e0b:25bc]) by XCT111CNC.rim.net ([::1]) with mapi id 14.02.0318.001; Tue, 25 Sep 2012 11:24:00 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'David W. Kravitz'" <dkravitz@trustcentral.com>, "'Igoe, Kevin M.'" <kmigoe@nsa.gov>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
Thread-Index: AQJZjD1WbN3mB22kfgMwgvHZe2e5lAHYBuGklmuTzgCAB1BZIIAAWUCA///I9JCAAJYCgIAA2V8Q
Date: Tue, 25 Sep 2012 15:23:59 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF50BA17E@XMB111CNC.rim.net>
References: <CC7768A9.EDA64%mcgrew@cisco.com> <9745FE04-5A2C-4D38-9D34-AFF3A2EC54C6@callas.org> <002801cd96b7$b7c38c80$274aa580$@trustcentral.com> <3C4AAD4B5304AB44A6BA85173B4675CA17687160@MSMR-GH1-UEA03.corp.nsa.gov> <000601cd9a69$897d3460$9c779d20$@trustcentral.com> <3C4AAD4B5304AB44A6BA85173B4675CA176901BE@MSMR-GH1-UEA03.corp.nsa.gov> <002901cd9a99$070dc870$15295950$@trustcentral.com>
In-Reply-To: <002901cd9a99$070dc870$15295950$@trustcentral.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.248]
Content-Type: multipart/related; boundary="_004_810C31990B57ED40B2062BA10D43FBF50BA17EXMB111CNCrimnet_";  type="multipart/alternative"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHJsWRmVeSWpSXmKPExsXC5bjwrO7EM4kBBlPOKFp0/zjIZNH4aTWr xcZrkxgtJpx6zWpx/99ZVourq/6wO7B5TPm9kdVj8sbDbB7XTv5l9ejf9ZLV49e9fuYA1qgG RpukxJKy4Mz0PH07m8S8vPySxJJUhZTU4mRbJZ/U9MQchYCizLLE5EoFl8zi5JzEzNzUIiWF zBRbJRMlhYKcxOTU3NS8ElulxIKC1LwUJTsuBQxgA1SWmaeQmpecn5KZl26r5Bnsr2thYWqp a6hkp5vQyZMxefsLloLGZUwVi5/dYG9g/N/E1MXIySEhYCKxdMVeKFtM4sK99WxdjFwcQgJ9 TBIvXxxhhXBWMkosnHsDKjOHUeL/3cesIC1sAqoS94+eYwaxRQRqJPpWTGQHKWIWaGWUWH1g F9hcYYEMiaVf3rNDFGVKfJ/6lw3CjpL4c/cRmM0CNGj7iaVAQzk4eAXcJGa2JkIsm8Qssfzr d7BlnAL2Etsu/wOrZxSQldh99jrYfGYBcYlbT+ZD/SAi8fDiaTYIW1Ti5eN/rBC2osT8uZfY II7rZJR4+mAL2EG8AoISJ2c+YQGxhQQUJK5c38cygVF8FpK5s5D1zELSA1GUK7F32xp2CFtH YsHuT2wQtrbEsoWvmWHsMwceM2GK60hsvrQTao6iRFvnbKhlSxkljj+8xwZTNPHvXFaYoind D9kXMPKuYhTMzSg2MDNMzkvWK8rM1ctLLdnECE62GgY7GN+/tzjEKMDBqMTD+21/YoAQa2JZ cWXuIUYJDmYlEV7ZY0Ah3pTEyqrUovz4otKc1OJDjPHASJjILMWdnA/MBHkl8cYGBuRwlMR5 54pGBwgJpAMTeXZqakFqEcwGJg5OkAu4pESKgek4tSixtCQjHpQ14ouBeUOqgbFEs/rd+kMl r5RUyzfttSp87M/0110j6rXMh+T4yW2lRqs4i/dLngmbKnklOJg7idXr9R6BhWdXJfxbxLwk cs7Z29/Oz/7qeXHVQyu/HaLvnhvMCm3N2zPBe+F9s1e5+ldUTl03KJD0msA//ez1N09PbBDa khvf/7S75evjB54TOEJjpjDxNQoqsRRnJBpqMRcVJwIA+QGoYREEAAA=
Cc: "john.kelsey@nist.gov" <john.kelsey@nist.gov>, "mcgrew@cisco.com" <mcgrew@cisco.com>, "lily.chen@nist.gov" <lily.chen@nist.gov>
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Sep 2012 15:24:08 -0000

--_004_810C31990B57ED40B2062BA10D43FBF50BA17EXMB111CNCrimnet_
Content-Type: multipart/alternative;
	boundary="_000_810C31990B57ED40B2062BA10D43FBF50BA17EXMB111CNCrimnet_"

--_000_810C31990B57ED40B2062BA10D43FBF50BA17EXMB111CNCrimnet_
Content-Type: text/plain; charset="us-ascii"
content-transfer-encoding: quoted-printable

Hi David and CFRG subscribers,

Regarding David's question comparing the security of the HMAC_DRBG method fr=
om the I-D to David's simpler HMAC-only proposal, I don't think anybody is s=
aying the HMAC_DRBG method is more secure (though Kevin Igoe mentions that a=
nalysis already done on HMAC_DRBG).  My intuition would be that they are abo=
ut the same security, for what little my intuition is worth.

To further answer David's question, my understanding that one of the intuiti=
ve goals of HMAC_DRBG design, which I'm not sure is applicable here, was (a)=
 to have a wider pipe than just HMAC and (b) that as long as HMAC_DRBG is fe=
d enough input entropy the output entropy of its initial segment output is n=
ot limited by the security level of HMAC.  (The latter is the "full entropy"=
 notion in 90C).  I'm not sure that I quite understand that goal exactly, or=
 that HMAC_DRBG meets it, but I would hazard a bet that HMAC_DRBG could be s=
ecure on an assumption slightly milder than HMAC being PRF, which might be t=
he only advantage of the HMAC_DRBG over the simpler HMAC-only.  Put another=
 way, one might be able to devise a pathological condition on the hash funct=
ion such that HMAC is not PRF, but HMAC_DRBG is still secure.

The I-D  and I have raised the issue of compliance. (I should clarify myself=
 by saying that I agree the I-D probably complies with 90A. But I think it w=
ould be nice to further comply 90C and some of the boundary concepts hinted=
 at in ANSI X9.62-2005 but unfortunately that may not be possible).  That sa=
id, given that David's solution is also secure, and more efficient, then may=
be it deserves to be standardized (that was my point 7).  David's mention of=
 the key derivation function standard suggests that it could applicable here=
, as an alternative well-studied method.

Can somebody please articulate the benefit of the feature of having the same=
 signature per message?  Perhaps the I-D itself should elaborate on this poi=
nt. Is it just that some protocol picked some signature scheme with this det=
erministic feature, and then the protocol decided to rely on this feature, e=
.g. by using the signature as an stable index for the message?

Curiously, a randomized ECDSA signature (r,s) can also almost provide stable=
 index for the message m, by computing a message-index of h(m)G =3D sR - rQ,=
 where R is one a just a few elliptic curve point which can be derived from=
 r (this is similar to how the public key can almost be recovered).

Best regards,

Daniel Brown

Research In Motion Limited




[cid:image001.gif@01CD9B06.7DABC2D0]



From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf Of Davi=
d W. Kravitz
Sent: Monday, September 24, 2012 5:10 PM
To: 'Igoe, Kevin M.'; cfrg@irtf.org
Cc: john.kelsey@nist.gov; mcgrew@cisco.com; lily.chen@nist.gov
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Di=
gital Signature Algorithms

Kevin and all,

In the (EC)DSA application, unlike a DRBG considered in isolation, we need k=
^-1 mod q and (H(m) + xr) mod q to effectively hide each other when multipli=
ed modulo q and the resultant modular product 's' and r =3D (g^k mod p) mod=
 q and y =3D g^x mod p and 'm' are public (as is g^k mod p through reconstru=
ction during signature verification). Unlike applications that actually requ=
ire a DRBG: (1) it is not a security weakness if k's repeat for the same m's=
; and (2) we don't need to reconsider the case where an adversary gains a k=
 value through compromise (as opposed to cryptanalysis) since this is (equal=
ly) deadly regardless of how k is generated.

So within this particular application (as opposed to DRBG in general) how is=
 the use of HMAC_DRBG in the draft document http://tools.ietf.org/html/draft=
-pornin-deterministic-dsa-01 any more secure than the direct use of HMAC(x,=
 H(m)||Counter), where (for bias handling) Counter increments by one, is rei=
nitialized for each 'm', and its values are completely determined by either=
 FIPS PUB 186-3 B.2.1 (Per-Message Secret Number Generation Using Extra Rand=
om Bits)or B.2.2 (Per-Message Secret Number Generation by Testing Candidates=
)?

As "data points" regarding the security of HMAC:

http://cseweb.ucsd.edu/~mihir/papers/hmac-new.html , New Proofs for NMAC and=
 HMAC: Security without Collision-Resistance, has the following "Abstract: H=
MAC was proved by Bellare, Canetti and Krawczyk (1996) to be a PRF assuming=
 that (1) the underlying compression function is a PRF, and (2) the iterated=
 hash function is weakly collision-resistant. However, recent attacks show t=
hat assumption (2) is false for MD5 and SHA-1, removing the proof-based supp=
ort for HMAC in these cases. This paper proves that HMAC is a PRF under the=
 sole assumption that the compression function is a PRF. This recovers a pro=
of based guarantee since no known attacks compromise the pseudorandomness of=
 the compression function, and it also helps explain the resistance-to-attac=
k that HMAC has shown even when implemented with hash functions whose (weak)=
 collision resistance is compromised. We also show that an even weaker-than-=
PRF condition on the compression function, namely that it is a privacy-prese=
rving MAC, suffices to establish HMAC is a secure MAC as long as the hash fu=
nction meets the very weak requirement of being computationally almost unive=
rsal, where again the value lies in the fact that known attacks do not inval=
idate the assumptions made."

Although I realize "SHA-3" is coming, with regard to whether/which existing=
 SHA compression functions are PRFs, this is what I found so far: http://www=
.springerlink.com/content/j7340u8162582044/ , Pseudorandom-Function Property=
 of the Step-Reduced Compression Functions of SHA-256 and SHA-512, Abstract:=
 "Applications of an iterated hash function such as HMAC require that the co=
mpression function of the hash function is a pseudorandom function. However,=
 the pseudorandom-function property of the compression function was not anal=
yzed up to now. This paper shows that it is easy to distinguish between the=
 22 step-reduced SHA-512 compression function with the key-via-IV strategy a=
nd a random function. This is the first result on the pseudorandom-function=
 property of the SHA-512 compression function with the key-via-IV strategy.=
 A similar distinguishing attack is applicable to the SHA-256 compression fu=
nction with the key-via-IV strategy."

As we know, HMAC is used in http://csrc.nist.gov/publications/nistpubs/800-1=
08/sp800-108.pdf, SP 800-108 Recommendation for Key Derivation Using Pseudor=
andom Functions,  which indicates "For key derivation, this Recommendation a=
pproves the use of either the keyed-hash Message Authentication Code (HMAC)=
 specified in [8] or the cipher-based Message Authentication Code (CMAC) spe=
cified in [7] as the pseudorandom function." Presumably, the reason why that=
 Special Pub does not recommend the use of a keyed hash function directly (i=
nstead of HMAC) is because, in particular, the length-extension property of=
 Merkle-Damgard- based hash functions implies such hash functions do not beh=
ave as PRFs even if the underlying compression function behaves as a PRF.

Thanks,
David

From: Igoe, Kevin M. [mailto:kmigoe@nsa.gov]
Sent: Monday, September 24, 2012 1:17 PM
To: 'David W. Kravitz'; cfrg@irtf.org
Cc: john.kelsey@nist.gov; mcgrew@cisco.com; pornin@bolet.org
Subject: RE: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Di=
gital Signature Algorithms

Hi David:

Thanks for the clarifications.

I have heard reports that some applications (I think it was BGPsec related,=
 but I could easily be wrong),
like the "feature" that  Alice's signature will be the same each time she si=
gns the same message.  (Hopefully
someone more familiar with BGPsec can verify this).

I believe your main concern is the double use of the signer's secret "x" val=
ue.   As you point out, we are
"betting the farm" that ALL of the "k"'s produced by the HMAC_DRBG are stron=
g.  I've not seen any reason
to doubt the strength of HMAC_DRBG.

It is  unlikely that we will ever be able to prove this double usage doesn't=
 introduce any security problems .
But I agree with the author that given the extensive analysis of the primiti=
ve's involved, the only risk is that
somehow combining the two leads to an exploitable weakness.   I agree with y=
ou and the author that this
is double usage unlikely to lead to an exploitable  weakness,  but would lik=
e more feedback from the list
on this point.

You're probably right that the use of full blown HMAC_DRBG is overly conserv=
ative, but it has the virtue of
having withstood many years of examination.  In an effort to get a design fi=
nished in a timely fashion I
suggest that we continue with the existing design.  But I also would strongl=
y encourage you and your co-authors
to put forth a more daring and an efficient alternative design, one that wil=
l require more extensive analysis
before it is ready for adoption.

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential infor=
mation, privileged material (including material protected by the solicitor-c=
lient or other applicable privileges), or constitute non-public information.=
 Any use of this information by anyone other than the intended recipient is=
 prohibited. If you have received this transmission in error, please immedia=
tely reply to the sender and delete this information from your system. Use,=
 dissemination, distribution, or reproduction of this transmission by uninte=
nded recipients is not authorized and may be unlawful.

--_000_810C31990B57ED40B2062BA10D43FBF50BA17EXMB111CNCrimnet_
Content-Type: text/html; charset="us-ascii"
content-transfer-encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micro=
soft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" xm=
lns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http://w=
ww.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.apple-tab-span
	{mso-style-name:apple-tab-span;}
span.EmailStyle20
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle21
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle25
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi David and CFRG subscribe=
rs,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Regarding David&#8217;s que=
stion comparing the security of the HMAC_DRBG method from the I-D to David&#=
8217;s simpler HMAC-only proposal, I don&#8217;t think anybody is saying
 the HMAC_DRBG method is more secure (though Kevin Igoe mentions that analys=
is already done on HMAC_DRBG).&nbsp; My intuition would be that they are abo=
ut the same security, for what little my intuition is worth.<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">To further answer David&#82=
17;s question, my understanding that one of the intuitive goals of HMAC_DRBG=
 design, which I&#8217;m not sure is applicable here, was (a) to
 have a wider pipe than just HMAC and (b) that as long as HMAC_DRBG is fed e=
nough input entropy the output entropy of its initial segment output is not=
 limited by the security level of HMAC.&nbsp; (The latter is the &#8220;full=
 entropy&#8221; notion in 90C).&nbsp; I&#8217;m not sure that
 I quite understand that goal exactly, or that HMAC_DRBG meets it, but I wou=
ld hazard a bet that HMAC_DRBG could be secure on an assumption slightly mil=
der than HMAC being PRF, which might be the only advantage of the HMAC_DRBG=
 over the simpler HMAC-only.&nbsp;
 Put another way, one might be able to devise a pathological condition on th=
e hash function such that HMAC is not PRF, but HMAC_DRBG is still secure.<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">The I-D&nbsp; and I have ra=
ised the issue of compliance. (I should clarify myself by saying that I agre=
e the I-D probably complies with 90A. But I think it would
 be nice to further comply 90C and some of the boundary concepts hinted at i=
n ANSI X9.62-2005 but unfortunately that may not be possible).&nbsp; That sa=
id, given that David&#8217;s solution is also secure, and more efficient, th=
en maybe it deserves to be standardized
 (that was my point 7).&nbsp; David&#8217;s mention of the key derivation fu=
nction standard suggests that it could applicable here, as an alternative we=
ll-studied method.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Can somebody please articul=
ate the benefit of the feature of having the same signature per message? &nb=
sp;Perhaps the I-D itself should elaborate on this point.
 Is it just that some protocol picked some signature scheme with this determ=
inistic feature, and then the protocol decided to rely on this feature, e.g.=
 by using the signature as an stable index for the message?&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Curiously, a randomized ECD=
SA signature (r,s) can also almost provide stable index for the message m, b=
y computing a message-index of h(m)G =3D sR &#8211; rQ, where
 R is one a just a few elliptic curve point which can be derived from r (thi=
s is similar to how the public key can almost be recovered).&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Best regards,<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<div>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" width=3D"600" style=3D"width:5.0in">
<tbody>
<tr>
<td style=3D"padding:0in 0in 2.4pt 0in">
<p class=3D"MsoNormal" style=3D"line-height:9.0pt"><span style=3D"font-size:=
7.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">Dani=
el Brown<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style=3D"padding:0in 0in 0in 0in">
<p class=3D"MsoNormal" style=3D"margin-top:3.0pt"><span style=3D"font-size:7=
.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0073BC">Res=
earch In Motion Limited</span><span style=3D"font-size:7.0pt;font-family:&qu=
ot;Arial&quot;,&quot;sans-serif&quot;;color:black">
<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D;display:none"><o:p>&nbsp=
;</o:p></span></p>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" width=3D"600" style=3D"width:5.0in">
<tbody>
<tr>
<td style=3D"padding:0in 0in 0in 0in"></td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D;display:none"><o:p>&nbsp=
;</o:p></span></p>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"3" cellpadding=
=3D"0" width=3D"600" style=3D"width:5.0in">
<tbody>
<tr>
<td style=3D"padding:7.8pt 0in 0in 0in">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><img width=3D"141" heig=
ht=3D"34" id=3D"_x0000_i1025" src=3D"cid:image001.gif@01CD9B06.7DABC2D0"></s=
pan><span style=3D"color:#1F497D"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width=3D"600" style=3D"width:5.0in;padding:7.8pt 0in 0in 0in"></td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4=
.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0=
in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot;=
Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-siz=
e:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> cfrg-bounce=
s@irtf.org [mailto:cfrg-bounces@irtf.org]
<b>On Behalf Of </b>David W. Kravitz<br>
<b>Sent:</b> Monday, September 24, 2012 5:10 PM<br>
<b>To:</b> 'Igoe, Kevin M.'; cfrg@irtf.org<br>
<b>Cc:</b> john.kelsey@nist.gov; mcgrew@cisco.com; lily.chen@nist.gov<br>
<b>Subject:</b> Re: [Cfrg] call for review: Deterministic Usage of DSA and E=
CDSA Digital Signature Algorithms<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Kevin and all,<o:p></o:p></=
span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">In the (EC)DSA application,=
 unlike a DRBG considered in isolation, we need k^-1 mod q and (H(m) &#43; x=
r) mod q to effectively hide each other when multiplied modulo
 q and the resultant modular product &#8216;s&#8217; and r =3D (g^k mod p) m=
od q and y =3D g^x mod p and &#8216;m&#8217; are public (as is g^k mod p thr=
ough reconstruction during signature verification). Unlike applications that=
 actually require a DRBG: (1) it is not a security weakness
 if k&#8217;s repeat for the same m&#8217;s; and (2) we don&#8217;t need to=
 reconsider the case where an adversary gains a k value through compromise (=
as opposed to cryptanalysis) since this is (equally) deadly regardless of ho=
w k is generated.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">So within this particular a=
pplication (as opposed to DRBG in general) how is the use of HMAC_DRBG in th=
e draft document
<a href=3D"http://tools.ietf.org/html/draft-pornin-deterministic-dsa-01">htt=
p://tools.ietf.org/html/draft-pornin-deterministic-dsa-01</a> any more secur=
e than the direct use of HMAC(x, H(m)||Counter), where (for bias handling) C=
ounter increments by one, is reinitialized
 for each &#8216;m&#8217;, and its values are completely determined by eithe=
r FIPS PUB 186-3 B.2.1 (Per-Message Secret Number Generation Using Extra Ran=
dom Bits)or B.2.2 (Per-Message Secret Number Generation by Testing Candidate=
s)?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">As &#8220;data points&#8221=
; regarding the security of HMAC:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><a href=3D"http://cseweb.uc=
sd.edu/~mihir/papers/hmac-new.html">http://cseweb.ucsd.edu/~mihir/papers/hma=
c-new.html</a> , New Proofs for NMAC and HMAC: Security
 without Collision-Resistance, has the following &#8220;Abstract: HMAC was p=
roved by Bellare, Canetti and Krawczyk (1996) to be a PRF assuming that (1)=
 the underlying compression function is a PRF, and (2) the iterated hash fun=
ction is weakly collision-resistant.
 However, recent attacks show that assumption (2) is false for MD5 and SHA-1=
, removing the proof-based support for HMAC in these cases. This paper prove=
s that HMAC is a PRF under the sole assumption that the compression function=
 is a PRF. This recovers a proof
 based guarantee since no known attacks compromise the pseudorandomness of t=
he compression function, and it also helps explain the resistance-to-attack=
 that HMAC has shown even when implemented with hash functions whose (weak)=
 collision resistance is compromised.
 We also show that an even weaker-than-PRF condition on the compression func=
tion, namely that it is a privacy-preserving MAC, suffices to establish HMAC=
 is a secure MAC as long as the hash function meets the very weak requiremen=
t of being computationally almost
 universal, where again the value lies in the fact that known attacks do not=
 invalidate the assumptions made.&#8221;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Although I realize &#8220;S=
HA-3&#8221; is coming, with regard to whether/which existing SHA compression=
 functions are PRFs, this is what I found so far:
<a href=3D"http://www.springerlink.com/content/j7340u8162582044/">http://www=
.springerlink.com/content/j7340u8162582044/</a> , Pseudorandom-Function Prop=
erty of the Step-Reduced Compression Functions of SHA-256 and SHA-512, Abstr=
act: &#8220;Applications of an iterated
 hash function such as HMAC require that the compression function of the has=
h function is a pseudorandom function. However, the pseudorandom-function pr=
operty of the compression function was not analyzed up to now. This paper sh=
ows that it is easy to distinguish
 between the 22 step-reduced SHA-512 compression function with the key-via-I=
V strategy and a random function. This is the first result on the pseudorand=
om-function property of the SHA-512 compression function with the key-via-IV=
 strategy. A similar distinguishing
 attack is applicable to the SHA-256 compression function with the key-via-I=
V strategy.&#8221;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">As we know, HMAC is used in
<a href=3D"http://csrc.nist.gov/publications/nistpubs/800-108/sp800-108.pdf"=
>http://csrc.nist.gov/publications/nistpubs/800-108/sp800-108.pdf</a>,
<i>SP 800-108</i> <i>Recommendation for Key Derivation Using Pseudorandom Fu=
nctions</i>, &nbsp;which indicates &#8220;For key derivation, this Recommend=
ation approves the use of either the keyed-hash Message Authentication Code=
 (HMAC) specified in [8] or the cipher-based
 Message Authentication Code (CMAC) specified in [7] as the pseudorandom fun=
ction.&#8221; Presumably, the reason why that Special Pub does not recommend=
 the use of a keyed hash function directly (instead of HMAC) is because, in=
 particular, the length-extension property
 of Merkle-Damgard- based hash functions implies such hash functions do not=
 behave as PRFs even if the underlying compression function behaves as a PRF=
.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks,<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">David<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0=
in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot;=
Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-siz=
e:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Igoe, Kevin=
 M. [mailto:kmigoe@nsa.gov]
<br>
<b>Sent:</b> Monday, September 24, 2012 1:17 PM<br>
<b>To:</b> 'David W. Kravitz'; cfrg@irtf.org<br>
<b>Cc:</b> john.kelsey@nist.gov; mcgrew@cisco.com; pornin@bolet.org<br>
<b>Subject:</b> RE: [Cfrg] call for review: Deterministic Usage of DSA and E=
CDSA Digital Signature Algorithms<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi David:<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks for the clarificatio=
ns.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I have heard reports that s=
ome applications (I think it was BGPsec related, but I could easily be wrong=
),<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">like the &#8220;feature&#82=
21; that &nbsp;Alice&#8217;s signature will be the same each time she signs=
 the same message.&nbsp; (Hopefully<br>
someone more familiar with BGPsec can verify this). &nbsp;&nbsp;<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I believe your main concern=
 is the double use of the signer&#8217;s secret &#8220;x&#8221; value. &nbsp=
;&nbsp;As you point out, we are
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&#8220;betting the farm&#82=
21; that ALL of the &#8220;k&#8221;&#8217;s produced by the HMAC_DRBG are st=
rong.&nbsp; I&#8217;ve not seen any reason &nbsp;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">to doubt the strength of HM=
AC_DRBG.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">It is &nbsp;unlikely that w=
e will ever be able to prove this double usage doesn&#8217;t introduce any s=
ecurity problems .&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">But I agree with the author=
 that given the extensive analysis of the primitive&#8217;s involved, the on=
ly risk is that<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">somehow combining the two l=
eads to an exploitable weakness. &nbsp;&nbsp;I agree with you and the author=
 that this<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">is double usage unlikely to=
 lead to an exploitable &nbsp;weakness, &nbsp;but would like more feedback f=
rom the list
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">on this point. &nbsp;&nbsp;=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">You&#8217;re probably right=
 that the use of full blown HMAC_DRBG is overly conservative, but it has the=
 virtue of
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">having withstood many years=
 of examination.&nbsp; In an effort to get a design finished in a timely fas=
hion I<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">suggest that we continue wi=
th the existing design.&nbsp; But I also would strongly encourage you and yo=
ur co-authors
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">to put forth a more daring=
 and an efficient alternative design, one that will require more extensive a=
nalysis
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">before it is ready for adop=
tion.
<o:p></o:p></span></p>
</div>
</div>
</div>
--------------------------------------------------------------------- <br>
This transmission (including any attachments) may contain confidential infor=
mation, privileged material (including material protected by the solicitor-c=
lient or other applicable privileges), or constitute non-public information.=
 Any use of this information by anyone other than the intended recipient is=
 prohibited. If you have received this transmission in error, please immedia=
tely reply to the sender and delete this information from your system. Use,=
 dissemination, distribution, or reproduction of this transmission by uninte=
nded recipients is not authorized and may be unlawful.
</body>
</html>

--_000_810C31990B57ED40B2062BA10D43FBF50BA17EXMB111CNCrimnet_--

--_004_810C31990B57ED40B2062BA10D43FBF50BA17EXMB111CNCrimnet_
Content-Type: image/gif; name="image001.gif"
Content-Description: image001.gif
Content-Disposition: inline; filename="image001.gif"; size=2577;
	creation-date="Tue, 25 Sep 2012 14:14:04 GMT";
	modification-date="Tue, 25 Sep 2012 14:14:04 GMT"
Content-ID: <image001.gif@01CD9B06.7DABC2D0>
Content-Transfer-Encoding: base64

R0lGODlhjQAiANUAAF5bXMrJydjX1zIvMF5bW+Xl5fLx8UE9PsvKyvPy8np3eJSTkzIvL5WTlMvK
ycrKybCvr4eFhk9MTV5cXJSSk6KhoEI+PoeGhmtqaXp4eOTk5KOhoa+urmxqab68vUE9PZWTk727
vHp3d2xqauTl5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ijggGWAFPRmAc
IYRghXfrQQmQKLW65QAO5wijGGCnA/qJ8Yz5CM8J0MjGLXxgEYxroxynwAEIwRRwjnh8ggCQIbU8
+vGPgAykIPMYBAA7

--_004_810C31990B57ED40B2062BA10D43FBF50BA17EXMB111CNCrimnet_--

From dkravitz@trustcentral.com  Tue Sep 25 09:46:44 2012
Return-Path: <dkravitz@trustcentral.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F26AC21F8818 for <cfrg@ietfa.amsl.com>; Tue, 25 Sep 2012 09:46:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.328
X-Spam-Level: 
X-Spam-Status: No, score=-1.328 tagged_above=-999 required=5 tests=[AWL=-0.150, BAYES_00=-2.599, HTML_MESSAGE=0.001, SARE_GIF_ATTACH=1.42]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y+fH-DUNpL0H for <cfrg@ietfa.amsl.com>; Tue, 25 Sep 2012 09:46:41 -0700 (PDT)
Received: from vms173019pub.verizon.net (vms173019pub.verizon.net [206.46.173.19]) by ietfa.amsl.com (Postfix) with ESMTP id 15BC821F8844 for <cfrg@irtf.org>; Tue, 25 Sep 2012 09:46:41 -0700 (PDT)
Received: from hatemtlaptop ([unknown] [173.66.52.63]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MAW00K99ZWSK2J1@vms173019.mailsrvcs.net> for cfrg@irtf.org; Tue, 25 Sep 2012 11:46:06 -0500 (CDT)
From: "David W. Kravitz" <dkravitz@trustcentral.com>
To: "'Dan Brown'" <dbrown@certicom.com>, "'Igoe, Kevin M.'" <kmigoe@nsa.gov>,  <cfrg@irtf.org>
References: <CC7768A9.EDA64%mcgrew@cisco.com> <9745FE04-5A2C-4D38-9D34-AFF3A2EC54C6@callas.org> <002801cd96b7$b7c38c80$274aa580$@trustcentral.com> <3C4AAD4B5304AB44A6BA85173B4675CA17687160@MSMR-GH1-UEA03.corp.nsa.gov> <000601cd9a69$897d3460$9c779d20$@trustcentral.com> <3C4AAD4B5304AB44A6BA85173B4675CA176901BE@MSMR-GH1-UEA03.corp.nsa.gov> <002901cd9a99$070dc870$15295950$@trustcentral.com> <810C31990B57ED40B2062BA10D43FBF50BA17E@XMB111CNC.rim.net>
In-reply-to: <810C31990B57ED40B2062BA10D43FBF50BA17E@XMB111CNC.rim.net>
Date: Tue, 25 Sep 2012 12:46:03 -0400
Message-id: <001801cd9b3d$40f6aa30$c2e3fe90$@trustcentral.com>
MIME-version: 1.0
Content-type: multipart/related; boundary="----=_NextPart_000_0019_01CD9B1B.B9E81770"
X-Mailer: Microsoft Outlook 14.0
Thread-index: AQJZjD1WbN3mB22kfgMwgvHZe2e5lAHYBuGkAN83IhkCSTqTvgGB4PPAAV1JojICFAfetQHTGd8mliUm+KA=
Content-language: en-us
Cc: john.kelsey@nist.gov, mcgrew@cisco.com, lily.chen@nist.gov
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Sep 2012 16:46:44 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0019_01CD9B1B.B9E81770
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_001A_01CD9B1B.B9E81770"


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

Hi Dan and all,

 

I can actually see a potential non- anonymity-related downside of the
feature of having the same signature per message (which unlike the anonymity
issue applies equally to DSA and ECDSA): If a system is configured so as to
reject duplicate signatures as potential fraudulent replays, legitimate
duplicates could also be rejected. Such a system configuration might be more
than hypothetical, in that (as far as I know) an adversary without knowledge
of the private key 'x' cannot feasibly generate additional distinct
DSA/ECDSA signatures that are not in the set of signatures for that message
that the adversary already has available.

 

For reference, this is what the current draft of the I-D
http://tools.ietf.org/html/draft-pornin-deterministic-dsa-01 says on this
specific topic:

   "Deterministic signature schemes may also help in

   other situations, e.g. to avoid spurious duplicates, when the same

   data element is signed several times with the same key: with a

   deterministic signature scheme, the same signature is generated every

   time, making duplicate detection much easier. Conversely, lack of
randomization may have adverse effects in some

   advanced protocols, e.g. related to anonymity in some voting schemes."

 

Thanks,
David

 

From: Dan Brown [mailto:dbrown@certicom.com] 
Sent: Tuesday, September 25, 2012 11:24 AM
To: 'David W. Kravitz'; 'Igoe, Kevin M.'; cfrg@irtf.org
Cc: john.kelsey@nist.gov; mcgrew@cisco.com; lily.chen@nist.gov
Subject: RE: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA
Digital Signature Algorithms

 

Hi David and CFRG subscribers,

 

Regarding David's question comparing the security of the HMAC_DRBG method
from the I-D to David's simpler HMAC-only proposal, I don't think anybody is
saying the HMAC_DRBG method is more secure (though Kevin Igoe mentions that
analysis already done on HMAC_DRBG).  My intuition would be that they are
about the same security, for what little my intuition is worth.

 

To further answer David's question, my understanding that one of the
intuitive goals of HMAC_DRBG design, which I'm not sure is applicable here,
was (a) to have a wider pipe than just HMAC and (b) that as long as
HMAC_DRBG is fed enough input entropy the output entropy of its initial
segment output is not limited by the security level of HMAC.  (The latter is
the "full entropy" notion in 90C).  I'm not sure that I quite understand
that goal exactly, or that HMAC_DRBG meets it, but I would hazard a bet that
HMAC_DRBG could be secure on an assumption slightly milder than HMAC being
PRF, which might be the only advantage of the HMAC_DRBG over the simpler
HMAC-only.  Put another way, one might be able to devise a pathological
condition on the hash function such that HMAC is not PRF, but HMAC_DRBG is
still secure.

 

The I-D  and I have raised the issue of compliance. (I should clarify myself
by saying that I agree the I-D probably complies with 90A. But I think it
would be nice to further comply 90C and some of the boundary concepts hinted
at in ANSI X9.62-2005 but unfortunately that may not be possible).  That
said, given that David's solution is also secure, and more efficient, then
maybe it deserves to be standardized (that was my point 7).  David's mention
of the key derivation function standard suggests that it could applicable
here, as an alternative well-studied method.

 

Can somebody please articulate the benefit of the feature of having the same
signature per message?  Perhaps the I-D itself should elaborate on this
point. Is it just that some protocol picked some signature scheme with this
deterministic feature, and then the protocol decided to rely on this
feature, e.g. by using the signature as an stable index for the message?  

 

Curiously, a randomized ECDSA signature (r,s) can also almost provide stable
index for the message m, by computing a message-index of h(m)G = sR - rQ,
where R is one a just a few elliptic curve point which can be derived from r
(this is similar to how the public key can almost be recovered).  

 

Best regards,

 


Daniel Brown


Research In Motion Limited 

 

	

 




	

 


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><!--[if !mso]><style>v\:* =
{behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.apple-tab-span
	{mso-style-name:apple-tab-span;}
span.EmailStyle20
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle21
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle25
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle26
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Hi Dan and all,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I can actually see a potential non- anonymity-related <i>downside</i> =
of the feature of having the same signature per message (which unlike =
the anonymity issue applies equally to DSA and ECDSA): If a system is =
configured so as to reject duplicate signatures as potential fraudulent =
replays, legitimate duplicates could also be rejected. Such a system =
configuration might be more than hypothetical, in that (as far as I =
know) an adversary without knowledge of the private key &#8216;x&#8217; =
cannot feasibly generate additional distinct DSA/ECDSA signatures that =
are not in the set of signatures for that message that the adversary =
already has available.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>For reference, this is what the current draft of the I-D <a =
href=3D"http://tools.ietf.org/html/draft-pornin-deterministic-dsa-01">htt=
p://tools.ietf.org/html/draft-pornin-deterministic-dsa-01</a> says on =
this specific topic:<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp; &#8220;Deterministic signature schemes may also help =
in<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp; other situations, e.g. to avoid spurious duplicates, =
when the same<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp; data element is signed several times with the same key: =
with a<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp; deterministic signature scheme, the same signature is =
generated every<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp; time, making duplicate detection much easier.</span> =
<span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Conversely, lack of randomization may have adverse effects in =
some<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp; advanced protocols, e.g. related to anonymity in some =
voting schemes.&#8221;<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Thanks,<br>David<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Dan Brown [mailto:dbrown@certicom.com] <br><b>Sent:</b> Tuesday, =
September 25, 2012 11:24 AM<br><b>To:</b> 'David W. Kravitz'; 'Igoe, =
Kevin M.'; cfrg@irtf.org<br><b>Cc:</b> john.kelsey@nist.gov; =
mcgrew@cisco.com; lily.chen@nist.gov<br><b>Subject:</b> RE: [Cfrg] call =
for review: Deterministic Usage of DSA and ECDSA Digital Signature =
Algorithms<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Hi David and CFRG subscribers,<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Regarding David&#8217;s question comparing the security of the =
HMAC_DRBG method from the I-D to David&#8217;s simpler HMAC-only =
proposal, I don&#8217;t think anybody is saying the HMAC_DRBG method is =
more secure (though Kevin Igoe mentions that analysis already done on =
HMAC_DRBG).&nbsp; My intuition would be that they are about the same =
security, for what little my intuition is worth.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>To further answer David&#8217;s question, my understanding that one =
of the intuitive goals of HMAC_DRBG design, which I&#8217;m not sure is =
applicable here, was (a) to have a wider pipe than just HMAC and (b) =
that as long as HMAC_DRBG is fed enough input entropy the output entropy =
of its initial segment output is not limited by the security level of =
HMAC.&nbsp; (The latter is the &#8220;full entropy&#8221; notion in =
90C).&nbsp; I&#8217;m not sure that I quite understand that goal =
exactly, or that HMAC_DRBG meets it, but I would hazard a bet that =
HMAC_DRBG could be secure on an assumption slightly milder than HMAC =
being PRF, which might be the only advantage of the HMAC_DRBG over the =
simpler HMAC-only.&nbsp; Put another way, one might be able to devise a =
pathological condition on the hash function such that HMAC is not PRF, =
but HMAC_DRBG is still secure.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>The I-D&nbsp; and I have raised the issue of compliance. (I should =
clarify myself by saying that I agree the I-D probably complies with =
90A. But I think it would be nice to further comply 90C and some of the =
boundary concepts hinted at in ANSI X9.62-2005 but unfortunately that =
may not be possible).&nbsp; That said, given that David&#8217;s solution =
is also secure, and more efficient, then maybe it deserves to be =
standardized (that was my point 7).&nbsp; David&#8217;s mention of the =
key derivation function standard suggests that it could applicable here, =
as an alternative well-studied method.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Can somebody please articulate the benefit of the feature of having =
the same signature per message? &nbsp;Perhaps the I-D itself should =
elaborate on this point. Is it just that some protocol picked some =
signature scheme with this deterministic feature, and then the protocol =
decided to rely on this feature, e.g. by using the signature as an =
stable index for the message?&nbsp; <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Curiously, a randomized ECDSA signature (r,s) can also almost provide =
stable index for the message m, by computing a message-index of h(m)G =
=3D sR &#8211; rQ, where R is one a just a few elliptic curve point =
which can be derived from r (this is similar to how the public key can =
almost be recovered).&nbsp; <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Best regards,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div><table class=3DMsoNormalTable =
border=3D0 cellspacing=3D0 cellpadding=3D0 width=3D480 =
style=3D'width:5.0in'><tr><td style=3D'padding:0in 0in 2.4pt 0in'><p =
class=3DMsoNormal style=3D'line-height:9.0pt'><span =
style=3D'font-size:7.0pt;font-family:"Arial","sans-serif";color:black'>Da=
niel Brown<o:p></o:p></span></p></td></tr><tr><td style=3D'padding:0in =
0in 0in 0in'><p class=3DMsoNormal style=3D'margin-top:3.0pt'><span =
style=3D'font-size:7.0pt;font-family:"Arial","sans-serif";color:#0073BC'>=
Research In Motion Limited</span><span =
style=3D'font-size:7.0pt;font-family:"Arial","sans-serif";color:black'> =
<o:p></o:p></span></p></td></tr></table><p class=3DMsoNormal><span =
style=3D'color:#1F497D;display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
width=3D480 style=3D'width:5.0in'><tr><td style=3D'padding:0in 0in 0in =
0in'></td></tr></table><p class=3DMsoNormal><span =
style=3D'color:#1F497D;display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D3 cellpadding=3D0 =
width=3D480 style=3D'width:5.0in'><tr><td style=3D'padding:7.8pt 0in 0in =
0in'><p class=3DMsoNormal><span style=3D'color:#1F497D'><img border=3D0 =
width=3D141 height=3D34 id=3D"_x0000_i1025" =
src=3D"cid:image001.gif@01CD9B19.B9C203C0"><o:p></o:p></span></p></td></t=
r><tr><td width=3D480 style=3D'width:5.0in;padding:7.8pt 0in 0in =
0in'></td></tr></table></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------=_NextPart_001_001A_01CD9B1B.B9E81770--

------=_NextPart_000_0019_01CD9B1B.B9E81770
Content-Type: image/gif;
	name="image001.gif"
Content-Transfer-Encoding: base64
Content-ID: <image001.gif@01CD9B19.B9C203C0>

R0lGODlhjQAiANUAAF5bXMrJydjX1zIvMF5bW+Xl5fLx8UE9PsvKyvPy8np3eJSTkzIvL5WTlMvK
ycrKybCvr4eFhk9MTV5cXJSSk6KhoEI+PoeGhmtqaXp4eOTk5KOhoa+urmxqab68vUE9PZWTk727
vHp3d2xqauTl5LCvrtjY19nY2FBNTdnY16KgoKOhoE9MTL28vK+vrvPy8WtpaTIuLzEuL11bW4iG
hkI9Pr68vIiGh09NTSMfHyQgICMfICQfIP///wAAAAAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0
IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4
bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAg
NjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpy
ZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRl
c2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFw
LzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxu
czpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIg
eG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3MiIHhtcE1NOkluc3Rh
bmNlSUQ9InhtcC5paWQ6QTk5QzA5MUNFQkExMTFFMDg4OTZBOEYxNkFFRjgzRjEiIHht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nIhA86s43JhRcBHSeDBC5GDVg0k1AKJT4hycR
Jbjl1ur9yCBsec2kwyY9PNBnD2KFB94fA3wz63WbvfnAk0Os8MfFQigZ4BkCeL2ZHyMoM8H064hS
ZeLTkCFA4DOG4kGpCuaKXq0jATPJlkBuloIhCOA359nBoHoQrh3AYAgV40FeijABP4gEDQaAQAMa
sIAGbKBR9FiAG9jUAxcIjQIGoN0CGlWACLiBABmwVwFqxzEhpKABIMBhayiARBYijggGWAFPRmAc
IYRghXfrQQmQKLW65QAO5wijGGCnA/qJ8Yz5CM8J0MjGLXxgEYxroxynwAEIwRRwjnh8ggCQIbU8
+vGPgAykIPMYBAA7

------=_NextPart_000_0019_01CD9B1B.B9E81770--


From dkravitz@trustcentral.com  Tue Sep 25 11:28:22 2012
Return-Path: <dkravitz@trustcentral.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F138621F8594 for <cfrg@ietfa.amsl.com>; Tue, 25 Sep 2012 11:28:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.2
X-Spam-Level: 
X-Spam-Status: No, score=-1.2 tagged_above=-999 required=5 tests=[AWL=-0.022,  BAYES_00=-2.599, HTML_MESSAGE=0.001, SARE_GIF_ATTACH=1.42]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5ojaiZol3aA7 for <cfrg@ietfa.amsl.com>; Tue, 25 Sep 2012 11:28:18 -0700 (PDT)
Received: from vms173019pub.verizon.net (vms173019pub.verizon.net [206.46.173.19]) by ietfa.amsl.com (Postfix) with ESMTP id 127C61F0421 for <cfrg@irtf.org>; Tue, 25 Sep 2012 11:28:18 -0700 (PDT)
Received: from hatemtlaptop ([unknown] [173.66.52.63]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MAX002AX4N0I570@vms173019.mailsrvcs.net> for cfrg@irtf.org; Tue, 25 Sep 2012 13:28:15 -0500 (CDT)
From: "David W. Kravitz" <dkravitz@trustcentral.com>
To: "'Igoe, Kevin M.'" <kmigoe@nsa.gov>, "'Dan Brown'" <dbrown@certicom.com>,  <cfrg@irtf.org>
References: <CC7768A9.EDA64%mcgrew@cisco.com> <9745FE04-5A2C-4D38-9D34-AFF3A2EC54C6@callas.org> <002801cd96b7$b7c38c80$274aa580$@trustcentral.com> <3C4AAD4B5304AB44A6BA85173B4675CA17687160@MSMR-GH1-UEA03.corp.nsa.gov> <000601cd9a69$897d3460$9c779d20$@trustcentral.com> <3C4AAD4B5304AB44A6BA85173B4675CA176901BE@MSMR-GH1-UEA03.corp.nsa.gov> <002901cd9a99$070dc870$15295950$@trustcentral.com> <810C31990B57ED40B2062BA10D43FBF50BA17E@XMB111CNC.rim.net> <3C4AAD4B5304AB44A6BA85173B4675CA17695419@MSMR-GH1-UEA03.corp.nsa.gov>
In-reply-to: 
Date: Tue, 25 Sep 2012 14:28:10 -0400
Message-id: <001801cd9b4b$857f3010$907d9030$@trustcentral.com>
MIME-version: 1.0
Content-type: multipart/related; boundary="----=_NextPart_000_0019_01CD9B29.FE71FCE0"
X-Mailer: Microsoft Outlook 14.0
Thread-index: AQJZjD1WbN3mB22kfgMwgvHZe2e5lAHYBuGkAN83IhkCSTqTvgGB4PPAAV1JojICFAfetQHTGd8mAU9Hh/EBdgmtJ5YPHaCA
Content-language: en-us
Cc: john.kelsey@nist.gov, mcgrew@cisco.com, lily.chen@nist.gov
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Sep 2012 18:28:22 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0019_01CD9B29.FE71FCE0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_001A_01CD9B29.FE71FCE0"


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

Kevin,

 

Regarding ".but a priori I think I'd  want a timestamp of some sort to
prevent replay", as I pointed out to the list a little while ago*, I don't
think you need a timestamp to prevent successful replay to the same
destination if you don't use fully deterministic DSA/ECDSA. Of course, the
differing signatures over the same message would each have to be
individually verified unless you use some sort of batch verification method.

 

*I can actually see a potential non- anonymity-related downside of the
feature of having the same signature per message (which unlike the anonymity
issue applies equally to DSA and ECDSA): If a system is configured so as to
reject duplicate signatures as potential fraudulent replays, legitimate
duplicates could also be rejected. Such a system configuration might be more
than hypothetical, in that (as far as I know) an adversary without knowledge
of the private key 'x' cannot feasibly generate additional distinct
DSA/ECDSA signatures that are not in the set of signatures for that message
that the adversary already has available.

 

Thanks,
David

 

From: Igoe, Kevin M. [mailto:kmigoe@nsa.gov] 
Sent: Tuesday, September 25, 2012 2:12 PM
To: 'Dan Brown'; 'David W. Kravitz'; cfrg@irtf.org
Cc: john.kelsey@nist.gov; mcgrew@cisco.com; lily.chen@nist.gov
Subject: RE: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA
Digital Signature Algorithms

 

Can somebody please articulate the benefit of the feature of having the same
signature per message?  Perhaps the I-D itself should elaborate on this
point. Is it just that some protocol picked some signature scheme with this
deterministic feature, and then the protocol decided to rely on this
feature, e.g. by using the signature as an stable index for the message?  

 

I'll give this a shot.  Warning: this is all based on a side comment thrown
into a 

conversation concerning obstacles to the adoption of ECDSA signatures.  It
concerns 

BGPsec, which I believe falls under the SIDR WG.

 

BGP will often get duplicate reports from a given neighbor  because the
local configuration 

hasn't changed since the last report.  If the report is signed with an RSA
signature, even the

signature stays constant, so it's simple to see this is the same message is
the same as the last one

& there is no need to verify any signature.  But using ECDSA, the signature
field will (potentially) 

change even if nothing else has, forcing a signature verification.

 

One way to side step the issue is to use deterministic ECDSA.  Another would
be for the sender to 

keep track of the last signed report it sent and, if nothing has changed,
resend the same report.   

 

(I haven't paid much attention to the current state of the BGPsec
discussions and its threat models, but 

a priori I think I'd  want a timestamp of some sort to prevent replay. That
would mean that the report 

would always be changing and a signature verification would always need to
be done).

 

Again, this is all of this is second or third hand,  a quick glance at the
SIDR mailing list didn't provide any 

relevant information.

 

From: Dan Brown [mailto:dbrown@certicom.com] 
Sent: Tuesday, September 25, 2012 11:24 AM
To: 'David W. Kravitz'; Igoe, Kevin M.; cfrg@irtf.org
Cc: john.kelsey@nist.gov; mcgrew@cisco.com; lily.chen@nist.gov
Subject: RE: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA
Digital Signature Algorithms

 

Hi David and CFRG subscribers,

 

Regarding David's question comparing the security of the HMAC_DRBG method
from the I-D to David's simpler HMAC-only proposal, I don't think anybody is
saying the HMAC_DRBG method is more secure (though Kevin Igoe mentions that
analysis already done on HMAC_DRBG).  My intuition would be that they are
about the same security, for what little my intuition is worth.

 

To further answer David's question, my understanding that one of the
intuitive goals of HMAC_DRBG design, which I'm not sure is applicable here,
was (a) to have a wider pipe than just HMAC and (b) that as long as
HMAC_DRBG is fed enough input entropy the output entropy of its initial
segment output is not limited by the security level of HMAC.  (The latter is
the "full entropy" notion in 90C).  I'm not sure that I quite understand
that goal exactly, or that HMAC_DRBG meets it, but I would hazard a bet that
HMAC_DRBG could be secure on an assumption slightly milder than HMAC being
PRF, which might be the only advantage of the HMAC_DRBG over the simpler
HMAC-only.  Put another way, one might be able to devise a pathological
condition on the hash function such that HMAC is not PRF, but HMAC_DRBG is
still secure.

 

The I-D  and I have raised the issue of compliance. (I should clarify myself
by saying that I agree the I-D probably complies with 90A. But I think it
would be nice to further comply 90C and some of the boundary concepts hinted
at in ANSI X9.62-2005 but unfortunately that may not be possible).  That
said, given that David's solution is also secure, and more efficient, then
maybe it deserves to be standardized (that was my point 7).  David's mention
of the key derivation function standard suggests that it could applicable
here, as an alternative well-studied method.

 

Can somebody please articulate the benefit of the feature of having the same
signature per message?  Perhaps the I-D itself should elaborate on this
point. Is it just that some protocol picked some signature scheme with this
deterministic feature, and then the protocol decided to rely on this
feature, e.g. by using the signature as an stable index for the message?  

 

Curiously, a randomized ECDSA signature (r,s) can also almost provide stable
index for the message m, by computing a message-index of h(m)G = sR - rQ,
where R is one a just a few elliptic curve point which can be derived from r
(this is similar to how the public key can almost be recovered).  

 

Best regards,

 


Daniel Brown


Research In Motion Limited 

 

	

 




	


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><!--[if !mso]><style>v\:* =
{behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.apple-tab-span
	{mso-style-name:apple-tab-span;}
span.EmailStyle21
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle25
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle26
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle27
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle28
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle29
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Kevin,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Regarding &#8220;&#8230;but a priori I think I&#8217;d&nbsp; want a =
timestamp of some sort to prevent replay&#8221;, as I pointed out to the =
list a little while ago*, I don&#8217;t think you need a timestamp to =
prevent successful replay to the same destination if you <i>don&#8217;t =
</i>use fully deterministic DSA/ECDSA. Of course, the differing =
signatures over the same message would each have to be individually =
verified unless you use some sort of batch verification =
method.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>*I can actually see a potential non- anonymity-related downside of =
the feature of having the same signature per message (which unlike the =
anonymity issue applies equally to DSA and ECDSA): If a system is =
configured so as to reject duplicate signatures as potential fraudulent =
replays, legitimate duplicates could also be rejected. Such a system =
configuration might be more than hypothetical, in that (as far as I =
know) an adversary without knowledge of the private key &#8216;x&#8217; =
cannot feasibly generate additional distinct DSA/ECDSA signatures that =
are not in the set of signatures for that message that the adversary =
already has available.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Thanks,<br>David<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Igoe, Kevin M. <a =
href=3D"mailto:[mailto:kmigoe@nsa.gov]">[mailto:kmigoe@nsa.gov]</a> =
<br><b>Sent:</b> Tuesday, September 25, 2012 2:12 PM<br><b>To:</b> 'Dan =
Brown'; 'David W. Kravitz'; <a =
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a><br><b>Cc:</b> <a =
href=3D"mailto:john.kelsey@nist.gov">john.kelsey@nist.gov</a>; <a =
href=3D"mailto:mcgrew@cisco.com">mcgrew@cisco.com</a>; <a =
href=3D"mailto:lily.chen@nist.gov">lily.chen@nist.gov</a><br><b>Subject:<=
/b> RE: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA =
Digital Signature Algorithms<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal =
style=3D'margin-left:5.25pt'><i><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Can somebody please articulate the benefit of the feature of having =
the same signature per message? &nbsp;Perhaps the I-D itself should =
elaborate on this point. Is it just that some protocol picked some =
signature scheme with this deterministic feature, and then the protocol =
decided to rely on this feature, e.g. by using the signature as an =
stable index for the message?&nbsp; <o:p></o:p></span></i></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I&#8217;ll give this a shot.&nbsp; Warning: this is all based on a =
side comment thrown into a <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>conversation concerning obstacles to the adoption of ECDSA =
signatures.&nbsp; It concerns <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>BGPsec, which I believe falls under the SIDR =
WG.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>BGP will often get duplicate reports from a given neighbor =
&nbsp;because the local configuration <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>hasn&#8217;t changed since the last report.&nbsp; If the report is =
signed with an RSA signature, even the<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>signature stays constant, so it&#8217;s simple to see this is the =
same message is the same as the last one<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&amp; there is no need to verify any signature.&nbsp; But using =
ECDSA, the signature field will (potentially) <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>change even if nothing else has, forcing a signature =
verification.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>One way to side step the issue is to use deterministic ECDSA.&nbsp; =
Another would be for the sender to <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>keep track of the last signed report it sent and, if nothing has =
changed, resend the same report. &nbsp;&nbsp;<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>(I haven&#8217;t paid much attention to the current state of the =
BGPsec discussions and its threat models, but <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>a priori I think I&#8217;d &nbsp;want a timestamp of some sort to =
prevent replay. That would mean that the report <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>would always be changing and a signature verification would always =
need to be done).<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Again, this is all of this is second or third hand, &nbsp;a quick =
glance at the SIDR mailing list didn&#8217;t provide any =
<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>relevant information.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Dan Brown <a =
href=3D"mailto:[mailto:dbrown@certicom.com]">[mailto:dbrown@certicom.com]=
</a> <br><b>Sent:</b> Tuesday, September 25, 2012 11:24 AM<br><b>To:</b> =
'David W. Kravitz'; Igoe, Kevin M.; <a =
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a><br><b>Cc:</b> <a =
href=3D"mailto:john.kelsey@nist.gov">john.kelsey@nist.gov</a>; <a =
href=3D"mailto:mcgrew@cisco.com">mcgrew@cisco.com</a>; <a =
href=3D"mailto:lily.chen@nist.gov">lily.chen@nist.gov</a><br><b>Subject:<=
/b> RE: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA =
Digital Signature Algorithms<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Hi David and CFRG subscribers,<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Regarding David&#8217;s question comparing the security of the =
HMAC_DRBG method from the I-D to David&#8217;s simpler HMAC-only =
proposal, I don&#8217;t think anybody is saying the HMAC_DRBG method is =
more secure (though Kevin Igoe mentions that analysis already done on =
HMAC_DRBG).&nbsp; My intuition would be that they are about the same =
security, for what little my intuition is worth.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>To further answer David&#8217;s question, my understanding that one =
of the intuitive goals of HMAC_DRBG design, which I&#8217;m not sure is =
applicable here, was (a) to have a wider pipe than just HMAC and (b) =
that as long as HMAC_DRBG is fed enough input entropy the output entropy =
of its initial segment output is not limited by the security level of =
HMAC.&nbsp; (The latter is the &#8220;full entropy&#8221; notion in =
90C).&nbsp; I&#8217;m not sure that I quite understand that goal =
exactly, or that HMAC_DRBG meets it, but I would hazard a bet that =
HMAC_DRBG could be secure on an assumption slightly milder than HMAC =
being PRF, which might be the only advantage of the HMAC_DRBG over the =
simpler HMAC-only.&nbsp; Put another way, one might be able to devise a =
pathological condition on the hash function such that HMAC is not PRF, =
but HMAC_DRBG is still secure.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>The I-D&nbsp; and I have raised the issue of compliance. (I should =
clarify myself by saying that I agree the I-D probably complies with =
90A. But I think it would be nice to further comply 90C and some of the =
boundary concepts hinted at in ANSI X9.62-2005 but unfortunately that =
may not be possible).&nbsp; That said, given that David&#8217;s solution =
is also secure, and more efficient, then maybe it deserves to be =
standardized (that was my point 7).&nbsp; David&#8217;s mention of the =
key derivation function standard suggests that it could applicable here, =
as an alternative well-studied method.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Can somebody please articulate the benefit of the feature of having =
the same signature per message? &nbsp;Perhaps the I-D itself should =
elaborate on this point. Is it just that some protocol picked some =
signature scheme with this deterministic feature, and then the protocol =
decided to rely on this feature, e.g. by using the signature as an =
stable index for the message?&nbsp; <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Curiously, a randomized ECDSA signature (r,s) can also almost provide =
stable index for the message m, by computing a message-index of h(m)G =
=3D sR &#8211; rQ, where R is one a just a few elliptic curve point =
which can be derived from r (this is similar to how the public key can =
almost be recovered).&nbsp; <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Best regards,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div><table class=3DMsoNormalTable =
border=3D0 cellspacing=3D0 cellpadding=3D0 width=3D480 =
style=3D'width:5.0in'><tr><td style=3D'padding:0in 0in 2.4pt 0in'><p =
class=3DMsoNormal style=3D'line-height:9.0pt'><span =
style=3D'font-size:7.0pt;font-family:"Arial","sans-serif";color:black'>Da=
niel Brown<o:p></o:p></span></p></td></tr><tr><td style=3D'padding:0in =
0in 0in 0in'><p class=3DMsoNormal style=3D'margin-top:3.0pt'><span =
style=3D'font-size:7.0pt;font-family:"Arial","sans-serif";color:#0073BC'>=
Research In Motion Limited</span><span =
style=3D'font-size:7.0pt;font-family:"Arial","sans-serif";color:black'> =
<o:p></o:p></span></p></td></tr></table><p class=3DMsoNormal><span =
style=3D'color:#1F497D;display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
width=3D480 style=3D'width:5.0in'><tr><td style=3D'padding:0in 0in 0in =
0in'></td></tr></table><p class=3DMsoNormal><span =
style=3D'color:#1F497D;display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D3 cellpadding=3D0 =
width=3D480 style=3D'width:5.0in'><tr><td style=3D'padding:7.8pt 0in 0in =
0in'><p class=3DMsoNormal><span style=3D'color:#1F497D'><img border=3D0 =
width=3D141 height=3D34 id=3D"_x0000_i1025" =
src=3D"cid:image001.gif@01CD9B29.FD3FE580"><o:p></o:p></span></p></td></t=
r><tr><td width=3D480 style=3D'width:5.0in;padding:7.8pt 0in 0in =
0in'></td></tr></table></div><p class=3DMsoNormal> =
<o:p></o:p></p></div></div></body></html>
------=_NextPart_001_001A_01CD9B29.FE71FCE0--

------=_NextPart_000_0019_01CD9B29.FE71FCE0
Content-Type: image/gif;
	name="image001.gif"
Content-Transfer-Encoding: base64
Content-ID: <image001.gif@01CD9B29.FD3FE580>

R0lGODlhjQAiANUAAF5bXMrJydjX1zIvMF5bW+Xl5fLx8UE9PsvKyvPy8np3eJSTkzIvL5WTlMvK
ycrKybCvr4eFhk9MTV5cXJSSk6KhoEI+PoeGhmtqaXp4eOTk5KOhoa+urmxqab68vUE9PZWTk727
vHp3d2xqauTl5LCvrtjY19nY2FBNTdnY16KgoKOhoE9MTL28vK+vrvPy8WtpaTIuLzEuL11bW4iG
hkI9Pr68vIiGh09NTSMfHyQgICMfICQfIP///wAAAAAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0
IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4
bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAg
NjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAwICAgICAg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heMENYeUOB7TxpSe+qKaDbCRE8FtDABnwYg40oORAMo2F6I5zCxDCwAwA
fBDQDotNsOVBlTFDiz0NtrkDC4z9wYEG0/DQ4RMapCONOQ18Ep8CEjIwjQpDkPD/5Q6H8CFda+mY
ly0/zcyDBGDjYNUDAZ9gJsQLLEjjKb+fMPNSQA5ssIiZPfzJQ6JCNGDPAgr4wfATHhDmh4BKYCuQ
Kz1kMNEEPXQjynUHLODBAxdM5NE72R2RQkADGLUDAUNMqq+iheSwB3wo0MHTBHOQECUPYQIwkVRD
VFDIi36A7ARlf+TAAAlLpLQIEQWYywMAl3wixAI8+pWAuTmgm2kOJAtxQmUUcNCIAOv9MV8PDLqS
AAt+OGKWYeyUcseGMeP9x3geAuiHbFAIQEspPyURtgUUULAABqtG5oA4xIQLSAgJlGBBiPMZdJQN
K3zpTgoRlHQYAdOYWfACIFDM/9HiPXAAX4AkFFDnIhA86s43JhRcBHSeDBC5GDVg0k1AKJT4hycR
Jbjl1ur9yCBsec2kwyY9PNBnD2KFB94fA3wz63WbvfnAk0Os8MfFQigZ4BkCeL2ZHyMoM8H064hS
ZeLTkCFA4DOG4kGpCuaKXq0jATPJlkBuloIhCOA359nBoHoQrh3AYAgV40FeijABP4gEDQaAQAMa
sIAGbKBR9FiAG9jUAxcIjQIGoN0CGlWACLiBABmwVwFqxzEhpKABIMBhayiARBYijggGWAFPRmAc
IYRghXfrQQmQKLW65QAO5wijGGCnA/qJ8Yz5CM8J0MjGLXxgEYxroxynwAEIwRRwjnh8ggCQIbU8
+vGPgAykIPMYBAA7

------=_NextPart_000_0019_01CD9B29.FE71FCE0--


From prvs=161504fee8=dbrown@certicom.com  Tue Sep 25 11:54:06 2012
Return-Path: <prvs=161504fee8=dbrown@certicom.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F209B21F879B for <cfrg@ietfa.amsl.com>; Tue, 25 Sep 2012 11:54:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.482
X-Spam-Level: 
X-Spam-Status: No, score=-2.482 tagged_above=-999 required=5 tests=[AWL=0.300,  BAYES_00=-2.599, EXTRA_MPART_TYPE=1, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_MED=-4, SARE_GIF_ATTACH=1.42]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Qc0dJJMAnhai for <cfrg@ietfa.amsl.com>; Tue, 25 Sep 2012 11:54:02 -0700 (PDT)
Received: from mhs061cnc.rim.net (mhs061cnc.rim.net [208.65.73.35]) by ietfa.amsl.com (Postfix) with ESMTP id 8940C21F879A for <cfrg@irtf.org>; Tue, 25 Sep 2012 11:54:01 -0700 (PDT)
X-AuditID: 0a412830-b7fab6d000006b80-3c-5061fdc81d07
Received: from XCT102CNC.rim.net (xct102cnc.rim.net [10.65.161.202]) (using TLS with cipher AES128-SHA (AES128-SHA/128 bits)) (Client did not present a certificate) by mhs061cnc.rim.net (SBG) with SMTP id 19.88.27520.8CDF1605; Tue, 25 Sep 2012 18:54:00 +0000 (GMT)
Received: from XMB111CNC.rim.net ([fe80::fcd6:cc6c:9e0b:25bc]) by XCT102CNC.rim.net ([fe80::2066:5d4f:8c45:af55%17]) with mapi id 14.02.0298.004; Tue, 25 Sep 2012 14:53:59 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'David W. Kravitz'" <dkravitz@trustcentral.com>, "'Igoe, Kevin M.'" <kmigoe@nsa.gov>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
Thread-Index: AQJZjD1WbN3mB22kfgMwgvHZe2e5lAHYBuGkAN83IhkCSTqTvgGB4PPAAV1JojICFAfetQHTGd8mAU9Hh/EBdgmtJ5YPHaCAgAACoeA=
Date: Tue, 25 Sep 2012 18:53:59 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF50BA2FF@XMB111CNC.rim.net>
References: <CC7768A9.EDA64%mcgrew@cisco.com> <9745FE04-5A2C-4D38-9D34-AFF3A2EC54C6@callas.org> <002801cd96b7$b7c38c80$274aa580$@trustcentral.com> <3C4AAD4B5304AB44A6BA85173B4675CA17687160@MSMR-GH1-UEA03.corp.nsa.gov> <000601cd9a69$897d3460$9c779d20$@trustcentral.com> <3C4AAD4B5304AB44A6BA85173B4675CA176901BE@MSMR-GH1-UEA03.corp.nsa.gov> <002901cd9a99$070dc870$15295950$@trustcentral.com> <810C31990B57ED40B2062BA10D43FBF50BA17E@XMB111CNC.rim.net> <3C4AAD4B5304AB44A6BA85173B4675CA17695419@MSMR-GH1-UEA03.corp.nsa.gov> <001801cd9b4b$857f3010$907d9030$@trustcentral.com>
In-Reply-To: <001801cd9b4b$857f3010$907d9030$@trustcentral.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.248]
Content-Type: multipart/related; boundary="_004_810C31990B57ED40B2062BA10D43FBF50BA2FFXMB111CNCrimnet_";  type="multipart/alternative"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrPJsWRmVeSWpSXmKPExsXC5bjwlO6Jv4kBBk8ui1h0/zjIZNH4aTWr xYRTr1kdmD0mbzzM5tG/6yWrx697/cwBzFENjDZJiSVlwZnpefp2Nol5efkliSWpCimpxcm2 Sj6p6Yk5CgFFmWWJyZUKLpnFyTmJmbmpRUoKmSm2SiZKCgU5icmpual5JbZKiQUFqXkpSnZc ChjABqgsM08hNS85PyUzL91WyTPYX9fCwtRS11DJTjehkydj1sQ/7AVHlzNV3N2+i7mBcXUr UxcjJ4eEgInErdP72CBsMYkL99YD2VwcQgJ9TBLrT3ayQzhbGSVuHF/EDlLFJqAqcf/oOWYQ W0SgRqJvxUSwuLBAhsTSL+/ZIeKZEt+n/mWDsMsk/hyczghiswD1Xv71lwXE5hVwk3jyegsj xIKzLBLrz74GOomDg1PAXuJaAx9IDaOArMTus9fBLmUWEJe49WQ+1NUiEg8vnoa6WlTi5eN/ rBC2osT8uZfAPmAW6GSUuHByDdQyQYmTM5+wTGAUmYVk1ixkdbOQ1EEU5UpMe7gbytaRWLD7 ExuErS2xbOFrZhj7zIHHTJjiOhKbL+2E6lWUaOucDbVsKaPEylvrWGGK9k5ZygxTNKX7IfsC Rt5VjIK5GcUGZobJecl6RZm5enmpJZsYwelOw2AH4/v3FocYBTgYlXh4Xb4kBgixJpYVV+Ye YpTgYFYS4TV+DhTiTUmsrEotyo8vKs1JLT7EGA8M+InMUtzJ+cBUnFcSb2xgQA5HSZz39zmg 8QLpwOSbnZpakFoEs4GJgxPkAi4pkWJgCk0tSiwtyYgHJfr4YmCql2pgZNfi/h6WWa30unXx P9/q1NNHFv/03DFf+//rN1NeSa1fXX82tnw6o7XC/BqJktPNF9QU8vc8iAiWP5p1+Y09S8vG H9OdXxWlJzp3Py1bMDH9Gq+91GNF3oQNcmy3rJ72FPRxT+2LlK5mMvdKjtb+tnqyBPcttv/M fZnFnF+CF9rovr5/JnWqEktxRqKhFnNRcSIAXj9Q7tIDAAA=
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Sep 2012 18:54:07 -0000

--_004_810C31990B57ED40B2062BA10D43FBF50BA2FFXMB111CNCrimnet_
Content-Type: multipart/alternative;
	boundary="_000_810C31990B57ED40B2062BA10D43FBF50BA2FFXMB111CNCrimnet_"

--_000_810C31990B57ED40B2062BA10D43FBF50BA2FFXMB111CNCrimnet_
Content-Type: text/plain; charset="us-ascii"
content-transfer-encoding: quoted-printable

Hi David,

A slight clarification to your comment about generation of additional distin=
ct signatures: ECDSA has the possibility of admitting one "duplicate" signat=
ure because (r,s) and (r,(-s mod q)) are distinct, equally valid for a given=
 message, and easily generated from one another.

The conventional definition of digital signature security (formally known as=
 Goldwasser-Micali-Rivest security) only concerns whether a message has been=
 signed, and does not consider how many distinct signatures there for a mess=
age.  Strong unforgeability is a strengthening of this notion, which says th=
at only as many signatures per message as the signer has generated should be=
 allowed. Strong unforgebability sounds nice to have, but I am not too persu=
aded of its usefulness.  For example, one can wrap any signature in some non=
-unique encoding scheme, such as BER encoding, and that shouldn't make it in=
secure.   Anyway, if one really wants this strong unforgeability, one can ch=
oose a canonical choice of the two candidate ECDSA signatures, say the one w=
ith smaller s value, and define it as valid, and the other as invalid.  In t=
hat case, a protocol of the type you describe may be possible, and I think t=
here are even proofs of strong unforgeability for certain probabilistic sign=
ature schemes (I forget which ones now).

Daniel Brown

Research In Motion Limited




[cid:image001.gif@01CD9B2B.C63910A0]



From: David W. Kravitz [mailto:dkravitz@trustcentral.com]
Sent: Tuesday, September 25, 2012 2:28 PM
To: 'Igoe, Kevin M.'; Dan Brown; cfrg@irtf.org
Cc: john.kelsey@nist.gov; mcgrew@cisco.com; lily.chen@nist.gov
Subject: RE: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Di=
gital Signature Algorithms

Kevin,

Regarding "...but a priori I think I'd  want a timestamp of some sort to pre=
vent replay", as I pointed out to the list a little while ago*, I don't thin=
k you need a timestamp to prevent successful replay to the same destination=
 if you don't use fully deterministic DSA/ECDSA. Of course, the differing si=
gnatures over the same message would each have to be individually verified u=
nless you use some sort of batch verification method.

*I can actually see a potential non- anonymity-related downside of the featu=
re of having the same signature per message (which unlike the anonymity issu=
e applies equally to DSA and ECDSA): If a system is configured so as to reje=
ct duplicate signatures as potential fraudulent replays, legitimate duplicat=
es could also be rejected. Such a system configuration might be more than hy=
pothetical, in that (as far as I know) an adversary without knowledge of the=
 private key 'x' cannot feasibly generate additional distinct DSA/ECDSA sign=
atures that are not in the set of signatures for that message that the adver=
sary already has available.

Thanks,
David

From: Igoe, Kevin M. [mailto:kmigoe@nsa.gov]<mailto:[mailto:kmigoe@nsa.gov]>
Sent: Tuesday, September 25, 2012 2:12 PM
To: 'Dan Brown'; 'David W. Kravitz'; cfrg@irtf.org<mailto:cfrg@irtf.org>
Cc: john.kelsey@nist.gov<mailto:john.kelsey@nist.gov>; mcgrew@cisco.com<mail=
to:mcgrew@cisco.com>; lily.chen@nist.gov<mailto:lily.chen@nist.gov>
Subject: RE: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Di=
gital Signature Algorithms

Can somebody please articulate the benefit of the feature of having the same=
 signature per message?  Perhaps the I-D itself should elaborate on this poi=
nt. Is it just that some protocol picked some signature scheme with this det=
erministic feature, and then the protocol decided to rely on this feature, e=
.g. by using the signature as an stable index for the message?

I'll give this a shot.  Warning: this is all based on a side comment thrown=
 into a
conversation concerning obstacles to the adoption of ECDSA signatures.  It c=
oncerns
BGPsec, which I believe falls under the SIDR WG.

BGP will often get duplicate reports from a given neighbor  because the loca=
l configuration
hasn't changed since the last report.  If the report is signed with an RSA s=
ignature, even the
signature stays constant, so it's simple to see this is the same message is=
 the same as the last one
& there is no need to verify any signature.  But using ECDSA, the signature=
 field will (potentially)
change even if nothing else has, forcing a signature verification.

One way to side step the issue is to use deterministic ECDSA.  Another would=
 be for the sender to
keep track of the last signed report it sent and, if nothing has changed, re=
send the same report.

(I haven't paid much attention to the current state of the BGPsec discussion=
s and its threat models, but
a priori I think I'd  want a timestamp of some sort to prevent replay. That=
 would mean that the report
would always be changing and a signature verification would always need to b=
e done).

Again, this is all of this is second or third hand,  a quick glance at the S=
IDR mailing list didn't provide any
relevant information.

From: Dan Brown [mailto:dbrown@certicom.com]<mailto:[mailto:dbrown@certicom.=
com]>
Sent: Tuesday, September 25, 2012 11:24 AM
To: 'David W. Kravitz'; Igoe, Kevin M.; cfrg@irtf.org<mailto:cfrg@irtf.org>
Cc: john.kelsey@nist.gov<mailto:john.kelsey@nist.gov>; mcgrew@cisco.com<mail=
to:mcgrew@cisco.com>; lily.chen@nist.gov<mailto:lily.chen@nist.gov>
Subject: RE: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Di=
gital Signature Algorithms

Hi David and CFRG subscribers,

Regarding David's question comparing the security of the HMAC_DRBG method fr=
om the I-D to David's simpler HMAC-only proposal, I don't think anybody is s=
aying the HMAC_DRBG method is more secure (though Kevin Igoe mentions that a=
nalysis already done on HMAC_DRBG).  My intuition would be that they are abo=
ut the same security, for what little my intuition is worth.

To further answer David's question, my understanding that one of the intuiti=
ve goals of HMAC_DRBG design, which I'm not sure is applicable here, was (a)=
 to have a wider pipe than just HMAC and (b) that as long as HMAC_DRBG is fe=
d enough input entropy the output entropy of its initial segment output is n=
ot limited by the security level of HMAC.  (The latter is the "full entropy"=
 notion in 90C).  I'm not sure that I quite understand that goal exactly, or=
 that HMAC_DRBG meets it, but I would hazard a bet that HMAC_DRBG could be s=
ecure on an assumption slightly milder than HMAC being PRF, which might be t=
he only advantage of the HMAC_DRBG over the simpler HMAC-only.  Put another=
 way, one might be able to devise a pathological condition on the hash funct=
ion such that HMAC is not PRF, but HMAC_DRBG is still secure.

The I-D  and I have raised the issue of compliance. (I should clarify myself=
 by saying that I agree the I-D probably complies with 90A. But I think it w=
ould be nice to further comply 90C and some of the boundary concepts hinted=
 at in ANSI X9.62-2005 but unfortunately that may not be possible).  That sa=
id, given that David's solution is also secure, and more efficient, then may=
be it deserves to be standardized (that was my point 7).  David's mention of=
 the key derivation function standard suggests that it could applicable here=
, as an alternative well-studied method.

Can somebody please articulate the benefit of the feature of having the same=
 signature per message?  Perhaps the I-D itself should elaborate on this poi=
nt. Is it just that some protocol picked some signature scheme with this det=
erministic feature, and then the protocol decided to rely on this feature, e=
.g. by using the signature as an stable index for the message?

Curiously, a randomized ECDSA signature (r,s) can also almost provide stable=
 index for the message m, by computing a message-index of h(m)G =3D sR - rQ,=
 where R is one a just a few elliptic curve point which can be derived from=
 r (this is similar to how the public key can almost be recovered).

Best regards,

Daniel Brown

Research In Motion Limited




[cid:image001.gif@01CD9B2B.C63910A0]




---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential infor=
mation, privileged material (including material protected by the solicitor-c=
lient or other applicable privileges), or constitute non-public information.=
 Any use of this information by anyone other than the intended recipient is=
 prohibited. If you have received this transmission in error, please immedia=
tely reply to the sender and delete this information from your system. Use,=
 dissemination, distribution, or reproduction of this transmission by uninte=
nded recipients is not authorized and may be unlawful.

--_000_810C31990B57ED40B2062BA10D43FBF50BA2FFXMB111CNCrimnet_
Content-Type: text/html; charset="us-ascii"
content-transfer-encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micro=
soft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" xm=
lns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http://w=
ww.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.apple-tab-span
	{mso-style-name:apple-tab-span;}
span.EmailStyle21
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle25
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle26
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle27
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle28
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle29
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle30
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi David,<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">A slight clarification to y=
our comment about generation of additional distinct signatures: ECDSA has th=
e possibility of admitting one &#8220;duplicate&#8221; signature
 because (r,s) and (r,(-s mod q)) are distinct, equally valid for a given me=
ssage, and easily generated from one another.&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">The conventional definition=
 of digital signature security (formally known as Goldwasser-Micali-Rivest s=
ecurity) only concerns whether a message has been signed,
 and does not consider how many distinct signatures there for a message.&nbs=
p; Strong unforgeability is a strengthening of this notion, which says that=
 only as many signatures per message as the signer has generated should be a=
llowed. Strong unforgebability sounds
 nice to have, but I am not too persuaded of its usefulness.&nbsp; For examp=
le, one can wrap any signature in some non-unique encoding scheme, such as B=
ER encoding, and that shouldn&#8217;t make it insecure.&nbsp; &nbsp;Anyway,=
 if one really wants this strong unforgeability, one
 can choose a canonical choice of the two candidate ECDSA signatures, say th=
e one with smaller s value, and define it as valid, and the other as invalid=
.&nbsp; In that case, a protocol of the type you describe may be possible, a=
nd I think there are even proofs of
 strong unforgeability for certain probabilistic signature schemes (I forget=
 which ones now).<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<div>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" width=3D"600" style=3D"width:5.0in">
<tbody>
<tr>
<td style=3D"padding:0in 0in 2.4pt 0in">
<p class=3D"MsoNormal" style=3D"line-height:9.0pt"><span style=3D"font-size:=
7.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">Dani=
el Brown<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style=3D"padding:0in 0in 0in 0in">
<p class=3D"MsoNormal" style=3D"margin-top:3.0pt"><span style=3D"font-size:7=
.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0073BC">Res=
earch In Motion Limited</span><span style=3D"font-size:7.0pt;font-family:&qu=
ot;Arial&quot;,&quot;sans-serif&quot;;color:black">
<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D;display:none"><o:p>&nbsp=
;</o:p></span></p>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" width=3D"600" style=3D"width:5.0in">
<tbody>
<tr>
<td style=3D"padding:0in 0in 0in 0in"></td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D;display:none"><o:p>&nbsp=
;</o:p></span></p>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"3" cellpadding=
=3D"0" width=3D"600" style=3D"width:5.0in">
<tbody>
<tr>
<td style=3D"padding:7.8pt 0in 0in 0in">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><img width=3D"141" heig=
ht=3D"34" id=3D"_x0000_i1026" src=3D"cid:image001.gif@01CD9B2B.C63910A0"></s=
pan><span style=3D"color:#1F497D"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width=3D"600" style=3D"width:5.0in;padding:7.8pt 0in 0in 0in"></td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4=
.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0=
in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot;=
Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-siz=
e:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> David W. Kr=
avitz [mailto:dkravitz@trustcentral.com]
<br>
<b>Sent:</b> Tuesday, September 25, 2012 2:28 PM<br>
<b>To:</b> 'Igoe, Kevin M.'; Dan Brown; cfrg@irtf.org<br>
<b>Cc:</b> john.kelsey@nist.gov; mcgrew@cisco.com; lily.chen@nist.gov<br>
<b>Subject:</b> RE: [Cfrg] call for review: Deterministic Usage of DSA and E=
CDSA Digital Signature Algorithms<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Kevin,<o:p></o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Regarding &#8220;&#8230;but=
 a priori I think I&#8217;d&nbsp; want a timestamp of some sort to prevent r=
eplay&#8221;, as I pointed out to the list a little while ago*, I don&#8217;=
t think you
 need a timestamp to prevent successful replay to the same destination if yo=
u <i>
don&#8217;t </i>use fully deterministic DSA/ECDSA. Of course, the differing=
 signatures over the same message would each have to be individually verifie=
d unless you use some sort of batch verification method.<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">*I can actually see a poten=
tial non- anonymity-related downside of the feature of having the same signa=
ture per message (which unlike the anonymity issue applies
 equally to DSA and ECDSA): If a system is configured so as to reject duplic=
ate signatures as potential fraudulent replays, legitimate duplicates could=
 also be rejected. Such a system configuration might be more than hypothetic=
al, in that (as far as I know)
 an adversary without knowledge of the private key &#8216;x&#8217; cannot fe=
asibly generate additional distinct DSA/ECDSA signatures that are not in the=
 set of signatures for that message that the adversary already has available=
.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks,<br>
David<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0=
in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot;=
Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-siz=
e:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Igoe, Kevin=
 M.
<a href=3D"mailto:[mailto:kmigoe@nsa.gov]">[mailto:kmigoe@nsa.gov]</a> <br>
<b>Sent:</b> Tuesday, September 25, 2012 2:12 PM<br>
<b>To:</b> 'Dan Brown'; 'David W. Kravitz'; <a href=3D"mailto:cfrg@irtf.org"=
>cfrg@irtf.org</a><br>
<b>Cc:</b> <a href=3D"mailto:john.kelsey@nist.gov">john.kelsey@nist.gov</a>;=
 <a href=3D"mailto:mcgrew@cisco.com">
mcgrew@cisco.com</a>; <a href=3D"mailto:lily.chen@nist.gov">lily.chen@nist.g=
ov</a><br>
<b>Subject:</b> RE: [Cfrg] call for review: Deterministic Usage of DSA and E=
CDSA Digital Signature Algorithms<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:5.25pt"><i><span style=3D"font-s=
ize:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F4=
97D">Can somebody please articulate the benefit of the feature of having the=
 same signature per message? &nbsp;Perhaps the I-D itself should
 elaborate on this point. Is it just that some protocol picked some signatur=
e scheme with this deterministic feature, and then the protocol decided to r=
ely on this feature, e.g. by using the signature as an stable index for the=
 message?&nbsp;
<o:p></o:p></span></i></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I&#8217;ll give this a shot=
.&nbsp; Warning: this is all based on a side comment thrown into a
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">conversation concerning obs=
tacles to the adoption of ECDSA signatures.&nbsp; It concerns
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">BGPsec, which I believe fal=
ls under the SIDR WG.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">BGP will often get duplicat=
e reports from a given neighbor &nbsp;because the local configuration
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">hasn&#8217;t changed since=
 the last report.&nbsp; If the report is signed with an RSA signature, even=
 the<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">signature stays constant, s=
o it&#8217;s simple to see this is the same message is the same as the last=
 one<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&amp; there is no need to v=
erify any signature.&nbsp; But using ECDSA, the signature field will (potent=
ially)
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">change even if nothing else=
 has, forcing a signature verification.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">One way to side step the is=
sue is to use deterministic ECDSA.&nbsp; Another would be for the sender to
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">keep track of the last sign=
ed report it sent and, if nothing has changed, resend the same report. &nbsp=
;&nbsp;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">(I haven&#8217;t paid much=
 attention to the current state of the BGPsec discussions and its threat mod=
els, but
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">a priori I think I&#8217;d=
 &nbsp;want a timestamp of some sort to prevent replay. That would mean that=
 the report
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">would always be changing an=
d a signature verification would always need to be done).<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Again, this is all of this=
 is second or third hand, &nbsp;a quick glance at the SIDR mailing list didn=
&#8217;t provide any
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">relevant information.<o:p><=
/o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4=
.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0=
in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot;=
Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-siz=
e:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Dan Brown
<a href=3D"mailto:[mailto:dbrown@certicom.com]">[mailto:dbrown@certicom.com]=
</a> <br>
<b>Sent:</b> Tuesday, September 25, 2012 11:24 AM<br>
<b>To:</b> 'David W. Kravitz'; Igoe, Kevin M.; <a href=3D"mailto:cfrg@irtf.o=
rg">cfrg@irtf.org</a><br>
<b>Cc:</b> <a href=3D"mailto:john.kelsey@nist.gov">john.kelsey@nist.gov</a>;=
 <a href=3D"mailto:mcgrew@cisco.com">
mcgrew@cisco.com</a>; <a href=3D"mailto:lily.chen@nist.gov">lily.chen@nist.g=
ov</a><br>
<b>Subject:</b> RE: [Cfrg] call for review: Deterministic Usage of DSA and E=
CDSA Digital Signature Algorithms<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi David and CFRG subscribe=
rs,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Regarding David&#8217;s que=
stion comparing the security of the HMAC_DRBG method from the I-D to David&#=
8217;s simpler HMAC-only proposal, I don&#8217;t think anybody is saying
 the HMAC_DRBG method is more secure (though Kevin Igoe mentions that analys=
is already done on HMAC_DRBG).&nbsp; My intuition would be that they are abo=
ut the same security, for what little my intuition is worth.<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">To further answer David&#82=
17;s question, my understanding that one of the intuitive goals of HMAC_DRBG=
 design, which I&#8217;m not sure is applicable here, was (a) to
 have a wider pipe than just HMAC and (b) that as long as HMAC_DRBG is fed e=
nough input entropy the output entropy of its initial segment output is not=
 limited by the security level of HMAC.&nbsp; (The latter is the &#8220;full=
 entropy&#8221; notion in 90C).&nbsp; I&#8217;m not sure that
 I quite understand that goal exactly, or that HMAC_DRBG meets it, but I wou=
ld hazard a bet that HMAC_DRBG could be secure on an assumption slightly mil=
der than HMAC being PRF, which might be the only advantage of the HMAC_DRBG=
 over the simpler HMAC-only.&nbsp;
 Put another way, one might be able to devise a pathological condition on th=
e hash function such that HMAC is not PRF, but HMAC_DRBG is still secure.<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">The I-D&nbsp; and I have ra=
ised the issue of compliance. (I should clarify myself by saying that I agre=
e the I-D probably complies with 90A. But I think it would
 be nice to further comply 90C and some of the boundary concepts hinted at i=
n ANSI X9.62-2005 but unfortunately that may not be possible).&nbsp; That sa=
id, given that David&#8217;s solution is also secure, and more efficient, th=
en maybe it deserves to be standardized
 (that was my point 7).&nbsp; David&#8217;s mention of the key derivation fu=
nction standard suggests that it could applicable here, as an alternative we=
ll-studied method.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Can somebody please articul=
ate the benefit of the feature of having the same signature per message? &nb=
sp;Perhaps the I-D itself should elaborate on this point.
 Is it just that some protocol picked some signature scheme with this determ=
inistic feature, and then the protocol decided to rely on this feature, e.g.=
 by using the signature as an stable index for the message?&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Curiously, a randomized ECD=
SA signature (r,s) can also almost provide stable index for the message m, b=
y computing a message-index of h(m)G =3D sR &#8211; rQ, where
 R is one a just a few elliptic curve point which can be derived from r (thi=
s is similar to how the public key can almost be recovered).&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Best regards,<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Cal=
ibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p=
>
<div>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" width=3D"600" style=3D"width:5.0in">
<tbody>
<tr>
<td style=3D"padding:0in 0in 2.4pt 0in">
<p class=3D"MsoNormal" style=3D"line-height:9.0pt"><span style=3D"font-size:=
7.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">Dani=
el Brown<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style=3D"padding:0in 0in 0in 0in">
<p class=3D"MsoNormal" style=3D"margin-top:3.0pt"><span style=3D"font-size:7=
.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#0073BC">Res=
earch In Motion Limited</span><span style=3D"font-size:7.0pt;font-family:&qu=
ot;Arial&quot;,&quot;sans-serif&quot;;color:black">
<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D;display:none"><o:p>&nbsp=
;</o:p></span></p>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" width=3D"600" style=3D"width:5.0in">
<tbody>
<tr>
<td style=3D"padding:0in 0in 0in 0in"></td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D;display:none"><o:p>&nbsp=
;</o:p></span></p>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"3" cellpadding=
=3D"0" width=3D"600" style=3D"width:5.0in">
<tbody>
<tr>
<td style=3D"padding:7.8pt 0in 0in 0in">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><img border=3D"0" width=
=3D"141" height=3D"34" id=3D"_x0000_i1025" src=3D"cid:image001.gif@01CD9B2B.=
C63910A0"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width=3D"600" style=3D"width:5.0in;padding:7.8pt 0in 0in 0in"></td>
</tr>
</tbody>
</table>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</div>
--------------------------------------------------------------------- <br>
This transmission (including any attachments) may contain confidential infor=
mation, privileged material (including material protected by the solicitor-c=
lient or other applicable privileges), or constitute non-public information.=
 Any use of this information by anyone other than the intended recipient is=
 prohibited. If you have received this transmission in error, please immedia=
tely reply to the sender and delete this information from your system. Use,=
 dissemination, distribution, or reproduction of this transmission by uninte=
nded recipients is not authorized and may be unlawful.
</body>
</html>

--_000_810C31990B57ED40B2062BA10D43FBF50BA2FFXMB111CNCrimnet_--

--_004_810C31990B57ED40B2062BA10D43FBF50BA2FFXMB111CNCrimnet_
Content-Type: image/gif; name="image001.gif"
Content-Description: image001.gif
Content-Disposition: inline; filename="image001.gif"; size=2577;
	creation-date="Tue, 25 Sep 2012 18:40:57 GMT";
	modification-date="Tue, 25 Sep 2012 18:40:57 GMT"
Content-ID: <image001.gif@01CD9B2B.C63910A0>
Content-Transfer-Encoding: base64

R0lGODlhjQAiANUAAF5bXMrJydjX1zIvMF5bW+Xl5fLx8UE9PsvKyvPy8np3eJSTkzIvL5WTlMvK
ycrKybCvr4eFhk9MTV5cXJSSk6KhoEI+PoeGhmtqaXp4eOTk5KOhoa+urmxqab68vUE9PZWTk727
vHp3d2xqauTl5LCvrtjY19nY2FBNTdnY16KgoKOhoE9MTL28vK+vrvPy8WtpaTIuLzEuL11bW4iG
hkI9Pr68vIiGh09NTSMfHyQgICMfICQfIP///wAAAAAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0
IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG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isco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CEFA621F8609 for <cfrg@ietfa.amsl.com>; Tue, 25 Sep 2012 20:03:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nN-5er1aZ1UT for <cfrg@ietfa.amsl.com>; Tue, 25 Sep 2012 20:03:39 -0700 (PDT)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) by ietfa.amsl.com (Postfix) with ESMTP id 0B44721F850C for <cfrg@irtf.org>; Tue, 25 Sep 2012 20:03:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7883; q=dns/txt; s=iport; t=1348628619; x=1349838219; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=JQzB0uLMOrufJllGb5qbbQ26oat22VHXqpLbesDLoP8=; b=l3+i8ZFU66LW6hDqFAep/lJMl9ldcqjzRBqpKogVhz9DhOGSA93BT+Tl 4nrvP4624Upmuq18Z8XI3XY9zeUXoNbSf+EuKdzeo99dCINlHgXJuKTBw /oZeJmv0Yw5GRcbDiYalaQxegBkwffVpowhww914XUQMsZ/RPERpISGVg A=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgAFAPVvYlCtJV2b/2dsb2JhbABFgku8bIEIgiABAQEEDAYBChAsIBACAQgRBAEBCx0HMhQJCAIEAQ0FCBqHY5likWWOQIsahSlgA5I1kXCBaYJaDYIX
X-IronPort-AV: E=Sophos;i="4.80,487,1344211200";  d="scan'208,217";a="125105265"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by rcdn-iport-1.cisco.com with ESMTP; 26 Sep 2012 03:03:38 +0000
Received: from xhc-rcd-x13.cisco.com (xhc-rcd-x13.cisco.com [173.37.183.87]) by rcdn-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id q8Q33cwK002955 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 26 Sep 2012 03:03:38 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.159]) by xhc-rcd-x13.cisco.com ([173.37.183.87]) with mapi id 14.02.0298.004; Tue, 25 Sep 2012 22:03:37 -0500
From: "Scott Fluhrer (sfluhrer)" <sfluhrer@cisco.com>
To: "David W. Kravitz" <dkravitz@trustcentral.com>, "'Dan Brown'" <dbrown@certicom.com>, "'Igoe, Kevin M.'" <kmigoe@nsa.gov>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
Thread-Index: AQJZjD1WbN3mB22kfgMwgvHZe2e5lAHYBuGklmuTzgCAB1BZIIAAagSAgAAdzwCAAEEmgIABMZGAgAAW7oCAAFRaEA==
Date: Wed, 26 Sep 2012 03:03:36 +0000
Message-ID: <A113ACFD9DF8B04F96395BDEACB34042136CAF@xmb-rcd-x04.cisco.com>
References: <CC7768A9.EDA64%mcgrew@cisco.com> <9745FE04-5A2C-4D38-9D34-AFF3A2EC54C6@callas.org> <002801cd96b7$b7c38c80$274aa580$@trustcentral.com> <3C4AAD4B5304AB44A6BA85173B4675CA17687160@MSMR-GH1-UEA03.corp.nsa.gov> <000601cd9a69$897d3460$9c779d20$@trustcentral.com> <3C4AAD4B5304AB44A6BA85173B4675CA176901BE@MSMR-GH1-UEA03.corp.nsa.gov> <002901cd9a99$070dc870$15295950$@trustcentral.com> <810C31990B57ED40B2062BA10D43FBF50BA17E@XMB111CNC.rim.net> <001801cd9b3d$40f6aa30$c2e3fe90$@trustcentral.com>
In-Reply-To: <001801cd9b3d$40f6aa30$c2e3fe90$@trustcentral.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.32.244.82]
x-tm-as-product-ver: SMEX-10.2.0.1135-7.000.1014-19208.004
x-tm-as-result: No--28.213500-8.000000-31
x-tm-as-user-approved-sender: No
x-tm-as-user-blocked-sender: No
Content-Type: multipart/alternative; boundary="_000_A113ACFD9DF8B04F96395BDEACB34042136CAFxmbrcdx04ciscocom_"
MIME-Version: 1.0
Cc: "john.kelsey@nist.gov" <john.kelsey@nist.gov>, "David McGrew \(mcgrew\)" <mcgrew@cisco.com>, "lily.chen@nist.gov" <lily.chen@nist.gov>
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Sep 2012 03:03:41 -0000

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



From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf Of Dav=
id W. Kravitz
Sent: Tuesday, September 25, 2012 12:46 PM
To: 'Dan Brown'; 'Igoe, Kevin M.'; cfrg@irtf.org
Cc: john.kelsey@nist.gov; David McGrew (mcgrew); lily.chen@nist.gov
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA D=
igital Signature Algorithms

Hi Dan and all,

I can actually see a potential non- anonymity-related downside of the featu=
re of having the same signature per message (which unlike the anonymity iss=
ue applies equally to DSA and ECDSA): If a system is configured so as to re=
ject duplicate signatures as potential fraudulent replays, legitimate dupli=
cates could also be rejected. Such a system configuration might be more tha=
n hypothetical, in that (as far as I know) an adversary without knowledge o=
f the private key 'x' cannot feasibly generate additional distinct DSA/ECDS=
A signatures that are not in the set of signatures for that message that th=
e adversary already has available.

That last part is false for ECDSA; if (r, s) is a valid signature for a mes=
sage H and public key PK, then (r, n-s) is also a valid signature for the m=
essage H and public key PK (where n is the order of the curve).




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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:m=3D"http://schema=
s.microsoft.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html=
40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.apple-tab-span
	{mso-style-name:apple-tab-span;}
span.EmailStyle20
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle21
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle25
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle26
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle27
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> cfrg-bou=
nces@irtf.org [mailto:cfrg-bounces@irtf.org]
<b>On Behalf Of </b>David W. Kravitz<br>
<b>Sent:</b> Tuesday, September 25, 2012 12:46 PM<br>
<b>To:</b> 'Dan Brown'; 'Igoe, Kevin M.'; cfrg@irtf.org<br>
<b>Cc:</b> john.kelsey@nist.gov; David McGrew (mcgrew); lily.chen@nist.gov<=
br>
<b>Subject:</b> Re: [Cfrg] call for review: Deterministic Usage of DSA and =
ECDSA Digital Signature Algorithms<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Dan and all,<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I can actually see a pote=
ntial non- anonymity-related
<i>downside</i> of the feature of having the same signature per message (wh=
ich unlike the anonymity issue applies equally to DSA and ECDSA): If a syst=
em is configured so as to reject duplicate signatures as potential fraudule=
nt replays, legitimate duplicates
 could also be rejected. Such a system configuration might be more than hyp=
othetical, in that (as far as I know) an adversary without knowledge of the=
 private key &#8216;x&#8217; cannot feasibly generate additional distinct D=
SA/ECDSA signatures that are not in the set
 of signatures for that message that the adversary already has available.<o=
:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">That last part is false for=
 ECDSA; if (r, s) is a valid signature for a message H and public key PK, t=
hen (r, n-s) is also a valid signature for the message H
 and public key PK (where n is the order of the curve).<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
</div>
</body>
</html>

--_000_A113ACFD9DF8B04F96395BDEACB34042136CAFxmbrcdx04ciscocom_--

From dkravitz@trustcentral.com  Tue Sep 25 22:49:23 2012
Return-Path: <dkravitz@trustcentral.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A77CB21F86E3 for <cfrg@ietfa.amsl.com>; Tue, 25 Sep 2012 22:49:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.907
X-Spam-Level: 
X-Spam-Status: No, score=-1.907 tagged_above=-999 required=5 tests=[AWL=0.691,  BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IFa627nBI7T5 for <cfrg@ietfa.amsl.com>; Tue, 25 Sep 2012 22:49:21 -0700 (PDT)
Received: from vms173009pub.verizon.net (vms173009pub.verizon.net [206.46.173.9]) by ietfa.amsl.com (Postfix) with ESMTP id AD8B621F87B6 for <cfrg@irtf.org>; Tue, 25 Sep 2012 22:49:21 -0700 (PDT)
Received: from hatemtlaptop ([unknown] [173.66.52.63]) by vms173009.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MAY0045W05RU470@vms173009.mailsrvcs.net> for cfrg@irtf.org; Wed, 26 Sep 2012 00:49:04 -0500 (CDT)
From: "David W. Kravitz" <dkravitz@trustcentral.com>
To: "'Scott Fluhrer \(sfluhrer\)'" <sfluhrer@cisco.com>, "'Dan Brown'" <dbrown@certicom.com>, "'Igoe, Kevin M.'" <kmigoe@nsa.gov>, <cfrg@irtf.org>
References: <CC7768A9.EDA64%mcgrew@cisco.com> <9745FE04-5A2C-4D38-9D34-AFF3A2EC54C6@callas.org> <002801cd96b7$b7c38c80$274aa580$@trustcentral.com> <3C4AAD4B5304AB44A6BA85173B4675CA17687160@MSMR-GH1-UEA03.corp.nsa.gov> <000601cd9a69$897d3460$9c779d20$@trustcentral.com> <3C4AAD4B5304AB44A6BA85173B4675CA176901BE@MSMR-GH1-UEA03.corp.nsa.gov> <002901cd9a99$070dc870$15295950$@trustcentral.com> <810C31990B57ED40B2062BA10D43FBF50BA17E@XMB111CNC.rim.net> <001801cd9b3d$40f6aa30$c2e3fe90$@trustcentral.com> <A113ACFD9DF8B04F96395BDEACB34042136CAF@xmb-rcd-x04.cisco.com>
In-reply-to: <A113ACFD9DF8B04F96395BDEACB34042136CAF@xmb-rcd-x04.cisco.com>
Date: Wed, 26 Sep 2012 01:49:01 -0400
Message-id: <000301cd9baa$a1da5b40$e58f11c0$@trustcentral.com>
MIME-version: 1.0
Content-type: multipart/alternative; boundary="----=_NextPart_000_0004_01CD9B89.1ACB0530"
X-Mailer: Microsoft Outlook 14.0
Thread-index: AQJZjD1WbN3mB22kfgMwgvHZe2e5lAHYBuGkAN83IhkCSTqTvgGB4PPAAV1JojICFAfetQHTGd8mAliERmcCEaUc3pYCsXLw
Content-language: en-us
Cc: john.kelsey@nist.gov, "'David McGrew \(mcgrew\)'" <mcgrew@cisco.com>, lily.chen@nist.gov
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Sep 2012 05:49:23 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0004_01CD9B89.1ACB0530
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi Scott,

 

Dan Brown made that point to the Cfrg list earlier today (where I suppose
that a quick summary of the reasoning is that (-s^-1) = -(s^-1) and the
additive inverse of an elliptic curve point (x, y) is (x, -y), which both
have the same x coordinate, where r is derived by taking the x coordinate of
the point). While he suggested, in part, that ".one can choose a canonical
choice of the two candidate ECDSA signatures, say the one with smaller s
value, and define it as valid, and the other as invalid," I think that an
alternative solution would be to reject repeat 'r' values and to ignore 's'
in that determination. With a non-deterministic generation of 'k' method,
'k' should not repeat (where if it does and is used with a distinct 'm' the
private key 'x' is exposed anyway). While it is possible for 'r' to repeat
even if 'k' does not, that is highly unlikely to occur.

 

Thanks,

David

 

From: Scott Fluhrer (sfluhrer) [mailto:sfluhrer@cisco.com] 
Sent: Tuesday, September 25, 2012 11:04 PM
To: David W. Kravitz; 'Dan Brown'; 'Igoe, Kevin M.'; cfrg@irtf.org
Cc: john.kelsey@nist.gov; David McGrew (mcgrew); lily.chen@nist.gov
Subject: RE: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA
Digital Signature Algorithms

 

 

 

From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf Of
David W. Kravitz
Sent: Tuesday, September 25, 2012 12:46 PM
To: 'Dan Brown'; 'Igoe, Kevin M.'; cfrg@irtf.org
Cc: john.kelsey@nist.gov; David McGrew (mcgrew); lily.chen@nist.gov
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA
Digital Signature Algorithms

 

Hi Dan and all,

 

I can actually see a potential non- anonymity-related downside of the
feature of having the same signature per message (which unlike the anonymity
issue applies equally to DSA and ECDSA): If a system is configured so as to
reject duplicate signatures as potential fraudulent replays, legitimate
duplicates could also be rejected. Such a system configuration might be more
than hypothetical, in that (as far as I know) an adversary without knowledge
of the private key 'x' cannot feasibly generate additional distinct
DSA/ECDSA signatures that are not in the set of signatures for that message
that the adversary already has available.

 

That last part is false for ECDSA; if (r, s) is a valid signature for a
message H and public key PK, then (r, n-s) is also a valid signature for the
message H and public key PK (where n is the order of the curve).

 

 

 


------=_NextPart_000_0004_01CD9B89.1ACB0530
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.apple-tab-span
	{mso-style-name:apple-tab-span;}
span.EmailStyle20
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle21
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle25
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle26
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle27
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle28
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Hi Scott,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Dan Brown made that point to the Cfrg list earlier today (where I =
suppose that a quick summary of the reasoning is that (-s^-1) =3D =
-(s^-1) and the additive inverse of an elliptic curve point (x, y) is =
(x, -y), which both have the same x coordinate, where r is derived by =
taking the x coordinate of the point). While he suggested, in part, that =
&#8220;&#8230;one can choose a canonical choice of the two candidate =
ECDSA signatures, say the one with smaller s value, and define it as =
valid, and the other as invalid,&#8221; I think that an alternative =
solution would be to reject repeat &#8216;r&#8217; values and to ignore =
&#8216;s&#8217; in that determination. With a non-deterministic =
generation of &#8216;k&#8217; method, &#8216;k&#8217; should not repeat =
(where if it does and is used with a distinct &#8216;m&#8217; the =
private key &#8216;x&#8217; is exposed anyway). While it is possible for =
&#8216;r&#8217; to repeat even if &#8216;k&#8217; does not, that is =
highly unlikely to occur.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Thanks,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>David<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Scott Fluhrer (sfluhrer) [mailto:sfluhrer@cisco.com] <br><b>Sent:</b> =
Tuesday, September 25, 2012 11:04 PM<br><b>To:</b> David W. Kravitz; =
'Dan Brown'; 'Igoe, Kevin M.'; cfrg@irtf.org<br><b>Cc:</b> =
john.kelsey@nist.gov; David McGrew (mcgrew); =
lily.chen@nist.gov<br><b>Subject:</b> RE: [Cfrg] call for review: =
Deterministic Usage of DSA and ECDSA Digital Signature =
Algorithms<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
<a href=3D"mailto:cfrg-bounces@irtf.org">cfrg-bounces@irtf.org</a> <a =
href=3D"mailto:[mailto:cfrg-bounces@irtf.org]">[mailto:cfrg-bounces@irtf.=
org]</a> <b>On Behalf Of </b>David W. Kravitz<br><b>Sent:</b> Tuesday, =
September 25, 2012 12:46 PM<br><b>To:</b> 'Dan Brown'; 'Igoe, Kevin M.'; =
<a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a><br><b>Cc:</b> <a =
href=3D"mailto:john.kelsey@nist.gov">john.kelsey@nist.gov</a>; David =
McGrew (mcgrew); <a =
href=3D"mailto:lily.chen@nist.gov">lily.chen@nist.gov</a><br><b>Subject:<=
/b> Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA =
Digital Signature Algorithms<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Hi Dan and all,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I can actually see a potential non- anonymity-related <i>downside</i> =
of the feature of having the same signature per message (which unlike =
the anonymity issue applies equally to DSA and ECDSA): If a system is =
configured so as to reject duplicate signatures as potential fraudulent =
replays, legitimate duplicates could also be rejected. Such a system =
configuration might be more than hypothetical, in that (as far as I =
know) an adversary without knowledge of the private key &#8216;x&#8217; =
cannot feasibly generate additional distinct DSA/ECDSA signatures that =
are not in the set of signatures for that message that the adversary =
already has available.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'=
>That last part is false for ECDSA; if (r, s) is a valid signature for a =
message H and public key PK, then (r, n-s) is also a valid signature for =
the message H and public key PK (where n is the order of the =
curve).<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p></div></body></html>
------=_NextPart_000_0004_01CD9B89.1ACB0530--


From dkravitz@trustcentral.com  Thu Sep 27 09:28:19 2012
Return-Path: <dkravitz@trustcentral.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B47F621F847A for <cfrg@ietfa.amsl.com>; Thu, 27 Sep 2012 09:28:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.17
X-Spam-Level: 
X-Spam-Status: No, score=-1.17 tagged_above=-999 required=5 tests=[AWL=-0.061,  BAYES_05=-1.11, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cfqPEasl-qkL for <cfrg@ietfa.amsl.com>; Thu, 27 Sep 2012 09:28:17 -0700 (PDT)
Received: from vms173005pub.verizon.net (vms173005pub.verizon.net [206.46.173.5]) by ietfa.amsl.com (Postfix) with ESMTP id 789C821F8487 for <cfrg@irtf.org>; Thu, 27 Sep 2012 09:28:17 -0700 (PDT)
Received: from hatemtlaptop ([unknown] [173.66.52.63]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MB000ENOOEDM5A0@vms173005.mailsrvcs.net> for cfrg@irtf.org; Thu, 27 Sep 2012 11:27:54 -0500 (CDT)
From: "David W. Kravitz" <dkravitz@trustcentral.com>
To: "'Igoe, Kevin M.'" <kmigoe@nsa.gov>, "'Dan Brown'" <dbrown@certicom.com>,  <cfrg@irtf.org>
References: <CC7768A9.EDA64%mcgrew@cisco.com> <9745FE04-5A2C-4D38-9D34-AFF3A2EC54C6@callas.org> <002801cd96b7$b7c38c80$274aa580$@trustcentral.com> <3C4AAD4B5304AB44A6BA85173B4675CA17687160@MSMR-GH1-UEA03.corp.nsa.gov> <000601cd9a69$897d3460$9c779d20$@trustcentral.com> <3C4AAD4B5304AB44A6BA85173B4675CA176901BE@MSMR-GH1-UEA03.corp.nsa.gov> <002901cd9a99$070dc870$15295950$@trustcentral.com> <810C31990B57ED40B2062BA10D43FBF50BA17E@XMB111CNC.rim.net> <3C4AAD4B5304AB44A6BA85173B4675CA17695419@MSMR-GH1-UEA03.corp.nsa.gov>
In-reply-to: 
Date: Thu, 27 Sep 2012 12:27:48 -0400
Message-id: <000301cd9ccd$0a904c30$1fb0e490$@trustcentral.com>
MIME-version: 1.0
Content-type: multipart/alternative; boundary="----=_NextPart_000_0004_01CD9CAB.837FBDA0"
X-Mailer: Microsoft Outlook 14.0
Thread-index: AQJZjD1WbN3mB22kfgMwgvHZe2e5lAHYBuGkAN83IhkCSTqTvgGB4PPAAV1JojICFAfetQHTGd8mAU9Hh/GWHcKC0IAADKhw
Content-language: en-us
Cc: john.kelsey@nist.gov, mcgrew@cisco.com, lily.chen@nist.gov
Subject: Re: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA Digital Signature Algorithms
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Sep 2012 16:28:19 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0004_01CD9CAB.837FBDA0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Kevin,

 

Regarding "If the report is signed with an RSA signature, even the signature
stays constant.," this gets us back to the issue I mentioned in my initial
comments on the I-D regarding side-channel attacks. See, for example,
"Weaknesses in Current RSA Signature Schemes," Juliane Kramer Dmitry
Nedospasov Jean-Pierre Seifert, ICISC 2011, http://nedos.net/icisc2011.pdf,
which exploits constant (and therefore fixed-per-message-) RSA signature
padding. Also, http://www.rsa.com/rsalabs/node.asp?id=2005 mentions that
"Another advantage of RSA-PSS is that, due to the randomization, an attacker
does not know in advance what the encoded message EM will be. This makes
"fault analysis" attacks of the sort proposed by Bellcore a few years ago
more difficult to mount (see the RSA Laboratories' Bulletin No. 5)."

 

Thanks,
David

 

From: Igoe, Kevin M. [mailto:kmigoe@nsa.gov] 
Sent: Tuesday, September 25, 2012 2:12 PM
To: 'Dan Brown'; 'David W. Kravitz'; cfrg@irtf.org
Cc: john.kelsey@nist.gov; mcgrew@cisco.com; lily.chen@nist.gov
Subject: RE: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA
Digital Signature Algorithms

 

Can somebody please articulate the benefit of the feature of having the same
signature per message?  Perhaps the I-D itself should elaborate on this
point. Is it just that some protocol picked some signature scheme with this
deterministic feature, and then the protocol decided to rely on this
feature, e.g. by using the signature as an stable index for the message?  

 

I'll give this a shot.  Warning: this is all based on a side comment thrown
into a 

conversation concerning obstacles to the adoption of ECDSA signatures.  It
concerns 

BGPsec, which I believe falls under the SIDR WG.

 

BGP will often get duplicate reports from a given neighbor  because the
local configuration 

hasn't changed since the last report.  If the report is signed with an RSA
signature, even the

signature stays constant, so it's simple to see this is the same message is
the same as the last one

& there is no need to verify any signature.  But using ECDSA, the signature
field will (potentially) 

change even if nothing else has, forcing a signature verification.

 

One way to side step the issue is to use deterministic ECDSA.  Another would
be for the sender to 

keep track of the last signed report it sent and, if nothing has changed,
resend the same report.   

 

(I haven't paid much attention to the current state of the BGPsec
discussions and its threat models, but 

a priori I think I'd  want a timestamp of some sort to prevent replay. That
would mean that the report 

would always be changing and a signature verification would always need to
be done).

 

Again, this is all of this is second or third hand,  a quick glance at the
SIDR mailing list didn't provide any 

relevant information.

 


------=_NextPart_000_0004_01CD9CAB.837FBDA0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.apple-tab-span
	{mso-style-name:apple-tab-span;}
span.EmailStyle21
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle25
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle26
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle27
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle28
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle29
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Kevin,<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Regarding &#8220;If the report is signed with an RSA signature, even =
the signature stays constant&#8230;,&#8221; this gets us back to the =
issue I mentioned in my initial comments on the I-D regarding =
side-channel attacks. See, for example, &#8220;Weaknesses in Current RSA =
Signature Schemes,&#8221; Juliane Kramer Dmitry Nedospasov Jean-Pierre =
Seifert, ICISC 2011, <a =
href=3D"http://nedos.net/icisc2011.pdf">http://nedos.net/icisc2011.pdf</a=
>, which exploits </span><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>constant (and therefore </span><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>fixed-per-message-</span><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>)</span><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'> RSA signature padding.</span><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'> Also, <a =
href=3D"http://www.rsa.com/rsalabs/node.asp?id=3D2005">http://www.rsa.com=
/rsalabs/node.asp?id=3D2005</a> mentions that &#8220;Another advantage =
of RSA-PSS is that, due to the randomization, an attacker does not know =
in advance what the encoded message EM will be. This makes &quot;fault =
analysis&quot; attacks of the sort proposed by Bellcore a few years ago =
more difficult to mount (see the RSA Laboratories&#8217; Bulletin No. =
5).&#8221;</span><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Thanks,<br>David<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
Igoe, Kevin M. <a =
href=3D"mailto:[mailto:kmigoe@nsa.gov]">[mailto:kmigoe@nsa.gov]</a> =
<br><b>Sent:</b> Tuesday, September 25, 2012 2:12 PM<br><b>To:</b> 'Dan =
Brown'; 'David W. Kravitz'; <a =
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a><br><b>Cc:</b> <a =
href=3D"mailto:john.kelsey@nist.gov">john.kelsey@nist.gov</a>; <a =
href=3D"mailto:mcgrew@cisco.com">mcgrew@cisco.com</a>; <a =
href=3D"mailto:lily.chen@nist.gov">lily.chen@nist.gov</a><br><b>Subject:<=
/b> RE: [Cfrg] call for review: Deterministic Usage of DSA and ECDSA =
Digital Signature Algorithms<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal =
style=3D'margin-left:5.25pt'><i><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Can somebody please articulate the benefit of the feature of having =
the same signature per message? &nbsp;Perhaps the I-D itself should =
elaborate on this point. Is it just that some protocol picked some =
signature scheme with this deterministic feature, and then the protocol =
decided to rely on this feature, e.g. by using the signature as an =
stable index for the message?&nbsp; <o:p></o:p></span></i></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I&#8217;ll give this a shot.&nbsp; Warning: this is all based on a =
side comment thrown into a <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>conversation concerning obstacles to the adoption of ECDSA =
signatures.&nbsp; It concerns <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>BGPsec, which I believe falls under the SIDR =
WG.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>BGP will often get duplicate reports from a given neighbor =
&nbsp;because the local configuration <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>hasn&#8217;t changed since the last report.&nbsp; If the report is =
signed with an RSA signature, even the<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>signature stays constant, so it&#8217;s simple to see this is the =
same message is the same as the last one<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&amp; there is no need to verify any signature.&nbsp; But using =
ECDSA, the signature field will (potentially) <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>change even if nothing else has, forcing a signature =
verification.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>One way to side step the issue is to use deterministic ECDSA.&nbsp; =
Another would be for the sender to <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>keep track of the last signed report it sent and, if nothing has =
changed, resend the same report. &nbsp;&nbsp;<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>(I haven&#8217;t paid much attention to the current state of the =
BGPsec discussions and its threat models, but <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>a priori I think I&#8217;d &nbsp;want a timestamp of some sort to =
prevent replay. That would mean that the report <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>would always be changing and a signature verification would always =
need to be done).<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Again, this is all of this is second or third hand, &nbsp;a quick =
glance at the SIDR mailing list didn&#8217;t provide any =
<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>relevant information.<o:p></o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></body></html>
------=_NextPart_000_0004_01CD9CAB.837FBDA0--


From Joachim@Strombergson.com  Fri Sep 28 05:52:57 2012
Return-Path: <Joachim@Strombergson.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2605221F84DD for <cfrg@ietfa.amsl.com>; Fri, 28 Sep 2012 05:52:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.885
X-Spam-Level: 
X-Spam-Status: No, score=-0.885 tagged_above=-999 required=5 tests=[BAYES_40=-0.185, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eK8qOMqQXzRs for <cfrg@ietfa.amsl.com>; Fri, 28 Sep 2012 05:52:56 -0700 (PDT)
Received: from susano.oderland.com (susano.oderland.com [91.201.63.143]) by ietfa.amsl.com (Postfix) with ESMTP id 4EE1421F84CD for <cfrg@irtf.org>; Fri, 28 Sep 2012 05:52:55 -0700 (PDT)
Received: from 2.67.227.87.static.g-sn.siw.siwnet.net ([87.227.67.2]:33902 helo=tunnis.local) by susano.oderland.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77) (envelope-from <Joachim@Strombergson.com>) id 1THa3l-000bMS-M5 for cfrg@irtf.org; Fri, 28 Sep 2012 14:52:49 +0200
Message-ID: <50659DA1.70608@Strombergson.com>
Date: Fri, 28 Sep 2012 14:52:49 +0200
From: =?UTF-8?B?Sm9hY2hpbSBTdHLDtm1iZXJnc29u?= <Joachim@Strombergson.com>
Organization: Kryptologik
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: cfrg@irtf.org
References: <87bogv4udy.fsf@latte.josefsson.org>
In-Reply-To: <87bogv4udy.fsf@latte.josefsson.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - susano.oderland.com
X-AntiAbuse: Original Domain - irtf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - Strombergson.com
Subject: Re: [Cfrg] scrypt password-based key derivation function
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: Joachim@Strombergson.com
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Sep 2012 12:52:57 -0000

Aloha!

On 2012-09-24 11:55 , Simon Josefsson wrote:
> Colin and I have published a draft describing Colin's scrypt key
> derivation function.  We would appreciate review of the document:
>
> http://tools.ietf.org/html/draft-josefsson-scrypt-kdf

Great initiative and good work! I'm trying to follow the draft and build 
an implementation just to see if I can understand it. One thing that 
caught me is the test vectors for Salsa20 in chapter 7.

First off, Sals20 as defined on the DJB page you point to 
(http://cr.yp.to/salsa20.html) works in arrays of 16 uint32_t values. 
The vectors you provide are in byte form. I'm probably thick, but for me 
it is not 100% non ambigious how to combine the bytes into the correct 
sequence of words.

You could also mabye add another set of vectors where all but one byte 
is zero, alternatively that the first 32 bits are all set and the rest 
is all zero. This would help out debugging the endianess/ordering.

-- 
Med vänlig hälsning, Yours

Joachim Strömbergson - Alltid i harmonisk svängning.
========================================================================

