mbedtls/tests
Waleed Elmelegy 708d78f80b Improve & test legacy mbedtls_pkcs5_pbe2
* Prevent pkcs5_pbe2 encryption when PKCS7 padding has been
  disabled since this not part of the specs.
* Allow decryption when PKCS7 padding is disabled for legacy
  reasons, However, invalid padding is not checked.
* Add tests to check these scenarios. Test data has been
  reused but with changing padding data in last block to
  check for valid/invalid padding.
* Document new behaviour, known limitations and possible
  security concerns.

Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2023-07-19 14:01:35 +01:00
..
.jenkins
configs Explicitly disable all DTLS options in tls13-only.h 2023-03-01 19:49:58 +01:00
data_files Read and write X25519 and X448 private keys 2023-05-04 13:01:47 +02:00
docker/bionic Point to docker images used in the CI 2022-12-15 10:08:26 +01:00
git-scripts
include Support larger integer test arguments: C part 2023-04-26 19:40:02 +02:00
opt-testcases ssl-opt.sh: Remove some unnecessary forcing of TLS 1.3 2023-04-06 10:26:18 +02:00
scripts Adjust code style for pointer types and casts 2023-04-26 19:59:28 +02:00
src pk: use better naming for the new key ID field 2023-05-05 10:59:32 +02:00
suites Improve & test legacy mbedtls_pkcs5_pbe2 2023-07-19 14:01:35 +01:00
.gitignore tests/.gitignore: ignore *.o under tests/src/test_helpers 2023-03-24 18:03:48 +08:00
CMakeLists.txt Fix build errors in CMake 2023-03-13 19:20:42 +08:00
compat-in-docker.sh Use OPENSSL everywhere, not OPENSSL_CMD 2022-12-19 11:42:12 +01:00
compat.sh Update some comments 2023-02-23 16:03:56 +08:00
context-info.sh
Descriptions.txt
make-in-docker.sh Point to docker images used in the CI 2022-12-15 10:08:26 +01:00
Makefile Fix build errors in CMake 2023-03-13 19:20:42 +08:00
ssl-opt-in-docker.sh Use OPENSSL everywhere, not OPENSSL_CMD 2022-12-19 11:42:12 +01:00
ssl-opt.sh Merge pull request #6740 from xkqian/tls13_fix_unkown_pk_type 2023-05-05 16:14:59 +01:00