boringssl/crypto/digest
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
..
CMakeLists.txt Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
digest_test.cc Use C99 for size_t loops. 2016-09-12 19:44:24 +00:00
digest.c Make EVP_MD_CTX size functions return size_t. 2016-04-19 15:12:41 +00:00
digests.c |EVP_get_digestbyname| and |EVP_get_digestbynid|: recognize MD4. 2015-08-18 22:23:44 +00:00
internal.h Remove EVP_PKEY_HMAC. 2015-06-25 00:03:02 +00:00
md32_common.h Fix up macros. 2016-10-18 18:28:23 +00:00