/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/EA/ |
D | Policy_spt.c | 113 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()
|
D | PolicyNameHash.c | 64 if(in->nameHash.t.size != CryptHashGetDigestSize(session->authHashAlg)) in TPM2_PolicyNameHash() 79 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyNameHash()
|
D | PolicyCpHash.c | 66 if(in->cpHashA.t.size != CryptHashGetDigestSize(session->authHashAlg)) in TPM2_PolicyCpHash() 82 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyCpHash()
|
D | PolicyTemplate.c | 74 if(in->templateHash.t.size != CryptHashGetDigestSize(session->authHashAlg)) in TPM2_PolicyTemplate() 82 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyTemplate()
|
D | PolicyDuplicationSelect.c | 72 session->u1.cpHash.t.size = CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyDuplicationSelect() 87 = CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyDuplicationSelect()
|
D | PolicyPCR.c | 67 PCRComputeCurrentDigest(session->authHashAlg, &in->pcrs, &pcrDigest); in TPM2_PolicyPCR() 97 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyPCR()
|
D | PolicyCounterTimer.c | 100 argHash.t.size = CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyCounterTimer() 112 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyCounterTimer()
|
D | PolicyNV.c | 107 argHash.t.size = CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyNV() 123 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyNV()
|
D | PolicyPhysicalPresence.c | 61 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyPhysicalPresence()
|
D | PolicyPassword.c | 63 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyPassword()
|
D | PolicyAuthValue.c | 63 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyAuthValue()
|
D | PolicyCommandCode.c | 70 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyCommandCode()
|
D | PolicyNvWritten.c | 78 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyNvWritten()
|
D | PolicyOR.c | 74 = CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyOR()
|
D | PolicyLocality.c | 115 CryptHashStart(&hashState, session->authHashAlg); in TPM2_PolicyLocality()
|
D | PolicyAuthorizeNV.c | 95 if(policyInNv.hashAlg != session->authHashAlg) in TPM2_PolicyAuthorizeNV()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/AttachedComponent/ |
D | Policy_AC_SendSelect.c | 68 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/ |
D | SessionProcess.c | 701 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/ |
D | Session.c | 503 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/ |
D | CryptUtil.c | 875 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/ |
D | Global.h | 343 TPM_ALG_ID authHashAlg; // session hash algorithm member
|