Player. This layer consists of a linear bit-wise permutation where each bit i of the state (bi) is moved to another position P (i) according to Table 2. Table 1. 4-bit PRESENT Sbox S[x] c 5 6 b 9 0 a d 3 e f 8 4 7 1 2 Table 2. Permutation table of PRESENT i 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 P (i) 0 16 32 48 1 17 33 49 2 18 34 50 3 19 35 51 i 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 P (i) 4 20 36 52 5 21 37 53 6 22 38 54 7 23 39 55 i 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 P (i) 8 24 40 56 9 25 41 57 10 26 42 58 11 27 43 59 i 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 Finally, the round subkeys are generated as follows. Given a key K of 80 bits s.t. K79, K78, ..., K0, a round key i of 64 bits is the 64 left most bits of K updated via the following operations:
Appears in 2 contracts
Sources: End User Agreement, End User Agreement