FS:UpdateSha256Context

From 3dbrew
Jump to navigation Jump to search

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.