mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Fix typo in PSA ECC curve config option
Fix SEC to SECP as the curve name. This fixes failing tests that verified the config option was working. Signed-off-by: David Brown <david.brown@linaro.org>
This commit is contained in:
		
							parent
							
								
									cc2f869055
								
							
						
					
					
						commit
						9b178deedb
					
				@ -406,7 +406,7 @@ extern "C" {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#if defined(PSA_WANT_ECC_SECP_K1_256)
 | 
					#if defined(PSA_WANT_ECC_SECP_K1_256)
 | 
				
			||||||
#if !defined(MBEDTLS_PSA_ACCEL_ECC_SECP_K1_256)
 | 
					#if !defined(MBEDTLS_PSA_ACCEL_ECC_SECP_K1_256)
 | 
				
			||||||
#define MBEDTLS_ECP_DP_SEC256K1_ENABLED
 | 
					#define MBEDTLS_ECP_DP_SECP256K1_ENABLED
 | 
				
			||||||
#define MBEDTLS_PSA_BUILTIN_ECC_SECP_K1_256 1
 | 
					#define MBEDTLS_PSA_BUILTIN_ECC_SECP_K1_256 1
 | 
				
			||||||
#endif /* !MBEDTLS_PSA_ACCEL_ECC_SECP_K1_256 */
 | 
					#endif /* !MBEDTLS_PSA_ACCEL_ECC_SECP_K1_256 */
 | 
				
			||||||
#endif /* PSA_WANT_ECC_SECP_K1_256 */
 | 
					#endif /* PSA_WANT_ECC_SECP_K1_256 */
 | 
				
			||||||
@ -657,7 +657,7 @@ extern "C" {
 | 
				
			|||||||
#define PSA_WANT_ECC_SECP_K1_224
 | 
					#define PSA_WANT_ECC_SECP_K1_224
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(MBEDTLS_ECP_DP_SEC256K1_ENABLED)
 | 
					#if defined(MBEDTLS_ECP_DP_SECP256K1_ENABLED)
 | 
				
			||||||
#define MBEDTLS_PSA_BUILTIN_ECC_SECP_K1_256 1
 | 
					#define MBEDTLS_PSA_BUILTIN_ECC_SECP_K1_256 1
 | 
				
			||||||
#define PSA_WANT_ECC_SECP_K1_256
 | 
					#define PSA_WANT_ECC_SECP_K1_256
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user