Lines Matching refs:response_info
162 MessageInfo response_info; in SendCommandAndWait() local
166 result = ParseResponse(command_info, response, &response_info); in SendCommandAndWait()
170 if (!FixWarnings(command_info, response_info.code)) { in SendCommandAndWait()
175 if (response_info.code == TPM_RC_SUCCESS) { in SendCommandAndWait()
176 if (response_info.session_continued.size() != in SendCommandAndWait()
182 if (i < response_info.session_continued.size() && in SendCommandAndWait()
183 !response_info.session_continued[i]) { in SendCommandAndWait()
190 ProcessExternalContextSave(command_info, response_info); in SendCommandAndWait()
195 for (auto handle : response_info.handles) { in SendCommandAndWait()
581 MessageInfo* response_info) { in ParseResponse() argument
582 CHECK(response_info); in ParseResponse()
592 response_info->has_sessions = (tag == TPM_ST_SESSIONS); in ParseResponse()
603 result = Parse_TPM_RC(&buffer, &response_info->code, nullptr); in ParseResponse()
609 response_info->handles = ExtractHandlesFromBuffer(number_of_handles, &buffer); in ParseResponse()
610 if (number_of_handles != response_info->handles.size()) { in ParseResponse()
613 if (response_info->has_sessions) { in ParseResponse()
624 response_info->parameter_data = buffer.substr(0, parameter_size); in ParseResponse()
643 response_info->session_continued.push_back((attributes & 1) == 1); in ParseResponse()
647 response_info->parameter_data = buffer; in ParseResponse()
654 const MessageInfo& response_info) { in ProcessExternalContextSave() argument
667 std::string mutable_parameter = response_info.parameter_data; in ProcessExternalContextSave()
728 MessageInfo response_info; in ProcessFlushContext() local
729 TPM_RC result = ParseResponse(command_info, response, &response_info); in ProcessFlushContext()
734 if (response_info.code == TPM_RC_SUCCESS || in ProcessFlushContext()
735 response_info.code == TPM_RC_HANDLE) { in ProcessFlushContext()