mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Fix revert of PSA_AEAD_UPDATE_OUTPUT_SIZE
Both the original change, and its incomplete revert were introduced in #3386. Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
This commit is contained in:
		
							parent
							
								
									fc86f3f147
								
							
						
					
					
						commit
						437035bfe3
					
				@ -398,7 +398,7 @@
 | 
				
			|||||||
#define PSA_AEAD_UPDATE_OUTPUT_SIZE(alg, input_length)                              \
 | 
					#define PSA_AEAD_UPDATE_OUTPUT_SIZE(alg, input_length)                              \
 | 
				
			||||||
    (PSA_ALG_IS_AEAD_ON_BLOCK_CIPHER(alg) ?                                         \
 | 
					    (PSA_ALG_IS_AEAD_ON_BLOCK_CIPHER(alg) ?                                         \
 | 
				
			||||||
     PSA_ROUND_UP_TO_MULTIPLE(PSA_BLOCK_CIPHER_BLOCK_MAX_SIZE, (input_length)) :    \
 | 
					     PSA_ROUND_UP_TO_MULTIPLE(PSA_BLOCK_CIPHER_BLOCK_MAX_SIZE, (input_length)) :    \
 | 
				
			||||||
     (input_length)) :                                                              \
 | 
					     (input_length))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/** A sufficient output buffer size for psa_aead_update(), for any of the
 | 
					/** A sufficient output buffer size for psa_aead_update(), for any of the
 | 
				
			||||||
 *  supported key types and AEAD algorithms.
 | 
					 *  supported key types and AEAD algorithms.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user