32616 Commits

Author SHA1 Message Date
Valerio Setti
5300725d4f framework: updated reference
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
2025-01-08 14:08:20 +01:00
Valerio Setti
976b53fc85 scripts: fix paths for files moved to framework
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
2025-01-08 09:59:18 +01:00
Valerio Setti
cb333f24f0 Move files out of Mbed TLS
The following files are moved to the framework repo (deleted here):

scripts/assemble_changelog.py
tests/scripts/check-doxy-blocks.pl
tests/scripts/check-python-files.sh
tests/scripts/doxygen.sh
scripts/apidoc_full.sh
tests/scripts/recursion.pl

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
2025-01-08 09:51:04 +01:00
Janos Follath
0d28fcb082
Merge pull request #9798 from NadavTasher/feature/more-debug-prints
Added debug print in tls13 ssl_tls13_write_key_share_ext
2025-01-07 16:18:35 +00:00
Manuel Pégourié-Gonnard
69a2182a55
Merge pull request #9767 from Harry-Ramsey/tf-psa-crypto-out-of-source-development
TF-PSA-Crypto out of source build
2025-01-07 13:41:54 +00:00
Ronald Cron
9bdec11b31
Merge pull request #9815 from Harry-Ramsey/remove-irrelevant-components
Remove Irrelevant Components for 4.0
2025-01-07 13:18:15 +00:00
Harry Ramsey
1e8992b63e Update TF-PSA-Crypto for out of source builds
This commit updates TF-PSA-Crypto to enable out of source builds by
default.

Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2025-01-07 11:43:46 +00:00
Harry Ramsey
34a0b6dc32 Update framework submodule for CMake TF-PSA-Crypto
This commit updates the framework submodule to include commits relevant
to running TF-PSA-Crypto using CMake build system.

Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2025-01-07 11:43:42 +00:00
David Horstmann
3dd86cd845
Merge pull request #9777 from hughsie/hughsie/sbom
Add a SBOM file in CycloneDX format
2025-01-06 11:51:34 +00:00
Janos Follath
3c4c647328
Merge pull request #9818 from yanesca/remove_USE_PSA_from_standalone_doc_9632
Remove discussions of MBEDTLS_USE_PSA_CRYPTO in standalone documentation
2025-01-02 15:45:03 +00:00
Ronald Cron
e457bf1c62
Merge pull request #9833 from Harry-Ramsey/fix-submodule-error-messages-development
Fix submodule error messages
2024-12-21 08:57:26 +00:00
minosgalanakis
bd4a00535b
Merge pull request #9842 from eleuzi01/issue-39-2-fw
Undo temporary changes in all-helpers.sh
2024-12-20 15:48:40 +00:00
Elena Uziunaite
42f0e763f1 Update submodule
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-20 13:43:04 +02:00
minosgalanakis
57e1375bfe
Merge pull request #9800 from eleuzi01/issue-72-fw
Move check_files.py to the framework
2024-12-20 08:52:57 +00:00
Elena Uziunaite
792dbed87b Update submodule
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-19 20:49:27 +02:00
Elena Uziunaite
59fbed801e Adujst paths
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-19 20:48:59 +02:00
Elena Uziunaite
48a32dd8a8 Move files out of Mbed TLS
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-19 20:48:59 +02:00
Janos Follath
af8b3b5dfa
Merge pull request #9820 from waleed-elmelegy-arm/add-iop-export-pub-key-get-num-ops
Add PSA interruptible export public-key get num ops API
2024-12-19 15:58:00 +00:00
Paul Elliott
dfa0107a71
Merge pull request #9735 from paul-elliott-arm/add_iop_key_agrmnt_tests
Add interruptible key agreement negative tests
2024-12-19 15:37:51 +00:00
Waleed Elmelegy
e809ef4623 Update TF-PSA-Crypto submodule to add iop export public-key get_num_ops()
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-12-19 11:17:42 +00:00
Paul Elliott
b08dc92aaa Update tf-psa-crypto for exercise key tests
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2024-12-19 10:59:03 +00:00
Paul Elliott
a05b8e2c9a Update framework for negative tests
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2024-12-19 10:58:46 +00:00
Paul Elliott
28c6290efa Remove interruptible tests from TSAN component
No effort was made to make the interruptible ECC PSA functions thread
safe, as it was presumed that generally if you were using interruptible
functionality, then you were unlikely to have mulitple threads.

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
2024-12-19 10:55:37 +00:00
Janos Follath
0aac2e5f37 Fix broken reference in ChangeLog
Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-18 19:23:11 +00:00
Ronald Cron
3016d84408
Merge pull request #9836 from eleuzi01/issue-70-fw
Move scripts/code_style.py to the framework
2024-12-18 17:21:34 +00:00
Elena Uziunaite
fdb2047b36 Update submodule with the merge
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-18 16:30:52 +02:00
Elena Uziunaite
eed30fc5f3 Update submodule
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-18 12:17:46 +02:00
Elena Uziunaite
e0d3ffe8af Adjust paths
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-18 12:16:35 +02:00
Elena Uziunaite
f0c2a09f9e Move files out of Mbed TLS
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-12-18 12:16:35 +02:00
minosgalanakis
926b118aa4
Merge pull request #9847 from minosgalanakis/align_mbedtls_config_with_design
Align mbedtls_config.h with design
2024-12-18 09:01:52 +00:00
Janos Follath
e0037af243 Fix broken references in docs
Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-17 19:44:38 +00:00
Janos Follath
12438969fc Remove psa-migration/strategy.md
This document is mainly about a plan that was driven by backward
compatibility constraints that no longer exist in 4.0.

