crypto: inside-secure - Minor code cleanup and optimizations
authorPascal van Leeuwen <pascalvanl@gmail.com>
Fri, 30 Aug 2019 07:43:01 +0000 (09:43 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 5 Sep 2019 04:37:01 +0000 (14:37 +1000)
commitd2d9e6fd6d1cd9bd0654c9f7ed2317a7fd220aef
treeda8f0c7581e430b424c4ed29ed6686e2a7336c7a
parent493e289ca8aab8f9408376d6388ac8f819de6b73
crypto: inside-secure - Minor code cleanup and optimizations

Some minor cleanup changing e.g. "if (!x) A else B" to "if (x) B else A",
merging some back-to-back if's with the same condition, collapsing some
back-to-back assignments to the same variable and replacing some weird
assignments with proper symbolics.

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