mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-31 03:30:35 -04:00 
			
		
		
		
	Remove unnecessary test cases
It is enough only one test case for a key type, algorithm pair when testing the implicit usage flags. Signed-off-by: gabor-mezei-arm <gabor.mezei@arm.com>
This commit is contained in:
		
							parent
							
								
									8f40510a92
								
							
						
					
					
						commit
						d9050a53ac
					
				| @ -537,7 +537,7 @@ class StorageFormatV0(StorageFormat): | |||||||
|         """ |         """ | ||||||
|         keys = [] #type: List[StorageKey] |         keys = [] #type: List[StorageKey] | ||||||
|         kt = crypto_knowledge.KeyType(key_type, params) |         kt = crypto_knowledge.KeyType(key_type, params) | ||||||
|         for bits in kt.sizes_to_test(): |         bits = kt.sizes_to_test()[0] | ||||||
|         implicit = StorageKey.IMPLICIT_USAGE_FLAGS[implyer_usage] |         implicit = StorageKey.IMPLICIT_USAGE_FLAGS[implyer_usage] | ||||||
|         usage_flags = 'PSA_KEY_USAGE_EXPORT' |         usage_flags = 'PSA_KEY_USAGE_EXPORT' | ||||||
|         material_usage_flags = usage_flags + ' | ' + implyer_usage.string |         material_usage_flags = usage_flags + ' | ' + implyer_usage.string | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 gabor-mezei-arm
						gabor-mezei-arm