3afb7c33d5
Update PSA compliance test branch
...
Update to a branch with a fix for the test case
"expected error for psa_raw_key_agreement - Small buffer size"
since we just fixed the corresponding bug.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2022-05-18 16:25:39 +02:00
0e7791ff07
Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell.
...
Signed-off-by: Shaun Case <warmsocks@gmail.com >
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com >
2022-04-28 18:22:20 +01:00
2be65d5134
Remove expected failure from test_psa_compliance
...
Issue #5143 was fixed in PR #5192 .
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2021-11-17 14:47:56 +01:00
24ec529f82
Multipart AEAD is not supported in Mbed TLS 2.x
...
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2021-11-11 20:47:29 +01:00
e30fcb6ed5
Remove superfluous expected failures from list
...
Issue #5144 doesn't affect development_2.x
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2021-11-11 16:24:19 +01:00
1dbaaba067
Build psa-arch-tests with MISSING_CRYPTO_1_0=1
...
This disables references to the missing multipart AEAD functions.
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2021-11-10 17:44:37 +01:00
d1c6420aba
Move to a fork with Mbed TLS 2.x specific fixes
...
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2021-11-10 17:43:20 +01:00
340352ad74
Track upstreaming task in an issue
...
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2021-11-10 14:56:35 +01:00
7ccbea6e47
Document the values in EXPECTED_FAILURES
...
Including the issues where the corresponding defects are tracked.
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2021-11-10 14:56:35 +01:00
355f8050cc
Move to an updated fork of psa-arch-tests
...
The new fork was rebased on top of the upstream master, removing the
need for most of the downstream patches we carried.
On the other hand, the new fork includes a couple of fixes to problems
that were not addressed by the original fork, or were introduced with the
new version of psa-arch-tests.
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2021-11-10 14:56:35 +01:00
bd66d184ff
Keep local clone around even if the test succeeds
...
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2021-11-10 14:56:35 +01:00
eda2fb9583
Make directory creation code more compact
...
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2021-11-10 14:56:35 +01:00
c2ca135f82
Add licence header to script
...
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2021-11-10 14:56:35 +01:00
559f1ce0a3
Make main() suitable to being called from python
...
Don't call sys.exit(), and don't clobber the working directory.
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2021-11-10 14:56:34 +01:00
19a124d677
Fix pylint errors
...
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2021-11-10 14:56:34 +01:00
6025655598
Simplify regex and use named capture groups
...
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2021-11-10 14:56:34 +01:00
faf7f1b554
Use print(end='') to silence double newline
...
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2021-11-10 14:56:34 +01:00
f54a9d2adf
Indicate errors interleaved with test suite output
...
Indicate whether a success or failure is unexpected, or expected and
ignored as they happen.
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2021-11-10 14:56:34 +01:00
ab796e656b
Make the changes easier to backport
...
The code replaced in this patch was not compatible with the
development_2.x branch.
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2021-11-10 14:56:34 +01:00
9f84911d55
Run the PSA Compliance test suite in all.sh
...
This commit adds a component to all.sh which clones, builds and runs the
compliance test suite.
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2021-11-10 14:56:34 +01:00