diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-24 11:26:15 +0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-07-24 11:26:15 +0400 |
commit | ab300465676b0c0559af62d57ec9a902f5680b03 (patch) | |
tree | fde296526e6563ac8d11662d431eb2168d031614 /crypto/authenc.c | |
parent | 0b767b4df360bd442434d9d40b8a495e64202254 (diff) | |
download | linux-ab300465676b0c0559af62d57ec9a902f5680b03.tar.xz |
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