benilla-re systems structs docs

NTempest::CRndSeed

struct · random · 8 bytes

Meaning
Holds a random state: an accumulator and four lane indices
Confidence
verified, proof two
Name from
the community database (idb)
Finding
random#state-and-seeding

Finding: State and seeding in random

The state is two dwords: an accumulator, and four one-byte lane indices. 0x44ea80 sets the accumulator to the seed and each lane to four times the seed modulo a prime: byte 3 is 4·(s mod 47), byte 2 4·(s mod 53), byte 1 4·(s mod 59), byte 0 4·(s mod 61).

The derivation is in the doc.

Fields 2

offsetsizetypenamemeaningconfidencefinding
0x00004uint32_tm_accumulatorHolds the sum the advance returns; the seed after seedingverified, proof tworandom#state-and-seeding
0x00044uint32_tm_lanesHolds four lane indices, byte k a byte offset into the tableverified, proof tworandom#state-and-seeding