Lines Matching refs:challenge
349 u16 auth_transaction, const u8 *challenge, in auth_shared_key() argument
358 if (!sta->challenge) { in auth_shared_key()
362 sta->challenge = os_zalloc(WLAN_AUTH_CHALLENGE_LEN); in auth_shared_key()
363 if (sta->challenge == NULL) in auth_shared_key()
367 os_free(sta->challenge); in auth_shared_key()
368 sta->challenge = NULL; in auth_shared_key()
373 sta->challenge, WLAN_AUTH_CHALLENGE_LEN); in auth_shared_key()
382 if (!iswep || !sta->challenge || !challenge || in auth_shared_key()
383 os_memcmp_const(sta->challenge, challenge, in auth_shared_key()
397 os_free(sta->challenge); in auth_shared_key()
398 sta->challenge = NULL; in auth_shared_key()
2881 const u8 *challenge = NULL; in handle_auth() local
2931 challenge = &mgmt->u.auth.variable[2]; in handle_auth()
2938 challenge ? " challenge" : "", in handle_auth()
3247 resp = auth_shared_key(hapd, sta, auth_transaction, challenge, in handle_auth()
3254 if (sta->challenge && auth_transaction == 1) { in handle_auth()
3257 os_memcpy(resp_ies + 2, sta->challenge, in handle_auth()