Lines Matching refs:COOKIE_LEN
60 #define COOKIE_LEN 8
61 static unsigned char cookie[COOKIE_LEN];
62 static unsigned char gcookie[COOKIE_LEN];
2342 unsigned char lcookie[COOKIE_LEN];
2367 wpa_snprintf_hex(reply + 7, 2 * COOKIE_LEN + 1,
2368 cookie, COOKIE_LEN);
2369 reply_len = 7 + 2 * COOKIE_LEN;
2374 hexstr2bin(buf + 7, lcookie, COOKIE_LEN) < 0) {
2381 if (os_memcmp(cookie, lcookie, COOKIE_LEN) != 0) {
2388 pos = buf + 7 + 2 * COOKIE_LEN;
2477 os_get_random(cookie, COOKIE_LEN);
3054 unsigned char lcookie[COOKIE_LEN];
3083 wpa_snprintf_hex(reply + 7, 2 * COOKIE_LEN + 1,
3084 gcookie, COOKIE_LEN);
3085 reply_len = 7 + 2 * COOKIE_LEN;
3090 hexstr2bin(buf + 7, lcookie, COOKIE_LEN) < 0) {
3097 if (os_memcmp(gcookie, lcookie, COOKIE_LEN) != 0) {
3104 buf += 7 + 2 * COOKIE_LEN;
3247 os_get_random(gcookie, COOKIE_LEN);