diff options
| author | Krzysztof Kozlowski <[email protected]> | 2016-03-22 01:58:24 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2016-04-05 12:35:46 +0000 |
| commit | 9e4a1100a445671dd55ff74dce859221cc1464fa (patch) | |
| tree | ec8bc3b1694e62490d7f590ea4b8ecdc696065e5 /lib/mpi/mpicoder.c | |
| parent | crypto: s5p-sss - Minor coding cleanups (diff) | |
| download | kernel-9e4a1100a445671dd55ff74dce859221cc1464fa.tar.gz kernel-9e4a1100a445671dd55ff74dce859221cc1464fa.zip | |
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 <[email protected]>
Acked-by: Vladimir Zapolskiy <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
