Home | History | Annotate | Download | only in tpm2

Lines Matching defs:size

43     unsigned    int      requestSize,       //   IN: command buffer size
45 unsigned int *responseSize, // OUT: response buffer size
65 UINT32 resHandleSize = 0; // size of the handle area in the
69 UINT32 resParmSize = 0; // the size of the response parameters
71 UINT32 resAuthSize = 0; // size of authorization area in the
74 INT32 size; // remaining data to be unmarshaled
79 INT32 bufferSize; // size of buffer being used for
82 // This next function call is used in development to size the command and response
133 // Get command buffer size and command buffer.
134 size = requestSize;
139 result = TPMI_ST_COMMAND_TAG_Unmarshal(&tag, &buffer, &size);
143 result = UINT32_Unmarshal(&commandSize, &buffer, &size);
159 result = TPM_CC_Unmarshal(&commandCode, &buffer, &size);
189 result = ParseHandleBuffer(commandCode, &buffer, &size, handles, &handleNum);
215 // Find out session buffer size.
216 result = UINT32_Unmarshal(&authorizationSize, &buffer, &size);
220 // the smallest possible session or larger than the remaining size of
222 // session size could still be wrong. That will be determined after the
225 || authorizationSize > (UINT32) size)
236 // error will be returned if the remaining size is not zero. This is
238 parmBufferSize = size - authorizationSize;
255 parmBufferSize = size;
301 // Adding parameter size field.