mbedtls/tests
Hanno Becker b3268dac00 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-25 12:58:21 +01:00
..
.jenkins Add Jenkinsfile for PR job 2018-10-19 15:25:10 +01:00
data_files Merge remote-tracking branch 'origin/pr/2477' into development 2019-04-16 14:38:58 +01:00
git-scripts Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
scripts Merge remote-tracking branch 'origin/pr/2559' into development 2019-04-16 15:09:42 +01:00
suites Add encryption/decryption tests for small records 2019-04-25 12:58:21 +01:00
.gitignore Move some ignore patterns to subdirectories 2015-01-28 15:33:23 +00:00
CMakeLists.txt Fix a rebase error 2019-04-04 07:59:41 -07:00
compat.sh Adjust DES exclude lists in test scripts 2019-03-01 10:22:04 +01:00
Descriptions.txt Add selftest program to the list of tests 2014-04-04 16:33:01 +02:00
Makefile Merge remote-tracking branch 'origin/pr/2531' into development 2019-03-27 16:52:08 +00:00
ssl-opt.sh Merge remote-tracking branch 'origin/pr/2567' into development 2019-04-16 15:08:39 +01:00