TSPI_TPM_GETEVENT(3)
π Tspi_TPM_GetEvent π
okay bestie, welcome to the TCG Software Stack Developer's Reference β yes that's the manual we're in, and yes it's a whole vibe. this page is about Tspi_TPM_GetEvent, and we're gonna get you fluent, no cap. π«Ά
β¨ NAME β¨
Tspi_TPM_GetEvent β get a PCR event for a given PCR index and event number. it's giving "look up one specific thing in the event log," and honestly? iconic. π
πΈ SYNOPSIS πΈ
#include <tss/platform.h>
#include <tss/tcpa_defines.h>
#include <tss/tcpa_typedef.h>
#include <tss/tcpa_struct.h>
#include <tss/tss_typedef.h>
#include <tss/tss_structs.h>
#include <tss/tspi.h>
TSS_RESULT Tspi_TPM_GetEvent(TSS_HTPM hTPM, UINT32 ulPcrIndex,
UINT32 ulEventNumber, TSS_PCR_EVENT* pPcrEvent);
like, include the headers, call the function, get your event. simple. gorgeous. β¨
π¦ DESCRIPTION π¦
Tspi_TPM_GetEvent provides a PCR event for a given PCR index and event number. that's it, that's the whole job. you hand it a PCR index and an event number, and it hands you back the event. main character energy: it knows exactly what you're looking for and it delivers. π
π PARAMETERS π
hTPMβ handle of the TPM object. your TPM's lil ID card, basically.ulPcrIndexβ index of the PCR to request. which PCR are we talking about, bestie?ulEventNumberβ index of the event to request. which event in particular?pPcrEventβ receives the PCR event data. this is where the goods land. π
π RETURN CODES π
Tspi_TPM_GetEvent returns TSS_SUCCESS on success β slay β otherwise one of the following values are returned:
TSS_E_INVALID_HANDLEβhTPMis not a valid handle to the TPM object. the handle didn't pass the vibe check, sorry babe. πTSS_E_INTERNAL_ERRORβ an error occurred internal to the TSS. not your fault, it's a them problem. π
π CONFORMING TO π
Tspi_TPM_GetEvent conforms to the Trusted Computing Group Software Specification version 1.1 Golden. periodt. we're standards-compliant and we're thriving. π
π SEE ALSO π
go read those too, bestie, the lore runs deep. π§
TSS 1.1 Β· 2004-05-26 β yeah she's an elder but she still ate, fr fr. that's the source/version and date, straight from the footer, mwah πβ¨π
π¦ where this page comes from
- debian bookworm: libtspi-dev 0.3.15-0.3 Β· BSD-3-Clause
- debian trixie: libtspi-dev 0.3.15-0.4 Β· BSD-3-Clause
- epel 10: trousers-devel 0.3.15-11.el10_0 Β· BSD
- epel 9: trousers-devel 0.3.15-5.el9 Β· BSD
- fedora 43: trousers-devel 0.3.15-15.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: trousers-devel 0.3.15-15.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: trousers-devel 0.3.15-16.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: trousers-devel 0.3.15-16.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: trousers-devel 0.3.15-17.fc44 Β· LicenseRef-Callaway-BSD
- fedora 44: trousers-devel 0.3.15-17.fc44 Β· LicenseRef-Callaway-BSD
- nixos 26.05: trousers 0.3.15
- nixpkgs unstable: netbsd-source 11.0
- nixpkgs unstable: trousers 0.3.15
- opensuse-leap 16.0: trousers-devel 0.3.15-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: trousers-devel 0.3.15-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: trousers-devel 0.3.15-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: trousers-devel 0.3.15-160000.2.2 Β· BSD-3-Clause
- ubuntu jammy: libtspi-dev 0.3.15-0.2 Β· BSD-3-Clause
- ubuntu noble: libtspi-dev 0.3.15-0.3build2 Β· BSD-3-Clause
- ubuntu questing: libtspi-dev 0.3.15-0.4
- ubuntu resolute: libtspi-dev 0.3.15-1 Β· BSD-3-Clause
- ubuntu stonking: libtspi-dev 0.3.15-1ubuntu2 Β· BSD-3-Clause
- Copyright (C) 2004 International Business Machines Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms