diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-09 20:30:57 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-11 18:23:32 +0800 |
commit | 99d27e1c59e34869605de625b033c52163f5bfa7 (patch) | |
tree | d7e6477e8a61630fc23088e795730a7fcda60873 /lib/crc7.c | |
parent | 7ede5a5ba55a696a6e1d8456526e44635e966a81 (diff) | |
download | op-kernel-dev-99d27e1c59e34869605de625b033c52163f5bfa7.zip op-kernel-dev-99d27e1c59e34869605de625b033c52163f5bfa7.tar.gz |
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 'lib/crc7.c')
0 files changed, 0 insertions, 0 deletions