diff options
author | 2019-12-13 14:45:44 +0000 | |
---|---|---|
committer | 2019-12-20 14:58:35 +0800 | |
commit | 3907ccfaec5d9965e306729936fc732c94d2c1e7 (patch) | |
tree | b45849ca6f26bc80bbfdaee058dfb5ee8050a308 /arch/arm64/crypto/nh-neon-core.S | |
parent | crypto: chelsio - calculating tx_channel_id as per the max number of channels (diff) | |
download | linux-3907ccfaec5d9965e306729936fc732c94d2c1e7.tar.gz linux-3907ccfaec5d9965e306729936fc732c94d2c1e7.tar.bz2 linux-3907ccfaec5d9965e306729936fc732c94d2c1e7.zip |
crypto: atmel-aes - Fix CTR counter overflow when multiple fragments
The CTR transfer works in fragments of data of maximum 1 MByte because
of the 16 bit CTR counter embedded in the IP. Fix the CTR counter
overflow handling for messages larger than 1 MByte.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 781a08d9740a ("crypto: atmel-aes - Fix counter overflow in CTR mode")
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm64/crypto/nh-neon-core.S')
0 files changed, 0 insertions, 0 deletions