
From nobody Fri Jun  2 13:06:31 2017
Return-Path: <Michael.Jones@microsoft.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 CF862128BBB for <cfrg@ietfa.amsl.com>; Fri,  2 Jun 2017 13:06:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.801
X-Spam-Level: 
X-Spam-Status: No, score=-4.801 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LFKnOAjK09_9 for <cfrg@ietfa.amsl.com>; Fri,  2 Jun 2017 13:06:27 -0700 (PDT)
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0118.outbound.protection.outlook.com [104.47.36.118]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AAF0712954D for <cfrg@irtf.org>; Fri,  2 Jun 2017 13:06:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=zdLyDHK4AawmkxsiI+tfCj1Dylt3JXyqSRE75FIh9LQ=; b=o43VyS59y5c3nrXmnoz6rJe7NVR7DDfzfAjw1uYM2fAePoh8md290vIfPmnFUlQNZns/VrARMO32wS39zEtPWdXLtqUvMZ9/kHBg+OLiY2ae+TE8AbPREurVR2YT3gNRLXUuJ++ynUd4u9xPZwXgJ++Ol1vmJH3wp8JSUAAwKTA=
Received: from CY4PR21MB0504.namprd21.prod.outlook.com (10.172.122.14) by CY4PR21MB0151.namprd21.prod.outlook.com (10.173.189.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.1; Fri, 2 Jun 2017 20:06:25 +0000
Received: from CY4PR21MB0504.namprd21.prod.outlook.com ([10.172.122.14]) by CY4PR21MB0504.namprd21.prod.outlook.com ([10.172.122.14]) with mapi id 15.01.1157.006; Fri, 2 Jun 2017 20:06:25 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
CC: Steve KENT <steve.kent@raytheon.com>
Thread-Topic: Reference for hash substitution attack against RSASSA-PSS and its mitigation
Thread-Index: AdLb26Zx24x4lnXmRNe6X+ajH2VGUA==
Date: Fri, 2 Jun 2017 20:06:25 +0000
Message-ID: <CY4PR21MB050485ED3B9A02F48EC2E81EF5F70@CY4PR21MB0504.namprd21.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Ref=https://api.informationprotection.azure.com/api/72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetBy=mbj@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2017-06-02T13:06:19.6021399-07:00; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic; Sensitivity=General
authentication-results: irtf.org; dkim=none (message not signed) header.d=none;irtf.org; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [2001:4898:80e8:4::36]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; CY4PR21MB0151; 7:++3f8AQXI8LblUKUwYu0qICcmTRDvO6p0vKifinTI0Ksfcz/+rymG16vb6gES/ymZHvbtP2nKZX7aDqTiSI12Bb6ZKjR650iGEaGgeTv9LvWCn46TqyccfW5YQgNmRYujGo702fKzwMZHKHCKNX7m8Fj4M3Kq6mZzjCY6tXwpiNrKXtWXLPCk0iTPSzGxe4AkmewW6uJW3ylIyV+5ujfjB0AMdKTyroAJ0Vri2i5/vxeHOYt11sFrK4vZV2fPyqzBxpUTecopvY2n1/T2dusHB60v+Xee1+nW5VNb/OHq/T30Ee7hJSrw7l2u/69jiJGqmLRhBNBGahP3PYrCzO88SFlHPOeCE3u/nwE6D/BL34=
x-ms-traffictypediagnostic: CY4PR21MB0151:
x-ms-office365-filtering-correlation-id: 2bd67771-dc8a-41a4-c020-08d4a9f2d954
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081);  SRVR:CY4PR21MB0151; 
x-microsoft-antispam-prvs: <CY4PR21MB01512AA6B665021576D1F4B8F5F70@CY4PR21MB0151.namprd21.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(61425038)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6055026)(61426038)(61427038)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123555025)(20161123562025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR21MB0151; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR21MB0151; 
x-forefront-prvs: 03264AEA72
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39840400002)(39450400003)(39860400002)(39400400002)(39850400002)(39410400002)(5630700001)(53936002)(2906002)(5660300001)(3280700002)(3660700001)(86612001)(74316002)(33656002)(7736002)(25786009)(86362001)(54896002)(10090500001)(6306002)(6506006)(77096006)(5640700003)(4326008)(5005710100001)(6916009)(8990500004)(9686003)(99286003)(6436002)(55016002)(2351001)(1730700003)(81156014)(81166006)(54356999)(8936002)(8676002)(122556002)(2900100001)(558084003)(50986999)(10290500003)(14454004)(72206003)(2501003)(110136004)(38730400002)(6116002)(102836003)(189998001)(790700001)(7696004)(478600001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR21MB0151; H:CY4PR21MB0504.namprd21.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_CY4PR21MB050485ED3B9A02F48EC2E81EF5F70CY4PR21MB0504namp_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jun 2017 20:06:25.7280 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0151
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/p11bCBYSxrcW1YBTUoDkhpvnCf0>
Subject: [Cfrg] Reference for hash substitution attack against RSASSA-PSS and its mitigation
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Jun 2017 20:06:30 -0000

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

Is there a paper that describes the theoretical hash substitution attacks a=
gainst RSASSA-PSS and how they are mitigated?

                                                                Thanks,
                                                                -- Mike


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Is there a paper that describes the theoretical hash=
 substitution attacks against RSASSA-PSS and how they are mitigated?<o:p></=
o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; Thanks,<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_CY4PR21MB050485ED3B9A02F48EC2E81EF5F70CY4PR21MB0504namp_--


From nobody Sun Jun  4 12:28:49 2017
Return-Path: <Kenny.Paterson@rhul.ac.uk>
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 2C37F129C6F for <cfrg@ietfa.amsl.com>; Sun,  4 Jun 2017 12:28:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.021
X-Spam-Level: 
X-Spam-Status: No, score=-0.021 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=rhul.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GAK_XWGohJkf for <cfrg@ietfa.amsl.com>; Sun,  4 Jun 2017 12:28:45 -0700 (PDT)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0076.outbound.protection.outlook.com [104.47.2.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D1261129C6C for <cfrg@irtf.org>; Sun,  4 Jun 2017 12:28:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhul.onmicrosoft.com;  s=selector1-rhul-ac-uk; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=pdzyZD3wKeElmMMQI4CIm2xrgP299nTLBWXqHSmEuls=; b=3S0Qb6tKMunGJKIyFit/CiO/OR97WUnVulDGc+3iVUD9PcxzNe+9CqJtdZkz4+HLYVASs8XR72FwekCM13pDU+cnYlk5j3ic9Q71DTtns+hnkRIOdYAYZKKZW7ZNGBkRgPWMxF+XwDq6vueaNWJqZoHdqsUCbPexu+ff+a3qVcw=
Received: from AM4PR0301MB1906.eurprd03.prod.outlook.com (10.168.2.156) by AM4PR0301MB1906.eurprd03.prod.outlook.com (10.168.2.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Sun, 4 Jun 2017 19:28:42 +0000
Received: from AM4PR0301MB1906.eurprd03.prod.outlook.com ([fe80::9dfc:6390:892b:6c59]) by AM4PR0301MB1906.eurprd03.prod.outlook.com ([fe80::9dfc:6390:892b:6c59%14]) with mapi id 15.01.1143.016; Sun, 4 Jun 2017 19:28:42 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Mike Jones <Michael.Jones@microsoft.com>, "cfrg@irtf.org" <cfrg@irtf.org>
CC: Steve KENT <steve.kent@raytheon.com>
Thread-Topic: [Cfrg] Reference for hash substitution attack against RSASSA-PSS and its mitigation
Thread-Index: AQHS3WjG4Nl2YzYgAEC1Bs76jiQZZA==
Date: Sun, 4 Jun 2017 19:28:41 +0000
Message-ID: <D55A1D7D.94F54%kenny.paterson@rhul.ac.uk>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.7.1.161129
authentication-results: microsoft.com; dkim=none (message not signed) header.d=none;microsoft.com; dmarc=none action=none header.from=rhul.ac.uk;
x-originating-ip: [78.146.52.40]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM4PR0301MB1906; 7:docoeYCpAI/5jXydQunHIFZ7awH0V4U6XnprV3ik101TMJWYymPtSBGSHbkJ+O8vBIDABlfA1dfBezldut86TGL9tIYU/wDowVx/s3AzapyvcrQB8Rc7Dcyo7sM0czvQQrbGBigx24uYd6KUv95inWkZSeKgZCeQ94+6UHyCo8u6MggvSMDA0LA8rM1AVBh6yiEOHsfXkvwLUyvptjbYsiQcZtPcHqgojRFGAJGQvqWrLQDj61egQU99U01xPtEMaAZcngHzqn4ucS+vIblUbAPbGtFHX8Qc0ejiBYTlsLfzqpSbm7DIyknXmTVP4rR8z2bUK54TqR6d2EDS0SgXMg==
x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10009020)(6009001)(39410400002)(39400400002)(39850400002)(39840400002)(39450400003)(24454002)(25786009)(478600001)(6506006)(5660300001)(72206003)(6486002)(1511001)(229853002)(53936002)(2900100001)(66066001)(189998001)(6512007)(4001350100001)(99286003)(86362001)(8666007)(36756003)(305945005)(50986999)(54356999)(6246003)(38730400002)(74482002)(5250100002)(8936002)(6436002)(7736002)(53546009)(3280700002)(8676002)(3660700001)(2906002)(3846002)(81166006)(83506001)(6116002)(42882006)(2501003)(4326008)(102836003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0301MB1906; H:AM4PR0301MB1906.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
x-ms-traffictypediagnostic: AM4PR0301MB1906:
x-ms-office365-filtering-correlation-id: ce48df5a-7a17-476b-b819-08d4ab7fe8c5
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:AM4PR0301MB1906; 
x-microsoft-antispam-prvs: <AM4PR0301MB19062329335FBDF5CEA4ED3FBCF50@AM4PR0301MB1906.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(6041248)(20161123560025)(20161123555025)(20161123558100)(20161123562025)(20161123564025)(201703131423075)(201702281529075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM4PR0301MB1906; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM4PR0301MB1906; 
x-forefront-prvs: 03283976A6
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <591DEDECFD86BD46A2711557311E3A49@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jun 2017 19:28:41.9925 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0301MB1906
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/_4K6mB8rESts_HOIlcVl5pjcvq0>
Subject: Re: [Cfrg] Reference for hash substitution attack against RSASSA-PSS and its mitigation
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 04 Jun 2017 19:28:47 -0000

SGkgTWlrZSwNCg0KSSdtIG5vdCBzdXJlIHdoYXQgYXR0YWNrcyB5b3UncmUgcmVmZXJyaW5nIHRv
IGhlcmUsIHNvIGNvdWxkIHlvdSBicmllZmx5DQpzdW1tYXJpc2UgdGhlbSBmb3IgbWU/IFRoYXQg
bWlnaHQgaGVscCBtZSBhbmQgb3RoZXJzIGZpZ3VyZSBvdXQgaWYgdGhlcmUncw0KYSBzdWl0YWJs
ZSByZXNlYXJjaCBwYXBlciB0byBwb2ludCB5b3UgdG93YXJkcy4NCg0KVGhhbmtzLA0KDQpLZW5u
eSANCg0KT24gMDIvMDYvMjAxNyAyMTowNiwgIkNmcmcgb24gYmVoYWxmIG9mIE1pa2UgSm9uZXMi
IDxjZnJnLWJvdW5jZXNAaXJ0Zi5vcmcNCm9uIGJlaGFsZiBvZiBNaWNoYWVsLkpvbmVzQG1pY3Jv
c29mdC5jb20+IHdyb3RlOg0KDQo+SXMgdGhlcmUgYSBwYXBlciB0aGF0IGRlc2NyaWJlcyB0aGUg
dGhlb3JldGljYWwgaGFzaCBzdWJzdGl0dXRpb24gYXR0YWNrcw0KPmFnYWluc3QgUlNBU1NBLVBT
UyBhbmQgaG93IHRoZXkgYXJlIG1pdGlnYXRlZD8NCj4gDQo+ICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFRoYW5rcywNCj4gICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgLS0gTWlrZQ0KPiANCj4NCg0K


From nobody Sun Jun  4 23:05:43 2017
Return-Path: <Michael.Jones@microsoft.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 6ACBD126D85 for <cfrg@ietfa.amsl.com>; Sun,  4 Jun 2017 23:05:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.01
X-Spam-Level: 
X-Spam-Status: No, score=-2.01 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g2sjsPm2J2Ag for <cfrg@ietfa.amsl.com>; Sun,  4 Jun 2017 23:05:40 -0700 (PDT)
Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0131.outbound.protection.outlook.com [104.47.42.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0058D12751F for <cfrg@irtf.org>; Sun,  4 Jun 2017 23:05:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=13ItYYFYd+L/JkvFCEO0VQVntSXaFExoXwq9Lqgmxlc=; b=WVREffygJtmfjlYPSMLbbBc5dY6tkK2rrwIUNNK1DZsyrNYWdEwuzaRJ0OE1MSt5js6xbbrENdOTJ0fAJFPGggADhvkKakLHMJtO1odNfhSgObP8rRqdZvKP68HeG7CTraPuUXOHCOsp4z4BEUvmcRqSTSn5iz7CUAZ0HccgZi4=
Received: from CY4PR21MB0504.namprd21.prod.outlook.com (10.172.122.14) by CY4PR21MB0694.namprd21.prod.outlook.com (10.175.121.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.0; Mon, 5 Jun 2017 06:05:38 +0000
Received: from CY4PR21MB0504.namprd21.prod.outlook.com ([10.172.122.14]) by CY4PR21MB0504.namprd21.prod.outlook.com ([10.172.122.14]) with mapi id 15.01.1178.000; Mon, 5 Jun 2017 06:05:38 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>, "cfrg@irtf.org" <cfrg@irtf.org>
CC: Steve KENT <steve.kent@raytheon.com>
Thread-Topic: [Cfrg] Reference for hash substitution attack against RSASSA-PSS and its mitigation
Thread-Index: AQHS3WjG4Nl2YzYgAEC1Bs76jiQZZKIVx61Q
Date: Mon, 5 Jun 2017 06:05:38 +0000
Message-ID: <CY4PR21MB0504B5B60E6DDBC77C5443B6F5CA0@CY4PR21MB0504.namprd21.prod.outlook.com>
References: <D55A1D7D.94F54%kenny.paterson@rhul.ac.uk>
In-Reply-To: <D55A1D7D.94F54%kenny.paterson@rhul.ac.uk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Ref=https://api.informationprotection.azure.com/api/72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetBy=mbj@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2017-06-04T23:05:36.4802505-07:00; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic; Sensitivity=General
authentication-results: rhul.ac.uk; dkim=none (message not signed) header.d=none;rhul.ac.uk; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [50.47.93.167]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; CY4PR21MB0694; 7:qDt+S7uKfnEI+tIW13CzXgzk7m7TNXgl2Vg3MSWuYvnH7MN0bOIytmdhb5DVQBH0LUzF+QcgAEGrMH4kv0mD2ICmKE8umZzI5aUE48zR5hkpYf17yK0kpSwytAlec0e3WQS3GUVsHgyefp0Hox40e3s4/EChi3V13Q5FPTbvCYPlE3vAeQe5gV5DluzTSUc+M044U1XNcKyphkE4XNFoezzLmUu0+f1Gu9w8NkYLIc5JRhPuKj4fYn3Tx+L9lL3KulYv1tfnOpNF1uFoWgg7bKOn6TCRBS4dCvbsyXznBrxSb7uK3isIjpmo4hvjBeCV9APM8RL+Fz6Bnj8++zo/6krx8NL9gze845P9qGzfvWQ=
x-ms-office365-filtering-correlation-id: fef09226-9c1b-4526-2f4c-08d4abd8e381
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081)(201702281549075); SRVR:CY4PR21MB0694; 
x-ms-traffictypediagnostic: CY4PR21MB0694:
x-microsoft-antispam-prvs: <CY4PR21MB06947DD5DB24C55080908551F5CA0@CY4PR21MB0694.namprd21.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(192374486261705)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(61425038)(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(3002001)(6055026)(61426038)(61427038)(6041248)(20161123560025)(20161123555025)(20161123564025)(20161123558100)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR21MB0694; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR21MB0694; 
x-forefront-prvs: 0329B15C8A
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39850400002)(39410400002)(39400400002)(39840400002)(39860400002)(39450400003)(377454003)(24454002)(13464003)(229853002)(33656002)(2900100001)(76176999)(54356999)(50986999)(6506006)(8676002)(77096006)(6436002)(236005)(9686003)(189998001)(54896002)(6306002)(99286003)(55016002)(8656002)(86362001)(81166006)(5660300001)(66066001)(5005710100001)(10090500001)(122556002)(8936002)(10290500003)(478600001)(74316002)(7736002)(3660700001)(72206003)(14454004)(2906002)(3280700002)(2950100002)(38730400002)(53546009)(25786009)(4326008)(3846002)(6116002)(790700001)(102836003)(7696004)(53936002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR21MB0694; H:CY4PR21MB0504.namprd21.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_CY4PR21MB0504B5B60E6DDBC77C5443B6F5CA0CY4PR21MB0504namp_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2017 06:05:38.1620 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0694
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/tYzmbigkIj1QDCiMfSUbaKc5eHc>
Subject: Re: [Cfrg] Reference for hash substitution attack against RSASSA-PSS and its mitigation
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Jun 2017 06:05:42 -0000

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

VGhpcyB0ZXh0IHdhcyB3cml0dGVuIGZvciBTZWN1cml0eSBDb25zaWRlcmF0aW9ucyBhYm91dCB1
c2luZyBSU0FTU0EtUFNTOg0KDQoNCg0KVGhlcmUgaXMgYSB0aGVvcmV0aWNhbCBoYXNoIHN1YnN0
aXR1dGlvbiBhdHRhY2sgdGhhdCBjYW4gYmUgbW91bnRlZCBhZ2FpbnN0IFJTQVNTQS1QU1MuIEhv
d2V2ZXIsIHRoZSByZXF1aXJlbWVudCB0aGF0IHRoZSBzYW1lIGhhc2ggZnVuY3Rpb24gYmUgdXNl
ZCBjb25zaXN0ZW50bHkgZm9yIGFsbCBvc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pbnN0IFJTQVNTQS1QU1Mg
YW5kIGhvdyB0aGV5IGFyZSBtaXRpZ2F0ZWQ/DQoNCj4NCg0KPiAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBUaGFua3MsDQoNCj4g
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgLS0gTWlrZQ0KDQo+DQoNCj4NCg0KDQo=

--_000_CY4PR21MB0504B5B60E6DDBC77C5443B6F5CA0CY4PR21MB0504namp_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
VFIvUkVDLWh0bWw0MCI+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIg
Y29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjxtZXRhIG5hbWU9IkdlbmVyYXRv
ciIgY29udGVudD0iTWljcm9zb2Z0IFdvcmQgMTUgKGZpbHRlcmVkIG1lZGl1bSkiPg0KPHN0eWxl
PjwhLS0NCi8qIEZvbnQgRGVmaW5pdGlvbnMgKi8NCkBmb250LWZhY2UNCgl7Zm9udC1mYW1pbHk6
IkNhbWJyaWEgTWF0aCI7DQoJcGFub3NlLTE6MiA0IDUgMyA1IDQgNiAzIDIgNDt9DQpAZm9udC1m
YWNlDQoJe2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Qo8L2Rpdj4NCjwvYm9keT4NCjwvaHRtbD4NCg==

--_000_CY4PR21MB0504B5B60E6DDBC77C5443B6F5CA0CY4PR21MB0504namp_--


From nobody Mon Jun  5 07:03:51 2017
Return-Path: <danibrown@blackberry.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 EA8EF129553 for <cfrg@ietfa.amsl.com>; Mon,  5 Jun 2017 07:03:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L_l3faPPm1Z0 for <cfrg@ietfa.amsl.com>; Mon,  5 Jun 2017 07:03:47 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 97B78129649 for <cfrg@irtf.org>; Mon,  5 Jun 2017 07:03:47 -0700 (PDT)
Received: from xct105cnc.rim.net ([10.65.161.205]) by mhs214cnc.rim.net with ESMTP/TLS/DHE-RSA-AES256-SHA; 05 Jun 2017 10:03:46 -0400
Received: from XCT113CNC.rim.net (10.65.161.213) by XCT105CNC.rim.net (10.65.161.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 5 Jun 2017 10:03:45 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT113CNC.rim.net ([::1]) with mapi id 14.03.0319.002; Mon, 5 Jun 2017 10:03:44 -0400
From: Dan Brown <danibrown@blackberry.com>
To: Mike Jones <Michael.Jones@microsoft.com>, "cfrg@irtf.org" <cfrg@irtf.org>
CC: Steve KENT <steve.kent@raytheon.com>
Thread-Topic: Reference for hash substitution attack against RSASSA-PSS and its mitigation
Thread-Index: AdLb26Zx24x4lnXmRNe6X+ajH2VGUACJ9uGQ
Date: Mon, 5 Jun 2017 14:03:43 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF501B1CFB4@XMB116CNC.rim.net>
References: <CY4PR21MB050485ED3B9A02F48EC2E81EF5F70@CY4PR21MB0504.namprd21.prod.outlook.com>
In-Reply-To: <CY4PR21MB050485ED3B9A02F48EC2E81EF5F70@CY4PR21MB0504.namprd21.prod.outlook.com>
Accept-Language: en-US, en-CA
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.250]
Content-Type: multipart/alternative; boundary="_000_810C31990B57ED40B2062BA10D43FBF501B1CFB4XMB116CNCrimnet_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/JycdWrl4OlKAq29nXULe-UZjdiM>
Subject: Re: [Cfrg] Reference for hash substitution attack against RSASSA-PSS and its mitigation
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Jun 2017 14:03:50 -0000

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

Just a guess: perhaps this old presentation by Kaliski:

http://grouper.ieee.org/groups/1363/Research/contributions/HashFunctionFire=
walls.pdf

is relevant?

Probably even more off-topic: as I recall, the standardized version of PSS =
pre-hashes the message, whereas the original academic Bellare-Rogaway versi=
on does not.  The difference between the standard and the academic version =
is a little like the difference between Schnorr and DSA-style signatures.  =
So, for standard PSS, the hash must resist collisions, pre-images, etc., wh=
ereas for the original PSS, perhaps much less is needed from hash (the proo=
f assumes a super-strong hash, of course).  I suppose that this in turn may=
 be a concern for hash substitutions ...

From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Mike Jones
Sent: Friday, June 2, 2017 4:06 PM
To: cfrg@irtf.org
Cc: Steve KENT <steve.kent@raytheon.com>
Subject: [Cfrg] Reference for hash substitution attack against RSASSA-PSS a=
nd its mitigation

Is there a paper that describes the theoretical hash substitution attacks a=
gainst RSASSA-PSS and how they are mitigated?

                                                                Thanks,
                                                                -- Mike


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
	{mso-style-name:msonormal;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.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"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Just a guess: perhaps this old presentation by Kalis=
ki:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><a href=3D"http://grouper.ieee.org/groups/1363/Resea=
rch/contributions/HashFunctionFirewalls.pdf">http://grouper.ieee.org/groups=
/1363/Research/contributions/HashFunctionFirewalls.pdf</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">is relevant?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Probably even more off-topic: as I recall, the stand=
ardized version of PSS pre-hashes the message, whereas the original academi=
c Bellare-Rogaway version does not.&nbsp; The difference between the standa=
rd and the academic version is a little
 like the difference between Schnorr and DSA-style signatures.&nbsp; So, fo=
r standard PSS, the hash must resist collisions, pre-images, etc., whereas =
for the original PSS, perhaps much less is needed from hash (the proof assu=
mes a super-strong hash, of course).&nbsp;
 I suppose that this in turn may be a concern for hash substitutions &#8230=
;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b>From:</b> Cfrg [mailto:cfrg-bounces@irtf.org] <b>=
On Behalf Of
</b>Mike Jones<br>
<b>Sent:</b> Friday, June 2, 2017 4:06 PM<br>
<b>To:</b> cfrg@irtf.org<br>
<b>Cc:</b> Steve KENT &lt;steve.kent@raytheon.com&gt;<br>
<b>Subject:</b> [Cfrg] Reference for hash substitution attack against RSASS=
A-PSS and its mitigation<o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Is there a paper that describes the theoretical hash=
 substitution attacks against RSASSA-PSS and how they are mitigated?<o:p></=
o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; Thanks,<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_810C31990B57ED40B2062BA10D43FBF501B1CFB4XMB116CNCrimnet_--


From nobody Mon Jun  5 07:36:42 2017
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cfrg@ietf.org
Delivered-To: cfrg@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 7098A1294B5; Mon,  5 Jun 2017 07:36:41 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cfrg@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.52.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149667340139.3152.10556340180920549215@ietfa.amsl.com>
Date: Mon, 05 Jun 2017 07:36:41 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/hD1fcImAkNscZDjTOvMe5LR5zXM>
Subject: [Cfrg] I-D Action: draft-irtf-cfrg-re-keying-02.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Jun 2017 14:36:41 -0000

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

        Title           : Re-keying Mechanisms for Symmetric Keys
        Author          : Stanislav Smyshlyaev
	Filename        : draft-irtf-cfrg-re-keying-02.txt
	Pages           : 46
	Date            : 2017-06-05

Abstract:
   If encryption is performed under a single key, there is a certain
   maximum threshold amount of data that can be safely encrypted.  This
   amount is called key lifetime.  This specification contains a
   description of a variety of methods to increase the lifetime of
   symmetric keys.  It provides external and internal re-keying
   mechanisms based on hash functions and on block ciphers that can be
   used with such modes of operations as CTR, GCM, CCM, CBC, CFB, OFB
   and OMAC.


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

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-irtf-cfrg-re-keying-02
https://datatracker.ietf.org/doc/html/draft-irtf-cfrg-re-keying-02

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


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

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


From nobody Thu Jun  8 14:39:37 2017
Return-Path: <housley@vigilsec.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 4399C129508 for <cfrg@ietfa.amsl.com>; Thu,  8 Jun 2017 14:39:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OZM4Zi8PThZ1 for <cfrg@ietfa.amsl.com>; Thu,  8 Jun 2017 14:39:33 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7215E1294FA for <cfrg@ietf.org>; Thu,  8 Jun 2017 14:39:33 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id DD6173004B7 for <cfrg@ietf.org>; Thu,  8 Jun 2017 17:39:32 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id b0twL5_4wczw for <cfrg@ietf.org>; Thu,  8 Jun 2017 17:39:31 -0400 (EDT)
Received: from new-host-6.home (pool-108-45-101-150.washdc.fios.verizon.net [108.45.101.150]) by mail.smeinc.net (Postfix) with ESMTPSA id E27693003FE for <cfrg@ietf.org>; Thu,  8 Jun 2017 17:39:31 -0400 (EDT)
From: Russ Housley <housley@vigilsec.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Thu, 8 Jun 2017 17:39:31 -0400
References: <149667340139.3152.10556340180920549215@ietfa.amsl.com>
To: cfrg@ietf.org
In-Reply-To: <149667340139.3152.10556340180920549215@ietfa.amsl.com>
Message-Id: <89AFF43D-EFE7-4D7F-8ECE-877A4BEBD546@vigilsec.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/ilv4WrhBTPZ1m786-0CgYHdqbAE>
Subject: Re: [Cfrg] I-D Action: draft-irtf-cfrg-re-keying-02.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Jun 2017 21:39:35 -0000

I have a few comments on the most recent version of this document.

Section 1: Please describe parallel and serial re-keying mechanisms in =
the introduction.

Section 1: I think we need to say more about internal re-key when it is =
first introduced.  I suggest:

   This specification presents two approaches that extend the key
   lifetime for a single symmetric key while avoiding renegotiation:=20
   external and internal re-keying.  External re-keying is performed by =
a
   protocol, and it is independent of block cipher, key size, and mode.
   Internal re-keying is built into the mode, and it depends heavily on
   the properties of the block cipher and key size.

Section 1, Last paragraph: Please separate the ideas here.  First, TLS =
1.3 is an example of a protocol with external re-key.  Second, there is =
a discussion of the benefits of re-key.  The first belongs elsewhere.

Section 4 says:

   . . .   External re-
   keying approach is recommended for usage in protocols that process
   quite small messages. . . .=20

It is obvious that the message size can exceed L.  That said, external =
re-keying is also very useful when there are lots of messages or the =
protocol has a way to break a very large message into manageable chunks. =
 Obviously, TCP breaks a very large stream into many manageable chunks.

Section 4, first item number 3 says:

   . . .  provides forward and backward security of session keys . . .

This is only true if the previous traffic keys are securely deleted by =
all parties that have the keys.

Section 5, bottom of page 8:  Wouldn=E2=80=99t it be cleaner to say:

   L =3D min(L1, L2)
   q =3D min(q1, q2)
   q*m <=3D L



Nits:

Please use figure numbers and captions on the illustrations.

Section 1: s/&#1057;/C/

Section 4: s/Homever/However/

Section 4: s/it almost does not affect performance/minimal impact on =
performance/

Section 4: s/sessin keys/session keys/

Section 4: s/always have an access/always has access/


From nobody Wed Jun 14 09:21:34 2017
Return-Path: <b.viguier@science.ru.nl>
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 9ABD012EC80 for <cfrg@ietfa.amsl.com>; Wed, 14 Jun 2017 09:21:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sH5n5nbw0H3t for <cfrg@ietfa.amsl.com>; Wed, 14 Jun 2017 09:21:24 -0700 (PDT)
Received: from smtp1.science.ru.nl (smtp1.science.ru.nl [131.174.16.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2A2F212EC7C for <cfrg@irtf.org>; Wed, 14 Jun 2017 09:21:22 -0700 (PDT)
Received: from [145.116.133.188] (ip-145-116-133-188.wlan-int.ru.nl [145.116.133.188]) (authen=benoit) by smtp1.science.ru.nl (8.14.4/5.32) with ESMTP id v5EGLJ1b019001 for <cfrg@irtf.org>; Wed, 14 Jun 2017 18:21:20 +0200
To: cfrg@irtf.org
From: =?UTF-8?Q?Beno=c3=aet_Viguier?= <b.viguier@science.ru.nl>
Message-ID: <be067fcc-68e8-0a19-3cb6-2510e3f1caa5@science.ru.nl>
Date: Wed, 14 Jun 2017 18:21:19 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gxHsQ59DETEFbQkWNx9D2ieMVVPlRetG0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/pBv904mVS0K3BbHBuIWDMdzWkHE>
Subject: [Cfrg] RFC Draft for KangarooTwelve XOF draft-viguier-kangarootwelve-00
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 14 Jun 2017 16:21:33 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--gxHsQ59DETEFbQkWNx9D2ieMVVPlRetG0
Content-Type: multipart/mixed; boundary="IGWnWTDWKQc4jrji8DkDRgtGgGOF2EUmW";
 protected-headers="v1"
From: =?UTF-8?Q?Beno=c3=aet_Viguier?= <b.viguier@science.ru.nl>
To: cfrg@irtf.org
Message-ID: <be067fcc-68e8-0a19-3cb6-2510e3f1caa5@science.ru.nl>
Subject: RFC Draft for KangarooTwelve XOF draft-viguier-kangarootwelve-00

--IGWnWTDWKQc4jrji8DkDRgtGgGOF2EUmW
Content-Type: multipart/alternative;
 boundary="------------0F7391A1CE76045ABB06EA47"

This is a multi-part message in MIME format.
--------------0F7391A1CE76045ABB06EA47
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hello everyone,

I wrote this RFC draft for KangarooTwelve
(https://eprint.iacr.org/2016/770).
It provides an efficient and secure hashing primitive, which is able to
exploit
the parallelism of the implementation in a scalable way. It uses tree
hashing
over a round-reduced version of SHAKE128 as underlying primitive.

The reference code is also at available at:
https://github.com/KeccakTeam/KeccakCodePackage
(Standalone/KangarooTwelve-reference/K12.py)

Draft is available here:
https://tools.ietf.org/html/draft-viguier-kangarootwelve-00

I would like to submit this RFC under the Internet Research Task Force
stream,
and as far as I understood I need a Research Group (RFC 5743).
Anyone would be interested to be the Editor?

Of course, any other feedback is welcome.

--=20
Kind regards,

Beno=C3=AEt Viguier
Software Engineer - PhD Student | Cryptography & Formal Methods
Radboud University | Mercator 1, room 03.17, Toernooiveld 212
6525 EC Nijmegen, the Netherlands | www.viguier.nl

-------------------------------------------------------------------------=
-
This message (and any attachments) is intended solely for the addressee(s=
)
and may contain confidential information. If you are not the addressee, d=
o
not copy this message (and any attachments), forward or share this messag=
e
with third parties. You are requested to notify the sender immediately an=
d
delete this message.


--------------0F7391A1CE76045ABB06EA47
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>

    <meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf=
-8">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    <p>Hello everyone,</p>
    <p>I wrote this RFC draft for KangarooTwelve (<a
        class=3D"moz-txt-link-freetext"
        href=3D"https://eprint.iacr.org/2016/770">https://eprint.iacr.org=
/2016/770</a>).<br>
      It provides an efficient and secure hashing primitive, which is
      able to exploit<br>
      the parallelism of the implementation in a scalable way. It uses
      tree hashing<br>
      over a round-reduced version of SHAKE128 as underlying primitive.</=
p>
    <p>The reference code is also at available at:<br>
      <a href=3D"https://github.com/KeccakTeam/KeccakCodePackage">https:/=
/github.com/KeccakTeam/KeccakCodePackage</a><br>
      (Standalone/<span class=3D"final-path">KangarooTwelve-reference</sp=
an><span
        class=3D"separator">/K12.py)</span></p>
    <p><span class=3D"separator">Draft is available here:<br>
        <a
          href=3D"https://tools.ietf.org/html/draft-viguier-kangarootwelv=
e-00">https://tools.ietf.org/html/draft-viguier-kangarootwelve-00</a><br>=

      </span></p>
    <p>I would like to submit this RFC under the Internet Research Task
      Force stream,<br>
      and as far as I understood I need a Research Group (RFC 5743).<br>
      Anyone would be interested to be the Editor?</p>
    <p>Of course, any other feedback is welcome.</p>
    <pre class=3D"moz-signature" cols=3D"72">--=20
Kind regards,

Beno=C3=AEt Viguier
Software Engineer - PhD Student | Cryptography &amp; Formal Methods
Radboud University | Mercator 1, room 03.17, Toernooiveld 212
6525 EC Nijmegen, the Netherlands | <a class=3D"moz-txt-link-abbreviated"=
 href=3D"http://www.viguier.nl">www.viguier.nl</a>

-------------------------------------------------------------------------=
-
This message (and any attachments) is intended solely for the addressee(s=
)
and may contain confidential information. If you are not the addressee, d=
o
not copy this message (and any attachments), forward or share this messag=
e
with third parties. You are requested to notify the sender immediately an=
d
delete this message.</pre>
  </body>
</html>

--------------0F7391A1CE76045ABB06EA47--

--IGWnWTDWKQc4jrji8DkDRgtGgGOF2EUmW--

--gxHsQ59DETEFbQkWNx9D2ieMVVPlRetG0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

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

iQIzBAEBCAAdFiEEpbgh3lxW0oiYI4+f/A7ruKvQqOYFAllBYn8ACgkQ/A7ruKvQ
qOZf4Q//eF1jxI/99lbK9k0yPT5nMgvuaDK/Wzm9j+slw0jopEhhh008glthAR4C
9oGKE12l6uoTzLCutNlclrcoN5iVjiTP1ZuK/ikwZVCgezRGT9pVPmHAcJc2bB/8
tcIXu7rw63YdjHhPzGf4pt/W1ucrdbqXOM+mSCuE5BxIDiVMUWQCqPp2WM6R8ZQv
xNaOeGjeSi1gMPvbwbFndtB1WPzjtdBnhUHrmzyFEqTc4GBaw5yZPRlBFVMU/Pya
Y1gOWXGUwvCYVpMeyMxJQEmEpfRvSt5kPWifVZSBAw53Mh7JCGK0672WUivdvhGN
xmQTtLRskJOZqcyYoOZ8tZ8141HVQBsS3L9hMlx/dXDq0D3tLrqYvfnjy8HYni7z
Jqn1eF5ceOvlfX70VDTAb62m134h92haDP2F5G5+tpQStBfdXwceBi3ZbIRAz8PT
ADZykst/Q9CcI10U9VAWZP3i2P/SkULQRNDJqnVz2WOVhTLgIwhPyIDFIoDcSZef
DYxNemKmrVo4ZWbuEoZMwRCH1KfQc8iVFM54zlSum4OpmE1/wqQIPItWd6ZjG87T
BIZyIcoAg51wLEeB/ppeENDIzcY/mMXicZC2ks+zVUsBmJY6gmHzWisd2YwMmr+c
rp+zzk/aLvr6r0qye8dNUyUI6YLYxSS+9CemQquG/HT2FesNZX4=
=W14U
-----END PGP SIGNATURE-----

--gxHsQ59DETEFbQkWNx9D2ieMVVPlRetG0--


From nobody Thu Jun 15 07:16:56 2017
Return-Path: <Kenny.Paterson@rhul.ac.uk>
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 2213112E040 for <cfrg@ietfa.amsl.com>; Thu, 15 Jun 2017 07:16:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level: 
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=rhul.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rxOTTbyEklUV for <cfrg@ietfa.amsl.com>; Thu, 15 Jun 2017 07:16:50 -0700 (PDT)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20049.outbound.protection.outlook.com [40.107.2.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 66C50126B6D for <cfrg@ietf.org>; Thu, 15 Jun 2017 07:16:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhul.onmicrosoft.com;  s=selector1-rhul-ac-uk; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=DyaAmSR49Fz3gWHHjSpswu8jYbLC5PWYNGUT6ciQ7Ls=; b=mzxP01YG2Xy3YSF+mlkMsqhkJVh2HTwhw5/aZ9Srb74AxniUT7a6NBo2jf9/NLH3rPe2j8UBFY59YUh+1MRtY/IwgVEApc/mR+vDN52Y8HzDE3jTvIyqk6wAnZPsX4NPvxpyGLs6dPdD4SVrFxxus2q94VS/bDjEOEHSZygKY+0=
Received: from AM4PR0301MB1906.eurprd03.prod.outlook.com (10.168.2.156) by AM4PR0301MB1905.eurprd03.prod.outlook.com (10.168.2.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Thu, 15 Jun 2017 14:16:47 +0000
Received: from AM4PR0301MB1906.eurprd03.prod.outlook.com ([fe80::9dfc:6390:892b:6c59]) by AM4PR0301MB1906.eurprd03.prod.outlook.com ([fe80::9dfc:6390:892b:6c59%14]) with mapi id 15.01.1157.017; Thu, 15 Jun 2017 14:16:46 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: "cfrg@ietf.org" <cfrg@ietf.org>
Thread-Topic: [Cfrg] I-D Action: draft-irtf-cfrg-argon2-02.txt
Thread-Index: AQHSpud0G7Nvk2NWAEWKLkFqd0wSnqGoglCAgH4EpoA=
Date: Thu, 15 Jun 2017 14:16:46 +0000
Message-ID: <D56853D6.96722%kenny.paterson@rhul.ac.uk>
References: <149061159741.30566.11599293166376872082@ietfa.amsl.com> <CALW8-7+BL5dLJiTh_yn_OD8pNNwLvEz5ZPhqK=-TfUH3xvohBg@mail.gmail.com>
In-Reply-To: <CALW8-7+BL5dLJiTh_yn_OD8pNNwLvEz5ZPhqK=-TfUH3xvohBg@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.7.1.161129
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=rhul.ac.uk;
x-originating-ip: [134.219.227.30]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM4PR0301MB1905; 7:5/GN8F0iZtByc/uLw62uY9K+jMXFYVBq+J0LhHFk1aoP5JYooU9N0twE63dA19VxAPJTpRIuk9RH8GcNf5i4ek1nSQrP2pcywr5tWN6yN5rzfcgvnSApH8KuB/2BKI4CYEZObs+LkipuRo66jfzqv23+tArqJDOOU5siYNqUwZiqg9DjylzN92rQWYg2AgfdEVIV3RLKvddmpUE8EMzRU921KyJe4+nIHpeU7nB4JJZhqcu5SdxexXTfxTqsD50q8DHDxY4qcNAwTjkqHY36WU0Y+jqksgLAz4lQnYxngXehYiZpZoSyqtKToJYP5CAH5Fm7quFu4DCCic1bXtD52g==
x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10009020)(6009001)(39450400003)(39840400002)(39400400002)(39850400002)(39410400002)(24454002)(377454003)(377424004)(6436002)(413944005)(2351001)(39060400002)(478600001)(5640700003)(66066001)(14454004)(6486002)(50986999)(53546009)(54356999)(25786009)(4326008)(2900100001)(74482002)(72206003)(966005)(6506006)(2906002)(6512007)(38730400002)(110136004)(3660700001)(53936002)(3280700002)(76176999)(2950100002)(6246003)(5660300001)(5250100002)(229853002)(551544002)(230783001)(305945005)(42882006)(6916009)(8936002)(1730700003)(81166006)(99286003)(8676002)(2501003)(4001350100001)(102836003)(3846002)(36756003)(6116002)(189998001)(86362001)(6306002)(83506001)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0301MB1905; H:AM4PR0301MB1906.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; 
x-ms-traffictypediagnostic: AM4PR0301MB1905:
x-ms-office365-filtering-correlation-id: 90e7ecba-8821-464b-db68-08d4b3f92835
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:AM4PR0301MB1905; 
x-microsoft-antispam-prvs: <AM4PR0301MB190576F20C9F051999F9764CBCC00@AM4PR0301MB1905.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(120809045254105)(192374486261705)(100405760836317); 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6041248)(201703131423075)(201702281529075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123555025)(20161123558100)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM4PR0301MB1905; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM4PR0301MB1905; 
x-forefront-prvs: 0339F89554
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <343D67CB0282B2428A4FE96450D2AB75@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jun 2017 14:16:46.8148 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0301MB1905
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/yQIg42dulXrP3_azpnksY6tfiO4>
Subject: Re: [Cfrg] I-D Action: draft-irtf-cfrg-argon2-02.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Jun 2017 14:16:54 -0000

RGVhciBDRlJHLA0KDQpEbWl0cnkgS2hvdnJhdG92aWNoIGtpbmRseSBwcmVzZW50ZWQgdGhlIGxh
dGVzdCBkcmFmdCBmb3IgQXJnb24yIGF0IHRoZQ0KaW50ZXJpbSBDRlJHIG1lZXRpbmcgaW4gUGFy
aXMuIEZvciB0aG9zZSBvZiB5b3Ugd2hvIGNvdWxkIG5vdCBhdHRlbmQsIGhpcw0Kc2xpZGVzIGNh
biBiZSBmb3VuZCBoZXJlOg0KDQpodHRwczovL3d3dy5pZXRmLm9yZy9wcm9jZWVkaW5ncy9pbnRl
cmltLTIwMTctY2ZyZy0wMS9zbGlkZXMvc2xpZGVzLWludGVyaW0NCi0yMDE3LWNmcmctMDEtc2Vz
c2EtYXJnb24yLT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com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8FBD3126B6D for <cfrg@ietfa.amsl.com>; Thu, 15 Jun 2017 07:24:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level: 
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=rhul.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y_SChSdIpDDM for <cfrg@ietfa.amsl.com>; Thu, 15 Jun 2017 07:24:57 -0700 (PDT)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0074.outbound.protection.outlook.com [104.47.1.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8307D129A99 for <cfrg@ietf.org>; Thu, 15 Jun 2017 07:24:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhul.onmicrosoft.com;  s=selector1-rhul-ac-uk; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=NkGH08Q8lgLv1wKUz/o8MKhaq/NZAi4p7gJYLc1gT8A=; b=Tcgw0qV/XEplsjy6QfocxlRKqiUykDMmHvWeM/j25vsViFoQmkJKeslXUqdagMgHiqRVdGIU1kXYxf4WVbiCLSpvtiIlIjXNHFVaBgjRa+Cf3yupDzb9rPAge80UiDt5SwdJTVlJyXy12r2cPZZm8Nnnxv8arXIzH4aomg8h2M4=
Received: from AM4PR0301MB1906.eurprd03.prod.outlook.com (10.168.2.156) by AM4PR0301MB1906.eurprd03.prod.outlook.com (10.168.2.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Thu, 15 Jun 2017 14:24:54 +0000
Received: from AM4PR0301MB1906.eurprd03.prod.outlook.com ([fe80::9dfc:6390:892b:6c59]) by AM4PR0301MB1906.eurprd03.prod.outlook.com ([fe80::9dfc:6390:892b:6c59%14]) with mapi id 15.01.1157.017; Thu, 15 Jun 2017 14:24:53 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: "cfrg@ietf.org" <cfrg@ietf.org>
CC: "agl@google.com" <agl@google.com>, Alexey Melnikov <alexey.melnikov@isode.com>, Shay Gueron <shay.gueron@gmail.com>, "Yehuda Lindell" <Yehuda.Lindell@biu.ac.il>
Thread-Topic: [Cfrg] I-D Action: draft-irtf-cfrg-gcmsiv-04.txt
Thread-Index: AQHSjfILPJEKyD2c8U+2aZYUqmbh9aF2yOAAgAB/nACAr3KmgA==
Date: Thu, 15 Jun 2017 14:24:53 +0000
Message-ID: <D5685594.96731%kenny.paterson@rhul.ac.uk>
References: <148786730667.20244.7762484121330383342.idtracker@ietfa.amsl.com> <CAMfhd9VumcZ76MJjx3Kr8gw6mbUJc7x_pPcSDR2V0Jiuz+sm-w@mail.gmail.com> <D4D52910.8A146%kenny.paterson@rhul.ac.uk>
In-Reply-To: <D4D52910.8A146%kenny.paterson@rhul.ac.uk>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.7.1.161129
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=rhul.ac.uk;
x-originating-ip: [134.219.227.30]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM4PR0301MB1906; 7:exLL/rjeKuJFBreeYhc6q0qOF0CkAhQ8gdLF8N0bp2Wz36ezcNcrzDgrpJdgojqR3zu6/S6Idx0zV1gCzVkGa0QErxr1BptVkQbulf7/BOq1POcLoYEbADQJafCh5GbRF/4lI/vGiWGELYQqUtRnQ2m8WE36kMdE0224H5OBf/RW0/Z+eZHk0v/eVIzDXs2NXDGNik1iQ7K+cgSofhA+FFdw6CLBbI5uxOEPhuoYC6om3dYXMN9nLU4/BEdfCJIDm+V6hStNs2f7dW2g0EtrTZGUH3g8IVyTz45+SllQ+fa/VQiX8MfN4t8LKjrw8IWKYmZQODPxaVTUA33pM7xvOQ==
x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10009020)(6009001)(39450400003)(39410400002)(39840400002)(39400400002)(39850400002)(24454002)(377424004)(377454003)(478600001)(36756003)(2501003)(413944005)(72206003)(25786009)(83506001)(5250100002)(4326008)(14454004)(39060400002)(86362001)(189998001)(230783001)(2351001)(4001350100001)(66066001)(2900100001)(54356999)(50986999)(6246003)(5640700003)(6436002)(76176999)(53936002)(3660700001)(6506006)(6306002)(38730400002)(3280700002)(305945005)(7736002)(74482002)(110136004)(54906002)(2906002)(6116002)(99286003)(102836003)(6486002)(3846002)(1730700003)(6512007)(2950100002)(6916009)(8936002)(8676002)(81166006)(229853002)(42882006)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0301MB1906; H:AM4PR0301MB1906.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; 
x-ms-traffictypediagnostic: AM4PR0301MB1906:
x-ms-office365-filtering-correlation-id: df706123-fd53-45a6-7519-08d4b3fa4a27
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:AM4PR0301MB1906; 
x-microsoft-antispam-prvs: <AM4PR0301MB19067CBE0C826B88E07FA528BCC00@AM4PR0301MB1906.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(192374486261705);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(3002001)(6041248)(20161123564025)(201703131423075)(201702281529075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123562025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM4PR0301MB1906; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM4PR0301MB1906; 
x-forefront-prvs: 0339F89554
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <A8656B593DCDF544B07B37CB6015FF45@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jun 2017 14:24:53.2597 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0301MB1906
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/WK98UUqmVHj5ypjr7FDaWL3EPDw>
Subject: Re: [Cfrg] I-D Action: draft-irtf-cfrg-gcmsiv-04.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Jun 2017 14:25:00 -0000

RGVhciBDRlJHLA0KDQpBc2lkZSBmcm9tIHNvbWUgaGVscGZ1bCBjb21tZW50cyBmcm9tIERhdmlk
IE1jR3JldywgdGhlcmUgaGFzIGJlZW4gbm8NCnN1YnN0YW50aXZlIGRpc2N1c3Npb24gb2YgdGhp
cyBkcmFmdCBmb3Igc29tZSBtb250aHMuDQoNCklmIHBlb3BsZSBoYXZlIHJlbWFpbmluZyB0ZWNo
bmljYWwgY29tbWVudHMsIHBsZWFzZSB3b3VsZCB0aGV5IGJyaW5nIHRoZW0NCnRvIHRoaXMgbGlz
dCBpbiB0aGUgbmV4dCBmZXcgZGF5cz8NCg0KQXNzdW1pbmcgdGhlcmUgYXJlIG5vIG1ham9yIG9i
amVjdGlvbnMsIHdlIHNob3VsZCB0aGVuIGJlIGluIGEgcG9zaXRpb24gdG8NCnN0YXJ0IGxhc3Qg
Y2FsbCBmb3IgdGhpcyBJRCAobW9kdWxvIGFuIHVwZGF0ZSB0byBhZGRyZXNzIHRoZSBtaW5vciBp
c3N1ZXMNCmlkZW50aWZpZWQgYnkgRGF2aWQpLg0KDQpDaGVlcnMsDQoNCktlbm55IChmb3IgdGhl
IGNoYWlycykNCg0KDQo+T24gMjMvMDIvMjAxNyAxNjozMiwgIkNmcmcgb24gYmVoYWxmIG9mIEFk
YW0gTGFuZ2xleSINCj48Y2ZyZy1ib3VuY2VzQGlydGYub3JnIG9uIGJlaGFsZiBvZiBhZ2xAaW1w
ZXJpYWx2aW9sZXQub3JnPiB3cm90ZToNCj4NCj4+T24gVGh1LCBGZWIgMjMsIDIwMTcgYXQgODoy
OCBBTSwgIDxpbnRlcm5ldC1kcmFmdHNAaWV0Zi5vcmc+IHdyb3RlOg0KPj4+IEEgTmV3IEludGVy
bmV0L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vY2ZyZw0KPg0KDQo=


From nobody Thu Jun 15 07:41:56 2017
Return-Path: <Kenny.Paterson@rhul.ac.uk>
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 D08821294E8 for <cfrg@ietfa.amsl.com>; Thu, 15 Jun 2017 07:41:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level: 
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=rhul.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6022G0IAxllW for <cfrg@ietfa.amsl.com>; Thu, 15 Jun 2017 07:41:50 -0700 (PDT)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10062.outbound.protection.outlook.com [40.107.1.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D73CA128B93 for <cfrg@ietf.org>; Thu, 15 Jun 2017 07:41:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhul.onmicrosoft.com;  s=selector1-rhul-ac-uk; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=XtQ61S+WJaLIqq4IPlMzuFHI/qi9CRmD02+2T+znI6U=; b=qRuKYo30/aMXldcVhUz3r+GL2pD7mhXi5rFneen1dsqZsqC1iTcUIdsTMhvWh/SDX2wtEktKDMIHsHiF5yDu4WpKityVcHP4d9ubLvK9KprYt6ZmVjfBjKxot8Yr0CMMRnxlShwnIaF4eeB7Bnnsi8WIORDD48EU+zShchntNUQ=
Received: from AM4PR0301MB1906.eurprd03.prod.outlook.com (10.168.2.156) by AM4PR0301MB1906.eurprd03.prod.outlook.com (10.168.2.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Thu, 15 Jun 2017 14:41:47 +0000
Received: from AM4PR0301MB1906.eurprd03.prod.outlook.com ([fe80::9dfc:6390:892b:6c59]) by AM4PR0301MB1906.eurprd03.prod.outlook.com ([fe80::9dfc:6390:892b:6c59%14]) with mapi id 15.01.1157.017; Thu, 15 Jun 2017 14:41:46 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>, "cfrg@ietf.org" <cfrg@ietf.org>
CC: "agl@google.com" <agl@google.com>, Alexey Melnikov <alexey.melnikov@isode.com>, Shay Gueron <shay.gueron@gmail.com>, "Yehuda Lindell" <Yehuda.Lindell@biu.ac.il>
Thread-Topic: [Cfrg] I-D Action: draft-irtf-cfrg-gcmsiv-04.txt
Thread-Index: AQHSjfILPJEKyD2c8U+2aZYUqmbh9aF2yOAAgAB/nACAr3KmgIAABJ0A
Date: Thu, 15 Jun 2017 14:41:46 +0000
Message-ID: <D5685AB6.96761%kenny.paterson@rhul.ac.uk>
References: <148786730667.20244.7762484121330383342.idtracker@ietfa.amsl.com> <CAMfhd9VumcZ76MJjx3Kr8gw6mbUJc7x_pPcSDR2V0Jiuz+sm-w@mail.gmail.com> <D4D52910.8A146%kenny.paterson@rhul.ac.uk> <D5685594.96731%kenny.paterson@rhul.ac.uk>
In-Reply-To: <D5685594.96731%kenny.paterson@rhul.ac.uk>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.7.1.161129
authentication-results: rhul.ac.uk; dkim=none (message not signed) header.d=none;rhul.ac.uk; dmarc=none action=none header.from=rhul.ac.uk;
x-originating-ip: [134.219.227.30]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM4PR0301MB1906; 7:cdRsd0Uqg7A1v5hUnfTcc/iVVIUTlqbH7Bejls6WrXcbEcrq/07QqlZCVmfMLKeNcecwjrcmG22RhcxWhTyxMMMejBcB/WOFLFixB4XxCFxP7/lytXRLJa3fi6hCzk60e2eJAZBe/WZaiq0CB+5QfyQvrF+Hni4iSq6MCxJYryt+UVgdjeN4anKcp5VWR3nAYiNIYMZ3+za+55odupOmjhELulfsUjSa0nElyAQ1PHHp7eZsWQeF5XX0MkYDPnuPg2u+dGMcSE/WO36PXbqLCKlHfZayi1d41j9WyJ26ZP7mdrkJ3mh4VJ//aDZdqdCMRvYCgwYz2pW5+/MxBW2f6Q==
x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10009020)(6009001)(39410400002)(39450400003)(39850400002)(39400400002)(39840400002)(24454002)(377424004)(377454003)(93886004)(478600001)(36756003)(2501003)(413944005)(72206003)(83506001)(25786009)(5250100002)(4326008)(14454004)(39060400002)(53546009)(230783001)(86362001)(189998001)(4001350100001)(66066001)(2900100001)(54356999)(50986999)(6246003)(6436002)(76176999)(53936002)(3660700001)(6506006)(6306002)(74482002)(38730400002)(3280700002)(305945005)(7736002)(54906002)(2906002)(6116002)(99286003)(102836003)(6486002)(3846002)(6512007)(2950100002)(8936002)(8676002)(81166006)(229853002)(42882006)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0301MB1906; H:AM4PR0301MB1906.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; 
x-ms-traffictypediagnostic: AM4PR0301MB1906:
x-ms-office365-filtering-correlation-id: 32a2cd4f-c617-47ad-eeb2-08d4b3fca62a
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:AM4PR0301MB1906; 
x-microsoft-antispam-prvs: <AM4PR0301MB1906DD3F7082EC40E25F3C6DBCC00@AM4PR0301MB1906.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(192374486261705);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123555025)(20161123562025)(20161123560025)(201703131423075)(201702281529075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM4PR0301MB1906; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM4PR0301MB1906; 
x-forefront-prvs: 0339F89554
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <C6C657DB961936448119198D02327986@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jun 2017 14:41:46.5481 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0301MB1906
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/rnt59-rWuz3Y-wenurtKcqJh63Q>
Subject: Re: [Cfrg] I-D Action: draft-irtf-cfrg-gcmsiv-04.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Jun 2017 14:41:53 -0000

RGVhciBDRlJHLA0KDQpBcG9sb2dpZXMsIG15IG1lc3NhZ2UgYmVsb3cgc2hvdWxkIGhhdmUgcmVm
ZXJlbmNlZA0KDQogIGRyYWZ0LWlydGYtY2ZyZy1nY21zaXYtMDUudHh0DQoNCmluc3RlYWQgb2Yg
DQoNCiAgZHJhZnQtaXJ0Zi1jZnJnLWdjbXNpdi0wNC50eHQNCg0KLSBub3QgZW5vdWdoIChTTEVF
UCB8fCBDT0ZGRUUpLg0KDQpDaGVlcnMsDQoNCktlbm55IA0KDQpPbiAxNS8wNi8yMDE3IDE1OjI0
LCAiUGF0ZXJzb24sIEtlbm55IiA8S2VubnkuUGF0ZXJzb25Acmh1bC5hYy51az4gd3JvdGU6DQoN
Cj5EZWFyIENGUkcsDQo+DQo+QXNpZGUgZnJvbSBzb21lIGhlbHBmdWwgY29tbWVudHMgZnJvbSBE
YXZpZCBNY0dyZXcsIHRoZXJlIGhhcyBiZWVuIG5vDQo+c3Vic3RhbnRpdmUgZGlzY3Vzc2lvbiBv
ZiB0aGlzIGRyYWZ0IGZvciBzb21lIG1vbnRocy4NCj4NCj5JZiBwZW9wbGUgaGF2ZSByZW1haW5p
bmcgdGVjaG5pY2FsIGNvbW1lbnRzLCBwbGVhc2Ugd291bGQgdGhleSBicmluZyB0aGVtDQo+dG8g
dGhpcyBsaXN0IGluIHRoZSBuZXh0IGZldyBkYXlzPw0KPg0KPkFzc3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b2Nh
dGlvbnMgaW4gdGhlIGNvbmZpZ3VyYXRpb24gc3BhY2UpLg0KPj4+DQo+Pj5JbiBsaWdodCBvZiBw
cmV2aW91cyBkaXNjdXNzaW9ucyBpbiB0aGUgd29ya2luZyBncm91cCwgc2VjdGlvbiBzZXZlbg0K
Pj4+aW5jbHVkZXMgc29tZSByZW1hcmtzIGFib3V0IHRoZSBtZWFuaW5nIG9mIG5vbmNlLW1pc3Vz
ZSByZXNpc3RhbmNlLg0KPj4+DQo+Pj4oQ29tbWVudHMgYWJvdXQgdGhlIHBhcGVyLCBpbmNsdWRp
bmcgc2lnaHRpbmdzIG9mIHR5cG9zLCBhcmUgd2VsY29tZQ0KPj4+dG8gYmUgc2VudCB0byB1cyBk
aXJlY3RseTsgbm8gbmVlZCB0byBjbHV0dGVyIHRoaXMgbGlzdCB3aXRoIHRoZW0uKQ0KPj4+DQo+
Pj4NCj4+PkNoZWVycw0KPj4+DQo+Pj5BR0wNCj4+Pg0KPj4+X19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX18NCj4+PkNmcmcgbWFpbGluZyBsaXN0DQo+Pj5DZnJn
QGlydGYub3JnDQo+Pj5odHRwczovL3d3dy5pcnRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2NmcmcN
Cj4+DQo+DQoNCg==


From nobody Thu Jun 15 08:36:41 2017
Return-Path: <jblocki@purdue.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 875781294F8 for <cfrg@ietfa.amsl.com>; Thu, 15 Jun 2017 08:36:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 82AX9Rf1YH0q for <cfrg@ietfa.amsl.com>; Thu, 15 Jun 2017 08:36:37 -0700 (PDT)
Received: from mailhub131.itcs.purdue.edu (mailhub131.itcs.purdue.edu [128.210.5.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 79B77126B6E for <cfrg@ietf.org>; Thu, 15 Jun 2017 08:36:37 -0700 (PDT)
Received: from exchange.purdue.edu (exchange.purdue.edu [128.210.1.29]) by mailhub131.itcs.purdue.edu (8.14.4/8.14.4/mta-nopmx.smtp.purdue.edu) with ESMTP id v5FFaZ7Q011033 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Thu, 15 Jun 2017 11:36:36 -0400
Received: from wppexc07.purdue.lcl (172.30.136.180) by wppexc12.purdue.lcl (172.30.136.185) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 15 Jun 2017 11:36:35 -0400
Received: from wppexc07.purdue.lcl ([fe80::49db:3fa0:d668:8da4]) by wppexc07.purdue.lcl ([fe80::49db:3fa0:d668:8da4%14]) with mapi id 15.00.1178.000; Thu, 15 Jun 2017 11:36:35 -0400
From: "Blocki, Jeremiah M" <jblocki@purdue.edu>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>, "cfrg@ietf.org" <cfrg@ietf.org>
Thread-Topic: [Cfrg] I-D Action: draft-irtf-cfrg-argon2-02.txt
Thread-Index: AQHSpudr72kny3qHWUqPlyLx0FrlmqGoxV6AgH3z6wD//8H0gA==
Date: Thu, 15 Jun 2017 15:36:34 +0000
Message-ID: <dd40d721470e4ba58a7e86c561ce293c@wppexc07.purdue.lcl>
References: <149061159741.30566.11599293166376872082@ietfa.amsl.com> <CALW8-7+BL5dLJiTh_yn_OD8pNNwLvEz5ZPhqK=-TfUH3xvohBg@mail.gmail.com> <D56853D6.96722%kenny.paterson@rhul.ac.uk>
In-Reply-To: <D56853D6.96722%kenny.paterson@rhul.ac.uk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [128.10.9.85]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-PMX-Version: 6.0.2.2308539
X-PerlMx-URL-Scanned: Yes
X-PerlMx-Virus-Scanned: Yes
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/V17fLSZvFaHBwCQ3Kf6b--GCkTE>
Subject: Re: [Cfrg] I-D Action: draft-irtf-cfrg-argon2-02.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Jun 2017 15:36:40 -0000

SGkgQWxsLA0KDQoxKSBJIGFncmVlIHdpdGggdGhlIHJlY29tbWVuZGF0aW9uIHRvIHVzZSBBcmdv
bjJpZCBmb3IgcGFzc3dvcmQgaGFzaGluZyBhcyBpdCBhcHBlYXJzIHRvIHN0cmlrZSBhIHJlYXNv
bmFibGUgYmFsYW5jZSBiZXR3ZWVuIHNpZGUtY2hhbm5lbCByZXNpc3RhbmNlIGFuZCBwYXJhbGxl
bCBhdHRhY2tzLiBJZiB0aGVyZSBhcmUgbm8gc2lkZSBjaGFubmVsIGF0dGFja3MgdGhlbiBB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saXN0DQpDZnJnQGlydGYub3JnDQpodHRwczovL3d3dy5p
cnRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2NmcmcNCg==


From nobody Thu Jun 15 10:27:22 2017
Return-Path: <davidwong.crypto@gmail.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 BC7671293D8 for <cfrg@ietfa.amsl.com>; Thu, 15 Jun 2017 10:27:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 95a0c7T_KwzL for <cfrg@ietfa.amsl.com>; Thu, 15 Jun 2017 10:27:19 -0700 (PDT)
Received: from mail-qt0-x235.google.com (mail-qt0-x235.google.com [IPv6:2607:f8b0:400d:c0d::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DE72D129329 for <cfrg@irtf.org>; Thu, 15 Jun 2017 10:27:18 -0700 (PDT)
Received: by mail-qt0-x235.google.com with SMTP id w1so29155282qtg.2 for <cfrg@irtf.org>; Thu, 15 Jun 2017 10:27:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=qcUfsi1HqcKaJbRoZSqkAiv72twLkga6Ld1d1/lLGXc=; b=mdkeU56CAeiuJRwQtGIrV9PT24bv95kb5i3Ohs51bcsKxXbSTri7dxeuHJG+w8KHh7 IgkNNZ3ebL+gwoVYEAi8KeQaNIkaz0AhCUq4itM39d232dH94Lnoxr6rvBtI+KqKGJ1J 5r+bXn3rI8Qata6LmdvVTjPDdSpWCkMfOEOinbeRQM1qxTSOecwhAEzATQ7CNX883Uvq UYLnUbvVLDDflbpV/R1vyFbzF9VxVIaaTRN8W6wE0x/f7mGcvOZTuzZgaqjS5JygCoo/ Vg5EwbqcZ4lwV75dMA4/7+d+Ed3KXoMFossrBTzNCraU7mkCg2fX8MheAfl47ZcmEI2A ux5Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=qcUfsi1HqcKaJbRoZSqkAiv72twLkga6Ld1d1/lLGXc=; b=huw6piEne1RmnFjnnSTmHMtPotwHfb7VZOz4UyWYu3Zn1SVKJ0tdvO5FhMY1lacXzc zjqwiR6NNZh7VvXkEzjZRMtjlZ7dqEtz2dCtRIL0IkCdIx249jIMJddZbRuFf8K443/J zcQwJTz2WufI7eUYEtcpJyUw7UQJqampvy+zP2AElc/4zw++qWdvGe1niWIxTGPnOONG zoiSiSuP31/qGJuxz4B0ACpv8jHND21VcHOwObjr+EFKua/DrEfqNTv3auMHJ9WOzRsl wy7E6t7o7MliZV4OXKuyacA6+a4jZno/nae8yxSPqzVaKi4CkFFRJAiR1gm6pT/6JOEP Ip7A==
X-Gm-Message-State: AKS2vOxi/ukHMr+JkAWvzfehRu7yfLPk+3EH7NI4obE8i8JRpYXhmWXp pKk+v1MAYjY8M+fm3nqTPKoVlPCqIw==
X-Received: by 10.55.76.140 with SMTP id z134mr7783288qka.35.1497547637685; Thu, 15 Jun 2017 10:27:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.82.243 with HTTP; Thu, 15 Jun 2017 10:27:17 -0700 (PDT)
In-Reply-To: <be067fcc-68e8-0a19-3cb6-2510e3f1caa5@science.ru.nl>
References: <be067fcc-68e8-0a19-3cb6-2510e3f1caa5@science.ru.nl>
From: David Wong <davidwong.crypto@gmail.com>
Date: Thu, 15 Jun 2017 18:27:17 +0100
Message-ID: <CAK3aN2rPH4PJJAqnuTE8RQNa+=nvqWbf6PNm-s9bAGe=sog=Fg@mail.gmail.com>
To: =?UTF-8?Q?Beno=C3=AEt_Viguier?= <b.viguier@science.ru.nl>
Cc: cfrg@irtf.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/DpQlbgWsDOnxJnyBUnZMQdqL3mQ>
Subject: Re: [Cfrg] RFC Draft for KangarooTwelve XOF draft-viguier-kangarootwelve-00
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Jun 2017 17:27:22 -0000

Hey Benoit,

I'm happy to see that the first draft is done!

The whole thing looks pretty good to me. I have some minor feedback as
well as a major one right below:

I think the specification mixes implementation tricks and the real
specification keccak. If you're planning on giving (reversed) values
in hexadecimal for the dsByte and the padding, I think it is worth
specifying the sponge function differently with inversed operations in
the permutation and a transformation from input to lanes, relevant to
the tricks that implementations use. This would also mean getting rid
of any LSB 0 bit-numbering mention in the convention section. I think
this RFC would be a really good opportunity to clear things up and
simplify the implementers' job.

I would start by defining F as F(input, domain_separation,
output_length). Then the following algorithm for the function F:

// Padding
1. append the domain_separation byte to the input
2. append zeros to the input until it becomes a multiple of the rate (168 b=
ytes)
3. XOR the last byte of the padded input with 0x80

// XOR'ing
4. split the input in n blocks of 168 bytes (rate size): block_1, ..., bloc=
k_n
5. For each block, apply the Absorb algorithm
      Absorb(block_1, state); ...; Absorb(block_n, state)
      (note that each Absorb call is taking an updated state from the
previous Absorb call)

// Output'ing
6. concatenate the outputs of Squeeze algorithm until the amount of
bytes collected is greater or equal
   to output_length
      output =3D Squeeze(state) || ... || Squeeze(state)
      (note that each Squeeze call is taking an updated state from the
previous Squeeze call)
7. truncate the output to the size of output_length and return the result


// Absorb algorithm
Absorb(input, state) takes an input of 168 bytes, the state of the
sponge and updates the state.

1. Split the input in 21 8-byte blocks: input_1, ..., input_21; such that
   input_i =3D {b_i_0, b_i_1, b_i_2, b_i_3, b_i_4, b_i_5, b_i_6, b_i_7}
2. For each input_i, reverse the order of the bytes, such that
   reversed_input_i =3D {b_i_7, b_i_6, b_i_5, b_i_4, b_i_3, b_i_2, b_i_1, b=
_i_0}
3. For the first 21 "public" lanes of the sponge seen as
   Lane_i =3D {L_i_0, L_i_1, L_i_2, L_i_3, L_i_4, L_i_5, L_i_6, L_i_7},
   XOR each reversed_input_i against each Lane_i, such that
   Lane_i =3D {L_i_0 + b_i_7, L_i_1 + b_i_6, L_i_2 + b_i_5, L_i_3 +
b_i_4, L_i_4 + b_i_3, L_i_5 + b_i_2, L_i_6 + b_i_1, L_i_7 + b_i_0}
4. Update the sponge state by calling the permutation with only the
last 12 rounds (see Appendix A)

// Squeeze algorithm
output =3D Squeeze(state) takes the state of the sponge and updates the
state, while returning a 168 bytes output

1. Copy out the 21 "public" lanes of the sponge state Lane_1, ...,
Lane_21 seen as
   Lane_i =3D {L_i_0, L_i_1, L_i_2, L_i_3, L_i_4, L_i_5, L_i_6, L_i_7}
2. Reverse the bytes of each copied lane:
   Reversed_Lane_i =3D {L_i_7, L_i_6, L_i_5, L_i_4, L_i_3, L_i_2, L_i_1, L_=
i_0}
3. Update the sponge state by calling the permutation with only the
last 12 rounds (see Appendix A)
4. Return Reversed_Lane_1 || ... || Reversed_Lane_21

Now, in the appendix A.1. of the permutation, I would be careful to
define every operation in the reverse direction. For example ROL64()
is done by a left shift << instead of a right shift >>. It should also
be mentionned that operations have been reversed since the lanes have
been reversed.

I think this is important because the point of such an RFC is to dumb
down the technical details and facilitate the implementation. A lot of
shortcuts can be taken here because we do not care about other
rate+capacity variants, or non-multiple of bytes.

I have some more feedback about details here and there. Feel free to
ignore or acknowledge as you deem relevant.

=E2=86=92 The abstract

  It could contain more information on the use-case rather than on
what type of primitive it is.
  I'm saying that because I often run into obscure RFC and have a hard
time understanding from the abstract what they are for. Here is how I
would think is important:

  * K12          =E2=86=92 KangarooTwelve is an eXtendable Output Function =
(XOF)
  * trust        =E2=86=92 The design is based on SHA-3 and done by the sam=
e inventors
  * XOF          =E2=86=92 It provides an arbitrary output length that can =
be
truncated to any desired size
  * fast         =E2=86=92 Its performs better than SHA-3, SHA-2 and SHA-1
  * big inputs   =E2=86=92 It takes advantage of tree hashing to efficientl=
y
parallelize hashing of big files
  * small inputs =E2=86=92 Due to Sakura Coding and the padding, no penalty
exists for small inputs

  This could be written as:

  This document defines the KangarooTwelve eXtendable Output Function (XOF)=
,
  a hash function based on SHA-3 and designed by the same inventors that
  provides outputs of arbitrary lengths. It performs better than SHA-3, SHA=
-2
  and SHA-1; taking advantage of parallelism to speed up hashing of big fil=
es
  while still being efficient by avoiding penalties for small inputs.

=E2=86=92 The introduction

  - It could use the same spiel about the no-penalty for small inputs.
  - You mention Keccak without defining what it is (you mention
Keccak-p before though).

=E2=86=92 Section 1.1. Conventions

  - Do you really need the MUST, SHOULD, etc... keywords?
    I'm not sure any of these makes too much sense in K12's context.
  - "LSB 0 bit convention" is also called "LSB 0 bit-numbering", which
might more formal and fit to the context?

> |s|  denotes the length of a byte string "s".  For example, |"FF FF"| =3D=
 2.

  I think this should emphasize the unit: "denotes the length of a
value in 'bytes'"

=E2=86=92 Section 2.1. Inner function: F

> Keccak-p[1600,n_r=3D12]

  I think it should be noted that these are the "last" 12 rounds of
the permutation with 24 rounds.

  Also I'd prefer a function F defined as F(input, domain_separation,
output_length) to simplify the
  other parts of the RFC.

> The input string S SHOULD be represented as a pair (Sbytes, dS),

  Not sure why the "SHOULD" or why the mention of a "pair". What's a
pair in C :) ?

>  multi-rate padding rule pad10*1

  - You mention the multi-rate padding without defining it.
  - Do we really need these explanations on the computation of `dS`?
Just giving the values should be enough imo

=E2=86=92 Section 2.2. Tree hashing over F

  - Could this section simply be renamed "Hashing"?
  - I would also enumerate the steps and simplify a few things. For example=
:

  KangarooTwelve( input, custom_string, output_length ) takes any
input to be hashed, a
  (optionally empty) customization string and a desired output length.
It then execute
  the following steps:

  1. Concatenate input, custom_string and right_encode(|custom_string|).
       S =3D input || custom_string || right_encode(|custom_string|)
  2. If the byte length of S is less than 8192 bytes, then run the
sponge function
     on S with dsByte =3D 0x07 and ignore the rest of these steps.
Otherwise skip this
     step and go directly to step 3.
       F(S, dsByte=3D0x07, output_length)
  3. Split the concatenated value into n chunks of 8192 bytes, where
the last one can
     be shorter or equal to 8192 bytes). For example with 5 chunks:
       S =3D S_0 || .. || S_4
       with |S_0| =3D |S_1| =3D |S_2| =3D |S_3| =3D 8192 bytes
       and |S_4| <=3D 8192 bytes
  4. Compute CV_1 to CV_4, optionally using the parallelism supported
by your architecture.
     (For example this is achievable on Intel architecture by using
SIMD instructions.)
       Node_i  =3D S_i || `110`
       CV_i    =3D F(Node_i, dsByte=3D0x0B, output_length=3D32)
  5. To compute the final input, start by contatenating the first
chunk with the hexadecimal string "03 00 00 00 00 00 00 00"
       final_input =3D S_0 || "03 00 00 00 00 00 00 00"
  6. Append the concatenation of all the the CV_i to the final input.
       final_input =3D final_input || CV_1 || CV_2 || CV_3 || CV_4
  7. Append the encoding of the number of chunks minus one (4 in our
example) to the final input.
       final_input =3D final_input || right_encoding(n-1)
  8. Append the hexadecimal string "FF FF" to the final input.
       final_input =3D final_input || "FF FF"
  9. Run the sponge function on the final input with dsByte =3D 0x06
       F(final_input, dsByte=3D0x06, output_length)

> For |S| > 8192 bytes

  I think diagrams should be in the appendix (or at least in a
different section). Also a diagram for `|S| <=3D 8192 bytes` would be
nice as well :)


                                 +--------------+
                                 |    message   |
                                 +--------------+
                                        ||
                                 +--------------+
                                 | custom_string|
                                 +--------------+
                                        ||
                     +-----------------------------------+  F(dsByte=3D0x07=
)
                     | right_encode(|custom_string|)
|-----------------> output
                     +-----------------------------------+


=E2=86=92 2.3.  right_encode( x )

> x =3D x / 256

  I don't think you define the division here. I would define it in
this section as well as in the convention section (1.1):

     a / b outputs the quotient of the operation: a divided by b. For
example 10 =3D 3 * 9 + 1, so 3 would be outputed
     by the operation 10 / 9. Furthermore, since 240 =3D 0 * 256 + 240,
0 would be the output of 240 / 256.

=E2=86=92 Section 3. Test Vectors

  These should probably be in an Appendix.

=E2=86=92 Appendix A.3.

  You could also think of including (or replacing yours with) the
python function there:
  https://github.com/gvanas/KeccakCodePackage/blob/master/Standalone/Kangar=
ooTwelve-reference/K12.py#L98:L113
  But I think it should be noted that this is not taking advantage of
parallelism.



I probably have more, but this is starting to get huge so... I'll wait
until you tell me if I'm being unreasonable.

Thanks again for your work Benoit!

Regards,
David


From nobody Thu Jun 15 17:56:17 2017
Return-Path: <stephen.farrell@cs.tcd.ie>
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 839471270FC; Thu, 15 Jun 2017 17:56:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.302
X-Spam-Level: 
X-Spam-Status: No, score=-4.302 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OZWIHLwQ6WpR; Thu, 15 Jun 2017 17:56:13 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C501A126E3A; Thu, 15 Jun 2017 17:56:09 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 0E8F6BEB3; Fri, 16 Jun 2017 01:56:07 +0100 (IST)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oe9PZpy9uNMT; Fri, 16 Jun 2017 01:56:05 +0100 (IST)
Received: from [172.28.172.2] (unknown [185.51.73.39]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id F3EC1BEAA; Fri, 16 Jun 2017 01:56:03 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1497574565; bh=FxsusIsoFCI4VPSp2suiYw3WMyLzS/6eH+hnBI5pPvk=; h=Subject:To:References:From:Date:In-Reply-To:From; b=eXyfdw46UoVyGuS1/qE2kZkidUvTmZZHZu0R2+TCnRcxz6FSPZfM7zNsXXv9X/IOc Mnk/RvSpvrwxwNAmegzWeEfU45szvfaiUgRNcEiKvdLtwLQpS3KeYi1Bx11HUFr0CW HmKahsqluQALFjEOv4VdpnOXo5idNVhy+Bqj8HPQ=
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>, Alexey Melnikov <alexey.melnikov@isode.com>, "irsg@irtf.org" <irsg@irtf.org>, "cfrg@irtf.org" <Cfrg@irtf.org>
References: <D4FDAF9D.8D586%kenny.paterson@rhul.ac.uk> <9a878527-5ab9-5429-7c5d-4f7e4ca4e8db@isode.com> <08944dc3-9086-ed47-cc1b-54248b3dac70@cs.tcd.ie> <D566ADE0.963E4%kenny.paterson@rhul.ac.uk>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <9e6b6146-e376-86cb-70be-0127a3e72d16@cs.tcd.ie>
Date: Fri, 16 Jun 2017 01:56:01 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <D566ADE0.963E4%kenny.paterson@rhul.ac.uk>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2HF9T7PvPKFdPS2lNjO5SiD5C3vG6wpXt"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/nV-NpirZfwsbkPjw8FgK5JppgB8>
Subject: Re: [Cfrg] [irsg] IRSG review of draft-irtf-cfrg-xmss-hash-based-signatures-08
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 Jun 2017 00:56:15 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--2HF9T7PvPKFdPS2lNjO5SiD5C3vG6wpXt
Content-Type: multipart/mixed; boundary="dfoeq9KthArdbBWD7PbUv5EPlaQLaF44d";
 protected-headers="v1"
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>,
 Alexey Melnikov <alexey.melnikov@isode.com>, "irsg@irtf.org"
 <irsg@irtf.org>, "cfrg@irtf.org" <Cfrg@irtf.org>
Message-ID: <9e6b6146-e376-86cb-70be-0127a3e72d16@cs.tcd.ie>
Subject: Re: [irsg] IRSG review of
 draft-irtf-cfrg-xmss-hash-based-signatures-08
References: <D4FDAF9D.8D586%kenny.paterson@rhul.ac.uk>
 <9a878527-5ab9-5429-7c5d-4f7e4ca4e8db@isode.com>
 <08944dc3-9086-ed47-cc1b-54248b3dac70@cs.tcd.ie>
 <D566ADE0.963E4%kenny.paterson@rhul.ac.uk>
In-Reply-To: <D566ADE0.963E4%kenny.paterson@rhul.ac.uk>

--dfoeq9KthArdbBWD7PbUv5EPlaQLaF44d
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB
Content-Transfer-Encoding: quoted-printable


Hi all,

Apologies for being slow in reviewing this. My comments are below.
I have two things that I think really ought be checked before this
is ready for publication. When that's done, then I think this will
be ready to publish.

I also have two further comments/suggestions that I think would
be significant and relatively easy improvements to the document.
Those don't affect the IRSG review process though, considering the
RG were presumably happy enough as-is. (I'd still argue for those
changes though:-)

And I've a bunch of mostly editorial comments that the authors can
choose to take on board or not as they see fit.

Cheers,
S.


possible errors:
----------------

- 3.1.2: Algorithm 2: "if ( (i + s) > w - 1 )..." seems to be
missing parenthesis around the "(w-1)" to me.  Without those
brackets I could interpret that test to always result in false.

- 4.1.9: should the call to setIdx in alg 12 be after treeSig?
  as-is you seem to have incremented the index too soon so
that when alg 11 does getIdx it'd presumably get the
incremented index and cause verification failure. I think
the same is true of alg 16 as well, in section 4.2.4.

significant comments, but likely fixable:
-----------------------------------------

- section 5: there are waaaay too many options defined here.
  As-is, this will damage potential deployment of xmss. I
would strongly suggest deleting all of the options except the
minimum, that being one (and only one) set of parameters for
XMSS and one for XMSS^MT. If others are needed later, those
can be defined later. (Note that the damage done here includes
the hours of developer time that would be wasted debating
which of these choices to implement/use. Consider the case of
pre-hash variants of eddsa for an ongoing example.)

- section 5 (or an appendix) should contain some test vectors
  (including intermediate values). Without those, implementers
have a much harder time of getting their code right.

nits, near-nits and other ignorable things:
-------------------------------------------

- abstract: I'd suggest s/can withstand attacks/ can withstand
  so-far known attacks/

- 1.1: You say if used >1 time "no cryptographic security
  guarantees remain." It might be clearer to give some
examples of consequences, e.g. that the attacker can forge new
signatures or whatever.

- 1.1: I think you might mention that XMSS and other OTS ideas
  require some new crypto APIs. I'm not aware if anyone has
developed proposals for such, but would be interested if
someone has.

- 2.3, 2nd last para: you might want to say what happens with
  e.g.  B<<2 where B=3D0xf0. I assume the result is 0xc0 but
someone might think it's 0x3c0 or even 0xc3.

- 2.5: having the "type word" as octet 15 of a 32 byte address
  seems odd. Is there a reason why? (Just wondering.)

- 2.6: It seems odd to given an example where the input and
  output of base_w() are the same. A different example may be
more useful. (More examples generally would be great.)

- 3.1.3: maybe note that "/" means nothing? Which I assume it
  does? Better might be to just say that.

- 3.1.5: "a maximum value of len_1 * (w - 1) * 2^8" is missing
  units

- 3.1.5: "the variable" - which one?

- 3.1.5: "For the parameter sets given in Section 5 a 32-bit
  unsigned integer is sufficient." Sufficient for what?

- 3.1.5: The ascii art at the end of p16 doesn't help much.

- 3.1.7: The "MUST match" statement doesn't seem enforceable
  nor testable so I'm not sure it's a good idea to include.
OTOH, I do get the idea of using 2119 terms for emphasis.

- 3.1.7: I think it might be useful to point out any specific
  problems associated with using a low entropy human memorable
secret (password) for the value S. No matter what you say,
people will do that, so better if you can say you told them
specifically about downsides of doing that.

- 4.1.12: I'm not sure if the MAY there is correct or not.  If
  it means "you MAY use a different algorithm to get the same
output as alg 12" then that'd be fine. If something else is
meant I'm not sure what you're saying, and it'd probably be
better to not even mention it.

- section 5 should also spell out the signature and
public key sizes in bytes and ideally, if you keep multiple
options, (but please don't:-) describe relative or measured
timings.




--dfoeq9KthArdbBWD7PbUv5EPlaQLaF44d--

--2HF9T7PvPKFdPS2lNjO5SiD5C3vG6wpXt
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

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

iQEcBAEBCAAGBQJZQyyhAAoJEC88hzaAX42iOGIIAJgMKWIRN7RGNlC0kNfvl7zh
U5v/ewQyA1avNWjXe4U0GNESZS/zV2GNLx7DhjVPZiXa7SBKQLdT2uy68gMXsXI9
AKtWN1Jb/nKhMiEnzVWh2o80vwrDV2ReZGumeP2+rf4qObLh/Qf8Y3FRacNCy45g
+Peq3icykWY2pC2If09Pdx4gFr6lQzB/hgTTxYXqPGj9Eu8Kml8CNuOiv9eoP9+1
uO1ak8A2Ek17MD+ucE2nPzpzkUBJLhYV4euH8mtep6/SFpKhCos63m48SRlIvdel
NSXqfT4RX+ti0DPEIP9VKLjpg/Oy3JstwYSe0IV3XUpSl9hN07oP4O4IALixadk=
=cOho
-----END PGP SIGNATURE-----

--2HF9T7PvPKFdPS2lNjO5SiD5C3vG6wpXt--


From nobody Thu Jun 15 21:59:34 2017
Return-Path: <peter.dettman@bouncycastle.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 ED1F01277BB for <cfrg@ietfa.amsl.com>; Thu, 15 Jun 2017 21:59:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TDn7f7c4E-6p for <cfrg@ietfa.amsl.com>; Thu, 15 Jun 2017 21:59:29 -0700 (PDT)
Received: from tauceti.org.au (mail.tauceti.org.au [203.32.61.25]) by ietfa.amsl.com (Postfix) with ESMTP id D78981200F3 for <cfrg@irtf.org>; Thu, 15 Jun 2017 21:59:27 -0700 (PDT)
X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=ppp-27-55-143-82.revip3.asianet.co.th; 
To: Francisco Rodriguez- Henriquez <francisco@cs.cinvestav.mx>, "cfrg@irtf.org" <cfrg@irtf.org>
References: <CAHOTMVKHA-yJR1oCyPtUp4-aJVc3dTdyxQHNo4xqnJt0hU6jVQ@mail.gmail.com> <CAMm+Lwgm8XzTBarZ1eFePTZGORorBJAeF7brDkhWGQKQVT0LPQ@mail.gmail.com> <CAMm+LwggT_AVv=KjzM1r=6UnkeK+g8zkticXFBDQ0cUXs_PP0A@mail.gmail.com> <CAHOTMVLHPFyi2VWpv85hrZ1MoXqeHYUv52wkMxjj3xp5B4V1cw@mail.gmail.com> <CAMm+Lwgfk1=yEJSbZbaZLvF5k5k66VVSx6MzKLM+DbUV7Ls6Xw@mail.gmail.com> <CAHOTMVK1gYrFiwd8f8zf2zPXYyCorp+jixkcY5FLhfHfv0NkWw@mail.gmail.com> <CAMm+LwjeZdR=ZGX0topN2w6P12jEmR-TQ8M9+anyETj43nbiqg@mail.gmail.com> <CAHOTMVL2e2UjVX6VKgHUbOHrb-gsU8kn_cxY1FdNrnj29cki9g@mail.gmail.com> <alpine.LFD.2.02.1703291804030.8996@delta.cs.cinvestav.mx> <alpine.LFD.2.02.1705111858040.25089@delta.cs.cinvestav.mx>
Cc: =?UTF-8?Q?Julio_C=c3=a9sar_Lopez?= <jlopez@ic.unicamp.br>, Thomaz Oliveira <thomaz.figueiredo@gmail.com>, huseyin.hisil@yasar.edu.tr
From: Peter Dettman <peter.dettman@bouncycastle.org>
Message-ID: <02899a12-8cf7-c318-32ea-9491ec2a22c2@bouncycastle.org>
Date: Fri, 16 Jun 2017 11:58:54 +0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <alpine.LFD.2.02.1705111858040.25089@delta.cs.cinvestav.mx>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
X-Authenticated-User: peter.dettman@bouncycastle.org 
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/39tfYKoF7W87DF6NxqWXtXc7Y7M>
Subject: Re: [Cfrg] How to (pre-)compute a ladder [revised version]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 Jun 2017 04:59:33 -0000

Hi Francisco,

I've updated my (java) implementations of X25519 and X448 in line with
your revised paper. My rough benchmark results for a complete ECDH are
-17.7% and -19.5% time required for X25519 and X448 respectively.

These are perhaps slightly more modest than the paper's estimates. Your
paper already anticipates that (uncounted) field add/sub are significant
in practice.

Part of the difference however is that my implementation of Algorithm 3
handles the final 'q' bits using simple doublings, and removes redundant
cswaps - just as Algorithm 5 does. Of course Alg. 3 is just as presented
in RFC 7748, but it might be a fairer comparison to first apply to Alg.
3 those of your optimizations that are applicable.

Also, my (32-bit) X448 implementation (Alg. 5) required a carry
propagation for 'A' (line 10), due to tight bounds on limbs when
squaring D, E. I did the same for (32-bit) X25519 although I haven't yet
proved it necessary.

An idea: for fixed-base X25519, why not precompute one doubling? i.e.
just calculate (k/2) * 2P, needing only 2 final doublings (you even
already have S of order 4). I am not sure whether this extends to
precomputing (q-1) doublings.

Another thought that occurred to me is that someone might get the idea
to use your fixed-base ladder with some other point. Couldn't this go
awry if that point were already "P + S" or similar? If so, a caution
somewhere in the paper on preconditions for the fixed point might be
advised.

Regards,
Pete Dettman


On 12/05/2017 7:14 AM, Francisco Rodriguez- Henriquez wrote:
> Dear CFRG community,
> 
> We would like to draw your attention to an improved version of our IACR
> pre-print 2017/264 now entitled:
> 
>     "How to (pre-)compute a ladder"
> 
> In this revised version, we present an improved differential addition
> formula that uses pre-computation to match the computational cost of the
> classical Montgomery differential addition.
> 
> Accordingly, our estimates suggest that a full implementation of our
> pre-computable ladder proposal should outperform state-of-the-art
> software implementations of the X25519 and X448 functions by a 40%
> speedup when working in the fixed-point scenario.
> 
> We would be delighted to receive feedback (including sightings of typos)
> from the CFRG community.
> 
> With best regards,
> 
> Thomaz Oliveira, Julio López, Hüseyin Hisil and Francisco
> Rodríguez-Henríquez
> 
> 
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg
> 


From nobody Sat Jun 17 11:25:18 2017
Return-Path: <Kenny.Paterson@rhul.ac.uk>
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 771F8129B59 for <cfrg@ietfa.amsl.com>; Sat, 17 Jun 2017 11:25:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.7
X-Spam-Level: 
X-Spam-Status: No, score=-4.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_HELO_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=rhul.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PCt10bldGsbJ for <cfrg@ietfa.amsl.com>; Sat, 17 Jun 2017 11:25:14 -0700 (PDT)
Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50071.outbound.protection.outlook.com [40.107.5.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 79B23129B55 for <cfrg@irtf.org>; Sat, 17 Jun 2017 11:25:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhul.onmicrosoft.com;  s=selector1-rhul-ac-uk; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=MDlIdSoJjV7HAwbsFOxcIkgLYH1t9EVSH80PZsHNO/c=; b=AurHXybaHr8akBOim50vinKrnTvqo+/ePFp/UyIzCxKo1rN0PTdEW60NkKB9Kn0sLLAT4FKYRDkJJ3jy0Jn2nNIXcnX32YX0A/L57Ge7CvzBLLdvHW7tpMpDl5twhQ60Ci7lcD20f7N/cU3aS+qS4ApmYgVrvR2d/ejDA8hCmrE=
Received: from AM4PR0301MB1906.eurprd03.prod.outlook.com (10.168.2.156) by AM4PR0301MB1907.eurprd03.prod.outlook.com (10.168.3.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Sat, 17 Jun 2017 18:25:11 +0000
Received: from AM4PR0301MB1906.eurprd03.prod.outlook.com ([fe80::9dfc:6390:892b:6c59]) by AM4PR0301MB1906.eurprd03.prod.outlook.com ([fe80::9dfc:6390:892b:6c59%14]) with mapi id 15.01.1157.022; Sat, 17 Jun 2017 18:25:10 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [irsg] IETF 99 Preliminary Agenda
Thread-Index: AQHS5vVPXa0xkvcxbUiULGn2QZRjbKIpcN4A
Date: Sat, 17 Jun 2017 18:25:10 +0000
Message-ID: <D56B3238.96886%kenny.paterson@rhul.ac.uk>
References: <149765443414.24066.16271031992661424263.idtracker@ietfa.amsl.com>
In-Reply-To: <149765443414.24066.16271031992661424263.idtracker@ietfa.amsl.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.7.1.161129
authentication-results: irtf.org; dkim=none (message not signed) header.d=none;irtf.org; dmarc=none action=none header.from=rhul.ac.uk;
x-originating-ip: [78.146.62.179]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM4PR0301MB1907; 7:Q0bu9JWlIUCVRhfCCYctJrIRH/DKIT49hEEAYu4MNMAhuv4R6BsXOFmCNw40FyrjfZKYy4srRwmVs9v91g4lNy+q6G/DMIzhXefBTp4GV1OIhDr5P5UwPVk7gtEr6GcH/DjCHsAuzY8Iy4i6H8L+1A0Q5T4IDibJWEQIRHkJh8tlkHPQYvXH0LN+gdQ7OWcnPyzWthwWkNHcJ8opxJSOsO6C6CCK/RH2QVCgqJ7iNV9/UU610kWUOUOfyOl5K33/ZM1+IFso9clNE610/huYc9MQY5d5B8h6qyO3xwYrbGMbAV5bsA+rxLLHELsyolarhZSyqc7C7XIgLRLcwMaxkTGw7H5mdt//aXmspRCLm9ZRlQ7m6R7GyprQh+l87agaWc6nEbiE6lC5M2Wvy1PwkCuR5pwnYYDA/3LhiCC1tx75KBKmjcM1EDA/DRmFTJ0v+7BZmZbxHWj9rRLWQMVK9kKd2kcVhrT95D8z+7CqVJlwBR0Rvk2WoVefavn+7WHIM2QztgAzRmx2gEq2iNhQ3qxyzLGjLPqb+AquZuh+yc/tBpujHhEqAY+gsC/wnVdNiNoOI3QIFQ3iExBfWQBeSgRS5tZtqpoW+kNBoZ1/w5MFvKaLEuS3MKyNYtNx/OrBQnxqQG6VaIjznPlZ5Ipb3Lv4pfYk+Me2owS4BpdfHSj+8uAYxjR7cEV2+ioAiV+WFK0e4ZjlnPZLLbPW7UMMZpr6XvXkMTmFw50ISJKFn4JVs2rOR+KV7MjWgqfzV/++3xZC/3MKKIEl90uBBQ4Xbtj0p72PKFya+0LdIkPnI8k=
x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10009020)(6009001)(39450400003)(39840400002)(39850400002)(39400400002)(39410400002)(24454002)(3660700001)(99286003)(2473003)(189998001)(3280700002)(38730400002)(2906002)(6436002)(2501003)(110136004)(6506006)(5640700003)(5250100002)(2900100001)(53546009)(6306002)(25786009)(6486002)(86362001)(83506001)(6512007)(53936002)(14454004)(76176999)(72206003)(50986999)(54356999)(36756003)(478600001)(66066001)(305945005)(81166006)(6116002)(102836003)(74482002)(3846002)(8676002)(7736002)(4001350100001)(5660300001)(2351001)(229853002)(8936002)(1730700003)(6916009)(2950100002)(42882006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0301MB1907; H:AM4PR0301MB1906.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
x-ms-traffictypediagnostic: AM4PR0301MB1907:
x-ms-office365-filtering-correlation-id: 84b82ea5-a1d4-46bd-119c-08d4b5ae305c
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:AM4PR0301MB1907; 
x-microsoft-antispam-prvs: <AM4PR0301MB19072222D57C6E29A51FD50FBCC60@AM4PR0301MB1907.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(120809045254105);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6041248)(201703131423075)(201702281529075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123560025)(20161123555025)(20161123558100)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM4PR0301MB1907; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM4PR0301MB1907; 
x-forefront-prvs: 034119E4F6
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <D6A63543D80AC34D806D92AA1AA7EB5C@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jun 2017 18:25:10.5422 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0301MB1907
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/52Mms8arfqKmpf36nD04seql4Q4>
Subject: [Cfrg] FW: [irsg] IETF 99 Preliminary Agenda
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 17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Pg0KDQo=


From nobody Mon Jun 19 09:39:32 2017
Return-Path: <Kenny.Paterson@rhul.ac.uk>
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 2D9CC131603; Mon, 19 Jun 2017 09:39:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.7
X-Spam-Level: 
X-Spam-Status: No, score=-4.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_HELO_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=rhul.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bCXUz39XI43T; Mon, 19 Jun 2017 09:39:27 -0700 (PDT)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10083.outbound.protection.outlook.com [40.107.1.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 63BF71315E7; Mon, 19 Jun 2017 09:37:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhul.onmicrosoft.com;  s=selector1-rhul-ac-uk; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=fy3uDn4bRURrMRxrIJ/da459CLfQjdbFW4u5TghmWgg=; b=vputIbhkcTCFf0PGHLHzcjGdKxC9kgG15TBuYr9atLtS03ru/aOVfPPaylW9XdzpVUxlmmcUWXYFrRFinBS8LcJWHUxP3Hx5eLW2gJgpBw3GxInTPVHQF81BOd+yQaI8FOaiFBtuPq7s8NyIcjQmqtV00b9UCy4/pJJderaro/s=
Received: from AM4PR0301MB1906.eurprd03.prod.outlook.com (10.168.2.156) by AM4PR0301MB1906.eurprd03.prod.outlook.com (10.168.2.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Mon, 19 Jun 2017 16:37:28 +0000
Received: from AM4PR0301MB1906.eurprd03.prod.outlook.com ([fe80::a0cf:ee9d:63a3:d1ab]) by AM4PR0301MB1906.eurprd03.prod.outlook.com ([fe80::a0cf:ee9d:63a3:d1ab%14]) with mapi id 15.01.1178.018; Mon, 19 Jun 2017 16:37:28 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>, Alexey Melnikov <alexey.melnikov@isode.com>, "irsg@irtf.org" <irsg@irtf.org>, "cfrg@irtf.org" <Cfrg@irtf.org>
CC: "draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org" <draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org>
Thread-Topic: [irsg] IRSG review of draft-irtf-cfrg-xmss-hash-based-signatures-08
Thread-Index: AQHSplCaq+TMeSvbmEmNdyOfQ3yIYKHhJb6AgAABdICAQ2hIgIACmomAgAXOyYA=
Date: Mon, 19 Jun 2017 16:37:28 +0000
Message-ID: <D56DBB2C.96A67%kenny.paterson@rhul.ac.uk>
References: <D4FDAF9D.8D586%kenny.paterson@rhul.ac.uk> <9a878527-5ab9-5429-7c5d-4f7e4ca4e8db@isode.com> <08944dc3-9086-ed47-cc1b-54248b3dac70@cs.tcd.ie> <D566ADE0.963E4%kenny.paterson@rhul.ac.uk> <9e6b6146-e376-86cb-70be-0127a3e72d16@cs.tcd.ie>
In-Reply-To: <9e6b6146-e376-86cb-70be-0127a3e72d16@cs.tcd.ie>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.7.1.161129
authentication-results: cs.tcd.ie; dkim=none (message not signed) header.d=none;cs.tcd.ie; dmarc=none action=none header.from=rhul.ac.uk;
x-originating-ip: [134.219.227.30]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM4PR0301MB1906; 7:aP6I/yhSIpIilYjXQTsJ0hU0H+7NikBgoY4WoKMVKIE0m/dudWJ5e67Tyf8WZXM2gcNwbQPB2fezjXgWu2M6ltbrybAx65bELuwHAJ5ol5BgNR+yTFF+0oChfTk9UzuWo2QzYUyEap4se9Lnk7Ut7ddrTSsXbegIKTwHmwUedxHgmff+2d+3DRpXnF8AftEKDna79JEQcvgxhEpNNtg0o8qz/8Ed2zZMEi1xryZ/fXm4xMmmZEtHPMrUoBY+J30c+znurHmcKxB1ThI1AZCa7MF4ZBxA6DGF7VCqFkulnLa/Y5jrr2rL5bHPlUXnwVwldCraJwQy98AGxsrsnAnt56Abkc50PgVnazGMuO5yMKTS79p/FvpeGfrPwEcjxzk2ZWJOT7HYjnXEKSBd4Ckkfh+J+2gjLhMcjdMLPNOryneQ5cQIB0KeHBs280OPpk7gHFQg0d+2raNDD0C0IpW6Juwy9xwdcY0yWWcfmnyisR8uZcRimax8Cwgj33E9f/Cxd0yRdoepdiD4DQNS2BoN6RguScrsIW6HzXtmC1s4DxbMVtqO6N9MOvsqT3n+iIsfzDSSz9r5TjlIfg6USVGNnB0CymgOXXfBBkjjb6Dly7ddLeXwNl1tEcEDXohld4jTA14q364sJVRXRsMMxvGJk0xbm/tBFhMADA/+lAXLnJ55temL3loAZmQgE5RgJwGHFaJukJ/a1KXD+fmj4o6LmjSdhbbUKGse22WkzHMXuj4MdNI8Ix4vRXsJNuL2FNdi+hCCJIQrPBNzJZ0rKMkt4hPS87kXk81U41Pfjwve6BU=
x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10009020)(6009001)(39450400003)(39410400002)(39850400002)(39400400002)(39840400002)(53754006)(24454002)(53936002)(5250100002)(6512007)(99286003)(2201001)(305945005)(93886004)(14454004)(72206003)(2906002)(25786009)(3660700001)(53546009)(478600001)(8676002)(6246003)(54356999)(38730400002)(76176999)(81166006)(50986999)(551544002)(66066001)(4001350100001)(6486002)(83506001)(8936002)(229853002)(74482002)(189998001)(2950100002)(2900100001)(42882006)(36756003)(86362001)(102836003)(3846002)(6116002)(6436002)(7736002)(5660300001)(230783001)(6506006)(3280700002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0301MB1906; H:AM4PR0301MB1906.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
x-ms-office365-filtering-correlation-id: ee8283f4-30e8-4494-4609-08d4b731793d
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:AM4PR0301MB1906; 
x-ms-traffictypediagnostic: AM4PR0301MB1906:
x-microsoft-antispam-prvs: <AM4PR0301MB190653C72E701F7882542699BCC40@AM4PR0301MB1906.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(32856632585715)(192374486261705);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(3002001)(6041248)(20161123555025)(201703131423075)(201702281529075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123560025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM4PR0301MB1906; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM4PR0301MB1906; 
x-forefront-prvs: 0343AC1D30
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <E1BD22B24D227C4AAD56A8B5A382C22C@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jun 2017 16:37:28.0484 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0301MB1906
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/yn6rpdoL-BBofsUbETYcKF40MPg>
Subject: Re: [Cfrg] [irsg] IRSG review of draft-irtf-cfrg-xmss-hash-based-signatures-08
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Jun 2017 16:39:30 -0000

QFN0ZXBoZW46IHRoYW5rcyBmb3IgbWFraW5nIHRoaXMgdGhvcm91Z2ggc3R1ZHkgb2YgdGhlIGRy
YWZ0Lg0KDQpAZHJhZnQgYXV0aG9yczogY2FuIHlvdSBwbGVhc2UgZ28gdGhyb3VnaCB0aGlzIGZl
ZWRiYWNrIGNhcmVmdWxseSBhbmQNCmltcGxlbWVudCB0aGUgbmVjZXNzYXJ5IGNoYW5nZXM/DQoN
ClRoZSB0b3VnaGVzdCBwYXJ0IHdpbGwgbGlrZWx5IGJlIHNlbGVjdGluZyBvbmUgc2V0IG9mIHBh
cmFtZXRlcnMuIElmDQpTdGVwaGVuIGlzIGFtZW5h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GFuZCBpdCdkIHByb2JhYmx5IGJlDQo+YmV0dGVyIHRvIG5vdCBldmVuIG1lbnRp
b24gaXQuDQo+DQo+LSBzZWN0aW9uIDUgc2hvdWxkIGFsc28gc3BlbGwgb3V0IHRoZSBzaWduYXR1
cmUgYW5kDQo+cHVibGljIGtleSBzaXplcyBpbiBieXRlcyBhbmQgaWRlYWxseSwgaWYgeW91IGtl
ZXAgbXVsdGlwbGUNCj5vcHRpb25zLCAoYnV0IHBsZWFzZSBkb24ndDotKSBkZXNjcmliZSByZWxh
dGl2ZSBvciBtZWFzdXJlZA0KPnRpbWluZ3MuDQo+DQo+DQo+DQoNCg==


From nobody Mon Jun 19 09:52:21 2017
Return-Path: <stephen.farrell@cs.tcd.ie>
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 E4419131652; Mon, 19 Jun 2017 09:52:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.301
X-Spam-Level: 
X-Spam-Status: No, score=-4.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yPHO8RiA-LL0; Mon, 19 Jun 2017 09:52:17 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A153F13169E; Mon, 19 Jun 2017 09:48:25 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id D85FBBEAA; Mon, 19 Jun 2017 17:48:23 +0100 (IST)
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lZJzcn2YeFda; Mon, 19 Jun 2017 17:48:23 +0100 (IST)
Received: from [134.226.36.93] (bilbo.dsg.cs.tcd.ie [134.226.36.93]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id C7CD4BE64; Mon, 19 Jun 2017 17:48:18 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1497890899; bh=ltsKbZCJuYKdgnlIYBJ7rmUJgzToULvmEFF290ytHVY=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=l7YqKWIuDAa4BA/NligjcBDv8NrYxjieIHghAR9DsFYXSKIwmdTBFkZ62krl9a9Wx srwq3tRT0G4oMRVgGlP1RbZ6o2RhSJJfL7jdQfSXQRk6wCm32+ILDgP4yAmGCEpkkt DP+jo2Y3SCdWAcHqlNRTmO0EJuT8+S1A3qev/OUI=
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>, Alexey Melnikov <alexey.melnikov@isode.com>, "irsg@irtf.org" <irsg@irtf.org>, "cfrg@irtf.org" <Cfrg@irtf.org>
Cc: "draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org" <draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org>
References: <D4FDAF9D.8D586%kenny.paterson@rhul.ac.uk> <9a878527-5ab9-5429-7c5d-4f7e4ca4e8db@isode.com> <08944dc3-9086-ed47-cc1b-54248b3dac70@cs.tcd.ie> <D566ADE0.963E4%kenny.paterson@rhul.ac.uk> <9e6b6146-e376-86cb-70be-0127a3e72d16@cs.tcd.ie> <D56DBB2C.96A67%kenny.paterson@rhul.ac.uk>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <6f90e485-01f4-5ad8-49ef-e51c52e01a46@cs.tcd.ie>
Date: Mon, 19 Jun 2017 17:48:17 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <D56DBB2C.96A67%kenny.paterson@rhul.ac.uk>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Anq5QderXe4qn09l5PPHOtjulNhDcDLPl"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/ZqzevQ6nsBsEyepWqx8x5XzGHCA>
Subject: Re: [Cfrg] [irsg] IRSG review of draft-irtf-cfrg-xmss-hash-based-signatures-08
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Jun 2017 16:52:20 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--Anq5QderXe4qn09l5PPHOtjulNhDcDLPl
Content-Type: multipart/mixed; boundary="p6jwAVPv5KOcj8kMmAH27jxCm8i5crH9N";
 protected-headers="v1"
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
To: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>,
 Alexey Melnikov <alexey.melnikov@isode.com>, "irsg@irtf.org"
 <irsg@irtf.org>, "cfrg@irtf.org" <Cfrg@irtf.org>
Cc: "draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org"
 <draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org>
Message-ID: <6f90e485-01f4-5ad8-49ef-e51c52e01a46@cs.tcd.ie>
Subject: Re: [irsg] IRSG review of
 draft-irtf-cfrg-xmss-hash-based-signatures-08
References: <D4FDAF9D.8D586%kenny.paterson@rhul.ac.uk>
 <9a878527-5ab9-5429-7c5d-4f7e4ca4e8db@isode.com>
 <08944dc3-9086-ed47-cc1b-54248b3dac70@cs.tcd.ie>
 <D566ADE0.963E4%kenny.paterson@rhul.ac.uk>
 <9e6b6146-e376-86cb-70be-0127a3e72d16@cs.tcd.ie>
 <D56DBB2C.96A67%kenny.paterson@rhul.ac.uk>
In-Reply-To: <D56DBB2C.96A67%kenny.paterson@rhul.ac.uk>

--p6jwAVPv5KOcj8kMmAH27jxCm8i5crH9N
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB
Content-Transfer-Encoding: quoted-printable


Hiya,

On 19/06/17 17:37, Paterson, Kenny wrote:
> @Stephen: thanks for making this thorough study of the draft.
>=20
> @draft authors: can you please go through this feedback carefully and
> implement the necessary changes?
>=20
> The toughest part will likely be selecting one set of parameters. If
> Stephen is amenable (but maybe he is not), I'd suggest highlighting one=

> set amongst the several listed as being your "preferred" set (rather th=
an
> including just one set as Stephen suggests) - that'd be a halfway house=

> between what you currently have and what Stephen suggests.

I'm always amenable:-)

For me, the key thing is to avoid folks using the RFC feeling
the need to debate which set(s) of parameters to choose to use.
Such debates are really wasteful, so reducing the set to the
minimum is very helpful. If there's really a need for loads
of parameters to be defined, (and I don't think there is for
this), then that creates a need to explain when to use which,
in sufficient detail for developers.

So I do think it's easier to just delete options, and since
there's an IANA registry, if it turns out more variants are
needed later then those can be added as needed. So, absent
someone saying that they need loads of options for their code,
I'd say just one XMSS and one XMSS^MT option would be best.

Cheers,
S.

>=20
> Cheers,
>=20
> Kenny=20
>=20
>=20
> On 16/06/2017 01:56, "Stephen Farrell" <stephen.farrell@cs.tcd.ie> wrot=
e:
>=20
>>
>> Hi all,
>>
>> Apologies for being slow in reviewing this. My comments are below.
>> I have two things that I think really ought be checked before this
>> is ready for publication. When that's done, then I think this will
>> be ready to publish.
>>
>> I also have two further comments/suggestions that I think would
>> be significant and relatively easy improvements to the document.
>> Those don't affect the IRSG review process though, considering the
>> RG were presumably happy enough as-is. (I'd still argue for those
>> changes though:-)
>>
>> And I've a bunch of mostly editorial comments that the authors can
>> choose to take on board or not as they see fit.
>>
>> Cheers,
>> S.
>>
>>
>> possible errors:
>> ----------------
>>
>> - 3.1.2: Algorithm 2: "if ( (i + s) > w - 1 )..." seems to be
>> missing parenthesis around the "(w-1)" to me.  Without those
>> brackets I could interpret that test to always result in false.
>>
>> - 4.1.9: should the call to setIdx in alg 12 be after treeSig?
>>  as-is you seem to have incremented the index too soon so
>> that when alg 11 does getIdx it'd presumably get the
>> incremented index and cause verification failure. I think
>> the same is true of alg 16 as well, in section 4.2.4.
>>
>> significant comments, but likely fixable:
>> -----------------------------------------
>>
>> - section 5: there are waaaay too many options defined here.
>>  As-is, this will damage potential deployment of xmss. I
>> would strongly suggest deleting all of the options except the
>> minimum, that being one (and only one) set of parameters for
>> XMSS and one for XMSS^MT. If others are needed later, those
>> can be defined later. (Note that the damage done here includes
>> the hours of developer time that would be wasted debating
>> which of these choices to implement/use. Consider the case of
>> pre-hash variants of eddsa for an ongoing example.)
>>
>> - section 5 (or an appendix) should contain some test vectors
>>  (including intermediate values). Without those, implementers
>> have a much harder time of getting their code right.
>>
>> nits, near-nits and other ignorable things:
>> -------------------------------------------
>>
>> - abstract: I'd suggest s/can withstand attacks/ can withstand
>>  so-far known attacks/
>>
>> - 1.1: You say if used >1 time "no cryptographic security
>>  guarantees remain." It might be clearer to give some
>> examples of consequences, e.g. that the attacker can forge new
>> signatures or whatever.
>>
>> - 1.1: I think you might mention that XMSS and other OTS ideas
>>  require some new crypto APIs. I'm not aware if anyone has
>> developed proposals for such, but would be interested if
>> someone has.
>>
>> - 2.3, 2nd last para: you might want to say what happens with
>>  e.g.  B<<2 where B=3D0xf0. I assume the result is 0xc0 but
>> someone might think it's 0x3c0 or even 0xc3.
>>
>> - 2.5: having the "type word" as octet 15 of a 32 byte address
>>  seems odd. Is there a reason why? (Just wondering.)
>>
>> - 2.6: It seems odd to given an example where the input and
>>  output of base_w() are the same. A different example may be
>> more useful. (More examples generally would be great.)
>>
>> - 3.1.3: maybe note that "/" means nothing? Which I assume it
>>  does? Better might be to just say that.
>>
>> - 3.1.5: "a maximum value of len_1 * (w - 1) * 2^8" is missing
>>  units
>>
>> - 3.1.5: "the variable" - which one?
>>
>> - 3.1.5: "For the parameter sets given in Section 5 a 32-bit
>>  unsigned integer is sufficient." Sufficient for what?
>>
>> - 3.1.5: The ascii art at the end of p16 doesn't help much.
>>
>> - 3.1.7: The "MUST match" statement doesn't seem enforceable
>>  nor testable so I'm not sure it's a good idea to include.
>> OTOH, I do get the idea of using 2119 terms for emphasis.
>>
>> - 3.1.7: I think it might be useful to point out any specific
>>  problems associated with using a low entropy human memorable
>> secret (password) for the value S. No matter what you say,
>> people will do that, so better if you can say you told them
>> specifically about downsides of doing that.
>>
>> - 4.1.12: I'm not sure if the MAY there is correct or not.  If
>>  it means "you MAY use a different algorithm to get the same
>> output as alg 12" then that'd be fine. If something else is
>> meant I'm not sure what you're saying, and it'd probably be
>> better to not even mention it.
>>
>> - section 5 should also spell out the signature and
>> public key sizes in bytes and ideally, if you keep multiple
>> options, (but please don't:-) describe relative or measured
>> timings.
>>
>>
>>
>=20


--p6jwAVPv5KOcj8kMmAH27jxCm8i5crH9N--

--Anq5QderXe4qn09l5PPHOtjulNhDcDLPl
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

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

iQEcBAEBCAAGBQJZSABSAAoJEC88hzaAX42iP98IAIiN6jXg18iFhSBBh8vZSRpM
F9XuxNkUkL8K8kX4E7CtPQ91WkHDc1jaTlUFziTb35A8qDjjR8mK3curu+uY9cLR
yjw/A8rcVsAiygbyHsJHJ8jIhbPpznbDmwccd19agekZL8thbxt9GsIH/2gEvYvB
415TJTUGQTdyLg0w30CUaFnBrKO9I87Aszaoji4gmFnXV4vcZddMM/9OU26Ielw1
XScmpbeTy91tBDu8/O4gzm7IluuaR/OZ90jaYIOVIP2c8kO41uclsICl3QthCjQ6
nMH30Jn1TFNLMT57ysCJMGPgXRjrcsWZgpjjGZ9PmptHSduDcFn+AEv3Er7YyXw=
=LUqO
-----END PGP SIGNATURE-----

--Anq5QderXe4qn09l5PPHOtjulNhDcDLPl--


From nobody Tue Jun 20 00:59:10 2017
Return-Path: <ietf@huelsing.net>
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 E9D3A1292C5; Tue, 20 Jun 2017 00:59:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IiHyk92Ydjeo; Tue, 20 Jun 2017 00:59:00 -0700 (PDT)
Received: from www363.your-server.de (www363.your-server.de [78.46.179.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E68E8129400; Tue, 20 Jun 2017 00:58:59 -0700 (PDT)
Received: from [88.198.220.130] (helo=sslproxy01.your-server.de) by www363.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85_2) (envelope-from <ietf@huelsing.net>) id 1dNE3r-0003q8-6y; Tue, 20 Jun 2017 09:58:55 +0200
Received: from [145.116.44.239] by sslproxy01.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-SHA:256) (Exim 4.84_2) (envelope-from <ietf@huelsing.net>) id 1dNE3r-0008Gt-0A; Tue, 20 Jun 2017 09:58:55 +0200
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>, "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>, Alexey Melnikov <alexey.melnikov@isode.com>, "irsg@irtf.org" <irsg@irtf.org>, "cfrg@irtf.org" <Cfrg@irtf.org>
Cc: "draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org" <draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org>
References: <D4FDAF9D.8D586%kenny.paterson@rhul.ac.uk> <9a878527-5ab9-5429-7c5d-4f7e4ca4e8db@isode.com> <08944dc3-9086-ed47-cc1b-54248b3dac70@cs.tcd.ie> <D566ADE0.963E4%kenny.paterson@rhul.ac.uk> <9e6b6146-e376-86cb-70be-0127a3e72d16@cs.tcd.ie> <D56DBB2C.96A67%kenny.paterson@rhul.ac.uk> <6f90e485-01f4-5ad8-49ef-e51c52e01a46@cs.tcd.ie>
From: "A. Huelsing" <ietf@huelsing.net>
Message-ID: <5e328e85-a8a1-67f1-3853-418309b04a17@huelsing.net>
Date: Tue, 20 Jun 2017 09:58:53 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <6f90e485-01f4-5ad8-49ef-e51c52e01a46@cs.tcd.ie>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Language: en-GB
X-Authenticated-Sender: ietf@huelsing.net
X-Virus-Scanned: Clear (ClamAV 0.99.2/23490/Tue Jun 20 06:14:12 2017)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/1eNuF1XuxwUsI5iJhW99LJlucY0>
Subject: Re: [Cfrg] [irsg] IRSG review of draft-irtf-cfrg-xmss-hash-based-signatures-08
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Jun 2017 07:59:03 -0000

Hi,

thanks a lot for your review Stephen.

Let me comment on the parameter criticism. There is a crucial difference between
XMSS and "traditional" signature schemes which influenced our decision.
Unlike "traditional" signature schemes, XMSS (and all other Merkle-tree based,
stateful schemes) the number of signatures one can generate using a key pair
is controlled by the parameter h, the total tree hight, which also influences
performance significantly (increasing h increases number of signatures but makes
the scheme slower and signatures larger).


What we tried to do was to reduce all parameters that really influence
implementations (used hash function, hash function output length, Winternitz
parameter) to a single mandatory parameter set (SHA2-256, 256, 16). This also
fixes a single security level of 256 bit classical / 128 bit quantum. We only
gave different mandatory options for the total tree height and - for XMSS^MT -
different options for the number of layers d which controls the height of trees
in a hypertree. I am not aware of an implementation that really relies on these
two parameters being fixed. Low-level optimized implementations are rather
vectorizing the hash-function implementation as there is not too much
exploitable parallelism in the signature and verification algorithm as most
operations are sequential (different story for stateless schemes).


Now the selection really depends on what are your requirements, i.e., how many
signatures should be possible with one key pair. I agree that we should support
this highlighting the number of signatures as well as the signature size for
each of these parameter sets.

Finally, regarding the test vectors: I think it makes more sense to think of
hash-based signatures as a protocol rather than a basic primitive. We have
cross-verified reference implementations available. Is there an option to
provide an implementation instead of test vectors? Then developers can test
their implementation by verifying their signatures with the reference code and
check their verification algorithm with signatures from the reference
implementation. I am happy to add test cases (we already got those from the
cross testing).

What do you think?

Andreas


Am 19-06-17 um 18:48 schrieb Stephen Farrell:
> Hiya,
>
> On 19/06/17 17:37, Paterson, Kenny wrote:
>> @Stephen: thanks for making this thorough study of the draft.
>>
>> @draft authors: can you please go through this feedback carefully and
>> implement the necessary changes?
>>
>> The toughest part will likely be selecting one set of parameters. If
>> Stephen is amenable (but maybe he is not), I'd suggest highlighting one
>> set amongst the several listed as being your "preferred" set (rather than
>> including just one set as Stephen suggests) - that'd be a halfway house
>> between what you currently have and what Stephen suggests.
> I'm always amenable:-)
>
> For me, the key thing is to avoid folks using the RFC feeling
> the need to debate which set(s) of parameters to choose to use.
> Such debates are really wasteful, so reducing the set to the
> minimum is very helpful. If there's really a need for loads
> of parameters to be defined, (and I don't think there is for
> this), then that creates a need to explain when to use which,
> in sufficient detail for developers.
>
> So I do think it's easier to just delete options, and since
> there's an IANA registry, if it turns out more variants are
> needed later then those can be added as needed. So, absent
> someone saying that they need loads of options for their code,
> I'd say just one XMSS and one XMSS^MT option would be best.
>
> Cheers,
> S.
>
>> Cheers,
>>
>> Kenny 
>>
>>
>> On 16/06/2017 01:56, "Stephen Farrell" <stephen.farrell@cs.tcd.ie> wrote:
>>
>>> Hi all,
>>>
>>> Apologies for being slow in reviewing this. My comments are below.
>>> I have two things that I think really ought be checked before this
>>> is ready for publication. When that's done, then I think this will
>>> be ready to publish.
>>>
>>> I also have two further comments/suggestions that I think would
>>> be significant and relatively easy improvements to the document.
>>> Those don't affect the IRSG review process though, considering the
>>> RG were presumably happy enough as-is. (I'd still argue for those
>>> changes though:-)
>>>
>>> And I've a bunch of mostly editorial comments that the authors can
>>> choose to take on board or not as they see fit.
>>>
>>> Cheers,
>>> S.
>>>
>>>
>>> possible errors:
>>> ----------------
>>>
>>> - 3.1.2: Algorithm 2: "if ( (i + s) > w - 1 )..." seems to be
>>> missing parenthesis around the "(w-1)" to me.  Without those
>>> brackets I could interpret that test to always result in false.
>>>
>>> - 4.1.9: should the call to setIdx in alg 12 be after treeSig?
>>>  as-is you seem to have incremented the index too soon so
>>> that when alg 11 does getIdx it'd presumably get the
>>> incremented index and cause verification failure. I think
>>> the same is true of alg 16 as well, in section 4.2.4.
>>>
>>> significant comments, but likely fixable:
>>> -----------------------------------------
>>>
>>> - section 5: there are waaaay too many options defined here.
>>>  As-is, this will damage potential deployment of xmss. I
>>> would strongly suggest deleting all of the options except the
>>> minimum, that being one (and only one) set of parameters for
>>> XMSS and one for XMSS^MT. If others are needed later, those
>>> can be defined later. (Note that the damage done here includes
>>> the hours of developer time that would be wasted debating
>>> which of these choices to implement/use. Consider the case of
>>> pre-hash variants of eddsa for an ongoing example.)
>>>
>>> - section 5 (or an appendix) should contain some test vectors
>>>  (including intermediate values). Without those, implementers
>>> have a much harder time of getting their code right.
>>>
>>> nits, near-nits and other ignorable things:
>>> -------------------------------------------
>>>
>>> - abstract: I'd suggest s/can withstand attacks/ can withstand
>>>  so-far known attacks/
>>>
>>> - 1.1: You say if used >1 time "no cryptographic security
>>>  guarantees remain." It might be clearer to give some
>>> examples of consequences, e.g. that the attacker can forge new
>>> signatures or whatever.
>>>
>>> - 1.1: I think you might mention that XMSS and other OTS ideas
>>>  require some new crypto APIs. I'm not aware if anyone has
>>> developed proposals for such, but would be interested if
>>> someone has.
>>>
>>> - 2.3, 2nd last para: you might want to say what happens with
>>>  e.g.  B<<2 where B=0xf0. I assume the result is 0xc0 but
>>> someone might think it's 0x3c0 or even 0xc3.
>>>
>>> - 2.5: having the "type word" as octet 15 of a 32 byte address
>>>  seems odd. Is there a reason why? (Just wondering.)
>>>
>>> - 2.6: It seems odd to given an example where the input and
>>>  output of base_w() are the same. A different example may be
>>> more useful. (More examples generally would be great.)
>>>
>>> - 3.1.3: maybe note that "/" means nothing? Which I assume it
>>>  does? Better might be to just say that.
>>>
>>> - 3.1.5: "a maximum value of len_1 * (w - 1) * 2^8" is missing
>>>  units
>>>
>>> - 3.1.5: "the variable" - which one?
>>>
>>> - 3.1.5: "For the parameter sets given in Section 5 a 32-bit
>>>  unsigned integer is sufficient." Sufficient for what?
>>>
>>> - 3.1.5: The ascii art at the end of p16 doesn't help much.
>>>
>>> - 3.1.7: The "MUST match" statement doesn't seem enforceable
>>>  nor testable so I'm not sure it's a good idea to include.
>>> OTOH, I do get the idea of using 2119 terms for emphasis.
>>>
>>> - 3.1.7: I think it might be useful to point out any specific
>>>  problems associated with using a low entropy human memorable
>>> secret (password) for the value S. No matter what you say,
>>> people will do that, so better if you can say you told them
>>> specifically about downsides of doing that.
>>>
>>> - 4.1.12: I'm not sure if the MAY there is correct or not.  If
>>>  it means "you MAY use a different algorithm to get the same
>>> output as alg 12" then that'd be fine. If something else is
>>> meant I'm not sure what you're saying, and it'd probably be
>>> better to not even mention it.
>>>
>>> - section 5 should also spell out the signature and
>>> public key sizes in bytes and ideally, if you keep multiple
>>> options, (but please don't:-) describe relative or measured
>>> timings.
>>>
>>>
>>>


From nobody Tue Jun 20 04:30:14 2017
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cfrg@ietf.org
Delivered-To: cfrg@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id B4E09131A37; Tue, 20 Jun 2017 04:30:12 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cfrg@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.55.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149795821266.23654.3156380083355252967@ietfa.amsl.com>
Date: Tue, 20 Jun 2017 04:30:12 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/UkPoSTza6GqtfiGmmsy5eMeBz90>
Subject: [Cfrg] I-D Action: draft-irtf-cfrg-re-keying-03.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Jun 2017 11:30:13 -0000

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

        Title           : Re-keying Mechanisms for Symmetric Keys
        Author          : Stanislav Smyshlyaev
	Filename        : draft-irtf-cfrg-re-keying-03.txt
	Pages           : 46
	Date            : 2017-06-20

Abstract:
   If encryption is performed under a single key, there is a certain
   maximum threshold amount of data that can be safely encrypted.  This
   amount is called key lifetime.  This specification contains a
   description of a variety of methods to increase the lifetime of
   symmetric keys.  It provides external and internal re-keying
   mechanisms based on hash functions and on block ciphers that can be
   used with such modes of operations as CTR, GCM, CCM, CBC, CFB, OFB
   and OMAC.


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

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-irtf-cfrg-re-keying-03
https://datatracker.ietf.org/doc/html/draft-irtf-cfrg-re-keying-03

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


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

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


From nobody Tue Jun 20 04:42:09 2017
Return-Path: <stephen.farrell@cs.tcd.ie>
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 B4933129B3C; Tue, 20 Jun 2017 04:42:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.302
X-Spam-Level: 
X-Spam-Status: No, score=-4.302 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qLb19vvliQOj; Tue, 20 Jun 2017 04:42:04 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5AA7A129AF7; Tue, 20 Jun 2017 04:41:56 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 1D0A6BE5D; Tue, 20 Jun 2017 12:41:55 +0100 (IST)
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6t8gH7DE6upE; Tue, 20 Jun 2017 12:41:54 +0100 (IST)
Received: from [134.226.36.93] (bilbo.dsg.cs.tcd.ie [134.226.36.93]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 6EB15BE53; Tue, 20 Jun 2017 12:41:54 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1497958914; bh=jjx/kI+ubdf3iOpb1gSD6Uuc1uEmT9+kDzeYkgK/yos=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=cU0tNy6Vo5mEH+8U3Mb5xyVi5M8IzHNRY71vxEOB9NtC/wlW7iseVClkZekieNCRS fDaHPtjtP2LogRHvC2jr68AQ9apLt0NvHIA6nSiP/XjpuHmYehQQ7se5SvUaZf7B/x SBkeHot2aM0nNAkVXkbXG/gLIi4DAVuHsj/ZGFN0=
To: "A. Huelsing" <ietf@huelsing.net>, "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>, Alexey Melnikov <alexey.melnikov@isode.com>, "irsg@irtf.org" <irsg@irtf.org>, "cfrg@irtf.org" <Cfrg@irtf.org>
Cc: "draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org" <draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org>
References: <D4FDAF9D.8D586%kenny.paterson@rhul.ac.uk> <9a878527-5ab9-5429-7c5d-4f7e4ca4e8db@isode.com> <08944dc3-9086-ed47-cc1b-54248b3dac70@cs.tcd.ie> <D566ADE0.963E4%kenny.paterson@rhul.ac.uk> <9e6b6146-e376-86cb-70be-0127a3e72d16@cs.tcd.ie> <D56DBB2C.96A67%kenny.paterson@rhul.ac.uk> <6f90e485-01f4-5ad8-49ef-e51c52e01a46@cs.tcd.ie> <5e328e85-a8a1-67f1-3853-418309b04a17@huelsing.net>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <4180756b-b718-05ce-2ea0-b8bf65fa8711@cs.tcd.ie>
Date: Tue, 20 Jun 2017 12:41:54 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <5e328e85-a8a1-67f1-3853-418309b04a17@huelsing.net>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1nOe0VFA8nOn3NBf524iVOkWIGPlWWOua"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/TDzkFZsU1kaUwOFXqCGelo-yMSU>
Subject: Re: [Cfrg] [irsg] IRSG review of draft-irtf-cfrg-xmss-hash-based-signatures-08
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Jun 2017 11:42:08 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--1nOe0VFA8nOn3NBf524iVOkWIGPlWWOua
Content-Type: multipart/mixed; boundary="3d4TdoVJ7xf1FffO1Qkw3jc3dJi0mpPDl";
 protected-headers="v1"
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
To: "A. Huelsing" <ietf@huelsing.net>,
 "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>,
 Alexey Melnikov <alexey.melnikov@isode.com>, "irsg@irtf.org"
 <irsg@irtf.org>, "cfrg@irtf.org" <Cfrg@irtf.org>
Cc: "draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org"
 <draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org>
Message-ID: <4180756b-b718-05ce-2ea0-b8bf65fa8711@cs.tcd.ie>
Subject: Re: [irsg] IRSG review of
 draft-irtf-cfrg-xmss-hash-based-signatures-08
References: <D4FDAF9D.8D586%kenny.paterson@rhul.ac.uk>
 <9a878527-5ab9-5429-7c5d-4f7e4ca4e8db@isode.com>
 <08944dc3-9086-ed47-cc1b-54248b3dac70@cs.tcd.ie>
 <D566ADE0.963E4%kenny.paterson@rhul.ac.uk>
 <9e6b6146-e376-86cb-70be-0127a3e72d16@cs.tcd.ie>
 <D56DBB2C.96A67%kenny.paterson@rhul.ac.uk>
 <6f90e485-01f4-5ad8-49ef-e51c52e01a46@cs.tcd.ie>
 <5e328e85-a8a1-67f1-3853-418309b04a17@huelsing.net>
In-Reply-To: <5e328e85-a8a1-67f1-3853-418309b04a17@huelsing.net>

--3d4TdoVJ7xf1FffO1Qkw3jc3dJi0mpPDl
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB
Content-Transfer-Encoding: quoted-printable


Hi Andreas,

On 20/06/17 08:58, A. Huelsing wrote:
> Hi,
>=20
> thanks a lot for your review Stephen.
>=20
> Let me comment on the parameter criticism. There is a crucial differenc=
e between
> XMSS and "traditional" signature schemes which influenced our decision.=

> Unlike "traditional" signature schemes, XMSS (and all other Merkle-tree=
 based,
> stateful schemes) the number of signatures one can generate using a key=
 pair
> is controlled by the parameter h, the total tree hight, which also infl=
uences
> performance significantly (increasing h increases number of signatures =
but makes
> the scheme slower and signatures larger).
>=20
>=20
> What we tried to do was to reduce all parameters that really influence
> implementations (used hash function, hash function output length, Winte=
rnitz
> parameter) to a single mandatory parameter set (SHA2-256, 256, 16). Thi=
s also
> fixes a single security level of 256 bit classical / 128 bit quantum. W=
e only
> gave different mandatory options for the total tree height and - for XM=
SS^MT -
> different options for the number of layers d which controls the height =
of trees
> in a hypertree. I am not aware of an implementation that really relies =
on these
> two parameters being fixed. Low-level optimized implementations are rat=
her
> vectorizing the hash-function implementation as there is not too much
> exploitable parallelism in the signature and verification algorithm as =
most
> operations are sequential (different story for stateless schemes).
>=20
>=20
> Now the selection really depends on what are your requirements, i.e., h=
ow many
> signatures should be possible with one key pair. I agree that we should=
 support
> this highlighting the number of signatures as well as the signature siz=
e for
> each of these parameter sets.

So 5.2 has 3 required variants with h=3D10,16 and 20. And you
have 9 optional variants there too. (In case folks reading
this forget h=3D10 allows for 2^10 signatures.)

And 5.3 has 8 required variants with h=3D20,40,60 and d varying
between 2 and 12. And you have 24 optional variants.

That's a total of 36 options, which I still maintain isn't
useful. The probability that a verifier doesn't support a
variant chosen by a signer seems like it'd be too high to
me. And given what I imagine are the range of different
implementation strategies, I'd also guess that a verifier
could see performance vary in unexpected ways if it tries
to support all 36, i.e. I'm guessing a verifier that can
handle all 36 won't see best performance for all variants
and might experience really bad performance for some.

Considering 5.2 - I think I'd argue to only define the h=3D10
one for now (or only make that REQUIRED). My argument would
be that any real application has to handle running out of
signatures, and experience (mine anyway:-) says that hitting
that sooner is better. (Sort of similar to how LE issues
90-day certificates as a way to ensure renewal gets done and
gets automated - I think they got that right.)

For 5.3 I'd also argue to just go with about the same number
of signatures on the same basis, and to only make one variant
REQUIRED, so h=3D20,d=3D2 I guess.

I agree that adding more about the signature-count and maybe
time/memory trade-offs would be good regardless. (Though that
could be done in another draft if publishing now is a priority.)

All that said, please note that I don't consider that this
ought be blocking in terms of publication. (While still not
liking that there's 36 options:-)

>=20
> Finally, regarding the test vectors: I think it makes more sense to thi=
nk of
> hash-based signatures as a protocol rather than a basic primitive. We h=
ave
> cross-verified reference implementations available. Is there an option =
to
> provide an implementation instead of test vectors? Then developers can =
test
> their implementation by verifying their signatures with the reference c=
ode and
> check their verification algorithm with signatures from the reference
> implementation. I am happy to add test cases (we already got those from=
 the
> cross testing).

It's maybe a bit late in the day but you could add an RFC7942
section to the draft describing implementations. That text is
usually deleted from the RFC (an approach of which I'm not fond)
but the I-D will still exist, so it'd not get lost. Or you
could add a reference to wiki page or similar that has that
kind of information. Either would be a fine thing to do. I guess
at the stage we're at the latter would make more sense. (I did
a quick search and didn't find such a page though, so I guess
you'd have to make one with the names of implementations and
links to code/docs.)

And to be clear, if you don't have an implementation that can
spit out test vectors and intermediate values, then I'm not
asking that you make one now.

Cheers,
S.

>=20
> What do you think?
>=20
> Andreas
>=20
>=20
> Am 19-06-17 um 18:48 schrieb Stephen Farrell:
>> Hiya,
>>
>> On 19/06/17 17:37, Paterson, Kenny wrote:
>>> @Stephen: thanks for making this thorough study of the draft.
>>>
>>> @draft authors: can you please go through this feedback carefully and=

>>> implement the necessary changes?
>>>
>>> The toughest part will likely be selecting one set of parameters. If
>>> Stephen is amenable (but maybe he is not), I'd suggest highlighting o=
ne
>>> set amongst the several listed as being your "preferred" set (rather =
than
>>> including just one set as Stephen suggests) - that'd be a halfway hou=
se
>>> between what you currently have and what Stephen suggests.
>> I'm always amenable:-)
>>
>> For me, the key thing is to avoid folks using the RFC feeling
>> the need to debate which set(s) of parameters to choose to use.
>> Such debates are really wasteful, so reducing the set to the
>> minimum is very helpful. If there's really a need for loads
>> of parameters to be defined, (and I don't think there is for
>> this), then that creates a need to explain when to use which,
>> in sufficient detail for developers.
>>
>> So I do think it's easier to just delete options, and since
>> there's an IANA registry, if it turns out more variants are
>> needed later then those can be added as needed. So, absent
>> someone saying that they need loads of options for their code,
>> I'd say just one XMSS and one XMSS^MT option would be best.
>>
>> Cheers,
>> S.
>>
>>> Cheers,
>>>
>>> Kenny=20
>>>
>>>
>>> On 16/06/2017 01:56, "Stephen Farrell" <stephen.farrell@cs.tcd.ie> wr=
ote:
>>>
>>>> Hi all,
>>>>
>>>> Apologies for being slow in reviewing this. My comments are below.
>>>> I have two things that I think really ought be checked before this
>>>> is ready for publication. When that's done, then I think this will
>>>> be ready to publish.
>>>>
>>>> I also have two further comments/suggestions that I think would
>>>> be significant and relatively easy improvements to the document.
>>>> Those don't affect the IRSG review process though, considering the
>>>> RG were presumably happy enough as-is. (I'd still argue for those
>>>> changes though:-)
>>>>
>>>> And I've a bunch of mostly editorial comments that the authors can
>>>> choose to take on board or not as they see fit.
>>>>
>>>> Cheers,
>>>> S.
>>>>
>>>>
>>>> possible errors:
>>>> ----------------
>>>>
>>>> - 3.1.2: Algorithm 2: "if ( (i + s) > w - 1 )..." seems to be
>>>> missing parenthesis around the "(w-1)" to me.  Without those
>>>> brackets I could interpret that test to always result in false.
>>>>
>>>> - 4.1.9: should the call to setIdx in alg 12 be after treeSig?
>>>>  as-is you seem to have incremented the index too soon so
>>>> that when alg 11 does getIdx it'd presumably get the
>>>> incremented index and cause verification failure. I think
>>>> the same is true of alg 16 as well, in section 4.2.4.
>>>>
>>>> significant comments, but likely fixable:
>>>> -----------------------------------------
>>>>
>>>> - section 5: there are waaaay too many options defined here.
>>>>  As-is, this will damage potential deployment of xmss. I
>>>> would strongly suggest deleting all of the options except the
>>>> minimum, that being one (and only one) set of parameters for
>>>> XMSS and one for XMSS^MT. If others are needed later, those
>>>> can be defined later. (Note that the damage done here includes
>>>> the hours of developer time that would be wasted debating
>>>> which of these choices to implement/use. Consider the case of
>>>> pre-hash variants of eddsa for an ongoing example.)
>>>>
>>>> - section 5 (or an appendix) should contain some test vectors
>>>>  (including intermediate values). Without those, implementers
>>>> have a much harder time of getting their code right.
>>>>
>>>> nits, near-nits and other ignorable things:
>>>> -------------------------------------------
>>>>
>>>> - abstract: I'd suggest s/can withstand attacks/ can withstand
>>>>  so-far known attacks/
>>>>
>>>> - 1.1: You say if used >1 time "no cryptographic security
>>>>  guarantees remain." It might be clearer to give some
>>>> examples of consequences, e.g. that the attacker can forge new
>>>> signatures or whatever.
>>>>
>>>> - 1.1: I think you might mention that XMSS and other OTS ideas
>>>>  require some new crypto APIs. I'm not aware if anyone has
>>>> developed proposals for such, but would be interested if
>>>> someone has.
>>>>
>>>> - 2.3, 2nd last para: you might want to say what happens with
>>>>  e.g.  B<<2 where B=3D0xf0. I assume the result is 0xc0 but
>>>> someone might think it's 0x3c0 or even 0xc3.
>>>>
>>>> - 2.5: having the "type word" as octet 15 of a 32 byte address
>>>>  seems odd. Is there a reason why? (Just wondering.)
>>>>
>>>> - 2.6: It seems odd to given an example where the input and
>>>>  output of base_w() are the same. A different example may be
>>>> more useful. (More examples generally would be great.)
>>>>
>>>> - 3.1.3: maybe note that "/" means nothing? Which I assume it
>>>>  does? Better might be to just say that.
>>>>
>>>> - 3.1.5: "a maximum value of len_1 * (w - 1) * 2^8" is missing
>>>>  units
>>>>
>>>> - 3.1.5: "the variable" - which one?
>>>>
>>>> - 3.1.5: "For the parameter sets given in Section 5 a 32-bit
>>>>  unsigned integer is sufficient." Sufficient for what?
>>>>
>>>> - 3.1.5: The ascii art at the end of p16 doesn't help much.
>>>>
>>>> - 3.1.7: The "MUST match" statement doesn't seem enforceable
>>>>  nor testable so I'm not sure it's a good idea to include.
>>>> OTOH, I do get the idea of using 2119 terms for emphasis.
>>>>
>>>> - 3.1.7: I think it might be useful to point out any specific
>>>>  problems associated with using a low entropy human memorable
>>>> secret (password) for the value S. No matter what you say,
>>>> people will do that, so better if you can say you told them
>>>> specifically about downsides of doing that.
>>>>
>>>> - 4.1.12: I'm not sure if the MAY there is correct or not.  If
>>>>  it means "you MAY use a different algorithm to get the same
>>>> output as alg 12" then that'd be fine. If something else is
>>>> meant I'm not sure what you're saying, and it'd probably be
>>>> better to not even mention it.
>>>>
>>>> - section 5 should also spell out the signature and
>>>> public key sizes in bytes and ideally, if you keep multiple
>>>> options, (but please don't:-) describe relative or measured
>>>> timings.
>>>>
>>>>
>>>>
>=20
>=20


--3d4TdoVJ7xf1FffO1Qkw3jc3dJi0mpPDl--

--1nOe0VFA8nOn3NBf524iVOkWIGPlWWOua
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

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

iQEcBAEBCAAGBQJZSQoCAAoJEC88hzaAX42itCoIAJBYTsecijXohVFXsSjOhaEi
esej+DaLLWiMNOskfl1pUVAEdDKqd4ERrQ55cpVxmjVrxdpQwqi8Mjhe/v8jlbtK
oWvzGT65DO2Z8nh1RqwLmwcQrCJfu5ncZlqEwWbM5vMZP2EI+qm/LmeUOQRq4zzA
JwdSLMVf0oa5wZE6awJ2k2TTSoIaO9TkfPW3sen+xdjzl9JYs+w0KUtV1Tx6YKV8
e34gKSqMgkMTbPebyE6QpbKC04JxLSEX3C3ZPbUt/CFXjWIYdngBqUrPxqLKOCyw
3zEtUEwUQJv1DXXkFIc/CYAprBG7B7eJ5lNSQuUKgrO5HQe/opLBQQ8YNocohSA=
=xh2e
-----END PGP SIGNATURE-----

--1nOe0VFA8nOn3NBf524iVOkWIGPlWWOua--


From nobody Tue Jun 20 04:45:24 2017
Return-Path: <stephen.farrell@cs.tcd.ie>
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 1AB09128D3E for <cfrg@ietfa.amsl.com>; Tue, 20 Jun 2017 04:45:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.302
X-Spam-Level: 
X-Spam-Status: No, score=-4.302 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lutVRYCmAph8 for <cfrg@ietfa.amsl.com>; Tue, 20 Jun 2017 04:45:19 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 06B19129B2D for <Cfrg@irtf.org>; Tue, 20 Jun 2017 04:45:14 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id BD7ABBE64; Tue, 20 Jun 2017 12:45:12 +0100 (IST)
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bZmdc82Nyp9Q; Tue, 20 Jun 2017 12:45:12 +0100 (IST)
Received: from [134.226.36.93] (bilbo.dsg.cs.tcd.ie [134.226.36.93]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id F36F8BE53; Tue, 20 Jun 2017 12:45:11 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1497959112; bh=+yiMWJ0CnLwJA3Eh3O+UkFFy0XokVLJZ8pDS8vaAX54=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=vIm6TEMx8jsChEqmV3BSeazSeUnbl20+fh9U7hVyMNJJKpNYikTp82fst3Id5YHjr TrHbW3ktzYTZ/swQmB+mNfL2LGi27I43pK0lHRTs3KOZSAsVxwTzC7f9YpjQjuLP5z 75KqZoV6YN3fOnO5CvCkbFDe/he4+E+Azi05dxuM=
To: "A. Huelsing" <ietf@huelsing.net>, "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>, Alexey Melnikov <alexey.melnikov@isode.com>, "cfrg@irtf.org" <Cfrg@irtf.org>
Cc: "draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org" <draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org>
References: <D4FDAF9D.8D586%kenny.paterson@rhul.ac.uk> <9a878527-5ab9-5429-7c5d-4f7e4ca4e8db@isode.com> <08944dc3-9086-ed47-cc1b-54248b3dac70@cs.tcd.ie> <D566ADE0.963E4%kenny.paterson@rhul.ac.uk> <9e6b6146-e376-86cb-70be-0127a3e72d16@cs.tcd.ie> <D56DBB2C.96A67%kenny.paterson@rhul.ac.uk> <6f90e485-01f4-5ad8-49ef-e51c52e01a46@cs.tcd.ie> <5e328e85-a8a1-67f1-3853-418309b04a17@huelsing.net> <4180756b-b718-05ce-2ea0-b8bf65fa8711@cs.tcd.ie>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <d5a2ab2b-ac24-6e28-cc1d-b5d3098474da@cs.tcd.ie>
Date: Tue, 20 Jun 2017 12:45:11 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <4180756b-b718-05ce-2ea0-b8bf65fa8711@cs.tcd.ie>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="eNs3IVVKko6GO4o2jdEB1uW6t6bQ613ia"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/tTH1YWr6OHRjHoDDKCLO_gBuA6s>
Subject: Re: [Cfrg] [irsg] IRSG review of draft-irtf-cfrg-xmss-hash-based-signatures-08
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Jun 2017 11:45:22 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--eNs3IVVKko6GO4o2jdEB1uW6t6bQ613ia
Content-Type: multipart/mixed; boundary="8UqSvgB2JroPgVuaP35pJPtet54PmUtxr";
 protected-headers="v1"
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
To: "A. Huelsing" <ietf@huelsing.net>,
 "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>,
 Alexey Melnikov <alexey.melnikov@isode.com>, "cfrg@irtf.org" <Cfrg@irtf.org>
Cc: "draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org"
 <draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org>
Message-ID: <d5a2ab2b-ac24-6e28-cc1d-b5d3098474da@cs.tcd.ie>
Subject: Re: [Cfrg] [irsg] IRSG review of
 draft-irtf-cfrg-xmss-hash-based-signatures-08
References: <D4FDAF9D.8D586%kenny.paterson@rhul.ac.uk>
 <9a878527-5ab9-5429-7c5d-4f7e4ca4e8db@isode.com>
 <08944dc3-9086-ed47-cc1b-54248b3dac70@cs.tcd.ie>
 <D566ADE0.963E4%kenny.paterson@rhul.ac.uk>
 <9e6b6146-e376-86cb-70be-0127a3e72d16@cs.tcd.ie>
 <D56DBB2C.96A67%kenny.paterson@rhul.ac.uk>
 <6f90e485-01f4-5ad8-49ef-e51c52e01a46@cs.tcd.ie>
 <5e328e85-a8a1-67f1-3853-418309b04a17@huelsing.net>
 <4180756b-b718-05ce-2ea0-b8bf65fa8711@cs.tcd.ie>
In-Reply-To: <4180756b-b718-05ce-2ea0-b8bf65fa8711@cs.tcd.ie>

--8UqSvgB2JroPgVuaP35pJPtet54PmUtxr
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB
Content-Transfer-Encoding: quoted-printable


(Dropping irsg)

Oops, my arithmetic was wrong: it's 44 options, not 36:-)
I left out the mandatory ones from 5.3. Doesn't affect the
argument though.

S.

On 20/06/17 12:41, Stephen Farrell wrote:
>=20
> Hi Andreas,
>=20
> On 20/06/17 08:58, A. Huelsing wrote:
>> Hi,
>>
>> thanks a lot for your review Stephen.
>>
>> Let me comment on the parameter criticism. There is a crucial differen=
ce between
>> XMSS and "traditional" signature schemes which influenced our decision=
=2E
>> Unlike "traditional" signature schemes, XMSS (and all other Merkle-tre=
e based,
>> stateful schemes) the number of signatures one can generate using a ke=
y pair
>> is controlled by the parameter h, the total tree hight, which also inf=
luences
>> performance significantly (increasing h increases number of signatures=
 but makes
>> the scheme slower and signatures larger).
>>
>>
>> What we tried to do was to reduce all parameters that really influence=

>> implementations (used hash function, hash function output length, Wint=
ernitz
>> parameter) to a single mandatory parameter set (SHA2-256, 256, 16). Th=
is also
>> fixes a single security level of 256 bit classical / 128 bit quantum. =
We only
>> gave different mandatory options for the total tree height and - for X=
MSS^MT -
>> different options for the number of layers d which controls the height=
 of trees
>> in a hypertree. I am not aware of an implementation that really relies=
 on these
>> two parameters being fixed. Low-level optimized implementations are ra=
ther
>> vectorizing the hash-function implementation as there is not too much
>> exploitable parallelism in the signature and verification algorithm as=
 most
>> operations are sequential (different story for stateless schemes).
>>
>>
>> Now the selection really depends on what are your requirements, i.e., =
how many
>> signatures should be possible with one key pair. I agree that we shoul=
d support
>> this highlighting the number of signatures as well as the signature si=
ze for
>> each of these parameter sets.
>=20
> So 5.2 has 3 required variants with h=3D10,16 and 20. And you
> have 9 optional variants there too. (In case folks reading
> this forget h=3D10 allows for 2^10 signatures.)
>=20
> And 5.3 has 8 required variants with h=3D20,40,60 and d varying
> between 2 and 12. And you have 24 optional variants.
>=20
> That's a total of 36 options, which I still maintain isn't
> useful. The probability that a verifier doesn't support a
> variant chosen by a signer seems like it'd be too high to
> me. And given what I imagine are the range of different
> implementation strategies, I'd also guess that a verifier
> could see performance vary in unexpected ways if it tries
> to support all 36, i.e. I'm guessing a verifier that can
> handle all 36 won't see best performance for all variants
> and might experience really bad performance for some.
>=20
> Considering 5.2 - I think I'd argue to only define the h=3D10
> one for now (or only make that REQUIRED). My argument would
> be that any real application has to handle running out of
> signatures, and experience (mine anyway:-) says that hitting
> that sooner is better. (Sort of similar to how LE issues
> 90-day certificates as a way to ensure renewal gets done and
> gets automated - I think they got that right.)
>=20
> For 5.3 I'd also argue to just go with about the same number
> of signatures on the same basis, and to only make one variant
> REQUIRED, so h=3D20,d=3D2 I guess.
>=20
> I agree that adding more about the signature-count and maybe
> time/memory trade-offs would be good regardless. (Though that
> could be done in another draft if publishing now is a priority.)
>=20
> All that said, please note that I don't consider that this
> ought be blocking in terms of publication. (While still not
> liking that there's 36 options:-)
>=20
>>
>> Finally, regarding the test vectors: I think it makes more sense to th=
ink of
>> hash-based signatures as a protocol rather than a basic primitive. We =
have
>> cross-verified reference implementations available. Is there an option=
 to
>> provide an implementation instead of test vectors? Then developers can=
 test
>> their implementation by verifying their signatures with the reference =
code and
>> check their verification algorithm with signatures from the reference
>> implementation. I am happy to add test cases (we already got those fro=
m the
>> cross testing).
>=20
> It's maybe a bit late in the day but you could add an RFC7942
> section to the draft describing implementations. That text is
> usually deleted from the RFC (an approach of which I'm not fond)
> but the I-D will still exist, so it'd not get lost. Or you
> could add a reference to wiki page or similar that has that
> kind of information. Either would be a fine thing to do. I guess
> at the stage we're at the latter would make more sense. (I did
> a quick search and didn't find such a page though, so I guess
> you'd have to make one with the names of implementations and
> links to code/docs.)
>=20
> And to be clear, if you don't have an implementation that can
> spit out test vectors and intermediate values, then I'm not
> asking that you make one now.
>=20
> Cheers,
> S.
>=20
>>
>> What do you think?
>>
>> Andreas
>>
>>
>> Am 19-06-17 um 18:48 schrieb Stephen Farrell:
>>> Hiya,
>>>
>>> On 19/06/17 17:37, Paterson, Kenny wrote:
>>>> @Stephen: thanks for making this thorough study of the draft.
>>>>
>>>> @draft authors: can you please go through this feedback carefully an=
d
>>>> implement the necessary changes?
>>>>
>>>> The toughest part will likely be selecting one set of parameters. If=

>>>> Stephen is amenable (but maybe he is not), I'd suggest highlighting =
one
>>>> set amongst the several listed as being your "preferred" set (rather=
 than
>>>> including just one set as Stephen suggests) - that'd be a halfway ho=
use
>>>> between what you currently have and what Stephen suggests.
>>> I'm always amenable:-)
>>>
>>> For me, the key thing is to avoid folks using the RFC feeling
>>> the need to debate which set(s) of parameters to choose to use.
>>> Such debates are really wasteful, so reducing the set to the
>>> minimum is very helpful. If there's really a need for loads
>>> of parameters to be defined, (and I don't think there is for
>>> this), then that creates a need to explain when to use which,
>>> in sufficient detail for developers.
>>>
>>> So I do think it's easier to just delete options, and since
>>> there's an IANA registry, if it turns out more variants are
>>> needed later then those can be added as needed. So, absent
>>> someone saying that they need loads of options for their code,
>>> I'd say just one XMSS and one XMSS^MT option would be best.
>>>
>>> Cheers,
>>> S.
>>>
>>>> Cheers,
>>>>
>>>> Kenny=20
>>>>
>>>>
>>>> On 16/06/2017 01:56, "Stephen Farrell" <stephen.farrell@cs.tcd.ie> w=
rote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> Apologies for being slow in reviewing this. My comments are below.
>>>>> I have two things that I think really ought be checked before this
>>>>> is ready for publication. When that's done, then I think this will
>>>>> be ready to publish.
>>>>>
>>>>> I also have two further comments/suggestions that I think would
>>>>> be significant and relatively easy improvements to the document.
>>>>> Those don't affect the IRSG review process though, considering the
>>>>> RG were presumably happy enough as-is. (I'd still argue for those
>>>>> changes though:-)
>>>>>
>>>>> And I've a bunch of mostly editorial comments that the authors can
>>>>> choose to take on board or not as they see fit.
>>>>>
>>>>> Cheers,
>>>>> S.
>>>>>
>>>>>
>>>>> possible errors:
>>>>> ----------------
>>>>>
>>>>> - 3.1.2: Algorithm 2: "if ( (i + s) > w - 1 )..." seems to be
>>>>> missing parenthesis around the "(w-1)" to me.  Without those
>>>>> brackets I could interpret that test to always result in false.
>>>>>
>>>>> - 4.1.9: should the call to setIdx in alg 12 be after treeSig?
>>>>>  as-is you seem to have incremented the index too soon so
>>>>> that when alg 11 does getIdx it'd presumably get the
>>>>> incremented index and cause verification failure. I think
>>>>> the same is true of alg 16 as well, in section 4.2.4.
>>>>>
>>>>> significant comments, but likely fixable:
>>>>> -----------------------------------------
>>>>>
>>>>> - section 5: there are waaaay too many options defined here.
>>>>>  As-is, this will damage potential deployment of xmss. I
>>>>> would strongly suggest deleting all of the options except the
>>>>> minimum, that being one (and only one) set of parameters for
>>>>> XMSS and one for XMSS^MT. If others are needed later, those
>>>>> can be defined later. (Note that the damage done here includes
>>>>> the hours of developer time that would be wasted debating
>>>>> which of these choices to implement/use. Consider the case of
>>>>> pre-hash variants of eddsa for an ongoing example.)
>>>>>
>>>>> - section 5 (or an appendix) should contain some test vectors
>>>>>  (including intermediate values). Without those, implementers
>>>>> have a much harder time of getting their code right.
>>>>>
>>>>> nits, near-nits and other ignorable things:
>>>>> -------------------------------------------
>>>>>
>>>>> - abstract: I'd suggest s/can withstand attacks/ can withstand
>>>>>  so-far known attacks/
>>>>>
>>>>> - 1.1: You say if used >1 time "no cryptographic security
>>>>>  guarantees remain." It might be clearer to give some
>>>>> examples of consequences, e.g. that the attacker can forge new
>>>>> signatures or whatever.
>>>>>
>>>>> - 1.1: I think you might mention that XMSS and other OTS ideas
>>>>>  require some new crypto APIs. I'm not aware if anyone has
>>>>> developed proposals for such, but would be interested if
>>>>> someone has.
>>>>>
>>>>> - 2.3, 2nd last para: you might want to say what happens with
>>>>>  e.g.  B<<2 where B=3D0xf0. I assume the result is 0xc0 but
>>>>> someone might think it's 0x3c0 or even 0xc3.
>>>>>
>>>>> - 2.5: having the "type word" as octet 15 of a 32 byte address
>>>>>  seems odd. Is there a reason why? (Just wondering.)
>>>>>
>>>>> - 2.6: It seems odd to given an example where the input and
>>>>>  output of base_w() are the same. A different example may be
>>>>> more useful. (More examples generally would be great.)
>>>>>
>>>>> - 3.1.3: maybe note that "/" means nothing? Which I assume it
>>>>>  does? Better might be to just say that.
>>>>>
>>>>> - 3.1.5: "a maximum value of len_1 * (w - 1) * 2^8" is missing
>>>>>  units
>>>>>
>>>>> - 3.1.5: "the variable" - which one?
>>>>>
>>>>> - 3.1.5: "For the parameter sets given in Section 5 a 32-bit
>>>>>  unsigned integer is sufficient." Sufficient for what?
>>>>>
>>>>> - 3.1.5: The ascii art at the end of p16 doesn't help much.
>>>>>
>>>>> - 3.1.7: The "MUST match" statement doesn't seem enforceable
>>>>>  nor testable so I'm not sure it's a good idea to include.
>>>>> OTOH, I do get the idea of using 2119 terms for emphasis.
>>>>>
>>>>> - 3.1.7: I think it might be useful to point out any specific
>>>>>  problems associated with using a low entropy human memorable
>>>>> secret (password) for the value S. No matter what you say,
>>>>> people will do that, so better if you can say you told them
>>>>> specifically about downsides of doing that.
>>>>>
>>>>> - 4.1.12: I'm not sure if the MAY there is correct or not.  If
>>>>>  it means "you MAY use a different algorithm to get the same
>>>>> output as alg 12" then that'd be fine. If something else is
>>>>> meant I'm not sure what you're saying, and it'd probably be
>>>>> better to not even mention it.
>>>>>
>>>>> - section 5 should also spell out the signature and
>>>>> public key sizes in bytes and ideally, if you keep multiple
>>>>> options, (but please don't:-) describe relative or measured
>>>>> timings.
>>>>>
>>>>>
>>>>>
>>
>>
>=20
>=20
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg
>=20


--8UqSvgB2JroPgVuaP35pJPtet54PmUtxr--

--eNs3IVVKko6GO4o2jdEB1uW6t6bQ613ia
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

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

iQEcBAEBCAAGBQJZSQrHAAoJEC88hzaAX42ib/4H/iOQOyjGvHzx7b354owFk0j/
jal7yJGj2uNSzDSOkuJ2Xsz7ijnAozATljNbVVDc2Vw3pjfpowRzxgzvuftoPUSq
DosGmDUo5Q0mtVxGlOqBhN0iMgaJK1GbTQZvh6mZuhApQ3O7+fMEiUY6+DGTM+Qq
S4Nzs5sXW80Ql/B4J072QYDlfxbnH6syuokrkAYEvGTqKGqB64dVq0015mY5lbLm
Hp+ejdW3yti7n59ZYSxtCxFljsM3GRUHkAIWJh1YYUcPLwXJXpzKWoht8b7/Bvp/
Lwni2giC3H0PHHq5W/spHD7xr8Nx+/pl6T4EID9v3g7JYNtP7Z9i7Km96kkaREA=
=dfKs
-----END PGP SIGNATURE-----

--eNs3IVVKko6GO4o2jdEB1uW6t6bQ613ia--


From nobody Tue Jun 20 05:42:03 2017
Return-Path: <smyshsv@gmail.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 80AF5129BCD for <cfrg@ietfa.amsl.com>; Tue, 20 Jun 2017 05:42:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PvPLlYmWoRuj for <cfrg@ietfa.amsl.com>; Tue, 20 Jun 2017 05:41:59 -0700 (PDT)
Received: from mail-qt0-x229.google.com (mail-qt0-x229.google.com [IPv6:2607:f8b0:400d:c0d::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C8C1A129BCF for <cfrg@ietf.org>; Tue, 20 Jun 2017 05:41:58 -0700 (PDT)
Received: by mail-qt0-x229.google.com with SMTP id u12so132376374qth.0 for <cfrg@ietf.org>; Tue, 20 Jun 2017 05:41:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1gWmSl1PVoWMlHYgkttsAk+r/govcW/8E17ts4dDGKY=; b=MvTTirqRx4vjmfs9w2/V/GiApNnkrgsAslcKlb9FOvPbzAGZ6E16WkH2DiGEBQ0Sy3 2QUlDoogQxZ+Su8TrEoeKLi1lf0MdQ2w7LxuLtMX6EuVbnoOFxz+BSWlFP0uVMPm011s ES9UPnTfZxh7VJYtsG5wv6Mdpop3lWMNe7g9AaSgFSFbRh+CrddkArY1VL3Gg5UtUz9a 0WuMgIh831aGRSukWgV3Gkeo8ci6B343q0vWTNIp11P72hJbZuxKlUavAtKzvKX5ZEGn 8+W2VS0YGy4nHHw++iaitZ+b28OchKvkSzm0jq3jGr6RkuTLBHP+g3hbqTJroC4XfPXz ECBg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=1gWmSl1PVoWMlHYgkttsAk+r/govcW/8E17ts4dDGKY=; b=By+VMA6ykVjWTDTchy476VjTK7m++ZP0Ep1g4JRKH6V/61yRHnufok6sccjfeg0VOb 9F3y4Y2+W9SIexcx3bn1kRh4hdY8Kqv5OqCNH8sgW3kMB4ISi6iDpV9kT0ivwak3bTiV 0Ga3o2pPempal1kVg1k2GNeEXZvm9kcJ/8tYnndMXrpT4TLVCoUIW6Y9qEU9znCF74/E 9mOv66t4mNzy8V7O8EDndrKyVqEgc54hAQjLGLMmQkM0fXfIaPGjb7rXMlV2jB/GcxBQ 0D/PPO40tRw7puvzwUGwRiBfjfw8Ywzb83tFuCwlsG6KtxbQrM/l8R0A+hU3ARNnE0// dd1Q==
X-Gm-Message-State: AKS2vOzoNnw1h89H2tLNyjsy0QGnn0BQExcy94g9O5iOfFXOsIQNzU19 RhniG6wJ0ELZWLvJDN/LAREiEpOg4e0i
X-Received: by 10.200.9.47 with SMTP id t44mr2786836qth.107.1497962517977; Tue, 20 Jun 2017 05:41:57 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.148.77 with HTTP; Tue, 20 Jun 2017 05:41:57 -0700 (PDT)
In-Reply-To: <89AFF43D-EFE7-4D7F-8ECE-877A4BEBD546@vigilsec.com>
References: <149667340139.3152.10556340180920549215@ietfa.amsl.com> <89AFF43D-EFE7-4D7F-8ECE-877A4BEBD546@vigilsec.com>
From: "Stanislav V. Smyshlyaev" <smyshsv@gmail.com>
Date: Tue, 20 Jun 2017 15:41:57 +0300
Message-ID: <CAMr0u6khW2e19bYFdH0-J3SrrCOpdBTa1LWGiDJHQa04EaNF+w@mail.gmail.com>
To: Russ Housley <housley@vigilsec.com>
Cc: cfrg@ietf.org
Content-Type: multipart/alternative; boundary="001a1144be4ac55eb805526393eb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/vKSrknHD-drLxX8IV1C_Z-N61vM>
Subject: Re: [Cfrg] I-D Action: draft-irtf-cfrg-re-keying-02.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Jun 2017 12:42:01 -0000

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

Dear colleagues,

We've posted an updated version of the draft (see
https://tools.ietf.org/html/draft-irtf-cfrg-re-keying-03), in which we've
tried to address received concerns (thanks again for all of them, by the
way!).
Almost all the comments were fully taken into account, with the following
comments:
1. > Section 1, Last paragraph: Please separate the ideas here. First, TLS
1.3 is an example of a protocol with external re-key. Second, there is a
discussion of the benefits of re-key. The first belongs elsewhere.
We completely agree with this comment, but instead of separating these
ideas, we deleted the first sentence, since the reference to TLS 1.3 is
provided below.
2. > Section 4, first item number 3 says:
. . . provides forward and backward security of session keys . . .
This is only true if the previous traffic keys are securely deleted by all
parties that have the keys.
We added this clarification to Security Considerations section.
3. >  Wouldn=E2=80=99t it be cleaner to say: L =3D min(L1, L2), q =3D min(q=
1, q2), q*m
<=3D L
We added this explanation, but we did not remove the old text, because it
looks important to show that (as L1 is usually much less than L2) the key
lifetime can be greatly increased, because re-keying lets us to forget
about the "side-channel limitation" L1.

Best regards,
Stanislav


2017-06-09 0:39 GMT+03:00 Russ Housley <housley@vigilsec.com>:

> I have a few comments on the most recent version of this document.
>
> Section 1: Please describe parallel and serial re-keying mechanisms in th=
e
> introduction.
>
> Section 1: I think we need to say more about internal re-key when it is
> first introduced.  I suggest:
>
>    This specification presents two approaches that extend the key
>    lifetime for a single symmetric key while avoiding renegotiation:
>    external and internal re-keying.  External re-keying is performed by a
>    protocol, and it is independent of block cipher, key size, and mode.
>    Internal re-keying is built into the mode, and it depends heavily on
>    the properties of the block cipher and key size.
>
> Section 1, Last paragraph: Please separate the ideas here.  First, TLS 1.=
3
> is an example of a protocol with external re-key.  Second, there is a
> discussion of the benefits of re-key.  The first belongs elsewhere.
>
> Section 4 says:
>
>    . . .   External re-
>    keying approach is recommended for usage in protocols that process
>    quite small messages. . . .
>
> It is obvious that the message size can exceed L.  That said, external
> re-keying is also very useful when there are lots of messages or the
> protocol has a way to break a very large message into manageable chunks.
> Obviously, TCP breaks a very large stream into many manageable chunks.
>
> Section 4, first item number 3 says:
>
>    . . .  provides forward and backward security of session keys . . .
>
> This is only true if the previous traffic keys are securely deleted by al=
l
> parties that have the keys.
>
> Section 5, bottom of page 8:  Wouldn=E2=80=99t it be cleaner to say:
>
>    L =3D min(L1, L2)
>    q =3D min(q1, q2)
>    q*m <=3D L
>
>
>
> Nits:
>
> Please use figure numbers and captions on the illustrations.
>
> Section 1: s/&#1057;/C/
>
> Section 4: s/Homever/However/
>
> Section 4: s/it almost does not affect performance/minimal impact on
> performance/
>
> Section 4: s/sessin keys/session keys/
>
> Section 4: s/always have an access/always has access/
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg
>

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div><div class=3D"gmail_signat=
ure"><div dir=3D"ltr"><div>Dear colleagues,</div><div><br></div><div>We&#39=
;ve posted an updated version of the draft (see <a href=3D"https://tools.ie=
tf.org/html/draft-irtf-cfrg-re-keying-03">https://tools.ietf.org/html/draft=
-irtf-cfrg-re-keying-03</a>), in which we&#39;ve tried to address received =
concerns (thanks again for all of them, by the way!).=C2=A0</div><div>Almos=
t all the comments were fully taken into account, with the following commen=
ts:</div><div>1.<span class=3D"gmail-Apple-tab-span" style=3D"white-space:p=
re">	</span>&gt; Section 1, Last paragraph: Please separate the ideas here.=
 First, TLS 1.3 is an example of a protocol with external re-key. Second, t=
here is a discussion of the benefits of re-key. The first belongs elsewhere=
.</div><div>We completely agree with this comment, but instead of separatin=
g these ideas, we deleted the first sentence, since the reference to TLS 1.=
3 is provided below.</div><div>2.<span class=3D"gmail-Apple-tab-span" style=
=3D"white-space:pre">	</span>&gt; Section 4, first item number 3 says:</div=
><div>. . . provides forward and backward security of session keys . . .</d=
iv><div>This is only true if the previous traffic keys are securely deleted=
 by all parties that have the keys.</div><div>We added this clarification t=
o Security Considerations section.</div><div>3.<span class=3D"gmail-Apple-t=
ab-span" style=3D"white-space:pre">	</span>&gt; =C2=A0Wouldn=E2=80=99t it b=
e cleaner to say: L =3D min(L1, L2), q =3D min(q1, q2), q*m &lt;=3D L</div>=
<div>We added this explanation, but we did not remove the old text, because=
 it looks important to show that (as L1 is usually much less than L2) the k=
ey lifetime can be greatly increased, because re-keying lets us to forget a=
bout the &quot;side-channel limitation&quot; L1.=C2=A0</div><div><br></div>=
<div>Best regards,</div><div>Stanislav</div><div><br></div></div></div></di=
v>
<br><div class=3D"gmail_quote">2017-06-09 0:39 GMT+03:00 Russ Housley <span=
 dir=3D"ltr">&lt;<a href=3D"mailto:housley@vigilsec.com" target=3D"_blank">=
housley@vigilsec.com</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex">I have a few comments on the most recent version of this doc=
ument.<br>
<br>
Section 1: Please describe parallel and serial re-keying mechanisms in the =
introduction.<br>
<br>
Section 1: I think we need to say more about internal re-key when it is fir=
st introduced.=C2=A0 I suggest:<br>
<br>
=C2=A0 =C2=A0This specification presents two approaches that extend the key=
<br>
=C2=A0 =C2=A0lifetime for a single symmetric key while avoiding renegotiati=
on:<br>
=C2=A0 =C2=A0external and internal re-keying.=C2=A0 External re-keying is p=
erformed by a<br>
=C2=A0 =C2=A0protocol, and it is independent of block cipher, key size, and=
 mode.<br>
=C2=A0 =C2=A0Internal re-keying is built into the mode, and it depends heav=
ily on<br>
=C2=A0 =C2=A0the properties of the block cipher and key size.<br>
<br>
Section 1, Last paragraph: Please separate the ideas here.=C2=A0 First, TLS=
 1.3 is an example of a protocol with external re-key.=C2=A0 Second, there =
is a discussion of the benefits of re-key.=C2=A0 The first belongs elsewher=
e.<br>
<br>
Section 4 says:<br>
<br>
=C2=A0 =C2=A0. . .=C2=A0 =C2=A0External re-<br>
=C2=A0 =C2=A0keying approach is recommended for usage in protocols that pro=
cess<br>
=C2=A0 =C2=A0quite small messages. . . .<br>
<br>
It is obvious that the message size can exceed L.=C2=A0 That said, external=
 re-keying is also very useful when there are lots of messages or the proto=
col has a way to break a very large message into manageable chunks.=C2=A0 O=
bviously, TCP breaks a very large stream into many manageable chunks.<br>
<br>
Section 4, first item number 3 says:<br>
<br>
=C2=A0 =C2=A0. . .=C2=A0 provides forward and backward security of session =
keys . . .<br>
<br>
This is only true if the previous traffic keys are securely deleted by all =
parties that have the keys.<br>
<br>
Section 5, bottom of page 8:=C2=A0 Wouldn=E2=80=99t it be cleaner to say:<b=
r>
<br>
=C2=A0 =C2=A0L =3D min(L1, L2)<br>
=C2=A0 =C2=A0q =3D min(q1, q2)<br>
=C2=A0 =C2=A0q*m &lt;=3D L<br>
<br>
<br>
<br>
Nits:<br>
<br>
Please use figure numbers and captions on the illustrations.<br>
<br>
Section 1: s/&amp;#1057;/C/<br>
<br>
Section 4: s/Homever/However/<br>
<br>
Section 4: s/it almost does not affect performance/minimal impact on perfor=
mance/<br>
<br>
Section 4: s/sessin keys/session keys/<br>
<br>
Section 4: s/always have an access/always has access/<br>
<div class=3D"gmail-HOEnZb"><div class=3D"gmail-h5"><br>
______________________________<wbr>_________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
<a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.irtf.org/mailman/<wbr>listinfo/cfrg</a><br>
</div></div></blockquote></div><br></div></div>

--001a1144be4ac55eb805526393eb--


From nobody Wed Jun 21 06:30:44 2017
Return-Path: <Kenny.Paterson@rhul.ac.uk>
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 0D492129B08 for <cfrg@ietfa.amsl.com>; Wed, 21 Jun 2017 06:30:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.911
X-Spam-Level: 
X-Spam-Status: No, score=-2.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=rhul.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K6HegIt1ZhPs for <cfrg@ietfa.amsl.com>; Wed, 21 Jun 2017 06:30:36 -0700 (PDT)
Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30047.outbound.protection.outlook.com [40.107.3.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AA736129AE7 for <cfrg@irtf.org>; Wed, 21 Jun 2017 06:30:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhul.onmicrosoft.com;  s=selector1-rhul-ac-uk; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=kKxx6j5GqAbEuNQ/0SwBzj4lWivE23i9Jzogt7eJ5yc=; b=AE/bz7wkaaxxGXhXiIF1zAjG9FdDOwQ+Rz215YOpB7d/QLUPbdcDUORaVq56uivxas2dHtvLheBTPSjSXwFWB7i+riDbjffKRY/z2CHqTuzaVZRB9+8+0UHs5VaqzWNiF2S+ccGrL+t80DXztu9PPZiRcLHGKlBNSfCl/akfxf8=
Received: from AM4PR0301MB1906.eurprd03.prod.outlook.com (10.168.2.156) by AM4PR0301MB1906.eurprd03.prod.outlook.com (10.168.2.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Wed, 21 Jun 2017 13:30:28 +0000
Received: from AM4PR0301MB1906.eurprd03.prod.outlook.com ([fe80::a0cf:ee9d:63a3:d1ab]) by AM4PR0301MB1906.eurprd03.prod.outlook.com ([fe80::a0cf:ee9d:63a3:d1ab%14]) with mapi id 15.01.1178.023; Wed, 21 Jun 2017 13:30:27 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: Call for agenda items for meeting at IETF99
Thread-Index: AQHS6pKL31iWsAdm/UaibQCNZCcQIQ==
Date: Wed, 21 Jun 2017 13:30:27 +0000
Message-ID: <D570337C.96D60%kenny.paterson@rhul.ac.uk>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.7.1.161129
authentication-results: irtf.org; dkim=none (message not signed) header.d=none;irtf.org; dmarc=none action=none header.from=rhul.ac.uk;
x-originating-ip: [78.146.62.179]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM4PR0301MB1906; 7:vvXZPp+wXNOKNsPnSBZPEd0yX2ZgKyeCdL774Kewsjjue46SUYzsWruqVahFpiwwFQRm+Do8gKEepejTcoCYy+zEYOxrIFoL+Cs2HfOKtZ4vGcx5PfsnpARasnxHA38CbYNIikMhBINV3P4/IvoJcSAvPhcRbWjo/fzYmlWK3d2CHlsxAZwie7BLie+07Z8XHNNHr71jzffwUtHBlmUoNMVqMSlvDYO/1maFON2FmqR5QWEC9gE9nfL6oCBlbI86gAJG5VzcsGSIcT2YDDXDqhXMogweatf1if0mROchtMMUi8yHjQ+C2zn/1lOeBORJnaITYYTnSbcKoEqBSMTO47ySyyKdPdf3CcsTcY0QpE8BnT6k8L0Ld1jxVMd+QkrV6FpjkL7hX90yTfOLNbW4YnWY5o0kUliAc+XUK6GQAkyesEG4pn6zyaIoaz8iubgmvttGmGCjVkKtyi21FvXvCcUvLHUXXNZ1jPB3WLTp4mTEVZ8jDm+aFsIP1icjJVrwBnqxNyO52/2Yq+vji106OW6F/Z+AG7aa9ajgmwhLTglUJcna/K8zNMZSK6eBWrnLPcBiJhvWa+kMW0JVqnzwgCekkeB0VbuGsA3YOBtfKlFNIryMRo2RpmqdABOwKnURXVVZqL3XKsE2yfa9jpeUVkoY4owI3L8wRUB+zeg2GdLwDlIt/uiS/mLtdifYkhIteoS2OV4J4Vxb8lx825g6hLnZY312l4BQRZ9X+yCH2jwBm4uZYVRrhgHgoIBbUZ4ndLqjG2LzKTmA0gfROcKqbfGeFJA/2dzF+24GzJ7Ic0o=
x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10009020)(6009001)(39840400002)(39850400002)(39450400003)(39400400002)(39410400002)(7736002)(99286003)(6436002)(5640700003)(25786009)(53936002)(54356999)(4326008)(110136004)(6486002)(38730400002)(50986999)(3660700001)(1730700003)(81166006)(8676002)(3280700002)(6512007)(8936002)(74482002)(102836003)(3846002)(6116002)(36756003)(4001350100001)(2900100001)(2351001)(6506006)(189998001)(305945005)(5660300001)(2906002)(413944005)(66066001)(478600001)(86362001)(72206003)(83506001)(5250100002)(42882006)(6916009)(14454004)(2501003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0301MB1906; H:AM4PR0301MB1906.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
x-ms-office365-filtering-correlation-id: 77e363e2-a116-4d09-263d-08d4b8a9ae1b
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:AM4PR0301MB1906; 
x-ms-traffictypediagnostic: AM4PR0301MB1906:
x-microsoft-antispam-prvs: <AM4PR0301MB1906E7CD216D09CB96CE330BBCDA0@AM4PR0301MB1906.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(3002001)(93006095)(93001095)(6041248)(20161123555025)(20161123562025)(20161123564025)(20161123560025)(201703131423075)(201702281529075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM4PR0301MB1906; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM4PR0301MB1906; 
x-forefront-prvs: 0345CFD558
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <8F2D7FACC962C64180760B603D3076E3@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jun 2017 13:30:27.5143 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0301MB1906
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/5VB5GWsIPiHVfkmgCseUea6mMtc>
Subject: [Cfrg] Call for agenda items for meeting at IETF99
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Jun 2017 13:30:43 -0000

RGVhciBDRlJHLA0KDQpDRlJHIHdpbGwgYmUgbWVldGluZyBpbiBQcmFndWUgYXQgSUVURjk5IGlu
IG1pZC1KdWx5LiBXZSBhcmUgc2NoZWR1bGVkIGZvcg0KMTU1MC0xNzUwIChBZnRlcm5vb24gU2Vz
c2lvbiBJSSkgb24gVHVlc2RheSAxOHRoIEp1bHkuDQoNCldlIGFscmVhZHkgaGF2ZSBwbGFubmVk
IHByZXNlbnRhdGlvbnMgYW5kIGRpc2N1c3Npb25zIG9uOg0KDQotLSBLZXkgdXBkYXRpbmcgKFN0
YW5pc2xhdiBTbXlzaGx5YWV2KQ0KLS0gVmVyaWZpYWJsZSBSYW5kb20gRnVuY3Rpb25zIChTaGFy
b24gR29sZGJlcmcpDQotLSBOZXcgcHJpbWVzIChEYW4gQnJvd24pDQoNCldlIHByb2JhYmx5IGhh
dmUgc3BhY2UgZm9yIGEgY291cGxlIG9mIGFkZGl0aW9uYWwgdG9waWNzLg0KDQpJZiB5b3Ugd291
bGQgbGlrZSBzb21lIHRpbWUgdG8gcHJlc2VudCBvciB0byBwcm9wb3NlIGEgdG9waWMgZm9yDQpk
aXNjdXNzaW9uLCBwbGVhc2UgY29udGFjdCBtZSBhbmQgQWxleGV5ICh0aGUgY2hhaXJzKSBieSBG
cmlkYXkgMzB0aCBKdW5lLg0KDQpUaGFua3MsDQoNCktlbm55ICANCg0K


From nobody Wed Jun 21 06:41:21 2017
Return-Path: <ietf-secretariat-reply@ietf.org>
X-Original-To: cfrg@ietf.org
Delivered-To: cfrg@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 9CFE6120724; Wed, 21 Jun 2017 06:41:20 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
To: <cfrg@ietf.org>, <draft-nir-cfrg-rfc7539bis@ietf.org>, <cfrg-chairs@ietf.org>
Cc: irsg@irtf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.55.1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149805248063.15521.14113442600107079860.idtracker@ietfa.amsl.com>
Date: Wed, 21 Jun 2017 06:41:20 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/m9ZoSmSfi2QlvqOom4ng8vE4N8A>
Subject: [Cfrg] The CFRG RG has placed draft-nir-cfrg-rfc7539bis in state "Candidate RG Document"
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Jun 2017 13:41:21 -0000

The CFRG RG has placed draft-nir-cfrg-rfc7539bis in state
Candidate RG Document (entered by Amy Vezza)

The document is available at
https://datatracker.ietf.org/doc/draft-nir-cfrg-rfc7539bis/


From nobody Fri Jun 23 00:07:20 2017
Return-Path: <asanso@adobe.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 9647B129C32 for <cfrg@ietfa.amsl.com>; Fri, 23 Jun 2017 00:07:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.021
X-Spam-Level: 
X-Spam-Status: No, score=-2.021 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=adobe.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ff6yZQ89MGzv for <cfrg@ietfa.amsl.com>; Fri, 23 Jun 2017 00:07:16 -0700 (PDT)
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0074.outbound.protection.outlook.com [104.47.36.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F2C1F1200CF for <cfrg@irtf.org>; Fri, 23 Jun 2017 00:07:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adobe.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=NCzQirTQ8pQ1Zln3gE8VWtfhmTSrjTtwkoZnOqvWSng=; b=YcEf1fzWzpQTUT81TiUqYirC1olanLvaeM8PQ6ecQ8pghRBhBK0ZHh8Zu/BVNB00Ugg98LaeRRDV0ahGueY5LuFBcSt4v2Bbtud1OijimbQaEq0CQ/nLU7Hqsjis/Oy+Psy+G4zRVj9P9hdsvLHsU7Ft316adZyPbdJAyfiPqAo=
Received: from BLUPR0201MB1585.namprd02.prod.outlook.com (10.163.120.140) by BLUPR0201MB1585.namprd02.prod.outlook.com (10.163.120.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Fri, 23 Jun 2017 07:07:13 +0000
Received: from BLUPR0201MB1585.namprd02.prod.outlook.com ([10.163.120.140]) by BLUPR0201MB1585.namprd02.prod.outlook.com ([10.163.120.140]) with mapi id 15.01.1178.023; Fri, 23 Jun 2017 07:07:13 +0000
From: Antonio Sanso <asanso@adobe.com>
To: Peter Dettman <peter.dettman@bouncycastle.org>
CC: Francisco Rodriguez- Henriquez <francisco@cs.cinvestav.mx>, "cfrg@irtf.org" <cfrg@irtf.org>, =?Windows-1252?Q?Julio_C=E9sar_Lopez?= <jlopez@ic.unicamp.br>, Thomaz Oliveira <thomaz.figueiredo@gmail.com>, "huseyin.hisil@yasar.edu.tr" <huseyin.hisil@yasar.edu.tr>
Thread-Topic: [Cfrg] How to (pre-)compute a ladder [revised version]
Thread-Index: AQHSyrVtu4VVdn8k90q2mdRQReJ0C6InJRYAgAskMgA=
Date: Fri, 23 Jun 2017 07:07:13 +0000
Message-ID: <F694544B-5D56-458C-AA65-3F756AA0CE02@adobe.com>
References: <CAHOTMVKHA-yJR1oCyPtUp4-aJVc3dTdyxQHNo4xqnJt0hU6jVQ@mail.gmail.com> <CAMm+Lwgm8XzTBarZ1eFePTZGORorBJAeF7brDkhWGQKQVT0LPQ@mail.gmail.com> <CAMm+LwggT_AVv=KjzM1r=6UnkeK+g8zkticXFBDQ0cUXs_PP0A@mail.gmail.com> <CAHOTMVLHPFyi2VWpv85hrZ1MoXqeHYUv52wkMxjj3xp5B4V1cw@mail.gmail.com> <CAMm+Lwgfk1=yEJSbZbaZLvF5k5k66VVSx6MzKLM+DbUV7Ls6Xw@mail.gmail.com> <CAHOTMVK1gYrFiwd8f8zf2zPXYyCorp+jixkcY5FLhfHfv0NkWw@mail.gmail.com> <CAMm+LwjeZdR=ZGX0topN2w6P12jEmR-TQ8M9+anyETj43nbiqg@mail.gmail.com> <CAHOTMVL2e2UjVX6VKgHUbOHrb-gsU8kn_cxY1FdNrnj29cki9g@mail.gmail.com> <alpine.LFD.2.02.1703291804030.8996@delta.cs.cinvestav.mx> <alpine.LFD.2.02.1705111858040.25089@delta.cs.cinvestav.mx> <02899a12-8cf7-c318-32ea-9491ec2a22c2@bouncycastle.org>
In-Reply-To: <02899a12-8cf7-c318-32ea-9491ec2a22c2@bouncycastle.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: bouncycastle.org; dkim=none (message not signed) header.d=none; bouncycastle.org; dmarc=none action=none header.from=adobe.com; 
x-originating-ip: [192.147.117.11]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BLUPR0201MB1585; 7:UgCheSLSqY2KLoEs0YmRufMo10S6DX+Km/hJtJtuoeykUykd7AheV0LH4O02+tHhz6YQbnNU//P9PQ0G6wwC0BLIgJSizFl4vxwC0D6f5aZIHQ9gfJ5fDQCLbyl2hdEP5CPzk5iaKITTqbTDvBnnHTtdvksKxFEFy1QPI0NIne210xczxC1oDSLyKBZGCJcjX1O6e3XpDda8GeZ4z7oRpCDFIwhEYoq+s8BRB/unmoXlkJasHzsuM5bIQxz7R/emFN24tllbfXguJeEDzL8cWM7exnQP0BndG7xqfvzgklhYU+ERlhpVYewQY8AEj9UF+mz2a9BUXnuuAt06hh0oNKBqr/UXb7uUuJbZtOL0czviDHQr5vVm9U8HkyLrkYSNu6ts5rBW4pC1TDUHCVIR4Uyc6aXb74g+qq+WPqDtdCQbGY+oPvbzBg2kq3JWgoulVFT++6X4B61hffb5S/+PDypwaka4ym+SKOQO5V6Cf1ycng/Cgb9bv2T0tw5hK9iawWr6ddVPGiQzxwRabUKja4rdeKQOSh2f5ZbsR7MCxnBkmGshVuuCleg0+J4Bu1+xgKhAFCXvVrVmsSAlyQc+/RO02ReLTXWawTa5uQn8Vf/dJHD1ShyVi9sFREWLzIedtjSN+RVKEQVGUlqk+bna/cR2zHobzCSJbyzQXZtmBNSEumStetksLH6Ukr4Qi0V/E5khHgZxCUCijh5KjJSsp2guPsL/fL0fD7BtdDHol2O7PTOB8BCuU0L2k1U//ssjVvwBnSxNEsIOoDbfs8w4T3z9mJjkCFgMQ+cTl/rJHRY=
x-ms-office365-filtering-correlation-id: 3e00fb1b-6269-4bbd-f6d4-08d4ba06793f
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081)(201702281549075); SRVR:BLUPR0201MB1585; 
x-ms-traffictypediagnostic: BLUPR0201MB1585:
x-microsoft-antispam-prvs: <BLUPR0201MB1585429A9B1EF9CAFCCE8983D9D80@BLUPR0201MB1585.namprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(61425038)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(3002001)(6055026)(61426038)(61427038)(6041248)(20161123560025)(20161123555025)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0201MB1585; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0201MB1585; 
x-forefront-prvs: 0347410860
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39850400002)(39840400002)(39860400002)(39400400002)(39410400002)(39450400003)(24454002)(377454003)(83716003)(10090500001)(2906002)(50986999)(54356999)(76176999)(3846002)(229853002)(38730400002)(110136004)(7736002)(53936002)(561944003)(478600001)(39060400002)(6116002)(102836003)(122556002)(2900100001)(33656002)(6916009)(8676002)(6436002)(2950100002)(81166006)(3280700002)(6246003)(25786009)(53546010)(3660700001)(66066001)(36756003)(86362001)(305945005)(5660300001)(6506006)(4326008)(6306002)(6512007)(966005)(54906002)(189998001)(14454004)(8936002)(6486002)(99286003)(77096006)(82746002)(93886004); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0201MB1585; H:BLUPR0201MB1585.namprd02.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <B226D7FF7FDEE243A47505115235C541@namprd02.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: adobe.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jun 2017 07:07:13.1793 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: fa7b1b5a-7b34-4387-94ae-d2c178decee1
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0201MB1585
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/hxgFdqb55kqq5wWBpTKQueVkLzo>
Subject: Re: [Cfrg] How to (pre-)compute a ladder [revised version]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 23 Jun 2017 07:07:19 -0000

hi Peter
On Jun 16, 2017, at 6:58 AM, Peter Dettman <peter.dettman@bouncycastle.org>=
 wrote:

> Hi Francisco,
>=20
> I've updated my (java) implementations of X25519 and X448 in line with
> your revised paper.

out of curiosity is this a public repo I can look at ? :)

regards

antonio

> My rough benchmark results for a complete ECDH are
> -17.7% and -19.5% time required for X25519 and X448 respectively.
>=20
> These are perhaps slightly more modest than the paper's estimates. Your
> paper already anticipates that (uncounted) field add/sub are significant
> in practice.
>=20
> Part of the difference however is that my implementation of Algorithm 3
> handles the final 'q' bits using simple doublings, and removes redundant
> cswaps - just as Algorithm 5 does. Of course Alg. 3 is just as presented
> in RFC 7748, but it might be a fairer comparison to first apply to Alg.
> 3 those of your optimizations that are applicable.
>=20
> Also, my (32-bit) X448 implementation (Alg. 5) required a carry
> propagation for 'A' (line 10), due to tight bounds on limbs when
> squaring D, E. I did the same for (32-bit) X25519 although I haven't yet
> proved it necessary.
>=20
> An idea: for fixed-base X25519, why not precompute one doubling? i.e.
> just calculate (k/2) * 2P, needing only 2 final doublings (you even
> already have S of order 4). I am not sure whether this extends to
> precomputing (q-1) doublings.
>=20
> Another thought that occurred to me is that someone might get the idea
> to use your fixed-base ladder with some other point. Couldn't this go
> awry if that point were already "P + S" or similar? If so, a caution
> somewhere in the paper on preconditions for the fixed point might be
> advised.
>=20
> Regards,
> Pete Dettman
>=20
>=20
> On 12/05/2017 7:14 AM, Francisco Rodriguez- Henriquez wrote:
>> Dear CFRG community,
>>=20
>> We would like to draw your attention to an improved version of our IACR
>> pre-print 2017/264 now entitled:
>>=20
>>    "How to (pre-)compute a ladder"
>>=20
>> In this revised version, we present an improved differential addition
>> formula that uses pre-computation to match the computational cost of the
>> classical Montgomery differential addition.
>>=20
>> Accordingly, our estimates suggest that a full implementation of our
>> pre-computable ladder proposal should outperform state-of-the-art
>> software implementations of the X25519 and X448 functions by a 40%
>> speedup when working in the fixed-point scenario.
>>=20
>> We would be delighted to receive feedback (including sightings of typos)
>> from the CFRG community.
>>=20
>> With best regards,
>>=20
>> Thomaz Oliveira, Julio L=F3pez, H=FCseyin Hisil and Francisco
>> Rodr=EDguez-Henr=EDquez
>>=20
>>=20
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> https://www.irtf.org/mailman/listinfo/cfrg
>>=20
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Fri Jun 23 14:19:12 2017
Return-Path: <housley@vigilsec.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 61BCD129ADD for <cfrg@ietfa.amsl.com>; Fri, 23 Jun 2017 14:19:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bVoojlhKMWmX for <cfrg@ietfa.amsl.com>; Fri, 23 Jun 2017 14:19:08 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7003B1294F8 for <cfrg@ietf.org>; Fri, 23 Jun 2017 14:19:08 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id DAA23300483 for <cfrg@ietf.org>; Fri, 23 Jun 2017 17:19:07 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vLJkiOmDxzM5 for <cfrg@ietf.org>; Fri, 23 Jun 2017 17:19:06 -0400 (EDT)
Received: from a860b60074bd.home (pool-108-45-101-150.washdc.fios.verizon.net [108.45.101.150]) by mail.smeinc.net (Postfix) with ESMTPSA id DA78330029C for <cfrg@ietf.org>; Fri, 23 Jun 2017 17:19:06 -0400 (EDT)
From: Russ Housley <housley@vigilsec.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Message-Id: <67210408-F27E-4AE9-9ED6-6777C70530DA@vigilsec.com>
Date: Fri, 23 Jun 2017 17:19:06 -0400
To: cfrg@ietf.org
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/a8x8zS5mcrti7p3gJJCF8zoOzxM>
Subject: [Cfrg] Review of draft-irtf-cfrg-argon2-02
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 23 Jun 2017 21:19:11 -0000

Document: draft-irtf-cfrg-argon2-02
Reviewer: Russ Housley
Review Date: 2017-06-23

Summary: Almost Ready

Once the comments below are resolved, I think that the ISE should
publish the document.


Major Concerns:

Section 3.3: The pseudo-code includes this line:

               V_{r+1} =3D H_{T-32*r}(V_{r})

Up to this point, I thought that the Argon2 construction could work with
many different hash functions, but at this point I realized that Argon2
depends the ability of Blake2b to produce an output between 1 and 64
bytes.  Please add a sentence or two to the introduction so that others
can avoid this misunderstanding.

Section 3.5: This section defines the compression function G.  It makes
use of the BLAKE2b round function P, which is explained in Section 3.6.
Section 3.6 defines another function G, which is different than the=20
compression function.  I realize that both G functions are discussed in
other documents ([I-D.saarinen-blake2] and [ARGON2]), but there ought to
be a way to avoid this name collision.

Section 5: I tried to compile the code, and it does not work with gcc.
Is there a missing include file?


Minor Concerns:


Section 2 defines "E_f" as a variable E with subscript index f; however,
in Section 3.3, defines "H_x" as a hash function with x-byte output.
Please use a different notation for variables and functions.

Section 5: A main function would make it easier to use this reference
code.  Can you include something simple?  Perhaps something that prints
the tags associated with the test vectors in Section 6.


Nits:

Section 1: s/implementer oriented/implementer-oriented/

Section 1: s/data-depending memory access/data-dependent memory access/

Section 2: Please add a descriptions for the floor and ceil functions.

Section 2: Please add a description for length(P), which always returns
32 bits.

Section 2 defines "a ^ b", but Sections 3.2 and 3.5 use "a XOR b".
Pick one.

Most of the document uses "=3D" for assignment, but Section 3.6 uses =
"<-".
Please use "=3D" throughout.

Several places, the document tells us that "integers are padded to 4
bytes and encoded in little endian".  Maybe a "uint32" function should
be specified to avoid repeating this phrase.

Section 3.2: s/described in later section./described in later sections./

Section 6.3: Please correct the formatting.

Section 9.1: s/calls to Blake2b is needed/calls to Blake2b are needed/

Section 9.2: s/number t of passes/the number of passes, t,/

Section 9.3: s/for Argon2i 3 passes/for Argon2i, 3 passes/

Section 9.3: s/for Argon2d and Argon2id 1 pass/for Argon2d and Argon2id, =
1 pass/


Personal preference:

Section 3.5: s/applied rowwise, and then columnwise/
              /applied to each row, and then to each column/


From nobody Fri Jun 23 14:28:26 2017
Return-Path: <housley@vigilsec.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 ACE3B1293EE for <cfrg@ietfa.amsl.com>; Fri, 23 Jun 2017 14:28:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EATM9rFhdeWy for <cfrg@ietfa.amsl.com>; Fri, 23 Jun 2017 14:28:24 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9E8CF1294F8 for <cfrg@ietf.org>; Fri, 23 Jun 2017 14:28:23 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 0E808300483 for <cfrg@ietf.org>; Fri, 23 Jun 2017 17:28:23 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id akIkTMwjgP5j for <cfrg@ietf.org>; Fri, 23 Jun 2017 17:28:21 -0400 (EDT)
Received: from a860b60074bd.home (pool-108-45-101-150.washdc.fios.verizon.net [108.45.101.150]) by mail.smeinc.net (Postfix) with ESMTPSA id BDB6730029C for <cfrg@ietf.org>; Fri, 23 Jun 2017 17:28:21 -0400 (EDT)
From: Russ Housley <housley@vigilsec.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Fri, 23 Jun 2017 17:28:21 -0400
References: <67210408-F27E-4AE9-9ED6-6777C70530DA@vigilsec.com>
To: cfrg@ietf.org
In-Reply-To: <67210408-F27E-4AE9-9ED6-6777C70530DA@vigilsec.com>
Message-Id: <9A5C8193-4A8B-4461-81E3-4D0E1DAFC0CA@vigilsec.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/xE1tFRMjccTJD9WQUvdssQMOMTo>
Subject: Re: [Cfrg] Review of draft-irtf-cfrg-argon2-02
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 23 Jun 2017 21:28:25 -0000

I meant to say:

Once the comments below are resolved, I think that the IRSG should
publish the document.

Russ



> On Jun 23, 2017, at 5:19 PM, Russ Housley <housley@vigilsec.com> =
wrote:
>=20
> Document: draft-irtf-cfrg-argon2-02
> Reviewer: Russ Housley
> Review Date: 2017-06-23
>=20
> Summary: Almost Ready
>=20
> Once the comments below are resolved, I think that the ISE should
> publish the document.
>=20
>=20
> Major Concerns:
>=20
> Section 3.3: The pseudo-code includes this line:
>=20
>               V_{r+1} =3D H_{T-32*r}(V_{r})
>=20
> Up to this point, I thought that the Argon2 construction could work =
with
> many different hash functions, but at this point I realized that =
Argon2
> depends the ability of Blake2b to produce an output between 1 and 64
> bytes.  Please add a sentence or two to the introduction so that =
others
> can avoid this misunderstanding.
>=20
> Section 3.5: This section defines the compression function G.  It =
makes
> use of the BLAKE2b round function P, which is explained in Section =
3.6.
> Section 3.6 defines another function G, which is different than the=20
> compression function.  I realize that both G functions are discussed =
in
> other documents ([I-D.saarinen-blake2] and [ARGON2]), but there ought =
to
> be a way to avoid this name collision.
>=20
> Section 5: I tried to compile the code, and it does not work with gcc.
> Is there a missing include file?
>=20
>=20
> Minor Concerns:
>=20
>=20
> Section 2 defines "E_f" as a variable E with subscript index f; =
however,
> in Section 3.3, defines "H_x" as a hash function with x-byte output.
> Please use a different notation for variables and functions.
>=20
> Section 5: A main function would make it easier to use this reference
> code.  Can you include something simple?  Perhaps something that =
prints
> the tags associated with the test vectors in Section 6.
>=20
>=20
> Nits:
>=20
> Section 1: s/implementer oriented/implementer-oriented/
>=20
> Section 1: s/data-depending memory access/data-dependent memory =
access/
>=20
> Section 2: Please add a descriptions for the floor and ceil functions.
>=20
> Section 2: Please add a description for length(P), which always =
returns
> 32 bits.
>=20
> Section 2 defines "a ^ b", but Sections 3.2 and 3.5 use "a XOR b".
> Pick one.
>=20
> Most of the document uses "=3D" for assignment, but Section 3.6 uses =
"<-".
> Please use "=3D" throughout.
>=20
> Several places, the document tells us that "integers are padded to 4
> bytes and encoded in little endian".  Maybe a "uint32" function should
> be specified to avoid repeating this phrase.
>=20
> Section 3.2: s/described in later section./described in later =
sections./
>=20
> Section 6.3: Please correct the formatting.
>=20
> Section 9.1: s/calls to Blake2b is needed/calls to Blake2b are needed/
>=20
> Section 9.2: s/number t of passes/the number of passes, t,/
>=20
> Section 9.3: s/for Argon2i 3 passes/for Argon2i, 3 passes/
>=20
> Section 9.3: s/for Argon2d and Argon2id 1 pass/for Argon2d and =
Argon2id, 1 pass/
>=20
>=20
> Personal preference:
>=20
> Section 3.5: s/applied rowwise, and then columnwise/
>              /applied to each row, and then to each column/
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Fri Jun 23 17:07:10 2017
Return-Path: <agenda@ietf.org>
X-Original-To: cfrg@ietf.org
Delivered-To: cfrg@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 6AA7A129B07; Fri, 23 Jun 2017 17:06:57 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "\"IETF Secretariat\"" <agenda@ietf.org>
To: <alexey.melnikov@isode.com>, <cfrg-chairs@ietf.org>
Cc: cfrg@ietf.org, irtf-chair@irtf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.55.1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149826281743.7840.7770744022632147959.idtracker@ietfa.amsl.com>
Date: Fri, 23 Jun 2017 17:06:57 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/svvlxpY3kF13cs9DGRG3lRFI-aw>
Subject: [Cfrg] cfrg - Requested session has been scheduled for IETF 99
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 24 Jun 2017 00:06:57 -0000

Dear Alexey Melnikov,

The session(s) that you have requested have been scheduled.
Below is the scheduled session information followed by
the original request. 

cfrg Session 1 (1:30:00)
    Tuesday, Afternoon Session II 1550-1750
    Room Name: Congress Hall I size: 250
    ---------------------------------------------
    


Request Information:


---------------------------------------------------------
Working Group Name: Crypto Forum
Area Name: IRTF
Session Requester: Alexey Melnikov

Number of Sessions: 1
Length of Session(s):  1.5 Hours
Number of Attendees: 70
Conflicts to Avoid: 
 First Priority: kitten tcpinc uta dispatch dprive tls saag dmarc
 Second Priority: jmap mile



People who must be present:
  Alexey Melnikov
  Kenny Paterson

Resources Requested:

Special Requests:
  Please generally avoid conflicts with SEC Area WGs/BOFs
---------------------------------------------------------


From nobody Mon Jun 26 22:45:16 2017
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cfrg@ietf.org
Delivered-To: cfrg@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 70C1A12EB77; Mon, 26 Jun 2017 22:45:15 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cfrg@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.55.1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149854231542.14930.11413879693117689362@ietfa.amsl.com>
Date: Mon, 26 Jun 2017 22:45:15 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/aHzfYIM9i237Q9WY_aNRM4HUTfw>
Subject: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-07.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Jun 2017 05:45:15 -0000

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

        Title           : Hash-Based Signatures
        Authors         : David McGrew
                          Michael Curcio
                          Scott Fluhrer
	Filename        : draft-mcgrew-hash-sigs-07.txt
	Pages           : 45
	Date            : 2017-06-21

Abstract:
   This note describes a digital signature system based on cryptographic
   hash functions, following the seminal work in this area of Lamport,
   Diffie, Winternitz, and Merkle, as adapted by Leighton and Micali in
   1995.  It specifies a one-time signature scheme and a general
   signature scheme.  These systems provide asymmetric authentication
   without using large integer mathematics and can achieve a high
   security level.  They are suitable for compact implementations, are
   relatively simple to implement, and naturally resist side-channel
   attacks.  Unlike most other signature systems, hash-based signatures
   would still be secure even if it proves feasible for an attacker to
   build a quantum computer.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-mcgrew-hash-sigs/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-mcgrew-hash-sigs-07
https://datatracker.ietf.org/doc/html/draft-mcgrew-hash-sigs-07

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-mcgrew-hash-sigs-07


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

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


From nobody Tue Jun 27 06:01:11 2017
Return-Path: <ietf@huelsing.net>
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 74CC8129B0A; Tue, 27 Jun 2017 06:01:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QmIj4_J3QSRN; Tue, 27 Jun 2017 06:01:06 -0700 (PDT)
Received: from www363.your-server.de (www363.your-server.de [78.46.179.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 77347129B08; Tue, 27 Jun 2017 06:01:06 -0700 (PDT)
Received: from [88.198.220.131] (helo=sslproxy02.your-server.de) by www363.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85_2) (envelope-from <ietf@huelsing.net>) id 1dPq73-00014d-BM; Tue, 27 Jun 2017 15:01:01 +0200
Received: from [2001:610:310:9881:bca7:4406:6617:1339] by sslproxy02.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-SHA:256) (Exim 4.84_2) (envelope-from <ietf@huelsing.net>) id 1dPq73-0006pm-3E; Tue, 27 Jun 2017 15:01:01 +0200
From: "A. Huelsing" <ietf@huelsing.net>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>, "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>, Alexey Melnikov <alexey.melnikov@isode.com>, "irsg@irtf.org" <irsg@irtf.org>, "cfrg@irtf.org" <Cfrg@irtf.org>
Cc: "draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org" <draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org>
References: <D4FDAF9D.8D586%kenny.paterson@rhul.ac.uk> <9a878527-5ab9-5429-7c5d-4f7e4ca4e8db@isode.com> <08944dc3-9086-ed47-cc1b-54248b3dac70@cs.tcd.ie> <D566ADE0.963E4%kenny.paterson@rhul.ac.uk> <9e6b6146-e376-86cb-70be-0127a3e72d16@cs.tcd.ie> <D56DBB2C.96A67%kenny.paterson@rhul.ac.uk> <6f90e485-01f4-5ad8-49ef-e51c52e01a46@cs.tcd.ie> <5e328e85-a8a1-67f1-3853-418309b04a17@huelsing.net>
Message-ID: <27cc7000-7fd5-27dd-b8b5-9b9518a9f3ad@huelsing.net>
Date: Tue, 27 Jun 2017 15:01:00 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <5e328e85-a8a1-67f1-3853-418309b04a17@huelsing.net>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Language: en-GB
X-Authenticated-Sender: ietf@huelsing.net
X-Virus-Scanned: Clear (ClamAV 0.99.2/23511/Tue Jun 27 06:22:26 2017)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/SJtPQsxJxrU_ayPtPVbVpzVOt3Q>
Subject: Re: [Cfrg] [irsg] IRSG review of draft-irtf-cfrg-xmss-hash-based-signatures-08
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Jun 2017 13:01:09 -0000

Hi Stephen, hi Kenny, hi Alexey,

We are currently going through the review. While we didn't handle the nits yet,
we made up our mind about the first four points (see below). Regarding the last
point of test vectors.
We think it is better to add a reference implementation. We would now just add
the C code as appendix. Would that be fine? Are there any conditions on code? We
have dependencies to OpenSSL for SHA2.

>>>> possible errors:
>>>> ----------------
>>>>
>>>> - 3.1.2: Algorithm 2: "if ( (i + s) > w - 1 )..." seems to be
>>>> missing parenthesis around the "(w-1)" to me.  Without those
>>>> brackets I could interpret that test to always result in false.
Added parenthesis.
>>>> - 4.1.9: should the call to setIdx in alg 12 be after treeSig?
>>>>  as-is you seem to have incremented the index too soon so
>>>> that when alg 11 does getIdx it'd presumably get the
>>>> incremented index and cause verification failure. I think
>>>> the same is true of alg 16 as well, in section 4.2.4.
Indeed, we now give idx_sig as additional input (and don't use the already
updated index from SK anymore).
>>>> significant comments, but likely fixable:
>>>> -----------------------------------------
>>>>
>>>> - section 5: there are waaaay too many options defined here.
>>>>  As-is, this will damage potential deployment of xmss. I
>>>> would strongly suggest deleting all of the options except the
>>>> minimum, that being one (and only one) set of parameters for
>>>> XMSS and one for XMSS^MT. If others are needed later, those
>>>> can be defined later. (Note that the damage done here includes
>>>> the hours of developer time that would be wasted debating
>>>> which of these choices to implement/use. Consider the case of
>>>> pre-hash variants of eddsa for an ongoing example.)
Got your point Our noted todos are:
####
#   1.) Select 1 XMSS & 1 XMSS^MT parameter set as default options
#   2.) Explain that all other h / d combis are fine but we can only give
limited number
#   3.) Add sizes & #sigs for parameter sets
#   4.) Explain trade-offs
#   5.) Make implementation of verification for all parameters mandatory / sign
just a para suggestion
####
Do you agree?
>>>> - section 5 (or an appendix) should contain some test vectors
>>>>  (including intermediate values). Without those, implementers
>>>> have a much harder time of getting their code right.
See above.

Cheers,

Stefan & Andreas
>>>> nits, near-nits and other ignorable things:
>>>> -------------------------------------------
>>>>
>>>> - abstract: I'd suggest s/can withstand attacks/ can withstand
>>>>  so-far known attacks/
>>>>
>>>> - 1.1: You say if used >1 time "no cryptographic security
>>>>  guarantees remain." It might be clearer to give some
>>>> examples of consequences, e.g. that the attacker can forge new
>>>> signatures or whatever.
>>>>
>>>> - 1.1: I think you might mention that XMSS and other OTS ideas
>>>>  require some new crypto APIs. I'm not aware if anyone has
>>>> developed proposals for such, but would be interested if
>>>> someone has.
>>>>
>>>> - 2.3, 2nd last para: you might want to say what happens with
>>>>  e.g.  B<<2 where B=0xf0. I assume the result is 0xc0 but
>>>> someone might think it's 0x3c0 or even 0xc3.
>>>>
>>>> - 2.5: having the "type word" as octet 15 of a 32 byte address
>>>>  seems odd. Is there a reason why? (Just wondering.)
>>>>
>>>> - 2.6: It seems odd to given an example where the input and
>>>>  output of base_w() are the same. A different example may be
>>>> more useful. (More examples generally would be great.)
>>>>
>>>> - 3.1.3: maybe note that "/" means nothing? Which I assume it
>>>>  does? Better might be to just say that.
>>>>
>>>> - 3.1.5: "a maximum value of len_1 * (w - 1) * 2^8" is missing
>>>>  units
>>>>
>>>> - 3.1.5: "the variable" - which one?
>>>>
>>>> - 3.1.5: "For the parameter sets given in Section 5 a 32-bit
>>>>  unsigned integer is sufficient." Sufficient for what?
>>>>
>>>> - 3.1.5: The ascii art at the end of p16 doesn't help much.
>>>>
>>>> - 3.1.7: The "MUST match" statement doesn't seem enforceable
>>>>  nor testable so I'm not sure it's a good idea to include.
>>>> OTOH, I do get the idea of using 2119 terms for emphasis.
>>>>
>>>> - 3.1.7: I think it might be useful to point out any specific
>>>>  problems associated with using a low entropy human memorable
>>>> secret (password) for the value S. No matter what you say,
>>>> people will do that, so better if you can say you told them
>>>> specifically about downsides of doing that.
>>>>
>>>> - 4.1.12: I'm not sure if the MAY there is correct or not.  If
>>>>  it means "you MAY use a different algorithm to get the same
>>>> output as alg 12" then that'd be fine. If something else is
>>>> meant I'm not sure what you're saying, and it'd probably be
>>>> better to not even mention it.
>>>>
>>>> - section 5 should also spell out the signature and
>>>> public key sizes in bytes and ideally, if you keep multiple
>>>> options, (but please don't:-) describe relative or measured
>>>> timings.
>>>>
>>>>
>>>>


From nobody Tue Jun 27 06:20:51 2017
Return-Path: <smyshsv@gmail.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 A566F129B07 for <cfrg@ietfa.amsl.com>; Tue, 27 Jun 2017 06:20:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level: 
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yaYUuqlbINVl for <cfrg@ietfa.amsl.com>; Tue, 27 Jun 2017 06:20:46 -0700 (PDT)
Received: from mail-qk0-x22a.google.com (mail-qk0-x22a.google.com [IPv6:2607:f8b0:400d:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 340BB127078 for <cfrg@ietf.org>; Tue, 27 Jun 2017 06:20:46 -0700 (PDT)
Received: by mail-qk0-x22a.google.com with SMTP id r62so24638531qkf.0 for <cfrg@ietf.org>; Tue, 27 Jun 2017 06:20:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=vuI5I6aFFntB2NAcSsV2kWMszJ3IoQzQEkQO+fXzQKM=; b=fXKConxkWGyi1v2nygD4SZ8RTIlNZnVn4AyGKwritlR4nMT48Lw66NhMpE39sd39kg jY6Jal1/WuLAwCj5bBbfo9CaOaHdhyu8WaYnS6ofsDkZxVJ6eLQgipZFiMMAqC0+SOXo idkuytRNLshkBNtgOoz9Wq24xVkUj4Z5Ml96R7X28vHUOeKNVnsOlwsWlqsqIFlV33Qj hsM/qYHgW8XruajICecT5eeUaQ0LVQxVGCFfB3DZkJgA3AU1/hzP1KYUaHz/fSv/Z0M3 gu6QwpsDRQpT9Nyk8KpXsFmPrCgwEo/eQz3kFhPCURGWs0aZqtRo1QSoCmmrM2ojSywW q+0g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=vuI5I6aFFntB2NAcSsV2kWMszJ3IoQzQEkQO+fXzQKM=; b=It4zqlo9F1YueyMJNFG5BiaqlKJLi/kIGZUuAZr9EkFVtvXZiMceAMkXR2OhcIr9MK 9bSln6Ifw71R0VDyqO4gv3qGC+SD2NmGfnM4CyeMqXUzWqKOv6qaZpZnPlDeYm23CLV4 rs915gMP7SUm6yyH8dVYQt3igy69YE0EOhtB1FCS0O4ZTiPa2VpRR7eo6yf75dBQlDMG Eg9YNzBKklJZ722WhTkOztJ0GWknC/8AVkP/TjeFwJraNrU0bxqrLYVh8b8CxlYnmfUw hGNadXcqXuQ2bZA22d8YXxNRpwrk1uZgf4u6kYRa/upf63jQWaX/bD8UkFMS/qJ6vn6l LPkA==
X-Gm-Message-State: AKS2vOwLFOgVUqkjgDs7h27EtaDzOTEyZ7cV75kHrWjJpyiIxZlCI9CR 5xB3XaTxVa1GZ9ByCm3oi8aGdfo8vuYq
X-Received: by 10.55.191.197 with SMTP id p188mr6377359qkf.69.1498569645034; Tue, 27 Jun 2017 06:20:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.12.148.77 with HTTP; Tue, 27 Jun 2017 06:20:44 -0700 (PDT)
In-Reply-To: <9A5C8193-4A8B-4461-81E3-4D0E1DAFC0CA@vigilsec.com>
References: <67210408-F27E-4AE9-9ED6-6777C70530DA@vigilsec.com> <9A5C8193-4A8B-4461-81E3-4D0E1DAFC0CA@vigilsec.com>
From: "Stanislav V. Smyshlyaev" <smyshsv@gmail.com>
Date: Tue, 27 Jun 2017 16:20:44 +0300
Message-ID: <CAMr0u6ngOCiRD7OsFT7ezOA7-NW4ynx6yzmwJGTUsoUaDmm1Kg@mail.gmail.com>
To: cfrg@ietf.org, "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>,  "alexey.melnikov@isode.com" <alexey.melnikov@isode.com>
Cc: Russ Housley <housley@vigilsec.com>
Content-Type: multipart/alternative; boundary="94eb2c04308e5d2cba0552f0ef48"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/b-Cziqd8ygeBDq0hhh5J9GbJD_U>
Subject: Re: [Cfrg] Review of draft-irtf-cfrg-argon2-02
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Jun 2017 13:20:50 -0000

--94eb2c04308e5d2cba0552f0ef48
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Document: draft-irtf-cfrg-argon2-02
Reviewer: Stanislav Smyshlyaev
Review Date: 2017-06-27


Summary: Minor revision needed


The draft defines a family of Argon2 functions, Argon2i, Argon2d and
Argon2id, which are designed to be memory-hard functions for password
hashing and PoW.


The function design is reasonable and well-thought. The security analysis
is deep enough - a number of adequate adversary models are considered (see
https://www.cryptolux.org/images/0/0d/Argon2.pdf).


Nevertheless, in my opinion, more words (not in the I-D but in the cited
design reference) about comparison of results for Argon2 with most recent
results for Balloon and sCrypt would be very helpful: for instance,
considering the model and results in Eurocrypt 2017 best paper "Scrypt is
Maximally Memory-Hard", or results in the pROM model. Are there any
complete results (existing or planned for future research) in the pROM
model?


Also some (at least, formal) words should be said about security analysis
of recommended Argon2id (I understand that results for Argon2i lead to
corollaries for Argon2id - but it should be said explicitly, I think).


Another major concern is the following: I'd prefer the number of variants
to be reduced.

Now there are 3 functions with several parameters. It is great that the
Section 9.4 with recommendations to use Argon2id with t=3D1 and maximum
available memory has been added in -02 version - but do we need the whole
set of alternative options in the document?

It seems to me that it is not a good idea to have a large set of
parameterized functions standardized and I'd like it to be reduced in the
future RFC - for example, by getting rid of Argon2i and Argon2d, leaving
only Argon2id.


Comments:

1) General comments about notation:

- Section 2 defines =E2=80=9C^=E2=80=9D, but later "XOR=E2=80=9D is used in=
 the formulas below
(sections 3.2, 3.5). Please select one notation, and if =E2=80=9CXOR=E2=80=
=9D is chosen,
then it makes sense to use =E2=80=9C^=E2=80=9D instead of =E2=80=9C**=E2=80=
=9D.

- It will be better to put spaces for arithmetic operations in a unified
way. For example, put them before and after all binary operations  (/, -,
*, ^ (or XOR), =E2=80=A6) and do not put them in case of unary operations (=
**).

- "Kibibytes", "GiB" and "GB" are used. It would be better to select one
measurement system.

2) Please use figure numbers and captions for the illustrations.

3) Notation in Section 2:

- Symbol =E2=80=9Ca=E2=80=9D is used to denote integers and strings without=
 any comments.
It will be good to clarify the type of the arguments for defined functions
and operations.

- The function extract(a, i) should be defined more clearly: e.g. which set
is the 1-st one for a?

- Such simple things as =E2=80=9C*=E2=80=9D, =E2=80=9C-=E2=80=9D, =E2=80=9C=
/=E2=80=9D, =E2=80=9CI(j)=E2=80=9D are defined (do we really
need it?) but there are no words about =E2=80=9C-P->=E2=80=9D, =E2=80=9C->=
=E2=80=9D, =E2=80=9Cceil=E2=80=9D. In particular,
on a first encounter one may read string =E2=80=9CG: (X, Y) -> R =3D X XOR =
Y -P-> Q
-P-> Z -P-> Z XOR R=E2=80=9D in an incorrect way.

4) Transformation rules (from int to str and back) are not always provided
in the draft: in Section 3.4.1 J_1, J_2 deal with strings; in Section 3.4.2
J_1, J_2 deal with integers.

Think about defining int() and str() functions to avoid repeating the same
phrases.

5) Function H is BLAKE2b function, which takes 4 arguments as an input
(d[0..dd-1], ll, kk, nn). But it takes 14 arguments in Section 3.2 and 1
argument in Section 3.3. Please, clarify it.

6) Section 3.2.  The link [I-D.saarinen-blake2] is for a version of draft,
but now there is RFC 7693.

7) Section 3.2. "Establish H_0 as the 64-bit value as shown in the figure
below."

The nearest figure is =E2=80=9CSingle-pass Argon2 with p lanes and 4 slices=
=E2=80=9D - and
H_0 is described in the formula (string) below.

8) Section 3.2. "G and H' are described in later section."

The number of the section here would look better than just "later".

9) Section 3.3 specifies function H=E2=80=99 with one argument X, but H=E2=
=80=99 uses 3
arguments in Section 3.3. (B[i][0] =3D H'(H_0, 0, i)).

10) Section 3.3: "in our case H_x is BLAKE2b, which supports x between 1
and 64 inclusive"

It would be better to clarify that x is "nn" in terms of BLAKE2b.

11)

- Section 3.3. "Here integers are padded to 4 bytes and encoded in little
endian."

The question "Padded with what?" can be raised. Maybe it will be better
just to say =E2=80=9Cencoded in little-endian as 4-byte integer=E2=80=9D .

- Section 3.3. "little-endian as 32-bit integer". "4 bytes" instead of "32
bits" looks better to me here.

12) Section 3.3. "The block indices i' and j' are determined differently
for Argon2d, Argon2i, and Argon2id."

Please, insert the link to a section that determines this.

13) In Section 3.4.2 and Section 3.5 =E2=80=9CR=E2=80=9D is used for differ=
ent purposes

14) In Section 3.4.1.2 and Section 3.4.2 =E2=80=9Cx=E2=80=9D is used for di=
fferent purposes

15) Notation looks too cumbersome for an RFC. For some readers it can be
hard to understand the meaning of the string =E2=80=9CJ_1 in [0, 2**32) -> =
|R|(1 -
J_1**2 / 2**64)=E2=80=9D.

16) Section 3.5. Maybe it would be better to use =E2=80=9Cv=E2=80=9D instea=
d of "\ /".

17) Section 6.3. Extra spaces in the first string.

18) Lines =E2=80=9CPassword[32]:=E2=80=A6=E2=80=9D, =E2=80=9CPre-hashing di=
gest=E2=80=A6", ", "Tag: 0d 64 0d f5 =E2=80=A6"
go off the edge of the page.

19) Section 3.5. G: (X, Y) -> R =3D X XOR Y -P-> Q -P-> Z -P-> Z XOR R

Is the third =E2=80=9C-P->=E2=80=9D needed here?



However, the document is very important and, in my opinion, it should be
published after resolving the comments.


Of course I'll be happy to discuss the mentioned concerns with the authors.

Best regards,

Stanislav


2017-06-24 0:28 GMT+03:00 Russ Housley <housley@vigilsec.com>:

> I meant to say:
>
> Once the comments below are resolved, I think that the IRSG should
> publish the document.
>
> Russ
>
>
>
> > On Jun 23, 2017, at 5:19 PM, Russ Housley <housley@vigilsec.com> wrote:
> >
> > Document: draft-irtf-cfrg-argon2-02
> > Reviewer: Russ Housley
> > Review Date: 2017-06-23
> >
> > Summary: Almost Ready
> >
> > Once the comments below are resolved, I think that the ISE should
> > publish the document.
> >
> >
> > Major Concerns:
> >
> > Section 3.3: The pseudo-code includes this line:
> >
> >               V_{r+1} =3D H_{T-32*r}(V_{r})
> >
> > Up to this point, I thought that the Argon2 construction could work wit=
h
> > many different hash functions, but at this point I realized that Argon2
> > depends the ability of Blake2b to produce an output between 1 and 64
> > bytes.  Please add a sentence or two to the introduction so that others
> > can avoid this misunderstanding.
> >
> > Section 3.5: This section defines the compression function G.  It makes
> > use of the BLAKE2b round function P, which is explained in Section 3.6.
> > Section 3.6 defines another function G, which is different than the
> > compression function.  I realize that both G functions are discussed in
> > other documents ([I-D.saarinen-blake2] and [ARGON2]), but there ought t=
o
> > be a way to avoid this name collision.
> >
> > Section 5: I tried to compile the code, and it does not work with gcc.
> > Is there a missing include file?
> >
> >
> > Minor Concerns:
> >
> >
> > Section 2 defines "E_f" as a variable E with subscript index f; however=
,
> > in Section 3.3, defines "H_x" as a hash function with x-byte output.
> > Please use a different notation for variables and functions.
> >
> > Section 5: A main function would make it easier to use this reference
> > code.  Can you include something simple?  Perhaps something that prints
> > the tags associated with the test vectors in Section 6.
> >
> >
> > Nits:
> >
> > Section 1: s/implementer oriented/implementer-oriented/
> >
> > Section 1: s/data-depending memory access/data-dependent memory access/
> >
> > Section 2: Please add a descriptions for the floor and ceil functions.
> >
> > Section 2: Please add a description for length(P), which always returns
> > 32 bits.
> >
> > Section 2 defines "a ^ b", but Sections 3.2 and 3.5 use "a XOR b".
> > Pick one.
> >
> > Most of the document uses "=3D" for assignment, but Section 3.6 uses "<=
-".
> > Please use "=3D" throughout.
> >
> > Several places, the document tells us that "integers are padded to 4
> > bytes and encoded in little endian".  Maybe a "uint32" function should
> > be specified to avoid repeating this phrase.
> >
> > Section 3.2: s/described in later section./described in later sections.=
/
> >
> > Section 6.3: Please correct the formatting.
> >
> > Section 9.1: s/calls to Blake2b is needed/calls to Blake2b are needed/
> >
> > Section 9.2: s/number t of passes/the number of passes, t,/
> >
> > Section 9.3: s/for Argon2i 3 passes/for Argon2i, 3 passes/
> >
> > Section 9.3: s/for Argon2d and Argon2id 1 pass/for Argon2d and Argon2id=
,
> 1 pass/
> >
> >
> > Personal preference:
> >
> > Section 3.5: s/applied rowwise, and then columnwise/
> >              /applied to each row, and then to each column/
> >
> > _______________________________________________
> > Cfrg mailing list
> > Cfrg@irtf.org
> > https://www.irtf.org/mailman/listinfo/cfrg
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg
>

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

<div dir=3D"ltr"><p class=3D"MsoNormal"><span style=3D"font-size:12.8px">Do=
cument: draft-irtf-cfrg-argon2-02</span><br style=3D"font-size:12.8px"><spa=
n style=3D"font-size:12.8px">Reviewer: Stanislav Smyshlyaev</span><br style=
=3D"font-size:12.8px"><span style=3D"font-size:12.8px">Review Date: 2017-06=
-27</span><br></p><p class=3D"MsoNormal"><span style=3D"font-size:12.8px"><=
br></span></p><p class=3D"MsoNormal">Summary: Minor revision needed</p><p c=
lass=3D"MsoNormal"><br></p><p class=3D"MsoNormal">The draft defines a famil=
y of Argon2 functions, Argon2i, Argon2d and Argon2id, which are designed to=
 be memory-hard functions for password hashing and PoW.</p><p class=3D"MsoN=
ormal"><br></p><p class=3D"MsoNormal">The function design is reasonable and=
=C2=A0well-thought. The security analysis is deep enough - a number of adeq=
uate adversary models are considered (see <a href=3D"https://www.cryptolux.=
org/images/0/0d/Argon2.pdf">https://www.cryptolux.org/images/0/0d/Argon2.pd=
f</a>).=C2=A0</p><p class=3D"MsoNormal"><br></p><p class=3D"MsoNormal">Neve=
rtheless, in my opinion, more words (not in the I-D but in the cited design=
 reference) about comparison of results for Argon2 with most recent results=
 for Balloon and sCrypt would be very helpful: for instance, considering th=
e model and results in Eurocrypt 2017 best paper &quot;Scrypt is Maximally =
Memory-Hard&quot;, or results in the pROM model. Are there any complete res=
ults (existing or planned for future research) in the pROM model?=C2=A0</p>=
<p class=3D"MsoNormal"><br></p><p class=3D"MsoNormal">Also some (at least, =
formal) words should be said about security analysis of recommended Argon2i=
d (I understand that results for Argon2i lead to corollaries for Argon2id -=
 but it should be said explicitly, I think).</p><p class=3D"MsoNormal"><br>=
</p><p class=3D"MsoNormal">Another major concern is the following: I&#39;d =
prefer the number of variants to be reduced.=C2=A0</p><p class=3D"MsoNormal=
">Now there are 3 functions with several parameters. It is great that the S=
ection 9.4 with recommendations to use Argon2id with t=3D1 and maximum avai=
lable memory has been added in -02 version - but do we need the whole set o=
f alternative options in the document?=C2=A0</p><p class=3D"MsoNormal">It s=
eems to me that it is not a good idea to have a large set of parameterized =
functions standardized and I&#39;d like it to be reduced in the future RFC =
- for example, by getting rid of Argon2i and Argon2d, leaving only Argon2id=
.<br></p><p class=3D"MsoNormal"><br></p><p class=3D"MsoNormal">Comments:</p=
><p class=3D"MsoNormal">1)=C2=A0<span class=3D"gmail-apple-tab-span">Genera=
l comments about n</span>otation:=C2=A0<br></p><p class=3D"MsoNormal"></p><=
p class=3D"MsoNormal">- Section 2 defines =E2=80=9C^=E2=80=9D, but later &q=
uot;XOR=E2=80=9D is used in the formulas below (sections 3.2, 3.5). Please =
select one notation, and if =E2=80=9CXOR=E2=80=9D is chosen, then it makes =
sense to use =E2=80=9C^=E2=80=9D instead of =E2=80=9C**=E2=80=9D.</p><p cla=
ss=3D"MsoNormal">- It will be better to put spaces for arithmetic operation=
s in a unified way. For example, put them before and after all binary opera=
tions =C2=A0(/, -, *, ^ (or XOR), =E2=80=A6) and do not put them in case of=
 unary operations (**).</p><p class=3D"MsoNormal">- &quot;Kibibytes&quot;, =
&quot;GiB&quot; and &quot;GB&quot; are used. It would be better to select o=
ne measurement system.</p><p class=3D"MsoNormal">2) Please use figure numbe=
rs and captions for the illustrations.</p><p class=3D"MsoNormal">3) Notatio=
n in Section 2:</p><p class=3D"MsoNormal">- Symbol =E2=80=9Ca=E2=80=9D is u=
sed to denote integers and strings without any comments. It will be good to=
 clarify the type of the arguments for defined functions and operations.=C2=
=A0</p><p class=3D"MsoNormal"><span class=3D"gmail-apple-tab-span">-=C2=A0T=
he</span>=C2=A0function extract(a, i) should be defined more clearly: e.g. =
which set is the 1-st one for a?</p><p class=3D"MsoNormal">- Such simple th=
ings as =E2=80=9C*=E2=80=9D, =E2=80=9C-=E2=80=9D, =E2=80=9C/=E2=80=9D, =E2=
=80=9CI(j)=E2=80=9D are defined (do we really need it?) but there are no wo=
rds about =E2=80=9C-P-&gt;=E2=80=9D, =E2=80=9C-&gt;=E2=80=9D, =E2=80=9Cceil=
=E2=80=9D. In particular, on a first encounter one may read string =E2=80=
=9CG: (X, Y) -&gt; R =3D X XOR Y -P-&gt; Q -P-&gt; Z -P-&gt; Z XOR R=E2=80=
=9D in an incorrect way.=C2=A0</p><p class=3D"MsoNormal"></p><p class=3D"Ms=
oNormal">4) Transformation rules (from int to str and back) are not always =
provided in the draft: in Section 3.4.1 J_1, J_2 deal with strings; in Sect=
ion 3.4.2 J_1, J_2 deal with integers.=C2=A0</p><p class=3D"MsoNormal">Thin=
k about defining int() and str() functions to avoid repeating the same phra=
ses.=C2=A0</p><p class=3D"MsoNormal">5) Function H is BLAKE2b function, whi=
ch takes 4 arguments as an input (d[0..dd-1], ll, kk, nn). But it takes 14 =
arguments in Section 3.2 and 1 argument in Section 3.3. Please, clarify it.=
</p><p class=3D"MsoNormal">6) Section 3.2.=C2=A0 The link [I-D.saarinen-bla=
ke2] is for a version of draft, but now there is RFC 7693.</p><p class=3D"M=
soNormal">7) Section 3.2. &quot;Establish H_0 as the 64-bit value as shown =
in the figure below.&quot;</p><p class=3D"MsoNormal">The nearest figure is =
=E2=80=9CSingle-pass Argon2 with p lanes and 4 slices=E2=80=9D - and H_0 is=
 described in the formula (string) below.=C2=A0</p><p class=3D"MsoNormal">8=
) Section 3.2. &quot;G and H&#39; are described in later section.&quot;</p>=
<p class=3D"MsoNormal">The number of the section here would look better tha=
n just &quot;later&quot;.</p><p class=3D"MsoNormal">9) Section 3.3 specifie=
s function H=E2=80=99 with one argument X, but H=E2=80=99 uses 3 arguments =
in Section 3.3. (B[i][0] =3D H&#39;(H_0, 0, i)).=C2=A0</p><p class=3D"MsoNo=
rmal">10) Section 3.3: &quot;in our case H_x is BLAKE2b, which supports x b=
etween 1 and 64 inclusive&quot;</p><p class=3D"MsoNormal">It would be bette=
r to clarify that x is &quot;nn&quot; in terms of BLAKE2b.=C2=A0</p><p clas=
s=3D"MsoNormal">11)=C2=A0</p><p class=3D"MsoNormal">- Section 3.3. &quot;He=
re integers are padded to 4 bytes and encoded in little endian.&quot;</p><p=
 class=3D"MsoNormal">The question &quot;Padded with what?&quot; can be rais=
ed. Maybe it will be better just to say =E2=80=9Cencoded in little-endian a=
s 4-byte integer=E2=80=9D .</p><p class=3D"MsoNormal">- Section 3.3. &quot;=
little-endian as 32-bit integer&quot;. &quot;4 bytes&quot; instead of &quot=
;32 bits&quot; looks better to me here.<br></p><p class=3D"MsoNormal">12) S=
ection 3.3. &quot;The block indices i&#39; and j&#39; are determined differ=
ently for Argon2d, Argon2i, and Argon2id.&quot;</p><p class=3D"MsoNormal">P=
lease, insert the link to a section that determines this.</p><p class=3D"Ms=
oNormal">13)<span class=3D"gmail-apple-tab-span">=C2=A0In=C2=A0</span>Secti=
on 3.4.2 and Section 3.5 =E2=80=9CR=E2=80=9D is used for different purposes=
</p><p class=3D"MsoNormal">14)=C2=A0<span class=3D"gmail-apple-tab-span">In=
=C2=A0</span>Section 3.4.1.2 and Section 3.4.2 =E2=80=9Cx=E2=80=9D is used =
for different purposes</p><p class=3D"MsoNormal">15)<span class=3D"gmail-ap=
ple-tab-span">=C2=A0Notation looks too cumbersome for an RFC.=C2=A0</span>F=
or some readers it can be hard to understand the meaning of the string =E2=
=80=9CJ_1 in [0, 2**32) -&gt; |R|(1 - J_1**2 / 2**64)=E2=80=9D.</p><p class=
=3D"MsoNormal">16)<span class=3D"gmail-apple-tab-span">=C2=A0S</span>ection=
 3.5. Maybe it would be better to use =E2=80=9Cv=E2=80=9D instead of &quot;=
\ /&quot;.</p><p class=3D"MsoNormal">17)<span class=3D"gmail-apple-tab-span=
">=C2=A0</span>Section 6.3. Extra spaces in the first string.</p><p class=
=3D"MsoNormal">18)<span class=3D"gmail-apple-tab-span">=C2=A0</span>Lines =
=E2=80=9CPassword[32]:=E2=80=A6=E2=80=9D, =E2=80=9CPre-hashing digest=E2=80=
=A6&quot;, &quot;, &quot;Tag: 0d 64 0d f5 =E2=80=A6&quot; go off the edge o=
f the page.</p><p class=3D"MsoNormal">19) Section 3.5. G: (X, Y) -&gt; R =
=3D X XOR Y -P-&gt; Q -P-&gt; Z -P-&gt; Z XOR R</p><p class=3D"MsoNormal">I=
s the third =E2=80=9C-P-&gt;=E2=80=9D needed here?</p><p class=3D"MsoNormal=
"><br></p><p class=3D"MsoNormal"><br></p><p class=3D"MsoNormal">However, th=
e document is very important and, in my opinion, it should be published aft=
er resolving the comments.</p><p class=3D"MsoNormal"><br></p><p class=3D"Ms=
oNormal"><span style=3D"font-size:12.8px">Of course I&#39;ll be=C2=A0</span=
><span class=3D"gmail-il" style=3D"font-size:12.8px">happy</span><span styl=
e=3D"font-size:12.8px">=C2=A0to discuss the mentioned concerns with the aut=
hors.</span></p><div class=3D"gmail_extra"><br clear=3D"all"><div><div clas=
s=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><=
p><font color=3D"#1f497d">Best regards,</font></p><p><font color=3D"#1f497d=
">Stanislav</font></p><div><br></div></div></div></div>
<br><div class=3D"gmail_quote">2017-06-24 0:28 GMT+03:00 Russ Housley <span=
 dir=3D"ltr">&lt;<a href=3D"mailto:housley@vigilsec.com" target=3D"_blank">=
housley@vigilsec.com</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I me=
ant to say:<br>
<br>
Once the comments below are resolved, I think that the IRSG should<br>
publish the document.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Russ<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
<br>
&gt; On Jun 23, 2017, at 5:19 PM, Russ Housley &lt;<a href=3D"mailto:housle=
y@vigilsec.com">housley@vigilsec.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Document: draft-irtf-cfrg-argon2-02<br>
&gt; Reviewer: Russ Housley<br>
&gt; Review Date: 2017-06-23<br>
&gt;<br>
&gt; Summary: Almost Ready<br>
&gt;<br>
&gt; Once the comments below are resolved, I think that the ISE should<br>
&gt; publish the document.<br>
&gt;<br>
&gt;<br>
&gt; Major Concerns:<br>
&gt;<br>
&gt; Section 3.3: The pseudo-code includes this line:<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0V_{r+1} =3D H_{T=
-32*r}(V_{r})<br>
&gt;<br>
&gt; Up to this point, I thought that the Argon2 construction could work wi=
th<br>
&gt; many different hash functions, but at this point I realized that Argon=
2<br>
&gt; depends the ability of Blake2b to produce an output between 1 and 64<b=
r>
&gt; bytes.=C2=A0 Please add a sentence or two to the introduction so that =
others<br>
&gt; can avoid this misunderstanding.<br>
&gt;<br>
&gt; Section 3.5: This section defines the compression function G.=C2=A0 It=
 makes<br>
&gt; use of the BLAKE2b round function P, which is explained in Section 3.6=
.<br>
&gt; Section 3.6 defines another function G, which is different than the<br=
>
&gt; compression function.=C2=A0 I realize that both G functions are discus=
sed in<br>
&gt; other documents ([I-D.saarinen-blake2] and [ARGON2]), but there ought =
to<br>
&gt; be a way to avoid this name collision.<br>
&gt;<br>
&gt; Section 5: I tried to compile the code, and it does not work with gcc.=
<br>
&gt; Is there a missing include file?<br>
&gt;<br>
&gt;<br>
&gt; Minor Concerns:<br>
&gt;<br>
&gt;<br>
&gt; Section 2 defines &quot;E_f&quot; as a variable E with subscript index=
 f; however,<br>
&gt; in Section 3.3, defines &quot;H_x&quot; as a hash function with x-byte=
 output.<br>
&gt; Please use a different notation for variables and functions.<br>
&gt;<br>
&gt; Section 5: A main function would make it easier to use this reference<=
br>
&gt; code.=C2=A0 Can you include something simple?=C2=A0 Perhaps something =
that prints<br>
&gt; the tags associated with the test vectors in Section 6.<br>
&gt;<br>
&gt;<br>
&gt; Nits:<br>
&gt;<br>
&gt; Section 1: s/implementer oriented/implementer-oriented/<br>
&gt;<br>
&gt; Section 1: s/data-depending memory access/data-dependent memory access=
/<br>
&gt;<br>
&gt; Section 2: Please add a descriptions for the floor and ceil functions.=
<br>
&gt;<br>
&gt; Section 2: Please add a description for length(P), which always return=
s<br>
&gt; 32 bits.<br>
&gt;<br>
&gt; Section 2 defines &quot;a ^ b&quot;, but Sections 3.2 and 3.5 use &quo=
t;a XOR b&quot;.<br>
&gt; Pick one.<br>
&gt;<br>
&gt; Most of the document uses &quot;=3D&quot; for assignment, but Section =
3.6 uses &quot;&lt;-&quot;.<br>
&gt; Please use &quot;=3D&quot; throughout.<br>
&gt;<br>
&gt; Several places, the document tells us that &quot;integers are padded t=
o 4<br>
&gt; bytes and encoded in little endian&quot;.=C2=A0 Maybe a &quot;uint32&q=
uot; function should<br>
&gt; be specified to avoid repeating this phrase.<br>
&gt;<br>
&gt; Section 3.2: s/described in later section./described in later sections=
./<br>
&gt;<br>
&gt; Section 6.3: Please correct the formatting.<br>
&gt;<br>
&gt; Section 9.1: s/calls to Blake2b is needed/calls to Blake2b are needed/=
<br>
&gt;<br>
&gt; Section 9.2: s/number t of passes/the number of passes, t,/<br>
&gt;<br>
&gt; Section 9.3: s/for Argon2i 3 passes/for Argon2i, 3 passes/<br>
&gt;<br>
&gt; Section 9.3: s/for Argon2d and Argon2id 1 pass/for Argon2d and Argon2i=
d, 1 pass/<br>
&gt;<br>
&gt;<br>
&gt; Personal preference:<br>
&gt;<br>
&gt; Section 3.5: s/applied rowwise, and then columnwise/<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 /applied to each row, =
and then to each column/<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; Cfrg mailing list<br>
&gt; <a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
&gt; <a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" rel=3D"noreferr=
er" target=3D"_blank">https://www.irtf.org/mailman/<wbr>listinfo/cfrg</a><b=
r>
<br>
______________________________<wbr>_________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
<a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.irtf.org/mailman/<wbr>listinfo/cfrg</a><br>
</div></div></blockquote></div><br></div></div>

--94eb2c04308e5d2cba0552f0ef48--


From nobody Tue Jun 27 07:29:01 2017
Return-Path: <watsonbladd@gmail.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 1CBA3129B49; Tue, 27 Jun 2017 07:29:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KKVx2_joXIrB; Tue, 27 Jun 2017 07:28:58 -0700 (PDT)
Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com [IPv6:2607:f8b0:400e:c00::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 88063129B41; Tue, 27 Jun 2017 07:28:58 -0700 (PDT)
Received: by mail-pf0-x22f.google.com with SMTP id s66so17450814pfs.1; Tue, 27 Jun 2017 07:28:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=HEtVr/8qiiw/9/LW0DMo+FHRBOrsg2ZPRnm09vhxgcI=; b=S9FUNYtZD/CpGLQ1l5babuEW05x4gUl+X9x52LaMEHrBo3+BsuCqH+i95BrgcP9HQ2 5nQ7BLXPElJ3LoT5IlUkwZIX6u8XshVEjVb4J7UStocDzWBVbHhYvRb88jGOL/9RuqgM YW63TmnuVn5xOaEmFJWIVRx0EaLUmrm4mVoIIvn0R+bJmbYyXKiLXt81LYIoF5pzF7PB NXM5FM5Hb9b1KD1hY6ySSqddAb0ADB8r/+Lb+OzjAZBAirAnV6ymO87UxBzM3oVqO+XQ RAG/gN5rCpi+DQFtnGYixRZ7xTlBM257QGABxAySjLfXVR9aI/HvL/jQBOxhEEOXBY2b zVCA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=HEtVr/8qiiw/9/LW0DMo+FHRBOrsg2ZPRnm09vhxgcI=; b=dWXjUrKMgGEp0pLH5h7CMJd+lDDrKse2GAr+Oozf9xOxkWZeTr6I9DGrlJF6SsEKix lOzRcpx03XfKTQoj3rso35eFPN762hMTiSmeTbqAXwBx2/LOsCvM5tvilA4/9kskuWPI AVIprQQHOuOk5At3zmghocilwi7P3DtaTQ3dmF4l2xVI/QIeCRafveNz0uq7tyBQ3QMq lg8wE4pODD6FW3IddwcRJEn4AV4m7gzMsZsnbaF7fJHNmFpTj9MfNOSePSX0kWOb5E0B IOL+Si2aH2sMdtqAaOW4HIme8dfILlQaFhG0FQ3bFBLEoXYt+wdkf4EsztfnCYJNy/Mm nJjQ==
X-Gm-Message-State: AKS2vOyxpGVNiATtIM/tNhNzTNUmRJtjAxxKi7gTRxoDOpuObhWMGofM mDo1bNoQgWjfjwXA99AXyDbRJPS2vA==
X-Received: by 10.84.169.36 with SMTP id g33mr6067441plb.52.1498573738169; Tue, 27 Jun 2017 07:28:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.187.77 with HTTP; Tue, 27 Jun 2017 07:28:57 -0700 (PDT)
In-Reply-To: <27cc7000-7fd5-27dd-b8b5-9b9518a9f3ad@huelsing.net>
References: <D4FDAF9D.8D586%kenny.paterson@rhul.ac.uk> <9a878527-5ab9-5429-7c5d-4f7e4ca4e8db@isode.com> <08944dc3-9086-ed47-cc1b-54248b3dac70@cs.tcd.ie> <D566ADE0.963E4%kenny.paterson@rhul.ac.uk> <9e6b6146-e376-86cb-70be-0127a3e72d16@cs.tcd.ie> <D56DBB2C.96A67%kenny.paterson@rhul.ac.uk> <6f90e485-01f4-5ad8-49ef-e51c52e01a46@cs.tcd.ie> <5e328e85-a8a1-67f1-3853-418309b04a17@huelsing.net> <27cc7000-7fd5-27dd-b8b5-9b9518a9f3ad@huelsing.net>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Tue, 27 Jun 2017 07:28:57 -0700
Message-ID: <CACsn0c=UQ+QcbEC0TRcLR_OJWEmK4ZL8QNLnHLeQgrnqyQiF+A@mail.gmail.com>
To: "A. Huelsing" <ietf@huelsing.net>
Cc: Stephen Farrell <stephen.farrell@cs.tcd.ie>,  "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>, Alexey Melnikov <alexey.melnikov@isode.com>,  "irsg@irtf.org" <irsg@irtf.org>, "cfrg@irtf.org" <Cfrg@irtf.org>,  "draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org" <draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/DUxF2vYbpbzC-ee_QnnzeC6nLKo>
Subject: Re: [Cfrg] [irsg] IRSG review of draft-irtf-cfrg-xmss-hash-based-signatures-08
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Jun 2017 14:29:00 -0000

On Tue, Jun 27, 2017 at 6:01 AM, A. Huelsing <ietf@huelsing.net> wrote:
> Hi Stephen, hi Kenny, hi Alexey,
>
> We are currently going through the review. While we didn't handle the nits yet,
> we made up our mind about the first four points (see below). Regarding the last
> point of test vectors.
> We think it is better to add a reference implementation. We would now just add
> the C code as appendix. Would that be fine? Are there any conditions on code? We
> have dependencies to OpenSSL for SHA2.

I would prefer just calls to sha256(unsigned char *out, unsigned char
*in, size_t inlen). OpenSS's API  is a mess.
Sincerely,
Watson


From nobody Tue Jun 27 08:41:29 2017
Return-Path: <prvs=73511c9506=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 3CD331200C1; Tue, 27 Jun 2017 08:41:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T3X814mQRKbV; Tue, 27 Jun 2017 08:41:25 -0700 (PDT)
Received: from llmx2.ll.mit.edu (LLMX2.LL.MIT.EDU [129.55.12.48]) by ietfa.amsl.com (Postfix) with ESMTP id E3DC11200B9; Tue, 27 Jun 2017 08:41:24 -0700 (PDT)
Received: from LLE2K10-HUB01.mitll.ad.local (LLE2K10-HUB01.mitll.ad.local) by llmx2.ll.mit.edu (unknown) with ESMTP id v5RFf09H045591; Tue, 27 Jun 2017 11:41:03 -0400
From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
To: Watson Ladd <watsonbladd@gmail.com>, "A. Huelsing" <ietf@huelsing.net>
CC: "draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org" <draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org>, "cfrg@irtf.org" <Cfrg@irtf.org>, "irsg@irtf.org" <irsg@irtf.org>
Thread-Topic: [Cfrg] [irsg] IRSG review of draft-irtf-cfrg-xmss-hash-based-signatures-08
Thread-Index: AQHS6RrEaGRypUrjFEGVgLUVEN9hFaIsqIuAgAD+a4CAC1S7AIAAGJOA///REwA=
Date: Tue, 27 Jun 2017 15:41:00 +0000
Message-ID: <56C14C05-5562-49AA-85C9-DF5B7593BFED@ll.mit.edu>
References: <D4FDAF9D.8D586%kenny.paterson@rhul.ac.uk> <9a878527-5ab9-5429-7c5d-4f7e4ca4e8db@isode.com> <08944dc3-9086-ed47-cc1b-54248b3dac70@cs.tcd.ie> <D566ADE0.963E4%kenny.paterson@rhul.ac.uk> <9e6b6146-e376-86cb-70be-0127a3e72d16@cs.tcd.ie> <D56DBB2C.96A67%kenny.paterson@rhul.ac.uk> <6f90e485-01f4-5ad8-49ef-e51c52e01a46@cs.tcd.ie> <5e328e85-a8a1-67f1-3853-418309b04a17@huelsing.net> <27cc7000-7fd5-27dd-b8b5-9b9518a9f3ad@huelsing.net> <CACsn0c=UQ+QcbEC0TRcLR_OJWEmK4ZL8QNLnHLeQgrnqyQiF+A@mail.gmail.com>
In-Reply-To: <CACsn0c=UQ+QcbEC0TRcLR_OJWEmK4ZL8QNLnHLeQgrnqyQiF+A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/f.23.0.170610
x-originating-ip: [172.25.177.195]
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha256; boundary="B_3581408460_1427055620"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-06-27_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1706270252
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/Z_nPGac3ez27C1q7yOauaenxzuM>
Subject: Re: [Cfrg] [irsg] IRSG review of draft-irtf-cfrg-xmss-hash-based-signatures-08
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Jun 2017 15:41:28 -0000

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

On 6/27/17, 10:28, "Cfrg on behalf of Watson Ladd" <cfrg-bounces@irtf.org on behalf of watsonbladd@gmail.com> wrote:

    > We think it is better to add a reference implementation. We would now just add
    > the C code as appendix. Would that be fine? Are there any conditions on code? We
    > have dependencies to OpenSSL for SHA2.
    
    I would prefer just calls to sha256(unsigned char *out, unsigned char
    *in, size_t inlen). OpenSS's API  is a mess.

I would prefer calls to sha-3-256. SHA-2 is not a randomizer by design. 

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

MIIUVwYJKoZIhvcNAQcCoIIUSDCCFEQCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0B
BwGgghImMIIE6jCCA9KgAwIBAgIKf1wD4wAAAABy/jANBgkqhkiG9w0BAQsFADBRMQswCQYD
VQQGEwJVUzEfMB0GA1UEChMWTUlUIExpbmNvbG4gTGFib3JhdG9yeTEMMAoGA1UECxMDUEtJ
MRMwEQYDVQQDEwpNSVRMTCBDQS0zMB4XDTE2MDIwODE2NDIxNVoXDTE5MDIwNzE2NDIxNVow
YTELMAkGA1UEBhMCVVMxHzAdBgNVBAoTFk1JVCBMaW5jb2xuIExhYm9yYXRvcnkxDzANBgNV
BAsTBlBlb3BsZTEgMB4GA1UEAxMXQmx1bWVudGhhbC5VcmkuNTAwMTA1ODQwggEiMA0GCSqG
SIb3DQEBAQUAA4IBDwAwggEKAoIBAQCptkku3FBE/JUsv30SQmvScGwgm2avDBSHt2TRtRWU
WjiUZSdqf1t9vj+yy6JMT4w8rFYPpa4ZH53BhitZGrl8bgxT+pSqgNzI8WBHQp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LYWZCXWeo3PdgcCLFlMW1NJ
ZtdT0Md3OsvgmnhIyZSPXQkb1iVLSCT/hlrI

--B_3581408460_1427055620--


From nobody Tue Jun 27 08:50:06 2017
Return-Path: <stephen.farrell@cs.tcd.ie>
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 D58A8129ADF; Tue, 27 Jun 2017 08:50:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.302
X-Spam-Level: 
X-Spam-Status: No, score=-4.302 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id prAIf3Mwr6y3; Tue, 27 Jun 2017 08:50:02 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C9C04128BA2; Tue, 27 Jun 2017 08:50:01 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 89108BE55; Tue, 27 Jun 2017 16:49:59 +0100 (IST)
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hZFgyzyxa3VN; Tue, 27 Jun 2017 16:49:59 +0100 (IST)
Received: from [134.226.36.93] (bilbo.dsg.cs.tcd.ie [134.226.36.93]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id F1108BE50; Tue, 27 Jun 2017 16:49:58 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1498578599; bh=QodNXlmWZwD5Ae6Y2oshtDdWlJvmavhDSm7sYsH/c3s=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=MSKIavTz501j1dzGvTg02gpAUIx6KeLvayMH7e2KEUAAbzikjhItH3pi4sQ3Ruzcq FlzbZPhrmvkj5FULbGRXuCdM2tC34k/+2UksuZ6lznNYWtNJo5dLnc7v1HVMaWtflU qI6SgrjxFeV2TRua7NZ5hIa3TddZMSH0/l9uyrqw=
To: "A. Huelsing" <ietf@huelsing.net>, "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>, Alexey Melnikov <alexey.melnikov@isode.com>, "irsg@irtf.org" <irsg@irtf.org>, "cfrg@irtf.org" <Cfrg@irtf.org>
Cc: "draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org" <draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org>
References: <D4FDAF9D.8D586%kenny.paterson@rhul.ac.uk> <9a878527-5ab9-5429-7c5d-4f7e4ca4e8db@isode.com> <08944dc3-9086-ed47-cc1b-54248b3dac70@cs.tcd.ie> <D566ADE0.963E4%kenny.paterson@rhul.ac.uk> <9e6b6146-e376-86cb-70be-0127a3e72d16@cs.tcd.ie> <D56DBB2C.96A67%kenny.paterson@rhul.ac.uk> <6f90e485-01f4-5ad8-49ef-e51c52e01a46@cs.tcd.ie> <5e328e85-a8a1-67f1-3853-418309b04a17@huelsing.net> <27cc7000-7fd5-27dd-b8b5-9b9518a9f3ad@huelsing.net>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <1785b9ed-fb53-889a-9d34-311c7ea5c762@cs.tcd.ie>
Date: Tue, 27 Jun 2017 16:49:57 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <27cc7000-7fd5-27dd-b8b5-9b9518a9f3ad@huelsing.net>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ueEfgrN5Q7W2NvIjnt9uDtnLDV4uRsdVS"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/EZMHnwBB5X8S6v_LkJsxgXAFjqg>
Subject: Re: [Cfrg] [irsg] IRSG review of draft-irtf-cfrg-xmss-hash-based-signatures-08
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Jun 2017 15:50:05 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--ueEfgrN5Q7W2NvIjnt9uDtnLDV4uRsdVS
Content-Type: multipart/mixed; boundary="aCMNwTqfopOUxHqtTKvVS9hnMLDOFsUxJ";
 protected-headers="v1"
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
To: "A. Huelsing" <ietf@huelsing.net>,
 "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>,
 Alexey Melnikov <alexey.melnikov@isode.com>, "irsg@irtf.org"
 <irsg@irtf.org>, "cfrg@irtf.org" <Cfrg@irtf.org>
Cc: "draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org"
 <draft-irtf-cfrg-xmss-hash-based-signatures@ietf.org>
Message-ID: <1785b9ed-fb53-889a-9d34-311c7ea5c762@cs.tcd.ie>
Subject: Re: [irsg] IRSG review of
 draft-irtf-cfrg-xmss-hash-based-signatures-08
References: <D4FDAF9D.8D586%kenny.paterson@rhul.ac.uk>
 <9a878527-5ab9-5429-7c5d-4f7e4ca4e8db@isode.com>
 <08944dc3-9086-ed47-cc1b-54248b3dac70@cs.tcd.ie>
 <D566ADE0.963E4%kenny.paterson@rhul.ac.uk>
 <9e6b6146-e376-86cb-70be-0127a3e72d16@cs.tcd.ie>
 <D56DBB2C.96A67%kenny.paterson@rhul.ac.uk>
 <6f90e485-01f4-5ad8-49ef-e51c52e01a46@cs.tcd.ie>
 <5e328e85-a8a1-67f1-3853-418309b04a17@huelsing.net>
 <27cc7000-7fd5-27dd-b8b5-9b9518a9f3ad@huelsing.net>
In-Reply-To: <27cc7000-7fd5-27dd-b8b5-9b9518a9f3ad@huelsing.net>

--aCMNwTqfopOUxHqtTKvVS9hnMLDOFsUxJ
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB
Content-Transfer-Encoding: quoted-printable


Hi Andreas,

On 27/06/17 14:01, A. Huelsing wrote:
> Hi Stephen, hi Kenny, hi Alexey,
>=20
> We are currently going through the review. While we didn't handle the n=
its yet,
> we made up our mind about the first four points (see below). Regarding =
the last
> point of test vectors.
> We think it is better to add a reference implementation. We would now j=
ust add
> the C code as appendix. Would that be fine?

Your call entirely IMO. An appendix is just fine, or a reference
to a git repo could be as good, if test vectors aren't the right
thing to do.

> Are there any conditions on code? We
> have dependencies to OpenSSL for SHA2.

If you include code directly in the RFC, there's a license
issue - it needs to be BSD basically and marked out as such
(via "CODE_BEGINS" or some such, I forget the detail;-). If
your current code doesn't use the BSD license, then it'll be
easier to just add a URL referring to it somewhere.

>=20
>>>>> possible errors:
>>>>> ----------------
>>>>>
>>>>> - 3.1.2: Algorithm 2: "if ( (i + s) > w - 1 )..." seems to be
>>>>> missing parenthesis around the "(w-1)" to me.  Without those
>>>>> brackets I could interpret that test to always result in false.
> Added parenthesis.
>>>>> - 4.1.9: should the call to setIdx in alg 12 be after treeSig?
>>>>>  as-is you seem to have incremented the index too soon so
>>>>> that when alg 11 does getIdx it'd presumably get the
>>>>> incremented index and cause verification failure. I think
>>>>> the same is true of alg 16 as well, in section 4.2.4.
> Indeed, we now give idx_sig as additional input (and don't use the alre=
ady
> updated index from SK anymore).

Ok great - those were the only two changes that I think should
have been blocking for publication. All the rest is just my
opinion that you (and/or the RG chairs) should take into
account however you see fit.

>>>>> significant comments, but likely fixable:
>>>>> -----------------------------------------
>>>>>
>>>>> - section 5: there are waaaay too many options defined here.
>>>>>  As-is, this will damage potential deployment of xmss. I
>>>>> would strongly suggest deleting all of the options except the
>>>>> minimum, that being one (and only one) set of parameters for
>>>>> XMSS and one for XMSS^MT. If others are needed later, those
>>>>> can be defined later. (Note that the damage done here includes
>>>>> the hours of developer time that would be wasted debating
>>>>> which of these choices to implement/use. Consider the case of
>>>>> pre-hash variants of eddsa for an ongoing example.)
> Got your point Our noted todos are:
> ####
> #   1.) Select 1 XMSS & 1 XMSS^MT parameter set as default options
> #   2.) Explain that all other h / d combis are fine but we can only gi=
ve
> limited number
> #   3.) Add sizes & #sigs for parameter sets
> #   4.) Explain trade-offs
> #   5.) Make implementation of verification for all parameters mandator=
y / sign
> just a para suggestion
> ####
> Do you agree?

I think those would be fine improvements yes.

Cheers and thanks for considering the review,
S.

>>>>> - section 5 (or an appendix) should contain some test vectors
>>>>>  (including intermediate values). Without those, implementers
>>>>> have a much harder time of getting their code right.
> See above.
>=20
> Cheers,
>=20
> Stefan & Andreas
>>>>> nits, near-nits and other ignorable things:
>>>>> -------------------------------------------
>>>>>
>>>>> - abstract: I'd suggest s/can withstand attacks/ can withstand
>>>>>  so-far known attacks/
>>>>>
>>>>> - 1.1: You say if used >1 time "no cryptographic security
>>>>>  guarantees remain." It might be clearer to give some
>>>>> examples of consequences, e.g. that the attacker can forge new
>>>>> signatures or whatever.
>>>>>
>>>>> - 1.1: I think you might mention that XMSS and other OTS ideas
>>>>>  require some new crypto APIs. I'm not aware if anyone has
>>>>> developed proposals for such, but would be interested if
>>>>> someone has.
>>>>>
>>>>> - 2.3, 2nd last para: you might want to say what happens with
>>>>>  e.g.  B<<2 where B=3D0xf0. I assume the result is 0xc0 but
>>>>> someone might think it's 0x3c0 or even 0xc3.
>>>>>
>>>>> - 2.5: having the "type word" as octet 15 of a 32 byte address
>>>>>  seems odd. Is there a reason why? (Just wondering.)
>>>>>
>>>>> - 2.6: It seems odd to given an example where the input and
>>>>>  output of base_w() are the same. A different example may be
>>>>> more useful. (More examples generally would be great.)
>>>>>
>>>>> - 3.1.3: maybe note that "/" means nothing? Which I assume it
>>>>>  does? Better might be to just say that.
>>>>>
>>>>> - 3.1.5: "a maximum value of len_1 * (w - 1) * 2^8" is missing
>>>>>  units
>>>>>
>>>>> - 3.1.5: "the variable" - which one?
>>>>>
>>>>> - 3.1.5: "For the parameter sets given in Section 5 a 32-bit
>>>>>  unsigned integer is sufficient." Sufficient for what?
>>>>>
>>>>> - 3.1.5: The ascii art at the end of p16 doesn't help much.
>>>>>
>>>>> - 3.1.7: The "MUST match" statement doesn't seem enforceable
>>>>>  nor testable so I'm not sure it's a good idea to include.
>>>>> OTOH, I do get the idea of using 2119 terms for emphasis.
>>>>>
>>>>> - 3.1.7: I think it might be useful to point out any specific
>>>>>  problems associated with using a low entropy human memorable
>>>>> secret (password) for the value S. No matter what you say,
>>>>> people will do that, so better if you can say you told them
>>>>> specifically about downsides of doing that.
>>>>>
>>>>> - 4.1.12: I'm not sure if the MAY there is correct or not.  If
>>>>>  it means "you MAY use a different algorithm to get the same
>>>>> output as alg 12" then that'd be fine. If something else is
>>>>> meant I'm not sure what you're saying, and it'd probably be
>>>>> better to not even mention it.
>>>>>
>>>>> - section 5 should also spell out the signature and
>>>>> public key sizes in bytes and ideally, if you keep multiple
>>>>> options, (but please don't:-) describe relative or measured
>>>>> timings.
>>>>>
>>>>>
>>>>>
>=20
>=20


--aCMNwTqfopOUxHqtTKvVS9hnMLDOFsUxJ--

--ueEfgrN5Q7W2NvIjnt9uDtnLDV4uRsdVS
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

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

iQEcBAEBCAAGBQJZUn6lAAoJEC88hzaAX42i8PoIAJAgKSX+hj/VfuLQczzTqSBh
s1qVaPo9Lne3UixcMZYg6hrhbiDrG6zXBj3UyFBcg81y3b/1zu5HuNiPZPyVE7Zp
Ig+/Zj3X7g1KJC6D+ved7wJ8WHXE+tLbbFGQdcDdqntKXbWvPxZlGDRqGYkhWiyx
EnVOjqL9qnoqJZREqvPF8bYLuDEO5HZqBkEyoOCwytinXAEmh51lgMoQyNZgks5k
Are3c7DHSKtPIQ9HDufUfyxZ1h1R+Si/XyQgaHcSv2dIv8BCnF1AddUxwWz0WM/E
6i3YQ9wIh68t1ob5S+CbexPp4XryWbN3Cg+OLYwfcErj35sMZ7fDojtcD8e3oFU=
=qzds
-----END PGP SIGNATURE-----

--ueEfgrN5Q7W2NvIjnt9uDtnLDV4uRsdVS--


From nobody Tue Jun 27 13:44:33 2017
Return-Path: <housley@vigilsec.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 3368E12EAE9 for <cfrg@ietfa.amsl.com>; Tue, 27 Jun 2017 13:44:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ozhe4oiwRrrL for <cfrg@ietfa.amsl.com>; Tue, 27 Jun 2017 13:44:27 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AAD1612EB2D for <cfrg@ietf.org>; Tue, 27 Jun 2017 13:44:27 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 0FA75300463 for <cfrg@ietf.org>; Tue, 27 Jun 2017 16:44:27 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id eg-PIlCj6Sge for <cfrg@ietf.org>; Tue, 27 Jun 2017 16:44:25 -0400 (EDT)
Received: from [5.5.33.139] (vpn.snozzages.com [204.42.252.17]) by mail.smeinc.net (Postfix) with ESMTPSA id 956A030043A for <cfrg@ietf.org>; Tue, 27 Jun 2017 16:44:25 -0400 (EDT)
From: Russ Housley <housley@vigilsec.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Tue, 27 Jun 2017 16:44:25 -0400
References: <149854231542.14930.11413879693117689362@ietfa.amsl.com>
To: cfrg@ietf.org
In-Reply-To: <149854231542.14930.11413879693117689362@ietfa.amsl.com>
Message-Id: <B9B85DE5-0E56-4760-8E74-24CFF14253DA@vigilsec.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/qiZSdBnUbSGTQ8xm14gCX0Ivuec>
Subject: Re: [Cfrg] I-D Action: draft-mcgrew-hash-sigs-07.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Jun 2017 20:44:31 -0000

Thanks for posting the updated draft.  As you know, I have a document =
that depends on it.

I did a quick read, and I have a few comments.  All of them are =
editorial.

Section 1, last paragraph: s/public formats/signature and public key =
formats/

Section 2: please correct the indenting of the middle paragraphs.

Section 3.2: s/bytes 20, 21/bytes 20-21/

Russ

> On Jun 27, 2017, at 1:45 AM, internet-drafts@ietf.org wrote:
>=20
>=20
> A New Internet-Draft is available from the on-line Internet-Drafts =
directories.
> This draft is a work item of the Crypto Forum of the IETF.
>=20
>        Title           : Hash-Based Signatures
>        Authors         : David McGrew
>                          Michael Curcio
>                          Scott Fluhrer
> 	Filename        : draft-mcgrew-hash-sigs-07.txt
> 	Pages           : 45
> 	Date            : 2017-06-21
>=20
> Abstract:
>   This note describes a digital signature system based on =
cryptographic
>   hash functions, following the seminal work in this area of Lamport,
>   Diffie, Winternitz, and Merkle, as adapted by Leighton and Micali in
>   1995.  It specifies a one-time signature scheme and a general
>   signature scheme.  These systems provide asymmetric authentication
>   without using large integer mathematics and can achieve a high
>   security level.  They are suitable for compact implementations, are
>   relatively simple to implement, and naturally resist side-channel
>   attacks.  Unlike most other signature systems, hash-based signatures
>   would still be secure even if it proves feasible for an attacker to
>   build a quantum computer.
>=20
>=20
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-mcgrew-hash-sigs/
>=20
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-mcgrew-hash-sigs-07
> https://datatracker.ietf.org/doc/html/draft-mcgrew-hash-sigs-07
>=20
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-hash-sigs-07
>=20
>=20
> Please note that it may take a couple of minutes from the time of =
submission
> until the htmlized version and diff are available at tools.ietf.org.
>=20
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


From nobody Fri Jun 30 08:20:58 2017
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cfrg@ietf.org
Delivered-To: cfrg@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id F1DAD129AFE; Fri, 30 Jun 2017 08:20:48 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cfrg@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.55.1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149883604895.4622.9519418011195110864@ietfa.amsl.com>
Date: Fri, 30 Jun 2017 08:20:48 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/FjErU75K3_ilCFBnmLR3Mentqxo>
Subject: [Cfrg] I-D Action: draft-irtf-cfrg-re-keying-04.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.22
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Jun 2017 15:20:49 -0000

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

        Title           : Re-keying Mechanisms for Symmetric Keys
        Author          : Stanislav Smyshlyaev
	Filename        : draft-irtf-cfrg-re-keying-04.txt
	Pages           : 47
	Date            : 2017-06-30

Abstract:
   A certain maximum amount of data can be safely encrypted when
   encryption is performed under a single key.  This amount is called
   "key lifetime".  This specification describes a variety of methods to
   increase the lifetime of symmetric keys.  It provides external and
   internal re-keying mechanisms based on hash functions and on block
   ciphers, that can be used with modes of operations such as CTR, GCM,
   CCM, CBC, CFB, OFB and OMAC.


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

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-irtf-cfrg-re-keying-04
https://datatracker.ietf.org/doc/html/draft-irtf-cfrg-re-keying-04

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


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

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

