pub fn pcr_extend(
pcr_index: PcrIndex,
measurement: &[u8; 32],
) -> Result<(), TpmError>Expand description
Convenience: extend a PCR with a measurement hash via the global TPM instance.
Returns Ok(()) if the TPM is available and the extend succeeded, or if no TPM is available (silent no-op for callers that use TPM opportunistically).