]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd849ad203e8eb0c773a1d59b64ce96789716c8a1
treefd87133c18ed0edd3902ffdd1f22505b06027f2d
parent43f269d03da3a3d13fc3d76d00b3f13888296ea6
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