FS:UpdateSha256Context: Difference between revisions
Steveice10 (talk | contribs) m Minor cleanup. |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
|- | |- | ||
| 1-8 | | 1-8 | ||
| Input Hash | | Input Hash. Not used at all. | ||
|- | |- | ||
| 9 | | 9 | ||
| Line 15: | Line 15: | ||
|- | |- | ||
| 10 | | 10 | ||
| | | u32 Flag, must be zero. | ||
|- | |- | ||
| 11 | | 11 | ||
| | | u32 Flag, must be zero. | ||
|- | |- | ||
| 12 | | 12 | ||
| | | s8 Flag, must be zero. | ||
|- | |- | ||
| 13 | | 13 | ||
| | | s8 Flag, must be non-zero. | ||
|- | |- | ||
| 14 | | 14 | ||
| Line 51: | Line 51: | ||
=Description= | =Description= | ||
This calculates a SHA-256 hash using the ARM11 hash engine. | This calculates a SHA-256 hash using the ARM11 hash engine. | ||
None of the input flags are used at all after validation(error 0xf9604784 is returned on validation failure). | |||