[This post is based on a talk at ACISP 2019 about the paper [1]]
Multiparty computation (MPC for short), is a branch of cryptography that allows a set of parties to jointly compute a function \(f\) on their inputs without having to reveal them, so that each party learns only the output of the function \(f\) and nothing else.
One family of protocols that permits to realize MPC is called Secret Sharing Schemes. In this family, every player \(P_i\) participating in the protocol shares his input \(x_i\) among the other players. That is, roughly speaking, \(x_i\) is split into random shares and every player will hold a part of them.
Then, players engage in a secure computation where none of the shares is revealed, at the end of which every player will hold a share of the function \(f\) evaluated on inputs. So finally, the output of \(f\) can be constructed by having each player send his share to the other players.
For the most part of these protocols, the whole computation takes place in the same field \(F_p\). Therefore, \(F_p\) needs to be large enough to capture every computed value throughout every step of the protocol. As a consequence, no matter how small the inputs or most of the intermediate values were, if just within only one step of computation values blow up, the field is constrained to be big. This clearly sounds so inefficient.
In [1], authors proposed a method to dynamically change the fields used during computation, using extension fields. This method will be useful for some applications.
The idea is that if we consider an irreducible polynomial \(Q \in F[X]\) of degree \(m − 1\) , a secret \(s\) in \(F_p\) (which is of size \(p\)) can be seen as a secret \(S(X)= s + 0\cdot X + \ldots + 0 \cdot X^{m-1}\) in \(F_p[X]/Q\) (which is of a much bigger size \(p^m\))
This transform can be useful in the context of comparisons, for instance, to test equality between two secrets \(s_1\) and \(s_2\) in \(F_p\), one can compute \(r(s_1 -s_2)\) where \(r\) is drawn at random from \(F_p\), and then open the result to check whether it is 0 or not. This test outputs a correct result of the comparison except with probability \(1/p\), that is, the probability that \(r=0\). However, if we map first \( s_1 -s_2\) to the extension field then we draw from it a random \(R\), the test will succeed except with probability \(1/{p^m}\). Therefore, computation doesn’t have to take place in a big field in order to reach an acceptable probability that the test fails.
Besides, this transform allows to batch multiple secrets into one secret. That is, one can embed secrets \(s_1, \ldots s_l\) into the coefficients of a polynomial: \(S(X) = s_1 + s_2\cdot X + \ldots + s_l \cdot X^{l-1}+ 0\cdot X^l +\ldots + 0\cdot X^{m-1}\). This can be useful for instance in password authentication by doing the comparison as above.
References
[1]: Field Extension in Secret-Shared Form and Its Applications to Efficient Secure Computation
Ryo Kikuchi et al. ACISP 2019


