TSPI_TPM_KILLMAINTENANCEFEATURE(3)

πŸ’– Tspi_TPM_KillMaintenanceFeature πŸ’–

ok so we're in the Library Functions Manual for the TCG Software Stack Developer's Reference, and bestie, this one's a vibe. pull up a chair πŸŽ€


✨ NAME ✨

Tspi_TPM_KillMaintenanceFeature β€” disables the ability to create a maintenance archive


🌸 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_KillMaintenanceFeature(TSS_HTPM hTPM);

like yes, that's a lot of includes, that's just how TSS rolls, we don't make the rules πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

Tspi_TPM_KillMaintenanceFeature disables the functionality of creating a maintenance archive.

and then the plot twist: this feature is not yet implemented. πŸ’€

ikr. iconic of it, honestly. it's giving "coming soon" but make it a whole TPM call. no cap.


🌈 PARAMETERS 🌈

hTPM

the hTPM parameter is used to specify the handle of the TPM object. that's it, that's the whole parameter. one (1) handle, main character energy πŸ‘‘


πŸ’œ RETURN CODES πŸ’œ

Tspi_TPM_KillMaintenanceFeature returns TSS_SUCCESS on success β€” and otherwise, bestie, one of the following values comes back at you:

  • TSS_E_INVALID_HANDLE β€” hTPM is not a valid handle. (not the handle we thought it was 😭)
  • TSS_E_INTERNAL_ERROR β€” an internal SW error has been detected. something is lowkey wrong inside 🫠
  • TSS_E_NOTIMPL β€” the function is not implemented. yeah. remember the description? yeah. that one. πŸ“

⭐ CONFORMING TO ⭐

Tspi_TPM_KillMaintenanceFeature conforms to the Trusted Computing Group Software Specification version 1.1 Golden. certified. slay. πŸ”₯


🧚 SEE ALSO 🧚

the maintenance-archive friend group 🫢 go read them too, iykyk


and that's the whole page, pookie β€” this was TSS 1.1, dated 2004-05-25, and the manual's footer is just Tspi_TPM_K...anceFeature(3) being shy and truncating itself like always. bye bestie, go call your TPM πŸ’–βœ¨