Home
last modified time | relevance | path

Searched refs:rhotates (Results 1 – 8 of 8) sorted by relevance

/freebsd/crypto/openssl/crypto/sha/
H A Dkeccak1600.c79 static const unsigned char rhotates[5][5] = { variable
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()
167 A[y][4] = ROL64(A[y][4], rhotates[y][4]); in Rho()
288 C[3] = ROL64(A[3][3] ^ C[2], rhotates[3][3]); /* D[3] */ in Round()
289 C[4] = ROL64(A[4][4] ^ E[1], rhotates[4][4]); /* D[4] */ in Round()
291 C[2] = ROL64(A[2][2] ^ C[1], rhotates[2][2]); /* D[2] */ in Round()
292 C[1] = ROL64(A[1][1] ^ E[0], rhotates[1][1]); /* D[1] */ in Round()
[all …]
/freebsd/crypto/openssl/crypto/sha/asm/
H A Dkeccak1600-armv8.pl76 my @rhotates = ([ 0, 1, 62, 28, 27 ],
205 ror $A[0][1],$A[1][1],#64-$rhotates[1][1]
207 ror $A[0][2],$A[2][2],#64-$rhotates[2][2]
209 ror $A[0][3],$A[3][3],#64-$rhotates[3][3]
211 ror $A[0][4],$A[4][4],#64-$rhotates[4][4]
213 ror $A[1][1],$A[1][4],#64-$rhotates[1][4]
214 ror $A[2][2],$A[2][3],#64-$rhotates[2][3]
215 ror $A[3][3],$A[3][2],#64-$rhotates[3][2]
216 ror $A[4][4],$A[4][1],#64-$rhotates[4][1]
218 ror $A[1][4],$A[4][2],#64-$rhotates[4][2]
[all …]
H A Dkeccak1600-x86_64.pl77 my @rhotates = ([ 0, 1, 62, 28, 27 ],
148 rol \$$rhotates[1][1],@C[1]
151 rol \$$rhotates[2][2],@C[2]
154 rol \$$rhotates[3][3],@C[3]
157 rol \$$rhotates[4][4],@C[4]
189 rol \$$rhotates[0][3],@C[0]
192 rol \$$rhotates[4][2],@C[4]
193 rol \$$rhotates[3][1],@C[3]
195 rol \$$rhotates[1][4],@C[1]
198 rol \$$rhotates[2][0],@C[2]
[all …]
H A Dkeccak1600-s390x.pl59 my @rhotates = ([ 0, 1, 62, 28, 27 ],
136 rllg @C[1],@C[1],$rhotates[1][1]
138 rllg @C[2],@C[2],$rhotates[2][2]
143 rllg @C[3],@C[3],$rhotates[3][3]
145 rllg @C[4],@C[4],$rhotates[4][4]
176 rllg @C[0],@C[0],$rhotates[0][3]
178 rllg @C[4],@C[4],$rhotates[4][2]
180 rllg @C[3],@C[3],$rhotates[3][1]
185 rllg @C[1],@C[1],$rhotates[1][4]
187 rllg @C[2],@C[2],$rhotates[2][0]
[all …]
H A Dkeccak1600-mmx.pl77 my @rhotates = ([ 0, 1, 62, 28, 27 ],
162 &psrlq (@C[3],64-$rhotates[3][3]);
164 &psllq (@T[2],$rhotates[3][3]);
166 &psrlq (@C[4],64-$rhotates[4][4]);
168 &psllq (@T[1],$rhotates[4][4]);
175 &psrlq (@C[2],64-$rhotates[2][2]);
177 &psllq (@T[1],$rhotates[2][2]);
180 &psrlq (@C[1],64-$rhotates[1][1]);
182 &psllq (@T[2],$rhotates[1][1]);
223 &psrlq (@T[2],64-$rhotates[0][$x]);
[all …]
H A Dkeccak1600-ppc64.pl74 my @rhotates = ([ 0, 1, 62, 28, 27 ],
173 rotldi $A[0][1],$A[1][1],$rhotates[1][1]
175 rotldi $A[0][2],$A[2][2],$rhotates[2][2]
177 rotldi $A[0][3],$A[3][3],$rhotates[3][3]
179 rotldi $A[0][4],$A[4][4],$rhotates[4][4]
181 rotldi $A[1][1],$A[1][4],$rhotates[1][4]
182 rotldi $A[2][2],$A[2][3],$rhotates[2][3]
183 rotldi $A[3][3],$A[3][2],$rhotates[3][2]
184 rotldi $A[4][4],$A[4][1],$rhotates[4][1]
186 rotldi $A[1][4],$A[4][2],$rhotates[4][2]
[all …]
H A Dkeccak1600-c64x.pl36 my @rhotates = ([ 0, 1, 62, 28, 27 ],
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 …]
/freebsd/sys/crypto/openssl/arm/
H A Dkeccak1600-armv4.S249 @ mov r7,r7,ror#32-10 @ C[3] = ROL64(A[3][3] ^ C[2], rhotates[3][3]); /* D[3] */
267 @ mov r8,r8,ror#32-7 @ C[4] = ROL64(A[4][4] ^ E[1], rhotates[4][4]); /* D[4] */
280 mov r5,r12,ror#32-21 @ C[2] = ROL64(A[2][2] ^ C[1], rhotates[2][2]);
290 mov r2,r2,ror#32-22 @ C[1] = ROL64(A[1][1] ^ E[0], rhotates[1][1]);
376 @ mov r0,r0,ror#32-14 @ C[0] = ROL64(A[0][3] ^ D[3], rhotates[0][3]);
397 @ mov r2,r2,ror#32-10 @ C[1] = ROL64(A[1][4] ^ D[4], rhotates[1][4]);
410 mov r5,r6,ror#32-1 @ C[2] = ROL64(A[2][0] ^ D[0], rhotates[2][0]);
423 mov r7,r10,ror#32-22 @ C[3] = ROL64(A[3][1] ^ D[1], rhotates[3][1]);
430 mov r9,r12,ror#32-30 @ C[4] = ROL64(A[4][2] ^ D[2], rhotates[4][2]);
522 mov r0,r0,ror#32-1 @ C[0] = ROL64(A[0][1] ^ D[1], rhotates[0][1]);
[all …]