mbedtls/tests
Gilles Peskine ee46fe7b9b Fix output size calculations in cipher tests
Some calls to psa_cipher_finish or psa_cipher_update append to a
buffer. Several of these calls were not calculating the offset into
the buffer or the remaining buffer size correctly.

This did not lead to buffer overflows before because the buffer sizes
were sufficiently large for our test inputs. This did not lead to
incorrect output when the test was designed to append but actually
wrote too early because all the existing test cases either have no
output from finish (stream cipher) or have no output from update (CBC,
with less than one block of input).
2019-02-19 19:05:33 +01:00
..
.jenkins Add a Jenkinsfile for PR job testing 2018-10-19 16:41:54 +01:00
data_files Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
git-scripts Merge development commit 8e76332 into development-psa 2019-01-31 08:20:20 -05:00
scripts Merge pull request #51 from Patater/update-dev-tls-dev-crypto-merge 2019-02-15 15:07:37 +00:00
suites Fix output size calculations in cipher tests 2019-02-19 19:05:33 +01:00
.gitignore
CMakeLists.txt Merge branch 'development-psa-proposed' into development 2019-02-14 15:58:43 +00:00
compat.sh Fix #2370, minor typos and spelling mistakes 2019-01-24 10:37:40 +01:00
Descriptions.txt
Makefile psa: Include PSA headers for tests and programs 2018-11-23 15:22:44 +00:00
ssl-opt.sh Merge development-psa commit 80b5662 into development-psa-merged branch 2019-02-05 06:02:51 -05:00