summaryrefslogtreecommitdiff
path: root/library/cipher_wrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'library/cipher_wrap.c')
-rw-r--r--library/cipher_wrap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/library/cipher_wrap.c b/library/cipher_wrap.c
index 47851e9c..b1ab8f16 100644
--- a/library/cipher_wrap.c
+++ b/library/cipher_wrap.c
@@ -831,7 +831,8 @@ static const mbedtls_cipher_info_t camellia_256_ccm_info = {
static int aria_crypt_ecb_wrap( void *ctx, mbedtls_operation_t operation,
const unsigned char *input, unsigned char *output )
{
- return mbedtls_aria_crypt_ecb( (mbedtls_aria_context *) ctx, operation, input,
+ (void) operation;
+ return mbedtls_aria_crypt_ecb( (mbedtls_aria_context *) ctx, input,
output );
}
@@ -840,7 +841,8 @@ static int aria_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation,
size_t length, unsigned char *iv,
const unsigned char *input, unsigned char *output )
{
- return mbedtls_aria_crypt_cbc( (mbedtls_aria_context *) ctx, operation, length, iv,
+ (void) operation;
+ return mbedtls_aria_crypt_cbc( (mbedtls_aria_context *) ctx, length, iv,
input, output );
}
#endif /* MBEDTLS_CIPHER_MODE_CBC */