In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

/dev/aes

From WiiBrew
< /dev
Jump to navigation Jump to search

/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