|
|
Parameterized crypto-op harness built on the proven stack-migration svc 0xf2 service-1 chain. Takes
OPCODE + MSGSPEC (JSON dword_index->value) to drive the SYS_DRV GP-TEE crypto dispatcher (sub_E1DC30,
opcodes <0x1000, ACL-free) from a ROP'd GCP TA, and adds a SECOND in-chain memcpy that dumps the
post-op message region (STACK_DST+0x300, 0x80 bytes) back to host-readable params+0x3010 -- so inline
results (e.g. a created context handle at msg[14]) are observable. Status r0 exfil'd to params+0x3000;
graceful-return marker to params+0x3100.
Hardware-validated mechanics (op 0x01 create, algo 0x50000004): graceful marker 0x5a (clean return,
ring survived), dump correctly echoed M[0]=opcode and M[15]=algo, svc reached the dispatcher (status
0xffff000a = handler reject of that algo, NOT ACL 0xffff0001). Confirms: harness drives crypto ops and
dumps output buffers back. Algo IDs are standard GP TEE (dword_E023FC=0x50000005=SHA384, statically
init'd); sweeping recognized algos to land a successful create. hw/crypto_run.sh + crypto_algo_sweep.sh
are the runners.
|