FS:UpdateSha256Context

From 3dbrew
Revision as of 17:05, 4 April 2013 by Yellows8 (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x084E0342] |- | 1-8 | Unused |- | 9 | Input data buffer size |- | 10 | Must be no...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x084E0342]
1-8 Unused
9 Input data buffer size
10 Must be non-zero
11 Must be non-zero
12 u8, must be non-zero
13 u8, must be non-zero
14 (Size<<4) | 10
15 Input data buffer ptr

Response

Index Word Description
0 Header code
1 Resultcode
2-9 Output SHA256 hash
10 (Size<<4) | 10
11 Data buffer ptr, same buffer from the input.

Description

This calculates a SHA256 hash using the ARM11 hash engine.