mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-30 19:20:40 -04:00 
			
		
		
		
	Fix some whitespace issues in aes.c
This commit is contained in:
		
							parent
							
								
									ab6b9758d6
								
							
						
					
					
						commit
						eb6d3968b1
					
				| @ -575,7 +575,6 @@ int mbedtls_aes_setkey_enc( mbedtls_aes_context *ctx, const unsigned char *key, | |||||||
|     { |     { | ||||||
|         aes_gen_tables(); |         aes_gen_tables(); | ||||||
|         aes_init_done = 1; |         aes_init_done = 1; | ||||||
| 
 |  | ||||||
|     } |     } | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| @ -1002,9 +1001,9 @@ void mbedtls_aes_decrypt( mbedtls_aes_context *ctx, | |||||||
|  * AES-ECB block encryption/decryption |  * AES-ECB block encryption/decryption | ||||||
|  */ |  */ | ||||||
| int mbedtls_aes_crypt_ecb( mbedtls_aes_context *ctx, | int mbedtls_aes_crypt_ecb( mbedtls_aes_context *ctx, | ||||||
|                     int mode, |                            int mode, | ||||||
|                     const unsigned char input[16], |                            const unsigned char input[16], | ||||||
|                     unsigned char output[16] ) |                            unsigned char output[16] ) | ||||||
| { | { | ||||||
|     AES_VALIDATE_RET( ctx != NULL ); |     AES_VALIDATE_RET( ctx != NULL ); | ||||||
|     AES_VALIDATE_RET( input != NULL ); |     AES_VALIDATE_RET( input != NULL ); | ||||||
| @ -1056,7 +1055,6 @@ int mbedtls_aes_crypt_cbc( mbedtls_aes_context *ctx, | |||||||
|     AES_VALIDATE_RET( input != NULL ); |     AES_VALIDATE_RET( input != NULL ); | ||||||
|     AES_VALIDATE_RET( output != NULL ); |     AES_VALIDATE_RET( output != NULL ); | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
|     if( length % 16 ) |     if( length % 16 ) | ||||||
|         return( MBEDTLS_ERR_AES_INVALID_INPUT_LENGTH ); |         return( MBEDTLS_ERR_AES_INVALID_INPUT_LENGTH ); | ||||||
| 
 | 
 | ||||||
| @ -1335,11 +1333,11 @@ int mbedtls_aes_crypt_cfb128( mbedtls_aes_context *ctx, | |||||||
|  * AES-CFB8 buffer encryption/decryption |  * AES-CFB8 buffer encryption/decryption | ||||||
|  */ |  */ | ||||||
| int mbedtls_aes_crypt_cfb8( mbedtls_aes_context *ctx, | int mbedtls_aes_crypt_cfb8( mbedtls_aes_context *ctx, | ||||||
|                        int mode, |                             int mode, | ||||||
|                        size_t length, |                             size_t length, | ||||||
|                        unsigned char iv[16], |                             unsigned char iv[16], | ||||||
|                        const unsigned char *input, |                             const unsigned char *input, | ||||||
|                        unsigned char *output ) |                             unsigned char *output ) | ||||||
| { | { | ||||||
|     unsigned char c; |     unsigned char c; | ||||||
|     unsigned char ov[17]; |     unsigned char ov[17]; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Manuel Pégourié-Gonnard
						Manuel Pégourié-Gonnard