Gilles Peskine
562763b5bd
Add dependency of mbedtls_config on generated config check headers
...
Fix the build of libmbedx509 when generated files are not already present.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-09-24 17:20:35 +02:00
Gilles Peskine
d57a0985ab
Add dependency of tf_psa_crypto_config on generated config check headers
...
Fix the build of libtfpsacrypto when generated files are not already present.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-09-22 15:52:06 +02:00
Gilles Peskine
67b115cfda
Register crypto's generate_config_files.py outputs as generated files
...
Mbed TLS needs to know the generated files of TF-PSA-Crypto. There's no
mechanism for TF-PSA-Crypto to declare them.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-09-19 13:36:24 +02:00
Gilles Peskine
b53b443f8e
Register generate_config_files.py outputs as generated files
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-09-19 13:36:24 +02:00
Gilles Peskine
018e09872d
New source file for configuration checks
...
This will be populated in subsequent commits.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-07-28 15:45:12 +02:00
Minos Galanakis
09dc57d323
Version Bump
...
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com >
2025-06-27 12:17:28 +01:00
Valerio Setti
06d64ad6a0
library: Makefile: use wildcard to select sources for crypto library
...
This gives the possibility to add new source files in tf-psa-crypto
library without any need to update this Makefile.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-06-20 13:45:57 +02:00
Gilles Peskine
d2fe51cfc4
Add the x509_oid module to the build
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2025-06-03 15:51:34 +02:00
Valerio Setti
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
Valerio Setti
d7a465431c
library: do not include dhm.c in the build
...
The file was cancelled from the tf-psa-crypto repo following the removal
of MBEDTLS_DHM_C.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2025-03-05 10:11:23 +01:00
Ronald Cron
6a2cbe77fa
Move driver wrappers generation to tf-psa-crypto
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-12-04 14:25:02 +01:00
Ronald Cron
6924564970
Move back timing.c to mbedtls
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-12-04 14:25:02 +01:00
Gilles Peskine
665df83d34
Merge pull request #9293 from gilles-peskine-arm/outcome-check-repeated-configurations-all.sh-preliminaries
...
Fix some all.sh components with sub-components
2024-10-25 14:59:15 +00:00
Harry Ramsey
331f08430c
Move error.o to OBJS_X509
...
This commit moves error.o to a build object for OBJS_X509.
Signed-off-by: Harry Ramsey <harry.ramsey@arm.com >
2024-10-22 10:42:33 +01:00
Harry Ramsey
798d8b6533
Update build scripts for error.c generation
...
This commit updates the build scripts for error.c generation to be
generated in the Mbed TLS library directory.
Signed-off-by: Harry Ramsey <harry.ramsey@arm.com >
2024-10-18 08:19:50 +01:00
Elena Uziunaite
09fee364a3
Adjust file path for generate_ssl_debug_helpers.py
...
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com >
2024-10-15 11:43:51 +01:00
Harry Ramsey
468c0aede9
Revert move of version.h to tf-psa-crypto libray
...
This commit moves version.h back into /include/mbedtls from
tf-psa-crypto/drivers/builtin/include. This commit also changes the
necessary build files and scripts to generate version_features.c
Signed-off-by: Harry Ramsey <harry.ramsey@arm.com >
2024-10-04 13:37:42 +01:00
Ronald Cron
69c489c25a
Move PSA drivers to drivers/builtin/src
...
They were mistakenly moved to the
core directory from the library
directory.
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-10-01 15:32:01 +02:00
Gilles Peskine
10f1a2482e
Ignore and clean generated assembly
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2024-08-05 16:09:48 +02:00
Gilles Peskine
f6b3c620a6
Add target to compile to assembly
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2024-08-05 16:07:17 +02:00
Ronald Cron
901a675238
Adapt make build system
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-07-19 10:07:27 +02:00
Ronald Cron
088a1ab081
make: Fix object clean-up
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-07-19 09:58:35 +02:00
Ronald Cron
aef8cf3b2e
Adjust build systems
...
Adjust build systems such as we can built
Mbed TLS in the default and full configuration.
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-07-10 08:10:40 +02:00
Ronald Cron
c29afb684e
Adjust build systems
...
Adjust build systems such as we can built
Mbed TLS in the default and full configuration.
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-07-10 08:07:38 +02:00
Ronald Cron
fa7e15d76b
Fix typo
...
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-07-01 14:59:35 +02:00
Ronald Cron
3d817add46
Adjust build systems
...
Adjust build systems such as we can built
Mbed TLS in the default and full configuration.
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-07-01 14:59:35 +02:00
Ronald Cron
f0481f562a
Merge pull request #9258 from tom-daubney-arm/drop_padlock_support
...
Drop support for VIA Padlock
2024-06-26 07:36:04 +00:00
Thomas Daubney
62af02c063
Drop support for VIA Padlock
...
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com >
2024-06-14 10:37:13 +01:00
Ronald Cron
c7e9e367bb
Adjust build systems
...
Adjust build systems such as we can build
Mbed TLS in the default and full configuration.
Signed-off-by: Ronald Cron <ronald.cron@arm.com >
2024-06-13 09:02:24 +02:00
Minos Galanakis
9860056006
Revert "Autogenerated files for 3.6.0"
...
This reverts commit e8a6833b28
.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com >
2024-03-27 17:36:15 +00:00
Minos Galanakis
e8a6833b28
Autogenerated files for 3.6.0
...
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com >
2024-03-22 16:00:55 +00:00
Minos Galanakis
4492dbd286
Version Bump for 3.6.0
...
./scripts/bump_version.sh --version 3.6.0 --so-crypto 16 --so-x509 7 --so-tls 21
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com >
2024-03-22 11:46:25 +00:00
Dave Rodgman
775c7768ee
Merge pull request #8877 from gilles-peskine-arm/split-minimal-3.6
...
Create a minimal framework submodule
2024-03-13 14:30:09 +00:00
Valerio Setti
851f190da7
pk: move ECC setters to a separate file
...
- These functions are used both in pkparse.c for key parsing
as well as pk.c for managing copy_from_psa(). As as consequence
they should belong to pk.c, but that would make that module
messier, so that's why a new separate module is added.
- Their guard can be changed from PKPARSE_C to PK_C.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no >
2024-03-11 09:48:40 +01:00
Gilles Peskine
48230e84cb
In library, with make, only require the framework for generated files
...
This way, `make lib` will work in the absence of the framework, as long as
generated files are present.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2024-03-04 17:12:59 +01:00
Gilles Peskine
f9bbe0de4c
Show guidance if the framework is not found
...
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2024-03-04 17:12:59 +01:00
Gilles Peskine
1c13aa78c2
Framework submodule: fix the libtestdriver1 build
...
`make -C tests libtestdriver1` copies `library/Makefile` to
`tests/libtestdriver1/library/Makefile`, where `../framework` does not point
to the framework submodule.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2024-03-04 17:12:59 +01:00
Gilles Peskine
469f7811fa
Require framework directory to exist when building
...
The framework directory will be provided by a submodule.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2024-02-29 18:19:56 +01:00
Manuel Pégourié-Gonnard
21718769d1
Start adding internal module block_cipher.c
...
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com >
2023-11-10 11:21:17 +01:00
Minos Galanakis
4855fdf887
Revert "Auto-generated files for v3.5.0"
...
This reverts commit 591416f32b
.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com >
2023-10-05 00:17:21 +01:00
Minos Galanakis
e35e387ad7
Bump library so-crypto, so-x509, so-tls versions.
...
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com >
2023-10-04 16:17:46 +01:00
Minos Galanakis
591416f32b
Auto-generated files for v3.5.0
...
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com >
2023-10-04 00:55:02 +01:00
Xiaokang Qian
b909aeafa3
Remove useless spaces in Makefile
...
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com >
2023-09-26 09:09:20 +00:00
Xiaokang Qian
0e5b53c7e4
Move the dependency adjacent to the generated file
...
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com >
2023-09-26 09:09:20 +00:00
Xiaokang Qian
fe9666b8c0
Change the extension type of the file psa_crypto_driver_wrapper
...
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com >
2023-09-26 09:09:20 +00:00
Xiaokang Qian
54a4fdfe91
Automaticly generate psa_crypto_driver_wrappers_no_static.c
...
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com >
2023-09-26 09:09:20 +00:00
Xiaokang Qian
42266dd670
Revert the Makefile to remove the dependency of generate_files
...
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com >
2023-09-26 09:09:20 +00:00
Xiaokang Qian
e9c39c42fd
Enable build of non-static psa wrapper functions
...
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com >
2023-09-26 09:09:20 +00:00
Minos Galanakis
24a1c16fac
library Makefile: Moved -lbcrypt to LOCAL_LDFLAGS
...
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com >
2023-09-25 14:12:21 +01:00
Simon Butcher
e068aa7ad5
Fix the build for mingw and CMake + VStudio
...
Changes to the build to add the new Win32 Crypto API's inadvertently broke
the build for mingw and Visual Studio builds when generated by CMake.
Signed-off-by: Simon Butcher <simon.butcher@arm.com >
2023-09-25 14:12:20 +01:00