Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/SecurityPkg/Library/HashLibBaseCryptoRouter/
DHashLibBaseCryptoRouterDxe.c42 OUT HASH_HANDLE *HashHandle in HashStart() argument
63 *HashHandle = (HASH_HANDLE)HashCtx; in HashStart()
80 IN HASH_HANDLE HashHandle, in HashUpdate() argument
93 HashCtx = (HASH_HANDLE *)HashHandle; in HashUpdate()
119 IN HASH_HANDLE HashHandle, in HashCompleteAndExtend() argument
136 HashCtx = (HASH_HANDLE *)HashHandle; in HashCompleteAndExtend()
176 HASH_HANDLE HashHandle; in HashAndExtend() local
183 HashStart (&HashHandle); in HashAndExtend()
184 HashUpdate (HashHandle, DataToHash, DataToHashLen); in HashAndExtend()
185 Status = HashCompleteAndExtend (HashHandle, PcrIndex, NULL, 0, DigestList); in HashAndExtend()
DHashLibBaseCryptoRouterPei.c69 OUT HASH_HANDLE *HashHandle in HashStart() argument
96 *HashHandle = (HASH_HANDLE)HashCtx; in HashStart()
113 IN HASH_HANDLE HashHandle, in HashUpdate() argument
132 HashCtx = (HASH_HANDLE *)HashHandle; in HashUpdate()
158 IN HASH_HANDLE HashHandle, in HashCompleteAndExtend() argument
181 HashCtx = (HASH_HANDLE *)HashHandle; in HashCompleteAndExtend()
222 HASH_HANDLE HashHandle; in HashAndExtend() local
234 HashStart (&HashHandle); in HashAndExtend()
235 HashUpdate (HashHandle, DataToHash, DataToHashLen); in HashAndExtend()
236 Status = HashCompleteAndExtend (HashHandle, PcrIndex, NULL, 0, DigestList); in HashAndExtend()
/device/linaro/bootloader/edk2/SecurityPkg/Include/Library/
DHashLib.h36 OUT HASH_HANDLE *HashHandle
51 IN HASH_HANDLE HashHandle,
70 IN HASH_HANDLE HashHandle,
107 OUT HASH_HANDLE *HashHandle
122 IN HASH_HANDLE HashHandle,
138 IN HASH_HANDLE HashHandle,
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashInstanceLibSha256/
DHashInstanceLibSha256.c57 OUT HASH_HANDLE *HashHandle in Sha256HashInit() argument
69 *HashHandle = (HASH_HANDLE)Sha256Ctx; in Sha256HashInit()
86 IN HASH_HANDLE HashHandle, in Sha256HashUpdate() argument
93 Sha256Ctx = (VOID *)HashHandle; in Sha256HashUpdate()
110 IN HASH_HANDLE HashHandle, in Sha256HashFinal() argument
117 Sha256Ctx = (VOID *)HashHandle; in Sha256HashFinal()
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashInstanceLibSha1/
DHashInstanceLibSha1.c57 OUT HASH_HANDLE *HashHandle in Sha1HashInit() argument
69 *HashHandle = (HASH_HANDLE)Sha1Ctx; in Sha1HashInit()
86 IN HASH_HANDLE HashHandle, in Sha1HashUpdate() argument
93 Sha1Ctx = (VOID *)HashHandle; in Sha1HashUpdate()
110 IN HASH_HANDLE HashHandle, in Sha1HashFinal() argument
117 Sha1Ctx = (VOID *)HashHandle; in Sha1HashFinal()
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashLibTpm2/
DHashLibTpm2.c71 OUT HASH_HANDLE *HashHandle in HashStart() argument
82 *HashHandle = (HASH_HANDLE)SequenceHandle; in HashStart()
99 IN HASH_HANDLE HashHandle, in HashUpdate() argument
116 Status = Tpm2SequenceUpdate((TPMI_DH_OBJECT)HashHandle, &HashBuffer); in HashUpdate()
127 Status = Tpm2SequenceUpdate((TPMI_DH_OBJECT)HashHandle, &HashBuffer); in HashUpdate()
149 IN HASH_HANDLE HashHandle, in HashCompleteAndExtend() argument
172 Status = Tpm2SequenceUpdate((TPMI_DH_OBJECT)HashHandle, &HashBuffer); in HashCompleteAndExtend()
190 (TPMI_DH_OBJECT)HashHandle, in HashCompleteAndExtend()
196 (TPMI_DH_OBJECT)HashHandle, in HashCompleteAndExtend()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/
DMeasureBootPeCoff.c123 HASH_HANDLE HashHandle; in MeasurePeImageAndExtend() local
126 HashHandle = 0xFFFFFFFF; // Know bad value in MeasurePeImageAndExtend()
175 Status = HashStart (&HashHandle); in MeasurePeImageAndExtend()
218 Status = HashUpdate (HashHandle, HashBase, HashSize); in MeasurePeImageAndExtend()
246 Status = HashUpdate (HashHandle, HashBase, HashSize); in MeasurePeImageAndExtend()
270 Status = HashUpdate (HashHandle, HashBase, HashSize); in MeasurePeImageAndExtend()
295 Status = HashUpdate (HashHandle, HashBase, HashSize); in MeasurePeImageAndExtend()
367 Status = HashUpdate (HashHandle, HashBase, HashSize); in MeasurePeImageAndExtend()
403 Status = HashUpdate (HashHandle, HashBase, HashSize); in MeasurePeImageAndExtend()
416 Status = HashCompleteAndExtend (HashHandle, PCRIndex, NULL, 0, DigestList); in MeasurePeImageAndExtend()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/
DMeasureBootPeCoff.c123 HASH_HANDLE HashHandle; in MeasurePeImageAndExtend() local
126 HashHandle = 0xFFFFFFFF; // Know bad value in MeasurePeImageAndExtend()
175 Status = HashStart (&HashHandle); in MeasurePeImageAndExtend()
218 Status = HashUpdate (HashHandle, HashBase, HashSize); in MeasurePeImageAndExtend()
246 Status = HashUpdate (HashHandle, HashBase, HashSize); in MeasurePeImageAndExtend()
270 Status = HashUpdate (HashHandle, HashBase, HashSize); in MeasurePeImageAndExtend()
295 Status = HashUpdate (HashHandle, HashBase, HashSize); in MeasurePeImageAndExtend()
367 Status = HashUpdate (HashHandle, HashBase, HashSize); in MeasurePeImageAndExtend()
403 Status = HashUpdate (HashHandle, HashBase, HashSize); in MeasurePeImageAndExtend()
416 Status = HashCompleteAndExtend (HashHandle, PCRIndex, NULL, 0, DigestList); in MeasurePeImageAndExtend()