wii-linux-ngx
wii-linux-ngx copied to clipboard
AES in-kernel hardware acceleration
It should be possible to implement hardware-accelerated AES kernel module.
For reference: http://wiibrew.org/wiki/Hardware/AES_Engine And: http://gitweb.bootmii.org/?p=mini.git;a=blob;f=crypto.c;hb=HEAD
Cc @marcan
Only for 128-bit keys and only CBC mode (unless you go by single blocks), but yes.
Hi, I’ve written a driver for that device as part of the Linux Wii U effort, see https://gitlab.com/linux-wiiu/linux-wiiu/-/commit/96dbb3b91447c025a28a90cb0869aef052c558f8
I do intend to mainline that, but for now nothing is there for the Wii U so you may have more luck upstreaming is as part of the Wii effort since the platform at least is already in there.
That looks great! It should work with minor changes for the Wii, however I am not tweaking this kernel much these days.
It will end up in mainline at some point, hopefully once it is you will just have to rebase your work on linux-next and make the tweaks there. :)