[CFRG] Re: Adoption Call: Sigma Protocols

"Brandao, Luis (IntlAssoc)" <luis.brandao@nist.gov> Thu, 15 May 2025 20:44 UTC

Return-Path: <luis.brandao@nist.gov>
X-Original-To: cfrg@mail2.ietf.org
Delivered-To: cfrg@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 51C382906B5F for <cfrg@mail2.ietf.org>; Thu, 15 May 2025 13:44:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -3.039
X-Spam-Level:
X-Spam-Status: No, score=-3.039 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_GOV_DKIM_AU=-0.938, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=nist.gov
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z7IiPyNRLseW for <cfrg@mail2.ietf.org>; Thu, 15 May 2025 13:44:55 -0700 (PDT)
Received: from BN8PR09CU001.outbound.protection.outlook.com (mail-eastus2azlp170120005.outbound.protection.outlook.com [IPv6:2a01:111:f403:c110::5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 4210B2906B47 for <cfrg@irtf.org>; Thu, 15 May 2025 13:44:55 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Odu8itv58TI8XQneyneaqbnAOuvYSdboTl3BLeQ5OC8wCRp0/o2oUFVhRADQp4nRo13LTXHmHd6Ok3jzAn58Hpn1v/Jek1bi3kCrBl6rN+RQenmQsGK0nwyjGkznNNyVGvuhOeHkjdOH2oB+YJLYRXIgoNLTxSkr02ZcWPNfn1Qc7wpcaguh+eWcnTrc5dDsurEfjgR8b8NozpVpR23FRwQptWGaZA/hU0snO4yF4yVoFZfmTIlRD0tD1IEi19cE+kGCf5rn8LDncbmThzZrA1pX0qkz4Si8y0Z/lYCQOYi3LU/PUNrisKrb+BqUrcO2ajL/S0pht3fWBxk8+80zNQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=G1eu4PvOkzWVsDf2vO+Ty/Vf5297vNGmRbQw7d/whaQ=; b=lJzyHZcdUj4pQixtJjqqG9xEgi60kyROHgoysBR4UlC2kCnadwSzqRip9liAHxSFsS8sbcgBdt21wc0J15f39p3igTuouM0d6ebGRrSKYxUgjruZtrhV4VTdovBI2T0rj2uGUL5s4rbj7LKx/0/HSmGjN530lJa1C1twfc2kUZ20E8as9ubpY26xKS4CZao8MGJiEULSfGrWjLtSrv8R3iDoxmdkNJ4F5UoimD8sbZyxYcYed6uFozxsx/pw1WVI0cCMtWUQKZJw0KrsT6HrWYHZvBRQak6aCsUDNPSe/f804wIPuRauHCsCTGy2fF9kyQHHf8c3No9ZUWPrf8vmfQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nist.gov; dmarc=pass action=none header.from=nist.gov; dkim=pass header.d=nist.gov; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nist.gov; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=G1eu4PvOkzWVsDf2vO+Ty/Vf5297vNGmRbQw7d/whaQ=; b=quH6wHRtIgrpk7sHenH6jXFhV1dXc4OSMwdeZuY8u3IG52goGHFuw3w36E1Fuzr6QMBiN+L7W8Dbupk+HHnhTVIjYpdke7zNifNhUDAL9u1FZWHzwgUJGxjwTCuw4zoCzMQx9gG6fvyBp/jYt48R2SKNbL365pdJYRy9pI9rX0RYSrRsIY5ouJDpW+rwwdApFXXcMFiW8fRE45OCpfIuUjLkcn/mhYHFjvVu1bpv+cfkQ5m7Ycwwt6m5p6dfltw+6hTZj4PGIFU97qSGvb13hZDcp4YhTlVFaitAJF8wPP1xfSILOEx6ApHymuCVYSTE6lYG0J24g9+pA30Eg2s+hA==
Received: from MN2PR09MB5130.namprd09.prod.outlook.com (2603:10b6:208:222::20) by MW4PR09MB9979.namprd09.prod.outlook.com (2603:10b6:303:1e7::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8722.33; Thu, 15 May 2025 20:44:49 +0000
Received: from MN2PR09MB5130.namprd09.prod.outlook.com ([fe80::3051:acf0:2bea:b2ee]) by MN2PR09MB5130.namprd09.prod.outlook.com ([fe80::3051:acf0:2bea:b2ee%5]) with mapi id 15.20.8722.031; Thu, 15 May 2025 20:44:49 +0000
From: "Brandao, Luis (IntlAssoc)" <luis.brandao@nist.gov>
To: "Stanislav V. Smyshlyaev" <smyshsv@gmail.com>, CFRG <cfrg@irtf.org>
Thread-Topic: [CFRG] Adoption Call: Sigma Protocols
Thread-Index: AQHbsCudOCe4PIK/L0q6WBAwnkIACbPUTAi4
Date: Thu, 15 May 2025 20:44:49 +0000
Message-ID: <MN2PR09MB513059DC3D489D9AF2D8C98EF290A@MN2PR09MB5130.namprd09.prod.outlook.com>
References: <CAMr0u6mtvLBNnurVjw3rq5PmSF6okisAg5OVRzoqVvzpR7+r=A@mail.gmail.com>
In-Reply-To: <CAMr0u6mtvLBNnurVjw3rq5PmSF6okisAg5OVRzoqVvzpR7+r=A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nist.gov;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: MN2PR09MB5130:EE_|MW4PR09MB9979:EE_
x-ms-office365-filtering-correlation-id: 17e1a08f-5354-4293-c02b-08dd93f1560c
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;ARA:13230040|366016|1800799024|8096899003|13003099007|38070700018;
x-microsoft-antispam-message-info: v7DYtWR18bpSklwj/RVkJ/mytZgZfV82L4R8h/bBtTd0NeRS9Brpq9eL5l8wciHc6kuDm69eu2PrKcTVwDgWg8ZlweHCOZoq5YE1EJ8ZEksuYtQJiN2K1iGDbGrpk4+5gabvx3k97xpGbcBg6zHnCyg9SFyc+1GFoczprRX7yRgPIZWQLBhwlc6I7YEQO92wRutfnKBXcePL3kmmKAddSP9VYi7ED/Mfe9yL4+74oaSmfp01uUnpU5n6lSj8/714fX2ZqxAjZeAgz7j5+ChrVR6IWrCYrlK9qPiEVjW9z4PbrgbsjCMuQOth+5ZYI/z1/GWMbcj65Xwu2DEnuw93N+iVWa4hBnMsapkTJ/21FKUTdczaftLg35Y51JmjhOPulateALvdht2InBsJqgksznnqnkggZiH6iqbhris/D5k3IT3lUIxue6ZerLDuwfrXBUY0aixNZWvqJWsbKkSob00zn+D7Ghbf2XcZeCkPxpuVKYEp7lUzDTn0ZXFS9aMneT/6DWfH4ZTTWMs/RdKZeV2R+wMwWs523akg5mdRH0B+wRA0Ae3tHX4ls8r1WBD0uYM/XNJ6qvWm0I38CzQ7B090ROIdzzx/Q0h+glceUT36dKxg9nEv11e5nAiCbmAYod/UzsgATgCgnzepMrSvcBQn6NkshoHCQvXEKYchPxDlPzcjvinf8mPD+6MBdjoO5r122V+cqjNujKDXoSJkTydVffRJmNDdWAvoINX2QKTpLCr/7K/0AdkgGrFhRyxYZhFHzwSj00fL0kpH7q2++exasyh/gDsyksfYU5PmrlpaU+gqw4saLZ4DyJRaeUMeF4n9Y963UFfyhXueKSCeqkEYQZo5S4QOiE+opR1a1LeZ3genkDQcMfcRII8mZ6Vxi6ryLCVbrTeOAI7HbHFnhPsEAV5UNyA5r2635f5L8gXVLl84nETIOqvnJk9Kz4b25CWAN3RKLlgm9V4JI5Zud4wFDDHKqabxZHs/9oRoXjF7pe96J9IjPMca6wgAt2dWag1PAEcrxEg1qjT0bFUhEeNjxprlxSanPBxu57zzry4Stf3X9xG15o72OfdYhit5TrnYa32d8llPiIkedJa43UsnsiY0WOUJGKJFSOeU+K3art79K/jf3nmZGKaBhrdSUHiRm/ydvjHztPftjtFmG6enXQfsQ7gIqDdojjZeiAHEjppj9N+MEsqfJthoGm2y1bVXSoRoZob7QypaHhJZpqjA17MFqSjj+86t2t1NsMb625t0Mo+uSff4SwILqyLFeTxh3MC5jNLhIr+fjbCSrqlfG/nBrjVerIl5kMPcGSn693zECZFZDQRKwvsrUG4BTWk2cy5tEpledYP3MW2i1T0HvJNnlX7+ebwOG0+lslPKzdosZttW+G+DgjS9Ikmk2ENwtAkzs/8T6CEipr0Zw5aTJNnvrj+IXTOyT7ulHoo=
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR09MB5130.namprd09.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(8096899003)(13003099007)(38070700018);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: rdqyxVx0USexOX6m33eqQYfOxTqn1RHrZYDamI5ZFzJ+SeknmUnZxfDhoIEI4l+Q3m1vsYg7z9LPEmmoyHYvM0gmRp7D2+VCBzPPN78npvJHIma46UoAdNzxN6wssx9ZNcf3zM0yFfK2XeBmsTvEwGh15ET4tQayBltzNKLQ/kNU7YwMDIQNzuYqL2djYDbaS3JWU9K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le5nBuTw3JjFEPf0F3IFQBoNRBC7Ck8DAu7bfSUYaFvRUB6wUmGdtKP8+coy2PAmmpHhODIDzsn8XYrnLdpGwGCcjUrIhto3L90vzGTusXZQNzTa6pNhJjRzVsX3Rv5h+EGiwRMNfKDMzocq1+nWu1gffsiy6OjMg1hUwsPVhgnAvyl4gxPRKJBhb+JpBLa09fGBBCrndV727gb8yVAxMRFpQDoTSjgJaIbqN9CVsWtoFEsWtWMQFaSYxS4UEq5g0JF+iZA3uOT1cwKMY4+MvEb3Wd7oMrcO5JP5hDqVxkOiGi+PRo4=
Content-Type: multipart/alternative; boundary="_000_MN2PR09MB513059DC3D489D9AF2D8C98EF290AMN2PR09MB5130namp_"
MIME-Version: 1.0
X-OriginatorOrg: nist.gov
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR09MB5130.namprd09.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 17e1a08f-5354-4293-c02b-08dd93f1560c
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 May 2025 20:44:49.6004 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2ab5d82f-d8fa-4797-a93e-054655c61dec
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR09MB9979
Message-ID-Hash: XQVYUWWVK3DQJZAJQ232PBEPQOJO2RJ2
X-Message-ID-Hash: XQVYUWWVK3DQJZAJQ232PBEPQOJO2RJ2
X-MailFrom: luis.brandao@nist.gov
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cfrg.irtf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "cfrg-chairs@ietf.org" <cfrg-chairs@ietf.org>, "draft-orru-zkproof-sigma-protocols@ietf.org" <draft-orru-zkproof-sigma-protocols@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [CFRG] Re: Adoption Call: Sigma Protocols
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/RmjBbmOhl15zZiK9h3bqE4EsvDo>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Owner: <mailto:cfrg-owner@irtf.org>
List-Post: <mailto:cfrg@irtf.org>
List-Subscribe: <mailto:cfrg-join@irtf.org>
List-Unsubscribe: <mailto:cfrg-leave@irtf.org>

Thanks for promoting standardization of zero-knowledge proofs.

--------------------------------
C1. Interest

The specification of a widely-applicable structure for non-interactive zero-knowledge proofs of knowledge (NIZKPoK), such as that based on Sigma protocols and Fiat-Shamir (FS) transformation, is of interest as a building block for simplifying the specification and analysis of more complex protocols. For example, this is of interest in the context of the ZKPoK category of the NIST Threshold Call.

--------------------------------
C2. Title versus content/scope

The draft seems to be conflating "Sigma Protocols" (which can be [are?] interactive) with a Sigma-inspired non-interactive (NI) ZKPoK obtained using the Fiat-Shamir (FS) transformation. Note that the draft says:

  *
"Sigma protocols, a [...] *non-interactive* zero-knowledge proof of knowledge"
  *
"Any sigma protocols must define [...] A challenge, computed using the *Fiat-Shamir transformation* using a hash function."

Concern: This title might induce ambiguity in the future when referred to in the scope of other specifications/discussions about (i) interactive sigma protocols, or (ii) sigma-protocol-based NIZKP[oK]s that use a transformation different from FS?

Suggestion:

  1.
if the goal is indeed to focus on a Sigma+FS-based NIZKPoK, then consider revising the title to be more suggestive of the scope/focus.
  2.
if the goal is to specify Sigma protocols as a 3-move interaction, then the title seems okay, but then the content could cover more thoroughly the interactive case. The transformation into a non-interactive proof/argument of knowledge could then either (i) be an explained option or (ii) be left to a separate specification.

--------------------------------
C3. Zero-knowledge

For better awareness of privacy properties, consider clarifying the cases in which the proofs become transferable (publicly verifiable, namely when using a Fiat-Shamir transformation) or remain deniable (e.g., if interactive, with a honest verifier, and without transferable message authenticity).

--------------------------------
C4. Other non-interactive transformations

The Fiat-Shamir transformation (although being the most popular) is not the only possibility for converting a Sigma protocol into a non-interactive ZKP. For example, using an equivocable commitment (e.g., see ia.cr/2014/710) instead of a hash function may facilitate obtaining zero-knowledge of the non-transferable kind, i.e., proofs that are not publicly verifiable). Thus, consider whether it may be beneficial to adjust the title to directly refer to the Fiat-Shamir transformation. (An alternative would be to leave the current spec be about sigma protocols, and do another [related] spec about the FS transformation.)

--------------------------------
C5. Hash function (if specifying the Fiat-Shamir transformation in this spec)

- 1. Consider initially explaining the required properties of the (cryptographic) hash function used by FS transformation.

- 2. Should the concrete set of allowed hash functions be identified in this specification or in a separate one?

- 3. If the intention is to allow a single hash function (i.e., XOF), then (compared with SHAKE128):

  *
(a) Even though the draft already considers domain separation for the hash function,) might it make more sense to use cSHAKE128 (customizable XOF, see SP 800-185), e.g., with S = "Fiat-Shamir", to ensure that the hash function is different from the one used in different applications?
  *
(b) might it make more sense to use SHAKE256 or cSHAKE256, to allow up to 256 bits of security [see FIPS 202 Table 4] for several security properties (still depending on the specified output length, and in case other curves are allowed, such as P-521).

- 4. Other hash functions?: Might there be applications that would benefit from using "light(er)weight" hash functions / XOFs, such as Ascon-based (See SP 800-232, with Ascon-Hash256 and Ascon-[C]XOF128)?

- 5. There are conceivable scenarios where one could use a purposefully expensive hash function (akin to a key-derivation function with many hashing iterations), as a way of slightly reducing the proof size while retaining a given level of soundness. If those cases are deemed pertinent in the future, would one allow those hash functions via an update to this spec, or in a separate spec about hash functions compatible with FS?

--------------------------------
C6. Miscellaneous editorial

  1.
Typos: challange, commmit, Stadtler
  2.
Define acronyms: SHO, VRF, ...
  3.
Define terms, e.g., batchable, ...
  4.
Ref [NISTCurves]: if wanting to cite DSS, consider updating from FIPS 186-4 (2013) to FIPS 186-5 (2023); consider citing SP 800-186 (2023) as a reference for the P-* elliptic curves (such as P-384).
  5.
The expression "A commitment, sometimes also called nonce" is a bit confusing. Isn't nonce also being used to denote the (seed of) the discrete-log of the "commitment". It might be clearer to distinguish between secret nonce and public nonce.
  6.
Section 2.4: why is the nonce algorithm shown after the challenge algorithm (if the nonce is introduced before the challenge)?
  7.
Unclear the utility of declaring "simulate_response", without more guidance on how it would actually be used.
  8.
The draft uses "Equations" to specify the "constraints". Does that mean that range constraints (e.g., based on inequalities) are not allowed? Consider clarifying the relation between "constraints" and "equations".
  9.
Consider adding textual explanation of the syntax of each function, e.g., where the output length of SHAKE128 is specified.

Thanks to Rene Peralta for reviewing these comments.

Regards, Luís

--
Luís Brandão
NIST Associate (Foreign Guest Researcher, Contractor from Strativia)
________________________________
From: Stanislav V. Smyshlyaev <smyshsv@gmail.com>
Sent: Friday, April 18, 2025 02:30
To: CFRG <cfrg@irtf.org>
Cc: cfrg-chairs@ietf.org <cfrg-chairs@ietf.org>; draft-orru-zkproof-sigma-protocols@ietf.org <draft-orru-zkproof-sigma-protocols@ietf.org>
Subject: [CFRG] Adoption Call: Sigma Protocols

Dear CFRG participants,

This message is starting a 4-week adoption call on "Sigma Protocols" draft, draft-orru-zkproof-sigma-protocols (https://datatracker.ietf.org/doc/draft-orru-zkproof-sigma-protocols/) that will end on April 16th 2025.

More information about the draft: https://mailarchive.ietf.org/arch/msg/cfrg/TkvxLDfjUZvFvh4DcbyLiraa4wM/

Please send your feedback in reply to this email or directly to CFRG chairs <cfrg-chairs@ietf.org><mailto:cfrg-chairs@ietf.org>.

Best regards,
Stanislav (for CFRG chairs)