Title: Solving Systems of Quadratic Equations
1Solving Systems of Quadratic Equations
- I) General HFE Systems
- II) The Affine Multiple Attack
- Magnus Daum / Patrick Felke
2Overview of Part I
- Review of HFE Systems
- parameters, hidden polynomial
- Solving by Using Buchberger Algorithm
- special properties of HFE systems
- simulations
- 3) Number of solutions of HFE-Systems
- HFE polynomials ? general polynomials
systems of arbitrary quadratic equations
HFE systems ?
3Review of HFE Systems
4Review Parameters of an HFE System
n number of polynomials and
variables blocklength field extension degree
q cardinality of the smaller finite
field (fields Fq and Fq n)
d degree of the hidden polynomial
5Review Example
6Review Example - Encryption
7Review Example - Encryption
8Review Example - Decryption
9Review Example - Decryption
without secret key solve system directly OR find
transformation to univariate polynomial of low
degree
with secret key transform back to univariate
polyno- mial of low degree
10Review Hidden Polynomial
- transformation from univariate HFE-polynomial f
to HFE-System is always possible - (construction of the public key)
- transformation from system of quadratic equations
to an univariate polynomial representing this
system is always possible -
-
11Review Example - Decryption
without secret key try to solve system
directly OR try to find transformation to
univariate polynomial of low degree
with secret key transform back to univariate
polyno- mial of low degree
12Solving HFE Systems Using Buchberger Algorithm
13General Approach Example
14General Approach Example
15General Approach Example
16General Approach Problems
- degree of output poly-nomials may get very big
- Buchberger algorithm has exponential worst case
complexity - compute all solutions in algebraic closure
17HFE Systems are Special
- defined over a very small finite field
- include only quadratic polynomials
- need only solutions in the base field Fq
- hidden polynomial of low degree
18HFE Systems are Special
- defined over a very small finite field
- include only quadratic polynomials
- need only solutions in the base field Fq
- hidden polynomial of low degree
19Solutions in the Base Field
20Solutions in the Base Field Example
21Solutions in the Base Field Example
22Solutions in the Base Field Example
Buchberger algorithm
- Advantages
- we compute only informa-tion we need
- degree of polynomials involved in this
compu-tation is bounded
23HFE Systems are Special
- defined over a very small finite field
- include only quadratic polynomials
- need only solutions in the base field Fq
- hidden polynomial of low degree
24HFE Systems are Special
- defined over a very small finite field
- include only quadratic polynomials
- need only solutions in the base field Fq
- hidden polynomial of low degree
25Hidden Polynomial
- Patarin / Courtois
- if hidden polynomial is of low degree or special
form there are many relations between the
polynomials in the HFE system - one main idea of Buchberger algorithm is to make
use of such relations in a sophisticated way
26HFE Systems are Special
- defined over a very small finite field
- include only quadratic polynomials
- need only solutions in the base field Fq
27Simulations
- 96000 simulations
- parameters
- HFE systems and random quadratic systems
- in each simulation
- generate system of quadratic equations
- (HFE or random)
- add polynomials
- solve by using Buchberger algorithm (with FGLM)
28Simulations Dependency on n
29Simulations Dependency on n
30Simulations Dependency on d
31Simulations Dependency on logqd
32Conclusion of this Section
- Buchberger algorithm is not feasible for solving
HFE systems of usual parameters - (small q, , )
- but
- if d is very small, computation is much faster
- HFE systems with usual parameters seem to be very
similar to systems of random quadratic equations
33Number of Solutions of HFE Systems
34Distribution of Numbers of Solutions
35Hints Supporting this Assumption
- numbers of zeros of general polynomials are
distributed according to the Poisson distribution - arithmetic mean and variance of the distribution
of the numbers of zeros of HFE polynomials of
bounded degree is very similar to that of a
Poisson distribution
36Applications to HFE
- gives another hint that we may consider HFE
systems as systems of arbitrary quadratic
equations - allows to estimate the probabilities that
encryption or signing will fail and to compute
the amount of redundancy needed
37Solving Systems of Quadratic Equations
- I) General HFE Systems
- II) The Affine Multiple Attack
38Solving Systems of Quadratic Equations
- I) General HFE Systems
- II) The Affine Multiple Attack