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

This is the initial import of the libtpms library. The libtpms library provides software emulation of a Trusted Platform Module (TPM). It is intended to be used by applications when a hardware TPM is not adequate. For example, a hypervisor can use libtpms to emulate an independent TPM for each of it's virtual machine guests. The library provides a high- level API for developers to integrate the emulated TPM support into their application. The code was originally written by Kenneth Goldman <kgoldman@us.ibm.com> and Stefan Berger <stefanb@us.ibm.com>. The code is licensed under the Modified BSD License. Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com>
31 lines
611 B
Plaintext
31 lines
611 B
Plaintext
=head1 NAME
|
|
|
|
TPMLIB_GetVersion - Get the version of the TPM library
|
|
|
|
=head1 LIBRARY
|
|
|
|
TPM library (libtpms, -ltpms)
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
B<#include <libtpms/tpm_library.h>>
|
|
|
|
B<uint32_t TPMLIB_GetVersion(void);>
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
The B<TPMLIB_GetVersion()> function returns the libtpms library version.
|
|
The TPM library version is formatted as follows:
|
|
|
|
Bits 0 - 7 : revision of the library
|
|
Bits 8 -15 : minor version number of the library
|
|
Bits 16-23 : major version number of the library
|
|
|
|
V0.5.1 is therefore represented as 0x00000501.
|
|
|
|
=head1 SEE ALSO
|
|
|
|
B<TPMLIB_MainInit>(3), B<TPMLIB_Terminate>(3)
|
|
|
|
=cut
|