65d74e4d76
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> |
||
---|---|---|
.. | ||
aes_128_cbc_sha1_ssl3_tests.txt | ||
aes_128_cbc_sha1_tls_implicit_iv_tests.txt | ||
aes_128_cbc_sha1_tls_tests.txt | ||
aes_128_cbc_sha256_tls_tests.txt | ||
aes_128_ctr_hmac_sha256.txt | ||
aes_128_gcm_tests.txt | ||
aes_128_key_wrap_tests.txt | ||
aes_256_cbc_sha1_ssl3_tests.txt | ||
aes_256_cbc_sha1_tls_implicit_iv_tests.txt | ||
aes_256_cbc_sha1_tls_tests.txt | ||
aes_256_cbc_sha256_tls_tests.txt | ||
aes_256_cbc_sha384_tls_tests.txt | ||
aes_256_ctr_hmac_sha256.txt | ||
aes_256_gcm_tests.txt | ||
aes_256_key_wrap_tests.txt | ||
chacha20_poly1305_old_tests.txt | ||
chacha20_poly1305_tests.txt | ||
cipher_tests.txt | ||
des_ede3_cbc_sha1_ssl3_tests.txt | ||
des_ede3_cbc_sha1_tls_implicit_iv_tests.txt | ||
des_ede3_cbc_sha1_tls_tests.txt | ||
make_all_legacy_aead_tests.sh | ||
make_legacy_aead_tests.go | ||
rc4_md5_ssl3_tests.txt | ||
rc4_md5_tls_tests.txt | ||
rc4_sha1_ssl3_tests.txt | ||
rc4_sha1_tls_tests.txt |