Winning conditions of the aggregate signature games #
The two winning conditions of Boneh–Shoup's aggregate signature games ([BS23],
Section 15.5.2, p. 632), stated for any types of public keys and messages so that both the
bit-string schemes of Crypto.Computational.WordAggregateSignature and typed schemes can use them.
Definition 15.4 gives the aggregate verification algorithm two vectors of equal length, a vector of public keys and a vector of messages; both conditions reject vectors of unequal lengths.
Main definitions #
Cslib.Crypto.AggregateSignature.asigFresh: the freshness condition of Attack Game 15.2.Cslib.Crypto.AggregateSignature.sbAsigWin: the success condition of Attack Game 15.3.
Main results #
Cslib.Crypto.AggregateSignature.asigFresh_eq_true_iff,Cslib.Crypto.AggregateSignature.sbAsigWin_eq_true_iff: the two conditions as propositions.
References #
- D. Boneh, V. Shoup, A Graduate Course in Applied Cryptography, Version 0.6, Section 15.5.2 (Definition 15.4, Attack Games 15.2 and 15.3), pp. 630–633.
The freshness condition of Attack Game 15.2 ([BS23], p. 632): the vectors pks and
ms have equal lengths, and some position j carries the challenge key pk and a message ms[j]
outside the list queried of signing queries.
The success condition of Attack Game 15.3 ([BS23], p. 632): the two pairs
(pks, ms) and (pks', ms') differ, each pair has vectors of equal lengths, and the aggregate
signature verifies for both (the verdicts b₁ and b₂).