zephyr/drivers/crypto
Himanshu Jha dab64724eb drivers: crypto: Fix precedence issue in if statement
The logical NOT operator has a higher precedence than bitwise
AND operator. Therefore to make the test in if statement
correct, add parenthesis around the operands of bitwise
AND operator.

Found using Coccinelle.

Semantic Patch Language (SmPL) used:

<smpl>

@@
expression x;
constant C;
@@

- !x & C
+ !(x & C)

</smpl>

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
2018-10-25 07:23:49 +01:00
..
CMakeLists.txt
Kconfig drivers: crypto: move to new logger 2018-10-08 17:49:12 -04:00
Kconfig.ataes132a drivers: crypto: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
crypto_ataes132a.c drivers: crypto: Fix precedence issue in if statement 2018-10-25 07:23:49 +01:00
crypto_ataes132a_priv.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
crypto_mtls_shim.c drivers: crypto: move to new logger 2018-10-08 17:49:12 -04:00
crypto_tc_shim.c drivers: crypto: move to new logger 2018-10-08 17:49:12 -04:00
crypto_tc_shim_priv.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00