/dev/aes
< /dev
Jump to navigation
Jump to search
This is an old revision of this page, as edited by DacoTaco (talk | contribs) at 14:20, 20 November 2022. It may differ significantly from the current revision. |
This article is a stub. You can help WiiBrew by expanding it. |
/dev/aes is an IPC interface for the AES engine. It accepts open, close, ioctlv.
/dev/aes IOS_Ioctlv
number | Description | in count | out count | vector | vector length |
---|---|---|---|---|---|
0x00 | Unknown | ? | ? | ? | ? |
0x02 | Encrypt | 2 | 2 | input data (16-byte aligned) | - |
key | 16 bytes | ||||
output data (16-byte aligned) | same as input | ||||
initialization vector | 16 bytes | ||||
0x03 | Decrypt | 2 | 2 | input data (16-byte aligned) | - |
key | 16 bytes | ||||
output data (16-byte aligned) | same as input | ||||
initialization vector | 16 bytes |