Searched refs:encKeyObject (Results 1 – 2 of 2) sorted by relevance
255 IFAPI_OBJECT *encKeyObject; in Fapi_Encrypt_Finish() local294 encKeyObject = command->key_object; in Fapi_Encrypt_Finish()296 if (encKeyObject->misc.key.public.publicArea.type == TPM2_ALG_RSA) { in Fapi_Encrypt_Finish()301 encKeyObject->misc.key.public.publicArea.parameters.rsaDetail.keyBits / 8; in Fapi_Encrypt_Finish()328 error_cleanup, encKeyObject->misc.key.public.publicArea.type); in Fapi_Encrypt_Finish()
247 IFAPI_OBJECT *encKeyObject = NULL; in Fapi_Decrypt_Finish() local287 encKeyObject = command->key_object; in Fapi_Decrypt_Finish()289 if (encKeyObject->misc.key.public.publicArea.type != TPM2_ALG_RSA && in Fapi_Decrypt_Finish()290 encKeyObject->misc.key.public.publicArea.type != TPM2_ALG_ECC) { in Fapi_Decrypt_Finish()