diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-15 20:39:05 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-15 20:39:05 +0800 |
commit | a70c522520d967844c01fa01459edc698fc54544 (patch) | |
tree | fa132bf2be983b3300340779c155bc8ff95708b0 /include/crypto/hash.h | |
parent | faae890883624e14a328863eafabf54a36698774 (diff) | |
download | lwn-a70c522520d967844c01fa01459edc698fc54544.tar.gz lwn-a70c522520d967844c01fa01459edc698fc54544.zip |
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: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/hash.h')
0 files changed, 0 insertions, 0 deletions