CAMFAS: A Compiler Approach to Mitigate Fault Attacks via Enhanced SIMDization

2017 Workshop on Fault Diagnosis and Tolerance in Cryptography (FDTC)(2017)

引用 10|浏览122
暂无评分
摘要
The trend of supporting wide vector units in general purpose microprocessors suggests opportunities for developing a new and elegant compilation approach to mitigate the impact of faults to cryptographic implementations, which we present in this work. We propose a compilation flow, CAMFAS, to automatically and selectively introduce vectorization in a cryptographic library - to translate a vanilla library into a library with vectorized code that is resistant to glitches. Unlike in traditional vectorization, the proposed compilation flow uses the extent of the vectors to introduce spatial redundancy in the intermediate computations. By doing so, without significantly increasing code size and execution time, the compilation flow provides sufficient redundancy in the data to detect errors in the intermediate values of the computation. Experimental results show that the proposed approach only generates an average of 26% more dynamic instructions over a series of asymmetric cryptographic algorithms in the Libgcrypt library.
更多
查看译文
关键词
vanilla library,vectorized code,compilation flow,code size,execution time,asymmetric cryptographic algorithms,Libgcrypt library,CAMFAS,compiler approach,fault attacks,enhanced SIMDization,wide vector units,general purpose microprocessors,cryptographic implementations,cryptographic library,dynamic instructions
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要