FS:UpdateSha256Context

From 3dbrew
Revision as of 06:48, 18 October 2015 by Steveice10 (talk | contribs) (Minor cleanup.)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x084E0342]
1-8 Input Hash (when updating)
9 Input Data 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) | 0xA
15 Input Data Pointer

Response

Index Word Description
0 Header code
1 Result code
2-9 Output SHA-256 Hash

Description

This calculates a SHA-256 hash using the ARM11 hash engine.