David Horstmann 
							
						 
					 
					
						
						
							
						
						cd84bb287b 
					 
					
						
						
							
							Update references to mbedtls_dev  
						
						... 
						
						
						
						Change these to point to the new mbedtls_framework module in the
framework submodule.
Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2024-05-13 14:43:29 +01:00 
						 
				 
			
				
					
						
							
							
								Valerio Setti 
							
						 
					 
					
						
						
							
						
						307ce2cff5 
					 
					
						
						
							
							test_psa_compliance: use the last upstream release of psa-arch-tests  
						
						... 
						
						
						
						Release: v23.06_API1.5_ADAC_EAC
This fixes all the issues that were previously added as exceptions.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no > 
						
						
					 
					
						2024-01-30 09:25:07 +01:00 
						 
				 
			
				
					
						
							
							
								Valerio Setti 
							
						 
					 
					
						
						
							
						
						41f8f733a1 
					 
					
						
						
							
							test_psa_compliance: add exception for tests using wrong RSA pub key format  
						
						... 
						
						
						
						Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no > 
						
						
					 
					
						2024-01-29 11:44:40 +01:00 
						 
				 
			
				
					
						
							
							
								Thomas Daubney 
							
						 
					 
					
						
						
							
						
						10769bca9e 
					 
					
						
						
							
							Fix bad whitespace in keyword argument assignment  
						
						... 
						
						
						
						Signed-off-by: Thomas Daubney <thomas.daubney@arm.com > 
						
						
					 
					
						2023-12-01 23:47:59 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Daubney 
							
						 
					 
					
						
						
							
						
						04c446cc21 
					 
					
						
						
							
							Modify crypto_core_directory to also return a relative path  
						
						... 
						
						
						
						Signed-off-by: Thomas Daubney <thomas.daubney@arm.com > 
						
						
					 
					
						2023-12-01 17:18:38 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Daubney 
							
						 
					 
					
						
						
							
						
						08c6dc4942 
					 
					
						
						
							
							Rename project_crypto_name  
						
						... 
						
						
						
						Signed-off-by: Thomas Daubney <thomas.daubney@arm.com > 
						
						
					 
					
						2023-11-30 13:56:09 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Daubney 
							
						 
					 
					
						
						
							
						
						e8f3789312 
					 
					
						
						
							
							Revert change that removed in_tf_psa_crypto_repo variable  
						
						... 
						
						
						
						Signed-off-by: Thomas Daubney <thomas.daubney@arm.com > 
						
						
					 
					
						2023-11-24 11:41:23 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Daubney 
							
						 
					 
					
						
						
							
						
						6130a619f8 
					 
					
						
						
							
							Remove unused variable  
						
						... 
						
						
						
						Signed-off-by: Thomas Daubney <thomas.daubney@arm.com > 
						
						
					 
					
						2023-11-24 10:58:07 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Daubney 
							
						 
					 
					
						
						
							
						
						fc60e9b7bf 
					 
					
						
						
							
							Make function calls consistent  
						
						... 
						
						
						
						Signed-off-by: Thomas Daubney <thomas.daubney@arm.com > 
						
						
					 
					
						2023-11-24 10:56:04 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Daubney 
							
						 
					 
					
						
						
							
						
						8932404c45 
					 
					
						
						
							
							Introduce project_crypto_name in build_tree.py  
						
						... 
						
						
						
						Add new function to build_tree.py to return the crypto
name for the project; either tfpsacrypto or mbedcrypto.
Deploy this function where needed.
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com > 
						
						
					 
					
						2023-11-23 10:14:12 +00:00 
						 
				 
			
				
					
						
							
							
								Thomas Daubney 
							
						 
					 
					
						
						
							
						
						d0c3076dba 
					 
					
						
						
							
							Make use of crypto_core_directory function in script  
						
						... 
						
						
						
						Signed-off-by: Thomas Daubney <thomas.daubney@arm.com > 
						
						
					 
					
						2023-11-23 09:59:57 +00:00 
						 
				 
			
				
					
						
							
							
								Dave Rodgman 
							
						 
					 
					
						
						
							
						
						16799db69a 
					 
					
						
						
							
							update headers  
						
						... 
						
						
						
						Signed-off-by: Dave Rodgman <dave.rodgman@arm.com > 
						
						
					 
					
						2023-11-02 19:47:20 +00:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						a89d2ba132 
					 
					
						
						
							
							Merge pull request  #8327  from ronald-cron-arm/adapt-psa-crypto-repo-name  
						
						... 
						
						
						
						Adapt to new PSA Crypto repo name 
						
						
					 
					
						2023-10-11 06:45:30 +00:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						070e8652d5 
					 
					
						
						
							
							Adapt to new PSA Crypto repo name  
						
						... 
						
						
						
						Patterns I looked for:
