Searched refs:decodeBuf (Results 1 – 1 of 1) sorted by relevance
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/Shared/TPMDevice/src/ |
D | TpmDevice.c | 527 char decodeBuf[100]; variable 529 char decodeBuf[6]; variable 540 sprintf(decodeBuf, "%s()", tpm_cc_table[n].str); in TpmDecodeTPM_CC() 545 sprintf(decodeBuf, "0x%03x", (unsigned int)cc); in TpmDecodeTPM_CC() 549 return decodeBuf; in TpmDecodeTPM_CC() 562 cursor = sprintf(decodeBuf, "{%s}", tpm_rc_globalCodes[n].str); in TpmDecodeTPM_RC() 568 …cursor = sprintf(decodeBuf, "{RC_FMT1 | TPM_RC_P | TPM_RC_%X | ", (unsigned int)((rc & 0x00000f00)… in TpmDecodeTPM_RC() 572 …cursor = sprintf(decodeBuf, "{RC_FMT1 | TPM_RC_S | TPM_RC_%X | ", (unsigned int)((rc & 0x00000700)… in TpmDecodeTPM_RC() 576 …cursor = sprintf(decodeBuf, "{RC_FMT1 | TPM_RC_H | TPM_RC_%X | ", (unsigned int)((rc & 0x00000700)… in TpmDecodeTPM_RC() 582 cursor = sprintf(&decodeBuf[cursor], "%s}", tpm_rc_formatCodes[n].str); in TpmDecodeTPM_RC() [all …]
|