Ronald Cron
e0b06eb3a1
test_xts: Remove temporarily file earlier
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-07-15 09:32:44 +02:00
Ronald Cron
f256f8ac3e
Add test_xts component
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-07-11 18:00:12 +02:00
Ronald Cron
b5c6fcc4c9
test_psa_crypto_config_accel_cipher_aead_cmac: Disable POLY1305
...
In preparation of the removal of the configuration
option MBEDTLS_POLY1305_C, disable it in
test_psa_crypto_config_accel_cipher_aead_cmac as
it will be not possible to enable it when
CHACHA20_POLY1305 is accelerated.
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-07-11 18:00:06 +02:00
Ronald Cron
3f12006441
build_psa_config_file: Check PSA_WANT_ALG_CMAC instead of MBEDTLS_CMAC_C
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-07-11 17:59:29 +02:00
Ronald Cron
fbd5157989
ssl-opt.sh: Replace MBEDTLS_ECP_DP_* dependencies
...
In preparation of the removal of MBEDTLS_ECP_DP_*
configuration options, replace them by their
PSA_WANT_ECC_* equivalent in dependencies.
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-07-11 17:59:29 +02:00
Ronald Cron
68ba7f7ab7
ssl-opt.sh: Replace MBEDTLS_RSA_C dependencies
...
In preparation of the removal of MBEDTLS_RSA_C,
replace MBEDTLS_RSA_C by its PSA_WANT_ closest
equivalent PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC
in dependencies.
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-07-11 17:59:29 +02:00
Ronald Cron
bd28acf240
ssl-opt.sh: Remove dependencies on built-in CBC and AES
...
Remove dependencies on MBEDTLS_CIPHER_MODE_CBC and
MBEDTLS_AES_C, as these options will no longer be
available once they are removed from the configuration.
The affected tests rely on the built-in CBC and AES
implementations. With the removal of
MBEDTLS_CIPHER_MODE_CBC and MBEDTLS_AES_C as
configuration options, there is no longer a mechanism
in ssl-opt.sh to express these dependencies.
As a result, filter out these tests at the all.sh
component level when the built-in CBC and AES
implementations are not available.
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-07-11 17:59:16 +02:00
Ronald Cron
d5da020a63
depends.py: Do not fail when disabling a non-existing option
...
To ease the removal of legacy crypto options, do not
fail in depends.py when disabling a non-existing option.
This mimics the behavior of 'config.py unset'.
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-07-10 19:16:10 +02:00
Gilles Peskine
aeac0b31ac
Disable new platform-related option
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-07-10 13:00:36 +02:00
David Horstmann
ba2376c580
Merge pull request #10275 from ariwo17/remove-des-core-before-crypto
...
Remove DES from Mbed TLS core (except references blocked by TF PSA Crypto)
2025-07-09 09:52:31 +00:00
Manuel Pégourié-Gonnard
7aa58bc9a4
Merge pull request #10281 from amtkarm1/task-private-headers-gen-errors-pl
...
Make generate_errors.pl scan through private directories too
2025-07-09 09:30:24 +00:00
Ronald Cron
a3e1e95617
Merge pull request #10286 from davidhorstmann-arm/update-4.x-lts-timeline
...
Update note about the first 4.x LTS
2025-07-09 08:10:13 +00:00
Ari Weiler-Ofek
5d8d299f43
Disable PSA_WANT_KEY_TYPE_DES to stop DES from being re-enabled
...
Signed-off-by: Ari Weiler-Ofek <ariwei01@e134794.arm.com>
2025-07-09 00:18:18 +01:00
Ronald Cron
c1d9531c56
Do not link against builtin/everest/p256m libraries anymore
...
Following the move of all crypto code to the
tfpsacrypto library, do not link against the
driver libraries anymore.
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-07-08 16:24:15 +02:00
David Horstmann
b5e283679f
Update note about the first 4.x LTS
...
The release date is yet to be determined, to allow time for 4.x to
stabilise.
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2025-07-08 15:09:08 +01:00
Ben Taylor
08072685bd
remove hkdf header file from query_config template
...
Signed-off-by: Ben Taylor <bentay03@e140121.arm.com>
2025-07-08 14:24:44 +01:00
Anton Matkin
0c10d9b700
Improved the error generating script, so that it is a little more explicit
...
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-07-08 14:02:15 +02:00
Minos Galanakis
04c4d9cabd
Updated tf-psa-crypto pointer to tf-psa-crypto1.0.0-beta_mergeback
...
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-07-07 18:42:50 +03:00
Minos Galanakis
4716308835
Bring forward ChangeLog changes.
...
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-07-07 17:41:18 +03:00
Minos Galanakis
83bef5b66a
Merge tag 'mbedtls-4.0.0-beta' into mbedtls-4.0.0-beta-mergeback
...
Mbed TLS 4.0.0-beta
2025-07-07 17:40:18 +03:00
Anton Matkin
f94bc63fdb
Updated generate_errors.pl to include private directories too: the header is deemed to be private if it is in a private subdirectory
...
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-07-07 14:15:34 +02:00
Ari Weiler-Ofek
86422e5509
Remove: DES selftest, component_test_psa_crypto_config_accel_des and dead DES mentions prior to TF-PSA-Crypto cleanup
...
Signed-off-by: Ari Weiler-Ofek <ariwei01@e134794.arm.com>
2025-07-07 11:29:50 +01:00
David Horstmann
a9ff1c4089
Merge pull request #10262 from ariwo17/remove-des-from-error-generation
...
Remove DES from error generation
2025-07-04 17:50:23 +00:00
Ari Weiler-Ofek
2795197ba0
Remove DES handling from error generator
...
Signed-off-by: Ari Weiler-Ofek <ariwei01@e134794.arm.com>
2025-07-04 11:59:42 +01:00
Ari Weiler-Ofek
5341e3c3b3
Update tf-psa-crypto submodule to include DES error macro changes
...
Signed-off-by: Ari Weiler-Ofek <ariwei01@e134794.arm.com>
2025-07-04 11:59:42 +01:00
Manuel Pégourié-Gonnard
64e80ddf89
Merge pull request #10255 from gilles-peskine-arm/migration-guide-20250624-mbedtls
...
Migration guide for API changes in 2025Q2 in mbedtls
2025-06-30 18:33:36 +00:00
Gilles Peskine
159a652096
Minor clarifications
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
0b44f56d8d
Typos
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
5acb3a5969
Copyediting
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
ac18d0c0db
Fix spelling of mbedtls_low_level_strerr
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
9b69972589
Remove crypto error codes, refer to the crypto guide instead
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
bf92bae959
Copy error-codes.md from tf-psa-crypto
...
Much of it also applies to Mbed TLS.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
d3a6cbb6bb
Subsection for the removal of explicit RNG contexts
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
9000633f0e
Move some crypto changelog files to TF-PSA-Crypto
...
These files had gone on the wrong side during the repo split.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
2649aa283b
TLS key exchange removals
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
2ee5c55c79
Fix spelling of psa_generate_random()
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
fbab8c1df1
General notes about the transition to PSA
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
72968cca33
Generalize the section on function prototype changes
...
Not everything will be about PSA.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
f6c03d1b7f
typo
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
826225fe31
Migration guide entries for removed deprecated functions
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
a0e06dd6d3
Don't mention changes to fields that were already private
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
15037deab3
Consolidate changes to mbedtls_ssl_ticket_setup()
...
Describe the change to the cipher mechanism specification. Consolidate that
with the removal of the RNG arguments.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
663b6df522
Generalize section to other function prototype changes
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
6f035a854b
Explain why the programs have been removed
...
Also fix the indentation of `*`.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
617ee75e98
Copyediting and wording improvements
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
cd5abfe7b4
Move the X.509 and SSL content from the crypto migration guide
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
2607918066
Move PSA transition document to TF-PSA-Crypto
...
It went with Mbed TLS in the repository split, but belongs in TF-PSA-Crypto.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
1c2d9a3d74
Migration guide for OID
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
8ba67aef0d
Rendered documentation: info about private elements in public headers
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:23 +02:00
Gilles Peskine
0204470f38
Slight improvement to the Doxygen entry point
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-30 13:17:16 +02:00