Lines Matching refs:SendBuffer
73 TPM2_DICTIONARY_ATTACK_LOCK_RESET_COMMAND SendBuffer;
83 SendBuffer.Header.tag = SwapBytes16(TPM_ST_SESSIONS);
84 SendBuffer.Header.commandCode = SwapBytes32(TPM_CC_DictionaryAttackLockReset);
86 SendBuffer.LockHandle = SwapBytes32 (LockHandle);
91 Buffer = (UINT8 *)&SendBuffer.AuthSession;
96 SendBuffer.AuthSessionSize = SwapBytes32(SessionInfoSize);
98 SendBufferSize = (UINT32)((UINTN)Buffer - (UINTN)&SendBuffer);
99 SendBuffer.Header.paramSize = SwapBytes32 (SendBufferSize);
105 Status = Tpm2SubmitCommand (SendBufferSize, (UINT8 *)&SendBuffer, &RecvBufferSize, (UINT8 *)&RecvBuffer);
125 ZeroMem (&SendBuffer, sizeof(SendBuffer));
154 TPM2_DICTIONARY_ATTACK_PARAMETERS_COMMAND SendBuffer;
164 SendBuffer.Header.tag = SwapBytes16(TPM_ST_SESSIONS);
165 SendBuffer.Header.commandCode = SwapBytes32(TPM_CC_DictionaryAttackParameters);
167 SendBuffer.LockHandle = SwapBytes32 (LockHandle);
172 Buffer = (UINT8 *)&SendBuffer.AuthSession;
177 SendBuffer.AuthSessionSize = SwapBytes32(SessionInfoSize);
189 SendBufferSize = (UINT32)((UINTN)Buffer - (UINTN)&SendBuffer);
190 SendBuffer.Header.paramSize = SwapBytes32 (SendBufferSize);
196 Status = Tpm2SubmitCommand (SendBufferSize, (UINT8 *)&SendBuffer, &RecvBufferSize, (UINT8 *)&RecvBuffer);