TPMLIB_GetVersion(3)

TPMLIB_GetVersion3

Get the version of the tpm library

Usage

#include <libtpms/tpm_library.h>

uint32_t TPMLIB_GetVersion(void);

Library

TPM library (libtpms, -ltpms)

Overview

The 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.

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

From libtpms 0.10.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.