cd2660fb0e
fixed code style
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 13:34:03 +00:00
8224e71262
remove NULL guard
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 13:34:03 +00:00
c12152e53e
corrected style
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 13:34:03 +00:00
b9f83b3d07
Remove srand from fuzz
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 13:34:03 +00:00
03c05c336e
Remove additional line
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 13:34:03 +00:00
fb68b8cf57
Remove empty ifdef
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 13:34:03 +00:00
9774e9a176
corrected code style
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 13:34:03 +00:00
1f091466c1
tidy up syntax
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 13:34:03 +00:00
1cd1e01897
Correct code style
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 13:34:03 +00:00
0deda0e34c
Update debug
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 13:33:32 +00:00
d5d707842c
removed NR psa-init
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 13:33:32 +00:00
6ff2da196a
added further debug
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 13:33:32 +00:00
fd52984896
resolved ci failures
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 13:32:10 +00:00
602b2968ca
pre-test version of the mbedtls_ssl_conf_rng removal
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 13:32:10 +00:00
47111a1cb1
initial remove of mbedtls_ssl_conf_rng
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 13:32:10 +00:00
fc66d5876d
Delete some sample programs
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 13:24:14 +00:00
a881db924f
tf-psa-crypto: update reference
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-03-26 13:33:01 +01:00
f0ca71cb3c
framework: update reference
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-03-26 13:32:54 +01:00
b33e06c56f
tests: psasim: remove references to mbedtls_psa_register_se_key()
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-03-26 13:32:54 +01:00
ba66794fb4
library: remove psa_crypto_se.c from Makefile
...
Following the removal of MBEDTLS_PSA_CRYPTO_SE_C the file was removed
from tf-psa-crypto.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-03-26 13:32:54 +01:00
9f2939c56d
test: components: remove references to MBEDTLS_PSA_CRYPTO_SE_C
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-03-26 13:32:54 +01:00
ae5f6c4de1
scripts: config.py: remove references to MBEDTLS_PSA_CRYPTO_SE_C
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-03-26 13:32:54 +01:00
48d1c149d1
Merge pull request #10037 from bjwtaylor/remove-rng-parameters-from-pk
...
Remove rng parameters from PK and X.509
2025-03-26 10:18:08 +00:00
a465aa4899
The LTS branch 2.28 is now EOL
...
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com >
2025-03-26 10:08:50 +01:00
3b11f4113f
Update tf-psa-crypto to include dependencies.
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 08:17:38 +00:00
440cb2aac2
Remove RNG from x509 and PK
...
remove the f_rng and p_rng parameter from x509 and PK.
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 08:17:38 +00:00
bc7cd93b5f
Add missing credit for set_hostname issue
...
Correctly credit Daniel Stenberg as the reporter of the
mbedtls_ssl_set_hostname() issue. This was previously missed.
Signed-off-by: David Horstmann <david.horstmann@arm.com >
2025-03-25 15:59:45 +00:00
b90a16d589
Merge pull request #10089 from felixc-arm/add-define-in-programs
...
Define MBEDTLS_DECLARE_PRIVATE_IDENTIFIERS in every sample program
2025-03-25 14:24:31 +00:00
44b3b91556
Merge pull request #9926 from gilles-peskine-arm/error-codes-add-force-low-mbedtls
...
Do not add error codes
2025-03-25 12:01:55 +00:00
858b829436
Add define to fuzz/common.c and ssl/ssl_test_lib.c
...
Signed-off-by: Felix Conway <felix.conway@arm.com >
2025-03-25 10:06:53 +00:00
61621cbb5d
Don't allow psa_xxx() to return MBEDTLS_ERR_XXX
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-03-24 14:26:39 +00:00
1ffdb18cdb
Remove mbedtls_low_level_sterr() and mbedtls_high_level_strerr()
...
Just removed from the API. We can greatly simplify error.c but that will be
for later.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-03-24 14:26:39 +00:00
275951292c
Update crypto submodule
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-03-24 14:26:37 +00:00
c8c1a393e0
Changelog entry for error code space unification
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-03-24 14:13:50 +00:00
a7e14dc9eb
Don't expect added error codes
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-03-24 14:13:50 +00:00
998760ae5d
Define MBEDTLS_DECLARE_PRIVATE_IDENTIFIERS in every sample program
...
Add #define MBEDTLS_DECLARE_PRIVATE_IDENTIFIERS to every sample program
before the first include so that mbedtls doesn't break with future
privatization work.
Signed-off-by: Felix Conway <felix.conway@arm.com >
2025-03-24 11:37:33 +00:00
0a69f14abc
Merge pull request #10015 from gabor-mezei-arm/9682_remove_RSA_key_exchange
...
Remove the RSA-decryption key exchange
2025-03-20 21:14:07 +00:00
2c7f38823d
Update framework
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com >
2025-03-20 17:56:11 +01:00
5ba9b57cbd
Convert test function to a static function
...
The `resize_buffers` function is no more used as a test
function to convert it to a static function.
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com >
2025-03-20 17:55:35 +01:00
1ac784c5a5
Fix test case migration
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com >
2025-03-20 17:55:35 +01:00
10018fc82e
Do not remeove macro from design doc
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com >
2025-03-20 17:55:30 +01:00
9ee58e43e1
Update test dependencies
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com >
2025-03-20 17:55:30 +01:00
817a1553b9
Add missing newline
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com >
2025-03-20 17:55:30 +01:00
aeea5e65af
Add changelog entry
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com >
2025-03-20 17:53:08 +01:00
47c6277480
Update dependencies
...
Let the TLS context serialiazation tests to run with other than RSA
ciphersuites.
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com >
2025-03-20 17:53:07 +01:00
58535da8d0
Only check for certificates if it is supported
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com >
2025-03-20 17:53:07 +01:00
3ead04a12d
Remove/migrate tests for key exchange based on decryption
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com >
2025-03-20 17:53:07 +01:00
e99e591179
Remove key exchange based on encryption/decryption
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com >
2025-03-20 17:53:07 +01:00
3ee9a8cf49
Remove TLS-RSA
related test cases
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com >
2025-03-20 17:53:07 +01:00
3c7db0e5a8
Remove MBEDTLS_TLS_RSA_*
ciphersuite macros
...
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com >
2025-03-20 17:53:07 +01:00