commit | ac95301f271f32901e4007096aa3516def49eed2 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Wed Jul 22 14:37:15 2009 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Jul 22 14:38:10 2009 +0800 |
tree | b228f9cf7d3cbd62fc61dc1eea92f74a2fbe3786 | |
parent | b588ef6e69bfc0944a17dc673ee166a00fa23de2 [diff] |
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>