diff options
author | Tim Chen <tim.c.chen@linux.intel.com> | 2013-03-27 00:58:49 +0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-04-03 05:06:31 +0400 |
commit | 35d2c9d0c3cfd90850dc647250610587743e1f29 (patch) | |
tree | d395d18fa88811ed2e3e477cb438e7521b9a9858 /include/crypto/sha.h | |
parent | 873b9cafa8cae695d92f0faabe7166af10078b78 (diff) | |
download | linux-35d2c9d0c3cfd90850dc647250610587743e1f29.tar.xz |
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/sha.h')
-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; extern int crypto_sha1_update(struct shash_desc *desc, const u8 *data, unsigned int len); +extern int crypto_sha256_update(struct shash_desc *desc, const u8 *data, + unsigned int len); #endif |