Skip to main content

Algebraic Degree and Higher-Order Differentials

Algebraic degree

The algebraic degree of a function f:FptFpf: \mathbb{F}_p^t \to \mathbb{F}_p is the maximum total degree of its polynomial representation. For a permutation π=(π1,,πt)\pi = (\pi_1, \ldots, \pi_t), the algebraic degree is maxideg(πi)\max_i \deg(\pi_i).

Higher-order differentials

The kk-th order differential of ff is obtained by iterating the differential operator kk times. A key property:

Δ(d+1)f=0if deg(f)=d\Delta^{(d+1)} f = 0 \quad \text{if } \deg(f) = d

This means: if the algebraic degree of the permutation after rr rounds is dd, then the (d+1)(d+1)-th order differential is zero. If dd is small enough that (td+1)\binom{t}{d+1} evaluations are feasible, this gives a distinguisher.

Degree growth in AO hash functions

For a single full round with S-box xαx^{\alpha} and MDS mixing:

  • After 1 round: degree α\leq \alpha
  • After 2 rounds: degree α2\leq \alpha^2
  • After rr rounds: degree αr\leq \alpha^r (upper bound)

The actual degree can be lower due to:

  1. Partial rounds (Poseidon): only one element gets the S-box, so the degree increase per partial round is slower
  2. Degree cancellation: the algebraic structure may cause terms to cancel, reducing the effective degree below αr\alpha^r

The degree estimation problem

A central open question in AO hash function security: does the actual degree match the upper bound αr\alpha^r, or does it fall short?

If the actual degree is significantly lower than αr\alpha^r, the number of rounds needed for security increases. Several papers have studied this for specific constructions:

  • Grassi et al. showed that Poseidon's partial rounds have slower degree growth than the naive bound suggests
  • Bariant et al. gave tighter degree bounds for the partial round structure

References