Searched refs:hex_to_char (Results 1 – 1 of 1) sorted by relevance
23 char hex_to_char(uint8_t hex) in hex_to_char() function35 …buf[i * BYTE_TO_HEX_OPER_LENGTH] = hex_to_char((hex[i] & 0xF0) >> 4); /* shift right for filling */ in byte_to_hex_string()36 buf[i * BYTE_TO_HEX_OPER_LENGTH + 1] = hex_to_char(hex[i] & 0x0F); /* get low four bits */ in byte_to_hex_string()