boringssl/crypto/cipher
Adam Langley 0648129566 Move modes/ into the FIPS module
The changes to delocate.go are needed because modes/ does things like
return the address of a module function. Both of these need to be
changed from referencing the GOT to using local symbols.

Rather than testing whether |ghash| is |gcm_ghash_avx|, we can just keep
that information in a flag.

The test for |aesni_ctr32_encrypt_blocks| is more problematic, but I
believe that it's superfluous and can be dropped: if you passed in a
stream function that was semantically different from
|aesni_ctr32_encrypt_blocks| you would already have a bug because
|CRYPTO_gcm128_[en|de]crypt_ctr32| will handle a block at the end
themselves, and assume a big-endian, 32-bit counter anyway.

Change-Id: I68a84ebdab6c6006e11e9467e3362d7585461385
Reviewed-on: https://boringssl-review.googlesource.com/15064
Reviewed-by: Adam Langley <agl@google.com>
2017-04-21 17:46:37 +00:00
..
asm chacha20_poly1305_x86_64.pl: Suppress Yasm non-local label warnings. 2017-02-09 18:05:41 +00:00
test Add NIST CAVP TMOVS Known Answer tests for TDES in CBC and ECB modes. 2017-04-20 16:45:26 +00:00
aead_test.cc Add test for truncated AEAD tags. 2017-01-20 21:45:47 +00:00
aead.c Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
cipher_test.cc Add AESVS KAT vectors (CBC and ECB only). 2017-04-12 22:50:23 +00:00
cipher.c Fix crashes in EVP_CIPHER if cipher_data was not allocated. 2017-02-17 01:11:14 +00:00
CMakeLists.txt Split AES-CTR-HMAC and AES-GCM-SIV from e_aes.c. 2017-04-11 17:21:32 +00:00
derive_key.c Inital import. 2014-06-20 13:17:32 -07:00
e_aes.c Move modes/ into the FIPS module 2017-04-21 17:46:37 +00:00
e_aesctrhmac.c Split AES-CTR-HMAC and AES-GCM-SIV from e_aes.c. 2017-04-11 17:21:32 +00:00
e_aesgcmsiv.c Split AES-CTR-HMAC and AES-GCM-SIV from e_aes.c. 2017-04-11 17:21:32 +00:00
e_chacha20poly1305.c Test SSE4.1 before using ChaCha20-Poly1305 asm. 2017-02-03 16:46:26 +00:00
e_des.c Add support for 3DES-ECB. 2017-04-11 18:28:59 +00:00
e_null.c Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
e_rc2.c Fix up macros. 2016-10-18 18:28:23 +00:00
e_rc4.c Remove some easy obj.h dependencies. 2016-03-31 20:50:33 +00:00
e_ssl3.c Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
e_tls.c Convert tls_cbc.c to size_t. 2017-03-30 16:23:38 +00:00
internal.h Move modes/ into the FIPS module 2017-04-21 17:46:37 +00:00
tls_cbc.c Use a union in tls_cbc.c. 2017-03-30 16:25:11 +00:00