nyx: update rng calls based on new bdk

This commit is contained in:
CTCaer
2026-01-06 23:04:26 +02:00
committed by NaGa
parent 8e2a776e73
commit d5a1bdf9bf
2 changed files with 7 additions and 7 deletions

View File

@@ -1812,7 +1812,7 @@ static lv_res_t _create_mbox_benchmark(bool sd_bench)
for (u32 i = 0; i < rnd_off_cnt; i += 4)
{
// Generate new random numbers.
while (!se_gen_prng128(random_numbers))
while (!se_rng_pseudo(random_numbers, SE_RNG_BLOCK_SIZE))
;
// Clamp offsets to 256MB range.
random_offsets[i + 0] = random_numbers[0] % sct_rem_4kb;