Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE
"Scott Fluhrer (sfluhrer)" <sfluhrer@cisco.com> Wed, 26 September 2018 19:47 UTC
Return-Path: <sfluhrer@cisco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 73A07126CC7 for <cfrg@ietfa.amsl.com>; Wed, 26 Sep 2018 12:47:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.502
X-Spam-Level:
X-Spam-Status: No, score=-14.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 AcgsOWW_rC8P for <cfrg@ietfa.amsl.com>; Wed, 26 Sep 2018 12:47:51 -0700 (PDT)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 34F08126CB6 for <cfrg@irtf.org>; Wed, 26 Sep 2018 12:47:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2596; q=dns/txt; s=iport; t=1537991271; x=1539200871; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=W4ijZv1pW/IUQmXNar/u4R93aT14I92Du7vYwtTavNY=; b=OIu5EHOnsBmNAqaJtkYT2FbCfUTSIgRO+iZPt5+GNzE5BDU29kzGY6I6 cXJ2zhZM/cT06wKgUtbKx00x3+DrWrKUm1wG4JzwoVmisrrrRujqOdeoG RhppitrObCKcVw+yBOD6JmxXsZ+CPs3HbcPkwfaS6a1Jw8JyQHJ8wiSkc U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ARAAA74atb/4gNJK1bDgwBAQEBAQIBAQEBBwIBAQEBgVGCDmV/KAqDaogVjj6DPZMSgXoLGAuESQIXg2YhNBgBAwEBAgEBAm0cDIU4AQEBAQMBASEROhcEAgEIDgMEAQEDAiYCAgIlCxUICAIEARIIgxqCAQ+kE4EuhCsBhWgFgQuJcBeBQT+BEoJkLoMCGQGEY4JXAp0HCQKGQYliH480i3uIbwIRFIElHTiBVXAVO4JsgiQYiFqFBDpvjCmBHgEB
X-IronPort-AV: E=Sophos;i="5.54,307,1534809600"; d="scan'208";a="457638733"
Received: from alln-core-3.cisco.com ([173.36.13.136]) by rcdn-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2018 19:47:49 +0000
Received: from XCH-RTP-009.cisco.com (xch-rtp-009.cisco.com [64.101.220.149]) by alln-core-3.cisco.com (8.15.2/8.15.2) with ESMTPS id w8QJlnW3008803 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 26 Sep 2018 19:47:49 GMT
Received: from xch-rtp-006.cisco.com (64.101.220.146) by XCH-RTP-009.cisco.com (64.101.220.149) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 26 Sep 2018 15:47:48 -0400
Received: from xch-rtp-006.cisco.com ([64.101.220.146]) by XCH-RTP-006.cisco.com ([64.101.220.146]) with mapi id 15.00.1395.000; Wed, 26 Sep 2018 15:47:48 -0400
From: "Scott Fluhrer (sfluhrer)" <sfluhrer@cisco.com>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>, John Mattsson <john.mattsson@ericsson.com>, "Saqib A. Kakvi" <saqib.kakvi@uni-paderborn.de>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] A new MGF for RSA-PSS based on SHAKE
Thread-Index: AQHUTskPBtqWG4xIlUSK2xZeQvmiA6T3xcr7gABi/wCAAAqeAIAKOeQAgADSXAD//8FWQA==
Date: Wed, 26 Sep 2018 19:47:48 +0000
Message-ID: <70974fb0b88e48aabbc5c647603c3446@XCH-RTP-006.cisco.com>
References: <3B4BE320-418B-4FC1-8427-0EF2F58A0F01@vigilsec.com> <6FD96340-0D8D-44C0-9374-9D7A3F36F967@gmail.com> <27af097a-6769-fcc4-7b28-12c1ea77055a@uni-paderborn.de> <000d01d45041$a8930250$f9b906f0$@augustcellars.com> <a21a5c72-f9e5-2eb7-4144-bdded4c8321d@uni-paderborn.de>, <E7059316-430B-4DE0-A0C7-09A0B6783C0F@ericsson.com> <1537989175802.46714@cs.auckland.ac.nz>
In-Reply-To: <1537989175802.46714@cs.auckland.ac.nz>
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: [10.98.2.57]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Outbound-SMTP-Client: 64.101.220.149, xch-rtp-009.cisco.com
X-Outbound-Node: alln-core-3.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/XjFnLc8Eota9rqJrJocha8o7L0Y>
Subject: Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.29
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, 26 Sep 2018 19:47:53 -0000
However, there are two practical issues with what the paper actually proves: - It proves that PKCS v1.5 signature with a 2n bit modulus is (at least as) hard to break as n bit RSA. Hence, to get (say) 128 bit security, we would need (say) RSA-6144, rather than the conventional wisdom of RSA-3072. - Even that that, the proof doesn't apply to v1.5 as used in practice, as it requires quite long hash outputs To quote the paper: Concretely, for signatures instantiated with an 2048-bit RSA modulus N, we can prove security under the 1024-bit RSA assumption, with 1024-bit padding and 1024-bit hash function.... Thus, ... our proofs do not immediately apply to PKCS#1 v1.5 when instantiated with standard hash functions, such as SHA-512... Yes, v1.5 is nicer in practice, and it's good to have a proof of something, but lets not oversell what we have. > -----Original Message----- > From: Cfrg <cfrg-bounces@irtf.org> On Behalf Of Peter Gutmann > Sent: Wednesday, September 26, 2018 3:14 PM > To: John Mattsson <john.mattsson@ericsson.com>; Saqib A. Kakvi > <saqib.kakvi@uni-paderborn.de>; cfrg@irtf.org > Subject: Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE > > ​John Mattsson <john.mattsson@ericsson.com> writes: > > >If FDH gives better security it should be discussed, but based on your > >comments it is only as secure as PSS. > > Also, given recent results, neither are more secure than good old v1.5: > > https://eprint.iacr.org/2018/855 > > Given that PSS and FDH are much, much more complex to implement than > v1.5 (i.e. more things to go wrong), and require a source of random numbers > that > v1.5 doesn't, is there any advantage to using PSS or FDH over just staying > with v1.5? > > Peter. > _______________________________________________ > Cfrg mailing list > Cfrg@irtf.org > https://www.irtf.org/mailman/listinfo/cfrg
- [Cfrg] A new MGF for RSA-PSS based on SHAKE Russ Housley
- Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE Saqib A. Kakvi
- Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE Jim Schaad
- Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE Saqib A. Kakvi
- Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE John Mattsson
- Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE Jim Schaad
- Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE Peter Gutmann
- Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE Scott Fluhrer (sfluhrer)
- Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE Jim Schaad
- Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE Peter Gutmann
- Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE Andy Lutomirski
- Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE John Mattsson
- Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE John Mattsson
- Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE A. Huelsing
- Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE Tibor Jager
- Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE Natanael
- Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE Dang, Quynh (Fed)
- Re: [Cfrg] A new MGF for RSA-PSS based on SHAKE Panos Kampanakis (pkampana)