Difference between revisions of "PS:SignRsaSha256"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code [0x00010244]}} {{IPC/RequestEntryRange|8|SHA256 hash to sign.}} {{IPC/RequestEntry|Unused....")
 
m (Fix formatting)
 
Line 5: Line 5:
 
{{IPC/RequestEntryRange|8|SHA256 hash to sign.}}
 
{{IPC/RequestEntryRange|8|SHA256 hash to sign.}}
 
{{IPC/RequestEntry|Unused. Intended as the signature size.}}
 
{{IPC/RequestEntry|Unused. Intended as the signature size.}}
{{IPC/TranslateStaticBuffer|RSA [[Process_Services_PXI|context]] buffer <nowiki>(static_buffer_id=0)</nowiki>}}
+
{{IPC/TranslateStaticBuffer|RSA [[Process_Services_PXI|context]] buffer|0}}
 
{{IPC/MapPointerW|Signature buffer}}
 
{{IPC/MapPointerW|Signature buffer}}
 
{{IPC/RequestEnd}}
 
{{IPC/RequestEnd}}

Latest revision as of 22:20, 14 December 2024

Request[edit]

Index Word Description
0 Header code [0x00010244]
1-8 SHA256 hash to sign.
9 Unused. Intended as the signature size.
10 Descriptor for static buffer (id 0)
11 RSA context buffer
12 Descriptor for mapping a write-only buffer in the target process
13 Signature buffer

Response[edit]

Index Word Description
0 Header code
1 Result code
2 Descriptor for mapping a write-only buffer in the target process
3 Signature buffer. Size for the translate-header is hard-coded to 0x100.