Files
ssw-mpc/crates/nax-tee
rong e983a1a4ab fix(p3-qemu): P3 QEMU 全链验证通过(ALL OK)—— TA user_ta_header include + CA 编译修复
- TA main.rs 删手写 #[no_mangle] 弱符号,改 include! $OUT_DIR/user_ta_header.rs
  (ta_head/ta_heap/ta_props/trace_* 全套由 optee-utee-build 生成,官方示例
  aes-rs 同款;手写与生成定义冲突,漏写则链接器逐个 undefined)
- ta/ca Cargo.toml 的 package 字段显式写死 version/edition/license,不再
  workspace 继承(teaclave examples/ca 的 workspace.package 无 edition)
- ca main.rs 命令分发挪进 fn run() -> R<()>,main 只收尾(? 不能用在
  返回 () 的 main,E0277 x4)
- p3_optee_qemu.sh / run_qemu.py:USTC apt/cargo/rustup 镜像、显式
  commands.run 超时、traffic token 落盘、ghfast.top clone 回退等

判据:QEMU 正常世界 nax-tee-ca selftest 全 8 步通过(provision ->
seal/unseal -> 重开 session -> 篡改拒 -> AAD 绑定 -> sign -> attest),
sw.log 两条 ffff000f Security 拒绝为预期篡改/AAD 检测,NAX_RC=0。
宿主侧 cargo test --workspace 129 全绿。
2026-10-30 01:08:49 +08:00
..