boringssl/crypto/cipher
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
..
test Replace keywrap AEADs with upstream's APIs. 2016-10-04 01:37:31 +00:00
aead_test.cc Replace keywrap AEADs with upstream's APIs. 2016-10-04 01:37:31 +00:00
aead.c Add EVP_AEAD_CTX_aead. 2016-09-17 01:06:40 +00:00
cipher_test.cc Fold stack-allocated types into headers. 2016-09-07 21:50:05 +00:00
cipher.c Fix encrypt overflow 2016-05-03 16:43:12 +00:00
CMakeLists.txt
derive_key.c
e_aes.c Replace keywrap AEADs with upstream's APIs. 2016-10-04 01:37:31 +00:00
e_chacha20poly1305.c Remove RC4 from TLS for real. 2016-09-16 03:06:36 +00:00
e_des.c Use C99 for size_t loops. 2016-09-12 19:44:24 +00:00
e_null.c Remove some easy obj.h dependencies. 2016-03-31 20:50:33 +00:00
e_rc2.c Fix up macros. 2016-10-18 18:28:23 +00:00
e_rc4.c Remove some easy obj.h dependencies. 2016-03-31 20:50:33 +00:00
e_ssl3.c Remove RC4 from TLS for real. 2016-09-16 03:06:36 +00:00
e_tls.c Remove RC4 from TLS for real. 2016-09-16 03:06:36 +00:00
internal.h Remove RC4 from TLS for real. 2016-09-16 03:06:36 +00:00
tls_cbc.c Fix up macros. 2016-10-18 18:28:23 +00:00