IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v8y2020i10p1837-d431114.html
   My bibliography  Save this article

Efficient Implementation of ARX-Based Block Ciphers on 8-Bit AVR Microcontrollers

Author

Listed:
  • YoungBeom Kim

    (Department of Information Security, Cryptology, and Mathematics, Kookmin University, Seoul 02707, Korea)

  • Hyeokdong Kwon

    (Division of IT Convergence Engineering, Hansung University, lSeoul 136792, Korea)

  • SangWoo An

    (Department of Financial Information Security, Kookmin University, Seoul 02707, Korea)

  • Hwajeong Seo

    (Division of IT Convergence Engineering, Hansung University, lSeoul 136792, Korea)

  • Seog Chung Seo

    (Department of Information Security, Cryptology, and Mathematics, Kookmin University, Seoul 02707, Korea)

Abstract

As the development of Internet of Things (IoT), the data exchanged through the network has significantly increased. To secure the sensitive data with user’s personal information, it is necessary to encrypt the transmitted data. Since resource-constrained wireless devices are typically used for IoT services, it is required to optimize the performance of cryptographic algorithms which are computation-intensive tasks. In this paper, we present efficient implementations of ARX-based Korean Block Ciphers (HIGHT and LEA) with CounTeR (CTR) mode of operation, and CTR_DRBG, one of the most widely used DRBGs (Deterministic Random Bit Generators), on 8-bit AVR Microcontrollers (MCUs). Since 8-bit AVR MCUs are widely used for various types of IoT devices, we select it as the target platform in this paper. We present an efficient implementation of HIGHT and LEA by making full use of the property of CTR mode, where the nonce value is fixed, and only the counter value changes during the encryption. On our implementation, the cost of additional function calls occurred by the generation of look-up table can be reduced. With respect to CTR_DRBG, we identified several parts that do not need to be computed. Thus, precomputing those parts in offline and using them online can result in performance improvements for CTR_DRBG. Furthermore, we applied several optimization techniques by making full use of target devices’ characteristics with AVR assembly codes on 8-bit AVR MCUs. Our proposed table generation way can reduce the cost for building a precomputation table by around 6.7% and 9.1% in the case of LEA and HIGHT, respectively. Proposed implementations of LEA and HIGHT with CTR mode on 8-bit AVR MCUs provide 6.3% and 3.8% of improved performance, compared with the previous best results, respectively. Our implementations are the fastest compared to previous LEA and HIGHT implementations on 8-bit AVR MCUs. In addition, the proposed CTR_DRBG implementations on AVR provide better performance by 37.2% and 8.7% when the underlying block cipher is LEA and HIGHT, respectively.

Suggested Citation

  • YoungBeom Kim & Hyeokdong Kwon & SangWoo An & Hwajeong Seo & Seog Chung Seo, 2020. "Efficient Implementation of ARX-Based Block Ciphers on 8-Bit AVR Microcontrollers," Mathematics, MDPI, vol. 8(10), pages 1-22, October.
  • Handle: RePEc:gam:jmathe:v:8:y:2020:i:10:p:1837-:d:431114
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/8/10/1837/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/8/10/1837/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:8:y:2020:i:10:p:1837-:d:431114. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.