Lines Matching defs:challenge
243 u16 auth_transaction, const u8 *challenge,
252 if (!sta->challenge) {
253 /* Generate a pseudo-random challenge */
256 sta->challenge = os_zalloc(WLAN_AUTH_CHALLENGE_LEN);
257 if (sta->challenge == NULL)
261 os_free(sta->challenge);
262 sta->challenge = NULL;
267 sta->challenge, WLAN_AUTH_CHALLENGE_LEN);
276 if (!iswep || !sta->challenge || !challenge ||
277 os_memcmp_const(sta->challenge, challenge,
282 "challenge-response");
291 os_free(sta->challenge);
292 sta->challenge = NULL;
2037 const u8 *challenge = NULL;
2073 challenge = &mgmt->u.auth.variable[2];
2080 challenge ? " challenge" : "",
2357 resp = auth_shared_key(hapd, sta, auth_transaction, challenge,
2364 if (sta->challenge && auth_transaction == 1) {
2367 os_memcpy(resp_ies + 2, sta->challenge,