mirror of
https://github.com/fail0verflow/mini.git
synced 2024-11-28 14:14:18 +01:00
nandfs fixed :>
This commit is contained in:
parent
66f09a14de
commit
f2dd69f3d7
4
crypto.c
4
crypto.c
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user