Re: [CFRG] Modifying SPAKE2 draft for more curves (was Re: Attack on a Real World SPAKE2 Implementation)

"Hao, Feng" <Feng.Hao@warwick.ac.uk> Mon, 10 May 2021 12:02 UTC

Return-Path: <Feng.Hao@warwick.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 50EBE3A1A2E for <cfrg@ietfa.amsl.com>; Mon, 10 May 2021 05:02:40 -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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, 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 Q1dLiFNK3zjC for <cfrg@ietfa.amsl.com>; Mon, 10 May 2021 05:02:38 -0700 (PDT)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60058.outbound.protection.outlook.com [40.107.6.58]) (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 0643E3A1A2D for <cfrg@irtf.org>; Mon, 10 May 2021 05:02:37 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ge0p+3PTJsOLeotdeI6kNXEaHTHqgx8lvVmZb4dvvEPr0xg5aseIUr7AM4DTw5e0YgoBKhvw8tXXbZTqjZvLoc7AImv5VZ3x5zJPvpJcd60nijXC1+c51eY1MLZn4KlJFQ2ExCSnl4Fobm+6X5xjiYsrOG1kvBWqsXnb0IhGzGYsbI/XjYlO4HZQRSZBO773VtTWja4g8LV6QxYobfOzoUDU81dAmqAHW3L/QBaKTUsYmPrV6OaWhXyugKz50iDNP6NTvD3ncb1wqxfxMOdkL+OFPRC1urVlbDH+xDaZZ6CVpCDjXC0OuDVW/RWwAUHkTLWGp46drRrLWBYIcdnKcA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h43VKunGEiEeGr6+htznhP2p5qr1oMH3JqOze9A1k18=; b=M+AZUMss8E117LrJ7z4S3MajZhvvba1hN6vFpx7gfseU+U4U8FJEqKuy2m9/HzDux5mcRLqoJuNF3XNCAT64G9Vcj93fWTDob445UhSfJ3vJXEICzBiq1/uku0wnaB49UsoOPFBNsaifoj6r0OwRmRAwE+RCDHRHm7p/lu/qHgxnz2ULCyusI+L8BTR6HFpZRzDTvX733vcnlxKXEo+JDVUYI+exy8xs1ee2x0Mr2M82YDGK7BzRr75BZ8wewEsufTBBYPSBMJ09v5doLyJqErjQqG2z+xICPA9NLKnqrQMpj3wIUeWMqWjfz1/On1uu6POMm/6tj9F7ZWD7GScT6Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=warwick.ac.uk; dmarc=pass action=none header.from=warwick.ac.uk; dkim=pass header.d=warwick.ac.uk; arc=none
Received: from VI1PR01MB4285.eurprd01.prod.exchangelabs.com (2603:10a6:803:65::27) by VE1PR01MB5870.eurprd01.prod.exchangelabs.com (2603:10a6:803:10b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25; Mon, 10 May 2021 12:02:35 +0000
Received: from VI1PR01MB4285.eurprd01.prod.exchangelabs.com ([fe80::a40d:fa46:a80a:610c]) by VI1PR01MB4285.eurprd01.prod.exchangelabs.com ([fe80::a40d:fa46:a80a:610c%7]) with mapi id 15.20.4108.031; Mon, 10 May 2021 12:02:35 +0000
From: "Hao, Feng" <Feng.Hao@warwick.ac.uk>
To: Watson Ladd <watsonbladd@gmail.com>
CC: CFRG <cfrg@irtf.org>
Thread-Topic: [CFRG] Modifying SPAKE2 draft for more curves (was Re: Attack on a Real World SPAKE2 Implementation)
Thread-Index: AQHXRUcchdwzpYPiKkmQL3KaoNTJzarcfWLUgAAenWM=
Date: Mon, 10 May 2021 12:02:35 +0000
Message-ID: <VI1PR01MB42857EC270ECBF93EB991069D6549@VI1PR01MB4285.eurprd01.prod.exchangelabs.com>
References: <2bfbd767-b93a-42bd-be7d-1dae9e32e555@ruben-gonzalez.de> <SY4PR01MB625110F1F7633D989FCF183EEE579@SY4PR01MB6251.ausprd01.prod.outlook.com> <e88bae26-ff1f-42e3-babf-c5de3ee1d781@www.fastmail.com> <e47d0509-2b47-b811-7fd5-8846c11dc055@web.de>, <CACsn0c=6FgTHzTp7zuFri-gSYG3dBr6sASBMH34mBO5YDE7Ejw@mail.gmail.com>, <VI1PR01MB42853A2FB1564C1F08DDF5E5D6549@VI1PR01MB4285.eurprd01.prod.exchangelabs.com>
In-Reply-To: <VI1PR01MB42853A2FB1564C1F08DDF5E5D6549@VI1PR01MB4285.eurprd01.prod.exchangelabs.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=warwick.ac.uk;
x-originating-ip: [86.1.162.194]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 671bb745-1c7b-4150-0c00-08d913ab7fdc
x-ms-traffictypediagnostic: VE1PR01MB5870:
x-microsoft-antispam-prvs: <VE1PR01MB58709647933645062D86411DD6549@VE1PR01MB5870.eurprd01.prod.exchangelabs.com>
x-ms-oob-tlc-oobclassifiers: OLM:7219;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 8eOJRFT+uC9eooNqwGxPVGL16IPiTWAXPI5Lws4DdZlfI+xDzZ0h84V/KJHt6oeepzz3+vh/G7vKUh69SZKVCmbtX7eURuQoZDQKqhxdywsAQK703WEvebRVZpKSAfgppYoZTRGMmdC6kyl0KH62GI3hvMj5S1p8YPKCLbQNqpt8AnmYmwR8tBI8ILt4LLR0TPSsbWjWxdd6kPokpPRDF690dFlts1VSsNwRhfdN2SYWXM/fqmUoQyEvce/7SMdy/mbVUrsvSlWjh9UoVOE0KZSN7cOP1Ye9SjFqe/n0vJgBH3aG+S2+a2Fa7ZHU4Emen0Bu6NHDggJNvsEOo4a02+BNOmnxJO3BaTdZqxEYkEDDYTMjnvBSR1jClPzS/9umeZk+SP0/4ohSOX97/TG5cZVF4FmHSxqulSTpnIiDqvKH8KQzk7K0wkbXDnPgRNp2EH4ykUg7cqDwepThxlUzSoiHq2NnFh14dtogYkm4CNHdY3rLoGgcGr5AldU3bkpuAYaSjKjaxqP9cfsfH2BQakhQdmrDY15xkpJmR2rCqS89S5U3L4V+ORk1RBl5llJOM8t5f9s7dYCsdYeDgzngSXzgd5buiAXx6F2kjnubwUg=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR01MB4285.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(366004)(39860400002)(396003)(136003)(86362001)(76116006)(91956017)(6506007)(71200400001)(478600001)(55016002)(52536014)(66476007)(66446008)(2906002)(64756008)(66946007)(66556008)(2940100002)(33656002)(6916009)(5660300002)(558084003)(7696005)(316002)(26005)(186003)(4326008)(38100700002)(8936002)(122000001)(786003)(8676002)(9686003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: =?Windows-1252?Q?uHKJOYwQgGxvqVoZq38hF9uXoTJm9ZFzbMt3QubXmIlqyBYmrJ89XKL8?= =?Windows-1252?Q?uPqsSyqbDCnq6jsrFmoVoasZ3z7Szfgm2/GCWkWScKoUqwTyP9jBrFgz?= =?Windows-1252?Q?ukl+HTTnslbp+26lxiGXyUqzoz/1Tv4mPIt7od730zUegDrFzdukyujN?= =?Windows-1252?Q?sRrMYogQOx6nC229cYzHPSZe64YaiUjSpZ59jp0PkdkxGPwRi7O63f6N?= =?Windows-1252?Q?+NapmYx9nmVMeCdb+WbLhIxblRvBu8o4aZp79aWqljEock7TGCH1Ohsq?= =?Windows-1252?Q?z+eFrOmJdbPgDUT7X4+rlCcHAnsrQdinzzh2J5Xo/WDTI0fpc05DPklq?= =?Windows-1252?Q?AhWGgvrwlayuPTnzHIHnoR9tacHvIIsi7VD2oDnQabK7Dm26rpUeo7XH?= =?Windows-1252?Q?N6bmjZciy/c/LUwJSBERUu3Zv3+K/RrsPWfajlTaHnLYYxsp68TJhcuo?= =?Windows-1252?Q?2PnpulGKIfcRhUTZL5Mgm7eDAt2RqsG40Dfp0YTBmJ2IxJqHEaTY/1u6?= =?Windows-1252?Q?3Jj9eNyoyHJVVNmV/5GffsrwG53wHYAQxF6xtLuyVnRBfTRtHONWPdOU?= =?Windows-1252?Q?TTNWbJqIOXNJKj0Bj/2B0q1PMB+EoUEx9DYL8yfx8mEax3leiiWHZjot?= =?Windows-1252?Q?2Jz9yFDAZaHshyhf+n5jxpzlUlVzfT2Rwu9iJ84rGuLIyHs5N6na2uZ1?= =?Windows-1252?Q?tCZrTVLd0MReRarRNddvVxVZDnT6jklBgwVZgHF0v/gsV1j5t9GljDG/?= =?Windows-1252?Q?aHPEgt4sMAj3EBwMkaKjgD8rjwutddToxDdfh0WbIOycMpH3JyEJUZnC?= =?Windows-1252?Q?m3ZQFAf1ifrkfuwZBtdPHsWoXc4iakVS8x2eZn3JSuXiqM2AL6xTgM6q?= =?Windows-1252?Q?qYZqzGQNmux7I91SBarrshYd2dby/vxRd+TXXU/TMp2UT0nx5iYcIfa4?= =?Windows-1252?Q?LwF7wPC6BH3L+AARuuOWoIBklCSsEkNhmGzn3/WP1Sptv1BGXNSUYQX3?= =?Windows-1252?Q?f6xYaGXnD9MIiOlDOM5cTCLANFPtTIWrKg4b0I4N8hdEl4EpwXAjFgtU?= =?Windows-1252?Q?q/YACRBy6Res8wKmJ6aJ0Ci2LsUPu/T0W7m2wZJZPYPb7UvdHur/MBmv?= =?Windows-1252?Q?NK1qXbC+S1xeUg86iz9OBBhm6V9O2sJgm9arKfB0WWgDV/XutifR5mqR?= =?Windows-1252?Q?nuWbTvniniuyeWjO5gAhO7MAjeoJU/UmtPOstJI9Q75Lii3pV3y+YPO/?= =?Windows-1252?Q?0GUY+F+O2oiULJp4Q1KFLDsPM7adNBsrefdjUTW8vX6IRN17UmJIH5sW?= =?Windows-1252?Q?yvHFxUqK6Zs79ydmPKusU5R092AUYWixk761i5LyO2hgiJ+25kpMLcj8?= =?Windows-1252?Q?FfU+0xyX7QaeIKOgoawu1Ca2CMRVQ3fXmvem9rkn3Sztmkfv7WLXRt4+?= =?Windows-1252?Q?98W/gEFS8Wo1ZlUwPFFYcQ=3D=3D?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_VI1PR01MB42857EC270ECBF93EB991069D6549VI1PR01MB4285eurp_"
MIME-Version: 1.0
X-OriginatorOrg: warwick.ac.uk
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: VI1PR01MB4285.eurprd01.prod.exchangelabs.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 671bb745-1c7b-4150-0c00-08d913ab7fdc
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 May 2021 12:02:35.3959 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 09bacfbd-47ef-4465-9265-3546f2eaf6bc
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: o2G3foragB/DVambFEtsJNKt4TuUIzymROZjnYQlu8VPKm28sUdUE8vgMEOUdIWrpX66ezVsk015zO7o8o9jFThzWoEkUcdlKJyBKp5NFCc=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR01MB5870
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/gj3LuamYWlaakVdy6UFcrkPRZDs>
Subject: Re: [CFRG] Modifying SPAKE2 draft for more curves (was Re: Attack on a Real World SPAKE2 Implementation)
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: Mon, 10 May 2021 12:02:40 -0000

  *   I take it that you mean [1, p] instead of [0, p]? I don’t know what 0 means here. The spec for B on choosing y will need to be changed accordingly.

Just to clarify, the data range I meant is from 1 to p-1.

(I typed a round bracket after p, but somehow it looks like a square bracket)