diff options
author | Tim Chen <tim.c.chen@linux.intel.com> | 2013-03-26 21:59:25 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-04-25 15:00:57 +0200 |
commit | bf70fa9d9ee07aa175453b19a39b2b9dab602d97 (patch) | |
tree | 7c7250c9c11db90a4fc096900276b186bf50ead1 /include/crypto | |
parent | crypto: sha256 - Create module providing optimized SHA256 routines using SSSE... (diff) | |
download | linux-bf70fa9d9ee07aa175453b19a39b2b9dab602d97.tar.xz linux-bf70fa9d9ee07aa175453b19a39b2b9dab602d97.zip |
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 |