diff options
author | Romain Izard <romain.izard.pro@gmail.com> | 2017-10-31 16:25:24 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-11-03 22:11:26 +0800 |
commit | 7a373fd74a8d1c4882e0236cc38345cec1393505 (patch) | |
tree | a9b3e7117c27d2dd7aaf7a744f0dc9821327c660 /drivers/crypto/caam | |
parent | 91308019ecb46047b81d3c769cf5bf6b129ddf02 (diff) |
crypto: atmel-aes - Reset the controller before each use
When using the rfc4543(gcm(aes))) mode, the registers of the hardware
engine are not empty after use. If the engine is not reset before its
next use, the following results will be invalid.
Always reset the hardware engine.
Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam')
0 files changed, 0 insertions, 0 deletions