Added Comment
This commit is contained in:
parent
7b5722d635
commit
5c7d8c54bb
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ void md2_hash_1(size_t len, const uint8_t buf[len], uint8_t out[16]) {
|
||||||
__m128i vy;
|
__m128i vy;
|
||||||
for (size_t i = 0; i <= (len + 16) / 16 - 1; i++) {
|
for (size_t i = 0; i <= (len + 16) / 16 - 1; i++) {
|
||||||
FIRST_LOOP_START_MARK
|
FIRST_LOOP_START_MARK
|
||||||
|
// first loop replaced by 5 SIMD-Operations
|
||||||
vx = _mm_load_si128((__m128i *)(newBuf + i * 16));
|
vx = _mm_load_si128((__m128i *)(newBuf + i * 16));
|
||||||
_mm_store_si128((__m128i *)(messageDigestBuf + 16), vx);
|
_mm_store_si128((__m128i *)(messageDigestBuf + 16), vx);
|
||||||
vy = _mm_load_si128((__m128i *)(messageDigestBuf));
|
vy = _mm_load_si128((__m128i *)(messageDigestBuf));
|
||||||
|
|
Loading…
Reference in a new issue