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
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 4 | uint32_t | m_accumulator | Holds the sum the advance returns; the seed after seeding | verified, proof two | random#state-and-seeding |
0x0004 | 4 | uint32_t | m_lanes | Holds four lane indices, byte k a byte offset into the table | verified, proof two | random#state-and-seeding |