crypto: inside-secure - Remove redundant algo to engine mapping code
authorPascal van Leeuwen <pascalvanl@gmail.com>
Mon, 19 Aug 2019 14:40:24 +0000 (16:40 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Aug 2019 08:05:28 +0000 (18:05 +1000)
commit70e39e2259a716cce1fecd9974942ee1ed58a9a5
treefd87133c18ed0edd3902ffdd1f22505b06027f2d
parent0f6e5c8234778f7dadf5789ce85ac1e062ebed9f
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>
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