/drivers/gpu/drm/ |
H A D | drm_auth.c | 146 struct drm_auth *auth = data; local 150 auth->magic = file_priv->magic; 156 auth->magic = sequence++; 158 } while (drm_find_file(file_priv->master, auth->magic)); 159 file_priv->magic = auth->magic; 160 drm_add_magic(file_priv->master, file_priv, auth->magic); 163 DRM_DEBUG("%u\n", auth->magic); 184 struct drm_auth *auth = data; local 187 DRM_DEBUG("%u\n", auth->magic); 188 if ((file = drm_find_file(file_priv->master, auth [all...] |
H A D | drm_ioc32.c | 290 int auth; /**< Is client authenticated? */ member in struct:drm_client32 319 || __get_user(c32.auth, &client->auth)
|
/drivers/net/wireless/hostap/ |
H A D | hostap_80211.h | 22 } __packed auth; member in union:hostap_ieee80211_mgmt::__anon3449
|
/drivers/target/iscsi/ |
H A D | iscsi_target_auth.c | 105 struct iscsi_node_auth *auth, 112 if (!(auth->naf_flags & NAF_USERID_SET) || 113 !(auth->naf_flags & NAF_PASSWORD_SET)) { 162 struct iscsi_node_auth *auth, 214 if (memcmp(chap_n, auth->userid, strlen(auth->userid)) != 0) { 258 sg_init_one(&sg, &auth->password, strlen(auth->password)); 259 ret = crypto_hash_update(&desc, &sg, strlen(auth->password)); 295 if (!auth 103 chap_server_open( struct iscsi_conn *conn, struct iscsi_node_auth *auth, const char *a_str, char *aic_str, unsigned int *aic_len) argument 160 chap_server_compute_md5( struct iscsi_conn *conn, struct iscsi_node_auth *auth, char *nr_in_ptr, char *nr_out_ptr, unsigned int *nr_out_len) argument 414 chap_got_response( struct iscsi_conn *conn, struct iscsi_node_auth *auth, char *nr_in_ptr, char *nr_out_ptr, unsigned int *nr_out_len) argument 436 chap_main_loop( struct iscsi_conn *conn, struct iscsi_node_auth *auth, char *in_text, char *out_text, int *in_len, int *out_len) argument [all...] |
H A D | iscsi_target_nego.c | 112 struct iscsi_node_auth *auth; local 123 " CHAP auth\n"); 130 " CHAP auth\n"); 134 auth = ISCSI_NODE_AUTH(iscsi_nacl); 139 auth = &iscsit_global->discovery_acl.node_auth; 151 return srp_main_loop(conn, auth, in_buf, out_buf, 155 return chap_main_loop(conn, auth, in_buf, out_buf,
|
/drivers/staging/rtl8187se/ieee80211/ |
H A D | ieee80211_crypt_ccmp.c | 116 u8 *pn, size_t dlen, u8 *b0, u8 *auth, 182 ieee80211_ccmp_aes_encrypt(tfm, b0, auth); 183 xor_block(auth, aad, AES_BLOCK_LEN); 184 ieee80211_ccmp_aes_encrypt(tfm, auth, auth); 185 xor_block(auth, &aad[AES_BLOCK_LEN], AES_BLOCK_LEN); 186 ieee80211_ccmp_aes_encrypt(tfm, auth, auth); 114 ccmp_init_blocks(struct crypto_tfm *tfm, struct ieee80211_hdr_4addr *hdr, u8 *pn, size_t dlen, u8 *b0, u8 *auth, u8 *s0) argument
|
H A D | ieee80211_softmac.c | 741 struct ieee80211_authentication *auth; local 747 auth = (struct ieee80211_authentication *) 750 auth->header.frame_ctl = IEEE80211_STYPE_AUTH; 751 if (challengelen) auth->header.frame_ctl |= IEEE80211_FCTL_WEP; 753 auth->header.duration_id = 0x013a; //FIXME 755 memcpy(auth->header.addr1, beacon->bssid, ETH_ALEN); 756 memcpy(auth->header.addr2, ieee->dev->dev_addr, ETH_ALEN); 757 memcpy(auth->header.addr3, beacon->bssid, ETH_ALEN); 759 auth->algorithm = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY; 761 auth 945 struct ieee80211_authentication *auth; local [all...] |
/drivers/staging/rtl8192e/ |
H A D | rtllib_crypt_ccmp.c | 110 u8 *pn, size_t dlen, u8 *b0, u8 *auth, 175 rtllib_ccmp_aes_encrypt(tfm, b0, auth); 176 xor_block(auth, aad, AES_BLOCK_LEN); 177 rtllib_ccmp_aes_encrypt(tfm, auth, auth); 178 xor_block(auth, &aad[AES_BLOCK_LEN], AES_BLOCK_LEN); 179 rtllib_ccmp_aes_encrypt(tfm, auth, auth); 108 ccmp_init_blocks(struct crypto_tfm *tfm, struct rtllib_hdr_4addr *hdr, u8 *pn, size_t dlen, u8 *b0, u8 *auth, u8 *s0) argument
|
H A D | rtllib_softmac.c | 795 struct rtllib_authentication *auth; local 806 auth = (struct rtllib_authentication *) 809 auth->header.frame_ctl = RTLLIB_STYPE_AUTH; 811 auth->header.frame_ctl |= RTLLIB_FCTL_WEP; 813 auth->header.duration_id = 0x013a; 814 memcpy(auth->header.addr1, beacon->bssid, ETH_ALEN); 815 memcpy(auth->header.addr2, ieee->dev->dev_addr, ETH_ALEN); 816 memcpy(auth->header.addr3, beacon->bssid, ETH_ALEN); 818 auth->algorithm = WLAN_AUTH_OPEN; 820 auth 1043 struct rtllib_authentication *auth; local [all...] |
/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_crypt_ccmp.c | 117 u8 *pn, size_t dlen, u8 *b0, u8 *auth, 183 ieee80211_ccmp_aes_encrypt(tfm, b0, auth); 184 xor_block(auth, aad, AES_BLOCK_LEN); 185 ieee80211_ccmp_aes_encrypt(tfm, auth, auth); 186 xor_block(auth, &aad[AES_BLOCK_LEN], AES_BLOCK_LEN); 187 ieee80211_ccmp_aes_encrypt(tfm, auth, auth); 115 ccmp_init_blocks(struct crypto_tfm *tfm, struct ieee80211_hdr_4addr *hdr, u8 *pn, size_t dlen, u8 *b0, u8 *auth, u8 *s0) argument
|
H A D | ieee80211_softmac.c | 651 struct ieee80211_authentication *auth; local 659 auth = (struct ieee80211_authentication *) 662 auth->header.frame_ctl = IEEE80211_STYPE_AUTH; 663 if (challengelen) auth->header.frame_ctl |= IEEE80211_FCTL_WEP; 665 auth->header.duration_id = 0x013a; //FIXME 667 memcpy(auth->header.addr1, beacon->bssid, ETH_ALEN); 668 memcpy(auth->header.addr2, ieee->dev->dev_addr, ETH_ALEN); 669 memcpy(auth->header.addr3, beacon->bssid, ETH_ALEN); 671 //auth->algorithm = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY; 673 auth 900 struct ieee80211_authentication *auth; local [all...] |
/drivers/net/wireless/wl1251/ |
H A D | acx.c | 129 struct acx_sleep_auth *auth; local 132 wl1251_debug(DEBUG_ACX, "acx sleep auth"); 134 auth = kzalloc(sizeof(*auth), GFP_KERNEL); 135 if (!auth) { 140 auth->sleep_auth = sleep_auth; 142 ret = wl1251_cmd_configure(wl, ACX_SLEEP_AUTH, auth, sizeof(*auth)); 145 kfree(auth);
|
/drivers/staging/rtl8712/ |
H A D | rtl871x_cmd.c | 483 u8 *auth; local 531 auth = &psecuritypriv->authenticator_ie[0];
|
/drivers/net/wireless/ath/ath6kl/ |
H A D | main.c | 58 u8 ucipher, u8 auth, u8 apsd_info) 73 sta->auth = auth; 443 u8 keymgmt, u8 ucipher, u8 auth, 501 keymgmt, ucipher, auth, apsd_info); 56 ath6kl_add_new_sta(struct ath6kl_vif *vif, u8 *mac, u16 aid, u8 *wpaie, size_t ielen, u8 keymgmt, u8 ucipher, u8 auth, u8 apsd_info) argument 442 ath6kl_connect_ap_mode_sta(struct ath6kl_vif *vif, u16 aid, u8 *mac_addr, u8 keymgmt, u8 ucipher, u8 auth, u8 assoc_req_len, u8 *assoc_info, u8 apsd_info) argument
|
H A D | core.h | 317 u8 auth; member in struct:ath6kl_sta 791 u8 keymgmt, u8 ucipher, u8 auth,
|
H A D | wmi.h | 1414 u8 auth; member in struct:wmi_connect_event::__anon3190::__anon3192
|
/drivers/net/wireless/libertas/ |
H A D | types.h | 177 __le16 auth; member in struct:mrvl_ie_auth_type
|
H A D | cfg.c | 335 * Add auth type TLV. 344 struct mrvl_ie_auth_type *auth = (void *) tlv; local 349 * 01 auth type 351 auth->header.type = cpu_to_le16(TLV_TYPE_AUTH_TYPE); 352 auth->header.len = cpu_to_le16(sizeof(*auth)-sizeof(auth->header)); 353 auth->auth = cpu_to_le16(lbs_auth_to_authtype(auth_type)); 354 return sizeof(*auth); [all...] |
/drivers/net/wireless/wl12xx/ |
H A D | acx.c | 70 struct acx_sleep_auth *auth; local 73 wl1271_debug(DEBUG_ACX, "acx sleep auth"); 75 auth = kzalloc(sizeof(*auth), GFP_KERNEL); 76 if (!auth) { 81 auth->sleep_auth = sleep_auth; 83 ret = wl1271_cmd_configure(wl, ACX_SLEEP_AUTH, auth, sizeof(*auth)); 86 kfree(auth);
|
/drivers/gpu/drm/radeon/ |
H A D | r100.c | 1224 const unsigned *auth, unsigned n, 1250 if (auth[j] & m) { 1257 if (!(auth[j] & m)) { 1222 r100_cs_parse_packet0(struct radeon_cs_parser *p, struct radeon_cs_packet *pkt, const unsigned *auth, unsigned n, radeon_packet0_check_t check) argument
|
/drivers/net/wireless/bcmdhd/ |
H A D | wl_iw.c | 2109 int error, val, wsec, auth; local 2135 (error = dev_wlc_ioctl(dev, WLC_GET_AUTH, &auth, sizeof(auth)))) 2141 auth = dtoh32(auth); 2151 if (auth) { 2594 if (!error && (error = dev_wlc_intvar_set(dev, "auth", val))) 2729 if ((error = dev_wlc_intvar_get(dev, "auth", &val)))
|
H A D | wl_cfg80211.c | 2413 WL_ERR(("invalid auth type (%d)\n", sme->auth_type)); 2417 err = wldev_iovar_setint_bsscfg(dev, "auth", val, bssidx); 2419 WL_ERR(("set auth failed (%d)\n", err)); 2619 err = wldev_iovar_setint_bsscfg(dev, "auth", val, bssidx); 2621 WL_ERR(("set auth failed (%d)\n", err)); 2762 WL_ERR(("Invalid auth type\n")); 4519 /* set auth */ 4520 err = wldev_iovar_setint_bsscfg(dev, "auth", 0, bssidx); 4522 WL_ERR(("auth error %d\n", err)); 4531 /* set upper-layer auth */ 4546 u16 auth = 0; /* d11 open authentication */ local 4677 u16 auth = 0; /* d11 open authentication */ local [all...] |
/drivers/s390/block/ |
H A D | dasd_eckd.h | 119 unsigned char auth:2; /* Access authorization */ member in struct:DE_eckd_data::__anon3892
|
/drivers/net/wireless/ |
H A D | atmel.c | 2888 struct auth_body auth; local 2901 auth.alg = cpu_to_le16(system); 2903 auth.status = 0; 2904 auth.trans_seq = cpu_to_le16(priv->CurrentAuthentTransactionSeqNum); 2909 auth.el_id = 16; /* challenge_text */ 2910 auth.chall_text_len = challenge_len; 2911 memcpy(auth.chall_text, challenge, challenge_len); 2912 atmel_transmit_management_frame(priv, &header, (u8 *)&auth, 8 + challenge_len); 2914 atmel_transmit_management_frame(priv, &header, (u8 *)&auth, 6); 3068 struct auth_body *auth local 3484 int auth = WLAN_AUTH_OPEN; local 3599 int auth = WLAN_AUTH_OPEN; local [all...] |
/drivers/net/wireless/ipw2x00/ |
H A D | ipw2200.c | 4579 struct notif_authenticate *auth local 4580 = ¬if->u.auth; 4593 le16_to_cpu(auth->status), 4596 (auth->status))); 4671 struct notif_authenticate *auth = ¬if->u.auth; local 4672 switch (auth->state) { 4687 le16_to_cpu(auth->status), 4689 (auth-> 4752 IPW_DEBUG_NOTIF("auth [all...] |