aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/crypto/sha.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/sha.h')
-rw-r--r--include/crypto/sha.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/crypto/sha.h b/include/crypto/sha.h
index 10753ff71d46..4ff3da816630 100644
--- a/include/crypto/sha.h
+++ b/include/crypto/sha.h
@@ -147,6 +147,7 @@ static inline void sha256_init(struct sha256_state *sctx)
}
void sha256_update(struct sha256_state *sctx, const u8 *data, unsigned int len);
void sha256_final(struct sha256_state *sctx, u8 *out);
+void sha256(const u8 *data, unsigned int len, u8 *out);
static inline void sha224_init(struct sha256_state *sctx)
{