ohhhhhhhhhhh (exclude linux-extra-rootfs.img build artifact)

This commit is contained in:
Linehu
2026-10-01 23:13:42 +08:00
parent 737a2cb0db
commit 1074962546
533 changed files with 133239 additions and 5460 deletions
+10
View File
@@ -34,3 +34,13 @@ int utsm_pckc_get_or_derive(u32 segment_slot, utsm_segment_desc *desc, utsm_key_
*out_key = entry->key;
return UTSM_OK;
}
void utsm_pckc_invalidate_slot(u32 segment_slot) {
for (u32 i = 0; i < UTSM_MAX_PCKC_KEYS; i++) {
utsm_pckc_entry *entry = &g_pckc.entries[i];
if (entry->valid && entry->segment_slot == segment_slot) {
entry->valid = false;
entry->key = (utsm_key_material){ { 0, 0, 0, 0 } }; /* 擦除密钥材料 */
}
}
}
Binary file not shown.