commit | 45ec21b99c144643dec9e953a3b8ba44870f5cac | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@chromium.org> | Tue Jun 24 17:26:59 2014 -0700 |
committer | Adam Langley <agl@google.com> | Mon Jun 30 23:01:17 2014 +0000 |
tree | 1833a37a09d781ab6c02688934a5006e14a113e2 | |
parent | 5d17dd64ccff0b6840a0b673df29c97ec05be448 [diff] |
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>