Difference between revisions of "/dev/sha"
< /dev
Jump to navigation
Jump to search
m |
m (oops, forgot to delete the old stuff) |
||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
− | + | '''/dev/sha''' is an IPC interface for the [[Hardware/SHA-1 engine | SHA-1 engine]] that accepts IOS_Open, IOS_Close & IOCTLV commands. | |
− | + | Internally in IOS, it ''usually'' has an internal FD of 0x10001. despite this, it is better to do an IOS_Open when using this resource. | |
− | |||
− | |||
− | '''/dev/sha''' is an IPC interface for the [[Hardware/SHA-1 engine | SHA-1 engine]]. | ||
− | |||
== /dev/sha IOS_Ioctlv == | == /dev/sha IOS_Ioctlv == |
Revision as of 13:49, 24 December 2022
This article is a stub. You can help WiiBrew by expanding it. |
/dev/sha is an IPC interface for the SHA-1 engine that accepts IOS_Open, IOS_Close & IOCTLV commands. Internally in IOS, it usually has an internal FD of 0x10001. despite this, it is better to do an IOS_Open when using this resource.
/dev/sha IOS_Ioctlv
number | Description | in count | out count | vector | vector length |
---|---|---|---|---|---|
0x00 | ? | ? | ? | ? | ? |
0x01 | ? | ? | ? | ? | ? |
0x02 | ? | ? | ? | ? | ? |
0x03 | ? | ? | ? | ? | ? |
0x04 | ? | ? | ? | ? | ? |
0x0F | some sort of H0,H1,H2 verifying | ? | ? | ? | ? |