Although some of it is still of interest to explain why 4.0 is the way
it is (and more complicated than one would expect based on the APIs that
are left in 4.0). But for this it should suffice to consult earlier
versions and does not worth to maintain it.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-17 18:15:51 +00:00
Gilles Peskine
2301a10927 Distinguish between MBEDTLS_PSA_CRYPTO_C and MBEDTLS_PSA_CRYPTO_CLIENT
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-12-17 18:15:51 +00:00
Janos Follath
b51b73351d Fix sentences after removal of USE_PSA
Some sentences or paragraphs became confusing or meaningless after
removing USE_PSA and only fixing the local context/semantics.

Fix the semantics where needed and remove parts that became meaningless.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-17 18:15:17 +00:00
Janos Follath
3102c5985e Remove docs/use-psa-crypto.md
The original purpose of this document was to answer the following
question in more detail than the documentation of MBEDTLS_USE_PSA_CRYPTO
in config.h: as a user, what do I gain and lose if I enable
MBEDTLS_USE_PSA_CRYPTO? This question is no longer relevant.

- General considerations section: not relevant as mentioned above
- New APIs/API extensions: these are not new or extensions anymore.
  Also, for detailed information this section refers to the API
  documentation, which contains all the information the user needs.
- Internal changes: these are discussed in detail in
  docs/architecture/psa-migration/psa-limitations.md.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-17 18:12:02 +00:00
Janos Follath
62a1def446 Remove psa-migration/psa-legacy-bridges.md
This is an architecture document focusing on how PSA APIs can be mixed
with non-PSA APIs, notably including PK (and in fact, it's mostly about
PK, since we didn't identify work to be done in other areas). It is not
really relevant in 4.0/1.0, where the goals will be different — to do
without low-level legacy APIs.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-17 18:12:02 +00:00
Janos Follath
5e79f6a9ed Remove psa-migration/md-cipher-dispatch.md
This is an architecture document focusing on how parts of the code base
can accommodate both builds with PSA crypto disabled and builds with
driver-only mechanisms. Going forward, this coexistence is no longer
relevant.

The document does explain why some parts of md and cipher are the way
they are. In the future, we'll want to remove legacy code paths and keep
only the PSA code paths. But for that, it isn't particularly useful to
know how the dual code paths came about, or what constraints they had to
obey. Those constraints no longer apply.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-17 18:12:02 +00:00
Janos Follath
bd445afa27 Remove USE_PSA from remaining documentation
MBED_TLS_USE_PSA_CRYPTO is now always enabled we need to remove
documentation discussing cases when it is disabled.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-17 18:12:02 +00:00
Janos Follath
5b2ad4eda2 Remove USE_PSA from psa-migration/strategy.md
MBED_TLS_USE_PSA_CRYPTO is now always enabled we need to remove
documentation discussing cases when it is disabled.

The goal is not to update the document, only to remove
MBED_TLS_USE_PSA_CRYPTO, while making a minimal local context of the
occurrance up to date and sensible.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-17 18:08:55 +00:00
Janos Follath
2028b78793 Remove architecture/psa-migration/testing.md
This document is describes the testing strategy for the
`MBEDTLS_USE_PSA_CRYPTO` option. This option is now always on, can't be
disabled and the corresponding behaviour is the only library behaviour.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-17 18:08:55 +00:00
Janos Follath
d23266dc1f Remove USE_PSA from md-cipher-dispatch.md
MBED_TLS_USE_PSA_CRYPTO is now always enabled we need to remove
documentation discussing cases when it is disabled.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-17 18:08:55 +00:00
Janos Follath
1eb85624a6 Remove USE_PSA from use-psa-crypto.md
MBED_TLS_USE_PSA_CRYPTO is now always enabled we need to remove
documentation discussing cases when it is disabled.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-17 18:08:55 +00:00
Minos Galanakis
fd6a810011 config_split.md: Removed reference to MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2024-12-16 15:00:26 +00:00
Ronald Cron
08909c94b9
Merge pull request #9852 from ronald-cron-arm/tf-psa-crypto-as-submodule
Move from tf-psa-crypto directory to tf-psa-crypto submodule
2024-12-16 13:59:58 +00:00
Ronald Cron
8064c023ca Add change log
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-16 12:29:06 +01:00
Ronald Cron
449141887b Include all submodules for readthedocs
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-16 10:48:03 +01:00
Ronald Cron
f25121c086 make_generated_files.bat: Generate test_keys.h in tf-psa-crypto/framework as well
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-16 10:48:03 +01:00
Ronald Cron
27a1ac7409 make: Generate test_keys.h in tf-psa-crypto/framework as well
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-16 10:48:03 +01:00
Ronald Cron
674bd8fe43 Add tf-psa-crypto module
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-16 10:47:54 +01:00
Ronald Cron
08d8cc57db Remove tf-psa-crypto directory
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-12-16 10:39:44 +01:00