• Home
  • Raw
  • Download

Lines Matching refs:response_length

157 	size_t response_length = sizeof(response);  in tpm_nv_read_value()  local
166 err = tpm_sendrecv_command(dev, buf, response, &response_length); in tpm_nv_read_value()
169 if (unpack_byte_string(response, response_length, "d", in tpm_nv_read_value()
174 if (unpack_byte_string(response, response_length, "s", in tpm_nv_read_value()
195 size_t response_length = sizeof(response); in tpm_nv_write_value() local
205 err = tpm_sendrecv_command(dev, buf, response, &response_length); in tpm_nv_write_value()
228 size_t response_length = sizeof(response); in tpm_extend() local
237 err = tpm_sendrecv_command(dev, buf, response, &response_length); in tpm_extend()
241 if (unpack_byte_string(response, response_length, "s", in tpm_extend()
257 size_t response_length = sizeof(response); in tpm_pcr_read() local
267 err = tpm_sendrecv_command(dev, buf, response, &response_length); in tpm_pcr_read()
270 if (unpack_byte_string(response, response_length, "s", in tpm_pcr_read()
311 size_t response_length = sizeof(response); in tpm_read_pubek() local
315 err = tpm_sendrecv_command(dev, command, response, &response_length); in tpm_read_pubek()
318 if (unpack_byte_string(response, response_length, "d", in tpm_read_pubek()
326 if (unpack_byte_string(response, response_length, "s", in tpm_read_pubek()
392 size_t response_length = sizeof(response); in tpm_get_capability() local
401 err = tpm_sendrecv_command(dev, buf, response, &response_length); in tpm_get_capability()
404 if (unpack_byte_string(response, response_length, "d", in tpm_get_capability()
407 if (cap_size > response_length || cap_size > count) in tpm_get_capability()
409 if (unpack_byte_string(response, response_length, "s", in tpm_get_capability()
430 size_t response_length = sizeof(response); in tpm_get_permanent_flags() local
434 err = tpm_sendrecv_command(dev, command, response, &response_length); in tpm_get_permanent_flags()
437 if (unpack_byte_string(response, response_length, "d", in tpm_get_permanent_flags()
446 if (unpack_byte_string(response, response_length, "s", in tpm_get_permanent_flags()
467 size_t response_length = sizeof(response); in tpm_get_permissions() local
473 err = tpm_sendrecv_command(dev, buf, response, &response_length); in tpm_get_permissions()
476 if (unpack_byte_string(response, response_length, "d", in tpm_get_permissions()
496 size_t response_length = sizeof(response); in tpm_flush_specific() local
505 err = tpm_sendrecv_command(dev, buf, response, &response_length); in tpm_flush_specific()
684 size_t response_length = sizeof(response); in tpm_oiap() local
690 err = tpm_sendrecv_command(dev, command, response, &response_length); in tpm_oiap()
693 if (unpack_byte_string(response, response_length, "ds", in tpm_oiap()
721 size_t response_length = sizeof(response); in tpm_load_key2_oiap() local
745 err = tpm_sendrecv_command(dev, request, response, &response_length); in tpm_load_key2_oiap()
753 response_length - TPM_RESPONSE_AUTH_LENGTH, in tpm_load_key2_oiap()
755 response + response_length - in tpm_load_key2_oiap()
762 if (unpack_byte_string(response, response_length, "d", in tpm_load_key2_oiap()
786 size_t response_length = sizeof(response); in tpm_get_pub_key_oiap() local
806 err = tpm_sendrecv_command(dev, request, response, &response_length); in tpm_get_pub_key_oiap()
813 response_length - TPM_RESPONSE_AUTH_LENGTH, in tpm_get_pub_key_oiap()
815 response + response_length - in tpm_get_pub_key_oiap()
822 if ((response_length - TPM_RESPONSE_HEADER_LENGTH in tpm_get_pub_key_oiap()
825 *pubkey_len = response_length - TPM_RESPONSE_HEADER_LENGTH in tpm_get_pub_key_oiap()
828 response_length - TPM_RESPONSE_HEADER_LENGTH in tpm_get_pub_key_oiap()
889 size_t response_length = sizeof(response); in tpm_get_random() local
903 &response_length); in tpm_get_random()
906 if (unpack_byte_string(response, response_length, "d", in tpm_get_random()
911 if (unpack_byte_string(response, response_length, "s", in tpm_get_random()