boringssl/crypto/modes
David Benjamin b1133e9565 Fix up macros.
Macros need a healthy dose of parentheses to avoid expression-level
misparses. Most of this comes from the clang-tidy CL here:
https://android-review.googlesource.com/c/235696/

Also switch most of the macros to use do { ... } while (0) to avoid all
the excessive comma operators and statement-level misparses.

Change-Id: I4c2ee51e347d2aa8c74a2d82de63838b03bbb0f9
Reviewed-on: https://boringssl-review.googlesource.com/11660
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Adam Langley <agl@google.com>
2016-10-18 18:28:23 +00:00
..
asm Add PPC64LE assembly for AES-GCM. 2016-09-27 18:43:20 +00:00
cbc.c
cfb.c Switch all 'num' parameters in crypto/modes to unsigned. 2016-04-19 17:56:25 +00:00
CMakeLists.txt Add PPC64LE assembly for AES-GCM. 2016-09-27 18:43:20 +00:00
ctr.c
gcm_test.cc Move gcm_test to C++ 2016-09-14 16:51:56 +00:00
gcm.c Fix up macros. 2016-10-18 18:28:23 +00:00
internal.h Wrap MSVC-only warning pragmas in a macro. 2016-06-09 21:29:36 +00:00
ofb.c Drop STRICT_ALIGNMENT code in ofb.c. 2016-08-16 18:37:01 +00:00