From c1c9bfcabc4a5e4147d19c599de7d9bf925fa98b Mon Sep 17 00:00:00 2001 From: NingSun Date: Thu, 17 May 2018 09:09:12 -0700 Subject: Update tpm2_plugin_load_key() API Add reading public key modulus and exponent information function in this API. Issue-ID: AAF-94 Change-Id: I9d1b54336842dfc89140e281cec2ee43f0bb13d3 Signed-off-by: NingSun --- TPM2-Plugin/lib/include/tpm2_plugin_api.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'TPM2-Plugin/lib/include/tpm2_plugin_api.h') diff --git a/TPM2-Plugin/lib/include/tpm2_plugin_api.h b/TPM2-Plugin/lib/include/tpm2_plugin_api.h index 2a0ace0..f45c0bd 100644 --- a/TPM2-Plugin/lib/include/tpm2_plugin_api.h +++ b/TPM2-Plugin/lib/include/tpm2_plugin_api.h @@ -146,7 +146,8 @@ int tpm2_plugin_uninit(); int tpm2_plugin_activate(SSHSM_HW_PLUGIN_ACTIVATE_LOAD_IN_INFO_t *activate_in_info); int tpm2_plugin_load_key( SSHSM_HW_PLUGIN_ACTIVATE_LOAD_IN_INFO_t *loadkey_in_info, - void **keyHandle + void **keyHandle, + SSHSM_HW_PLUGIN_IMPORT_PUBLIC_KEY_INFO_t *importkey_info ); int tpm2_rsa_create_object( -- cgit 1.2.3-korg