crypto: inside-secure - enable context reuse
authorAntoine Tenart <antoine.tenart@bootlin.com>
Mon, 27 May 2019 14:50:59 +0000 (16:50 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 6 Jun 2019 06:38:56 +0000 (14:38 +0800)
commit97a1440d12947293ff3f0eb9b649052927a55ed8
tree228572f1c249af1f4e77c9b1fbf86d8446940d9c
parent082a9d0918d2aae48dc3b836a8e3ca6aa53d2495
crypto: inside-secure - enable context reuse

The context given to the crypto engine can be reused over time. While
the driver was designed to allow this, the feature wasn't enabled in the
hardware engine. This patch enables it.

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_ring.c