Appending a hash of the keys and messages to an aggregate signature #
Exercise 15.11(c) of [BS23] (p. 675) makes an aggregate signature scheme strongly binding
by including a collision-resistant hash of the public-key vector and the message vector in the
aggregate signature. This module defines that transform for WordAggregateSignatureScheme with a
keyed hash family H: the system parameter becomes the pair of the scheme's parameter and a hash
key d ← setupH n, the aggregate signature becomes (H d (pks, ms), sigAg), and verification
also checks the hash. The pair (pks, ms) is hashed through the injective encoding
encPair (encList encBits) (encList encBits).
Only correctness of the transform is proved here (appendHash_correctOn). Neither security
statement of the exercise is proved: strong binding of appendHash from collision resistance of
H, and ASIG of appendHash from ASIG of the underlying scheme. The tests show only that the
constant-hash transform of a scheme whose verifiers accept everything is not strongly binding
(not_strongBinding_constantHash).
Main definitions #
Cslib.Crypto.WordAggregateSignatureScheme.appendHash: the schemeSA'of Exercise 15.11(c).
Main results #
Cslib.Crypto.WordAggregateSignatureScheme.appendHash_correctOn: the transform preserves correctness.
References #
- D. Boneh, V. Shoup, A Graduate Course in Applied Cryptography, Version 0.6, Exercise 15.11(c), p. 675.
The scheme SA' of Exercise 15.11(c) ([BS23], p. 675): the system parameter is the
encoded pair of the parameter of S and a hash key d ← setupH n; the aggregate signature is the
encoded pair (H d (pks, ms), sigAg) of a hash of the encoded key and message vectors and an
aggregate signature of S; verification checks the hash and verifies sigAg under S.
The transform of Exercise 15.11(c) preserves correctness, for every predicate on the vector lengths.