NTempest::gnoise32_
global · random
- Address
0x802700· 256 bytes, up to0x8027ff- Type
uint32_t[64]- Meaning
- Holds the 64 dwords the state advance and the hashes read
- Confidence
- verified, proof two
- Name from
- the community database (idb)
- Finding
- random#state-advance
Finding: State advance in random
0x4531e0 moves each lane down by a fixed step, adding the lane's modulus back when the result
is negative; reads four dwords of the table at the new byte offsets; XORs them after rotating
three of them; adds the result to the accumulator; stores both dwords and returns the new
accumulator. With T(n) the dword at byte offset n of 0x802700:
| lane | byte | step | modulus | rotate left |
|---|---|---|---|---|
| 3 | 3 | 4 | 0xbc | 1 |
| 2 | 2 | 12 | 0xd4 | 2 |
| 1 | 1 | 24 | 0xec | 3 |
| 0 | 0 | 28 | 0xf4 | 0 |
acc += rotl(T(n3),1) ^ rotl(T(n2),2) ^ rotl(T(n1),3) ^ T(n0), all modulo 2³².
The derivation is in the doc.