summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorTim Chen <tim.c.chen@linux.intel.com>2013-03-26 13:59:25 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2013-04-25 21:00:57 +0800
commitbf70fa9d9ee07aa175453b19a39b2b9dab602d97 (patch)
tree7c7250c9c11db90a4fc096900276b186bf50ead1 /include/crypto
parent8275d1aa642295edd34a11a117080384bb9d65c2 (diff)
crypto: sha512 - Expose generic sha512 routine to be callable from other modules
Other SHA512 routines 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/crypto/sha.h b/include/crypto/sha.h
index f46ff61e3780..190f8a0e0242 100644
--- a/include/crypto/sha.h
+++ b/include/crypto/sha.h
@@ -89,4 +89,7 @@ extern int crypto_sha1_update(struct shash_desc *desc, const u8 *data,
extern int crypto_sha256_update(struct shash_desc *desc, const u8 *data,
unsigned int len);
+
+extern int crypto_sha512_update(struct shash_desc *desc, const u8 *data,
+ unsigned int len);
#endif