Revisiting Higher-Order Masked Comparison for Lattice-Based Cryptography: Algorithms and Bit-Sliced Implementations

被引:5
|
作者
D'Anvers, Jan-Pieter [1 ]
Van Beirendonck, Michiel [1 ]
Verbauwhede, Ingrid [1 ]
机构
[1] Katholieke Univ Leuven, Imec, COSIC, Leuven, Belgium
基金
比利时弗兰德研究基金会; 欧盟地平线“2020”;
关键词
Encryption; Arithmetic; Security; Side-channel attacks; Costs; Standards; NIST; Post-quantum cryptography; lattice-based cryptography; side-channel protection; masking; ATTACKS;
D O I
10.1109/TC.2022.3197074
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Marked comparison is one of the most expensive operations in side-channel secure implementations of lattice-based post-quantum cryptography, especially for higher masking orders. First, we introduce two new masked comparison algorithms, which improve the arithmetic comparison of D'Anvers et al. (2021) and the hybrid comparison method of Coron et al. (2021) respectively. We then look into implementation-specific optimizations, and show that small specific adaptations can have a significant impact on the overall performance. Finally, we implement various state-of-the-art comparison algorithms and benchmark them on the same platform (ARM-Cortex M4) to allow a fair comparison between them. We improve on the arithmetic comparison of D'Anvers et al. with a factor asymptotic to 20% by using Galois Field multiplications and the hybrid comparison of Coron et al. with a factor asymptotic to 25% by streamlining the design. Our implementation-specific improvements allow a speedup of a straightforward comparison implementation of asymptotic to 33%. We discuss the differences between the various algorithms and provide the implementations and a testing framework to ease future research.
引用
收藏
页码:321 / 332
页数:12
相关论文
共 3 条
  • [1] Higher-Order Masked Ciphertext Comparison for Lattice-Based Cryptography
    D’anvers J.-P.
    Heinz D.
    Pessl P.
    Van Beirendonck M.
    Verbauwhede I.
    IACR Transactions on Cryptographic Hardware and Embedded Systems, 2022, 2022 (02): : 115 - 139
  • [2] Efficient Implementations of Sieving and Enumeration Algorithms for Lattice-Based Cryptography
    Satilmis, Hami
    Akleylek, Sedat
    Lee, Cheng-Chi
    MATHEMATICS, 2021, 9 (14)
  • [3] Attacking and defending masked polynomial comparison for lattice-based cryptography
    Bhasin S.
    D’anvers J.-P.
    Heinz D.
    Pöppelmann T.
    Van Beirendonck M.
    IACR Transactions on Cryptographic Hardware and Embedded Systems, 2021, 2021 (03): : 334 - 359