grep -i "psa-crypto"
grep -i "psa.*crypto.*repo"
grep -i "psa.*crypto.*root"
Signed-off-by: Ronald Cron <ronald.cron@arm.com > 
						
						
					 
					
						2023-10-09 10:26:18 +02:00 
						 
				 
			
				
					
						
							
							
								Thomas Daubney 
							
						 
					 
					
						
						
							
						
						540324cd21 
					 
					
						
						
							
							Correct styling of Mbed TLS in documentation  
						
						... 
						
						
						
						Several bits of documentation were incorrectly styling Mbed TLS
as MbedTLS.
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com > 
						
						
					 
					
						2023-10-06 17:07:24 +01:00 
						 
				 
			
				
					
						
							
							
								David Horstmann 
							
						 
					 
					
						
						
							
						
						8f3ec8ec9d 
					 
					
						
						
							
							Use '--target' instead of shortened '-t'  
						
						... 
						
						
						
						This enables compatibility with older versions of CMake that do not have
the abbreviated switch.
Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2023-08-30 09:46:20 +01:00 
						 
				 
			
				
					
						
							
							
								David Horstmann 
							
						 
					 
					
						
						
							
						
						3ed1871920 
					 
					
						
						
							
							Disable pylint error for non-uppercase names  
						
						... 
						
						
						
						Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2023-08-29 18:20:19 +01:00 
						 
				 
			
				
					
						
							
							
								David Horstmann 
							
						 
					 
					
						
						
							
						
						9cc6b2f446 
					 
					
						
						
							
							Add missing import in test_psa_compliance.py  
						
						... 
						
						
						
						Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2023-08-29 17:36:35 +01:00 
						 
				 
			
				
					
						
							
							
								David Horstmann 
							
						 
					 
					
						
						
							
						
						fd9264e65b 
					 
					
						
						
							
							Fix pylint errors  
						
						... 
						
						
						
						Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2023-08-29 16:21:15 +01:00 
						 
				 
			
				
					
						
							
							
								David Horstmann 
							
						 
					 
					
						
						
							
						
						41c316d3b2 
					 
					
						
						
							
							Move -B switch into a single argument  
						
						... 
						
						
						
						This will prevent CMake from mistaking the build directory for the
source directory
Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2023-08-29 14:57:23 +01:00 
						 
				 
			
				
					
						
							
							
								David Horstmann 
							
						 
					 
					
						
						
							
						
						b48822c816 
					 
					
						
						
							
							Appease pylint by renaming variables  
						
						... 
						
						
						
						Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2023-08-29 14:12:53 +01:00 
						 
				 
			
				
					
						
							
							
								David Horstmann 
							
						 
					 
					
						
						
							
						
						beaee2604f 
					 
					
						
						
							
							Test PSA compliance: Build only the crypto target  
						
						... 
						
						
						
						Use CMake's -t option to build only the crypto target. Parameterize the
crypto target to have the right name depending on whether this is Mbed
TLS or PSA Crypto.
Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2023-08-29 14:01:52 +01:00 
						 
				 
			
				
					
						
							
							
								David Horstmann 
							
						 
					 
					
						
						
							
						
						2ba89bece6 
					 
					
						
						
							
							Disable pylint error in CMake command  
						
						... 
						
						
						
						Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2023-08-29 10:37:29 +01:00 
						 
				 
			
				
					
						
							
							
								David Horstmann 
							
						 
					 
					
						
						
							
						
						3b8984af5c 
					 
					
						
						
							
							Remove or qualify references to Mbed TLS  
						
						... 
						
						
						
						Either remove exclusive references to Mbed TLS or accompany them with
references to "PSA Crypto".
Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2023-08-29 10:32:26 +01:00 
						 
				 
			
				
					
						
							
							
								David Horstmann 
							
						 
					 
					
						
						
							
						
						f757069269 
					 
					
						
						
							
							Rename 'mbedtls_dir' -> 'root_dir'  
						
						... 
						
						
						
						This makes it more repo-agnostic
Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2023-08-29 10:27:13 +01:00 
						 
				 
			
				
					
						
							
							
								David Horstmann 
							
						 
					 
					
						
						
							
						
						98af198a30 
					 
					
						
						
							
							Correctly detect presence of the built library  
						
						... 
						
						
						
						Use the repo-specific test not just the Mbed TLS specific one.
Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2023-08-29 10:25:54 +01:00 
						 
				 
			
				
					
						
							
							
								David Horstmann 
							
						 
					 
					
						
						
							
						
						0ac57ca6c6 
					 
					
						
						
							
							Rename is_psa_crypto -> in_psa_crypto_repo  
						
						... 
						
						
						
						(For consistency with all.sh)
Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2023-08-24 15:18:18 +01:00 
						 
				 
			
				
					
						
							
							
								David Horstmann 
							
						 
					 
					
						
						
							
						
						7f93d22ad9 
					 
					
						
						
							
							Rename psa_crypto_lib_filename to just crypto_lib_filename  
						
						... 
						
						
						
						Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2023-08-24 15:18:18 +01:00 
						 
				 
			
				
					
						
							
							
								David Horstmann 
							
						 
					 
					
						
						
							
						
						4dcddcfae2 
					 
					
						
						
							
							Parameterize out of source build directory  
						
						... 
						
						
						
						Use CMake to build the library out-of-source (rather than make)
