Software Toolkit for HFE-based Multivariate Schemes

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 candidat...

Full description

Bibliographic Details
Main Authors: Jean-Charles Faugère, Ludovic Perret, Jocelyn Ryckeghem
Format: Article
Language:English
Published: Ruhr-Universität Bochum 2019-05-01
Series:Transactions on Cryptographic Hardware and Embedded Systems
Subjects:
Gui
Online Access:https://tches.iacr.org/index.php/TCHES/article/view/8296
id doaj-15b55c47a4c54b6da6389d65060c29c3
record_format Article
spelling doaj-15b55c47a4c54b6da6389d65060c29c32020-11-25T03:05:16ZengRuhr-Universität BochumTransactions on Cryptographic Hardware and Embedded Systems2569-29252019-05-012019310.13154/tches.v2019.i3.257-304Software Toolkit for HFE-based Multivariate SchemesJean-Charles Faugère0Ludovic Perret1Jocelyn Ryckeghem2CryptoNext; Sorbonne Université, CNRS, Laboratoire d’Informatique de Paris 6, LIP6, Équipe PolSys, 4 place Jussieu, F-75005, Paris; INRIA ParisCryptoNext; Sorbonne Université, CNRS, Laboratoire d’Informatique de Paris 6, LIP6, Équipe PolSys, 4 place Jussieu, F-75005, Paris; INRIA ParisSorbonne Université, CNRS, Laboratoire d’Informatique de Paris 6, LIP6, Équipe PolSys, 4 place Jussieu, F-75005, Paris; INRIA Paris 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 MQsoft, an efficient library which permits to implement HFE-based multivariate schemes submitted to the NIST PQC process such as GeMSS, Gui and DualModeMS. The library is implemented in C targeting Intel 64-bit processors and using avx2 set instructions. We present performance results for our library and its application to GeMSS, Gui and DualModeMS. In particular, we optimize several crucial parts for these schemes. These include root finding for HFE polynomials and evaluation of multivariate quadratic systems in F2. We propose a new method which accelerates root finding for specific HFE polynomials by a factor of two. For GeMSS and 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 F2n by a factor of 4 compared to the NTL library. Moreover, a large part of our implementation is protected against timing attacks. https://tches.iacr.org/index.php/TCHES/article/view/8296MQsoftefficient software implementationconstant-timeHFEv-GeMSSGui
collection DOAJ
language English
format Article
sources DOAJ
author Jean-Charles Faugère
Ludovic Perret
Jocelyn Ryckeghem
spellingShingle Jean-Charles Faugère
Ludovic Perret
Jocelyn Ryckeghem
Software Toolkit for HFE-based Multivariate Schemes
Transactions on Cryptographic Hardware and Embedded Systems
MQsoft
efficient software implementation
constant-time
HFEv-
GeMSS
Gui
author_facet Jean-Charles Faugère
Ludovic Perret
Jocelyn Ryckeghem
author_sort Jean-Charles Faugère
title Software Toolkit for HFE-based Multivariate Schemes
title_short Software Toolkit for HFE-based Multivariate Schemes
title_full Software Toolkit for HFE-based Multivariate Schemes
title_fullStr Software Toolkit for HFE-based Multivariate Schemes
title_full_unstemmed Software Toolkit for HFE-based Multivariate Schemes
title_sort software toolkit for hfe-based multivariate schemes
publisher Ruhr-Universität Bochum
series Transactions on Cryptographic Hardware and Embedded Systems
issn 2569-2925
publishDate 2019-05-01
description 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 MQsoft, an efficient library which permits to implement HFE-based multivariate schemes submitted to the NIST PQC process such as GeMSS, Gui and DualModeMS. The library is implemented in C targeting Intel 64-bit processors and using avx2 set instructions. We present performance results for our library and its application to GeMSS, Gui and DualModeMS. In particular, we optimize several crucial parts for these schemes. These include root finding for HFE polynomials and evaluation of multivariate quadratic systems in F2. We propose a new method which accelerates root finding for specific HFE polynomials by a factor of two. For GeMSS and 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 F2n by a factor of 4 compared to the NTL library. Moreover, a large part of our implementation is protected against timing attacks.
topic MQsoft
efficient software implementation
constant-time
HFEv-
GeMSS
Gui
url https://tches.iacr.org/index.php/TCHES/article/view/8296
work_keys_str_mv AT jeancharlesfaugere softwaretoolkitforhfebasedmultivariateschemes
AT ludovicperret softwaretoolkitforhfebasedmultivariateschemes
AT jocelynryckeghem softwaretoolkitforhfebasedmultivariateschemes
_version_ 1724679561286778880