boringssl/crypto/cipher
Brian Smith a3d9528e9e Unify AEAD and EVP code paths for AES-GCM.
This change makes the AEAD and EVP code paths use the same code for
AES-GCM. When AVX instructions are enabled in the assembly this will
allow them to use the stitched AES-GCM implementation.

Note that the stitched implementations are no-ops for small inputs
(smaller than 288 bytes for encryption; smaller than 96 bytes for
decryption). This means that only a handful of test cases with longish
inputs actually test the stitched code.

Change-Id: Iece8003d90448dcac9e0bde1f42ff102ebe1a1c9
Reviewed-on: https://boringssl-review.googlesource.com/7173
Reviewed-by: Adam Langley <agl@google.com>
2016-02-23 23:13:31 +00:00
..
test Fix ChaCha20-Poly1305 tests. 2015-12-16 21:20:49 +00:00
aead_test.cc Point EVP_aead_chacha20_poly1305 at the standardized version. 2015-12-16 21:22:11 +00:00
aead.c Add SSL_get_ivs. 2015-11-04 19:45:28 +00:00
cipher_test.cc Clarify some confusing casts involving |size_t|. 2016-02-12 15:37:15 +00:00
cipher.c Add |EVP_rc2_cbc| and implement |EVP_CTRL_SET_RC2_KEY_BITS|. 2015-08-05 21:23:56 +00:00
CMakeLists.txt Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
derive_key.c
e_aes.c Unify AEAD and EVP code paths for AES-GCM. 2016-02-23 23:13:31 +00:00
e_chacha20poly1305.c Use |alignas| for alignment. 2016-01-25 23:05:04 +00:00
e_des.c Re-add |EVP_des_ede|, which is ECB. 2015-08-20 21:33:21 +00:00
e_null.c
e_rc2.c Add |EVP_rc2_cbc| and implement |EVP_CTRL_SET_RC2_KEY_BITS|. 2015-08-05 21:23:56 +00:00
e_rc4.c Remove the stitched RC4-MD5 code and use the generic one. 2015-12-16 23:57:42 +00:00
e_ssl3.c Add SSL_get_ivs. 2015-11-04 19:45:28 +00:00
e_tls.c Remove the stitched RC4-MD5 code and use the generic one. 2015-12-16 23:57:42 +00:00
internal.h Add SSL_get_ivs. 2015-11-04 19:45:28 +00:00
tls_cbc.c Use Barrett reduction in CBC processing rather than tricks. 2016-01-27 22:05:01 +00:00