FS:UpdateSha256Context: Difference between revisions
Jump to navigation
Jump to search
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..." |
WulfyStylez (talk | contribs) |
||
| Line 9: | Line 9: | ||
|- | |- | ||
| 1-8 | | 1-8 | ||
| | | Input hash (when updating) | ||
|- | |- | ||
| 9 | | 9 | ||
Revision as of 11:23, 16 August 2015
Request
| Index Word | Description |
|---|---|
| 0 | Header code [0x084E0342] |
| 1-8 | Input hash (when updating) |
| 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.