The libtpms library provides software emulation of a Trusted Platform Module (TPM).