tpm2tss_rsa_genkey - Man Page

tpm2tss_rsa_genkey – Make an RSA key object

Synopsis

#include <tpm2tss.h>

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

Description

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.

See Also

openssl(1), tpm2tss_genkey(1)

Info

JUNE 2018 tpm2-tss-engine Library calls