Commit Graph

32582 Commits

Author SHA1 Message Date
Minos Galanakis
127ffb507c crypto_config: Migrated legacy-crypto selection options.
Moved configuration entries in-line with the design proposal.
https://github.com/Mbed-TLS/mbedtls/blob/development/docs/proposed/config-split.md

Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2024-12-04 09:49:08 +00:00
Minos Galanakis
a19e07fd14 crypto_config: Migrated crypto-drivers selection options.
Moved configuration entries in-line with the design proposal.
https://github.com/Mbed-TLS/mbedtls/blob/development/docs/proposed/config-split.md

Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2024-12-04 09:38:02 +00:00
Minos Galanakis
626439ae50 crypto_config: Migrated PSA core selection options.
Moved configuration entries in-line with the design proposal.
https://github.com/Mbed-TLS/mbedtls/blob/development/docs/proposed/config-split.md

Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2024-12-04 09:29:30 +00:00
Minos Galanakis
14489499e7 crypto_config: Migrated data format selection options.
Moved configuration entries in-line with the design proposal.
https://github.com/Mbed-TLS/mbedtls/blob/development/docs/proposed/config-split.md

Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2024-12-04 09:29:15 +00:00
Minos Galanakis
45544e0bc3 crypto_config: Migrated cryptographic mechanism selection options.
Moved configuration entries in-line with the design proposal.
https://github.com/Mbed-TLS/mbedtls/blob/development/docs/proposed/config-split.md

Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2024-12-04 09:29:04 +00:00
Minos Galanakis
2056958eb3 crypto_config: Migrated General and test configuration options.
Moved configuration entries in-line with the design proposal.
https://github.com/Mbed-TLS/mbedtls/blob/development/docs/proposed/config-split.md

Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2024-12-04 09:28:51 +00:00
Minos Galanakis
25ae42e677 crypto_config: Migrated Platform options.
Moved configuration entries in-line with the design proposal.
https://github.com/Mbed-TLS/mbedtls/blob/development/docs/proposed/config-split.md

Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
2024-12-04 09:28:23 +00:00
Janos Follath
b6860cf7f9
Merge pull request #9781 from yanesca/remove_USE_PSA_from_API_doc_9632
Remove discussions of MBEDTLS_USE_PSA_CRYPTO in API documentation
2024-12-03 16:35:01 +00:00
Janos Follath
f4f37eced7
Merge pull request #9810 from SuperIlu/development
Fix compilation on MS-DOS DJGPP
2024-12-03 09:12:18 +00:00
SuperIlu
cda2a28c92
reworked changelog according to suggestion
Signed-off-by: SuperIlu <superilu@yahoo.com>
2024-12-02 21:24:00 +01:00
Harry Ramsey
fe81cfeac3 Refactor scripts to use config.py instead of config.pl
This commit refactors scripts to use config.py which replaces config.pl.

Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-12-02 16:23:06 +00:00
Harry Ramsey
c6d2e4ecfc Remove obsolete tcp_client.pl
This commit removes tcp_client.pl and removes it from ssl-opt.sh as it
has been replaced by test_suite_ssl.

Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-12-02 16:23:06 +00:00
Harry Ramsey
586e5186e1 Remove obsolete config.pl
This commit removes the obsolte config.pl file which was used to
transition to config.py.

Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-12-02 16:23:06 +00:00
Harry Ramsey
cff96f600a Remove obsolete Travis CI scripts
This commit removes obsolete Travis CI scripts that are no longer
required due to the transition to a publically available CI image.

Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-12-02 16:23:06 +00:00
Harry Ramsey
0569c017c8 Remove obsolete Docker CI scripts
This commit removes Docker CI scripts from the repository as they are no
longer necessary with CI images being publically available.

Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-12-02 16:23:06 +00:00
Harry Ramsey
cbd00b0563 Fix check-generated-files.sh generate_psa_constants.py path
This commit fixes the path to generate_psa_constants.py in
check-generatedfiles.sh

Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>
2024-12-02 15:48:27 +00:00
Janos Follath
2761d18c00 Add issue reference for ECP_RESTARTABLE limitations
Add reference to github issues to give a way for users to track
progress and express interest.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-02 13:58:15 +00:00
Janos Follath
745e561d2d Move the psa_init() warnings to _CLI and _SRV
Now that USA_PSA_CRYPTO is always on, users need to call psa_init() with
all protocol versions.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-02 13:22:34 +00:00
Janos Follath
92dfb88eca Adapt configs/ext/README.md
Recent commits have changed these reference configurations and they are
not verbatim copies anymore.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-02 13:10:42 +00:00
Janos Follath
056cb14bad Remove USE_PSA references from crypto documentation
MBEDTLS_USE_PSA_CRYPTO is now always enabled we need to update the
documentation accordingly.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-02 12:55:21 +00:00
Janos Follath
582ecd0ce1 Remove USE_PSA references from X509 documentation
MBEDTLS_USE_PSA_CRYPTO is now always enabled we need to update the
documentation accordingly.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-02 12:53:05 +00:00
Janos Follath
130ece0b6e Remove USE_PSA references from SSL documentation
MBEDTLS_USE_PSA_CRYPTO is now always enabled we need to update the
documentation accordingly.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-02 12:53:05 +00:00
Janos Follath
277bba89fb Remove USE_PSA references from config documentation
MBEDTLS_USE_PSA_CRYPTO is now always enabled we need to update the
documentation accordingly.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2024-12-02 12:52:59 +00:00
Janos Follath
62e79dc913
Merge pull request #9665 from waleed-elmelegy-arm/add-iop-key-gen-get-num-ops
Add PSA interruptible key generation get num ops API
2024-12-02 09:15:36 +00:00
SuperIlu
1406ace4d2
Added changelog
Signed-off-by: SuperIlu <superilu@yahoo.com>
2024-12-01 10:16:36 +01:00
SuperIlu
685d128c0f
Make mbedTLS compile with MS-DOS DJGPP
Signed-off-by: SuperIlu <superilu@yahoo.com>
2024-12-01 10:05:21 +01:00
Solar Designer
0abc1ce1ea Specify register clobbers in mbedtls_aesni_crypt_ecb()
Signed-off-by: Solar Designer <solar@openwall.com>
2024-11-30 04:43:20 +01:00
Paul Elliott
017722f043
Merge pull request #9785 from waleed-elmelegy-arm/add-iop-export-pub-key-setup-abort
Add PSA interruptible export public-key setup & abort APIs
2024-11-29 21:07:34 +00:00
Waleed Elmelegy
19d418a471 Clarify why we set num_ops to 1 in iop key generation
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-29 17:29:39 +00:00
Waleed Elmelegy
6305f5d6ef Improve clarity of num_ops comparison in iop key generation testing
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-29 17:28:14 +00:00
Waleed Elmelegy
29f65a874f Chane error code in psa_export_public_key_iop_setup() in case key size is 0
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-28 19:39:58 +00:00
Gilles Peskine
b9591169b3
Merge pull request #9804 from eleuzi01/project-detection-submodule-update
Update framework submodule
2024-11-28 13:56:17 +00:00
Elena Uziunaite
14c3065141 Update submodule to point to main
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-11-28 09:31:45 +00:00
Waleed Elmelegy
f7ebd73755 Add Changelog entry for interruptible key generation
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-27 16:56:47 +00:00
Waleed Elmelegy
c05a7f82cc Add testing for PSA iop key generation get num ops API
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-27 16:56:35 +00:00
Waleed Elmelegy
208c01b663 Add PSA interruptible key generation get num ops API
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-27 16:56:35 +00:00
David Horstmann
8cf83c04aa
Merge pull request #9763 from eleuzi01/issue-39-fw
Add project and branch detection in shell
2024-11-27 16:51:19 +00:00
Waleed Elmelegy
568d057b0a Add iop prefix to interruptible export-public key testing function
to distinguish it from non-interruptible.

Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-27 16:08:01 +00:00
Waleed Elmelegy
3c7f5c0047 Change pointer init in export public-key iop struct to NULL
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-27 16:08:01 +00:00
Waleed Elmelegy
c2790c60a0 Add negative tests for interruptible export public-key
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-27 16:08:01 +00:00
Waleed Elmelegy
84cc90f63a Improve parameter checking in psa_export_public_key_iop_setup()
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-27 16:08:01 +00:00
Waleed Elmelegy
b30233f6c3 Change key param to mbedtls_svc_key_id_t in psa_export_public_key_iop_setup()
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-27 16:08:01 +00:00
Waleed Elmelegy
ea35fac4f1 Add iop export public-key initializers test
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-27 16:08:01 +00:00
Waleed Elmelegy
5bcc1b9835 Add iop export public-key tests
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-27 16:08:01 +00:00
Waleed Elmelegy
ada977f4c3 Add PSA iop export public-key abort API
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-27 16:08:01 +00:00
Waleed Elmelegy
cd189e881b Add PSA iop export public-key setup API
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-27 16:08:01 +00:00
Waleed Elmelegy
3d5ed793e7 Add PSA internal iop export public-key abort function
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-27 16:08:01 +00:00
Waleed Elmelegy
14aef98758 Add internal iop export public-key abort API
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-27 16:08:01 +00:00
Waleed Elmelegy
e2a9b6a3b5 Add internal iop export public-key setup API
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-27 16:08:01 +00:00
Waleed Elmelegy
9958ff6e96 Add PSA iop export public-key struct members
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-27 16:08:01 +00:00