• Home
  • Raw
  • Download

Lines Matching refs:command

34 	const u8 command[12] = {  in tpm_startup()  local
41 0, command, sizeof(command), in tpm_startup()
50 const u8 command[10] = { in tpm_self_test_full() local
53 return tpm_sendrecv_command(command, NULL, NULL); in tpm_self_test_full()
58 const u8 command[10] = { in tpm_continue_self_test() local
61 return tpm_sendrecv_command(command, NULL, NULL); in tpm_continue_self_test()
66 const u8 command[101] = { in tpm_nv_define_space() local
98 0, command, sizeof(command), in tpm_nv_define_space()
109 const u8 command[22] = { in tpm_nv_read_value() local
122 0, command, sizeof(command), in tpm_nv_read_value()
143 const u8 command[256] = { in tpm_nv_write_value() local
158 0, command, sizeof(command), in tpm_nv_write_value()
173 const u8 command[34] = { in tpm_extend() local
185 0, command, sizeof(command), in tpm_extend()
204 const u8 command[14] = { in tpm_pcr_read() local
217 0, command, sizeof(command), in tpm_pcr_read()
232 const u8 command[12] = { in tpm_tsc_physical_presence() local
239 0, command, sizeof(command), in tpm_tsc_physical_presence()
248 const u8 command[30] = { in tpm_read_pubek() local
259 err = tpm_sendrecv_command(command, response, &response_length); in tpm_read_pubek()
279 const u8 command[10] = { in tpm_force_clear() local
283 return tpm_sendrecv_command(command, NULL, NULL); in tpm_force_clear()
288 const u8 command[10] = { in tpm_physical_enable() local
292 return tpm_sendrecv_command(command, NULL, NULL); in tpm_physical_enable()
297 const u8 command[10] = { in tpm_physical_disable() local
301 return tpm_sendrecv_command(command, NULL, NULL); in tpm_physical_disable()
306 const u8 command[11] = { in tpm_physical_set_deactivated() local
313 0, command, sizeof(command), in tpm_physical_set_deactivated()
322 const u8 command[22] = { in tpm_get_capability() local
340 0, command, sizeof(command), in tpm_get_capability()
361 const u8 command[22] = { in tpm_get_permanent_flags() local
376 err = tpm_sendrecv_command(command, response, &response_length); in tpm_get_permanent_flags()
393 const u8 command[22] = { in tpm_get_permissions() local
406 if (pack_byte_string(buf, sizeof(buf), "d", 0, command, sizeof(command), in tpm_get_permissions()
422 const u8 command[18] = { in tpm_flush_specific() local
436 0, command, sizeof(command), in tpm_flush_specific()
581 const u8 command[18] = { in tpm_terminate_auth_session() local
592 0, command, sizeof(command), in tpm_terminate_auth_session()
612 const u8 command[10] = { in tpm_oiap() local
626 err = tpm_sendrecv_command(command, response, &response_length); in tpm_oiap()
643 const u8 command[14] = { in tpm_load_key2_oiap() local
653 u8 request[sizeof(command) + TPM_KEY12_MAX_LENGTH + in tpm_load_key2_oiap()
665 0, command, sizeof(command), in tpm_load_key2_oiap()
667 sizeof(command) + key_length in tpm_load_key2_oiap()
674 err = create_request_auth(request, sizeof(command) + key_length, 4, in tpm_load_key2_oiap()
676 request + sizeof(command) + key_length, in tpm_load_key2_oiap()
708 const u8 command[14] = { in tpm_get_pub_key_oiap() local
717 u8 request[sizeof(command) + TPM_REQUEST_AUTH_LENGTH]; in tpm_get_pub_key_oiap()
729 0, command, sizeof(command), in tpm_get_pub_key_oiap()
731 (u32)(sizeof(command) in tpm_get_pub_key_oiap()
736 err = create_request_auth(request, sizeof(command), 4, &oiap_session, in tpm_get_pub_key_oiap()
737 request + sizeof(command), usage_auth); in tpm_get_pub_key_oiap()
813 const u8 command[14] = { in tpm_get_random() local
832 0, command, sizeof(command), in tpm_get_random()