mbedtls/tests
Gilles Peskine 9b9b614a02 cipher_encrypt_alg_without_iv: validate size macros independently
Validate the size macros directly from the output length in the test data,
rather than using the value returned by the library. This is equivalent
since the value returned by the library is checked to be identical.

Enforce that SIZE() <= MAX_SIZE(), in addition to length <= SIZE(). This is
stronger than the previous code which merely enforced length <= SIZE() and
length <= MAX_SIZE().

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2022-04-21 11:24:48 +02:00
..
.jenkins
configs Remove use_psa_crypto in test scripts 2022-03-22 15:13:35 +08:00
data_files tests: data_files: Avoid symbolic links 2021-12-10 15:09:57 +01:00
docker/bionic Jinja2 prerequisite set up on the docker 2021-12-18 13:29:10 +05:30
git-scripts Update scripts to use check-names.py 2021-08-06 21:04:32 +01:00
include tests: Init PSA crypto if TLS 1.3 is enabled 2022-03-29 18:58:31 +02:00
opt-testcases ssl-opt.sh: Do not force TLS 1.3 on client 2022-03-29 18:58:31 +02:00
scripts Short-tag AEAD with the nominal length are encoded as nominal AEAD 2022-04-15 11:10:14 +02:00
src No need to recalculate iv_length 2022-04-15 11:10:14 +02:00
suites cipher_encrypt_alg_without_iv: validate size macros independently 2022-04-21 11:24:48 +02:00
.gitignore tests: Add build of a PSA test driver library 2021-12-06 07:50:27 +01:00
CMakeLists.txt Merge pull request #5635 from gilles-peskine-arm/psa-test-op-fail 2022-04-15 10:52:47 +02:00
compat-in-docker.sh Upgrade gnutls-next to 3.7.2 2021-09-02 17:31:10 +08:00
compat.sh Add comment in compat.sh about callers 2022-04-14 09:21:56 +02:00
context-info.sh Modifies tests in context-info.sh 2021-06-16 16:19:53 +01:00
Descriptions.txt
make-in-docker.sh
Makefile Declare modules used by generate_psa_tests.py as dependencies 2022-03-15 18:32:10 +01:00
ssl-opt-in-docker.sh Upgrade gnutls-next to 3.7.2 2021-09-02 17:31:10 +08:00
ssl-opt.sh Merge pull request #5686 from AndrzejKurek/off-by-one-ssl-opt 2022-04-07 16:20:55 +02:00