mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 12:11:27 -05:00 
			
		
		
		
	psa: aead: Add missing chachapoly context free
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
		
							parent
							
								
									ecbc068252
								
							
						
					
					
						commit
						b9349a67a9
					
				@ -65,6 +65,11 @@ static void psa_aead_abort_internal( aead_operation_t *operation )
 | 
			
		||||
            mbedtls_gcm_free( &operation->ctx.gcm );
 | 
			
		||||
            break;
 | 
			
		||||
#endif /* MBEDTLS_PSA_BUILTIN_ALG_GCM */
 | 
			
		||||
#if defined(MBEDTLS_PSA_BUILTIN_ALG_CHACHA20_POLY1305)
 | 
			
		||||
        case PSA_ALG_CHACHA20_POLY1305:
 | 
			
		||||
            mbedtls_chachapoly_free( &operation->ctx.chachapoly );
 | 
			
		||||
            break;
 | 
			
		||||
#endif /* MBEDTLS_PSA_BUILTIN_ALG_CHACHA20_POLY1305 */
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user