boringssl/crypto/modes
Adam Langley 64a8659b89 Rename BSWAP[48] to CRYPTO_bswap[48] and always define them.
Previously, gcm.c contained a lot of workarounds for cases where BSWAP8
wasn't defined. Rather than handle this in each place, just make it
always available.

While we're here, make these macros inline functions instead and rename
them to something less likely to collide.

Change-Id: I9f2602f8b9965c63a86b177a8a084afb8b53a253
Reviewed-on: https://boringssl-review.googlesource.com/12479
Commit-Queue: Adam Langley <alangley@gmail.com>
Reviewed-by: Adam Langley <agl@google.com>
2016-12-05 21:37:16 +00:00
..
asm Add PPC64LE assembly for AES-GCM. 2016-09-27 18:43:20 +00:00
cbc.c Rename BSWAP[48] to CRYPTO_bswap[48] and always define them. 2016-12-05 21:37:16 +00:00
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 Fix build. 2016-02-29 22:01:04 +00:00
gcm_test.cc Rename BSWAP[48] to CRYPTO_bswap[48] and always define them. 2016-12-05 21:37:16 +00:00
gcm.c Rename BSWAP[48] to CRYPTO_bswap[48] and always define them. 2016-12-05 21:37:16 +00:00
internal.h Rename BSWAP[48] to CRYPTO_bswap[48] and always define them. 2016-12-05 21:37:16 +00:00
ofb.c Drop STRICT_ALIGNMENT code in ofb.c. 2016-08-16 18:37:01 +00:00