Secure silicon: Towards virtual prototyping

Laurent Sauvage, Sofiane Takarabt, Youssef Souissi

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Evaluating security vulnerabilities of software implementations at design step is of primary importance for applications developers, while it has received litte attention from scientific community. In this paper, wed escribe virtual prototyping of an implementation of scalar multiplication aiming to make it secure against simple side-channel attacks. Reproducing information leakage as close to reality as possible requires bitand clock-cycle accuracy, we got with Mentor Graphics Modelsim tool, simulating the execution of the software implementations on PULPino, an open-source 32-bit microcontroller based on the recently released RISC-V instruction set architecture. For each clock cycle, we compute the number of bit toggles into microcontroller, an image of the power consumption, and watch the program counter to identify the assembly instruction executed, then the corresponding C function. We first start with a naive double-and-add implementation relying on cryptographic primitives of the mbed TLS library, formerly PolarSSL before acquisition by ARM. The virtual analysis pinpoints differences in the way the double function on one side and the add function on the other side manage variables and internal operations, which can be used to extract the private key. We propose some modifications of the C code, hence independent of the considered microcontroller, then we compare the impact on performances with other solutions such as Montgomery ladder, most used in practice as more efficient.

Original languageEnglish
Title of host publication2017 International Symposium on Electromagnetic Compatibility - EMC EUROPE 2017, EMC Europe 2017
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9781538606896
DOIs
Publication statusPublished - 2 Nov 2017
Externally publishedYes
Event2017 International Symposium on Electromagnetic Compatibility - EMC EUROPE, EMC Europe 2017 - Angers, France
Duration: 4 Sept 20178 Sept 2017

Publication series

Name2017 International Symposium on Electromagnetic Compatibility - EMC EUROPE 2017, EMC Europe 2017

Conference

Conference2017 International Symposium on Electromagnetic Compatibility - EMC EUROPE, EMC Europe 2017
Country/TerritoryFrance
CityAngers
Period4/09/178/09/17

Fingerprint

Dive into the research topics of 'Secure silicon: Towards virtual prototyping'. Together they form a unique fingerprint.

Cite this