security/integrity/ima/ima_cvm.c
0 → 100644
+71
−0
security/integrity/ima/ima_cvm.h
0 → 100644
+36
−0
Loading
Merge Pull Request from: @HuaxinLuGitee This patch support the RoT (Root of Trust) implemented by TSI TMM, which is used in virtCCA CVM feature. This patch includes the three parts: 1. Use a bool flag to determine whether the CVM is enabled. If enabled, bypass TPM. 2. Read the value of slot 0 (RIM) as the boot aggregate value, which is the measurement result of RIM. 3. Extend the IMA measure log hash into slot1 (REM0). https://gitee.com/openeuler/kernel/issues/I9RJ09 Link:https://gitee.com/openeuler/kernel/pulls/7831 Reviewed-by:Jialin Zhang <zhangjialin11@huawei.com> Signed-off-by:
Jialin Zhang <zhangjialin11@huawei.com>