Home
last modified time | relevance | path

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

/external/tpm2/
DPolicyNameHash.c38 if(in->nameHash.t.size != CryptGetHashDigestSize(session->authHashAlg)) in TPM2_PolicyNameHash()
46 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyNameHash()
DPolicyCpHash.c41 if(in->cpHashA.t.size != CryptGetHashDigestSize(session->authHashAlg)) in TPM2_PolicyCpHash()
49 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyCpHash()
DPolicyDuplicationSelect.c42 session->u1.cpHash.t.size = CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyDuplicationSelect()
57 = CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyDuplicationSelect()
DPolicyPCR.c44 PCRComputeCurrentDigest(session->authHashAlg, &in->pcrs, &pcrDigest); in TPM2_PolicyPCR()
65 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyPCR()
DPolicy_spt.c91 policyDigestSize = CryptStartHash(session->authHashAlg, &hashState); in PolicyContextUpdate()
104 CryptStartHash(session->authHashAlg, &hashState); in PolicyContextUpdate()
DSessionProcess.c642 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()
DPolicyCounterTimer.c147 argHash.t.size = CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyCounterTimer()
159 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyCounterTimer()
DSession.c347 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()
DPolicyNV.c154 argHash.t.size = CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyNV()
170 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyNV()
DPolicyPhysicalPresence.c27 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyPhysicalPresence()
DPolicyPassword.c28 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyPassword()
DPolicyAuthValue.c28 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyAuthValue()
DPolicyCommandCode.c39 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyCommandCode()
DPolicyNvWritten.c50 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyNvWritten()
DPolicyOR.c44 session->u2.policyDigest.t.size = CryptStartHash(session->authHashAlg, in TPM2_PolicyOR()
DPolicyLocality.c90 CryptStartHash(session->authHashAlg, &hashState); in TPM2_PolicyLocality()
DGlobal.h317 TPM_ALG_ID authHashAlg; // session hash algorithm member
DCryptUtil.c2695 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()
Dpart3.txt11483 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 …]
Dpart4.txt1902 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/
Draw_commands.txt20580 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 …]
Draw_commands_fixed.txt20591 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 …]