Home
last modified time | relevance | path

Searched refs:COOKIE_LEN (Results 1 – 5 of 5) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dctrl_iface_udp.c20 #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];
289 if (hexstr2bin(buf + 7, cookie, COOKIE_LEN) < 0) {
295 if (os_memcmp(cookie, priv->cookie, COOKIE_LEN) != 0) {
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dctrl_iface_udp.c20 #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];
301 if (hexstr2bin(buf + 7, cookie, COOKIE_LEN) < 0) {
308 if (os_memcmp(cookie, priv->cookie, COOKIE_LEN) != 0) {
[all …]
/third_party/openssl/test/
Ddtlsv1listentest.c260 # define COOKIE_LEN 20 macro
266 for (i = 0; i < COOKIE_LEN; i++, cookie++) in cookie_gen()
268 *cookie_len = COOKIE_LEN; in cookie_gen()
278 if (cookie_len != COOKIE_LEN) in cookie_verify()
281 for (i = 0; i < COOKIE_LEN; i++, cookie++) { in cookie_verify()
/third_party/mbedtls/library/
Dssl_cookie.c67 #define COOKIE_LEN ( 4 + COOKIE_HMAC_LEN ) macro
161 MBEDTLS_SSL_CHK_BUF_PTR( *p, end, COOKIE_LEN ); in mbedtls_ssl_cookie_write()
205 if( cookie_len != COOKIE_LEN ) in mbedtls_ssl_cookie_check()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dap_ctrl_iface.c68 #define COOKIE_LEN 8 macro
69 static unsigned char cookie[COOKIE_LEN];
70 static unsigned char gcookie[COOKIE_LEN];
3403 unsigned char lcookie[COOKIE_LEN]; in hostapd_ctrl_iface_receive()
3428 wpa_snprintf_hex(reply + 7, 2 * COOKIE_LEN + 1, in hostapd_ctrl_iface_receive()
3429 cookie, COOKIE_LEN); in hostapd_ctrl_iface_receive()
3430 reply_len = 7 + 2 * COOKIE_LEN; in hostapd_ctrl_iface_receive()
3435 hexstr2bin(buf + 7, lcookie, COOKIE_LEN) < 0) { in hostapd_ctrl_iface_receive()
3442 if (os_memcmp(cookie, lcookie, COOKIE_LEN) != 0) { in hostapd_ctrl_iface_receive()
3449 pos = buf + 7 + 2 * COOKIE_LEN; in hostapd_ctrl_iface_receive()
[all …]