d1c0de6fe0
These will be used in follow-up commits. The _s names are taken from upstream, to ease importing code. I've also promoted the CONSTTIME_* macros from the test. None of them are really necessary except ~0u cannot substitute for CONSTTIME_TRUE_S on 64-bit platforms, so having the macros seems safer. Once everything is converted, I expect the unsigned versions can be removed, so I've made the _8 and _int functions act on size_t rather than unsigned. The users of these functions basically only believe that array indices and bytes exist. BUG=22 Change-Id: I987bfb0c708dc726a6f2afcb05b6619bbd600564 Reviewed-on: https://boringssl-review.googlesource.com/14306 Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: Adam Langley <agl@google.com> |
||
---|---|---|
.. | ||
asm | ||
test | ||
aead_test.cc | ||
aead.c | ||
cipher_test.cc | ||
cipher.c | ||
CMakeLists.txt | ||
derive_key.c | ||
e_aes.c | ||
e_chacha20poly1305.c | ||
e_des.c | ||
e_null.c | ||
e_rc2.c | ||
e_rc4.c | ||
e_ssl3.c | ||
e_tls.c | ||
internal.h | ||
tls_cbc.c |