Gilles Peskine
f0b8364cff
Allow metatest.c to use crypto internal headers
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-09-06 18:39:39 +02:00
Ben Taylor
a8a9beccc2
Remove MBEDTLS_DECLARE_PRIVATE_IDENTIFIERS from ssl_test_lib.h as it is not required
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-01 08:21:24 +01:00
Ben Taylor
69aa8d08e0
Remove MBEDTLS_DECLARE_PRIVATE_IDENTIFIERS from ssl_clinet.c as it it not required
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-01 08:21:24 +01:00
Ben Taylor
f19a900ed5
Temporarily include private symbols in sample programs
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-09-01 08:21:24 +01: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
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
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
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
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
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
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
Bence Szépkúti
783d8adb15
Update CMake linkage tests to new call signature
...
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com >
2025-08-18 14:31:34 +02:00
Anton Matkin
6eb5335ef0
Fixed issues with policy verification, since wildcard JPAKE policy is now disallowed, changed to concrete jpake algorithm (with SHA256 hash)
...
Signed-off-by: Anton Matkin <anton.matkin@arm.com >
2025-08-12 13:50:48 +02:00
Anton Matkin
1b70084bd9
TF-PSA-Crypto submodule link fixup
...
Signed-off-by: Anton Matkin <anton.matkin@arm.com >
2025-08-12 13:50:45 +02:00
Manuel Pégourié-Gonnard
5b74c79f00
Merge pull request #10298 from bjwtaylor/remove-deprecated-items
...
Remove deprecated items
2025-08-11 07:13:08 +00:00
Valerio Setti
d0d0791aed
remove usage of secp192[k|r]1 curves
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-08-06 09:15:35 +02:00
Valerio Setti
70a4a31cb5
remove secp224[k|r]1 curves
...
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-08-06 09:15:35 +02:00
Ben Taylor
27a4cc9de2
Remove mbedtls_ssl_conf_sig_hashes from comments
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-08-04 15:13:34 +01:00
Ben Taylor
44703e4cc2
Update comment format
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:14 +01:00
Ben Taylor
d5b655ab21
Re-add missing and
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:14 +01:00
Ben Taylor
a750e1be5f
Minor comment updates
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:14 +01:00
Ben Taylor
cdc191b500
Correct code style
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:14 +01:00
Ben Taylor
98ecfdb440
corrected code style
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:14 +01:00
Ben Taylor
a4915abc56
fix code style issues
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:14 +01:00
Ben Taylor
0f21429af5
Correct ifdef logic
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:14 +01:00
Ben Taylor
62278dc93d
remove MBEDTLS_USE_PSA_CRYPTO from ssl progs
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:14 +01:00
Ben Taylor
6bcdd67f83
Update ssl progs to restore build
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:14 +01:00
Ben Taylor
4bb98be277
initial remove of MBEDTLS_USE_PSA_CRYPTO
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-30 07:55:13 +01:00
Gilles Peskine
d6f881e8ca
Merge pull request #10319 from gilles-peskine-arm/move-check-config-to-library
...
check_config.h: move to library and test
2025-07-29 14:07:33 +00:00
Gilles Peskine
1819a915bc
Include limits.h where needed
...
This will be needed when TF-PSA-Crypto's `build_info.h` stops including
`limits.h`, which it currently does by accident because it includes
`check_config.h` which wants `limits.h` to check `CHAR_BIT`.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-07-28 15:45:12 +02:00
minosgalanakis
d103046a59
Merge pull request #10324 from gilles-peskine-arm/query_config-glob-headers
...
query_config.fmt: glob headers instead of listing them explicitly
2025-07-28 13:25:51 +00:00
Gilles Peskine
8b006ce95f
Invoke generate_query_config.pl from the root
...
Otherwise it can't find headers to include.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-07-25 19:51:17 +02:00
Gilles Peskine
3bb528d47d
Merge pull request #10205 from bjwtaylor/move-fuzz-progs-2
...
Tidy Up Dependencies and Paths
2025-07-25 13:21:09 +00:00
Ben Taylor
02c76ebb21
Add minor corrections to the fuzz Makefile
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-24 11:13:23 +01:00
Ben Taylor
361ce2b484
Rename mbedtls_pk_setup_opaque to mbedtls_pk_wrap_psa
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-24 08:25:28 +01:00
Ben Taylor
8beeed0462
Add further updates to paths
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-24 07:51:35 +01:00
Ben Taylor
60a5b32198
Correct onefile name
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-24 07:51:35 +01:00
Ben Taylor
52510b27fc
Update header names
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-24 07:51:35 +01:00
Ben Taylor
c7c480a95f
Revert temporary merge changes
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-24 07:51:35 +01:00
Ronald Cron
2fc0475dc9
cmake_package_install: Fail in case of warnings with GNU GCC
...
Fail the cmake package install demonstration in
case of warnings when building the
cmake_package_install executable.
This would have caught the library installation
issue reported in #10022 .
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2025-07-21 11:57:55 +02:00
Ben Taylor
c801d3293e
include private pk.h internally
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-07-17 15:18:53 +01:00
Manuel Pégourié-Gonnard
d2c293bd0a
Merge pull request #10115 from bjwtaylor/move-fuzz-progs
...
remove fuzz_privkey.c and fuzz_pubkey.c
2025-07-17 09:36:02 +00:00
Ari Weiler-Ofek
c3d54b619e
Fix comment in dlopen.c to remove reference to deprecated API
...
Signed-off-by: Ari Weiler-Ofek <ari.weiler-ofek@arm.com >
2025-07-15 15:08:07 +01:00
Ari Weiler-Ofek
abcfd4c160
Modified dlopen.c and tfpsacrypto_dlopen.c so that they use PSA API-only dynamic loading
...
- Replaced soon-deprecated mbedtls_md_list() in dlopen.c with psa_hash_compute()
- Added tfpsacrypto_dlopen.c as a PSA-only shared-library loading test
- Enabled -fPIC for tf-psa-crypto builtins to support shared linking
- Confirmed clean builds and successful dlopen() test execution.
Signed-off-by: Ari Weiler-Ofek <ari.weiler-ofek@arm.com >
2025-07-15 15:08:07 +01: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
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
Ben Taylor
b8ebc21ea2
Correct typo
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:36 +01:00
Ben Taylor
5578c06ab3
Remove duplicated slash
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:36 +01:00
Ben Taylor
d9fc98a569
Correct CFLAGS path int Makefile
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:36 +01:00
Ben Taylor
56d54c6349
Remove fuzz progs from Makefile
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:36 +01:00