Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-11] src/sys/arch/evbppc
Module Name: src
Committed By: martin
Date: Fri Nov 14 13:16:33 UTC 2025
Modified Files:
src/sys/arch/evbppc/conf [netbsd-11]: WII files.wii
src/sys/arch/evbppc/include [netbsd-11]: wii.h
Added Files:
src/sys/arch/evbppc/wii/dev [netbsd-11]: hwaes.c
Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #82):
sys/arch/evbppc/include/wii.h: revision 1.12
sys/arch/evbppc/conf/files.wii: revision 1.7
sys/arch/evbppc/conf/WII: revision 1.10
sys/arch/evbppc/wii/dev/hwaes.c: revision 1.1
wii: Add support for hardware AES engine and cgd(4) to the WII kernel.
Add a driver for the Nintendo Wii's AES engine. The driver registers an
AES implementation for kernel use via aes_md_init(). AES-128 requests are
accelerated by hardware and all other requests are passed through to the
default (BearSSL aes_ct) implementation.
Add cgd(4) to the Wii kernel to enable disk encryption support.
Tested performance with cgd(4) and AES-128-CBC on a USB flash drive:
hwaes: 33513984 bytes transferred in 2.245 secs (14928277 bytes/sec)
bear: 33513984 bytes transferred in 7.581 secs (4420786 bytes/sec)
Many thanks to Taylor Campbell who walked me through implementing support
for non-CBC modes.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.9.2.1 src/sys/arch/evbppc/conf/WII
cvs rdiff -u -r1.6 -r1.6.2.1 src/sys/arch/evbppc/conf/files.wii
cvs rdiff -u -r1.10.2.1 -r1.10.2.2 src/sys/arch/evbppc/include/wii.h
cvs rdiff -u -r0 -r1.1.2.2 src/sys/arch/evbppc/wii/dev/hwaes.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index