Lines Matching defs:hex
27 int hex2byte(const char *hex)
30 a = hex2num(*hex++);
33 b = hex2num(*hex++);
163 * hexstr2bin - Convert ASCII hex string into binary data
164 * @hex: ASCII hex string (e.g., "01ab")
166 * @len: Length of the text to convert in bytes (of buf); hex will be double
168 * Returns: 0 on success, -1 on failure (invalid hex string)
170 int hexstr2bin(const char *hex, u8 *buf, size_t len)
174 const char *ipos = hex;
338 * wpa_snprintf_hex - Print data as a hex string into a buffer
352 * wpa_snprintf_hex_uppercase - Print data as a upper case hex string into buf
1165 * ssid_parse - Parse a string that contains SSID in hex or text format
1171 * or NULL terminated string of hex digits for the hex format. buf can include