boringssl/crypto/cipher
David Benjamin bc1fde3206 Check max_out against in_len, not plaintext_len in RC4/MD5 AEAD.
Like the non-stitched variant, this "AEAD" uses the output buffer as
scratch space for the MAC. Thus it should require that max_out_len is
large enough to fit that, even though it will never return that large of
input.

Change-Id: I5b30b0756408c2e433448f540e7c65251336d2f8
Reviewed-on: https://boringssl-review.googlesource.com/4704
Reviewed-by: Adam Langley <agl@google.com>
2015-05-11 19:15:38 +00:00
..
test Add AES-192 ECB. 2015-05-04 17:52:24 -07:00
aead_test.c Eliminate unnecessary includes from low-level crypto modules. 2015-04-13 20:49:18 +00:00
aead.c Add SSL_get_rc4_state. 2015-03-18 19:54:34 +00:00
cipher_test.c Add AES-192 ECB. 2015-05-04 17:52:24 -07:00
cipher.c Remove crypto/obj dependencies from low-level crypto tests. 2015-04-13 20:25:45 +00:00
CMakeLists.txt Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
derive_key.c Inital import. 2014-06-20 13:17:32 -07:00
e_aes.c Add missing RC4 function pointers from AES-CTR-HMAC AEADs. 2015-05-04 17:52:24 -07:00
e_chacha20poly1305.c Add SSL_get_rc4_state. 2015-03-18 19:54:34 +00:00
e_des.c Remove EVP_MAXCHUNK from DES EVP code. 2015-03-13 19:46:49 +00:00
e_null.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
e_rc2.c Enable more warnings & treat warnings as errors on Windows. 2015-01-31 00:18:55 +00:00
e_rc4.c Check max_out against in_len, not plaintext_len in RC4/MD5 AEAD. 2015-05-11 19:15:38 +00:00
e_ssl3.c Add SSL_get_rc4_state. 2015-03-18 19:54:34 +00:00
e_tls.c Add SSL_get_rc4_state. 2015-03-18 19:54:34 +00:00
internal.h Compatibility changes for wpa_supplicant and OpenSSH. 2015-04-14 20:18:28 +00:00
tls_cbc.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00