summaryrefslogtreecommitdiff
path: root/include/crypto/internal/sha2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/internal/sha2.h')
-rw-r--r--include/crypto/internal/sha2.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/crypto/internal/sha2.h b/include/crypto/internal/sha2.h
index f0f455477bbd..7915a3a46bc8 100644
--- a/include/crypto/internal/sha2.h
+++ b/include/crypto/internal/sha2.h
@@ -9,14 +9,6 @@
#include <linux/types.h>
#include <linux/unaligned.h>
-#if IS_ENABLED(CONFIG_CRYPTO_ARCH_HAVE_LIB_SHA256)
-bool sha256_is_arch_optimized(void);
-#else
-static inline bool sha256_is_arch_optimized(void)
-{
- return false;
-}
-#endif
void sha256_blocks_generic(struct sha256_block_state *state,
const u8 *data, size_t nblocks);
void sha256_blocks_arch(struct sha256_block_state *state,