Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/
DTpm2Hierarchy.c232 UINT32 CmdSize; in Tpm2Clear() local
251 CmdSize = (UINT32)(Buffer - (UINT8 *)&Cmd); in Tpm2Clear()
252 Cmd.Header.paramSize = SwapBytes32(CmdSize); in Tpm2Clear()
255 Status = Tpm2SubmitCommand (CmdSize, (UINT8 *)&Cmd, &ResultBufSize, (UINT8 *)&Res); in Tpm2Clear()
322 UINT32 CmdSize; in Tpm2ClearControl() local
345 CmdSize = (UINT32)(Buffer - (UINT8 *)&Cmd); in Tpm2ClearControl()
346 Cmd.Header.paramSize = SwapBytes32(CmdSize); in Tpm2ClearControl()
349 Status = Tpm2SubmitCommand (CmdSize, (UINT8 *)&Cmd, &ResultBufSize, (UINT8 *)&Res); in Tpm2ClearControl()
415 UINT32 CmdSize; in Tpm2HierarchyChangeAuth() local
448 CmdSize = (UINT32)(Buffer - (UINT8 *)&Cmd); in Tpm2HierarchyChangeAuth()
[all …]
DTpm2Sequences.c107 UINT32 CmdSize; in Tpm2HashSequenceStart() local
130 CmdSize = (UINT32)(Buffer - (UINT8 *)&Cmd); in Tpm2HashSequenceStart()
131 Cmd.Header.paramSize = SwapBytes32(CmdSize); in Tpm2HashSequenceStart()
137 Status = Tpm2SubmitCommand (CmdSize, (UINT8 *)&Cmd, &ResultBufSize, (UINT8 *)&Res); in Tpm2HashSequenceStart()
195 UINT32 CmdSize; in Tpm2SequenceUpdate() local
227 CmdSize = (UINT32)(BufferPtr - (UINT8 *)&Cmd); in Tpm2SequenceUpdate()
228 Cmd.Header.paramSize = SwapBytes32(CmdSize); in Tpm2SequenceUpdate()
234 Status = Tpm2SubmitCommand (CmdSize, (UINT8 *)&Cmd,&ResultBufSize, (UINT8 *)&Res); in Tpm2SequenceUpdate()
296 UINT32 CmdSize; in Tpm2EventSequenceComplete() local
336 CmdSize = (UINT32)(BufferPtr - (UINT8 *)&Cmd); in Tpm2EventSequenceComplete()
[all …]
DTpm2Integrity.c106 UINT32 CmdSize; in Tpm2PcrExtend() local
150 CmdSize = (UINT32)((UINTN)Buffer - (UINTN)&Cmd); in Tpm2PcrExtend()
151 Cmd.Header.paramSize = SwapBytes32(CmdSize); in Tpm2PcrExtend()
154 Status = Tpm2SubmitCommand (CmdSize, (UINT8 *)&Cmd, &ResultBufSize, (UINT8 *)&Res); in Tpm2PcrExtend()
216 UINT32 CmdSize; in Tpm2PcrEvent() local
245 CmdSize = (UINT32)((UINTN)Buffer - (UINTN)&Cmd); in Tpm2PcrEvent()
246 Cmd.Header.paramSize = SwapBytes32(CmdSize); in Tpm2PcrEvent()
249 Status = Tpm2SubmitCommand (CmdSize, (UINT8 *)&Cmd, &ResultBufSize, (UINT8 *)&Res); in Tpm2PcrEvent()
440 UINT32 CmdSize; in Tpm2PcrAllocate() local
478 CmdSize = (UINT32)(Buffer - (UINT8 *)&Cmd); in Tpm2PcrAllocate()
[all …]