mbedtls/tests
Hanno Becker d300003b2c Add encryption/decryption tests for small records
This commit adds tests to check the behavior of the record encryption
routine `ssl_encrypt_buf` when the buffer surrounding the plaintext is
too small to hold the expansion in the beginning and end (due to IV's,
padding, and MAC).

Each test starts successively increases the space available at the
beginning, end, or both, of the record buffer, and checks that the
record encryption either fails with a BUFFER_TOO_SMALL error, or
that it succeeds. Moreover, if it succeeds, it is checked that
decryption succeeds, too, and results in the original record.
2019-04-29 12:15:30 +02:00
..
.jenkins
data_files Add tests for (named) bitstring to suite_asn1write 2019-02-11 21:23:49 +00:00
git-scripts
scripts Merge remote-tracking branch 'origin/pr/2388' into mbedtls-2.16 2019-03-05 16:34:40 +00:00
suites Add encryption/decryption tests for small records 2019-04-29 12:15:30 +02:00
.gitignore
CMakeLists.txt Merge remote-tracking branch 'origin/pr/2293' into mbedtls-2.16 2019-03-05 16:31:02 +00:00
compat.sh Adjust DES exclude lists in test scripts 2019-03-01 10:30:11 +01:00
Descriptions.txt
Makefile
ssl-opt.sh Merge remote-tracking branch 'origin/pr/2436' into mbedtls-2.16 2019-03-05 16:26:34 +00:00