mbedtls/tests
Simon Butcher 49f8e3157c Fix warning with gcc7/maximum allocation exceeded
Adds an additional boundary check to the test parameter bytes_arg in
generate_random() in test_suite_psa_crypto.function.

This is to check against a possible underflow, and to avoid a warning,
"argument ... exceeds maximum object size", (-Werror=alloc-size-larger-than)
that GCC 7 generates.

Signed-off-by: Simon Butcher <simon.butcher@arm.com>
2020-03-03 17:28:05 +00:00
..
.jenkins
configs Add a test component with malloc(0) returning NULL 2019-09-24 18:28:26 +02:00
data_files Remove unused test data file 2019-11-14 19:14:40 +01:00
docker/bionic
git-scripts
scripts Change key types to a 16-bit encoding 2020-01-31 10:24:21 +01:00
suites Fix warning with gcc7/maximum allocation exceeded 2020-03-03 17:28:05 +00:00
.gitignore PSA return status coverage script 2019-09-06 19:28:47 +02:00
CMakeLists.txt cmake: update interpreter requirement for the test suite generator 2019-11-13 14:33:34 +00:00
Descriptions.txt
make-in-docker.sh
Makefile Makefiles: move the dependencies block to be after DLEXT definition 2019-10-07 09:24:22 -04:00
psa_crypto_helpers.h PSA return status coverage script 2019-09-06 19:28:47 +02:00
psa_helpers.h