diff options
author | Tim Chen <tim.c.chen@linux.intel.com> | 2013-03-26 21:58:49 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-04-03 03:06:31 +0200 |
commit | 35d2c9d0c3cfd90850dc647250610587743e1f29 (patch) | |
tree | d395d18fa88811ed2e3e477cb438e7521b9a9858 /include/crypto/sha.h | |
parent | crypto: x86 - build AVX block cipher implementations only if assembler suppor... (diff) | |
download | linux-35d2c9d0c3cfd90850dc647250610587743e1f29.tar.xz linux-35d2c9d0c3cfd90850dc647250610587743e1f29.zip |
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 |