diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-24 09:26:15 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-24 09:26:15 +0200 |
commit | ab300465676b0c0559af62d57ec9a902f5680b03 (patch) | |
tree | fde296526e6563ac8d11662d431eb2168d031614 /crypto | |
parent | crypto: hmac - Prehash ipad/opad (diff) | |
download | linux-ab300465676b0c0559af62d57ec9a902f5680b03.tar.xz linux-ab300465676b0c0559af62d57ec9a902f5680b03.zip |
crypto: api - Fix aligned ctx helper
The aligned ctx helper was using a bogus alignment value thas was
one off the correct value. Fortunately the current users do not
require anything beyond the natural alignment of the platform so
this hasn't caused a problem.
This patch fixes that and also removes the unnecessary minimum
check since if the alignment is less than the natural alignment
then the subsequent ALIGN operation should be a noop.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions