commit | 7a373fd74a8d1c4882e0236cc38345cec1393505 | [log] [tgz] |
---|---|---|
author | Romain Izard <romain.izard.pro@gmail.com> | Tue Oct 31 16:25:24 2017 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Nov 03 22:11:26 2017 +0800 |
tree | a9b3e7117c27d2dd7aaf7a744f0dc9821327c660 | |
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>