in tests/scripts/test_psa_compliance.py and add a script argument for
the out-of-source build directory.
Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2023-08-24 15:18:18 +01:00 
						 
				 
			
				
					
						
							
							
								David Horstmann 
							
						 
					 
					
						
						
							
						
						e31014a681 
					 
					
						
						
							
							Tweak test_psa_compliance pylint annotations  
						
						... 
						
						
						
						Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2023-08-24 15:18:18 +01:00 
						 
				 
			
				
					
						
							
							
								David Horstmann 
							
						 
					 
					
						
						
							
						
						1d09184291 
					 
					
						
						
							
							Modify test_psa_compliance.py for psa-crypto repo  
						
						... 
						
						
						
						Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2023-08-24 15:18:18 +01:00 
						 
				 
			
				
					
						
							
							
								Tom Cosgrove 
							
						 
					 
					
						
						
							
						
						1797b05602 
					 
					
						
						
							
							Fix typos prior to release  
						
						... 
						
						
						
						Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com > 
						
						
					 
					
						2022-12-04 17:19:59 +00:00 
						 
				 
			
				
					
						
							
							
								Gilles Peskine 
							
						 
					 
					
						
						
							
						
						42ed963c72 
					 
					
						
						
							
							Update PSA compliance test branch  
						
						... 
						
						
						
						Update to a branch with a fix for the test case
"expected error for psa_raw_key_agreement - Small buffer size"
since we just fixed the corresponding bug.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com > 
						
						
					 
					
						2022-05-17 17:23:09 +02:00 
						 
				 
			
				
					
						
							
							
								Shaun Case 
							
						 
					 
					
						
						
							
						
						8b0ecbccf4 
					 
					
						
						
							
							Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell.  
						
						... 
						
						
						
						Signed-off-by: Shaun Case <warmsocks@gmail.com >
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com > 
						
						
					 
					
						2022-05-11 21:25:51 +01:00 
						 
				 
			
				
					
						
							
							
								Przemek Stekiel 
							
						 
					 
					
						
						
							
						
						f25b16cadd 
					 
					
						
						
							
							test_psa_compliance: update tag to fix-pr-5139-3  
						
						... 
						
						
						
						Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com > 
						
						
					 
					
						2022-03-04 14:25:09 +01:00 
						 
				 
			
				
					
						
							
							
								Przemyslaw Stekiel 
							
						 
					 
					
						
						
							
						
						ab80c0cd6c 
					 
					
						
						
							
							test_psa_compliance.py: checkout fix-pr-5139 tag  
						
						... 
						
						
						
						Signed-off-by: Przemyslaw Stekiel <przemyslaw.stekiel@mobica.com > 
						
						
					 
					
						2022-02-22 13:35:26 +01:00 
						 
				 
			
				
					
						
							
							
								Bence Szépkúti 
							
						 
					 
					
						
						
							
						
						08f34656cb 
					 
					
						
						
							
							Return the same error in multipart and single shot AEAD  
						
						... 
						
						
						
						psa_aead_encrypt_setup() and psa_aead_decrypt_setup() were returning
PSA_ERROR_INVALID_ARGUMENT, while the same failed checks were producing
PSA_ERROR_NOT_SUPPORTED if they happened in psa_aead_encrypt() or
psa_aead_decrypt().
The PSA Crypto API 1.1 spec will specify PSA_ERROR_INVALID_ARGUMENT
in the case that the supplied algorithm is not an AEAD one.
Also move these shared checks to a helper function, to reduce code
duplication and ensure that the functions remain in sync.
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com > 
						
						
					 
					
						2022-01-07 19:36:07 +01:00 
						 
				 
			
				
					
						
							
							
								Bence Szépkúti 
							
						 
					 
					
						
						
							
						
						bac671cd23 
					 
					
						
						
							
							Fix the multipart AEAD compliance tests  
						
						... 
						
						
						
						Update the fork of the compliance test suite, and remove the multipart
