Home
last modified time | relevance | path

Searched refs:nameHash (Results 1 – 24 of 24) sorted by relevance

/external/tpm2-tss/src/tss2-sys/api/
DTss2_Sys_PolicyNameHash.c18 const TPM2B_DIGEST *nameHash) in Tss2_Sys_PolicyNameHash_Prepare() argument
36 if (!nameHash) { in Tss2_Sys_PolicyNameHash_Prepare()
43 rval = Tss2_MU_TPM2B_DIGEST_Marshal(nameHash, ctx->cmdBuffer, in Tss2_Sys_PolicyNameHash_Prepare()
73 const TPM2B_DIGEST *nameHash, in Tss2_Sys_PolicyNameHash() argument
79 rval = Tss2_Sys_PolicyNameHash_Prepare(sysContext, policySession, nameHash); in Tss2_Sys_PolicyNameHash()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/EA/
DPolicyNameHash.c64 if(in->nameHash.t.size != CryptHashGetDigestSize(session->authHashAlg)) in TPM2_PolicyNameHash()
88 CryptDigestUpdate2B(&hashState, &in->nameHash.b); in TPM2_PolicyNameHash()
94 session->u1.cpHash = in->nameHash; in TPM2_PolicyNameHash()
/external/tpm2-tss/src/tss2-esys/api/
DEsys_PolicyNameHash.c71 const TPM2B_DIGEST *nameHash) in Esys_PolicyNameHash() argument
76 shandle3, nameHash); in Esys_PolicyNameHash()
147 const TPM2B_DIGEST *nameHash) in Esys_PolicyNameHash_Async() argument
151 esysContext, policySession, nameHash); in Esys_PolicyNameHash_Async()
178 nameHash); in Esys_PolicyNameHash_Async()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DPolicyNameHash_fp.h48 TPM2B_DIGEST nameHash; member
/external/tpm2-tss/test/integration/
Desys-policy-regression.int.c331 TPM2B_DIGEST nameHash = { in test_esys_policy_regression() local
340 ESYS_TR_NONE, ESYS_TR_NONE, &nameHash); in test_esys_policy_regression()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/main/
DSessionProcess.c716 TPM2B_DIGEST nameHash; in CompareNameHash() local
720 nameHash.t.size = CryptHashStart(&hashState, session->authHashAlg); in CompareNameHash()
726 CryptHashEnd2B(&hashState, &nameHash.b); in CompareNameHash()
728 return MemoryEqual(session->u1.nameHash.t.buffer, nameHash.t.buffer, in CompareNameHash()
729 nameHash.t.size); in CompareNameHash()
/external/tpm2-tss/src/tss2-fapi/
Difapi_policy_types.h111 …TPM2B_DIGEST nameHash; /**< computed during policy calculation … member
Difapi_policy_calculate.c869 (uint8_t *) &policy->nameHash.buffer[0], in ifapi_calculate_policy_name_hash()
873 policy->nameHash.size = hash_size; in ifapi_calculate_policy_name_hash()
877 r = ifapi_calculate_policy_digest_hash(&policy->nameHash, in ifapi_calculate_policy_name_hash()
Difapi_policy_json_serialize.c501 if (in->nameHash.size) { in ifapi_json_TPMS_POLICYNAMEHASH_serialize()
504 r = ifapi_json_TPM2B_DIGEST_serialize(&in->nameHash, &jso2); in ifapi_json_TPMS_POLICYNAMEHASH_serialize()
Difapi_policy_json_deserialize.c536 r = ifapi_json_TPM2B_DIGEST_deserialize(jso2, &out->nameHash); in ifapi_json_TPMS_POLICYNAMEHASH_deserialize()
Difapi_policy_execute.c1121 &policy->nameHash); in execute_policy_name_hash()
/external/auto/value/src/main/java/com/google/auto/value/processor/
Dautoannotation.vm287 + ($m.nameHash ^ #memberHashCodeExpression($m))
288 // $m.nameHash is 127 * "${m}".hashCode()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DGlobal.h357 TPM2B_DIGEST nameHash; // the required nameHash member
DCommandDispatcher.h1376 result = TPM2B_DIGEST_Unmarshal(&in->nameHash, paramBuffer, paramBufferSize);
DCommandDispatchData.h3094 /* offsets */ {(UINT16)(offsetof(PolicyNameHash_In, nameHash))},
/external/tpm2-tss/include/tss2/
Dtss2_sys.h1375 const TPM2B_DIGEST *nameHash);
1384 const TPM2B_DIGEST *nameHash,
Dtss2_esys.h2043 const TPM2B_DIGEST *nameHash);
2052 const TPM2B_DIGEST *nameHash);
/external/tpm2-tss/test/unit/
Desys-tcti-rcs.c1737 TPM2B_DIGEST nameHash = DUMMY_2B_DATA(.buffer); in test_PolicyNameHash() local
1742 ESYS_TR_NONE, &nameHash); in test_PolicyNameHash()
Desys-tpm-rcs.c1717 TPM2B_DIGEST nameHash = DUMMY_2B_DATA(.buffer); in test_PolicyNameHash() local
1722 ESYS_TR_NONE, &nameHash); in test_PolicyNameHash()
Desys-resubmissions.c1869 TPM2B_DIGEST nameHash = DUMMY_2B_DATA(.buffer); in test_PolicyNameHash() local
1874 ESYS_TR_NONE, &nameHash); in test_PolicyNameHash()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_node.cpp4052 uint32_t nameHash = FX_HashCode_GetW(wsName, false); in SetSelectedMember() local
4055 if (pNode->GetNameHash() == nameHash) { in SetSelectedMember()
/external/angle/src/compiler/translator/
DSymbolTable_ESSL_autogen.cpp26749 uint16_t GetNextRuleIndex(uint32_t nameHash) in GetNextRuleIndex() argument
26751 if (nameHash == 1625 - 1) in GetNextRuleIndex()
26753 return BuiltInArray::kMangledOffsets[nameHash + 1]; in GetNextRuleIndex()
26762 uint32_t nameHash = name.mangledNameHash(); in findBuiltIn() local
26763 if (nameHash >= 1625) in findBuiltIn()
26766 const char *actualName = BuiltInArray::kMangledNames[nameHash]; in findBuiltIn()
26770 uint16_t startIndex = BuiltInArray::kMangledOffsets[nameHash]; in findBuiltIn()
26771 uint16_t nextIndex = GetNextRuleIndex(nameHash); in findBuiltIn()
26784 uint32_t nameHash = name.unmangledNameHash(); in isUnmangledBuiltInName() local
26785 if (nameHash >= 166) in isUnmangledBuiltInName()
[all …]
DSymbolTable_autogen.cpp40700 uint16_t GetNextRuleIndex(uint32_t nameHash) in GetNextRuleIndex() argument
40702 if (nameHash == 2180 - 1) in GetNextRuleIndex()
40704 return BuiltInArray::kMangledOffsets[nameHash + 1]; in GetNextRuleIndex()
40713 uint32_t nameHash = name.mangledNameHash(); in findBuiltIn() local
40714 if (nameHash >= 2180) in findBuiltIn()
40717 const char *actualName = BuiltInArray::kMangledNames[nameHash]; in findBuiltIn()
40721 uint16_t startIndex = BuiltInArray::kMangledOffsets[nameHash]; in findBuiltIn()
40722 uint16_t nextIndex = GetNextRuleIndex(nameHash); in findBuiltIn()
40735 uint32_t nameHash = name.unmangledNameHash(); in isUnmangledBuiltInName() local
40736 if (nameHash >= 210) in isUnmangledBuiltInName()
[all …]
/external/tpm2-tss/doc/
Ddoxygen.dox697 …policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *nameHash)
698 … policySession, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *nameHash)