pub fn with_tpm_mut<R, F: FnOnce(&mut Tpm) -> R>(f: F) -> Option<R>
Execute a closure with a mutable reference to the global TPM instance.
Returns None if the TPM is not initialized.
None