diff options
author | Tim Chen <tim.c.chen@linux.intel.com> | 2013-03-26 16:59:25 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-04-25 09:00:57 -0400 |
commit | bf70fa9d9ee07aa175453b19a39b2b9dab602d97 (patch) | |
tree | 7c7250c9c11db90a4fc096900276b186bf50ead1 /include/crypto | |
parent | 8275d1aa642295edd34a11a117080384bb9d65c2 (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.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, | |||
89 | 89 | ||
90 | extern int crypto_sha256_update(struct shash_desc *desc, const u8 *data, | 90 | extern int crypto_sha256_update(struct shash_desc *desc, const u8 *data, |
91 | unsigned int len); | 91 | unsigned int len); |
92 | |||
93 | extern int crypto_sha512_update(struct shash_desc *desc, const u8 *data, | ||
94 | unsigned int len); | ||
92 | #endif | 95 | #endif |