boringssl/crypto/fipsmodule/modes
Adam Langley 518ba0772b Switch constant-time functions to using |crypto_word_t|.
Using |size_t| was correct, except for NaCl, which is a 64-bit build
with 32-bit pointers. In that configuration, |size_t| is smaller than
the native word size.

This change adds |crypto_word_t|, an unsigned type with native size and
switches constant-time functions to using it.

Change-Id: Ib275127063d5edbb7c55d413132711b7c74206b0
Reviewed-on: https://boringssl-review.googlesource.com/15325
Reviewed-by: Adam Langley <agl@google.com>
2017-04-21 22:06:05 +00:00
..
asm Move modes/ into the FIPS module 2017-04-21 17:46:37 +00:00
cbc.c Move modes/ into the FIPS module 2017-04-21 17:46:37 +00:00
cfb.c Move modes/ into the FIPS module 2017-04-21 17:46:37 +00:00
ctr.c Move modes/ into the FIPS module 2017-04-21 17:46:37 +00:00
gcm_test.cc Move modes/ into the FIPS module 2017-04-21 17:46:37 +00:00
gcm.c Move modes/ into the FIPS module 2017-04-21 17:46:37 +00:00
internal.h Move modes/ into the FIPS module 2017-04-21 17:46:37 +00:00
ofb.c Move modes/ into the FIPS module 2017-04-21 17:46:37 +00:00
polyval.c Switch constant-time functions to using |crypto_word_t|. 2017-04-21 22:06:05 +00:00