• DocumentCode
    3069541
  • Title

    Constant time encryption as a countermeasure against remote cache timing attacks

  • Author

    Jayasinghe, Danushka ; Ragel, Roshan ; Elkaduwe, D.

  • Author_Institution
    Dept. of Comput. Eng., Univ. of Peradeniya, Peradeniya, Sri Lanka
  • fYear
    2012
  • fDate
    27-29 Sept. 2012
  • Firstpage
    129
  • Lastpage
    134
  • Abstract
    Rijndael was standardized in 2001 by National Institute of Standard and Technology as the Advanced Encryption Standard (AES). AES is still being used to encrypt financial, military and even government confidential data. In 2005, Bernstein illustrated a remote cache timing attack on AES using the client-server architecture and therefore proved a side channel in its software implementation. Over the years, a number of countermeasures have been proposed against cache timing attacks both using hardware and software. Although the software based countermeasures are flexible and easy to deploy, most of such countermeasures are vulnerable to statistical analysis. In this paper, we propose a novel software based countermeasure against cache timing attacks, known as constant time encryption, which we believe is secure against statistical analysis. The countermeasure we proposed performs rescheduling of instructions such that the encryption rounds will consume constant time independent of the cache hits and misses. Through experiments, we prove that our countermeasure is secure against Bernstein´s cache timing attack.
  • Keywords
    cache storage; client-server systems; cryptography; statistical analysis; AES; Rijndael; advanced encryption standard; client-server architecture; constant time encryption; national institute of standard and technology; remote cache timing attacks; software based countermeasure; software implementation; statistical analysis; Clocks; Computers; Encryption; Hardware; Software; Timing; cache timing attack; constant time encryption; side channel;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Information and Automation for Sustainability (ICIAfS), 2012 IEEE 6th International Conference on
  • Conference_Location
    Beijing
  • Print_ISBN
    978-1-4673-1976-8
  • Type

    conf

  • DOI
    10.1109/ICIAFS.2012.6419893
  • Filename
    6419893