summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/sha2.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-12-06 12:48:46 +0100
committerOle Tr�an <otroan@employees.org>2021-12-06 12:28:01 +0000
commitde3735f82862e5c3997550e6a5bcbf5adbfbba40 (patch)
tree39158155b5e984609f82ad598cddcffbf6fec9bc /src/vppinfra/sha2.h
parent9c412e9ee58ae4a2671d63f70add6fd2c6c15a2b (diff)
vppinfra: sha2 tests
Type: improvement Change-Id: I8a5d8d5db4e4a8ee3a1164bfbe91badff181d06a Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/sha2.h')
-rw-r--r--src/vppinfra/sha2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vppinfra/sha2.h b/src/vppinfra/sha2.h
index b6caf59ac7f..61fb7f52961 100644
--- a/src/vppinfra/sha2.h
+++ b/src/vppinfra/sha2.h
@@ -333,8 +333,8 @@ shani_sha256_shuffle (u32x4 d[2], u32x4 s[2])
}
#endif
-void
-clib_sha256_block (clib_sha2_ctx_t * ctx, const u8 * msg, uword n_blocks)
+static inline void
+clib_sha256_block (clib_sha2_ctx_t *ctx, const u8 *msg, uword n_blocks)
{
#if defined(__SHA__) && defined (__x86_64__)
u32x4 h[2], s[2], w[4];