boringssl/crypto/cipher
David Benjamin 9f897b2580 Remove the stitched RC4-MD5 code and use the generic one.
This removes 16k from a release-mode build of the bssl tool. Now that we've
finished the AEAD refactor, there's no use in keeping this around as a
prototype for "stateful AEADs".

Before:
Did 2264000 RC4-MD5 (16 bytes) seal operations in 1000430us (2263026.9 ops/sec): 36.2 MB/s
Did 266000 RC4-MD5 (1350 bytes) seal operations in 1000984us (265738.5 ops/sec): 358.7 MB/s
Did 50000 RC4-MD5 (8192 bytes) seal operations in 1014209us (49299.5 ops/sec): 403.9 MB/s
After:
Did 1895000 RC4-MD5 (16 bytes) seal operations in 1000239us (1894547.2 ops/sec): 30.3 MB/s
Did 199000 RC4-MD5 (1350 bytes) seal operations in 1001361us (198729.5 ops/sec): 268.3 MB/s
Did 39000 RC4-MD5 (8192 bytes) seal operations in 1014832us (38430.0 ops/sec): 314.8 MB/s

There is a non-trivial performance hit, but this cipher doesn't matter much and
the stitched mode code reaches into MD5_CTX and RC4_KEY in somewhat unfortunate
ways.

Change-Id: I9ecd28d6afb54e90ce61baecc641742af2ae6269
Reviewed-on: https://boringssl-review.googlesource.com/6752
Reviewed-by: Adam Langley <agl@google.com>
2015-12-16 23:57:42 +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 Remove stl_compat.h. 2015-11-11 22:19:36 +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 Inital import. 2014-06-20 13:17:32 -07:00
e_aes.c Use UINT64_C instead of OPENSSL_U64. 2015-11-16 23:18:00 +00:00
e_chacha20poly1305.c Point EVP_aead_chacha20_poly1305 at the standardized version. 2015-12-16 21:22:11 +00:00
e_des.c Re-add |EVP_des_ede|, which is ECB. 2015-08-20 21:33:21 +00:00
e_null.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
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 Improve crypto/digest/md32_common.h mechanism. 2015-11-04 00:01:09 +00:00