This year COSIC participates in three accepted papers to appear at CHES 2017. CHES is an IACR area conference specialising in cryptographic hardware and
embedded devices. This year the conference will be held in Taipei next September 25-28. The papers authored by COSICs range from research on homomorphic encryption through efficient and secure implementation of a state-of-the-art elliptic curve on embedded devices to fast tools for side-channel security assessments.
These papers come fresh from the oven. We will present them just before the conference at COSIC in a date to be specified. Stay tuned, enjoy and… smakelijk!
Faster Homomorphic Function Evaluation using Non-Integral Base Encoding

Charlotte Bonte*, Joppe Bos (NXP), Carl Bootland*, Wouter Castryck (Université de Lille-1 and *), Ilia Iliashenko*, Frederik Vercauteren*
https://eprint.iacr.org/2017/333
Abstract: In this paper we present an encoding method for real numbers tailored for homomorphic function evaluation. The choice of the degree of the polynomial modulus used in all popular somewhat homomorphic encryption schemes is dominated by security considerations, while with the current encoding techniques the correctness requirement allows for much smaller values. We introduce a generic encoding method using expansions with respect to a non-integral base, which exploits this large degree at the benefit of reducing the growth of the coefficients when performing homomorphic operations. This allows one to choose a smaller plaintext coefficient modulus which results in a significant reduction of the running time. We illustrate our approach by applying this encoding in the setting of homomorphic electricity load forecasting for the smart grid which results in a speed-up by a factor 13 compared to previous work, where encoding was done using balanced ternary expansions.
FourQ for embedded devices with strong countermeasures against side-channel attacks
Zhe Liu (University of Luxemburg and University of Waterloo, Canada), Patrick Longa (Microsoft Research), Geovandro Pereira (University of Waterloo, Canada), Oscar Reparaz*, Hwajeong Seo (Hansung University, Korea)
https://eprint.iacr.org/2017/434.pdf
Abstract: This work deals with the high-speed, high-security implementation of elliptic curve scalar multiplication and elliptic curve Diffie-Hellman (ECDH) key exchange on embedded devices using FourQ and incorporating strong countermeasures to thwart a wide variety of side-channel attacks. First, we set new speed records for constant-time elliptic curve scalar multiplication and ECDH key exchange with implementations targeting 8, 16 and 32-bit microcontrollers. For example, our software computes a static ECDH shared secret in 7.2 million cycles (or 0.9 seconds @8MHz) on a low-power 8-bit AVR microcontroller which, compared to the fastest Curve25519 and genus 2 Kummer implementations on the same platform, offers 1.9x and 1.4x speedups, respectively. Similarly, it computes the same operation in 559 thousand cycles on a 32-bit ARM Cortex-M4 microcontroller, achieving a factor-2.5 speedup when compared to the fastest Curve25519 implementation targeting the same platform. Second, we engineer a set of side-channel countermeasures taking advantage of FourQ’s rich arithmetic and propose a secure implementation that offers protection against a wide range of sophisticated side-channel attacks, including differential power analysis (DPA). Despite the use of strong countermeasures, our FourQ software is still efficient enough to outperform implementations of Curve25519 that only protect against timing attacks. Finally, we perform a differential power analysis evaluation of our software running on an ARM Cortex-M4, and report that no leakage was detected with up to 10 million traces. These results demonstrate the potential of deploying FourQ on low-power applications such as protocols for the Internet of Things (IoT). Code available at https://github.com/Microsoft/FourQlib , https://github.com/geovandro/microFourQ-AVR and https://github.com/geovandro/microFourQ-MSP.
Fast Leakage Assessment
Oscar Reparaz*, Benedikt Gierlichs*, Ingrid Verbauwhede*
Abstract: In this paper we describe a fast technique for performing the computationally heavy part of leakage assessment, in any statistical moment or other property of the leakage samples distributions. The proposed technique outperforms by orders of magnitude the approach presented at CHES 2015 by Schneider and Moradi. We can carry out evaluations that before took 90 cpu-days in 4 cpu-hours (about a x500-fold speed-up). As a bonus, we can deal with exact arithmetic, we can apply kernel-based density estimation methods, we can employ arbitrary pre-processing functions such as absolute difference to power traces, and we can perform information-theoretic leakage assessment. Our trick is simple and elegant, and lends itself to an easy and compact implementation. We fit a prototype implementation in about 130 lines of C code.
* Affiliation: imec-COSIC KU Leuven
Thanks to Oscar Reparaz for writing this blog post!


