diff options
| author | Christophe Leroy <[email protected]> | 2021-01-20 18:57:24 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2021-01-29 15:57:58 +1100 |
| commit | 416b846757bcea20006a9197e67ba3a8b5b2a680 (patch) | |
| tree | 6cc864a67e9e0792242a0681ab2cd93a376bfac5 /tools/perf/scripts/python/bin | |
| parent | bc005983e88ac45a284f70dd6ce5707a0c9dddc4 (diff) | |
crypto: talitos - Work around SEC6 ERRATA (AES-CTR mode data size error)
Talitos Security Engine AESU considers any input
data size that is not a multiple of 16 bytes to be an error.
This is not a problem in general, except for Counter mode
that is a stream cipher and can have an input of any size.
Test Manager for ctr(aes) fails on 4th test vector which has
a length of 499 while all previous vectors which have a 16 bytes
multiple length succeed.
As suggested by Freescale, round up the input data length to the
nearest 16 bytes.
Fixes: 5e75ae1b3cef ("crypto: talitos - add new crypto modes")
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions