| 215 | } |
| 216 | |
| 217 | uint8_t nibble_to_hex_char(uint8_t nibble) |
| 218 | { |
| 219 | char buf[16] = { '0', '1', '2', '3', '4', '5', '6', '7', |
| 220 | '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' }; |
| 221 | |
| 222 | return buf[nibble & 0xF]; |
| 223 | } |
| 224 | |
| 225 | /* |
| 226 | * hex_string_to_octet_string converts a hexadecimal string |
no outgoing calls
no test coverage detected