Lines Matching refs:hte

29 RPC_CreateMaintenanceArchive_TP(struct host_table_entry *hte,
39 initData(&hte->comm, 3);
40 hte->comm.hdr.u.ordinal = TCSD_ORD_CREATEMAINTENANCEARCHIVE;
41 LogDebugFn("TCS Context: 0x%x", hte->tcsContext);
43 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
45 if (setData(TCSD_PACKET_TYPE_BOOL, 1, &generateRandom, 0, &hte->comm))
47 if (setData(TCSD_PACKET_TYPE_AUTH, 2, ownerAuth, 0, &hte->comm))
50 result = sendTCSDPacket(hte);
53 result = hte->comm.hdr.u.result;
56 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm))
58 if (getData(TCSD_PACKET_TYPE_UINT32, 1, randomSize, 0, &hte->comm))
69 if (getData(TCSD_PACKET_TYPE_PBYTE, 2, *random, *randomSize, &hte->comm)) {
79 if (getData(TCSD_PACKET_TYPE_UINT32, 3, archiveSize, 0, &hte->comm))
91 if (getData(TCSD_PACKET_TYPE_PBYTE, 4, *archive, *archiveSize, &hte->comm)) {
106 RPC_LoadMaintenanceArchive_TP(struct host_table_entry *hte,
115 initData(&hte->comm, 4);
116 hte->comm.hdr.u.ordinal = TCSD_ORD_LOADMAINTENANCEARCHIVE;
117 LogDebugFn("TCS Context: 0x%x", hte->tcsContext);
119 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
121 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &dataInSize, 0, &hte->comm))
123 if (setData(TCSD_PACKET_TYPE_PBYTE, 2, &dataIn, dataInSize, &hte->comm))
125 if (setData(TCSD_PACKET_TYPE_AUTH, 3, ownerAuth, 0, &hte->comm))
128 result = sendTCSDPacket(hte);
131 result = hte->comm.hdr.u.result;
134 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm))
136 if (getData(TCSD_PACKET_TYPE_UINT32, 1, dataOutSize, 0, &hte->comm))
147 if (getData(TCSD_PACKET_TYPE_PBYTE, 2, *dataOut, *dataOutSize, &hte->comm)) {
161 RPC_KillMaintenanceFeature_TP(struct host_table_entry *hte,
166 initData(&hte->comm, 2);
167 hte->comm.hdr.u.ordinal = TCSD_ORD_KILLMAINTENANCEFEATURE;
168 LogDebugFn("TCS Context: 0x%x", hte->tcsContext);
170 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
172 if (setData(TCSD_PACKET_TYPE_AUTH, 1, ownerAuth, 0, &hte->comm))
175 result = sendTCSDPacket(hte);
178 result = hte->comm.hdr.u.result;
181 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm))
189 RPC_LoadManuMaintPub_TP(struct host_table_entry *hte,
197 initData(&hte->comm, 4);
198 hte->comm.hdr.u.ordinal = TCSD_ORD_LOADMANUFACTURERMAINTENANCEPUB;
199 LogDebugFn("TCS Context: 0x%x", hte->tcsContext);
201 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
203 if (setData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &hte->comm))
205 if (setData(TCSD_PACKET_TYPE_UINT32, 2, &PubKeySize, 0, &hte->comm))
207 if (setData(TCSD_PACKET_TYPE_PBYTE, 3, PubKey, PubKeySize, &hte->comm))
210 result = sendTCSDPacket(hte);
213 result = hte->comm.hdr.u.result;
216 if (getData(TCSD_PACKET_TYPE_DIGEST, 0, checksum, 0, &hte->comm))
224 RPC_ReadManuMaintPub_TP(struct host_table_entry *hte,
230 initData(&hte->comm, 2);
231 hte->comm.hdr.u.ordinal = TCSD_ORD_READMANUFACTURERMAINTENANCEPUB;
232 LogDebugFn("TCS Context: 0x%x", hte->tcsContext);
234 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
236 if (setData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &hte->comm))
239 result = sendTCSDPacket(hte);
242 result = hte->comm.hdr.u.result;
245 if (getData(TCSD_PACKET_TYPE_DIGEST, 0, checksum, 0, &hte->comm))