Difference between revisions of "PS:VerifyRsaSha256"

From 3dbrew
Jump to navigation Jump to search
(Undo revision 18923 by Yellows8 (talk) (Wrong page))
 
Line 2: Line 2:
 
{{IPC/Request}}
 
{{IPC/Request}}
 
{{#vardefine:ipc_offset|0}}
 
{{#vardefine:ipc_offset|0}}
{{IPC/RequestEntry|Header code [0x00010244]}}
+
{{IPC/RequestEntry|Header code [0x00020244]}}
{{IPC/RequestEntryRange|8|SHA256 hash to sign.}}
+
{{IPC/RequestEntryRange|8|SHA256 hash to compare with.}}
 
{{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 <nowiki>(static_buffer_id=0)</nowiki>}}
{{IPC/MapPointerW|Signature buffer}}
+
{{IPC/MapPointerR|Signature buffer}}
 
{{IPC/RequestEnd}}
 
{{IPC/RequestEnd}}
  
Line 14: Line 14:
 
{{IPC/RequestEntry|Header code}}
 
{{IPC/RequestEntry|Header code}}
 
{{IPC/RequestEntry|Result code}}
 
{{IPC/RequestEntry|Result code}}
{{IPC/MapPointerW|Signature buffer. Size for the translate-header is hard-coded to 0x100.}}
+
{{IPC/MapPointerR|Signature buffer. Size for the translate-header is hard-coded to 0x100.}}
 
{{IPC/RequestEnd}}
 
{{IPC/RequestEnd}}

Latest revision as of 06:43, 17 December 2016

Request[edit]

Index Word Description
0 Header code [0x00020244]
1-8 SHA256 hash to compare with.
9 Unused. Intended as the signature size.
10 Descriptor for static buffer (id {{{2}}})
11 RSA context buffer (static_buffer_id=0)
12 Descriptor for mapping a read-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 read-only buffer in the target process
3 Signature buffer. Size for the translate-header is hard-coded to 0x100.