boringssl/crypto/cipher/test
David Benjamin 65d74e4d76 Add better TLS CBC mode tests.
Add the following cases:

- Maximal padding

- Maximal padding with each possible byte position wrong.

- When the input is not publicly too short to find a MAC, but the
  unpadded value is too short. (This tests that
  EVP_tls_cbc_remove_padding and EVP_tls_cbc_copy_mac coordinate
  correctly. EVP_tls_cbc_remove_padding promises to also consider it
  invalid padding if there is no room for a MAC.)

Change-Id: I8fe18121afb915e579a8236d0e3ef354f1f835bc
Reviewed-on: https://boringssl-review.googlesource.com/10182
Commit-Queue: David Benjamin <davidben@google.com>
Commit-Queue: Adam Langley <agl@google.com>
Reviewed-by: Adam Langley <agl@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2016-08-10 01:06:24 +00:00
..
aes_128_cbc_sha1_ssl3_tests.txt Add better TLS CBC mode tests. 2016-08-10 01:06:24 +00:00
aes_128_cbc_sha1_tls_implicit_iv_tests.txt Add better TLS CBC mode tests. 2016-08-10 01:06:24 +00:00
aes_128_cbc_sha1_tls_tests.txt Add better TLS CBC mode tests. 2016-08-10 01:06:24 +00:00
aes_128_cbc_sha256_tls_tests.txt Add better TLS CBC mode tests. 2016-08-10 01:06:24 +00:00
aes_128_ctr_hmac_sha256.txt Add AEADs for AES-CTR with HMAC-SHA256. 2015-03-18 21:16:55 +00:00
aes_128_gcm_tests.txt Be consistent about 𝑥_tests.txt 2016-06-06 15:57:46 +00:00
aes_128_key_wrap_tests.txt
aes_256_cbc_sha1_ssl3_tests.txt Add better TLS CBC mode tests. 2016-08-10 01:06:24 +00:00
aes_256_cbc_sha1_tls_implicit_iv_tests.txt Add better TLS CBC mode tests. 2016-08-10 01:06:24 +00:00
aes_256_cbc_sha1_tls_tests.txt Add better TLS CBC mode tests. 2016-08-10 01:06:24 +00:00
aes_256_cbc_sha256_tls_tests.txt Add better TLS CBC mode tests. 2016-08-10 01:06:24 +00:00
aes_256_cbc_sha384_tls_tests.txt Add better TLS CBC mode tests. 2016-08-10 01:06:24 +00:00
aes_256_ctr_hmac_sha256.txt Add AEADs for AES-CTR with HMAC-SHA256. 2015-03-18 21:16:55 +00:00
aes_256_gcm_tests.txt Be consistent about 𝑥_tests.txt 2016-06-06 15:57:46 +00:00
aes_256_key_wrap_tests.txt
chacha20_poly1305_old_tests.txt Fix ChaCha20-Poly1305 tests. 2015-12-16 21:20:49 +00:00
chacha20_poly1305_tests.txt Fix ChaCha20-Poly1305 tests. 2015-12-16 21:20:49 +00:00
cipher_tests.txt Be consistent about 𝑥_tests.txt 2016-06-06 15:57:46 +00:00
des_ede3_cbc_sha1_ssl3_tests.txt Add better TLS CBC mode tests. 2016-08-10 01:06:24 +00:00
des_ede3_cbc_sha1_tls_implicit_iv_tests.txt Add better TLS CBC mode tests. 2016-08-10 01:06:24 +00:00
des_ede3_cbc_sha1_tls_tests.txt Add better TLS CBC mode tests. 2016-08-10 01:06:24 +00:00
make_all_legacy_aead_tests.sh
make_legacy_aead_tests.go Add better TLS CBC mode tests. 2016-08-10 01:06:24 +00:00
rc4_md5_ssl3_tests.txt
rc4_md5_tls_tests.txt
rc4_sha1_ssl3_tests.txt
rc4_sha1_tls_tests.txt