commit | 6698d2fc5ca1feb5e6fceae4e9995de0843d3cb4 | [log] [tgz] |
---|---|---|
author | Andres Amaya Garcia <Andres.AmayaGarcia@arm.com> | Tue Apr 24 08:39:07 2018 -0500 |
committer | Andres Amaya Garcia <Andres.AmayaGarcia@arm.com> | Tue Apr 24 08:39:07 2018 -0500 |
tree | 1be302c77e9c5c0c5db10861da0606daed73b5b8 | |
parent | 56e06db1023255d19578cc4108ecf3b78053ccd7 [diff] [blame] |
Fix style for mbedtls_mpi_zeroize()
diff --git a/library/bignum.c b/library/bignum.c index fb748d8..02d93ed 100644 --- a/library/bignum.c +++ b/library/bignum.c
@@ -73,7 +73,8 @@ #define CHARS_TO_LIMBS(i) ( (i) / ciL + ( (i) % ciL != 0 ) ) /* 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 ); }