Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/SecurityPkg/Library/HashLibBaseCryptoRouter/
DHashLibBaseCryptoRouterPei.c72 HASH_INTERFACE_HOB *HashInterfaceHob; in HashStart() local
77 HashInterfaceHob = InternalGetHashInterface (); in HashStart()
78 if (HashInterfaceHob == NULL) { in HashStart()
82 if (HashInterfaceHob->HashInterfaceCount == 0) { in HashStart()
86 HashCtx = AllocatePool (sizeof(*HashCtx) * HashInterfaceHob->HashInterfaceCount); in HashStart()
89 for (Index = 0; Index < HashInterfaceHob->HashInterfaceCount; Index++) { in HashStart()
90 HashMask = Tpm2GetHashMaskFromAlgo (&HashInterfaceHob->HashInterface[Index].HashGuid); in HashStart()
92 HashInterfaceHob->HashInterface[Index].HashInit (&HashCtx[Index]); in HashStart()
118 HASH_INTERFACE_HOB *HashInterfaceHob; in HashUpdate() local
123 HashInterfaceHob = InternalGetHashInterface (); in HashUpdate()
[all …]