/dev/hmac

From WiiBrew
Jump to navigation Jump to search

/dev/hmac is a device created by IOSP that can be accessed either by opening it with IOS_Open or by using FD 0x10002. It does not seem to exist in IOS28 and above as it got merged in /dev/sha

IOS_Ioctlv commands

Command In count Io count Notes
0 3 2 Possibly inner hash? Second vec must have length 4.
1 3 2
2 3 2 Possibly outer hash? Most code is shared with request 0.