mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-01 04:01:13 -04:00 
			
		
		
		
	Remove check for lack of supported ciphers
Add comment explaining (currently) empty function. Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
		
							parent
							
								
									946c920475
								
							
						
					
					
						commit
						814f0c5fb1
					
				| @ -446,20 +446,12 @@ psa_status_t mbedtls_psa_aead_set_lengths( | ||||
|     size_t ad_length, | ||||
|     size_t plaintext_length ) | ||||
| { | ||||
| 
 | ||||
|     /* Nothing here yet, work is currently done in PSA Core, however support
 | ||||
|      * for CCM will require this function. */ | ||||
|     ( void ) operation; | ||||
|     ( void ) ad_length; | ||||
|     ( void ) plaintext_length; | ||||
| 
 | ||||
| #if !defined(MBEDTLS_PSA_BUILTIN_ALG_GCM) && \ | ||||
|     !defined(MBEDTLS_PSA_BUILTIN_ALG_CCM) && \ | ||||
|     !defined(MBEDTLS_PSA_BUILTIN_ALG_CHACHA20_POLY1305) | ||||
|     { | ||||
|         return ( PSA_ERROR_NOT_SUPPORTED ); | ||||
|     } | ||||
| #endif /* !MBEDTLS_PSA_BUILTIN_ALG_GCM && !MBEDTLS_PSA_BUILTIN_ALG_CCM && | ||||
|          !MBEDTLS_PSA_BUILTIN_ALG_CHACHA20_POLY1305) */ | ||||
| 
 | ||||
|     return ( PSA_SUCCESS ); | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Paul Elliott
						Paul Elliott