Lines Matching refs:tool
307 TrustyAcvpTool* tool = new TrustyAcvpTool(chan); in AcvpOnConnect() local
308 *ctx_p = reinterpret_cast<void*>(tool); in AcvpOnConnect()
312 static bool RewriteConfig(TrustyAcvpTool& tool, in RewriteConfig() argument
334 return tool.WriteReply({bssl::Span<uint8_t>( in RewriteConfig()
375 TrustyAcvpTool* tool = reinterpret_cast<TrustyAcvpTool*>(ctx); in AcvpOnMessage() local
391 if (!tool->MapShm(shared_mem, request->buffer_size)) { in AcvpOnMessage()
405 end > tool->arg_buffer_size()) { in AcvpOnMessage()
409 args[i] = bssl::Span<const uint8_t>(tool->arg_buffer() + cur_offset, in AcvpOnMessage()
433 callback = [tool](auto spans) { in AcvpOnMessage()
434 return RewriteConfig(*tool, spans); in AcvpOnMessage()
437 callback = [tool](auto spans) { return tool->WriteReply(spans); }; in AcvpOnMessage()
451 tool->MessageCleanup(); in AcvpOnMessage()
457 TrustyAcvpTool* tool = reinterpret_cast<TrustyAcvpTool*>(ctx); in AcvpOnChannelCleanup() local
458 delete tool; in AcvpOnChannelCleanup()