PSPXI:GenerateRandomBytes: Difference between revisions

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 ..."
 
AriA99 (talk | contribs)
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

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

Response

Index Word Description
0 Header code
1 Result code

Description

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