diff options
author | 2019-12-05 09:54:03 +0000 | |
---|---|---|
committer | 2019-12-11 16:46:23 +0800 | |
commit | 371731ec2179d5810683406e7fc284b41b127df7 (patch) | |
tree | 6da2dea0e5c77f4d3f1d10d9e9271f056b4ac017 /crypto/algapi.c | |
parent | crypto: atmel-aes - Fix counter overflow in CTR mode (diff) | |
download | linux-rng-371731ec2179d5810683406e7fc284b41b127df7.tar.xz linux-rng-371731ec2179d5810683406e7fc284b41b127df7.zip |
crypto: atmel-aes - Fix saving of IV for CTR mode
The req->iv of the skcipher_request is expected to contain the
last used IV. Update the req->iv for CTR mode.
Fixes: bd3c7b5c2aba ("crypto: atmel - add Atmel AES driver")
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions