.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "tpm2tss-tpm2data_write" "3" "JUNE 2018" "tpm2-tss-engine" "Library calls" .hy .SH NAME .PP \f[B]tpm2tss_rsa_genkey\f[R] \[en] Make an RSA key object .SH SYNOPSIS .PP \f[B]#include \f[R] .PP **int tpm2tss_rsa_genkey(RSA \f[I]rsa, int bits, BIGNUM \f[R]e, char *password);** .SH DESCRIPTION .PP \f[B]tpm2tss_rsa_genkey\f[R] issues the generation of an RSA key \f[C]rsa\f[R] using the TPM. The keylength is determined by \f[C]bits\f[R]. The exponent is determined by \f[C]e\f[R]. The new key will be protected by \f[C]password\f[R]. .SH RETURN VALUE .PP Upon successful completion \f[B]tpm2tss_rsa_genkey\f[R]() returns 1. Otherwise 0. .SS AUTHOR .PP Written by Andreas Fuchs. .SS COPYRIGHT .PP tpm2tss is Copyright (C) 2018 Fraunhofer SIT sponsored by Infineon Technologies AG. License BSD 3-clause. .SS SEE ALSO .PP openssl(1), tpm2tss_genkey(1)