boringssl/crypto/fipsmodule
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
..
aes Move modes/ into the FIPS module 2017-04-21 17:46:37 +00:00
digest Be less clever about .rel.ro avoidance. 2017-04-07 15:20:26 +00:00
hmac First part of the FIPS module. 2017-04-07 00:05:34 +00:00
md4 First part of the FIPS module. 2017-04-07 00:05:34 +00:00
md5 First part of the FIPS module. 2017-04-07 00:05:34 +00:00
modes Switch constant-time functions to using |crypto_word_t|. 2017-04-21 22:06:05 +00:00
rand Move much of rand/ into the FIPS module. 2017-04-21 22:03:18 +00:00
sha First part of the FIPS module. 2017-04-07 00:05:34 +00:00
ar.go Include the correct ar.go. 2017-04-07 00:37:30 +00:00
bcm.c Move much of rand/ into the FIPS module. 2017-04-21 22:03:18 +00:00
CMakeLists.txt Sort lists of asm files and tests. 2017-04-21 22:03:36 +00:00
const.go Be less clever about .rel.ro avoidance. 2017-04-07 15:20:26 +00:00
delocate.go Handle BSS sections. 2017-04-21 22:06:00 +00:00
delocate.h Move much of rand/ into the FIPS module. 2017-04-21 22:03:18 +00:00
FIPS.md Inject FIPS hash without running module. 2017-04-12 23:09:38 +00:00
inject-hash.go Inject FIPS hash without running module. 2017-04-12 23:09:38 +00:00
intcheck1.png First part of the FIPS module. 2017-04-07 00:05:34 +00:00
intcheck2.png Inject FIPS hash without running module. 2017-04-12 23:09:38 +00:00
intcheck3.png First part of the FIPS module. 2017-04-07 00:05:34 +00:00
is_fips.c First part of the FIPS module. 2017-04-07 00:05:34 +00:00