Solar Designer
6b2ca180a8
Add change log entry on AES-NI asm block fixes
...
Co-authored-by: Gilles Peskine <gilles.peskine@arm.com>
Signed-off-by: Solar Designer <solar@openwall.com>
2024-12-11 02:47:20 +01:00
Solar Designer
4393dff8ca
Specify previously missed XMM register clobbers in AES-NI asm blocks
...
Noticed by Gilles Peskine
Co-authored-by: Gilles Peskine <gilles.peskine@arm.com>
Signed-off-by: Solar Designer <solar@openwall.com>
2024-12-11 02:44:16 +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
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
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
Waleed Elmelegy
a898127144
Remove PSA_ERROR_NOT_SUPPORTED as a return value to iop abort APIs
...
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-20 15:33:52 +00:00
Waleed Elmelegy
bf1af30ec9
Correct typos in iop export public-key headers
...
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-20 15:32:37 +00:00
Waleed Elmelegy
39d54e1fb1
Prevent a warning in case PSA_VENDOR_ECC_MAX_CURVE_BITS is set to 0
...
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-20 15:08:52 +00:00
Waleed Elmelegy
44e0f75ca3
Use PSA Macros instead of legacy ones in psa_generate_key_iop_complete()
...
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-20 12:31:32 +00:00
Waleed Elmelegy
08e28e6573
Check error codes on called functions in mbedtls_psa_generate_key_iop_complete
...
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2024-11-20 12:29:39 +00:00
Manuel Pégourié-Gonnard
905395eefd
Merge pull request #9756 from davidhorstmann-arm/move-some-test-helpers-to-framework
...
Move some test helpers to the framework
2024-11-20 09:55:42 +00:00
David Horstmann
ed91f8890f
Replace tabs with spaces in Makefile
...
Tabs were introduced in a place where spaces are being used for
alignment. Correct this.
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-19 17:15:30 +00:00
David Horstmann
ccf8c42b1a
Update framework submodule
...
Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-11-19 17:14:13 +00:00