Update of the RNG seed in mpi_mod_random_values
The code had an earlier version. Update to the new seed that mpi_core_random_basic has moved to. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
e1d8326e90
commit
d1aa75d7b2
1 changed files with 1 additions and 4 deletions
|
@ -195,10 +195,7 @@ exit:
|
|||
void mpi_mod_random_values( int min, char *max_hex, int rep )
|
||||
{
|
||||
/* Same RNG as in mpi_core_random_basic */
|
||||
mbedtls_test_rnd_pseudo_info rnd_core = {
|
||||
{'T', 'h', 'i', 's', ' ', 'i', ',', 'a',
|
||||
's', 'e', 'e', 'd', '!', 0},
|
||||
0, 0};
|
||||
mbedtls_test_rnd_pseudo_info rnd_core = rnd_pseudo_seed;
|
||||
mbedtls_test_rnd_pseudo_info rnd_mod_raw;
|
||||
memcpy( &rnd_mod_raw, &rnd_core, sizeof( rnd_core ) );
|
||||
mbedtls_test_rnd_pseudo_info rnd_mod;
|
||||
|
|
Loading…
Reference in a new issue