Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/SecurityPkg/Library/HashLibBaseCryptoRouter/
DHashLibBaseCryptoRouterDxe.c28 HASH_INTERFACE mHashInterface[HASH_COUNT] = {{{0}, NULL, NULL, NULL}}; variable
57 HashMask = Tpm2GetHashMaskFromAlgo (&mHashInterface[Index].HashGuid); in HashStart()
59 mHashInterface[Index].HashInit (&HashCtx[Index]); in HashStart()
96 HashMask = Tpm2GetHashMaskFromAlgo (&mHashInterface[Index].HashGuid); in HashUpdate()
98 mHashInterface[Index].HashUpdate (HashCtx[Index], DataToHash, DataToHashLen); in HashUpdate()
140 HashMask = Tpm2GetHashMaskFromAlgo (&mHashInterface[Index].HashGuid); in HashCompleteAndExtend()
142 mHashInterface[Index].HashUpdate (HashCtx[Index], DataToHash, DataToHashLen); in HashCompleteAndExtend()
143 mHashInterface[Index].HashFinal (HashCtx[Index], &Digest); in HashCompleteAndExtend()
218 if (mHashInterfaceCount >= sizeof(mHashInterface)/sizeof(mHashInterface[0])) { in RegisterHashInterfaceLib()
229 if (CompareGuid (&mHashInterface[Index].HashGuid, &HashInterface->HashGuid)) { in RegisterHashInterfaceLib()
[all …]