riscv-non-isa/riscv-ap-tee

static/dynamic measurement terminology confusing

jyao1 opened this issue · 0 comments

The attestation section defined static measurements and dynamic measurements, and sbi_cove section claims that “MeasurementRegisterDescriptor” is “the TCG PCR index this measurement maps to”.

These definition and claim can be easily confused with the TCG PFP and PTP defined static PCRs and dynamic PCRs.

People may easily think that COVE static measurements means TCG static PCRs, and COVE dynamic measurements means TCG dynamic PCRs.
However, it is NOT the case.

Actually, COVE dynamic measurements means TCG static PCRs.

I suggest to change the name static measurements and dynamic measurements to some other terms. (Not use static and dynamic)
For example,

  • COVE static measurements => COVE initial measurements
  • COVE dynamic measurements => COVE runtime measurements