boringssl/crypto/cipher
Adam Langley 45ec21b99c Add stitched RC4-MD5 as an AEAD.
This change adds the stitched RC4-MD5 code from upstream OpenSSL but
exposes it as an AEAD. It's not a normal AEAD (it's stateful thus
doesn't take an nonce) but forcing pre-AEAD cipher suites in the AEAD
interface is less painful than forcing AEADs into the EVP_CIPHER
interface. Over time, more and more cipher suites will be exposed as
TLS-specific AEADs and then ssl/ can drop support for EVP_CIPHER.

See original code from upstream:
https://github.com/openssl/openssl/blob/master/crypto/evp/e_rc4_hmac_md5.c

Change-Id: Ia9267b224747f02be6b934ea0b2b50e1f529fab9
Reviewed-on: https://boringssl-review.googlesource.com/1043
Reviewed-by: Adam Langley <agl@google.com>
2014-06-30 23:01:17 +00:00
..
aead_test.c Add stitched RC4-MD5 as an AEAD. 2014-06-30 23:01:17 +00:00
aead.c AEAD interface. 2014-06-20 13:17:34 -07:00
aead.h Add stitched RC4-MD5 as an AEAD. 2014-06-30 23:01:17 +00:00
aes_128_gcm_tests.txt AEAD tests. 2014-06-20 13:17:34 -07:00
aes_256_gcm_tests.txt AEAD tests. 2014-06-20 13:17:34 -07:00
chacha20_poly1305_tests.txt ChaCha20-Poly1305 support. 2014-06-20 13:17:35 -07:00
cipher_error.c Add stitched RC4-MD5 as an AEAD. 2014-06-30 23:01:17 +00:00
cipher_test.c Inital import. 2014-06-20 13:17:32 -07:00
cipher_test.txt Inital import. 2014-06-20 13:17:32 -07:00
cipher.c Inital import. 2014-06-20 13:17:32 -07:00
cipher.h Add stitched RC4-MD5 as an AEAD. 2014-06-30 23:01:17 +00:00
CMakeLists.txt ChaCha20-Poly1305 support. 2014-06-20 13:17:35 -07:00
derive_key.c Inital import. 2014-06-20 13:17:32 -07:00
e_aes.c Remove references to AEAD in non-AEAD interface codepath 2014-06-25 15:56:05 -04:00
e_chacha20poly1305.c ChaCha20-Poly1305 support. 2014-06-20 13:17:35 -07:00
e_des.c Inital import. 2014-06-20 13:17:32 -07:00
e_null.c Inital import. 2014-06-20 13:17:32 -07:00
e_rc4.c Add stitched RC4-MD5 as an AEAD. 2014-06-30 23:01:17 +00:00
internal.h AEAD interface. 2014-06-20 13:17:34 -07:00
rc4_md5_tests.txt Add stitched RC4-MD5 as an AEAD. 2014-06-30 23:01:17 +00:00