OSDN Git Service

crypto: inside-secure - Add support for EIP197 with output classifier
authorPascal van Leeuwen <pvanleeuwen@rambus.com>
Fri, 11 Sep 2020 07:46:39 +0000 (09:46 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Sep 2020 07:20:12 +0000 (17:20 +1000)
commitdbc756fcf7f3b843a3c96ac4d9522a86a757ae58
tree505162347b999ee20e3fd56912b3906648a6e147
parent6d77282fafd77b97e66c06ec7256c5889f262d9b
crypto: inside-secure - Add support for EIP197 with output classifier

This patch adds support for EIP197 instances that include the output
classifier (OCE) option, as used by one of our biggest customers.
The OCE normally requires initialization and dedicated firmware, but
for the simple operations supported by this driver, we just bypass it
completely for now (using what is formally a debug feature).

Signed-off-by: Pascal van Leeuwen <pvanleeuwen@rambus.com>
Acked-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