Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

TPMLIB_CancelCommand - Cancel a TPM command

Description

The TPMLIB_CancelCommand() function indicates that the ongoing processing of a TPM command is to be cancelled. The cancellation will only be effective for certain time consuming operations, such as the creation of keys. Note that an implementation that wants to support cancellation of commands needs to process TPM commands in one thread and cancel them in another.

Library

TPM library (libtpms, -ltpms)

Name

TPMLIB_CancelCommand - Cancel a TPM command

See Also

TPMLIB_Process(3) libtpms 2025-06-25 TPMLIB_CancelCommand(3)

Synopsis

#include<libtpms/tpm_library.h> uint32_tTPMLIB_CancelCommand(void);

See Also