The Boneh–Shoup cascade on words #
The cascade of [BS23], v0.6, Section 6.4.2, Figure 6.3b (printed pp. 226 and 229), starts at the secret key and evaluates the base function with the current state as its key and the next message block as its input. The input block width may differ from the key width.
The evaluator reads as many whole blocks as fit in the message at the width determined by the initial key length. It returns the initial key on an empty message. For a base function with outputs the size of its key, the same width applies throughout the evaluation. Its polynomial-time certificate uses that bound on intermediate states.
Main definitions #
Cslib.Crypto.cascadeFamily: the word-level cascade.
Main results #
Cslib.Crypto.length_cascadeFamily: the output retains the key width.Cslib.Crypto.cascadeFamily_append: continue from the tag to evaluate an aligned suffix, as in equation (6.16), printed p. 230.Cslib.Crypto.computableInPolyTime_cascadeFamily: polynomial-time evaluation.
A base function with outputs in its key space gives cascade outputs of the same key width.
On aligned words the tag of a prefix is the key for its suffix. This gives the cascade extension identity (6.16) of [BS23], v0.6, Section 6.4.3, printed p. 230.
Evaluate the cascade in polynomial time using the base function's fixed-width outputs on valid blocks to bound the accumulator.