Daemen's attack: the Even–Mansour bound is tight
ProvedCityEM.daemen_attackblock-ciphercryptographyrandom-permutation-model
Let (so and is XOR) and let satisfy and . There is a single deterministic distinguisher making at most construction queries and at most public-permutation queries whose advantage is at least
both against two-key Even–Mansour and against single-key Even–Mansour. Since , this matches the upper bound up to a constant factor.
Preamble
import Definitions.Def_CityEM
Formal statement
namespace CityEM
/-- The bound is tight up to a constant (Daemen's attack). On `n`-bit blocks, with
`2·2^j + 1` construction queries and `2·2^i + 1` permutation queries, some adversary has
advantage at least `2^(i+j) / 2^(n+1)` against both two-key and single-key Even–Mansour. -/
theorem daemen_attack (n i j : ℕ) (hij : 2 ≤ i + j) (hn : i + j + 3 ≤ n) :
∃ D : LubyRackoff.Dist (Query (Fin n → ZMod 2)) (Fin n → ZMod 2),
QueryBounded D (2 * 2 ^ j + 1) (2 * 2 ^ i + 1) ∧
(2 : ℝ) ^ (i + j) / 2 ^ (n + 1) ≤ emAdv D ∧
(2 : ℝ) ^ (i + j) / 2 ^ (n + 1) ≤ emAdv1 D := by
sorry
end CityEM
Source
Daemen, Limitations of the Even–Mansour construction, ASIACRYPT 1991, https://doi.org/10.1007/3-540-57332-1_17