diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2016-03-22 10:58:24 +0900 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-04-05 20:35:46 +0800 |
commit | 9e4a1100a445671dd55ff74dce859221cc1464fa (patch) | |
tree | ec8bc3b1694e62490d7f590ea4b8ecdc696065e5 /lib | |
parent | 119c3ab4ed33c04782f02040a4bc686216788c53 (diff) | |
download | linux-9e4a1100a445671dd55ff74dce859221cc1464fa.tar.bz2 |
crypto: s5p-sss - Handle unaligned buffers
During crypto selftests on Odroid XU3 (Exynos5422) some of the
algorithms failed because of passing AES-block unaligned source and
destination buffers:
alg: skcipher: encryption failed on chunk test 1 for ecb-aes-s5p: ret=22
Handle such case by copying the buffers to a new aligned and contiguous
space.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions