Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment