summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-07-24 09:26:15 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2009-07-24 09:26:15 +0200
commitab300465676b0c0559af62d57ec9a902f5680b03 (patch)
treefde296526e6563ac8d11662d431eb2168d031614 /crypto
parentcrypto: hmac - Prehash ipad/opad (diff)
downloadlinux-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