diff options
author | Pascal van Leeuwen <pascalvanl@gmail.com> | 2019-08-19 16:40:24 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-08-30 10:05:28 +0200 |
commit | 70e39e2259a716cce1fecd9974942ee1ed58a9a5 (patch) | |
tree | fd87133c18ed0edd3902ffdd1f22505b06027f2d /drivers/crypto/inside-secure/safexcel.h | |
parent | crypto: inside-secure - make driver selectable for non-Marvell hardware (diff) | |
download | linux-70e39e2259a716cce1fecd9974942ee1ed58a9a5.tar.xz linux-70e39e2259a716cce1fecd9974942ee1ed58a9a5.zip |
crypto: inside-secure - Remove redundant algo to engine mapping code
This removes some code determine which engine has which algorithms which
was effectively redundant (may have been forward-looking?) due to always
enabling all algorithms for all currently supported engines.
A future patch will use a different, more scalable approach to achieve
this. This is removed now because otherwise the next patch will add new
hardware which would otherwise have to be added to all algorithms, so
now is a convenient time to just get rid of this.
Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com>
Acked-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/inside-secure/safexcel.h')
-rw-r--r-- | drivers/crypto/inside-secure/safexcel.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/inside-secure/safexcel.h b/drivers/crypto/inside-secure/safexcel.h index 6f9875e7a0c0..ea9369c231e2 100644 --- a/drivers/crypto/inside-secure/safexcel.h +++ b/drivers/crypto/inside-secure/safexcel.h @@ -630,7 +630,6 @@ struct safexcel_ahash_export_state { struct safexcel_alg_template { struct safexcel_crypto_priv *priv; enum safexcel_alg_type type; - u32 engines; union { struct skcipher_alg skcipher; struct aead_alg aead; |