The Rijndael Field
In this page, we lay some mathematical groundwork, necessary to explain our Rijndael zerocheck.
The Rijndael Field
The Rijndael field [FIPS197, § 4] is a small, 8-bit field used in AES, Grøstl and various other places. It's defined as the quotient ring
is isomorphic to . During the univariate skip, our goal will be to perform "as much work as possible" over .
Tensor Basis
We now pick three elements of such that the elements of the tensor
yield an -basis of .
The -elements , , and satisfy this property. Indeed, taking all subproducts of , we get the list , which is clearly linearly independent over . The actual tensor contains not
but rather
on the other hand, these two lists differ from each other by an invertible -linear transformation from , so the distinction doesn't affect linear independence.
Embedding
We moreover assume that we have a fixed field embedding from . Since we have fixed -bases for both fields, can be represented in practice as an -matrix. Embedding looks like taking a subset sum of that matrix's columns. In practice, it turns out to be more efficient to implement the entire transformation as a single lookup table. In this case, we precompute and store all 256 images in of the various -elements.
Mathematically, the embedding is not unique; it amounts to choosing a root of the Rijndael polynomial within . There are 8 choices.
We write , , and for the images under of , and . We note that the elements are also linearly independent over . Indeed,
holds for each , since is a field embedding (and "commutes" with the equality indicator). Moreover, takes -linearly independent lists to -linearly independent lists, since it's injective and -linear.
Deterministic Zerocheck
We now explain a zerocheck variant, adapting an idea of Dao and Thaler [DT24a]. We fix an -variate -polynomial , which is claimed to vanish identically on .
In the usual zerocheck, the verifier samples an -dimensional fully random challenge ; the parties then run a sumcheck on the claim
By a standard analysis, the soundness analysis of this maneuver is bounded from above by .
Instead, we instruct the verifier to sample an -dimensional random challenge , and let
The first three components of are now "deterministic". The parties can now sumcheck
This variant is also sound. In fact, its soundness error is bounded from above by just . Indeed, if we write
for the "bit-packing" of over , then
Since the -elements are linearly independent over (see above), if is not identically zero over , then is likewise not identically zero over . Here, we use the fact that 's restriction to is -valued.
On the other hand, the right-hand sum above is exactly the evaluation of the multilinear extension of at . Since we just argued that is not identically zero over , the usual soundness analysis of the zerocheck imples that, except with probability at most over the verifier's choice of , the above sum is nonzero.
We will say more later about how the prover can actually exploit the structure of this during its univariate skip.