mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	aes: xts: Correct NIST 80-38E to 800-38E
Correct a typo in an AES XTS implementation comment where the relevant NIST standard was incorrectly referred to as NIST 80-38E instead of NIST 800-38E.
This commit is contained in:
		
							parent
							
								
									8381fcb3f9
								
							
						
					
					
						commit
						a74faba27a
					
				@ -1146,7 +1146,7 @@ int mbedtls_aes_crypt_xts( mbedtls_aes_xts_context *ctx,
 | 
			
		||||
    if( length < 16 )
 | 
			
		||||
        return MBEDTLS_ERR_AES_INVALID_INPUT_LENGTH;
 | 
			
		||||
 | 
			
		||||
    /* NIST SP 80-38E disallows data units larger than 2**20 blocks. */
 | 
			
		||||
    /* NIST SP 800-38E disallows data units larger than 2**20 blocks. */
 | 
			
		||||
    if( length > ( 1 << 20 ) * 16 )
 | 
			
		||||
        return MBEDTLS_ERR_AES_INVALID_INPUT_LENGTH;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user