Manuel Pégourié-Gonnard 6d08dba4f6 Fix test function derive_key_exercise()
mbedtls_test_psa_setup_key_derivation_wrap() returns 1 for success, 0
for error, so the test here was wrong.

This is just a hotfix in order to avoid a testing gap. Larger issues not
addressed here:

- I don't think we should just exit and mark the test as passed; if
we're not doing the actual testing this should be marked as SKIP.
- Returning 1 for success and 0 for failure is a violation of our
documented coding guidelines. We're also supposed to test with == 0 or
!= 0. Having consistent conventions is supposed to help avoid errors
like this.

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2023-01-05 10:53:10 +01:00
..
.jenkins
configs Add header guard around malloc(0) returning NULL implementation 2022-03-04 15:25:42 -05:00
data_files Fix typo 'unsupoported' -> 'unsupported' 2022-11-25 15:54:07 +00:00
docker/bionic Point to docker images used in the CI 2022-12-16 10:21:11 +01:00
git-scripts Fix typographical errors in .md files found by cspell 2022-07-29 13:54:52 +01:00
include Merge pull request #6735 from daverodgman/fix_test_dep_spelling_2.28 2022-12-07 09:06:39 +00:00
scripts Merge pull request #6798 from gilles-peskine-arm/check_test_cases-quiet_ci-2.28 2022-12-21 09:42:59 +01:00
src Support negative zero as MPI test input 2022-11-10 15:15:25 +01:00
suites Fix test function derive_key_exercise() 2023-01-05 10:53:10 +01:00
.gitignore tests: Add build of a PSA test driver library 2021-11-30 14:49:19 +01:00
CMakeLists.txt Fix "make lcov" in CMake out-of-tree builds 2022-12-13 18:44:14 +01:00
compat-in-docker.sh Point to docker images used in the CI 2022-12-16 10:21:11 +01:00
compat.sh compat.sh: Restore testing against OpenSSL for pre 1.2 TLS versions 2022-11-24 22:43:15 +01:00
context-info.sh Merge pull request #3614 from gilles-peskine-arm/ssl-opt-gnutls-printf-development 2020-11-04 17:55:42 +01:00
Descriptions.txt Revert "Remove tests that depend on TLS or X.509" 2020-03-19 14:17:54 +01:00
make-in-docker.sh Point to docker images used in the CI 2022-12-16 10:21:11 +01:00
Makefile Add target to generated all .c (and .datax) files 2022-11-29 21:46:50 +01:00
ssl-opt-in-docker.sh Point to docker images used in the CI 2022-12-16 10:21:11 +01:00
ssl-opt.sh Document all effects of MBEDTLS_ECP_RESTARTABLE 2022-12-09 10:24:52 +01:00