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
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
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
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
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
Ben Taylor
c9b7175a68
Add in fuzz path variable
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:36 +01:00
Ben Taylor
d6cc47e450
Add some name changes in to allow merge
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:36 +01:00
Ben Taylor
80490a2f1a
Revert some changes to allow merge
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:36 +01:00
Ben Taylor
946b0d982a
Corrected windows paths
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:36 +01:00
Ben Taylor
9784b40ba7
Remove wildcard as it is no longer required
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:36 +01:00
Ben Taylor
38b063a91e
add fix to fuzz makefile for windows
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:36 +01:00
Ben Taylor
7287040587
fixed issue with binary cleanup in fuzz programs
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:36 +01:00
Ben Taylor
c42f5d4c90
added fix for Makefile in fuzz programs
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:36 +01:00
Ben Taylor
aa5aa47aa5
corrected Makefile path for fuzz progs
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:35 +01:00
Ben Taylor
a59cef43f2
add fixes for the fuzz Make system
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:35 +01:00
Ben Taylor
dc027791e9
update common. to fuzz_common.h
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:35 +01:00
Ben Taylor
eea3ddaf2c
corrected cmake path
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:35 +01:00
Ben Taylor
2584eaddf9
add fix for fuzz Makefile for new common path
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:35 +01:00
Ben Taylor
107b21ce53
removed common.* from programs/fuzz
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:35 +01:00
Ben Taylor
dd27691c61
remove fuzz_privkey.c and fuzz_pubkey.c
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-06-30 11:31:35 +01:00
Ben Taylor
b9f83b3d07
Remove srand from fuzz
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-26 13:34:03 +00:00
Ben Taylor
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
Ben Taylor
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
Felix Conway
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
Felix Conway
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
Ben Taylor
0cfe54e4e0
remove RNG parameters from SSL API's
...
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-03-10 13:24:31 +00:00
Ben Taylor
0c29cf87b1
Move ssl_ticket to the PSA API
...
Convert the mbedtl_ssl_ticket_setup function to use the TF_PSA_Crypto
API.
Signed-off-by: Ben Taylor <ben.taylor@linaro.org >
2025-01-30 08:22:40 +00:00
Ronald Cron
5096b4cb4b
Revert "Remove mbedtls_test"
...
This reverts commit 939ce9d0d5
.
Build mbedtls_test library of objects to link
with TLS and x509 test suites and programs
with mbedtls framework not TF-PSA-Crypto
one (when it will be there).
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-12-10 16:56:49 +01:00
Ronald Cron
d5331ff4e6
cmake: Move cert.o to mbedtls_test_helpers library of objects
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-12-04 14:25:02 +01:00
David Horstmann
d2cabf2030
Add missing extra include path to fuzzer programs
...
The fuzzer needs both kinds of test helper so needs to include things
from both new and old locations.
Signed-off-by: David Horstmann <david.horstmann@arm.com >
2024-11-18 15:50:44 +00:00
David Horstmann
5b93d97b95
Update references to test helpers
...
Replace:
* tests/src -> framework/tests/src
* tests/include -> framework/tests/include
Except for occurrences of:
* tests/src/test_helpers (since this only contains ssl_helpers.c)
* tests/src/test_certs.h
* tests/include/alt_dummy
Signed-off-by: David Horstmann <david.horstmann@arm.com >
2024-11-18 15:50:44 +00:00
Ronald Cron
939ce9d0d5
Remove mbedtls_test
...
Use tf_psa_crypto_test instead.
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-11-14 13:52:36 +01:00
Ronald Cron
b2478989e2
cmake: GNU GCC: Set base compile options target by target
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-10-25 18:09:33 +02:00
Gilles Peskine
5dab92ee4e
CMake: support "make programs"
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2024-09-14 12:19:19 +02:00
Michael Schuster
e708e86a9b
Fix missing-prototype error in programs/fuzz by moving LLVMFuzzerTestOneInput prototype to common.h
...
Signed-off-by: Michael Schuster <michael@schuster.ms >
2024-08-09 10:29:58 +01:00
Ronald Cron
6f55ddc304
programs: fuzz: Fix comment
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-07-19 10:07:27 +02:00
Elena Uziunaite
0916cd702f
Replace MBEDTLS_MD_CAN_SHA256 with PSA_WANT_ALG_SHA_256
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com >
2024-07-11 11:13:35 +03:00
Elena Uziunaite
b476d4bf21
Replace MBEDTLS_MD_CAN_SHA384 with PSA_WANT_ALG_SHA_384
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com >
2024-07-03 10:20:41 +01:00
Gilles Peskine
7f72a06e02
Remove cruft
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2024-02-22 18:41:25 +01:00
Gilles Peskine
72da8b3521
Don't authorize private access to fields where not actually needed
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2024-02-22 12:07:29 +01:00
Gilles Peskine
abf0be392a
fuzz_dtlsserver: explicitly note the one access to a private field
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2024-02-22 12:07:09 +01:00
Gilles Peskine
d5f68976e8
fuzz_pubkey, fuzz_privkey: no real need to access private fields
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2024-02-22 12:05:35 +01:00