diff options
author | Tim Chen <tim.c.chen@linux.intel.com> | 2013-03-27 00:59:25 +0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-04-25 17:00:57 +0400 |
commit | bf70fa9d9ee07aa175453b19a39b2b9dab602d97 (patch) | |
tree | 7c7250c9c11db90a4fc096900276b186bf50ead1 /include/crypto | |
parent | 8275d1aa642295edd34a11a117080384bb9d65c2 (diff) | |
download | linux-bf70fa9d9ee07aa175453b19a39b2b9dab602d97.tar.xz |
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.h | 3 |
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 |