Lines Matching refs:hex
26 int hex2byte(const char *hex)
29 a = hex2num(*hex++);
32 b = hex2num(*hex++);
122 * hexstr2bin - Convert ASCII hex string into binary data
123 * @hex: ASCII hex string (e.g., "01ab")
125 * @len: Length of the text to convert in bytes (of buf); hex will be double
127 * Returns: 0 on success, -1 on failure (invalid hex string)
129 int hexstr2bin(const char *hex, u8 *buf, size_t len)
133 const char *ipos = hex;
209 * wpa_snprintf_hex - Print data as a hex string into a buffer
223 * wpa_snprintf_hex_uppercase - Print data as a upper case hex string into buf