mirror of
https://github.com/stefanberger/libtpms
synced 2025-08-25 01:41:06 +00:00

Introduce --with-tpm2 for ./configure to enable building with TPM 2 functionality. Delay the building of TPM 2 code until more patches are applied and the vTPM state that's created has a chance of being backwards compatible. Extend the libtpms API to allow user to choose version of TPM. Missing functionality at this point: - TPM 2 needs to be extended to serialize and deserialize its volatile state - Handling of the establishment bit Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
30 lines
637 B
Plaintext
30 lines
637 B
Plaintext
=head1 NAME
|
|
|
|
TPMLIB_CancelCommand - Cancel a TPM command
|
|
|
|
=head1 LIBRARY
|
|
|
|
TPM library (libtpms, -ltpms)
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
B<#include <libtpms/tpm_library.h>>
|
|
|
|
B<uint32_t TPMLIB_CancelCommand(void);>
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
The B<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.
|
|
|
|
=head1 SEE ALSO
|
|
|
|
B<TPMLIB_Process>(3)
|
|
|
|
=cut
|