nyx: update rng calls based on new bdk

This commit is contained in:
CTCaer
2026-01-06 23:04:26 +02:00
parent afa9715cf4
commit 1d2a7631d9
2 changed files with 15 additions and 15 deletions

View File

@@ -1811,7 +1811,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;