• DocumentCode
    145382
  • Title

    Speeding up Counter Mode in Software and Hardware

  • Author

    Gueron, Shay ; Krasnov, Vlad

  • Author_Institution
    Dept. of Math., Univ. of Haifa, Haifa, Israel
  • fYear
    2014
  • fDate
    7-9 April 2014
  • Firstpage
    338
  • Lastpage
    340
  • Abstract
    Counter mode is one of the standard modes of operation for block ciphers. It has performance advantages due to its high parallelism. For a given key and a 96-bit IV, a 128-bit ciphertext block is computed by XOR-ing the corresponding plaintext block with the encryption of a unique 128-bit Counter Block. The Counter Block values are generated by incrementing a 32-bit counter that is concatenated to the 96-bit IV. In this paper, we show how to leverage the fact that the only 32 bits of the Counter Block are incremented, to gain a noticeable improvement in software implementations, and savings in hardware implementations for AES-CTR mode. We show a new optimization that speeds up a table-based software implementation by a factor of 1.11x on the 2nd Generation Intel Core Processor, and by 1.08x when using the AES-NI. This optimization speeds up the CTR mode by a factor of 1.18x on the 4th Generation Intel Core Processor.
  • Keywords
    counting circuits; cryptography; microprocessor chips; 128-bit ciphertext block; 128-bit counter block; 2nd generation Intel core processor; 4th generation Intel core processor; 96-bit IV; AES-CTR mode; AES-NI; CTR mode; block ciphers; counter mode speed up; hardware implementations; table-based software implementation; Bridges; Ciphers; Encryption; Hardware; Optimization; Radiation detectors; Software; AES; AES-CCM; AES-CTR; AES-GCM; Counter mode; optimization;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Information Technology: New Generations (ITNG), 2014 11th International Conference on
  • Conference_Location
    Las Vegas, NV
  • Print_ISBN
    978-1-4799-3187-3
  • Type

    conf

  • DOI
    10.1109/ITNG.2014.32
  • Filename
    6822220