Home
last modified time | relevance | path

Searched refs:keyPublic (Results 1 – 9 of 9) sorted by relevance

/external/tpm2-tss/src/tss2-fapi/
Difapi_policy_instantiate.c103 TPMT_PUBLIC *keyPublic, in set_pem_key_param() argument
125 *keyPublic = public.publicArea; in set_pem_key_param()
126 keyPublic->nameAlg = hash_alg; in set_pem_key_param()
176 if (pol_element->element.PolicySigned.keyPublic.type) { in ifapi_policyeval_instantiate_finish()
186 &pol_element->element.PolicySigned.keyPublic, in ifapi_policyeval_instantiate_finish()
200 &pol_element->element.PolicySigned.keyPublic, in ifapi_policyeval_instantiate_finish()
330 if (pol_element->element.PolicyAuthorize.keyPublic.type) { in ifapi_policyeval_instantiate_finish()
333 r = ifapi_get_name(&pol_element->element.PolicyAuthorize.keyPublic, in ifapi_policyeval_instantiate_finish()
344 &pol_element->element.PolicyAuthorize.keyPublic, in ifapi_policyeval_instantiate_finish()
358 &pol_element->element.PolicyAuthorize.keyPublic, in ifapi_policyeval_instantiate_finish()
[all …]
Difapi_policy_types.h44 TPMT_PUBLIC keyPublic; /**< None */ member
143 TPMT_PUBLIC keyPublic; /**< None */ member
Difapi_policy_instantiate.h44 TPMT_PUBLIC *keyPublic,
Difapi_policy_execute.c432 tpm_public.publicArea = policy->keyPublic; in execute_policy_signed()
450 r = ifapi_der_sig_to_tpm(&policy->keyPublic, signature_ossl, in execute_policy_signed()
459 inPublic.publicArea = policy->keyPublic; in execute_policy_signed()
578 r = cb->cbauthpol(&policy->keyPublic, hash_alg, &policy->approvedPolicy, in execute_policy_authorize()
584 public2b.publicArea = policy->keyPublic; in execute_policy_authorize()
Difapi_policy_json_deserialize.c202 memset(&out->keyPublic, 0, sizeof(TPMT_PUBLIC)); in ifapi_json_TPMS_POLICYSIGNED_deserialize()
205 r = ifapi_json_TPMT_PUBLIC_deserialize(jso2, &out->keyPublic); in ifapi_json_TPMS_POLICYSIGNED_deserialize()
715 memset(&out->keyPublic, 0, sizeof(TPMT_PUBLIC)); in ifapi_json_TPMS_POLICYAUTHORIZE_deserialize()
718 r = ifapi_json_TPMT_PUBLIC_deserialize(jso2, &out->keyPublic); in ifapi_json_TPMS_POLICYAUTHORIZE_deserialize()
Difapi_policy_json_serialize.c155 if (in->keyPublic.type != 0) { in ifapi_json_TPMS_POLICYSIGNED_serialize()
158 r = ifapi_json_TPMT_PUBLIC_serialize(&in->keyPublic, &jso2); in ifapi_json_TPMS_POLICYSIGNED_serialize()
667 if (in->keyPublic.type != 0) { in ifapi_json_TPMS_POLICYAUTHORIZE_serialize()
670 r = ifapi_json_TPMT_PUBLIC_serialize(&in->keyPublic, &jso2); in ifapi_json_TPMS_POLICYAUTHORIZE_serialize()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Asymmetric/
DECDH_KeyGen.c67 TPMT_PUBLIC *keyPublic = &eccKey->publicArea; in TPM2_ECDH_KeyGen() local
70 keyPublic->parameters.eccDetail.curveID); in TPM2_ECDH_KeyGen()
75 keyPublic->parameters.eccDetail.curveID, in TPM2_ECDH_KeyGen()
76 &keyPublic->unique.ecc, in TPM2_ECDH_KeyGen()
/external/tpm2-tss/test/integration/
Desys-duplicate.int.c71 TPM2B_PUBLIC *keyPublic = NULL; in test_esys_duplicate() local
331 &keyPublic, in test_esys_duplicate()
448 Esys_Free(keyPublic); in test_esys_duplicate()
500 Esys_Free(keyPublic); in test_esys_duplicate()
Desys-import.int.c72 TPM2B_PUBLIC *keyPublic = NULL; in test_esys_import() local
328 &keyPublic, in test_esys_import()
332 Esys_Free(keyPublic); in test_esys_import()
512 Esys_Free(keyPublic); in test_esys_import()