summaryrefslogtreecommitdiffstats
path: root/include/crypto/sha.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-07-22 14:37:15 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2009-07-22 14:38:10 +0800
commitac95301f271f32901e4007096aa3516def49eed2 (patch)
treeb228f9cf7d3cbd62fc61dc1eea92f74a2fbe3786 /include/crypto/sha.h
parentb588ef6e69bfc0944a17dc673ee166a00fa23de2 (diff)
downloadlinux-stable-ac95301f271f32901e4007096aa3516def49eed2.tar.gz
linux-stable-ac95301f271f32901e4007096aa3516def49eed2.tar.bz2
linux-stable-ac95301f271f32901e4007096aa3516def49eed2.zip
crypto: xcbc - Fix shash conversion
Although xcbc was converted to shash, it didn't obey the new requirement that all hash state must be stored in the descriptor rather than the transform. This patch fixes this issue and also optimises away the rekeying by precomputing K2 and K3 within setkey. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/sha.h')
0 files changed, 0 insertions, 0 deletions