SLIDE 32 Ingrid Verbauwhede, K.U.Leuven - COSIC 32
KUL - COSIC ECRYPT Summer School - 63 Albena, May 2011 Christof Paar, MEAD Course „Cryptographic Engineering“, Sept. 2009
Bit Slicing: Alternative Data Representation Bit Slicing: Alternative Data Representation
- Introduced by Biham, 1997
- each register contains 1 bit of, e.g.,
32 blocks
- pipelining (=parallelization) of n
encryptions bit 1, block n bit 1, block 1 bit 2, block 1 bit 2, block n Block 1 Block n Block 2
…
64 bit 64, block 1 bit 64 , block n
…
register (n=16, 32, 64)
16/32/64 one-bit parallel processors
(Single-instruction multiple-data) processor
Encryption with Bit Slicing (1): Permutations Encryption with Bit Slicing (1): Permutations
bit 1, block n bit 1, block 1 bit 2, block 1 bit 2, block n bit 64, block 1 bit 64 , block n
…
bit 1 , block n bit 2, block n bit 2, block 1 bit 64, block 1 bit 64, block n bit 1, block 1
…
Bit permuation is realized by re-ordering of registers (in practice: re-ordering of pointers) Ex: 64-64 bit permutation:
Christof Paar, MEAD Course „Cryptographic Engineering“, Sept. 2009