• DocumentCode
    1653203
  • Title

    Arbitrary bit permutations in one or two cycles

  • Author

    Shi, Zhijie ; Yang, Xiao ; Lee, Ruby B.

  • Author_Institution
    Dept. of Electr. Eng., Princeton Univ., NJ, USA
  • fYear
    2003
  • Firstpage
    237
  • Lastpage
    247
  • Abstract
    Symmetric-key block ciphers encrypt data, providing data confidentiality over the public Internet. For interoperability reasons, it is desirable to support a variety of symmetric-key ciphers efficiently. We show the basic operations performed by a variety of symmetric-key cryptography algorithms. Of these basic operations, only bit permutation is very slow using existing processors, followed by integer multiplication. New instructions have been proposed recently to accelerate bit permutations in general-purpose processors, reducing the instructions needed to achieve an arbitrary n-bit permutation from O(n) to O(log(n)). However, the serial data-dependency between these log(n) permutation instructions prevents them from being executed in fewer than log(n) cycles, even on superscalar processors. Since application specific instruction processors (ASIPs) have fewer constraints on maintaining standard processor datapath and control conventions, can we achieve even faster permutations? We propose six alternative ASIP approaches to achieve arbitrary 64 bit permutations in one or two cycles, using new BFLY and IBFLY instructions. This reduction to one or two cycles is achieved without increasing the cycle time. We compare the latencies of different permutation units in a technology independent way to estimate cycle time impact. We also compare the alternative ASIP architectures and their efficiency in performing arbitrary 64 bit permutations.
  • Keywords
    Internet; block codes; computer architecture; cryptography; instruction sets; multiprocessing systems; open systems; 64 bit; BFLY instruction; IBFLY instruction; application specific instruction processor; arbitrary bit permutation; cryptography algorithm; symmetric key cipher; Acceleration; Application specific processors; Computer networks; Cryptography; Delay; IP networks; Internet; Pervasive computing; Signal processing algorithms; Table lookup;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Application-Specific Systems, Architectures, and Processors, 2003. Proceedings. IEEE International Conference on
  • ISSN
    2160-0511
  • Print_ISBN
    0-7695-1992-X
  • Type

    conf

  • DOI
    10.1109/ASAP.2003.1212847
  • Filename
    1212847