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(3) πŸ’–

okay bestie, welcome to the library calls corner of the tpm2-tss-engine manual β€” yes the page is literally called tpm2tss-tpm2data_write(3) but the function living in it is tpm2tss_ecc_makekey, we don't make the rules, we just read them πŸ’…


✨ NAME ✨

tpm2tss_ecc_makekey – Make an ECC key object

no cap, that's the whole name section. short. iconic. periodt.


🌸 SYNOPSIS 🌸

#include <tpm2tss.h>

EVP_PKEY * tpm2tss_ecc_makekey(TPM2_DATA *tpm2Data);

look at that signature. gorgeous. EVP_PKEY * out front, TPM2_DATA *tpm2Data taking the aux, we love a clean prototype 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie: tpm2tss_ecc_makekey takes a TPM2_DATA object β€” that's the tpm2Data argument right there β€” and creates a corresponding OpenSSL EVP_PKEY object from it. that's it. that's the whole job. it's giving "glow up your TPM data into an OpenSSL key object" ✨


πŸ‘‘ RETURN VALUE πŸ‘‘

  • if everything goes slay: tpm2tss_ecc_makekey() hands you back the pointer to the created EVP_PKEY object. πŸŽ€
  • if it does not go slay: you get NULL. πŸ’€

that's the vibe check. pointer or nothing, no in-between.


πŸ’œ AUTHOR

Written by Andreas Fuchs. (ty king, we appreciate you πŸ™)


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

fr fr, that's the exact copyright line β€” Fraunhofer SIT, sponsored by Infineon Technologies AG, BSD 3-clause license. don't lose it, it's legally load-bearing bestie πŸ’…

🌈 SEE ALSO

go read that one next, iykyk 🧚


and that's the whole page, bestie! this lil gem comes from the tpm2-tss-engine manual, dated JUNE 2018, and it's officially wrapped. mwah πŸ’–βœ¨πŸŒΈπŸ¦‹πŸŽ€πŸ’…πŸ«ΆπŸ‘‘