diff options
author | Tim Chen <tim.c.chen@linux.intel.com> | 2013-03-26 16:58:49 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-04-02 21:06:31 -0400 |
commit | 35d2c9d0c3cfd90850dc647250610587743e1f29 (patch) | |
tree | d395d18fa88811ed2e3e477cb438e7521b9a9858 /include/crypto | |
parent | 873b9cafa8cae695d92f0faabe7166af10078b78 (diff) |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/crypto/sha.h b/include/crypto/sha.h index c6c9c1fe460c..f46ff61e3780 100644 --- a/include/crypto/sha.h +++ b/include/crypto/sha.h | |||
@@ -87,4 +87,6 @@ struct shash_desc; | |||
87 | extern int crypto_sha1_update(struct shash_desc *desc, const u8 *data, | 87 | extern int crypto_sha1_update(struct shash_desc *desc, const u8 *data, |
88 | unsigned int len); | 88 | unsigned int len); |
89 | 89 | ||
90 | extern int crypto_sha256_update(struct shash_desc *desc, const u8 *data, | ||
91 | unsigned int len); | ||
90 | #endif | 92 | #endif |