Home
last modified time | relevance | path

Searched refs:encKeyObject (Results 1 – 2 of 2) sorted by relevance

/external/tpm2-tss/src/tss2-fapi/api/
DFapi_Encrypt.c255 IFAPI_OBJECT *encKeyObject; in Fapi_Encrypt_Finish() local
294 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()
DFapi_Decrypt.c247 IFAPI_OBJECT *encKeyObject = NULL; in Fapi_Decrypt_Finish() local
287 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()