Home
last modified time | relevance | path

Searched refs:strdup_check (Results 1 – 25 of 33) sorted by relevance

12

/aosp_15_r20/external/tpm2-tss/src/tss2-fapi/api/
H A DFapi_SetCertificate.c143 strdup_check(command->pem_cert, x509certData, r, error_cleanup); in Fapi_SetCertificate_Async()
147 strdup_check(command->key_path, path, r, error_cleanup); in Fapi_SetCertificate_Async()
211 strdup_check(*pem_cert_dup, "", r, error_cleanup); in Fapi_SetCertificate_Finish()
213 strdup_check(*pem_cert_dup, *pem_cert, r, error_cleanup); in Fapi_SetCertificate_Finish()
H A DFapi_Provision.c176 strdup_check(command->authValueLockout, authValueLockout, r, end); in Fapi_Provision_Async()
177 strdup_check(command->authValueEh, authValueEh, r, end); in Fapi_Provision_Async()
178 strdup_check(command->authValueSh, authValueSh, r, end); in Fapi_Provision_Async()
650 strdup_check(pkeyObject->misc.key.certificate, command->pem_cert, r, error_cleanup); in Fapi_Provision_Finish()
681 strdup_check(hierarchy->misc.hierarchy.description, "Lockout Hierarchy", in Fapi_Provision_Finish()
761 strdup_check(hierarchy->misc.hierarchy.description, in Fapi_Provision_Finish()
822 strdup_check(hierarchy->misc.hierarchy.description, in Fapi_Provision_Finish()
H A DFapi_ExportPolicy.c152 strdup_check(command->path, path, r ,error_cleanup); in Fapi_ExportPolicy_Async()
228 strdup_check(*jsonPolicy, in Fapi_ExportPolicy_Finish()
259 strdup_check(*jsonPolicy, in Fapi_ExportPolicy_Finish()
H A DFapi_VerifyQuote.c192 strdup_check(command->keyPath, publicKeyPath, r, error_cleanup); in Fapi_VerifyQuote_Async()
193 strdup_check(command->quoteInfo, quoteInfo, r, error_cleanup); in Fapi_VerifyQuote_Async()
194 strdup_check(command->logData, pcrLog, r, error_cleanup); in Fapi_VerifyQuote_Async()
H A DFapi_NvExtend.c192 strdup_check(command->nvPath, nvPath, r, error_cleanup); in Fapi_NvExtend_Async()
193 strdup_check(command->logData, logData, r, error_cleanup); in Fapi_NvExtend_Async()
389 strdup_check(event->sub_event.tss_event.event, command->logData, in Fapi_NvExtend_Finish()
421 strdup_check(object->misc.nv.event_log, in Fapi_NvExtend_Finish()
H A DFapi_AuthorizePolicy.c181 strdup_check(policy->policyPath, policyPath, r, error_cleanup); in Fapi_AuthorizePolicy_Async()
182 strdup_check(policy->signingKeyPath, keyPath, r, error_cleanup); in Fapi_AuthorizePolicy_Async()
324 strdup_check(authorization->type, "tpm", r, cleanup); in Fapi_AuthorizePolicy_Finish()
H A DFapi_GetCertificate.c193 strdup_check(*x509certData, keyObject->misc.ext_pub_key.certificate, in Fapi_GetCertificate_Finish()
196 strdup_check(*x509certData, keyObject->misc.key.certificate, in Fapi_GetCertificate_Finish()
H A DFapi_SetDescription.c138 strdup_check(command->object_path, path, r, error_cleanup); in Fapi_SetDescription_Async()
147 strdup_check(command->description, description, r, error_cleanup); in Fapi_SetDescription_Async()
H A DFapi_ChangeAuth.c174 strdup_check(command->entityPath, entityPath, r, error_cleanup); in Fapi_ChangeAuth_Async()
176 strdup_check(command->authValue, authValue, r, error_cleanup); in Fapi_ChangeAuth_Async()
178 strdup_check(command->authValue, "", r, error_cleanup); in Fapi_ChangeAuth_Async()
H A DFapi_Sign.c206 strdup_check(command->keyPath, keyPath, r, error_cleanup); in Fapi_Sign_Async()
207 strdup_check(command->padding, padding, r, error_cleanup); in Fapi_Sign_Async()
H A DFapi_NvRead.c173 strdup_check(command->nvPath, nvPath, r, error_cleanup); in Fapi_NvRead_Async()
313 strdup_check(*logData, object->misc.nv.event_log, r, error_cleanup); in Fapi_NvRead_Finish()
H A DFapi_PcrExtend.c177 strdup_check(command->logData, logData, r, error_cleanup); in Fapi_PcrExtend_Async()
285 strdup_check(subEvent->event, in Fapi_PcrExtend_Finish()
H A DFapi_WriteAuthorizeNV.c161 strdup_check(command->policyPath, policyPath, r, error_cleanup); in Fapi_WriteAuthorizeNv_Async()
162 strdup_check(nvCmd->nvPath, nvPath, r, error_cleanup); in Fapi_WriteAuthorizeNv_Async()
H A DFapi_Quote.c223 strdup_check(command->keyPath, keyPath, r, error_cleanup); in Fapi_Quote_Async()
405 strdup_check(*certificate, sig_key_object->misc.key.certificate, r, error_cleanup); in Fapi_Quote_Finish()
H A DFapi_CreateNv.c206 strdup_check(nvCmd->nvPath, path, r, error_cleanup); in Fapi_CreateNv_Async()
209 strdup_check(miscNv->policyInstance, policyPath, r, error_cleanup); in Fapi_CreateNv_Async()
H A DFapi_ExportKey.c190 strdup_check(command->pathOfKeyToDuplicate, pathOfKeyToDuplicate, in Fapi_ExportKey_Async()
192 strdup_check(command->pathToPublicKeyOfNewParent, in Fapi_ExportKey_Async()
H A DFapi_Import.c163 strdup_check(command->out_path, path, r, cleanup_error); in Fapi_Import_Async()
170 strdup_check(extPubKey->pem_ext_public, importData, r, cleanup_error); in Fapi_Import_Async()
H A DFapi_List.c127 strdup_check(command->searchPath, searchPath, r, error_cleanup); in Fapi_List_Async()
H A DFapi_SetAppData.c148 strdup_check(command->object_path, path, r, error_cleanup); in Fapi_SetAppData_Async()
H A DFapi_GetTpmBlobs.c243 strdup_check(*policy, in Fapi_GetTpmBlobs_Finish()
H A DFapi_Unseal.c155 strdup_check(command->keyPath, path, r, error_cleanup); in Fapi_Unseal_Async()
/aosp_15_r20/external/tpm2-tss/src/tss2-fapi/
H A Difapi_helpers.c1141 strdup_check(dest->description, src->description, r, error_cleanup); in copy_policy()
1170 strdup_check(dest->path, src->path, r, error_cleanup); in copy_policy_object()
1202 strdup_check(dest->type, src->type, r, error_cleanup); in copy_policyauthorization()
1286 strdup_check(to_policy->element.PolicySecret.objectPath, in copy_policy_element()
1290 strdup_check(to_policy->element.PolicyAuthorize.keyPath, in copy_policy_element()
1292 strdup_check(to_policy->element.PolicyAuthorize.keyPEM, in copy_policy_element()
1316 strdup_check(to_policy->element.PolicyAuthorizeNv.nvPath, in copy_policy_element()
1320 strdup_check(to_policy->element.PolicySigned.keyPath, in copy_policy_element()
1322 strdup_check(to_policy->element.PolicySigned.keyPEM, in copy_policy_element()
1324 strdup_check(to_policy->element.PolicySigned.publicKeyHint, in copy_policy_element()
[all …]
H A Difapi_keystore.c1270 strdup_check(dest->policyInstance, src->policyInstance, r, error_cleanup); in ifapi_copy_ifapi_key()
1271 strdup_check(dest->description, src->description, r, error_cleanup); in ifapi_copy_ifapi_key()
1272 strdup_check(dest->certificate, src->certificate, r, error_cleanup); in ifapi_copy_ifapi_key()
H A Difapi_macros.h9 #define strdup_check(dest, str, r, label) \ macro
H A Difapi_policy_store.c102 strdup_check(pstore->policydir, config_policydir, r, error); in ifapi_policy_store_initialize()

12