diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-15 21:16:05 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-15 21:16:05 +0800 |
commit | fa64966473830219fe74952029ddb0e981a87749 (patch) | |
tree | faabb5f9b644f00f41d22bf6aa9bb9608e247720 /crypto/shash.c | |
parent | a70c522520d967844c01fa01459edc698fc54544 (diff) | |
download | lwn-fa64966473830219fe74952029ddb0e981a87749.tar.gz lwn-fa64966473830219fe74952029ddb0e981a87749.zip |
crypto: shash - Fix digest size offset
When an shash algorithm is exported as ahash, ahash will access
its digest size through hash_alg_common. That's why the shash
layout needs to match hash_alg_common. This wasn't the case
because the alignment weren't identical.
This patch fixes the problem.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/shash.c')
0 files changed, 0 insertions, 0 deletions