From 375a01d722d38200f6265ed9ece9f5a664f9402f Mon Sep 17 00:00:00 2001 From: Scr3amer Date: Sat, 2 Sep 2023 16:16:15 -0400 Subject: [PATCH] Add missing undef in _mm_roti_epi64 definition for blake2b-ssse3 (#1306) --- .../crypto_generichash/blake2b/ref/blake2b-compress-ssse3.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-ssse3.h b/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-ssse3.h index 127c0f7e7d..9b96b8f97e 100644 --- a/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-ssse3.h +++ b/src/libsodium/crypto_generichash/blake2b/ref/blake2b-compress-ssse3.h @@ -6,6 +6,7 @@ #define STOREU(p, r) _mm_storeu_si128((__m128i *) (void *) (p), r) #if !(defined(_mm_roti_epi64) && defined(__XOP__)) +#undef _mm_roti_epi64 #define _mm_roti_epi64(x, c) \ (-(c) == 32) \ ? _mm_shuffle_epi32((x), _MM_SHUFFLE(2, 3, 0, 1)) \