Skip to Main content Skip to Navigation
Conference papers

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 metadata

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, May 31, 2021 - 1:16:27 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

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. 3rd IEEE International Verification and Security Workshop (IVSW 2018), Jul 2018, Platja d’Aro, Spain. pp.68-73, ⟨10.1109/IVSW.2018.8494852⟩. ⟨lirmm-01867256⟩

Share

Metrics

Record views

358

Files downloads

306