vppinfra: sha2 tests

Type: improvement
Change-Id: I8a5d8d5db4e4a8ee3a1164bfbe91badff181d06a
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/vppinfra/sha2.h b/src/vppinfra/sha2.h
index b6caf59..61fb7f5 100644
--- a/src/vppinfra/sha2.h
+++ b/src/vppinfra/sha2.h
@@ -333,8 +333,8 @@
 }
 #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];