AEAD tests from the expected failures list.
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com > 
						
						
					 
					
						2022-01-06 15:46:17 +01:00 
						 
				 
			
				
					
						
							
							
								Bence Szépkúti 
							
						 
					 
					
						
						
							
						
						357b78e42c 
					 
					
						
						
							
							Indicate if we know that a nonce length is invalid  
						
						... 
						
						
						
						This restores the behaviour found in the previously released versions
and development_2.x.
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com > 
						
						
					 
					
						2021-11-17 18:06:04 +01:00 
						 
				 
			
				
					
						
							
							
								Bence Szépkúti 
							
						 
					 
					
						
						
							
						
						1e4423b535 
					 
					
						
						
							
							Remove expected failure from test_psa_compliance  
						
						... 
						
						
						
						Issue #5143  was fixed in PR #5180 .
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com > 
						
						
					 
					
						2021-11-17 14:42:51 +01:00 
						 
				 
			
				
					
						
							
							
								Bence Szépkúti 
							
						 
					 
					
						
						
							
						
						b376eac5ac 
					 
					
						
						
							
							Track upstreaming task in an issue  
						
						... 
						
						
						
						Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com > 
						
						
					 
					
						2021-11-09 22:13:46 +01:00 
						 
				 
			
				
					
						
							
							
								Bence Szépkúti 
							
						 
					 
					
						
						
							
						
						cb28871326 
					 
					
						
						
							
							Document the values in EXPECTED_FAILURES  
						
						... 
						
						
						
						Including the issues where the corresponding defects are tracked.
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com > 
						
						
					 
					
						2021-11-09 21:42:15 +01:00 
						 
				 
			
				
					
						
							
							
								Bence Szépkúti 
							
						 
					 
					
						
						
							
						
						e2855c32b5 
					 
					
						
						
							
							Move to an updated fork of psa-arch-tests  
						
						... 
						
						
						
						The new fork was rebased on top of the upstream master, removing the
need for most of the downstream patches we carried.
On the other hand, the new fork includes a couple of fixes to problems
that were not addressed by the original fork, or were introduced with the
new version of psa-arch-tests.
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com > 
						
						
					 
					
						2021-11-09 21:42:14 +01:00 
						 
				 
			
				
					
						
							
							
								Bence Szépkúti 
							
						 
					 
					
						
						
							
						
						b3818412bc 
					 
					
						
						
							
							Keep local clone around even if the test succeeds  
						
						... 
						
						
						
						Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com > 
						
						
					 
					
						2021-11-03 13:17:29 +01:00 
						 
				 
			
				
					
						
							
							
								Bence Szépkúti 
							
						 
					 
					
						
						
							
						
						c63d1605ab 
					 
					
						
						
							
							Make directory creation code more compact  
						
						... 
						
						
						
						Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com > 
						
						
					 
					
						2021-11-03 13:14:40 +01:00 
						 
				 
			
				
					
						
							
							
								Bence Szépkúti 
							
						 
					 
					
						
						
							
						
						67fb3149c0 
					 
					
						
						
							
							Add licence header to script  
						
						... 
						
						
						
						Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com > 
						
						
					 
					
						2021-11-03 13:12:37 +01:00 
						 
				 
			
				
					
						
							
							
								Bence Szépkúti 
							
						 
					 
					
						
						
							
						
						34b5f56344 
					 
					
						
						
							
							Make main() suitable to being called from python  
						
						... 
						
						
						
						Don't call sys.exit(), and don't clobber the working directory.
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com > 
						
						
					 
					
						2021-11-03 13:12:02 +01:00 
						 
				 
			
				
					
						
							
							
								Bence Szépkúti 
							
						 
					 
					
						
						
							
						
						449781fda7 
					 
					
						
						
							
							Fix pylint errors  
						
						... 
						
						
						
						Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com > 
						
						
					 
					
						2021-11-02 13:53:11 +01:00 
						 
				 
			
				
					
						
							
							
								Bence Szépkúti 
							
						 
					 
					
						
						
							
						
						83aa604ce5 
					 
					
						
						
							
							Simplify regex and use named capture groups  
						
						... 
						
						
						
						Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com > 
						
						
					 
					
						2021-11-02 13:53:11 +01:00 
						 
				 
			
				
					
						
							
							
								Bence Szépkúti 
							
						 
					 
					
						
						
							
						
						c2bac00530 
					 
					
						
						
							
							Use print(end='') to silence double newline  
						
						... 
						
						
						
						Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com > 
						
						
					 
					
						2021-11-02 13:53:11 +01:00