feat: U4 ciphertext page dump tool

- utrw/debug.c: utrw_debug_dump_page(slot,page,offset) — kernel debug-privileged dump of 64B ciphertext + decrypted plaintext hex to serial (PCKC key derive, no capability path)
- selftest demo: dump at offset 128 shows plaintext 'deshab utsm sealed memory selftest' vs unrelated ciphertext; SELFTEST PASS (.build_tmp/qemu_serial_u4dump.log)
This commit is contained in:
Linehu
2026-10-02 14:40:26 +08:00
parent 42fc06439c
commit 7925c09677
12 changed files with 123 additions and 3 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
- [x] U1 UTSM 元数据区 / UUID 调谐表
- [x] U2 UTRW Slow Path 真分支(EPOCH/KEY_MISS 恢复 + MAC_FAILED/POISONED→DRR;selftest PASS)
- [ ] U3 `@sealed` 段可选标记(链接脚本 `__sealed` section)
- [ ] U4 密文页 dump 工具(明文/密文对照命令)
- [x] U4 密文页 dump 工具(utrw_debug_dump_page:密文/明文 hex 对照,selftest 演示 PASS)
- [ ] U5 UTSM selftest 全覆盖(修 chacha20 KAT 间歇 FAIL,覆盖率 ≥70%)
## 🔌 三期:自由(DKM/用户态)