Commit Graph

32561 Commits

Author SHA1 Message Date
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
Waleed Elmelegy
07d2bc0ffe Add headers for internal iop export public-key setup & abort APIs
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-27 16:07:58 +00:00
Waleed Elmelegy
5bcd3cc217 Add internal struct for iop export public-key context
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-27 16:06:24 +00:00
Elena Uziunaite
8993fecae4 Define FRAMEWORK
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-11-27 13:15:04 +00:00
Elena Uziunaite
2e37806ace Fix paths
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-11-27 13:15:04 +00:00
Elena Uziunaite
ef40183c34 Use new functions
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-11-27 13:15:04 +00:00
Elena Uziunaite
23a6432af1 Add project and branch detection in shell
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
2024-11-27 13:15:01 +00:00
Janos Follath
49e6115443
Merge pull request #9651 from waleed-elmelegy-arm/add-iop-key-gen-complete
Add PSA interruptible key generation complete API
2024-11-26 18:34:40 +00:00
Waleed Elmelegy
1630603ef1 Change internal iop generate key error variable to int
Change internal iop generate key error variable to int
instead of psa_status_t since the error variable get
passed to mbedtls_to_psa_error() when being returned

Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-25 16:50:06 +00:00
Manuel Pégourié-Gonnard
f27c10596b
Merge pull request #9780 from emmanuel-ferdman/development
Update `crypto_se_driver.h` reference
2024-11-25 16:06:10 +00:00
David Horstmann
3aefa5b705
Merge pull request #7977 from ivq/update_gcm_doc
Fix doc on GCM API
2024-11-21 17:35:52 +00:00
Ronald Cron
28a26ece1d
Merge pull request #9771 from ronald-cron-arm/remove-psa-crypto-config
Remove MBEDTLS_PSA_CRYPTO_CONFIG configuration option
2024-11-21 16:57:55 +00:00
Waleed Elmelegy
c57f6fcd05 Fix code stayle in iop export public-key function
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-21 16:56:52 +00:00
Ronald Cron
42a5c97d75 Add change log
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-11-21 15:52:06 +01:00
Ronald Cron
93ba625b96 Remove MBEDTLS_PSA_CRYPTO_CONFIG configuration option
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-11-21 15:52:06 +01:00
Ronald Cron
e0ebf55a19 Move back *config_test_driver* headers from the framework
config_test_driver.h and
crypto_config_test_driver_extension.h are
configuration files thus they better fit in
mbedtls branches than in the framework.

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
2024-11-21 15:51:58 +01:00
Waleed Elmelegy
f5a82fd0a2 Add ecp prefix to internal iop generate key function names
Add ecp prefix to internal iop generate key function names
to emphasize that the functions are doing eliptic curves
keys only and not any other types.

Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-21 14:31:55 +00:00
Waleed Elmelegy
2266197e9c Move internal iop generate key function headers to psa_crypto_ecp.h
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-21 14:18:16 +00:00
Janos Follath
f36693822f
Merge pull request #9778 from waleed-elmelegy-arm/add-iop-export-pub-key-headers
Add header and documentation for interruptible ECC export public-key
2024-11-21 13:54:29 +00:00
Manuel Pégourié-Gonnard
e2a6d284b3
Merge pull request #9794 from davidhorstmann-arm/test-helpers-update-framework-submodule
Update framework submodule to point to `main`
2024-11-21 12:54:02 +00:00
Waleed Elmelegy
174a4e9960 Change iop export public-key initlization example
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-21 10:54:54 +00:00
David Horstmann
3cad328e76 Update framework submodule to point to main
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-21 10:48:47 +00:00