Lines Matching refs:pack_byte_string
63 int pack_byte_string(uint8_t *str, size_t size, const char *format, ...) in pack_byte_string() function
280 if (pack_byte_string(buf, sizeof(buf), "sw", in tpm_startup()
337 if (pack_byte_string(buf, sizeof(buf), "sddd", in tpm_nv_define_space()
361 if (pack_byte_string(buf, sizeof(buf), "sdd", in tpm_nv_read_value()
397 if (pack_byte_string(buf, sizeof(buf), "sddds", in tpm_nv_write_value()
424 if (pack_byte_string(buf, sizeof(buf), "sds", in tpm_extend()
456 if (pack_byte_string(buf, sizeof(buf), "sd", in tpm_pcr_read()
478 if (pack_byte_string(buf, sizeof(buf), "sw", in tpm_tsc_physical_presence()
552 if (pack_byte_string(buf, sizeof(buf), "sb", in tpm_physical_set_deactivated()
580 if (pack_byte_string(buf, sizeof(buf), "sdd", in tpm_get_capability()
647 if (pack_byte_string(buf, sizeof(buf), "d", 0, command, sizeof(command), in tpm_get_permissions()
676 if (pack_byte_string(buf, sizeof(buf), "sdd", in tpm_flush_specific()
732 if (pack_byte_string(request_auth, TPM_REQUEST_AUTH_LENGTH, "dsb", in create_request_auth()
738 if (pack_byte_string(hmac_data, sizeof(hmac_data), "ss", in create_request_auth()
782 if (pack_byte_string(hmac_data, sizeof(hmac_data), "d", in verify_response_auth()
800 if (pack_byte_string(hmac_data, sizeof(hmac_data), "ssb", in verify_response_auth()
834 if (pack_byte_string(request, sizeof(request), "sd", in tpm_terminate_auth_session()
908 if (pack_byte_string(request, sizeof(request), "sdds", in tpm_load_key2_oiap()
971 if (pack_byte_string(request, sizeof(request), "sdd", in tpm_get_pub_key_oiap()