Difference between revisions of "PSPXI:GenerateRandomBytes"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000D0042] |- | 1 | Output buffer size |- | 2 | (Size<<8) <nowiki>|</nowiki> 0x4 ...")
 
(Add a short description how this thing works, the whole thing is too ugly to restate)
 
Line 30: Line 30:
 
| Result code
 
| Result code
 
|}
 
|}
 +
 +
=Description=
 +
 +
Generates random bytes using the FIPS 186-2 (change notice 1) appendix 3 generator using SHA-1.

Latest revision as of 10:01, 26 May 2024

Request[edit]

Index Word Description
0 Header code [0x000D0042]
1 Output buffer size
2 (Size<<8) | 0x4
3 Output buffer pointer

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

Generates random bytes using the FIPS 186-2 (change notice 1) appendix 3 generator using SHA-1.