/external/tpm2/ |
D | PolicyNameHash.c | 38 if(in->nameHash.t.size != CryptGetHashDigestSize(session->authHashAlg)) in TPM2_PolicyNameHash() 46 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyNameHash()
|
D | PolicyCpHash.c | 41 if(in->cpHashA.t.size != CryptGetHashDigestSize(session->authHashAlg)) in TPM2_PolicyCpHash() 49 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyCpHash()
|
D | PolicyDuplicationSelect.c | 42 session->u1.cpHash.t.size = CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyDuplicationSelect() 57 = CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyDuplicationSelect()
|
D | PolicyPCR.c | 44 PCRComputeCurrentDigest(session->authHashAlg, &in->pcrs, &pcrDigest); in TPM2_PolicyPCR() 65 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyPCR()
|
D | Policy_spt.c | 91 policyDigestSize = CryptStartHash(session->authHashAlg, &hashState); in PolicyContextUpdate() 104 CryptStartHash(session->authHashAlg, &hashState); in PolicyContextUpdate()
|
D | SessionProcess.c | 642 hmac->t.size = CryptStartHMAC2B(session->authHashAlg, &key.b, &hmacState); in ComputeCommandHMAC() 758 if(policyAlg != session->authHashAlg) in CheckPolicyAuthSession() 1322 if(cpHashAlg != session->authHashAlg) // different so compute in ParseSessionBuffer() 1324 cpHashAlg = session->authHashAlg; // save this new algID in ParseSessionBuffer() 1325 ComputeCpHash(session->authHashAlg, commandCode, handleNum, in ParseSessionBuffer() 1492 session->u2.auditDigest.t.size = CryptGetHashDigestSize(session->authHashAlg); in InitAuditSession() 1516 ComputeRpHash(auditSession->authHashAlg, in Audit() 1523 CryptStartHash(auditSession->authHashAlg, &hashState); in Audit() 1693 ComputeRpHash(session->authHashAlg, commandCode, resParmBufferSize, in ComputeResponseHMAC() 1721 hmac->t.size = CryptStartHMAC2B(session->authHashAlg, &key.b, &hmacState); in ComputeResponseHMAC()
|
D | PolicyCounterTimer.c | 147 argHash.t.size = CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyCounterTimer() 159 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyCounterTimer()
|
D | Session.c | 347 session->authHashAlg = authHash; in SessionCreate() 383 hashSize = CryptGetHashDigestSize(session->authHashAlg); in SessionCreate() 392 KDFa(session->authHashAlg, &key.b, "ATH", &session->nonceTPM.b, in SessionCreate() 649 session->u2.policyDigest.t.size = CryptGetHashDigestSize(session->authHashAlg); in SessionInitPolicyData()
|
D | PolicyNV.c | 154 argHash.t.size = CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyNV() 170 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyNV()
|
D | PolicyPhysicalPresence.c | 27 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyPhysicalPresence()
|
D | PolicyPassword.c | 28 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyPassword()
|
D | PolicyAuthValue.c | 28 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyAuthValue()
|
D | PolicyCommandCode.c | 39 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyCommandCode()
|
D | PolicyNvWritten.c | 50 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyNvWritten()
|
D | PolicyOR.c | 44 session->u2.policyDigest.t.size = CryptStartHash(session->authHashAlg, in TPM2_PolicyOR()
|
D | PolicyLocality.c | 90 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyLocality()
|
D | Global.h | 317 TPM_ALG_ID authHashAlg; // session hash algorithm member
|
D | CryptUtil.c | 2695 CryptXORObfuscation(session->authHashAlg, &(key.b), in CryptParameterEncryption() 2699 ParmEncryptSym(session->symmetric.algorithm, session->authHashAlg, in CryptParameterEncryption() 2765 CryptXORObfuscation(session->authHashAlg, &key.b, nonceCaller, in CryptParameterDecryption() 2769 ParmDecryptSym(session->symmetric.algorithm, session->authHashAlg, in CryptParameterDecryption()
|
D | part3.txt | 11483 31 session->u2.policyDigest.t.size = CryptStartHash(session->authHashAlg, 11676 30 PCRComputeCurrentDigest(session->authHashAlg, &in->pcrs, &pcrDigest); 11697 51 CryptStartHash(session->authHashAlg, &hashState); 11890 73 CryptStartHash(session->authHashAlg, &hashState); 12171 137 argHash.t.size = CryptStartHash(session->authHashAlg, &hashState); 12187 153 CryptStartHash(session->authHashAlg, &hashState); 12453 133 argHash.t.size = CryptStartHash(session->authHashAlg, &hashState); 12465 145 CryptStartHash(session->authHashAlg, &hashState); 12592 27 CryptStartHash(session->authHashAlg, &hashState); 12695 21 CryptStartHash(session->authHashAlg, &hashState); [all …]
|
D | part4.txt | 1902 180 TPM_ALG_ID authHashAlg; // session hash algorithm 4447 552 hmac->t.size = CryptStartHMAC2B(session->authHashAlg, &key.b, &hmacState); 4588 642 if(policyAlg != session->authHashAlg) 5262 1192 if(cpHashAlg != session->authHashAlg) // different so compute 5264 1194 cpHashAlg = session->authHashAlg; // save this new algID 5265 1195 ComputeCpHash(session->authHashAlg, commandCode, handleNum, 5463 1346 session->u2.auditDigest.t.size = CryptGetHashDigestSize(session->authHashAlg); 5490 1367 ComputeRpHash(auditSession->authHashAlg, 5504 1376 CryptStartHash(auditSession->authHashAlg, &hashState); 5712 1544 ComputeRpHash(session->authHashAlg, commandCode, resParmBufferSize, [all …]
|
/external/tpm2/generator/ |
D | raw_commands.txt | 20580 session->u2.policyDigest.t.size = CryptStartHash(session->authHashAlg, 20893 PCRComputeCurrentDigest(session->authHashAlg, &in->pcrs, &pcrDigest); 20914 CryptStartHash(session->authHashAlg, &hashState); 21290 CryptStartHash(session->authHashAlg, &hashState); 21897 argHash.t.size = CryptStartHash(session->authHashAlg, &hashState); 21908 CryptStartHash(session->authHashAlg, &hashState); 22453 argHash.t.size = CryptStartHash(session->authHashAlg, &hashState); 22464 CryptStartHash(session->authHashAlg, &hashState); 22706 CryptStartHash(session->authHashAlg, &hashState); 22891 CryptStartHash(session->authHashAlg, &hashState); [all …]
|
D | raw_commands_fixed.txt | 20591 session->u2.policyDigest.t.size = CryptStartHash(session->authHashAlg, 20904 PCRComputeCurrentDigest(session->authHashAlg, &in->pcrs, &pcrDigest); 20925 CryptStartHash(session->authHashAlg, &hashState); 21301 CryptStartHash(session->authHashAlg, &hashState); 21908 argHash.t.size = CryptStartHash(session->authHashAlg, &hashState); 21919 CryptStartHash(session->authHashAlg, &hashState); 22464 argHash.t.size = CryptStartHash(session->authHashAlg, &hashState); 22475 CryptStartHash(session->authHashAlg, &hashState); 22717 CryptStartHash(session->authHashAlg, &hashState); 22902 CryptStartHash(session->authHashAlg, &hashState); [all …]
|