mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-30 19:20:40 -04:00 
			
		
		
		
	Fix unused param warnings in auth_xxcrypt_ext()
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
		
							parent
							
								
									4e0a4d444d
								
							
						
					
					
						commit
						841b6fa97f
					
				| @ -1552,6 +1552,9 @@ int mbedtls_cipher_auth_encrypt_ext( mbedtls_cipher_context_t *ctx, | |||||||
|         if( iv_len != 0 || tag_len != 0 || ad_len != 0 ) |         if( iv_len != 0 || tag_len != 0 || ad_len != 0 ) | ||||||
|             return( MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA ); |             return( MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA ); | ||||||
| 
 | 
 | ||||||
|  |         (void) iv; | ||||||
|  |         (void) ad; | ||||||
|  | 
 | ||||||
|         return( mbedtls_nist_kw_wrap( ctx->cipher_ctx, mode, input, ilen, |         return( mbedtls_nist_kw_wrap( ctx->cipher_ctx, mode, input, ilen, | ||||||
|                                       output, olen, output_len ) ); |                                       output, olen, output_len ) ); | ||||||
|     } |     } | ||||||
| @ -1605,6 +1608,9 @@ int mbedtls_cipher_auth_decrypt_ext( mbedtls_cipher_context_t *ctx, | |||||||
|         if( iv_len != 0 || tag_len != 0 || ad_len != 0 ) |         if( iv_len != 0 || tag_len != 0 || ad_len != 0 ) | ||||||
|             return( MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA ); |             return( MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA ); | ||||||
| 
 | 
 | ||||||
|  |         (void) iv; | ||||||
|  |         (void) ad; | ||||||
|  | 
 | ||||||
|         return( mbedtls_nist_kw_unwrap( ctx->cipher_ctx, mode, input, ilen, |         return( mbedtls_nist_kw_unwrap( ctx->cipher_ctx, mode, input, ilen, | ||||||
|                                         output, olen, output_len ) ); |                                         output, olen, output_len ) ); | ||||||
|     } |     } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Manuel Pégourié-Gonnard
						Manuel Pégourié-Gonnard