Software Toolkit for HFE-based Multivariate Schemes - INRIA - Institut National de Recherche en Informatique et en Automatique Accéder directement au contenu
Communication Dans Un Congrès Année : 2019

Software Toolkit for HFE-based Multivariate Schemes

Jean-Charles Faugère
Ludovic Perret
  • Fonction : Auteur
  • PersonId : 935330
  • IdRef : 123278864

Résumé

In 2017, NIST shook the cryptographic world by starting a process for standardizing post-quantum cryptography. Sixty-four submissions have been considered for the first round of the on-going NIST Post-Quantum Cryptography (PQC) process. Multivariate cryptography is a classical post-quantum candidate that turns to be the most represented in the signature category. At this stage of the process, it is of primary importance to investigate efficient implementations of the candidates. This article presents {\tt MQsoft}, an efficient library which permits to implement {\tt HFE}-based multivariate schemes submitted to the NIST PQC process such as {\sf G{\it e}MSS}, {\tt Gui} and {\sf DualModeMS}. The library is implemented in \verb|C| targeting Intel 64-bit processors and using \verb|avx2| set instructions. We present performance results for our library and its application to {\sf G{\it e}MSS}, {\tt Gui} and {\sf DualModeMS}. In particular, we optimize several crucial parts for these schemes. These include root finding for {\tt HFE} polynomials and evaluation of multivariate quadratic systems in $\mathbb{F}_2$. We propose a new method which accelerates root finding for specific {\tt HFE} polynomials by a factor of two. For {\sf G{\it e}MSS} and {\tt Gui}, we obtain a speed-up of a factor between $2$ and $19$ for the keypair generation, between $1.2$ and $2.5$ for the signature generation, and between $1.6$ and $2$ for the verifying process. We have also improved the arithmetic in $\mathbb{F}_{2^n}$ by a factor of $4$ compared to the \verb|NTL| library. Moreover, a large part of our implementation is protected against timing attacks.
Fichier principal
Vignette du fichier
software_toolkit.pdf (879.4 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-02389747 , version 1 (02-12-2019)

Identifiants

Citer

Jean-Charles Faugère, Ludovic Perret, Jocelyn Ryckeghem. Software Toolkit for HFE-based Multivariate Schemes. CHES 2019 : International Conference on Cryptographic Hardware and Embedded Systems, Aug 2019, Atlanta, United States. pp.257-304, ⟨10.13154/tches.v2019.i3.257-304⟩. ⟨hal-02389747⟩
237 Consultations
244 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More