mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	SECP224K1 is not yet supported via the PSA API
Filed as https://github.com/ARMmbed/mbedtls/issues/3541. In the meantime, disable the feature. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
		
							parent
							
								
									8276986c3e
								
							
						
					
					
						commit
						398413024d
					
				@ -678,7 +678,8 @@ extern "C" {
 | 
			
		||||
#define PSA_WANT_ECC_SECP_K1_192
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(MBEDTLS_ECP_DP_SECP224K1_ENABLED)
 | 
			
		||||
/* SECP224K1 is buggy via the PSA API (https://github.com/ARMmbed/mbedtls/issues/3541) */
 | 
			
		||||
#if 0 && defined(MBEDTLS_ECP_DP_SECP224K1_ENABLED)
 | 
			
		||||
#define MBEDTLS_PSA_BUILTIN_ECC_SECP_K1_224 1
 | 
			
		||||
#define PSA_WANT_ECC_SECP_K1_224
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
@ -87,7 +87,8 @@
 | 
			
		||||
/* Curve448 is not yet supported via the PSA API (https://github.com/ARMmbed/mbedtls/issues/4249) */
 | 
			
		||||
//#define PSA_WANT_ECC_MONTGOMERY_448             1
 | 
			
		||||
#define PSA_WANT_ECC_SECP_K1_192                1
 | 
			
		||||
#define PSA_WANT_ECC_SECP_K1_224                1
 | 
			
		||||
/* SECP224K1 is buggy via the PSA API (https://github.com/ARMmbed/mbedtls/issues/3541) */
 | 
			
		||||
//#define PSA_WANT_ECC_SECP_K1_224                1
 | 
			
		||||
#define PSA_WANT_ECC_SECP_K1_256                1
 | 
			
		||||
#define PSA_WANT_ECC_SECP_R1_192                1
 | 
			
		||||
#define PSA_WANT_ECC_SECP_R1_224                1
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user