boringssl/crypto/ec
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 "Fix" some trailing whitespace. 2016-10-03 18:30:36 +00:00
CMakeLists.txt
ec_asn1.c Decouple crypto/ec from the OID table. 2016-03-31 22:12:09 +00:00
ec_key.c Add BN_rand_range_ex and use internally. 2016-07-29 16:09:26 +00:00
ec_montgomery.c Be -Wnewline-eof clean. 2016-08-29 19:15:19 +00:00
ec_test.cc Fold stack-allocated types into headers. 2016-09-07 21:50:05 +00:00
ec.c Use C99 for size_t loops. 2016-09-12 19:44:24 +00:00
example_mul.c Remove some easy obj.h dependencies. 2016-03-31 20:50:33 +00:00
internal.h Don't use function wrappers for EC_METHOD. 2016-08-16 19:27:52 +00:00
oct.c Require compressed x EC coordinate to be a field element. 2016-03-11 19:13:20 +00:00
p224-64.c Use C99 for size_t loops. 2016-09-12 19:44:24 +00:00
p256-64.c Fix up macros. 2016-10-18 18:28:23 +00:00
p256-x86_64-table.h Use |alignas| for alignment. 2016-01-25 23:05:04 +00:00
p256-x86_64.c Don't use function wrappers for EC_METHOD. 2016-08-16 19:27:52 +00:00
simple.c Use C99 for size_t loops. 2016-09-12 19:44:24 +00:00
util-64.c Remove unused code for multiple-point ECC multiplication. 2016-03-09 19:47:19 +00:00
wnaf.c