No fixed-construction reduction from length-preserving PRF to arbitrary-length SUF-CMA MAC (plain CBC-MAC)
Statement
Let be a length-preserving PRF, with domain and range for a polynomially bounded computable from in polynomial time, and write . Plain CBC-MAC, with initial value and no encoding of the message length, is
for blocks . With canonical verification it is not UF-CMA-secure on any message space containing and : for with tag , the two-block message has tag , so the forger that queries and outputs wins with probability , for every keyed function on in place of — folklore. In particular, on , after any padding to whole blocks that leaves each string of length a positive multiple of unchanged, CBC-MAC is not an arbitrary-length SUF-CMA MAC, so if a length-preserving PRF exists, this construction is no reduction from a length-preserving PRF to an arbitrary-length SUF-CMA MAC.
Notes
- On messages of a fixed number of blocks, CBC-MAC is a PRF and a UF-CMA-secure MAC (Length-preserving PRF ⇒ MAC (CBC-MAC)) — BKR94.
- The forgery appears in BR05, which treats it as well known. A two-query variant: for with tag , the tag of the one-block message is also the tag of the unqueried message — BKR00.
- Applying under a second key to the CBC-MAC output, or under a third key after padding when the message length is not a positive multiple of , gives ECBC, an arbitrary-length SUF-CMA MAC from a length-preserving PRF (Length-preserving PRF ⇒ arbitrary-length SUF-CMA MAC (ECBC)); XCBC gets the same from a PRP on bit strings with domain under one block-cipher key and two -bit keys (PRP on bit strings ⇒ arbitrary-length SUF-CMA MAC (XCBC)) — BR05.