swtpm_setup: create tpm2_createprimary_rsa_params for common code

Create the tpm2_createprimary_rsa_params function that has common code
for creating a primary RSA key with parameters.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
1 file changed