boringssl/crypto/modes
David Benjamin a353cdb671 Wrap MSVC-only warning pragmas in a macro.
There's a __pragma expression which allows this. Android builds us Windows with
MinGW for some reason, so we actually do have to tolerate non-MSVC-compatible
Windows compilers. (Clang for Windows is much more sensible than MinGW and
intentionally mimicks MSVC.)

MinGW doesn't understand MSVC's pragmas and warns a lot. #pragma warning is
safe to suppress, so wrap those to shush them. This also lets us do away with a
few ifdefs.

Change-Id: I1f5a8bec4940d4b2d947c4c1cc9341bc15ec4972
Reviewed-on: https://boringssl-review.googlesource.com/8236
Reviewed-by: Adam Langley <agl@google.com>
2016-06-09 21:29:36 +00:00
..
asm Clarify use of |$end0| in stitched x86-64 AES-GCM code. 2016-03-02 23:37:17 +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
ctr.c Fix build. 2016-02-29 22:01:04 +00:00
gcm_test.c Start assuming MSVC 2015. 2016-05-02 19:46:25 +00:00
gcm.c Fix aarch64 build. 2016-03-21 22:56:55 +00:00
internal.h Wrap MSVC-only warning pragmas in a macro. 2016-06-09 21:29:36 +00:00
ofb.c Switch all 'num' parameters in crypto/modes to unsigned. 2016-04-19 17:56:25 +00:00