mirror of
https://github.com/openharmony/xts_device_attest_lite.git
synced 2026-06-30 21:57:55 -04:00
@@ -24,7 +24,7 @@ extern "C" {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define ATTEST_LOG_DOMAIN 0xD001810
|
||||
#define ATTEST_LOG_DOMAIN 0xD005D00
|
||||
#define ATTEST_LOG_LABEL "DEVATTEST"
|
||||
|
||||
#define HILOGD(fmt, ...) \
|
||||
|
||||
@@ -176,7 +176,7 @@ static int32_t GetTokenValueSpecial(uint8_t* tokenValueHmac, uint8_t tokenValueH
|
||||
return ATTEST_OK;
|
||||
}
|
||||
|
||||
static int32_t FormatUUID(uint8_t *inputData, int32_t inputLen, uint8_t *outputData, int32_t outputLen)
|
||||
static int32_t FormatUUID(const uint8_t *inputData, int32_t inputLen, uint8_t *outputData, int32_t outputLen)
|
||||
{
|
||||
if ((inputData == NULL) || (outputData == NULL) || \
|
||||
(inputLen == 0) || (outputLen == 0)) {
|
||||
|
||||
@@ -66,7 +66,7 @@ static void AttestLogPrint(AttestLogLevel logLevel, const char *logBuf)
|
||||
default:
|
||||
break;
|
||||
}
|
||||
(void)HiLogPrint(LOG_CORE, hiLogLevel, 0xD001810, ATTESTLOG_LABEL, "%{public}s", logBuf);
|
||||
(void)HiLogPrint(LOG_CORE, hiLogLevel, 0xD005D00, ATTESTLOG_LABEL, "%{public}s", logBuf);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user