mbed TLS upgraded to 2.6.0
Fork of mbedtls by
Diff: library/cmac.c
- Revision:
- 2:bbdeda018a3c
- Parent:
- 0:cdf462088d13
--- a/library/cmac.c Fri Sep 29 18:41:59 2017 +0100 +++ b/library/cmac.c Fri Sep 29 19:50:30 2017 +0100 @@ -1,4 +1,4 @@ -/* +/** * \file cmac.c * * \brief NIST SP800-38B compliant CMAC implementation for AES and 3DES @@ -169,10 +169,10 @@ const unsigned char *input2, const size_t block_size ) { - size_t index; + size_t idx; - for( index = 0; index < block_size; index++ ) - output[ index ] = input1[ index ] ^ input2[ index ]; + for( idx = 0; idx < block_size; idx++ ) + output[ idx ] = input1[ idx ] ^ input2[ idx ]; } /*