PRP on bit strings ⇒ arbitrary-length SUF-CMA MAC (XCBC)

Fully-black-box reduction · standard model · BR05 · security loss: additive for queries totaling blocks, plus the PRP advantage of an adversary making queries in time (Corollary 8)

Statement

Let be a PRP on bit strings with domain , , and write . XCBC has key with and , and message space . For let and ; otherwise let with , and . Writing with ,

A message occupies blocks. For every adversary running in time whose queries total at most blocks there is an adversary running in time and making queries with

where the PRF advantage is against a uniformly random function — BR05 (Corollary 8). So XCBC is a PRF on against adversaries whose queries total polynomially many blocks, and by the argument of Length-preserving PRF ⇒ MAC, which uses only that the range is superpolynomial, with canonical verification is a perfectly correct UF-CMA-secure MAC on ; its is deterministic, so it is SUF-CMA-secure (Deterministic MACs), hence an arbitrary-length SUF-CMA MAC — standard.

Sketch

samples and answers each query of by computing XCBC with its own oracle in place of , one oracle call per block, so its PRP advantage is the distance between XCBC under and under a uniformly random permutation (Corollary 8). Over , XCBC is FCBC, the variant of ECBC whose last CBC step applies the second or third function, under , and . FCBC under three independent random permutations has advantage at most (Theorem 5), and for a uniform the pair is within of a pair of independent random permutations against queries to the two oracles in total (Lemma 6); Theorem 7 combines the two, one application of Lemma 6 for and one for — BR05.

Notes

  • The passage from the PRP to a random permutation needs no switching lemma, since the information-theoretic bound is over a random permutation; the ECBC analysis it builds on passes from random functions to random permutations by the switching lemma — BR05.
  • XORing after the final encipherment instead of before it is insecure. For with , where is CBC-MAC under with initial value , the tags of , of and of give on an unqueried message — BR05.
  • OMAC needs only the block-cipher key, where XCBC needs and as well, and is proved secure for messages of arbitrary length — IK03.