Lines Matching defs:COOKIE_LEN
68 #define COOKIE_LEN 8
69 static unsigned char cookie[COOKIE_LEN];
70 static unsigned char gcookie[COOKIE_LEN];
3403 unsigned char lcookie[COOKIE_LEN];
3428 wpa_snprintf_hex(reply + 7, 2 * COOKIE_LEN + 1,
3429 cookie, COOKIE_LEN);
3430 reply_len = 7 + 2 * COOKIE_LEN;
3435 hexstr2bin(buf + 7, lcookie, COOKIE_LEN) < 0) {
3442 if (os_memcmp(cookie, lcookie, COOKIE_LEN) != 0) {
3449 pos = buf + 7 + 2 * COOKIE_LEN;
3538 os_get_random(cookie, COOKIE_LEN);
4126 unsigned char lcookie[COOKIE_LEN];
4155 wpa_snprintf_hex(reply + 7, 2 * COOKIE_LEN + 1,
4156 gcookie, COOKIE_LEN);
4157 reply_len = 7 + 2 * COOKIE_LEN;
4162 hexstr2bin(buf + 7, lcookie, COOKIE_LEN) < 0) {
4169 if (os_memcmp(gcookie, lcookie, COOKIE_LEN) != 0) {
4176 buf += 7 + 2 * COOKIE_LEN;
4320 os_get_random(gcookie, COOKIE_LEN);