A new secure stream cipher for scan chain encryption

Mathieu da Silva 1 Emanuele Valea 1 Marie-Lise Flottes 1 Sophie Dupuis 1 Giorgio Di Natale 1 Bruno Rouzeyre 1
1 TEST - TEST
LIRMM - Laboratoire d'Informatique de Robotique et de Microélectronique de Montpellier
Abstract : The accessibility to the internal IP cores of Systems on Chip (SoC) provided by the testing infrastructures is a serious security threat. It has been known for many years that the scan chains can be exploited to retrieve secret keys of crypto-processors. Encryption of the scan chain content is one of the proposed techniques to overtake this threat. Many proposals are based on stream ciphers, due to their moderate area cost compared to that of block ciphers. Stream ciphers encrypt data serially with a keystream generated from an Initialization Vector (IV) and a secret key. Stream ciphers have a crucial limitation concerning the encryption of different data with the same keystream, called two times pad. Not enough caution in the IV and secret key management has been exercised in previous proposed works. In this paper, we show how the existing implementations can be exploited to perform a scan attack bypassing the encryption of the scan data. We also present a new implementation of scan chain encryption with a stream cipher, based on the IV generation by a True Random Number Generator (TRNG). Finally, we show that this new implementation is robust against the aforementioned attack.
Complete list of metadatas

Cited literature [17 references]  Display  Hide  Download

https://hal-lirmm.ccsd.cnrs.fr/lirmm-01867256
Contributor : Mathieu da Silva <>
Submitted on : Tuesday, September 4, 2018 - 10:49:42 AM
Last modification on : Monday, October 7, 2019 - 3:32:03 PM
Long-term archiving on : Wednesday, December 5, 2018 - 2:09:24 PM

File

IVSW18-camera-ready-v2.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : lirmm-01867256, version 1

Collections

Citation

Mathieu da Silva, Emanuele Valea, Marie-Lise Flottes, Sophie Dupuis, Giorgio Di Natale, et al.. A new secure stream cipher for scan chain encryption. IVSW: International Verification and Security Workshop, Jul 2018, Platja d’Aro, Spain. ⟨lirmm-01867256⟩

Share

Metrics

Record views

238

Files downloads

82