path: root/crypto
diff options
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
parent0b767b4df360bd442434d9d40b8a495e64202254 (diff)
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