author | Jerome Forissier <jerome.forissier@linaro.org> | |
Tue, 5 Jun 2018 16:44:42 +0000 (18:44 +0200) | ||
committer | Jérôme Forissier <jerome.forissier@linaro.org> | |
Thu, 7 Jun 2018 13:52:00 +0000 (15:52 +0200) | ||
commit | bf9009eba6eed881fb3dbb703265cbf43a1229cb | |
tree | de3a25b6d9ce7d152fd31969ae594de39ade4fdb | tree | snapshot (tar.xz tar.gz zip) |
parent | 0780ad48e6565511844af0775007a712ab0a0267 | commit | diff |
regression: 4003: use bigger plain text in AES CTR test
The AES CTR test added in the parent commit results in the accelerated
crypto code being called with 3 blocks of data (48 bytes), which revealed
a bug in the 32-bit version of ce_aes_ctr_encrypt() [1].
Add some more data to exercise a similar loop in the 64-bit version of
ce_aes_ctr_encrypt(). The loop deals with 4 blocks of data.
Link: [1] https://github.com/OP-TEE/optee_os/issues/2305
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
The AES CTR test added in the parent commit results in the accelerated
crypto code being called with 3 blocks of data (48 bytes), which revealed
a bug in the 32-bit version of ce_aes_ctr_encrypt() [1].
Add some more data to exercise a similar loop in the 64-bit version of
ce_aes_ctr_encrypt(). The loop deals with 4 blocks of data.
Link: [1] https://github.com/OP-TEE/optee_os/issues/2305
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
host/xtest/regression_4000.c | diff | blob | history |