Lines Matching refs:kTpmRequestHeaderLength

104   int nv_data_public = kTpmRequestHeaderLength;  in BuildDefineSpaceCommand()
130 int size = kTpmRequestHeaderLength + sizeof(TPM_NV_DATA_PUBLIC) + in BuildDefineSpaceCommand()
158 AddVisibleField(cmd, "index", kTpmRequestHeaderLength); in BuildWriteCommand()
159 AddVisibleField(cmd, "length", kTpmRequestHeaderLength + 8); in BuildWriteCommand()
160 AddVisibleField(cmd, "data", kTpmRequestHeaderLength + 12); in BuildWriteCommand()
165 int size = kTpmRequestHeaderLength + kTpmReadInfoLength; in BuildReadCommand()
168 AddVisibleField(cmd, "index", kTpmRequestHeaderLength); in BuildReadCommand()
169 AddVisibleField(cmd, "length", kTpmRequestHeaderLength + 8); in BuildReadCommand()
174 int size = kTpmRequestHeaderLength + sizeof(uint32_t); in BuildPCRReadCommand()
177 AddVisibleField(cmd, "pcrNum", kTpmRequestHeaderLength); in BuildPCRReadCommand()
182 int size = kTpmRequestHeaderLength + sizeof(TPM_PHYSICAL_PRESENCE); in BuildPPAssertCommand()
185 AddInitializedField(cmd, kTpmRequestHeaderLength, in BuildPPAssertCommand()
192 int size = kTpmRequestHeaderLength + sizeof(TPM_PHYSICAL_PRESENCE); in BuildPPEnableCommand()
195 AddInitializedField(cmd, kTpmRequestHeaderLength, in BuildPPEnableCommand()
202 int size = kTpmRequestHeaderLength + sizeof(TPM_PHYSICAL_PRESENCE); in BuildFinalizePPCommand()
205 AddInitializedField(cmd, kTpmRequestHeaderLength, in BuildFinalizePPCommand()
214 int size = kTpmRequestHeaderLength + sizeof(TPM_PHYSICAL_PRESENCE); in BuildPPLockCommand()
217 AddInitializedField(cmd, kTpmRequestHeaderLength, in BuildPPLockCommand()
224 int size = kTpmRequestHeaderLength + sizeof(TPM_STARTUP_TYPE); in BuildStartupCommand()
227 AddInitializedField(cmd, kTpmRequestHeaderLength, in BuildStartupCommand()
234 int size = kTpmRequestHeaderLength; in BuildSaveStateCommand()
241 int size = kTpmRequestHeaderLength + sizeof(TPM_STARTUP_TYPE); in BuildResumeCommand()
244 AddInitializedField(cmd, kTpmRequestHeaderLength, in BuildResumeCommand()
251 int size = kTpmRequestHeaderLength; in BuildSelftestfullCommand()
258 int size = kTpmRequestHeaderLength; in BuildContinueSelfTestCommand()
265 int size = kTpmRequestHeaderLength + sizeof(TPM_NONCE); in BuildReadPubekCommand()
272 int size = kTpmRequestHeaderLength; in BuildForceClearCommand()
279 int size = kTpmRequestHeaderLength; in BuildPhysicalEnableCommand()
286 int size = kTpmRequestHeaderLength; in BuildPhysicalDisableCommand()
293 int size = kTpmRequestHeaderLength + sizeof(uint8_t); in BuildPhysicalSetDeactivatedCommand()
296 AddVisibleField(cmd, "deactivated", kTpmRequestHeaderLength); in BuildPhysicalSetDeactivatedCommand()
301 int size = kTpmRequestHeaderLength + sizeof(uint32_t) + kPcrDigestLength; in BuildExtendCommand()
304 AddVisibleField(cmd, "pcrNum", kTpmRequestHeaderLength); in BuildExtendCommand()
305 AddVisibleField(cmd, "inDigest", kTpmRequestHeaderLength + sizeof(uint32_t)); in BuildExtendCommand()
310 int size = (kTpmRequestHeaderLength + in BuildGetFlagsCommand()
317 AddInitializedField(cmd, kTpmRequestHeaderLength, in BuildGetFlagsCommand()
319 AddInitializedField(cmd, kTpmRequestHeaderLength + in BuildGetFlagsCommand()
322 AddInitializedField(cmd, kTpmRequestHeaderLength + in BuildGetFlagsCommand()
329 int size = (kTpmRequestHeaderLength + in BuildGetSTClearFlagsCommand()
336 AddInitializedField(cmd, kTpmRequestHeaderLength, in BuildGetSTClearFlagsCommand()
338 AddInitializedField(cmd, kTpmRequestHeaderLength + in BuildGetSTClearFlagsCommand()
341 AddInitializedField(cmd, kTpmRequestHeaderLength + in BuildGetSTClearFlagsCommand()
348 int size = (kTpmRequestHeaderLength + in BuildGetPermissionsCommand()
355 AddInitializedField(cmd, kTpmRequestHeaderLength, in BuildGetPermissionsCommand()
357 AddInitializedField(cmd, kTpmRequestHeaderLength + in BuildGetPermissionsCommand()
360 AddVisibleField(cmd, "index", kTpmRequestHeaderLength + in BuildGetPermissionsCommand()
366 int size = (kTpmRequestHeaderLength + in BuildGetOwnershipCommand()
373 AddInitializedField(cmd, kTpmRequestHeaderLength, in BuildGetOwnershipCommand()
375 AddInitializedField(cmd, kTpmRequestHeaderLength + in BuildGetOwnershipCommand()
378 AddInitializedField(cmd, kTpmRequestHeaderLength + in BuildGetOwnershipCommand()
385 int size = kTpmRequestHeaderLength + sizeof(uint32_t); in BuildGetRandomCommand()
388 AddVisibleField(cmd, "bytesRequested", kTpmRequestHeaderLength); in BuildGetRandomCommand()