Legendre PRF over extension fields vulnerable to key recovery attacks
The single-degree Legendre PRF over \(\mathbb{F}_{p^r}\) can be broken with key recovery in \(O(p^r/M)\) operations
Crypto & theory arXiv 6 Apr 2026 Attack Theory
Published as “Cryptanalysis of the Legendre Pseudorandom Function over Extension Fields”
Why it matters
Deployments of the Legendre PRF in MPC or ZKP that use extension fields must adopt higher-degree (d≥2) constructions, otherwise the primitive is vulnerable to both passive and active key-recovery attacks.
Summary
The paper proves that the single-degree (d=1) Legendre PRF over extension fields Fpr is insecure: a passive attacker can recover the secret key in O(U·pr/M) operations and an active chosen-query attacker can recover it in O(pr/M) operations. The attacks are based on deterministic periodicity of polynomial encodings and a multiplicative homomorphism exploited via geometric queries. Evidence consists of formal theorems and complexity analyses rather than empirical measurements, so the claims are theoretically strong but lack experimental validation.
What they found 3
- Passive key recovery is possible in O(U·pr/M) operations.
“An adversary can recover the secret key K passively in expected O(U · pr/M) operations.”
- Active chosen-query key recovery is possible in O(pr/M) operations.
“Given M chosen geometric queries, an adversary can extract the secret polynomial K ∈Fpr in purely O(pr/M) operations.”
- Polynomial input differentials are non-constant and take a limited set of forms.
“The differential ∆n = Xn+1 ⊕Xn (mod p) is not constant, but rather takes values from the set {xk + 1 | 0 ≤k < r}, determined strictly by the p-adic valuation of n + 1.”
Caveats 3
- Preliminary analysis suggests that by executing Meet-in-the-Middle (MITM) attacks over these algebraically reduced forms, an adversary can decrease the brute-force complexity from O(pdr) down to approximately O(p⌊d/2⌋r). Consequently, while the degree-2 variant may still be vulnerable to optimized searches in O(pr) time, deploying the Legendre PRF with degrees d ≥3 or 4 appears necessary to establish a robust, exponential security margin against structural reduction in Fpr.
- Future research will explore the application of Tschirnhaus transformations and “completing the square” methodologies to eliminate intermediate key coefficients.
- While the geometric sequence attack fails against d ≥2, the algebraic structure of the extension field may still permit advanced reduction techniques.
What’s new here 4
- First comprehensive cryptanalysis of the Legendre PRF when instantiated over extension fields.
- Introduces a "Differential Signature" bucketing technique that enables passive key recovery despite the no-carry fracture.
- Shows an active geometric-sequence attack that restores multiplicative homomorphism and reduces key recovery to O(pr/M).
- Formally establishes that higher-degree key variants (d≥2) are required for exponential security in extension fields.