Fix style for mbedtls_mpi_zeroize()

This commit is contained in:
Andres Amaya Garcia 2018-04-24 08:39:07 -05:00
parent 56e06db102
commit 6698d2fc5c

View File

@ -73,7 +73,8 @@
#define CHARS_TO_LIMBS(i) ( (i) / ciL + ( (i) % ciL != 0 ) ) #define CHARS_TO_LIMBS(i) ( (i) / ciL + ( (i) % ciL != 0 ) )
/* Implementation that should never be optimized out by the compiler */ /* Implementation that should never be optimized out by the compiler */
static void mbedtls_mpi_zeroize( mbedtls_mpi_uint *v, size_t n ) { static void mbedtls_mpi_zeroize( mbedtls_mpi_uint *v, size_t n )
{
mbedtls_platform_zeroize( v, ciL * n ); mbedtls_platform_zeroize( v, ciL * n );
} }