Doubling the capacity of an indexed signature scheme #
Two independent instances of an indexed signature scheme S of capacity at least 1 combine into
an indexed signature scheme S.double hcap of constant capacity 2: key generation samples two
independent key pairs (k₀, k₁) from S.keyGen n, index 0 signs and verifies at index 0 under
k₀, index 1 signs and verifies at index 0 under k₁, and verification rejects every index
u ≥ 2.
This is the q = 2 case of the q-key construction in [BS23], Section 14.6.1,
construction (14.4) (generalized from one-time signatures to any indexed scheme with
1 ≤ S.capacity n, with randomized signing and arbitrary-length messages as in
IndexedSignatureScheme). By the plug-and-pray reduction ([BS23], Section 14.6.1,
referring to Exercise 13.2), doubleForger plants its challenge verification key at a uniform slot
b ∈ {false, true}, generates the other key pair locally, forwards queries at slot b.toNat to its
indexed signing oracle at index 0, and answers queries at the unplanted slot locally. Every valid
forgery against S.double hcap lands on u = 0 or u = 1 and hits the planted slot with
probability 1 / 2, losing at most a factor of 2 (succProbability_indexedEufCmaGame_double_le,
IndexedSignatureScheme.IndexedEUFCMA.double).
In particular, doubling upgrades any capacity-1 indexed signature scheme to the 2 ≤ capacity n
hypothesis of IndexedSignatureScheme.IndexedEUFCMA.exists_eufCMA_of_oneWay.
Both results are steps toward construction (14.4) (printed p. 597) and Exercise 13.2 (printed
p. 575), not those results: the source takes any number q of keys, with loss q, and only
q = 2 is formalized here (#5293).
Main definitions #
Cslib.Crypto.IndexedSignatureScheme.doubleKeyDecoder: pair decoder for bundled public and secret keys.Cslib.Crypto.IndexedSignatureScheme.doubleKeyGen,Cslib.Crypto.IndexedSignatureScheme.doubleSign,Cslib.Crypto.IndexedSignatureScheme.doubleVerify,Cslib.Crypto.IndexedSignatureScheme.double: capacity-2doubling combinator.Cslib.Crypto.IndexedSignatureScheme.doublePlantPk,Cslib.Crypto.IndexedSignatureScheme.doubleHandler,Cslib.Crypto.IndexedSignatureScheme.doubleForgerAt,Cslib.Crypto.IndexedSignatureScheme.doubleForger: plug-and-pray reduction toS.
Main results #
Cslib.Crypto.IndexedSignatureScheme.succProbability_indexedEufCmaGame_double_le: forging probability againstS.double hcapis at most2times that ofdoubleForgeragainstS(a step).Cslib.Crypto.IndexedSignatureScheme.isOraclePPT_doubleForger:doubleForgeris uniformly strict oracle PPT.Cslib.Crypto.IndexedSignatureScheme.IndexedEUFCMA.double:IndexedEUFCMAis preserved byS.double hcap(a step).
References #
- D. Boneh, V. Shoup, A Graduate Course in Applied Cryptography,
Section 14.6.1 (construction
(14.4)atq = 2) and Exercise 13.2.
The capacity-2 doubled scheme #
Total decoder for paired public or secret keys encPair encBits encBits (k₀, k₁).
Sample two independent key pairs (k₀, k₁) from S.keyGen n and bundle their public and secret
halves with encPair encBits encBits.
Verify (u, msg, sig) under bundled public keys (pk₀, pk₁): accept only at u = 0 under
pk₀ or at u = 1 under pk₁, always at inner index 0.
Capacity-2 doubling combinator ([BS23], Section 14.6.1, construction (14.4) at
q = 2): combine two independent instances of S (with ∀ n, 1 ≤ S.capacity n) into an
IndexedSignatureScheme of capacity 2.
Plug-and-pray reduction #
Stateful signing handler for doubleForger: maintains the outer query log signed of pairs
(u, msg) with u < 2. When a fresh index u < 2 is queried:
- if
u = b.toNat, forward(0, msg)to the externalS-signing oracle and truncate the reply tobound n msg.lengthbits; - otherwise, sign
(0, msg)locally underotherSk.
Plug-and-pray reduction ([BS23], Section 14.6.1, Exercise 13.2): sample a fair slot
b ← ProbComp.uniform Bool and run doubleForgerAt.
Exact simulation at each slot #
Plug-and-pray bound with loss 2 for S.double hcap: a step toward the q-key bound behind
[BS23], construction (14.4) and Exercise 13.2, not the cited result, which takes any
number q of keys with loss q, where this fixes q = 2 (#5293).
For every indexed forger adversary and every security parameter n, when bound n L covers the
length of every supported S-signature at index 0 on an L-bit message, the forging probability
against S.double hcap is at most 2 times the forging probability of S.doubleForger against
S.
Strict oracle-PPT efficiency of doubleForger #
S.doubleForger bound adversary is uniformly strict oracle PPT for every strict oracle-PPT
adversary and every plain polynomial-time bound bound.
Security preservation #
If S is indexed EUF-CMA secure with ∀ n, 1 ≤ S.capacity n, then so is the capacity-2
scheme S.double hcap: a step toward [BS23], construction (14.4), not the cited
result, since it fixes q = 2 where the source takes any q (#5293).
The source gives construction (14.4) from a one-time signature (Section 14.6.1, printed p. 597)
and proves it secure by the plug-and-pray argument of Exercise 13.2 (printed p. 575). Here the base
scheme is any indexed scheme of capacity at least 1, used at index 0.