Home
last modified time | relevance | path

Searched refs:mTpm2HashMask (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/Library/HashLibBaseCryptoRouter/
DHashLibBaseCryptoRouterCommon.c29 TPM2_HASH_MASK mTpm2HashMask[] = { variable
50 for (Index = 0; Index < sizeof(mTpm2HashMask)/sizeof(mTpm2HashMask[0]); Index++) { in Tpm2GetHashMaskFromAlgo()
51 if (CompareGuid (HashGuid, &mTpm2HashMask[Index].Guid)) { in Tpm2GetHashMaskFromAlgo()
52 return mTpm2HashMask[Index].Mask; in Tpm2GetHashMaskFromAlgo()
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashLibTpm2/
DHashLibTpm2.c30 TPM2_HASH_MASK mTpm2HashMask[] = { variable
51 for (Index = 0; Index < sizeof(mTpm2HashMask)/sizeof(mTpm2HashMask[0]); Index++) { in Tpm2GetAlgoFromHashMask()
52 if (mTpm2HashMask[Index].Mask == HashMask) { in Tpm2GetAlgoFromHashMask()
53 return mTpm2HashMask[Index].AlgoId; in Tpm2GetAlgoFromHashMask()