SCA-Resistant GCM Implementation on 8-Bit AVR Microcontrollers

被引:7
|
作者
Seo, Seog Chung [1 ]
Kim, Heeseok [2 ]
机构
[1] Kookmin Univ, Dept Informat Secur Cryptol & Math, Seoul 02707, South Korea
[2] Korea Univ, Dept Cyber Secur, Sejong 30019, South Korea
来源
IEEE ACCESS | 2019年 / 7卷
基金
新加坡国家研究基金会;
关键词
Secure binary field multiplication; Galois/counter mode (GCM) mode; masking; side channel analysis (SCA); authenticated encryption (AE); simple power analysis (SPA); timing analysis (TA); differential power analysis (DPA); correlation power analysis (CPA); EFFICIENT IMPLEMENTATION; CRYPTOGRAPHY;
D O I
10.1109/ACCESS.2019.2930986
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Galois/counter mode (GCM) is one of the most widely used authenticated encryptions. To date, even though some works have investigated the security against side channel analysis (SCA) in the process of GCM computation, especially GHASH function, they failed to present comprehensive SCA security in consideration of both SPA/TA and DPA/CPA aspects simultaneously. In this paper, we present a secure GCM implementation on 8-bit AVR microcontroller environments. The proposed implementation provides comprehensive SCA security in consideration of not only SPA/TA but also DPA/CPA. In order to defeat SPA/TA, we introduce the concepts of dummy XOR with garbage registers and instruction level atomicity (ILA) and also present secure binary field (BF) multiplication method using them, which runs in a constant-time and fixed pattern. We also propose an efficient multiplicative masking method which can prevent DPA/CPA when computing GHASH function in the GCM process. Through actual implementation of the proposed method on an 8-bit AVR ATmega128 microcontroller, we show that the proposed method outperforms existing alternatives while providing comprehensive SCA security. With respect to the performance of secure binary field multiplication, the proposed multiplication method outperforms the related work by around 51.86% when computing a 128-bit binary field multiplication. Regarding the overhead of the multiplicative masking method, the proposed method requires only one additional BF multiplication and negligible amount of field additions regardless of the number of input blocks, while the related work consumes around the {log(m + n + 1) + 2} number of additional BF multiplications when there are (m + n + 1) input blocks. Through SCA-related experiments, we prove the SCA security of the proposed methods.
引用
收藏
页码:103961 / 103978
页数:18
相关论文
共 50 条
  • [1] Highly Efficient SCA-Resistant Binary Field Multiplication on 8-Bit AVR Microcontrollers
    Seo, Seog Chung
    Kwon, Donggeun
    APPLIED SCIENCES-BASEL, 2020, 10 (08):
  • [2] Efficient Implementation of eSTREAM Ciphers on 8-bit AVR Microcontrollers
    Meiser, Gordon
    Eisenbarth, Thomas
    Lemke-Rust, Kerstin
    Paar, Christof
    2008 INTERNATIONAL SYMPOSIUM ON INDUSTRIAL EMBEDDED SYSTEMS, 2008, : 58 - 66
  • [3] Masked Implementation of PIPO Block Cipher on 8-bit AVR Microcontrollers
    Kim, Hyunjun
    Sim, Minjoo
    Eum, Siwoo
    Jang, Kyungbae
    Song, Gyeongju
    Kim, Hyunji
    Kwon, Hyeokdong
    Lee, Wai-Kong
    Seo, Hwajeong
    INFORMATION SECURITY APPLICATIONS, 2021, 13009 : 171 - 182
  • [4] Efficient Implementation of ARX-Based Block Ciphers on 8-Bit AVR Microcontrollers
    Kim, YoungBeom
    Kwon, Hyeokdong
    An, SangWoo
    Seo, Hwajeong
    Seo, Seog Chung
    MATHEMATICS, 2020, 8 (10) : 1 - 22
  • [5] Implementation of Vernier TDCs in 8-bit Microcontrollers
    Bengtsson, Lars E.
    2014 IEEE INTERNATIONAL INSTRUMENTATION AND MEASUREMENT TECHNOLOGY CONFERENCE (I2MTC) PROCEEDINGS, 2014, : 1 - 4
  • [6] Efficient and Secure Elliptic Curve Cryptography for 8-bit AVR Microcontrollers
    Nascimento, Erick
    Lopez, Julio
    Dahab, Ricardo
    SECURITY, PRIVACY, AND APPLIED CRYPTOGRAPHY ENGINEERING (SPACE 2015), 2015, 9354 : 289 - 309
  • [7] On the implementation of melody recognition on 8-bit and 16-bit microcontrollers
    Jang, JSR
    Jang, YS
    ICICS-PCM 2003, VOLS 1-3, PROCEEDINGS, 2003, : 704 - 708
  • [8] Lightweight Post-quantum Key Encapsulation for 8-bit AVR Microcontrollers
    Cheng, Hao
    Grossschaedl, Johann
    Ronne, Peter B.
    Ryan, Peter Y. A.
    SMART CARD RESEARCH AND ADVANCED APPLICATIONS, CARDIS 2020, 2021, 12609 : 18 - 33
  • [9] New Speed Records for Montgomery Modular Multiplication on 8-Bit AVR Microcontrollers
    Liu, Zhe
    Grossschaedl, Johann
    PROGRESS IN CRYPTOLOGY - AFRICACRYPT 2014, 2014, 8469 : 215 - 234
  • [10] 8-BIT AND 16-BIT MICROCONTROLLERS
    MOSLEY, JD
    EDN, 1989, 34 (20) : 108 - &