Aggregate signature schemes on bit strings #
An aggregate signature scheme ([BS23], Definition 15.4, p. 630) is a signature scheme with two more efficient algorithms: one combines signatures by several signers into one aggregate signature, the other verifies an aggregate signature against a vector of public keys and a vector of messages. This module states such schemes on bit strings, with a system parameter, and their two security notions: security against forgery (Attack Game 15.2 and Definition 15.5, p. 632) and strong binding (Attack Game 15.3 and Definition 15.6, pp. 632–633).
Differences from the book:
- The scheme carries a system parameter
setup n, as every algorithm of the book's formal framework does (Definition 2.9, p. 30; for hash functions, Section 8.1.1, p. 290). Definition 15.4 leaves it implicit, but the collision-resistant hash of Exercise 15.11(c) has no meaning without it. The aggregation algorithms and both adversaries receive it; the algorithms of the underlyingWordSignatureSchemedo not. Withsetup = fun _ => pure []both games are the book's. - The aggregation algorithm also receives the message vector, as the algorithm
A'of Exercise 15.11(c), p. 675, does. A scheme whose aggregation ignores the messages is the book's. - Both winning conditions require vectors of equal lengths, the domain of the aggregate verification algorithm in Definition 15.4.
- No bound
Nlimits the length of the vectors in the games: a strict polynomial-time adversary outputs vectors of polynomial length. Correctness (WordAggregateSignatureScheme.CorrectOn) is stated for the lengths that a predicate allows. - The book asks for short aggregate signatures (Section 15.5.2); this is not modelled.
Main definitions #
Cslib.Crypto.WordAggregateSignatureScheme: an aggregate signature scheme on bit strings, with its efficiency certificates.Cslib.Crypto.WordAggregateSignatureScheme.CorrectOn: correctness for vectors of admitted lengths.Cslib.Crypto.WordAggregateSignatureScheme.asigGame,Cslib.Crypto.WordAggregateSignatureScheme.ASIG: Attack Game 15.2 and Definition 15.5.Cslib.Crypto.WordAggregateSignatureScheme.sbAsigGame,Cslib.Crypto.WordAggregateSignatureScheme.StrongBinding: Attack Game 15.3 and Definition 15.6.
References #
- D. Boneh, V. Shoup, A Graduate Course in Applied Cryptography, Version 0.6, Definition 2.9 (p. 30), Section 8.1.1 (p. 290), Section 15.5.2 (pp. 630–633) and Exercise 15.11(c) (p. 675).
An aggregate signature scheme on bit strings ([BS23], Definition 15.4, p. 630): a
WordSignatureScheme with a system parameter, an aggregation algorithm and a deterministic
aggregate verification algorithm, each with its efficiency certificate. Short aggregate signatures
are not required.
The system parameter generator on the unary security parameter (Definition 2.9, p. 30; for hash functions, Section 8.1.1, p. 290).
setupis uniform strict PPT.- base : WordSignatureScheme
The underlying signature scheme
(G, S, V); its algorithms do not receive the system parameter. - aggregate : List Bool → List (List Bool) → List (List Bool) → List (List Bool) → ProbComp (List Bool)
The aggregation algorithm
aggregate param pks ms sigs. It receives the message vectorms, as the algorithmA'of Exercise 15.11(c) (p. 675) does; Definition 15.4 writesA(pks, sigs). - aggregate_ppt : Probability.IsPPTOn (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encBits (Turing.MultiTapeTM.encPair (Turing.MultiTapeTM.encList Turing.MultiTapeTM.encBits) (Turing.MultiTapeTM.encPair (Turing.MultiTapeTM.encList Turing.MultiTapeTM.encBits) (Turing.MultiTapeTM.encList Turing.MultiTapeTM.encBits)))) Turing.MultiTapeTM.encBits fun (t : List Bool × List (List Bool) × List (List Bool) × List (List Bool)) => self.aggregate t.1 t.2.1 t.2.2.1 t.2.2.2
aggregateis uniform strict PPT. The deterministic aggregate verification algorithm
aggregateVerify param pks ms sigAg.- aggregateVerify_polyTime : Turing.MultiTapeTM.ComputableInPolyTime (fun (t : List Bool × List (List Bool) × List (List Bool) × List Bool) => self.aggregateVerify t.1 t.2.1 t.2.2.1 t.2.2.2) (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encBits (Turing.MultiTapeTM.encPair (Turing.MultiTapeTM.encList Turing.MultiTapeTM.encBits) (Turing.MultiTapeTM.encPair (Turing.MultiTapeTM.encList Turing.MultiTapeTM.encBits) Turing.MultiTapeTM.encBits))) Turing.MultiTapeTM.encBool
aggregateVerifyis computable in polynomial time.
An adversary of Attack Game 15.2: on the security parameter, the system parameter and the
challenge public key, it makes signing queries and outputs a candidate forgery (pks, ms, sigAg).
An adversary of Attack Game 15.3: on the security parameter and the system parameter, it
outputs (pks, ms, pks', ms', sigAg).
The input encoding of an SBAdversary.
Correctness of an aggregate signature scheme ([BS23], Definition 15.4, p. 630) for
the vector lengths that bound n admits: on every supported system parameter, aggregating
signatures that verify individually gives an aggregate signature that verifies. Definition 15.4
admits the lengths below a bound N; bound := fun _ k => k < N is that case.
Attack Game 15.2 ([BS23], p. 632): sample the system parameter and a key pair, run
the forger on ((n, param), pk) with the signing oracle, and accept when the aggregate signature
verifies and some position of the output carries pk and an unqueried message (asigFresh). The
system parameter is the book's (Definition 2.9, p. 30); the base signing algorithm does not receive
it.
Attack Game 15.3 ([BS23], pp. 632–633): sample the system parameter, run the
adversary on (n, param), and accept when the aggregate signature verifies for two different
pairs of equal-length vectors (sbAsigWin). The book's adversary takes no input; it receives the
security parameter and the system parameter here (Definition 2.9, p. 30).
Security of an aggregate signature scheme ([BS23], Definition 15.5, p. 632): every oracle-PPT forger wins Attack Game 15.2 with negligible probability.
Strong binding ([BS23], Definition 15.6, p. 633): every strict PPT adversary wins Attack Game 15.3 with negligible probability.