FS:UpdateSha256Context: Difference between revisions
WulfyStylez (talk | contribs) |
Steveice10 (talk | contribs) m Minor cleanup. |
||
Line 9: | Line 9: | ||
|- | |- | ||
| 1-8 | | 1-8 | ||
| Input | | Input Hash (when updating) | ||
|- | |- | ||
| 9 | | 9 | ||
| Input | | Input Data Size | ||
|- | |- | ||
| 10 | | 10 | ||
Line 21: | Line 21: | ||
|- | |- | ||
| 12 | | 12 | ||
| u8, | | u8, Must be non-zero | ||
|- | |- | ||
| 13 | | 13 | ||
| u8, | | u8, Must be non-zero | ||
|- | |- | ||
| 14 | | 14 | ||
| (Size<<4) <nowiki>|</nowiki> | | (Size << 4) <nowiki>|</nowiki> 0xA | ||
|- | |- | ||
| 15 | | 15 | ||
| Input | | Input Data Pointer | ||
|} | |} | ||
Line 43: | Line 43: | ||
|- | |- | ||
| 1 | | 1 | ||
| | | Result code | ||
|- | |- | ||
| 2-9 | | 2-9 | ||
| Output | | Output SHA-256 Hash | ||
|} | |} | ||
=Description= | =Description= | ||
This calculates a | This calculates a SHA-256 hash using the ARM11 hash engine. |