1tpm2tss-tpm2data_write(3)        Library calls       tpm2tss-tpm2data_write(3)
2
3
4

NAME

6       tpm2tss_rsa_genkey – Make an RSA key object
7

SYNOPSIS

9       #include <tpm2tss.h>
10
11       **int  tpm2tss_rsa_genkey(RSA  rsa,  int  bits,  BIGNUM  e, char *pass‐
12       word);**
13

DESCRIPTION

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

RETURN VALUE

20       Upon successful completion tpm2tss_rsa_genkey() returns  1.   Otherwise
21       0.
22
23   AUTHOR
24       Written by Andreas Fuchs.
25
26   COPYRIGHT
27       tpm2tss  is  Copyright  (C)  2018  Fraunhofer SIT sponsored by Infineon
28       Technologies AG.  License BSD 3-clause.
29
30   SEE ALSO
31       openssl(1), tpm2tss_genkey(1)
32
33
34
35tpm2-tss-engine                    JUNE 2018         tpm2tss-tpm2data_write(3)
Impressum