PRP on bit strings ⇒ CPA-secure SKE (CBC)
Statement
A PRP on bit strings with domain , where , yields a CPA-secure SKE scheme by cipher block chaining with a uniform initialization vector (CBC). Its key generation is that of , its message space is , and for with each ,
Every CPA adversary that runs in time and whose queries encrypt blocks in total has advantage at most , where is the largest advantage of a PRP distinguisher that runs in time and makes queries — BDJR97, from the proof of Theorem 17 of the full version with Lemma 16 and Proposition 8. For the second term is negligible because , so CBC is CPA-secure whenever is pseudorandom. Correctness of makes CBC perfectly correct, and and are two distinct messages of equal length — standard.
Sketch
The proof first replaces by a uniformly random function, losing twice the PRF advantage of , which exceeds its PRP advantage by at most (Proposition 8). With a random function, the two worlds differ only on the event that two of the inputs collide, which bounds the advantage by (Lemma 16) — BDJR97.
Notes
- The birthday term is tight: against CBC with a uniformly random permutation, one-block queries give advantage at least (Proposition 15 of the full version) — BDJR97.
- calls , so CBC needs a permutation, and BDJR97 analyse it under PRP rather than PRF security, unlike randomized counter mode — BDJR97.
- The initialization vector must be unpredictable: with a counter in its place, CBC is not CPA-secure (No fixed-construction reduction from PRP on bit strings to CPA-secure SKE (CBC with a counter IV)) — BDJR97.
- is randomized: CBC with a fixed initialization vector is deterministic and hence not CPA-secure (SKE § CPA Security) — standard.