summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorTim Chen <tim.c.chen@linux.intel.com>2013-03-26 13:58:49 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2013-04-03 09:06:31 +0800
commit35d2c9d0c3cfd90850dc647250610587743e1f29 (patch)
treed395d18fa88811ed2e3e477cb438e7521b9a9858 /include/crypto
parent873b9cafa8cae695d92f0faabe7166af10078b78 (diff)
downloadop-kernel-dev-35d2c9d0c3cfd90850dc647250610587743e1f29.zip
op-kernel-dev-35d2c9d0c3cfd90850dc647250610587743e1f29.tar.gz
crypto: sha256 - Expose SHA256 generic routine to be callable externally.
Other SHA256 routine may need to use the generic routine when FPU is not available. Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/sha.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/crypto/sha.h b/include/crypto/sha.h
index c6c9c1f..f46ff61 100644
--- a/include/crypto/sha.h
+++ b/include/crypto/sha.h
@@ -87,4 +87,6 @@ struct shash_desc;
extern int crypto_sha1_update(struct shash_desc *desc, const u8 *data,
unsigned int len);
+extern int crypto_sha256_update(struct shash_desc *desc, const u8 *data,
+ unsigned int len);
#endif
OpenPOWER on IntegriCloud