Skip to content
Snippets Groups Projects
Commit ac95301f authored by Herbert Xu's avatar Herbert Xu
Browse files

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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent b588ef6e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment