crypto: inside-secure - add an invalidation flag
authorAntoine Tenart <antoine.tenart@bootlin.com>
Thu, 28 Jun 2018 15:15:35 +0000 (17:15 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 8 Jul 2018 16:30:11 +0000 (00:30 +0800)
commit53c83e915ce8b2fdd7c4e143966a105c96454647
tree4f16b7f0425ea5f6de4f7e9d174187f2188e25ba
parent998d2abb0cb343c419c63898a414084ac6c17100
crypto: inside-secure - add an invalidation flag

Add a flags field in the private structure, and a first flag for engines
needing context invalidation (currently only the eip197b). The
invalidation is needed when the engine includes a TRC cache, which will
also be true for the upcoming addition of the eip197d engine.

Suggested-by: Ofer Heifetz <oferh@marvell.com>
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel.c
drivers/crypto/inside-secure/safexcel.h
drivers/crypto/inside-secure/safexcel_cipher.c
drivers/crypto/inside-secure/safexcel_hash.c