Commit Graph

33703 Commits

Author SHA1 Message Date
Bence Szépkúti
1fd0546ab3 Merge pull request #10061 from amtkarm1/iss9322
Replace psa_pake_get_implicit_key() with psa_pake_get_shared_key()
2025-08-29 15:40:31 +00:00
Anton Matkin
68f658c95e Updated tf-psa-crypto pointer
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-08-29 16:09:09 +02:00
Anton Matkin
ab4716619a Removed the unnecessary changelog entry
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-08-29 16:09:09 +02:00
Anton Matkin
92129adcf2 Removed the whitespace which is causing CI to fail
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-08-29 16:09:09 +02:00
Anton Matkin
8135b84ed2 Fixed incorrect usage of key derivation procedures
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-08-29 16:09:09 +02:00
Anton Matkin
5663c23799 Create a changelog entry
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-08-29 16:09:09 +02:00
Anton Matkin
ce42312229 Finished updating the tests
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-08-29 16:09:09 +02:00
Anton Matkin
8e4d8c9227 Update ssl_tls.c to use psa_pake_get_shared_key
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-08-29 16:09:09 +02:00
Gilles Peskine
fda51526b5 Merge pull request #10363 from felixc-arm/error-codes-prereq
[1/3] Unify generic error codes (partial prerequisite)
2025-08-29 11:04:53 +00:00
Bence Szépkúti
ae9f633cd4 Merge pull request #10224 from amtkarm1/task-private-headers
Move private headers to a private directory
2025-08-29 10:22:43 +00:00
Manuel Pégourié-Gonnard
4646d82a0f Merge pull request #10364 from felixc-arm/doxygen-minor-fix
Remove `tf-psa-crypto/include/mbedtls/private` from Doxygen
2025-08-29 09:10:19 +00:00
Felix Conway
0f7cf1942b Small documentation fixes
Signed-off-by: Felix Conway <felix.conway@arm.com>
2025-08-29 09:41:59 +01:00
Anton Matkin
55862e126f Updated the framework pointer
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-08-29 09:39:34 +02:00
Anton Matkin
bb7b2b765f Fixed the mbedtls installation cmake: now private headers, which are used in the installation, are included in it too
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-08-29 08:04:35 +02:00
Anton Matkin
34b3bb3a3f Updated the framework pointer
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-08-29 07:18:06 +02:00
Anton Matkin
4e091786ca Moved the MbedTLS config adjust headers to a private subdirectory
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-08-29 07:05:40 +02:00
Anton Matkin
7a65ce6737 Unfortunately, we had two files named oid.h - one in the main repo, and one in the tf-psa-crypto repo, and these files included the mbedtls one, so I restored the header include
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-08-29 07:05:40 +02:00
Anton Matkin
5fe229da40 Update framework submodule git link:
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-08-29 07:05:40 +02:00
Anton Matkin
bc48725b64 Include fixups (headers moves to private directory)
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-08-29 07:05:37 +02:00
Felix Conway
6361e54b22 Add each whole unified error code to the migration guide
Signed-off-by: Felix Conway <felix.conway@arm.com>
2025-08-28 17:39:10 +01:00
Felix Conway
a01ddf65b7 Revert unification for some error codes
Signed-off-by: Felix Conway <felix.conway@arm.com>
2025-08-28 17:39:10 +01:00
Felix Conway
07eb02889e Remove a redundant error test case and improve another
Signed-off-by: Felix Conway <felix.conway@arm.com>
2025-08-28 17:38:13 +01:00
David Horstmann
6ff9c89648 Merge pull request #10361 from bensze01/runtime-version-interface
Simplify runtime version info string methods
2025-08-27 14:59:15 +00:00
Bence Szépkúti
89e0c53d0f Merge pull request #10374 from amtkarm1/private-headers-update-pointer
Update crypto pointer
2025-08-27 14:23:26 +00:00
Felix Conway
a15729d38e Fix libtestdriver1 rewrite in include/mbedtls/private
Signed-off-by: Felix Conway <felix.conway@arm.com>
2025-08-27 13:33:02 +01:00
Anton Matkin
c50ce1b02b Update crypto submodule link
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-08-27 14:23:59 +02:00
David Horstmann
40573bade8 Merge pull request #10239 from ronald-cron-arm/mbedtls-build-info-last
Improve detection of CMake library installation problems
2025-08-27 10:22:53 +00:00
David Horstmann
22e810fedc Merge pull request #10353 from minosgalanakis/feature/introduce_crypto_rng_hash_cleanup
Cleanup: Introduce MBEDTLS_PSA_CRYPTO_RNG_HASH (4/4)
2025-08-26 10:27:17 +00:00
Manuel Pégourié-Gonnard
2bd0cfd272 Merge pull request #10331 from amtkarm1/task-remove-programs-pkey
Removed the programs/pkey directory
2025-08-26 09:27:00 +00:00
Ronald Cron
a0b1c8c7fb build: Remove CTR_DRBG 128 bits key warnings
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-08-26 09:33:33 +02:00
Ronald Cron
aad5f1bedd tests: Prepare to switch to SHA-256 as the default CTR_DRBG hash
Ensure that when we switch from SHA-512 to SHA-256
as the default CTR_DRBG hash, we still properly
test CTR_DRBG with SHA-512.

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-08-25 15:35:42 +02:00
Ronald Cron
8fc000ec2c ssl-opt.sh: Fix MBEDTLS_ENTROPY_C dependency adjustment
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-08-25 15:19:59 +02:00
Minos Galanakis
1eda7487ae Updated tf-psa-crypto pointer
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2025-08-25 15:17:31 +02:00
Minos Galanakis
a1e867981b ssl-opt.sh: Adjust dependency to MBEDTLS_PSA_CRYPTO_C
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-08-21 15:57:00 +01:00
Minos Galanakis
906950d8dc config/depends.py: Removed legacy options.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-08-21 15:57:00 +01:00
Minos Galanakis
5dbc24a255 components-configuration-crypto: Removed legacy options.
Removed setters for `MBEDTLS_CTR_DRBG_USE_128_BIT_KEY`
and `MBEDTLS_ENTROPY_FORCE_SHA256`

Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-08-21 15:56:59 +01:00
David Horstmann
f476d1576b Merge pull request #10362 from bjwtaylor/mbedtls_x509write_crt_set_serial_raw
Add const to serial argument in mbedtls_x509write_crt_set_serial_raw
2025-08-21 10:54:07 +00:00
Ronald Cron
0387ca6755 Merge pull request #10320 from minosgalanakis/feature/introduce_crypto_rng_hash
crypto_config: Introduce MBEDTLS_PSA_CRYPTO_RNG_HASH (2/4)
2025-08-21 07:49:52 +00:00
Ben Taylor
32e100a573 Renamed and corrected ChangeLog
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-08-21 08:00:07 +01:00
Felix Conway
1cf9a1590b Remove programs from gitignore and documentation
Signed-off-by: Felix Conway <felix.conway@arm.com>
2025-08-20 11:02:18 +01:00
Felix Conway
3962284de6 Update & fix changelog
Signed-off-by: Felix Conway <felix.conway@arm.com>
2025-08-20 11:00:01 +01:00
Anton Matkin
5b49f31956 Adjusted the Makefile in the programs directory - removed the pkey programs
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-08-20 10:51:38 +01:00
Anton Matkin
87ae4e6a14 Added a changelog entry for the removal
Signed-off-by: Anton Matkin <anton.matkin@arm.com>
2025-08-20 10:51:38 +01:00
Felix Conway
ed7058730a Removed the directory with the programs, and its inclusion in the parent directory CMakeLists.txt file
Signed-off-by: Felix Conway <felix.conway@arm.com>
2025-08-20 10:51:23 +01:00
David Horstmann
7ec90c254f Merge pull request #10365 from davidhorstmann-arm/clarify-file-generation-cc
Clarify use of `CC` and friends for file generation
2025-08-20 09:07:38 +00:00
Minos Galanakis
f3486e198b components-configuration-crypto.sh: Added setters for MBEDTLS_PSA_CRYPTO_RNG_HASH
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2025-08-20 00:04:35 +01:00
David Horstmann
24e3388cf3 Clarify use of CC and friends for file generation
Add more detail around how generation of configuration-independent files
chooses a C compiler. Mention that setting HOSTCC or CC is recommended
where there are multiple toolchains.

Mention that the fallback location is the cc executable, which may help
users troubleshooting when the file generation picks up the wrong
toolchain (as in Mbed-TLS/mbedtls#10360).

Signed-off-by: David Horstmann <david.horstmann@arm.com>
2025-08-19 16:56:25 +01:00
Felix Conway
1a1ff64f42 Remove tf-psa-crypto/include/mbedtls/private from Doxygen
Signed-off-by: Felix Conway <felix.conway@arm.com>
2025-08-19 11:11:58 +01:00
Felix Conway
e984d35590 Fix ssl tests expecting old X509 error output
Signed-off-by: Felix Conway <felix.conway@arm.com>
2025-08-19 10:23:46 +01:00
Ben Taylor
f8b4aa135b Add ChangeLog
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
2025-08-19 07:52:48 +01:00