void tpm_write(char* index, char* bytes);