tpm2tss-tpm2data_write(3)
π 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 createdEVP_PKEYobject. π - 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 π)
π COPYRIGHT
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 πβ¨πΈπ¦ππ π«Άπ
π¦ where this page comes from
- alpine 3.24: tpm2-tss-engine-doc 1.2.0-r3 Β· BSD-2-Clause
- fedora 43: tpm2-tss-engine-devel 1.2.0-8.fc43 Β· BSD-3-Clause
- fedora 43: tpm2-tss-engine-devel 1.2.0-8.fc43 Β· BSD-3-Clause
- fedora 44: tpm2-tss-engine-devel 1.2.0-9.fc44 Β· BSD-3-Clause
- fedora 44: tpm2-tss-engine-devel 1.2.0-9.fc44 Β· BSD-3-Clause
- opensuse-leap 16.0: tpm2-tss-engine 1.2.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tpm2-tss-engine 1.2.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tpm2-tss-engine 1.2.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tpm2-tss-engine 1.2.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms