Don't hardcode the number of rounds
This commit is contained in:
parent
11b76f98dc
commit
4bd18252d4
@ -96,7 +96,7 @@ if (bytes >= 512) {
|
|||||||
z4 = orig4;
|
z4 = orig4;
|
||||||
z8 = orig8;
|
z8 = orig8;
|
||||||
|
|
||||||
for (i = 0; i < 20; i += 2) {
|
for (i = 0; i < ROUNDS; i += 2) {
|
||||||
/* the inner loop is a direct translation (regexp search/replace)
|
/* the inner loop is a direct translation (regexp search/replace)
|
||||||
* from the amd64-xmm6 ASM */
|
* from the amd64-xmm6 ASM */
|
||||||
__m256i r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13,
|
__m256i r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13,
|
||||||
|
Loading…
Reference in New Issue
Block a user