tpm2tss-tpm2data_write(3)

πŸ“¦
version 1.2.0 Β· 4 versions
, in alpine 3.24, fedora 43, fedora 44, opensuse-leap 16.0

πŸ’– tpm2tss-tpm2data_write πŸ’–

okay bestie, welcome to the Library calls section of the manual β€” yes that's the manual name, we're in the library-calls girlies now ✨


🌸 NAME 🌸

tpm2tss_ecc_getappdata, tpm2tss_ecc_setappdata – Make an ECC key object

no cap, that's literally what it says. two functions, one job, iconic behavior πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <tpm2tss.h>

**TPM2_DATA * tpm2tss_ecc_getappdata(const EC_KEY *key);**

int tpm2tss_ecc_setappdata(EC_KEY key, TPM2_DATA data);

so first you gotta #include <tpm2tss.h>, that's the vibe check you have to pass before anything else happens 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

tpm2tss_ecc_getappdata

tpm2tss_ecc_setappdata

yeah that's it. that's the whole description. the manpage said "here are the names" and then went to get a snack 😭 it's giving minimalism, it's giving "the function names speak for themselves." honestly? respect. do not come to this page looking for a plot, bestie, because there is none πŸ“


⭐ RETURN VALUE ⭐

upon successful completion, tpm2tss_ecc_getappdata() and tpm2tss_ecc_setappdata() return 1. otherwise 0.

heads up: it's 1 or 0, not 0-means-success. so when you're checking, 1 is the slay, 0 is the not-slay πŸ™ˆ get that backwards and you will be debugging for a while, fr fr.

πŸ‘‘ AUTHOR πŸ‘‘

Written by Andreas Fuchs.


tpm2tss is Copyright (C) 2018 Fraunhofer SIT sponsored by Infineon Technologies AG. License BSD 3-clause.


🌈 SEE ALSO 🌈


and that's the whole page, bestie!! πŸ’–βœ¨πŸŒΈπŸ¦‹πŸŽ€πŸ’…πŸ«Ά

this lil beauty comes to you from tpm2-tss-engine, dated JUNE 2018 β€” yes she's a 2018 girlie and she's still serving πŸ’œ periodt. go read your keys, mwah 😭πŸ”₯