aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/authenc.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-07-24 15:26:15 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2009-07-24 15:26:15 +0800
commitab300465676b0c0559af62d57ec9a902f5680b03 (patch)
treefde296526e6563ac8d11662d431eb2168d031614 /crypto/authenc.c
parentcrypto: hmac - Prehash ipad/opad (diff)
downloadlinux-dev-ab300465676b0c0559af62d57ec9a902f5680b03.tar.xz
linux-dev-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/authenc.c')
0 files changed, 0 insertions, 0 deletions