crypto: inside-secure - Minor optimization recognizing CTR is always AES
authorPascal van Leeuwen <pascalvanl@gmail.com>
Fri, 30 Aug 2019 07:42:29 +0000 (09:42 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 5 Sep 2019 04:37:01 +0000 (14:37 +1000)
commit493e289ca8aab8f9408376d6388ac8f819de6b73
tree6da8aa158d36f738227cecf6f22460fa6bdc3581
parentaa88f331c8ff40ef3643dba9b5ac11b5702e5fc4
crypto: inside-secure - Minor optimization recognizing CTR is always AES

Moved counter mode handling code in front as it doesn't depend on the
rest of the code to be executed, it can just do its thing and exit.

Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel_cipher.c