tpm2tss-tpm2data_write(3)
π tpm2tss-tpm2data_write(3) β Library calls π
okay bestie, sit DOWN, we're reading a manpage and it's actually kinda iconic β¨ This one lives in the tpm2tss-tpm2data_write(3) section of your library-call manual, and no cap, it's short and sweet. Let's go π«Ά
β¨ NAME β¨
tpm2tss_rsa_genkey β Make an RSA key object ππ
(yes the file is called something else, we don't question the universe's choices, we just vibe with it π¦)
πΈ SYNOPSIS πΈ
#include <tpm2tss.h>
int tpm2tss_rsa_genkey(RSA rsa, int bits, BIGNUM e, char *password);
π DESCRIPTION π
So basically, tpm2tss_rsa_genkey goes and issues the generation of an RSA key rsa using the TPM. That's the whole plot π§ The TPM does the heavy lifting, you just show up and look pretty.
- the keylength? that's decided by
bitsπ - the exponent? that's decided by
eπ - the brand-new key? it gets protected by
passwordπ periodt
not me trusting the TPM with my whole cryptographic destiny π iconic behavior honestly
π RETURN VALUE π
When it works out, tpm2tss_rsa_genkey() returns 1 β¨ When it doesn't, it returns 0 π
That's it. That's the whole scale. Binary queen.
π AUTHOR π
Written by Andreas Fuchs. thank you king π«‘
π COPYRIGHT π
tpm2tss is Copyright (C) 2018 Fraunhofer SIT sponsored by Infineon Technologies AG. License BSD 3-clause. πβ¨
π¦ SEE ALSO π¦
openssl(1)tpm2tss_genkey(1)
aaaand that's the whole page bestie, you ate that reading comprehension fr fr π
sign-off corner: this lil masterpiece comes to you from tpm2-tss-engine, dated JUNE 2018, filed under tpm2tss-tpm2data_write(3) π mwah, go generate some keys π
π₯
π¦ 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