mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Add building definitions for non-crypto-config case
Ensure that the builtin definitions are defined when selected by the traditional configuration options. Signed-off-by: David Brown <david.brown@linaro.org>
This commit is contained in:
		
							parent
							
								
									e04acc271c
								
							
						
					
					
						commit
						da7dbb72ed
					
				@ -389,19 +389,23 @@ extern "C" {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#if defined(MBEDTLS_AES_C)
 | 
					#if defined(MBEDTLS_AES_C)
 | 
				
			||||||
#define PSA_WANT_KEY_TYPE_AES 1
 | 
					#define PSA_WANT_KEY_TYPE_AES 1
 | 
				
			||||||
 | 
					#define MBEDTLS_PSA_BUILTIN_KEY_TYPE_AES 1
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(MBEDTLS_ARC4_C)
 | 
					#if defined(MBEDTLS_ARC4_C)
 | 
				
			||||||
#define PSA_WANT_KEY_TYPE_ARC4 1
 | 
					#define PSA_WANT_KEY_TYPE_ARC4 1
 | 
				
			||||||
#define PSA_WANT_ALG_STREAM_CIPHER 1
 | 
					#define PSA_WANT_ALG_STREAM_CIPHER 1
 | 
				
			||||||
 | 
					#define MBEDTLS_PSA_BUILTIN_KEY_TYPE_ARC4 1
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(MBEDTLS_CAMELLIA_C)
 | 
					#if defined(MBEDTLS_CAMELLIA_C)
 | 
				
			||||||
#define PSA_WANT_KEY_TYPE_CAMELLIA 1
 | 
					#define PSA_WANT_KEY_TYPE_CAMELLIA 1
 | 
				
			||||||
 | 
					#define MBEDTLS_PSA_BUILTIN_KEY_TYPE_CAMELLIA 1
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(MBEDTLS_DES_C)
 | 
					#if defined(MBEDTLS_DES_C)
 | 
				
			||||||
#define PSA_WANT_KEY_TYPE_DES 1
 | 
					#define PSA_WANT_KEY_TYPE_DES 1
 | 
				
			||||||
 | 
					#define MBEDTLS_PSA_BUILTIN_KEY_TYPE_DES 1
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(MBEDTLS_CIPHER_MODE_CBC)
 | 
					#if defined(MBEDTLS_CIPHER_MODE_CBC)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user