Home
last modified time | relevance | path

Searched refs:challenge (Results 1 – 13 of 13) sorted by relevance

/drivers/target/iscsi/
Discsi_target_auth.c61 get_random_bytes(chap->challenge, CHAP_CHALLENGE_LENGTH); in chap_gen_challenge()
62 chap_binaryhex_to_asciihex(challenge_asciihex, chap->challenge, in chap_gen_challenge()
181 unsigned char identifier[10], *challenge = NULL; in chap_server_compute_md5() local
201 challenge = kzalloc(CHAP_CHALLENGE_STR_LEN, GFP_KERNEL); in chap_server_compute_md5()
202 if (!challenge) { in chap_server_compute_md5()
279 sg_init_one(&sg, chap->challenge, CHAP_CHALLENGE_LENGTH); in chap_server_compute_md5()
309 kfree(challenge); in chap_server_compute_md5()
342 challenge, &type) < 0) { in chap_server_compute_md5()
351 pr_debug("[server] Got CHAP_C=%s\n", challenge); in chap_server_compute_md5()
352 challenge_len = chap_string_to_hex(challenge_binhex, challenge, in chap_server_compute_md5()
[all …]
Discsi_target_auth.h27 unsigned char challenge[CHAP_CHALLENGE_LENGTH]; member
/drivers/i2c/muxes/
DKconfig13 I2C multimaster arbitration scheme using GPIOs and a challenge &
18 will be called i2c-arb-gpio-challenge.
DMakefile4 obj-$(CONFIG_I2C_ARB_GPIO_CHALLENGE) += i2c-arb-gpio-challenge.o
/drivers/net/wireless/hostap/
Dhostap_ap.c148 if (!sta->ap && sta->u.sta.challenge) in ap_free_sta()
149 kfree(sta->u.sta.challenge); in ap_free_sta()
1352 char body[8 + WLAN_AUTH_CHALLENGE_LEN], *challenge = NULL; in handle_authen() local
1424 challenge = (char *) (u + 2); in handle_authen()
1436 sta->u.sta.challenge = NULL; in handle_authen()
1448 sta->u.sta.challenge != NULL)))) { in handle_authen()
1486 if (sta->u.sta.challenge == NULL) { in handle_authen()
1487 sta->u.sta.challenge = in handle_authen()
1489 if (sta->u.sta.challenge == NULL) { in handle_authen()
1495 if (sta->u.sta.challenge == NULL || in handle_authen()
[all …]
Dhostap_ap.h86 char *challenge; /* shared key authentication member
/drivers/staging/wlan-ng/
Dp80211mgmt.h290 u8 challenge[1]; member
480 struct wlan_ie_challenge *challenge; member
/drivers/media/usb/hdpvr/
Dhdpvr-core.c79 static void challenge(u8 *bytes) in challenge() function
185 challenge(response); in device_authorization()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac.c1289 u8 *challenge, in ieee80211_auth_challenge() argument
1307 memcpy(c, challenge, chlen); in ieee80211_auth_challenge()
1317 kfree(challenge); in ieee80211_auth_challenge()
1544 static inline u16 auth_parse(struct sk_buff *skb, u8 **challenge, int *chlen) in auth_parse() argument
1552 *challenge = NULL; in auth_parse()
1559 *challenge = kmemdup(t, *chlen, GFP_ATOMIC); in auth_parse()
1560 if (!*challenge) in auth_parse()
1934 u8 *challenge; in ieee80211_rx_frame_softmac() local
2026 errcode = auth_parse(skb, &challenge, &chlen); in ieee80211_rx_frame_softmac()
2028 if(ieee->open_wep || !challenge){ in ieee80211_rx_frame_softmac()
[all …]
/drivers/staging/rtl8192e/
Drtllib_softmac.c1486 static void rtllib_auth_challenge(struct rtllib_device *ieee, u8 *challenge, int chlen) in rtllib_auth_challenge() argument
1503 memcpy(c, challenge, chlen); in rtllib_auth_challenge()
1514 kfree(challenge); in rtllib_auth_challenge()
1796 static inline u16 auth_parse(struct sk_buff *skb, u8 **challenge, int *chlen) in auth_parse() argument
1806 *challenge = NULL; in auth_parse()
1813 *challenge = kmemdup(t, *chlen, GFP_ATOMIC); in auth_parse()
1814 if (!*challenge) in auth_parse()
2314 u8 *challenge; in rtllib_rx_auth() local
2323 errcode = auth_parse(skb, &challenge, &chlen); in rtllib_rx_auth()
2325 if (ieee->open_wep || !challenge) { in rtllib_rx_auth()
[all …]
/drivers/staging/rtl8188eu/include/
Dieee80211.h1133 u8 *challenge; member
/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c1007 elems->challenge = pos; in rtw_ieee802_11_parse_elems()
/drivers/net/wireless/
Datmel.c2877 u8 *challenge, int challenge_len) in send_authentication_request() argument
2903 memcpy(auth.chall_text, challenge, challenge_len); in send_authentication_request()