mbedtls/tests
Gilles Peskine 42649d9270 Fix NULL+0 undefined behavior in ECB encryption and decryption
psa_cipher_encrypt() and psa_cipher_decrypt() sometimes add a zero offset to
a null pointer when the cipher does not use an IV. This is undefined
behavior, although it works as naively expected on most platforms. This
can cause a crash with modern Clang+ASan (depending on compiler optimizations).

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2022-11-23 14:16:52 +01:00
..
.jenkins
configs Update documents and check 2022-11-14 03:16:22 +00:00
data_files Merge pull request #6454 from valeriosetti/issue4577 2022-11-15 09:39:07 +01:00
docker/bionic removed changed made to the test/bionic/Dockerfile 2022-09-17 22:20:33 +02:00
git-scripts Fix typographical errors in .md files found by cspell 2022-07-29 13:44:01 +01:00
include Fix autocucumber in documentation 2022-11-15 20:49:58 +01:00
opt-testcases Add parse function for early data in encrypted extentions 2022-11-22 09:40:07 +00:00
scripts Merge pull request #6638 from ronald-cron-arm/tls13-misc 2022-11-23 09:07:36 +01:00
src Support negative zero as MPI test input 2022-11-15 20:47:07 +01:00
suites Fix NULL+0 undefined behavior in ECB encryption and decryption 2022-11-23 14:16:52 +01:00
.gitignore tests: Add build of a PSA test driver library 2021-12-06 07:50:27 +01:00
CMakeLists.txt Add module for bignum_core test generation 2022-10-19 15:20:01 +01: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 Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
Makefile Add module for bignum_core test generation 2022-10-19 15:20:01 +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 #6476 from yuhaoth/pr/fix-tls13-mbedtls_ssl_is_handshake_over 2022-11-23 12:12:02 +01:00