Home
last modified time | relevance | path

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

/foundation/distributedhardware/distributed_hardware_fwk/utils/src/
H A Ddh_utils_tool.cpp46 constexpr int32_t DOUBLE_TIMES = 2; member
119 unsigned char out[SHA256_DIGEST_LENGTH * DOUBLE_TIMES + 1] = {0}; in Sha256()
129 out[i * DOUBLE_TIMES] = hexCode[(value >> WIDTH) & MASK]; in Sha256()
130 out[i * DOUBLE_TIMES + 1] = hexCode[value & MASK]; in Sha256()
132 out[SHA256_DIGEST_LENGTH * DOUBLE_TIMES] = 0; in Sha256()
/foundation/distributedhardware/distributed_input/utils/src/
H A Ddinput_utils_tool.cpp51 constexpr int32_t DOUBLE_TIMES = 2; member
264 out[i * DOUBLE_TIMES] = hexCode[(value >> WIDTH) & MASK]; in Sha256()
265 out[i * DOUBLE_TIMES + 1] = hexCode[value & MASK]; in Sha256()
267 out[SHA256_DIGEST_LENGTH * DOUBLE_TIMES] = 0; in Sha256()

Completed in 2 milliseconds