Rivain-Prouff on Steroids: Faster and Stronger Masking of the AES

被引:2
|
作者
dos Santos, Luan Cardoso [1 ]
Gerard, Francois [1 ]
Grossschadl, Johann [1 ]
Spignoli, Lorenzo [1 ]
机构
[1] Univ Luxembourg, DCS & SnT, 6 Ave Fonte, L-4364 Esch Sur Alzette, Luxembourg
基金
欧洲研究理事会;
关键词
D O I
10.1007/978-3-031-25319-5_7
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
At CHES 2010, Rivain and Prouff (RP) introduced an elegant masking technique to protect the Advanced Encryption Standard (AES) against power analysis attacks. RP masking is provable secure in the probing model, but this solid theoretical underpinning comes at the cost of a massive increase in execution time. In this paper, we describe software optimization methods to accelerate the low-level arithmetic in the field F-28, which has a significant impact on the overall performance of a masked implementation of the AES. Among these optimizations is an improved technique for table-based multiplication in F-28 that allows one to avoid the special treatment of 0-values, thereby speeding up the multiplication of masked operands. Furthermore, we introduce a novel exponentiation-based algorithm for inversion in F-28, which reduces the overall number of table look-ups and the amount of randomness needed for the refreshing of masks compared to the original RP inversion. This new inversion provides some advanced (theoretical) security properties for the composition of gadgets, e.g. Strong Non-Interference (SNI) and Probe Isolating Non-Interference (PINI). We also describe a prototype implementation of a first-order masked inversion and AES encryption in ARMv7-M Assembly language. According to our simulation results, the first-order masked AES has an execution time of about 25k clock cycles per block when using a generic Cortex-M3 as target platform, which is roughly twice as fast as the RP-masked AES Assembly implementation presented at EUROCRYPT 2017 by Goudarzi and Rivain.
引用
收藏
页码:123 / 145
页数:23
相关论文
共 1 条
  • [1] Prouff and Rivain's Formal Security Proof of Masking, Revisited Tight Bounds in the Noisy Leakage Model
    Masure, Loic
    Standaert, Francois-Xavier
    ADVANCES IN CRYPTOLOGY - CRYPTO 2023, PT III, 2023, 14083 : 343 - 376