aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/plugins/crypto_native/aes.h2
-rw-r--r--src/plugins/crypto_native/aes_cbc.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0448a5b640e..75e4253245b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -14,6 +14,7 @@
cmake_minimum_required(VERSION 3.10)
set(CMAKE_C_COMPILER_NAMES
+ clang-13
clang-12
clang-11
clang-10
diff --git a/src/plugins/crypto_native/aes.h b/src/plugins/crypto_native/aes.h
index 24b111aea82..98555f2f316 100644
--- a/src/plugins/crypto_native/aes.h
+++ b/src/plugins/crypto_native/aes.h
@@ -178,7 +178,7 @@ aes128_key_assist (u8x16 * rk, u8x16 r)
}
static_always_inline void
-aes128_key_expand (u8x16 * rk, u8x16 const *k)
+aes128_key_expand (u8x16 *rk, u8x16u const *k)
{
rk[0] = k[0];
aes128_key_assist (rk + 1, aes_keygen_assist (rk[0], 0x01));
diff --git a/src/plugins/crypto_native/aes_cbc.c b/src/plugins/crypto_native/aes_cbc.c
index c8ec37d152d..d2670cfc36e 100644
--- a/src/plugins/crypto_native/aes_cbc.c
+++ b/src/plugins/crypto_native/aes_cbc.c
@@ -149,7 +149,7 @@ aes_cbc_dec_permute (u8x64 a, u8x64 b)
}
static_always_inline void
-vaes_cbc_dec (u8x64 * k, u8x64u * src, u8x64u * dst, u8x16 * iv, int count,
+vaes_cbc_dec (u8x64 *k, u8x64u *src, u8x64u *dst, u8x16u *iv, int count,
aes_key_size_t rounds)
{
u8x64 f, r[4], c[4] = { };