Fix style for mbedtls_mpi_zeroize()
This commit is contained in:
parent
56e06db102
commit
6698d2fc5c
1 changed files with 2 additions and 1 deletions
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue