OSDN Git Service

crypto: inside-secure - unify cache reset
authorAntoine Tenart <antoine.tenart@bootlin.com>
Mon, 27 May 2019 14:51:00 +0000 (16:51 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 6 Jun 2019 06:38:56 +0000 (14:38 +0800)
commitaa52428698aeb1c1d4ebb7c3e9de3e7bdce25704
treec6952bc57be64dcf0378438ce5c4ed1c092e58cd
parent97a1440d12947293ff3f0eb9b649052927a55ed8
crypto: inside-secure - unify cache reset

This patch unify the way the cache related data is zeroed when the cache
buffer is DMA unmapped. It should not change the driver behaviour, but
improves the code safety and readability.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel_hash.c