Home
last modified time | relevance | path

Searched refs:authHashAlg (Results 1 – 21 of 21) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/EA/
DPolicy_spt.c113 CryptHashStart(&hashState, session->authHashAlg); in PolicyContextUpdate()
118 == CryptHashGetDigestSize(session->authHashAlg)); in PolicyContextUpdate()
138 CryptHashStart(&hashState, session->authHashAlg); in PolicyContextUpdate()
212 session->u2.policyDigest.t.size = CryptHashGetDigestSize(session->authHashAlg); in PolicyDigestClear()
DPolicyNameHash.c64 if(in->nameHash.t.size != CryptHashGetDigestSize(session->authHashAlg)) in TPM2_PolicyNameHash()
79 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyNameHash()
DPolicyCpHash.c66 if(in->cpHashA.t.size != CryptHashGetDigestSize(session->authHashAlg)) in TPM2_PolicyCpHash()
82 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyCpHash()
DPolicyTemplate.c74 if(in->templateHash.t.size != CryptHashGetDigestSize(session->authHashAlg)) in TPM2_PolicyTemplate()
82 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyTemplate()
DPolicyDuplicationSelect.c72 session->u1.cpHash.t.size = CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyDuplicationSelect()
87 = CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyDuplicationSelect()
DPolicyPCR.c67 PCRComputeCurrentDigest(session->authHashAlg, &in->pcrs, &pcrDigest); in TPM2_PolicyPCR()
97 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyPCR()
DPolicyCounterTimer.c100 argHash.t.size = CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyCounterTimer()
112 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyCounterTimer()
DPolicyNV.c107 argHash.t.size = CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyNV()
123 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyNV()
DPolicyPhysicalPresence.c61 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyPhysicalPresence()
DPolicyPassword.c63 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyPassword()
DPolicyAuthValue.c63 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyAuthValue()
DPolicyCommandCode.c70 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyCommandCode()
DPolicyNvWritten.c78 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyNvWritten()
DPolicyOR.c74 = CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyOR()
DPolicyLocality.c115 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyLocality()
DPolicyAuthorizeNV.c95 if(policyInNv.hashAlg != session->authHashAlg) in TPM2_PolicyAuthorizeNV()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/AttachedComponent/
DPolicy_AC_SendSelect.c68 session->u1.cpHash.t.size = CryptHashStart(&hashState, session->authHashAlg); in TPM2_Policy_AC_SendSelect()
86 = CryptHashStart(&hashState, session->authHashAlg); in TPM2_Policy_AC_SendSelect()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/main/
DSessionProcess.c701 tHash.t.size = CryptHashBlock(session->authHashAlg, size, pBuffer, in CompareTemplateHash()
720 nameHash.t.size = CryptHashStart(&hashState, session->authHashAlg); in CompareNameHash()
890 hmac->t.size = CryptHmacStart2B(&hmacState, session->authHashAlg, &key.b); in ComputeCommandHMAC()
894 &ComputeCpHash(command, session->authHashAlg)->b); in ComputeCommandHMAC()
1006 if(policyAlg != session->authHashAlg) in CheckPolicyAuthSession()
1082 &ComputeCpHash(command, session->authHashAlg)->b); in CheckPolicyAuthSession()
1609 ComputeCpHash(command, session->authHashAlg); in ParseSessionBuffer()
1769 session->u2.auditDigest.t.size = CryptHashGetDigestSize(session->authHashAlg); in InitAuditSession()
1815 UpdateAuditDigest(command, auditSession->authHashAlg, in Audit()
1974 TPM2B_DIGEST *rpHash = ComputeRpHash(command, session->authHashAlg); in ComputeResponseHMAC()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DSession.c503 session->authHashAlg = authHash; in SessionCreate()
524 CryptHashGetDigestSize(session->authHashAlg); in SessionCreate()
547 session->sessionKey.t.size = CryptHashGetDigestSize(session->authHashAlg); in SessionCreate()
557 CryptKDFa(session->authHashAlg, &key.b, SESSION_KEY, &session->nonceTPM.b, in SessionCreate()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptUtil.c875 CryptXORObfuscation(session->authHashAlg, &(key.b), in CryptParameterEncryption()
879 ParmEncryptSym(session->symmetric.algorithm, session->authHashAlg, in CryptParameterEncryption()
942 CryptXORObfuscation(session->authHashAlg, &key.b, nonceCaller, in CryptParameterDecryption()
946 ParmDecryptSym(session->symmetric.algorithm, session->authHashAlg, in CryptParameterDecryption()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DGlobal.h343 TPM_ALG_ID authHashAlg; // session hash algorithm member