diff options
-rw-r--r-- | src/lib/stream/chacha/chacha.cpp | 2 | ||||
-rw-r--r-- | src/lib/stream/chacha/chacha.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/stream/chacha/chacha.cpp b/src/lib/stream/chacha/chacha.cpp index fa8f48142..c35363112 100644 --- a/src/lib/stream/chacha/chacha.cpp +++ b/src/lib/stream/chacha/chacha.cpp @@ -22,7 +22,7 @@ void ChaCha::chacha_x4(byte output[64*4], u32bit input[16], size_t rounds) { BOTAN_ASSERT(rounds % 2 == 0, "Valid rounds"); -#if defined(BOTAN_TARGET_SUPPORTS_SSE2) +#if defined(BOTAN_HAS_CHACHA_SSE2) if(CPUID::has_sse2()) { return ChaCha::chacha_sse2_x4(output, input, rounds); diff --git a/src/lib/stream/chacha/chacha.h b/src/lib/stream/chacha/chacha.h index 34b8bbb87..e4d4ae60e 100644 --- a/src/lib/stream/chacha/chacha.h +++ b/src/lib/stream/chacha/chacha.h @@ -51,7 +51,7 @@ class BOTAN_DLL ChaCha final : public StreamCipher void chacha_x4(byte output[64*4], u32bit state[16], size_t rounds); -#if defined(BOTAN_TARGET_SUPPORTS_SSE2) +#if defined(BOTAN_HAS_CHACHA_SSE2) void chacha_sse2_x4(byte output[64*4], u32bit state[16], size_t rounds); #endif |