]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a38a042f35b574904d8f392f0ded6d2600a5ae2
tree6da8aa158d36f738227cecf6f22460fa6bdc3581
parent38c7d4a277fc173905f0bd7a7c1b73a56b953b72
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