/third_party/openssl/crypto/sha/ |
D | keccak1600.c | 47 static uint64_t ROL64(uint64_t val, int offset) in ROL64() function 136 D[0] = ROL64(C[1], 1) ^ C[4]; in Theta() 137 D[1] = ROL64(C[2], 1) ^ C[0]; in Theta() 138 D[2] = ROL64(C[3], 1) ^ C[1]; in Theta() 139 D[3] = ROL64(C[4], 1) ^ C[2]; in Theta() 140 D[4] = ROL64(C[0], 1) ^ C[3]; in Theta() 156 A[y][0] = ROL64(A[y][0], rhotates[y][0]); in Rho() 157 A[y][1] = ROL64(A[y][1], rhotates[y][1]); in Rho() 158 A[y][2] = ROL64(A[y][2], rhotates[y][2]); in Rho() 159 A[y][3] = ROL64(A[y][3], rhotates[y][3]); in Rho() [all …]
|
/third_party/python/Modules/_sha3/kcp/ |
D | KeccakP-1600-64.macros | 48 Da = Cu^ROL64(Ce, 1); \ 49 De = Ca^ROL64(Ci, 1); \ 50 Di = Ce^ROL64(Co, 1); \ 51 Do = Ci^ROL64(Cu, 1); \ 52 Du = Co^ROL64(Ca, 1); \ 57 Bbe = ROL64(A##ge, 44); \ 59 Bbi = ROL64(A##ki, 43); \ 61 Bbo = ROL64(A##mo, 21); \ 63 Bbu = ROL64(A##su, 14); \ 77 Bga = ROL64(A##bo, 28); \ [all …]
|
D | KeccakP-1600-opt64.c | 31 #define ROL64(a, offset) _rotl64(a, offset) macro 33 #define ROL64(x,N) ({ \ macro 40 #define ROL64(a, offset) ((((UINT64)a) << offset) ^ (((UINT64)a) >> (64-offset))) macro
|
/third_party/openssl/crypto/sha/asm/ |
D | keccak1600-c64x.pl | 42 sub ROL64 { subroutine 226 &ROL64 ($A[1][1],$rhotates[1][1],$A[0][1],"||"); 235 &ROL64 ($A[3][3],$rhotates[3][3],$A[0][3],"||"); 244 &ROL64 ($A[2][2],$rhotates[2][2],$A[0][2],"||"); 251 &ROL64 ($A[4][4],$rhotates[4][4],$A[0][4],"||"); 253 &ROL64 ($A[1][4],$rhotates[1][4],$A[1][1]); 257 &ROL64 ($A[2][3],$rhotates[2][3],$A[2][2]); 261 &ROL64 ($A[3][2],$rhotates[3][2],$A[3][3]); 262 &ROL64 ($A[4][1],$rhotates[4][1],$A[4][4]); 264 &ROL64 ($A[4][2],$rhotates[4][2],$A[1][4]); [all …]
|
/third_party/openssl/crypto/sha/asm/arm32/ |
D | keccak1600-armv4.S | 176 eor r10,r0,r5,ror#32-1 @ E[0] = ROL64(C[2], 1) ^ C[0]; 186 eor r12,r6,r1,ror#32-1 @ E[1] = ROL64(C[0], 1) ^ C[3]; 191 eor r0,r8,r3,ror#32-1 @ C[0] = ROL64(C[1], 1) ^ C[4]; 201 eor r2,r2,r7,ror#32-1 @ C[1] = ROL64(C[3], 1) ^ C[1]; 219 eor r4,r4,r9,ror#32-1 @ C[2] = ROL64(C[4], 1) ^ C[2]; 248 @ mov r7,r7,ror#32-10 @ C[3] = ROL64(A[3][3] ^ C[2], rhotates[3][3]); /* D[3] */ 266 @ mov r8,r8,ror#32-7 @ C[4] = ROL64(A[4][4] ^ E[1], rhotates[4][4]); /* D[4] */ 279 mov r5,r12,ror#32-21 @ C[2] = ROL64(A[2][2] ^ C[1], rhotates[2][2]); /* D[2] */ 289 mov r2,r2,ror#32-22 @ C[1] = ROL64(A[1][1] ^ E[0], rhotates[1][1]); /* D[1] */ 375 @ mov r0,r0,ror#32-14 @ C[0] = ROL64(A[0][3] ^ D[3], rhotates[0][3]); [all …]
|
/third_party/sqlite/src/ |
D | shell.c | 1551 # define ROL64(a,x) ((a<<x)|(a>>(64-x))) in KeccakF1600Step() macro 1559 d0 = c4^ROL64(c1, 1); in KeccakF1600Step() 1560 d1 = c0^ROL64(c2, 1); in KeccakF1600Step() 1561 d2 = c1^ROL64(c3, 1); in KeccakF1600Step() 1562 d3 = c2^ROL64(c4, 1); in KeccakF1600Step() 1563 d4 = c3^ROL64(c0, 1); in KeccakF1600Step() 1566 b1 = ROL64((a11^d1), 44); in KeccakF1600Step() 1567 b2 = ROL64((a22^d2), 43); in KeccakF1600Step() 1568 b3 = ROL64((a33^d3), 21); in KeccakF1600Step() 1569 b4 = ROL64((a44^d4), 14); in KeccakF1600Step() [all …]
|