Fix typo in AdvancedProcessBlocks64_6x2_NEON
AdvancedProcessBlocks64_6x2_NEON was only used by Simon and Speck. It was causing failures in wide-block tests for CBC decryption only.pull/723/head
parent
fb303f5180
commit
cc5baa9c33
|
|
@ -291,7 +291,7 @@ inline size_t AdvancedProcessBlocks64_6x2_NEON(F2 func2, F6 func6,
|
||||||
inIncrement += inIncrement ? blockSize : 0;
|
inIncrement += inIncrement ? blockSize : 0;
|
||||||
xorIncrement += xorIncrement ? blockSize : 0;
|
xorIncrement += xorIncrement ? blockSize : 0;
|
||||||
outIncrement += outIncrement ? blockSize : 0;
|
outIncrement += outIncrement ? blockSize : 0;
|
||||||
inBlocks = PtrAdd(inBlocks, inIncrement);
|
inBlocks = PtrSub(inBlocks, inIncrement);
|
||||||
xorBlocks = PtrSub(xorBlocks, xorIncrement);
|
xorBlocks = PtrSub(xorBlocks, xorIncrement);
|
||||||
outBlocks = PtrSub(outBlocks, outIncrement);
|
outBlocks = PtrSub(outBlocks, outIncrement);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue