summaryrefslogtreecommitdiffstats
path: root/src/plugins/crypto_native/aes.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-10-29 22:08:39 +0200
committerFlorin Coras <florin.coras@gmail.com>2021-11-02 17:32:28 +0000
commit21feecf71da8b1f63c37f4bd684834699c04da7d (patch)
tree004deb304e277ae54a3fd35cef357c6a1611b6a5 /src/plugins/crypto_native/aes.h
parent60706a2869919d32636e0bea8348d4175a905295 (diff)
build: clang-13 support
Type: make Change-Id: I20770650d7e0475ee7791da4d5df941792bf7741 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/crypto_native/aes.h')
-rw-r--r--src/plugins/crypto_native/aes.h2
1 files changed, 1 insertions, 1 deletions
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));