No fixed-construction reduction from length-preserving PRF to CCA-secure SKE (randomized CTR)
Statement
If a length-preserving PRF exists, with domain and range for a polynomially bounded computable from in polynomial time, randomized counter mode built from it, the scheme of Length-preserving PRF ⇒ CPA-secure SKE that encrypts to , is not CCA-secure: XORing a string into the second component of a ciphertext of gives a ciphertext of , and a CCA adversary that applies this to its challenge has advantage for every function family on — folklore. So this construction is no reduction from a length-preserving PRF to CCA security.
Sketch
The adversary queries , receives with , and queries on , which is admissible since it differs from . recomputes the pad, so the answer is , which is if and if .
Notes
- Built from a length-preserving PRF, the same scheme is CPA-secure (Length-preserving PRF ⇒ CPA-secure SKE) — BDJR97.
- Every scheme malleable in the sense of SKE § CCA Security fails CCA security in the same way, and appending an ignored bit makes any CPA-secure scheme malleable (No fixed-construction reduction from CPA-secure SKE to CCA-secure SKE) — standard.