aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDamjan Marion <dmarion@me.com>2020-02-12 18:24:24 +0100
committerFlorin Coras <florin.coras@gmail.com>2020-02-12 19:10:55 +0000
commit4fe44afb8d8ef2f50617c952945856a7808ae017 (patch)
treeb9dd87d1a5ac83bce18337ca73173626cf6faefe /src
parent6939d5efdf6541936076dce8c0a436b10e809bee (diff)
crypto-native: add missing static_always_inline
Type: improvement Change-Id: Ibfa756f5f489882bc2ac658ae4d238e98da73875 Signed-off-by: Damjan Marion <dmarion@me.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/crypto_native/aes.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/crypto_native/aes.h b/src/plugins/crypto_native/aes.h
index 371f5c4508c..01298cd31d7 100644
--- a/src/plugins/crypto_native/aes.h
+++ b/src/plugins/crypto_native/aes.h
@@ -258,7 +258,7 @@ static const u8x16 aese_prep_mask1 =
static const u8x16 aese_prep_mask2 =
{ 12, 13, 14, 15, 12, 13, 14, 15, 12, 13, 14, 15, 12, 13, 14, 15 };
-static inline void
+static_always_inline void
aes128_key_expand_round_neon (u8x16 * rk, u32 rcon)
{
u8x16 r, t, last_round = rk[-1], z = { };
@@ -272,7 +272,7 @@ aes128_key_expand_round_neon (u8x16 * rk, u32 rcon)
rk[0] = r;
}
-void
+static_always_inline void
aes128_key_expand (u8x16 * rk, const u8x16 * k)
{
rk[0] = k[0];
@@ -288,7 +288,7 @@ aes128_key_expand (u8x16 * rk, const u8x16 * k)
aes128_key_expand_round_neon (rk + 10, 0x36);
}
-static inline void
+static_always_inline void
aes192_key_expand_round_neon (u8x8 * rk, u32 rcon)
{
u8x8 r, last_round = rk[-1], z = { };
@@ -316,7 +316,7 @@ aes192_key_expand_round_neon (u8x8 * rk, u32 rcon)
rk[2] = r;
}
-void
+static_always_inline void
aes192_key_expand (u8x16 * ek, const u8x16u * k)
{
u8x8 *rk = (u8x8 *) ek;
@@ -333,7 +333,7 @@ aes192_key_expand (u8x16 * ek, const u8x16u * k)
}
-static inline void
+static_always_inline void
aes256_key_expand_round_neon (u8x16 * rk, u32 rcon)
{
u8x16 r, t, z = { };
@@ -349,7 +349,7 @@ aes256_key_expand_round_neon (u8x16 * rk, u32 rcon)
rk[0] = r;
}
-void
+static_always_inline void
aes256_key_expand (u8x16 * rk, u8x16 const *k)
{
rk[0] = k[0];