Length-preserving PRF ⇒ MAC
Statement
Let be a length-preserving PRF, with domain and range for a polynomially bounded computable from in polynomial time. with canonical verification is a perfectly correct UF-CMA-secure MAC with message space and tag space — GGM84. For every efficient forger making tag queries there is an efficient making queries with
and is negligible since — standard.
Sketch
Verification recomputes the tag, so correctness is perfect. The distinguisher runs the forger , answers each query with one query to its own oracle, and, given ‘s output , outputs iff is unqueried and one further query, on , returns . With a truly random function the tag of an unqueried message is uniform in given ‘s view, so outputs with probability at most , and the bound follows.
Notes
- The argument uses only that the range is superpolynomial: for a PRF with any domain and a range of superpolynomial size, the same is a UF-CMA-secure MAC with message space , with in place of — GGM84. With , the forger that outputs for an unqueried wins with probability negligibly close to , by pseudorandomness — standard.
- is deterministic and verification is canonical, so the MAC is also SUF-CMA-secure (Deterministic MACs) — standard.
- Domain extension enlarges the message space beyond : CBC-MAC is a PRF, hence a MAC, on messages of blocks for any fixed — BKR94, and ECBC is one on — BR05.