mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-27 01:34:25 -04:00 
			
		
		
		
	aes: Clarify IV requirements for OFB mode
Combine the two "must be unique" phrases into one for clarity. An IV that is universally unique is also unique for each encryption operation.
This commit is contained in:
		
							parent
							
								
									5db13621ec
								
							
						
					
					
						commit
						cb2c935a54
					
				| @ -324,9 +324,9 @@ int mbedtls_aes_crypt_cfb8( mbedtls_aes_context *ctx, | |||||||
|  *              you must either save it manually or use the cipher module |  *              you must either save it manually or use the cipher module | ||||||
|  *              instead. |  *              instead. | ||||||
|  * |  * | ||||||
|  * \warning     For the OFB mode, the initiallisation vector must be unique and |  * \warning     For the OFB mode, the initialisation vector must be unique | ||||||
|  *              must be unique for every encryption operation. Reuse of an |  *              every encryption operation. Reuse of an initialisation vector | ||||||
|  *              initialisation vector will compromise security. |  *              will compromise security. | ||||||
|  * |  * | ||||||
|  * \param ctx      The AES context to use for encryption or decryption. |  * \param ctx      The AES context to use for encryption or decryption. | ||||||
|  * \param length   The length of the input data. |  * \param length   The length of the input data. | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jaeden Amero
						Jaeden Amero