Searched refs:COOKIE_LEN (Results 1 – 2 of 2) sorted by relevance
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ctrl_iface_udp.c | 20 #define COOKIE_LEN 8 macro 48 u8 cookie[COOKIE_LEN]; 54 u8 cookie[COOKIE_LEN]; 202 reply = os_malloc(7 + 2 * COOKIE_LEN + 1); 209 wpa_snprintf_hex(reply + 7, 2 * COOKIE_LEN + 1, 210 priv->cookie, COOKIE_LEN); 212 *reply_len = 7 + 2 * COOKIE_LEN; 236 u8 cookie[COOKIE_LEN]; 288 if (hexstr2bin(buf + 7, cookie, COOKIE_LEN) < 0) { 294 if (os_memcmp(cookie, priv->cookie, COOKIE_LEN) != 0) { [all …]
|
/external/wpa_supplicant_8/hostapd/ |
D | ctrl_iface.c | 63 #define COOKIE_LEN 8 macro 64 static unsigned char cookie[COOKIE_LEN]; 65 static unsigned char gcookie[COOKIE_LEN]; 2733 unsigned char lcookie[COOKIE_LEN]; in hostapd_ctrl_iface_receive() 2758 wpa_snprintf_hex(reply + 7, 2 * COOKIE_LEN + 1, in hostapd_ctrl_iface_receive() 2759 cookie, COOKIE_LEN); in hostapd_ctrl_iface_receive() 2760 reply_len = 7 + 2 * COOKIE_LEN; in hostapd_ctrl_iface_receive() 2765 hexstr2bin(buf + 7, lcookie, COOKIE_LEN) < 0) { in hostapd_ctrl_iface_receive() 2772 if (os_memcmp(cookie, lcookie, COOKIE_LEN) != 0) { in hostapd_ctrl_iface_receive() 2779 pos = buf + 7 + 2 * COOKIE_LEN; in hostapd_ctrl_iface_receive() [all …]
|