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

crypto: ahash - Fix setkey crash


When the alignment check was made unconditional for ahash we
may end up crashing on shash algorithms because we're always
calling alg->setkey instead of tfm->setkey.

This patch fixes it.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent faae8908
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