MPHELL: A fast and robust library with unified and versatile arithmetics for elliptic curves cryptography (extended version) - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2021

MPHELL: A fast and robust library with unified and versatile arithmetics for elliptic curves cryptography (extended version)

Résumé

We propose a new versatile elliptic curves cryptography library based on unified arithmetics and various low-level arithmetics with a focus on protection against simple power analysis and an abstract layer for easy customisations. The implementations are oriented toward industrial applications and embedded devices. The number arithmetic used in the library is partly inherited from GMP with several improvements using adapted Montgomery representation and windowing techniques. We also present an improved AMNS (Adapted Modular Number System) arithmetic with competitive running time. The abstraction layer allows for the integration of external arithmetics (e.g., other libraries or hardware co-processor), general number systems and randomization of arithmetics. The library has the advantage of proposing standard elliptic curves but gives also the possibility to use curves in different settings such as Weierstrass form in co-Z coordinates, Jacobi quartic or Edwards forms (as well as their associated conversions functions). It has been extensively tested on x86-64, ARM 32/64 bits, STM32 architectures and also in real-world applications. We present some comparative elliptic curves signatures timings for different curves without taking into account the specificity of the curves in our library (as opposed to OpenSSL for instance).
Fichier principal
Vignette du fichier
CEH_mphellARITH2021_Hal.pdf (852.83 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03284677 , version 1 (12-07-2021)

Identifiants

  • HAL Id : hal-03284677 , version 1

Citer

Titouan Coladon, Philippe Elbaz-Vincent, Cyril Hugounenq. MPHELL: A fast and robust library with unified and versatile arithmetics for elliptic curves cryptography (extended version). ARITH 2021, Jun 2021, Torino, Italy. ⟨hal-03284677⟩
124 Consultations
118 Téléchargements

Partager

Gmail Facebook X LinkedIn More