nandfs fixed :>

This commit is contained in:
Sven Peter 2009-01-30 18:39:32 +01:00 committed by bushing
parent 66f09a14de
commit f2dd69f3d7

View File

@ -130,8 +130,12 @@ void aes_ipc(volatile ipc_request *req)
aes_set_key((u8 *)req->args); aes_set_key((u8 *)req->args);
break; break;
case IPC_AES_DECRYPT: case IPC_AES_DECRYPT:
dc_invalidaterange((u8 *)req->args[0],
(req->args[3]+1)*16);
aes_decrypt((u8 *)req->args[0], (u8 *)req->args[1], aes_decrypt((u8 *)req->args[0], (u8 *)req->args[1],
req->args[2], req->args[3]); req->args[2], req->args[3]);
dc_flushrange((u8 *)req->args[1],
(req->args[3]+1)*16);
break; break;
default: default:
gecko_printf("IPC: unknown SLOW AES request %04x\n", gecko_printf("IPC: unknown SLOW AES request %04x\n",