Line 1:
Line 1:
{{stub}}
{{stub}}
−
Probably [[SHA-1]] hashing engine. The device can be accessed either by opening it with [[IOS/Syscalls#List of syscalls in IOS|IOS_Open]] or by using the FD 0x10001.
+
'''/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.
−
Accept open,close,ioctlv(0xF(some sort of H0,H1,H2 verifying ),1,3,4)
−
−
'''/dev/sha''' is an IPC interface for the [[Hardware/SHA-1 engine | SHA-1 engine]].
−
It accepts open, close and ioctlv.
== /dev/sha IOS_Ioctlv ==
== /dev/sha IOS_Ioctlv ==