mbedtls/tests
Gilles Peskine b24ed5261e Use a plausible input size with asymmetric verification
Otherwise the error status can be PSA_ERROR_INVALID_SIGNATURE instead of the
expected PSA_ERROR_NOT_SUPPORTED in some configurations. For example, the
RSA verification code currently checks the signature size first whenever
PSA_KEY_TYPE_RSA_PUBLIC_KEY is enabled, and only gets into
algorithm-specific code if this passes, so it returns INVALID_SIGNATURE even
if the specific algorithm is not supported.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2022-04-05 15:03:39 +02:00
..
.jenkins
configs Add header guard around malloc(0) returning NULL implementation 2022-03-04 05:07:45 -05: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 Merge pull request #3624 from daxtens/timeless 2022-03-15 16:43:19 +00:00
opt-testcases Run TLS 1.3 tests when MBEDTLS_USE_PSA_CRYPTO is enabled 2022-02-11 16:10:44 +01:00
scripts Test attempts to use a public key for a private-key operation 2022-04-05 15:02:44 +02:00
src Merge pull request #5292 from mprse/asym_encrypt 2022-03-10 20:07:38 +01:00
suites Use a plausible input size with asymmetric verification 2022-04-05 15:03:39 +02:00
.gitignore tests: Add build of a PSA test driver library 2021-12-06 07:50:27 +01:00
CMakeLists.txt Declare modules used by generate_psa_tests.py as dependencies 2022-03-15 18:32:10 +01:00
compat-in-docker.sh Upgrade gnutls-next to 3.7.2 2021-09-02 17:31:10 +08:00
compat.sh Fix (d)tls1_2 into (d)tls12 in version options 2021-12-02 13:22:18 +00: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 #5454 from gstrauss/cert_cb-user_data 2022-03-10 11:51:42 +01:00