Home
last modified time | relevance | path

Searched refs:CryptGetHashDigestSize (Results 1 – 25 of 34) sorted by relevance

12

/external/tpm2/
DObject_spt.c173 hmacKey.t.size = CryptGetHashDigestSize(hashAlg); in ComputeOuterIntegrity()
239 integritySize = sizeof(UINT16) + CryptGetHashDigestSize(hashAlg); in ProduceInnerIntegrity()
539 != CryptGetHashDigestSize(publicArea->nameAlg) in PublicAttributesValidation()
728 integritySize = sizeof(UINT16) + CryptGetHashDigestSize(hashAlg); in ProduceOuterWrap()
890 integritySize = sizeof(UINT16) + CryptGetHashDigestSize(hashAlg); in SensitiveToPrivate()
976 integritySize = sizeof(UINT16) + CryptGetHashDigestSize(hashAlg); in PrivateToSensitive()
1064 sensitiveData += sizeof(UINT16) + CryptGetHashDigestSize(innerHash); in SensitiveToDuplicate()
1073 sensitiveData += sizeof(UINT16) + CryptGetHashDigestSize(outerHash); in SensitiveToDuplicate()
1094 innerBuffer += sizeof(UINT16) + CryptGetHashDigestSize(outerHash); in SensitiveToDuplicate()
1190 sensitiveData += sizeof(UINT16) + CryptGetHashDigestSize(outerHash); in DuplicateToSensitive()
[all …]
DEventSequenceComplete.c73 CryptGetHashDigestSize(hashAlg), in TPM2_EventSequenceComplete()
79 CryptGetHashDigestSize(hashAlg), in TPM2_EventSequenceComplete()
DPCR.c494 UINT16 pcrSize = CryptGetHashDigestSize(hash); in PCRStartup()
564 = CryptGetHashDigestSize(gp.pcrAllocated.pcrSelections[j].hash); in PCRStateSave()
707 pcrSize = CryptGetHashDigestSize(hash); in PCRExtend()
750 pcrSize = CryptGetHashDigestSize(selection->pcrSelections[i].hash); in PCRComputeCurrentDigest()
816 CryptGetHashDigestSize(selection->pcrSelections[i].hash); in PCRRead()
929 = CryptGetHashDigestSize(newAllocate.pcrSelections[i].hash); in PCRAllocate()
999 digestSize = CryptGetHashDigestSize(hash); in PCRSetValue()
1034 CryptGetHashDigestSize(gp.pcrAllocated.pcrSelections[i].hash); in PCRResetDynamics()
DSequenceComplete.c50 = CryptGetHashDigestSize( in TPM2_SequenceComplete()
94 CryptGetHashDigestSize( in TPM2_SequenceComplete()
DRewrap.c74 CryptGetHashDigestSize(oldParent->publicArea.nameAlg); in TPM2_Rewrap()
105 CryptGetHashDigestSize(newParent->publicArea.nameAlg); in TPM2_Rewrap()
DNV_ChangeAuth.c39 if(in->newAuth.t.size > CryptGetHashDigestSize(nvIndex.publicArea.nameAlg)) in TPM2_NV_ChangeAuth()
DPCR_SetAuthPolicy.c35 if(in->authPolicy.t.size != CryptGetHashDigestSize(in->hashAlg)) in TPM2_PCR_SetAuthPolicy()
DPCR_Extend.c58 CryptGetHashDigestSize(in->digests.digests[i].hashAlg), in TPM2_PCR_Extend()
DHierarchyChangeAuth.c35 > CryptGetHashDigestSize(CONTEXT_INTEGRITY_HASH_ALG)) in TPM2_HierarchyChangeAuth()
D_TPM_Hash_End.c62 digest.t.size = CryptGetHashDigestSize(hash); in _TPM_Hash_End()
DPropertyCap.c203 CryptGetHashDigestSize(CONTEXT_INTEGRITY_HASH_ALG); in TPMPropertyIsDefined()
220 CryptGetHashDigestSize(CONTEXT_INTEGRITY_HASH_ALG); in TPMPropertyIsDefined()
DPolicyNameHash.c38 if(in->nameHash.t.size != CryptGetHashDigestSize(session->authHashAlg)) in TPM2_PolicyNameHash()
DMakeCredential.c46 if(in->credential.t.size > CryptGetHashDigestSize(object->publicArea.nameAlg)) in TPM2_MakeCredential()
DObjectChangeAuth.c43 > CryptGetHashDigestSize(object->publicArea.nameAlg)) in TPM2_ObjectChangeAuth()
DPolicyCpHash.c41 if(in->cpHashA.t.size != CryptGetHashDigestSize(session->authHashAlg)) in TPM2_PolicyCpHash()
DSetPrimaryPolicy.c27 if(in->authPolicy.t.size != CryptGetHashDigestSize(in->hashAlg)) in TPM2_SetPrimaryPolicy()
DSign.c67 != CryptGetHashDigestSize(in->inScheme.details.any.hashAlg)) in TPM2_Sign()
DPolicyAuthorize.c42 digestSize = CryptGetHashDigestSize(hashAlg); in TPM2_PolicyAuthorize()
DCryptUtil.c572 CryptGetHashDigestSize( in CryptGetHashDigestSize() function
731 sensitive->sensitive.sym.t.size = CryptGetHashDigestSize(hashAlg); in CryptGenerateKeyedHash()
1879 sensitive->seedValue.t.size = CryptGetHashDigestSize(hashAlg); in CryptGenerateNewSymmetric()
1992 UINT16 hLen = CryptGetHashDigestSize(hash); in CryptXORObfuscation()
2394 data->t.size = CryptGetHashDigestSize(encryptKey->publicArea.nameAlg); in CryptSecretEncrypt()
2532 > CryptGetHashDigestSize(decryptKey->publicArea.nameAlg))) in CryptSecretDecrypt()
2557 CryptGetHashDigestSize(decryptKey->publicArea.nameAlg); in CryptSecretDecrypt()
2583 CryptGetHashDigestSize(decryptKey->publicArea.nameAlg)) in CryptSecretDecrypt()
2613 CryptGetHashDigestSize(decryptKey->publicArea.nameAlg)) in CryptSecretDecrypt()
2791 unique->t.size = CryptGetHashDigestSize(nameAlg); in CryptComputeSymmetricUnique()
[all …]
DNV_Extend.c63 oldDigest.t.size = CryptGetHashDigestSize(nvIndex.publicArea.nameAlg); in TPM2_NV_Extend()
DCreatePrimary.c63 > CryptGetHashDigestSize(in->inPublic.t.publicArea.nameAlg)) in TPM2_CreatePrimary()
DLoadExternal.c50 CryptGetHashDigestSize(in->inPublic.t.publicArea.nameAlg)) in TPM2_LoadExternal()
DCreate.c87 > CryptGetHashDigestSize(in->inPublic.t.publicArea.nameAlg)) in TPM2_Create()
DStartAuthSession.c45 || in->nonceCaller.t.size > CryptGetHashDigestSize(in->authHash)) in TPM2_StartAuthSession()
DCryptUtil_fp.h117 CryptGetHashDigestSize(TPM_ALG_ID hashAlg // IN: hash algorithm
157 CryptGetHashDigestSize(TPM_ALG_ID hashAlg // IN: hash algorithm

12