Cryptology ePrint Archive: Report 2015/717

Towards Secure Cryptographic Software Implementation Against Side-Channel Power Analysis Attacks

Pei Luo and Liwei Zhang and Yunsi Fei and A. Adam Ding

Abstract: Side-channel attacks have been a real threat against many critical embedded systems that rely on cryptographic algorithms as their security engine. A commonly used algorithmic countermeasure, random masking, incurs large execution delay and resource overhead. The other countermeasure, operation shuffling or permutation, can mitigate side-channel leakage effectively with minimal overhead. In this paper, we target utilizing the independence among operations in cryptographic algorithms and randomizing their execution order. We design a tool to automatically detect such independence between statements at the source code level and devise an algorithm for automatic operation shuffling. We test our algorithm on the new SHA3 standard, Keccak. Results show that the tool has effectively implemented operation-shuffling to reduce the side-channel leakage significantly, and therefore can guide automatic secure cryptographic software implementations against differential power analysis attacks.

Category / Keywords: implementation /

Original Publication (with major differences): 26th IEEE International Conference on Application-specific Systems, Architectures and Processors

Date: received 18 Jul 2015

Contact author: silenceluo at gmail com

Available format(s): PDF | BibTeX Citation

Version: 20150720:065841 (All versions of this report)

Short URL: ia.cr/2015/717

Discussion forum: Show discussion | Start new discussion


[ Cryptology ePrint archive ]