tpm2tss_rsa_genkey(3)

tpm2tss_rsa_genkey3

Make an rsa key object

Usage

#include <tpm2tss.h>

**int tpm2tss_rsa_genkey(RSA rsa, int bits, BIGNUM e, char *password);**

Overview

tpm2tss_rsa_genkey issues the generation of an RSA key rsa using the TPM. The keylength is determined by bits. The exponent is determined by e. The new key will be protected by password.

Return value

Upon successful completion tpm2tss_rsa_genkey() returns 1. Otherwise 0.

Author

Written by Andreas Fuchs.

Copyright

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

See also

openssl(1), tpm2tss_genkey(1)

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

From tpm2-tss-engine 1.2.0-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.