/linux-2.6.39/drivers/gpu/drm/ |
D | drm_auth.c | 144 struct drm_auth *auth = data; in drm_getmagic() local 148 auth->magic = file_priv->magic; in drm_getmagic() 154 auth->magic = sequence++; in drm_getmagic() 156 } while (drm_find_file(file_priv->master, auth->magic)); in drm_getmagic() 157 file_priv->magic = auth->magic; in drm_getmagic() 158 drm_add_magic(file_priv->master, file_priv, auth->magic); in drm_getmagic() 161 DRM_DEBUG("%u\n", auth->magic); in drm_getmagic() 180 struct drm_auth *auth = data; in drm_authmagic() local 183 DRM_DEBUG("%u\n", auth->magic); in drm_authmagic() 184 if ((file = drm_find_file(file_priv->master, auth->magic))) { in drm_authmagic() [all …]
|
/linux-2.6.39/net/sunrpc/ |
D | auth.c | 128 struct rpc_auth *auth; in rpcauth_create() local 132 auth = ERR_PTR(-EINVAL); in rpcauth_create() 145 auth = ops->create(clnt, pseudoflavor); in rpcauth_create() 147 if (IS_ERR(auth)) in rpcauth_create() 148 return auth; in rpcauth_create() 151 clnt->cl_auth = auth; in rpcauth_create() 154 return auth; in rpcauth_create() 159 rpcauth_release(struct rpc_auth *auth) in rpcauth_release() argument 161 if (!atomic_dec_and_test(&auth->au_count)) in rpcauth_release() 163 auth->au_ops->destroy(auth); in rpcauth_release() [all …]
|
D | auth_unix.c | 44 unx_destroy(struct rpc_auth *auth) in unx_destroy() argument 46 dprintk("RPC: destroying UNIX authenticator %p\n", auth); in unx_destroy() 47 rpcauth_clear_credcache(auth->au_credcache); in unx_destroy() 54 unx_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) in unx_lookup_cred() argument 56 return rpcauth_lookup_credcache(auth, acred, flags); in unx_lookup_cred() 60 unx_create_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) in unx_create_cred() argument 72 rpcauth_init_cred(&cred->uc_base, acred, auth, &unix_credops); in unx_create_cred()
|
D | auth_generic.c | 60 struct rpc_auth *auth = task->tk_client->cl_auth; in generic_bind_cred() local 63 return auth->au_ops->lookup_cred(auth, acred, lookupflags); in generic_bind_cred() 70 generic_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) in generic_lookup_cred() argument 76 generic_create_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) in generic_create_cred() argument
|
D | auth_null.c | 28 nul_destroy(struct rpc_auth *auth) in nul_destroy() argument 36 nul_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) in nul_lookup_cred() argument
|
/linux-2.6.39/crypto/ |
D | authenc.c | 29 struct crypto_ahash_spawn auth; member 35 struct crypto_ahash *auth; member 61 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_setkey() local 85 crypto_ahash_clear_flags(auth, CRYPTO_TFM_REQ_MASK); in crypto_authenc_setkey() 86 crypto_ahash_set_flags(auth, crypto_aead_get_flags(authenc) & in crypto_authenc_setkey() 88 err = crypto_ahash_setkey(auth, key, authkeylen); in crypto_authenc_setkey() 89 crypto_aead_set_flags(authenc, crypto_ahash_get_flags(auth) & in crypto_authenc_setkey() 251 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_ahash_fb() local 257 hash = (u8 *)ALIGN((unsigned long)hash + crypto_ahash_alignmask(auth), in crypto_authenc_ahash_fb() 258 crypto_ahash_alignmask(auth) + 1); in crypto_authenc_ahash_fb() [all …]
|
D | authencesn.c | 29 struct crypto_ahash_spawn auth; member 35 struct crypto_ahash *auth; member 65 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_setkey() local 89 crypto_ahash_clear_flags(auth, CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_setkey() 90 crypto_ahash_set_flags(auth, crypto_aead_get_flags(authenc_esn) & in crypto_authenc_esn_setkey() 92 err = crypto_ahash_setkey(auth, key, authkeylen); in crypto_authenc_esn_setkey() 93 crypto_aead_set_flags(authenc_esn, crypto_ahash_get_flags(auth) & in crypto_authenc_esn_setkey() 361 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_ahash() local 367 hash = (u8 *)ALIGN((unsigned long)hash + crypto_ahash_alignmask(auth), in crypto_authenc_esn_ahash() 368 crypto_ahash_alignmask(auth) + 1); in crypto_authenc_esn_ahash() [all …]
|
/linux-2.6.39/net/sctp/ |
D | output.c | 83 packet->auth = NULL; in sctp_packet_reset() 204 struct sctp_chunk *auth; in sctp_packet_bundle_auth() local 220 if (!chunk->auth) in sctp_packet_bundle_auth() 223 auth = sctp_make_auth(asoc); in sctp_packet_bundle_auth() 224 if (!auth) in sctp_packet_bundle_auth() 227 retval = sctp_packet_append_chunk(pkt, auth); in sctp_packet_bundle_auth() 325 packet->auth = chunk; in sctp_packet_append_chunk() 354 unsigned char *auth = NULL; /* pointer to auth in skb data */ in sctp_packet_transmit() local 455 if (chunk == packet->auth) in sctp_packet_transmit() 456 auth = skb_tail_pointer(nskb); in sctp_packet_transmit() [all …]
|
D | auth.c | 704 struct sctp_auth_chunk *auth, in sctp_auth_calculate_hmac() argument 719 key_id = ntohs(auth->auth_hdr.shkey_id); in sctp_auth_calculate_hmac() 720 hmac_id = ntohs(auth->auth_hdr.hmac_id); in sctp_auth_calculate_hmac() 740 sg_init_one(&sg, auth, end - (unsigned char *)auth); in sctp_auth_calculate_hmac() 745 digest = auth->auth_hdr.hmac; in sctp_auth_calculate_hmac()
|
/linux-2.6.39/net/xfrm/ |
D | xfrm_algo.c | 151 .auth = { 169 .auth = { 187 .auth = { 205 .auth = { 222 .auth = { 239 .auth = { 257 .auth = { 274 .auth = {
|
/linux-2.6.39/net/sunrpc/auth_gss/ |
D | auth_gss.c | 253 struct gss_auth *auth; member 397 struct gss_api_mech *mech = gss_msg->auth->mech; in gss_encode_v1_msg() 461 gss_msg->auth = gss_auth; in gss_alloc_msg() 673 p = gss_fill_context(p, end, ctx, gss_msg->auth->mech); in gss_pipe_downcall() 792 struct rpc_auth * auth; in gss_create() local 812 auth = &gss_auth->rpc_auth; in gss_create() 813 auth->au_cslack = GSS_CRED_SLACK >> 2; in gss_create() 814 auth->au_rslack = GSS_VERF_SLACK >> 2; in gss_create() 815 auth->au_ops = &authgss_ops; in gss_create() 816 auth->au_flavor = flavor; in gss_create() [all …]
|
/linux-2.6.39/net/ceph/ |
D | mon_client.c | 125 ceph_auth_reset(monc->auth); in __close_session() 153 ret = ceph_auth_build_hello(monc->auth, in __open_session() 708 if (monc->auth->ops->is_authenticated(monc->auth)) in delayed_work() 761 monc->auth = ceph_auth_init(cl->options->name, in ceph_monc_init() 763 if (IS_ERR(monc->auth)) in ceph_monc_init() 764 return PTR_ERR(monc->auth); in ceph_monc_init() 765 monc->auth->want_keys = in ceph_monc_init() 832 ceph_auth_destroy(monc->auth); in ceph_monc_stop() 850 if (monc->auth->ops) in handle_auth_reply() 851 was_auth = monc->auth->ops->is_authenticated(monc->auth); in handle_auth_reply() [all …]
|
D | auth_x.c | 412 struct ceph_x_authenticate *auth = (void *)(head + 1); in ceph_x_build_request() local 413 void *p = auth + 1; in ceph_x_build_request() 425 get_random_bytes(&auth->client_challenge, sizeof(u64)); in ceph_x_build_request() 426 tmp.client_challenge = auth->client_challenge; in ceph_x_build_request() 433 auth->struct_v = 1; in ceph_x_build_request() 434 auth->key = 0; in ceph_x_build_request() 436 auth->key ^= *(__le64 *)u; in ceph_x_build_request() 438 xi->server_challenge, le64_to_cpu(auth->client_challenge), in ceph_x_build_request() 439 le64_to_cpu(auth->key)); in ceph_x_build_request()
|
/linux-2.6.39/drivers/staging/rtl8187se/ieee80211/ |
D | ieee80211_crypt_ccmp.c | 117 u8 *pn, size_t dlen, u8 *b0, u8 *auth, in ccmp_init_blocks() argument 183 ieee80211_ccmp_aes_encrypt(tfm, b0, auth); in ccmp_init_blocks() 184 xor_block(auth, aad, AES_BLOCK_LEN); in ccmp_init_blocks() 185 ieee80211_ccmp_aes_encrypt(tfm, auth, auth); in ccmp_init_blocks() 186 xor_block(auth, &aad[AES_BLOCK_LEN], AES_BLOCK_LEN); in ccmp_init_blocks() 187 ieee80211_ccmp_aes_encrypt(tfm, auth, auth); in ccmp_init_blocks()
|
D | ieee80211_softmac.c | 741 struct ieee80211_authentication *auth; in ieee80211_authentication_req() local 747 auth = (struct ieee80211_authentication *) in ieee80211_authentication_req() 750 auth->header.frame_ctl = IEEE80211_STYPE_AUTH; in ieee80211_authentication_req() 751 if (challengelen) auth->header.frame_ctl |= IEEE80211_FCTL_WEP; in ieee80211_authentication_req() 753 auth->header.duration_id = 0x013a; //FIXME in ieee80211_authentication_req() 755 memcpy(auth->header.addr1, beacon->bssid, ETH_ALEN); in ieee80211_authentication_req() 756 memcpy(auth->header.addr2, ieee->dev->dev_addr, ETH_ALEN); in ieee80211_authentication_req() 757 memcpy(auth->header.addr3, beacon->bssid, ETH_ALEN); in ieee80211_authentication_req() 759 auth->algorithm = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY; in ieee80211_authentication_req() 761 auth->transaction = cpu_to_le16(ieee->associate_seq); in ieee80211_authentication_req() [all …]
|
/linux-2.6.39/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_ccmp.c | 118 u8 *pn, size_t dlen, u8 *b0, u8 *auth, in ccmp_init_blocks() argument 184 ieee80211_ccmp_aes_encrypt(tfm, b0, auth); in ccmp_init_blocks() 185 xor_block(auth, aad, AES_BLOCK_LEN); in ccmp_init_blocks() 186 ieee80211_ccmp_aes_encrypt(tfm, auth, auth); in ccmp_init_blocks() 187 xor_block(auth, &aad[AES_BLOCK_LEN], AES_BLOCK_LEN); in ccmp_init_blocks() 188 ieee80211_ccmp_aes_encrypt(tfm, auth, auth); in ccmp_init_blocks()
|
D | ieee80211_softmac.c | 652 struct ieee80211_authentication *auth; in ieee80211_authentication_req() local 660 auth = (struct ieee80211_authentication *) in ieee80211_authentication_req() 663 auth->header.frame_ctl = IEEE80211_STYPE_AUTH; in ieee80211_authentication_req() 664 if (challengelen) auth->header.frame_ctl |= IEEE80211_FCTL_WEP; in ieee80211_authentication_req() 666 auth->header.duration_id = 0x013a; //FIXME in ieee80211_authentication_req() 668 memcpy(auth->header.addr1, beacon->bssid, ETH_ALEN); in ieee80211_authentication_req() 669 memcpy(auth->header.addr2, ieee->dev->dev_addr, ETH_ALEN); in ieee80211_authentication_req() 670 memcpy(auth->header.addr3, beacon->bssid, ETH_ALEN); in ieee80211_authentication_req() 674 auth->algorithm = WLAN_AUTH_OPEN; in ieee80211_authentication_req() 676 auth->algorithm = WLAN_AUTH_SHARED_KEY; in ieee80211_authentication_req() [all …]
|
/linux-2.6.39/drivers/staging/rtl8192e/ieee80211/ |
D | ieee80211_crypt_ccmp.c | 121 u8 *pn, size_t dlen, u8 *b0, u8 *auth, in ccmp_init_blocks() argument 187 ieee80211_ccmp_aes_encrypt(tfm, b0, auth); in ccmp_init_blocks() 188 xor_block(auth, aad, AES_BLOCK_LEN); in ccmp_init_blocks() 189 ieee80211_ccmp_aes_encrypt(tfm, auth, auth); in ccmp_init_blocks() 190 xor_block(auth, &aad[AES_BLOCK_LEN], AES_BLOCK_LEN); in ccmp_init_blocks() 191 ieee80211_ccmp_aes_encrypt(tfm, auth, auth); in ccmp_init_blocks()
|
D | ieee80211_softmac.c | 658 struct ieee80211_authentication *auth; in ieee80211_authentication_req() local 666 auth = (struct ieee80211_authentication *) in ieee80211_authentication_req() 669 auth->header.frame_ctl = IEEE80211_STYPE_AUTH; in ieee80211_authentication_req() 670 if (challengelen) auth->header.frame_ctl |= IEEE80211_FCTL_WEP; in ieee80211_authentication_req() 672 auth->header.duration_id = 0x013a; //FIXME in ieee80211_authentication_req() 674 memcpy(auth->header.addr1, beacon->bssid, ETH_ALEN); in ieee80211_authentication_req() 675 memcpy(auth->header.addr2, ieee->dev->dev_addr, ETH_ALEN); in ieee80211_authentication_req() 676 memcpy(auth->header.addr3, beacon->bssid, ETH_ALEN); in ieee80211_authentication_req() 679 auth->algorithm = WLAN_AUTH_OPEN; in ieee80211_authentication_req() 681 auth->algorithm = WLAN_AUTH_SHARED_KEY; in ieee80211_authentication_req() [all …]
|
/linux-2.6.39/net/wireless/ |
D | lib80211_crypt_ccmp.c | 115 u8 * pn, size_t dlen, u8 * b0, u8 * auth, u8 * s0) in ccmp_init_blocks() argument 173 lib80211_ccmp_aes_encrypt(tfm, b0, auth); in ccmp_init_blocks() 174 xor_block(auth, aad, AES_BLOCK_LEN); in ccmp_init_blocks() 175 lib80211_ccmp_aes_encrypt(tfm, auth, auth); in ccmp_init_blocks() 176 xor_block(auth, &aad[AES_BLOCK_LEN], AES_BLOCK_LEN); in ccmp_init_blocks() 177 lib80211_ccmp_aes_encrypt(tfm, auth, auth); in ccmp_init_blocks()
|
/linux-2.6.39/drivers/staging/rt2860/common/ |
D | cmm_info.c | 891 char *GetAuthMode(char auth) in GetAuthMode() argument 893 if (auth == Ndis802_11AuthModeOpen) in GetAuthMode() 895 if (auth == Ndis802_11AuthModeShared) in GetAuthMode() 897 if (auth == Ndis802_11AuthModeAutoSwitch) in GetAuthMode() 899 if (auth == Ndis802_11AuthModeWPA) in GetAuthMode() 901 if (auth == Ndis802_11AuthModeWPAPSK) in GetAuthMode() 903 if (auth == Ndis802_11AuthModeWPANone) in GetAuthMode() 905 if (auth == Ndis802_11AuthModeWPA2) in GetAuthMode() 907 if (auth == Ndis802_11AuthModeWPA2PSK) in GetAuthMode() 909 if (auth == Ndis802_11AuthModeWPA1WPA2) in GetAuthMode() [all …]
|
/linux-2.6.39/fs/ncpfs/ |
D | ioctl.c | 588 user.auth_type = server->auth.auth_type; in __ncp_ioctl() 590 user.object_name_len = server->auth.object_name_len; in __ncp_ioctl() 596 server->auth.object_name, in __ncp_ioctl() 615 user.auth_type = server->auth.auth_type; in __ncp_ioctl() 617 user.object_name_len = server->auth.object_name_len; in __ncp_ioctl() 623 server->auth.object_name, in __ncp_ioctl() 669 oldname = server->auth.object_name; in __ncp_ioctl() 670 oldnamelen = server->auth.object_name_len; in __ncp_ioctl() 673 server->auth.auth_type = user.auth_type; in __ncp_ioctl() 674 server->auth.object_name_len = user.object_name_len; in __ncp_ioctl() [all …]
|
/linux-2.6.39/Documentation/ |
D | keys-request-key.txt | 94 keyring that contains a link to auth key V. 103 search notes that the session keyring has auth key V in its bottom level. 113 (9) Upon instantiating key U, auth key V is automatically revoked so that it 120 be created uninstantiated, another auth key (X) would be created (as per step 122 context specified by auth key X will still be process A, as it was in auth key
|
/linux-2.6.39/drivers/staging/ath6kl/include/ |
D | ar6kap_common.h | 39 u8 auth; member
|
/linux-2.6.39/drivers/net/wireless/wl1251/ |
D | acx.c | 129 struct acx_sleep_auth *auth; in wl1251_acx_sleep_auth() local 134 auth = kzalloc(sizeof(*auth), GFP_KERNEL); in wl1251_acx_sleep_auth() 135 if (!auth) { in wl1251_acx_sleep_auth() 140 auth->sleep_auth = sleep_auth; in wl1251_acx_sleep_auth() 142 ret = wl1251_cmd_configure(wl, ACX_SLEEP_AUTH, auth, sizeof(*auth)); in wl1251_acx_sleep_auth() 147 kfree(auth); in wl1251_acx_sleep_auth()
|