| 2257 | } main_daemon_ctl_ui_readiness_t; |
| 2258 | |
| 2259 | static void main_daemon_ctl_hex_encode(const uint8_t bytes[CBM_SHA256_DIGEST_LEN], |
| 2260 | char out[CBM_SHA256_HEX_LEN + 1U]) { |
| 2261 | static const char hex[] = "0123456789abcdef"; |
| 2262 | for (size_t i = 0; i < CBM_SHA256_DIGEST_LEN; i++) { |
| 2263 | out[i * 2U] = hex[bytes[i] >> 4]; |
| 2264 | out[i * 2U + 1U] = hex[bytes[i] & 0x0fU]; |
| 2265 | } |
| 2266 | out[CBM_SHA256_HEX_LEN] = '\0'; |
| 2267 | } |
| 2268 | |
| 2269 | static bool main_daemon_ctl_ui_readiness_prepare(cbm_daemon_runtime_client_t *client, |
| 2270 | main_daemon_ctl_ui_readiness_t *readiness) { |
no outgoing calls
no test coverage detected