aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/sha256_generic.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-07-09 20:30:57 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2009-07-11 18:23:32 +0800
commit99d27e1c59e34869605de625b033c52163f5bfa7 (patch)
treed7e6477e8a61630fc23088e795730a7fcda60873 /crypto/sha256_generic.c
parentcrypto: api - Fix crypto_drop_spawn crash on blank spawns (diff)
downloadlinux-dev-99d27e1c59e34869605de625b033c52163f5bfa7.tar.xz
linux-dev-99d27e1c59e34869605de625b033c52163f5bfa7.zip
crypto: shash - Export/import hash state only
This patch replaces the full descriptor export with an export of the partial hash state. This allows the use of a consistent export format across all implementations of a given algorithm. This is useful because a number of cases require the use of the partial hash state, e.g., PadLock can use the SHA1 hash state to get around the fact that it can only hash contiguous data chunks. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/sha256_generic.c')
0 files changed, 0 insertions, 0 deletions