mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Use safer size for tag checking
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
		
							parent
							
								
									06b6b8c8d6
								
							
						
					
					
						commit
						b183d56b5f
					
				@ -1749,7 +1749,7 @@ psa_status_t psa_driver_wrapper_aead_verify(
 | 
				
			|||||||
                                                  plaintext_size,
 | 
					                                                  plaintext_size,
 | 
				
			||||||
                                                  plaintext_length,
 | 
					                                                  plaintext_length,
 | 
				
			||||||
                                                  check_tag,
 | 
					                                                  check_tag,
 | 
				
			||||||
                                                  tag_length,
 | 
					                                                  sizeof( check_tag ),
 | 
				
			||||||
                                                  &check_tag_length );
 | 
					                                                  &check_tag_length );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                if( status == PSA_SUCCESS )
 | 
					                if( status == PSA_SUCCESS )
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user