TSPI_CHANGEAUTHASYM(3)
π Tspi_ChangeAuthAsym(3) π
okay bestie, welcome to the TCG Software Stack Developer's Reference β this one's from the TSS 1.1 era and it's lowkey a glow-up for your object's secret π
β¨ NAME β¨
Tspi_ChangeAuthAsym β change the authorization data of an entity using asymmetric change protocol.
(it's giving "makeover, but for secrets" π )
πΈ 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_ChangeAuthAsym(TSS_HOBJECT hObjectToChange, TSS_HOBJECT hParentObject,
TSS_HKEY hIdentKey, TSS_HPOLICY hNewPolicy);
like, include all seven headers, no skipping, the compiler WILL notice π
π¦ DESCRIPTION π¦
So here's the tea: Tspi_ChangeAuthAsym changes the authorization data (aka the secret) of an entity (aka an object) utilizing the asymmetric change protocol, and then assigns that object to the policy object. Slay.
Every single class that uses secrets provides this method for changing their authorization data β so this isn't some niche side quest, it's the standard way. β¨
And here's the iconic part, the main character energy of it all: this method changes the authorization data of an object ensuring that the parent of the object does not get knowledge of the new secret. π«Ά Not even the parent knows. iykyk. No cap.
π PARAMETERS π
hObjectToChange
Handle of the object the authorization data should be changed. it's the glow-up target, fr fr π
hParentObject
Handle of the parent object wrapping the object addressed by hObjectToChange.
hIdentKey
Handle of the identity key object required to proof the internally created temporary key. π
hNewPolicy
Handle of the policy object providing the new authorization data. the new secret lives here bestie β¨
π RETURN CODES π
Tspi_ChangeAuthAsym returns TSS_SUCCESS on success (periodt π
), otherwise one of the following values are returned:
TSS_E_INVALID_HANDLEβ EitherhObjectToChange,hParentObject, orhIdentKeyis an invalid handle. πTSS_E_INTERNAL_ERRORβ An error occurred internal to the TSS. it's not you, it's the TSS π
π CONFORMING TO π
Tspi_ChangeAuthAsym conforms to the Trusted Computing Group Software Specification version 1.1 Golden. iconic behavior, honestly β
π SEE ALSO π
go read that one too, bestie, it's the sibling π¦
π that's the whole page! no notes, it ate, and yes you should definitely read the whole thing before you call it.
and that's a wrap, gorgeous β this was TSS 1.1, dated 2004-05-26, and yes the date is old enough to be your cool auntie. bye bestie, go change some auth data π β¨
π¦ 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