mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 00:55:39 +01:00
Use mbedtls_platform_memset in data_randomize
More secure memset should be used here instead of standard memset.
This commit is contained in:
parent
282db8e3f8
commit
8f8c0bdfc7
@ -541,7 +541,7 @@ static int aes_sca_cm_data_randomize( uint8_t *tbl, uint8_t tbl_len )
|
||||
int num;
|
||||
#endif
|
||||
|
||||
memset( tbl, 0, tbl_len );
|
||||
mbedtls_platform_memset( tbl, 0, tbl_len );
|
||||
|
||||
#if AES_SCA_CM_ROUNDS != 0
|
||||
// Randomize SCA CM positions to tbl
|
||||
|
Loading…
Reference in New Issue
Block a user