Home
last modified time | relevance | path

Searched refs:ROL64 (Results 1 – 13 of 13) sorted by relevance

/third_party/openssl/crypto/sha/
Dkeccak1600.c54 static uint64_t ROL64(uint64_t val, int offset) in ROL64() function
143 D[0] = ROL64(C[1], 1) ^ C[4]; in Theta()
144 D[1] = ROL64(C[2], 1) ^ C[0]; in Theta()
145 D[2] = ROL64(C[3], 1) ^ C[1]; in Theta()
146 D[3] = ROL64(C[4], 1) ^ C[2]; in Theta()
147 D[4] = ROL64(C[0], 1) ^ C[3]; in Theta()
163 A[y][0] = ROL64(A[y][0], rhotates[y][0]); in Rho()
164 A[y][1] = ROL64(A[y][1], rhotates[y][1]); in Rho()
165 A[y][2] = ROL64(A[y][2], rhotates[y][2]); in Rho()
166 A[y][3] = ROL64(A[y][3], rhotates[y][3]); in Rho()
[all …]
/third_party/node/deps/openssl/openssl/crypto/sha/
Dkeccak1600.c54 static uint64_t ROL64(uint64_t val, int offset) in ROL64() function
143 D[0] = ROL64(C[1], 1) ^ C[4]; in Theta()
144 D[1] = ROL64(C[2], 1) ^ C[0]; in Theta()
145 D[2] = ROL64(C[3], 1) ^ C[1]; in Theta()
146 D[3] = ROL64(C[4], 1) ^ C[2]; in Theta()
147 D[4] = ROL64(C[0], 1) ^ C[3]; in Theta()
163 A[y][0] = ROL64(A[y][0], rhotates[y][0]); in Rho()
164 A[y][1] = ROL64(A[y][1], rhotates[y][1]); in Rho()
165 A[y][2] = ROL64(A[y][2], rhotates[y][2]); in Rho()
166 A[y][3] = ROL64(A[y][3], rhotates[y][3]); in Rho()
[all …]
/third_party/python/Modules/_sha3/kcp/
DKeccakP-1600-64.macros48 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 …]
DKeccakP-1600-opt64.c31 #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/node/deps/openssl/openssl/crypto/sha/asm/
Dkeccak1600-c64x.pl42 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/
Dkeccak1600-c64x.pl42 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/node/deps/openssl/config/archs/linux-armv4/asm/crypto/sha/
Dkeccak1600-armv4.S176 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]);
289 mov r2,r2,ror#32-22 @ C[1] = ROL64(A[1][1] ^ E[0], rhotates[1][1]);
375 @ mov r0,r0,ror#32-14 @ C[0] = ROL64(A[0][3] ^ D[3], rhotates[0][3]);
[all …]
/third_party/node/deps/openssl/config/archs/linux-armv4/asm_avx2/crypto/sha/
Dkeccak1600-armv4.S176 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]);
289 mov r2,r2,ror#32-22 @ C[1] = ROL64(A[1][1] ^ E[0], rhotates[1][1]);
375 @ mov r0,r0,ror#32-14 @ C[0] = ROL64(A[0][3] ^ D[3], rhotates[0][3]);
[all …]
/third_party/sqlite/src/
Dshell.c1653 # define ROL64(a,x) ((a<<x)|(a>>(64-x))) in KeccakF1600Step() macro
1661 d0 = c4^ROL64(c1, 1); in KeccakF1600Step()
1662 d1 = c0^ROL64(c2, 1); in KeccakF1600Step()
1663 d2 = c1^ROL64(c3, 1); in KeccakF1600Step()
1664 d3 = c2^ROL64(c4, 1); in KeccakF1600Step()
1665 d4 = c3^ROL64(c0, 1); in KeccakF1600Step()
1668 b1 = ROL64((a11^d1), 44); in KeccakF1600Step()
1669 b2 = ROL64((a22^d2), 43); in KeccakF1600Step()
1670 b3 = ROL64((a33^d3), 21); in KeccakF1600Step()
1671 b4 = ROL64((a44^d4), 14); in KeccakF1600Step()
[all …]
/third_party/node/deps/openssl/config/archs/linux64-s390x/asm/crypto/sha/
Dkeccak1600-s390x.S49 xgr %r5,%r0 # D[1] = ROL64(C[2], 1) ^ C[0]
52 xgr %r0,%r6 # D[4] = ROL64(C[0], 1) ^ C[3]
55 xgr %r6,%r1 # D[2] = ROL64(C[3], 1) ^ C[1]
58 xgr %r1,%r7 # D[0] = ROL64(C[1], 1) ^ C[4]
61 xgr %r7,%r13 # D[3] = ROL64(C[4], 1) ^ C[2]
/third_party/node/deps/openssl/config/archs/linux64-s390x/asm_avx2/crypto/sha/
Dkeccak1600-s390x.S49 xgr %r5,%r0 # D[1] = ROL64(C[2], 1) ^ C[0]
52 xgr %r0,%r6 # D[4] = ROL64(C[0], 1) ^ C[3]
55 xgr %r6,%r1 # D[2] = ROL64(C[3], 1) ^ C[1]
58 xgr %r1,%r7 # D[0] = ROL64(C[1], 1) ^ C[4]
61 xgr %r7,%r13 # D[3] = ROL64(C[4], 1) ^ C[2]
/third_party/node/deps/openssl/config/archs/linux32-s390x/asm_avx2/crypto/sha/
Dkeccak1600-s390x.S49 xgr %r5,%r0 # D[1] = ROL64(C[2], 1) ^ C[0]
52 xgr %r0,%r6 # D[4] = ROL64(C[0], 1) ^ C[3]
55 xgr %r6,%r1 # D[2] = ROL64(C[3], 1) ^ C[1]
58 xgr %r1,%r7 # D[0] = ROL64(C[1], 1) ^ C[4]
61 xgr %r7,%r13 # D[3] = ROL64(C[4], 1) ^ C[2]
/third_party/node/deps/openssl/config/archs/linux32-s390x/asm/crypto/sha/
Dkeccak1600-s390x.S49 xgr %r5,%r0 # D[1] = ROL64(C[2], 1) ^ C[0]
52 xgr %r0,%r6 # D[4] = ROL64(C[0], 1) ^ C[3]
55 xgr %r6,%r1 # D[2] = ROL64(C[3], 1) ^ C[1]
58 xgr %r1,%r7 # D[0] = ROL64(C[1], 1) ^ C[4]
61 xgr %r7,%r13 # D[3] = ROL64(C[4], 1) ^ C[2]