Home
last modified time | relevance | path

Searched refs:itmPrintAppend (Results 1 – 2 of 2) sorted by relevance

/external/ms-tpm-20-ref/Samples/Nucleo-TPM/Shared/TPMDevice/src/
DTpmDevice.c749itmPrintAppend(ITMCMDRSP, "//%s\r\nunsigned char CmdBuf[%d] = {", GetLogStamp(), tpmOp.cmdSize); in TpmOperationsLoop()
752 if(n > 0) itmPrintAppend(ITMCMDRSP, ", "); in TpmOperationsLoop()
753 if(!(n % 16)) itmPrintAppend(ITMCMDRSP, "\r\n"); in TpmOperationsLoop()
754 itmPrintAppend(ITMCMDRSP, "0x%02x", tpmOp.msgBuf[n]); in TpmOperationsLoop()
756 itmPrintAppend(ITMCMDRSP, "\r\n};\r\n"); in TpmOperationsLoop()
767itmPrintAppend(ITMCMDRSP, "//%s\r\nunsigned char RspBuf[%d] = {", GetLogStamp(), tpmOp.cmdSize); in TpmOperationsLoop()
770 if(n > 0) itmPrintAppend(ITMCMDRSP, ", "); in TpmOperationsLoop()
771 if(!(n % 16)) itmPrintAppend(ITMCMDRSP, "\r\n"); in TpmOperationsLoop()
772 itmPrintAppend(ITMCMDRSP, "0x%02x", rspTPM[n]); in TpmOperationsLoop()
774 itmPrintAppend(ITMCMDRSP, "\r\n};\r\n"); in TpmOperationsLoop()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/Shared/TPMDevice/include/
DStmUtil.h11 #define itmPrintAppend(__channel, fmt, ...) fprintf(g_itm[__channel], fmt, ##__VA_ARGS__); macro