Merge branch 'master' of gitlab-gepasp.in.tum.de:gra22s/team199

This commit is contained in:
Thomas Florian 2022-07-24 23:18:21 +02:00
commit b0726d0df7

View file

@ -59,6 +59,7 @@ void md2_hash_1(size_t len, const uint8_t buf[len], uint8_t out[16]) {
__m128i vy;
for (size_t i = 0; i <= (len + 16) / 16 - 1; i++) {
FIRST_LOOP_START_MARK
// first loop replaced by 5 SIMD-Operations
vx = _mm_load_si128((__m128i *)(newBuf + i * 16));
_mm_store_si128((__m128i *)(messageDigestBuf + 16), vx);
vy = _mm_load_si128((__m128i *)(messageDigestBuf));