Home
last modified time | relevance | path

Searched refs:tokenWithFlag (Results 1 - 1 of 1) sorted by relevance

/test/xts/device_attest/services/oem_adapter/src/
H A Ddevice_attest_oem_adapter.c45 static int WriteTokenWithFlag(char* path, char* fileName, const char* tokenWithFlag, unsigned int len) in WriteTokenWithFlag() argument
54 (void)memcpy_s(buf + TOKEN_MAGIC_NUM_SIZE, TOKEN_WITH_FLAG_SIZE, tokenWithFlag, TOKEN_WITH_FLAG_SIZE); in WriteTokenWithFlag()
62 static uint32_t GetTokenFlag(const char tokenWithFlag[]) in GetTokenFlag() argument
66 result |= ((uint8_t)tokenWithFlag[TOKEN_SIZE + i]) << ((TOKEN_FLAG_SIZE - 1 - i) * BITS_PER_BYTE); in GetTokenFlag()

Completed in 1 milliseconds