• Home
  • Raw
  • Download

Lines Matching refs:response

64                                        uint8_t* response, int max_length) {  in TlclSendReceiveNoRetry()  argument
77 response, &response_length); in TlclSendReceiveNoRetry()
85 result = TpmReturnCode(response); in TlclSendReceiveNoRetry()
93 response[0], response[1], in TlclSendReceiveNoRetry()
94 response[2], response[3], response[4], response[5], in TlclSendReceiveNoRetry()
95 response[6], response[7], response[8], response[9])); in TlclSendReceiveNoRetry()
108 uint32_t TlclSendReceive(const uint8_t* request, uint8_t* response, in TlclSendReceive() argument
110 uint32_t result = TlclSendReceiveNoRetry(request, response, max_length); in TlclSendReceive()
123 result = TlclSendReceiveNoRetry(request, response, max_length); in TlclSendReceive()
131 result = TlclSendReceiveNoRetry(request, response, max_length); in TlclSendReceive()
141 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; in Send() local
142 return TlclSendReceive(command, response, sizeof(response)); in Send()
176 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; in TlclContinueSelfTest() local
180 response, sizeof(response)); in TlclContinueSelfTest()
195 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; in TlclWrite() local
208 return TlclSendReceive(cmd.buffer, response, sizeof(response)); in TlclWrite()
213 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; in TlclRead() local
222 result = TlclSendReceive(cmd.buffer, response, sizeof(response)); in TlclRead()
224 uint8_t* nv_read_cursor = response + kTpmResponseHeaderLength; in TlclRead()
235 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; in TlclPCRRead() local
245 result = TlclSendReceive(cmd.buffer, response, sizeof(response)); in TlclPCRRead()
247 uint8_t* pcr_read_cursor = response + kTpmResponseHeaderLength; in TlclPCRRead()
280 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; in TlclAssertPhysicalPresenceResult() local
281 return TlclSendReceive(tpm_ppassert_cmd.buffer, response, sizeof(response)); in TlclAssertPhysicalPresenceResult()
295 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE + TPM_PUBEK_SIZE]; in TlclIsOwned() local
298 response, sizeof(response)); in TlclIsOwned()
326 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; in TlclGetPermanentFlags() local
329 TlclSendReceive(tpm_getflags_cmd.buffer, response, sizeof(response)); in TlclGetPermanentFlags()
332 FromTpmUint32(response + kTpmResponseHeaderLength, &size); in TlclGetPermanentFlags()
337 response + kTpmResponseHeaderLength + sizeof(size), in TlclGetPermanentFlags()
343 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; in TlclGetSTClearFlags() local
346 TlclSendReceive(tpm_getstclearflags_cmd.buffer, response, sizeof(response)); in TlclGetSTClearFlags()
349 FromTpmUint32(response + kTpmResponseHeaderLength, &size); in TlclGetSTClearFlags()
355 response + kTpmResponseHeaderLength + sizeof(size), in TlclGetSTClearFlags()
387 uint8_t response[kTpmResponseHeaderLength + kPcrDigestLength]; in TlclExtend() local
394 result = TlclSendReceive(cmd.buffer, response, sizeof(response)); in TlclExtend()
398 Memcpy(out_digest, response + kTpmResponseHeaderLength, kPcrDigestLength); in TlclExtend()
404 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; in TlclGetPermissions() local
411 result = TlclSendReceive(cmd.buffer, response, sizeof(response)); in TlclGetPermissions()
415 nvdata = response + kTpmResponseHeaderLength + sizeof(size); in TlclGetPermissions()
421 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; in TlclGetOwnership() local
424 TlclSendReceive(tpm_getownership_cmd.buffer, response, sizeof(response)); in TlclGetOwnership()
427 FromTpmUint32(response + kTpmResponseHeaderLength, &size); in TlclGetOwnership()
432 response + kTpmResponseHeaderLength + sizeof(size), in TlclGetOwnership()
439 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; in TlclGetRandom() local
451 result = TlclSendReceive(cmd.buffer, response, sizeof(response)); in TlclGetRandom()
454 FromTpmUint32(response + kTpmResponseHeaderLength, size); in TlclGetRandom()
460 get_random_cursor = response + kTpmResponseHeaderLength in TlclGetRandom()