summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-05-07 22:33:37 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-07-10 20:35:11 +0800
commitd069033b42b392662320f71e319296a14d57ff3a (patch)
treeed7ba912d8a4079b24424a444dc73aafb9a1548c /arch/arm/mach-pxa
parent94eaa1bd7ca67e8f57919da96cbb41c215ef20cb (diff)
[HIFN]: Fix data alignment checks
The check for misalignment of the scatterlist data has two bugs: - the source buffer doesn't need to be aligned at all - the destination buffer and its size needs to be aligned to a multiple of 4, not to the crypto alg blocksize Introduce symbolic constant for destination buffer alignment requirements, use it instead of the crypto alg blocksize and remove the unnecessary checks for source buffer alignment and change cra_alignmask to zero. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm/mach-pxa')
0 files changed, 0 insertions, 0 deletions