Searched defs:cipher (Results 1 - 9 of 9) sorted by relevance
/net/sunrpc/auth_gss/ |
H A D | gss_krb5_seqnum.c | 46 struct crypto_blkcipher *cipher; local 51 cipher = crypto_alloc_blkcipher(kctx->gk5e->encrypt_name, 0, 53 if (IS_ERR(cipher)) 54 return PTR_ERR(cipher); 65 code = krb5_rc4_setup_seq_key(kctx, cipher, cksum); 69 code = krb5_encrypt(cipher, cksum, plain, buf, 8); 71 crypto_free_blkcipher(cipher); 104 struct crypto_blkcipher *cipher; local 109 cipher = crypto_alloc_blkcipher(kctx->gk5e->encrypt_name, 0, 111 if (IS_ERR(cipher)) [all...] |
H A D | gss_krb5_keys.c | 159 struct crypto_blkcipher *cipher; local 169 cipher = crypto_alloc_blkcipher(gk5e->encrypt_name, 0, 171 if (IS_ERR(cipher)) 173 if (crypto_blkcipher_setkey(cipher, inkey->data, inkey->len)) 210 (*(gk5e->encrypt))(cipher, NULL, inblock.data, 250 crypto_free_blkcipher(cipher);
|
H A D | gss_krb5_wrap.c | 236 struct crypto_blkcipher *cipher; local 238 cipher = crypto_alloc_blkcipher(kctx->gk5e->encrypt_name, 0, 240 if (IS_ERR(cipher)) 243 krb5_rc4_setup_enc_key(kctx, cipher, seq_send); 245 err = gss_encrypt_xdr_buf(cipher, buf, 247 crypto_free_blkcipher(cipher); 324 struct crypto_blkcipher *cipher; local 327 cipher = crypto_alloc_blkcipher(kctx->gk5e->encrypt_name, 0, 329 if (IS_ERR(cipher)) 332 krb5_rc4_setup_enc_key(kctx, cipher, seqnu [all...] |
H A D | gss_krb5_crypto.c | 597 gss_krb5_cts_crypt(struct crypto_blkcipher *cipher, struct xdr_buf *buf, argument 602 struct blkcipher_desc desc = { .tfm = cipher, .info = iv }; 650 struct crypto_blkcipher *cipher, *aux_cipher; local 659 cipher = kctx->initiator_enc; 664 cipher = kctx->acceptor_enc; 669 blocksize = crypto_blkcipher_blocksize(cipher); 746 err = gss_krb5_cts_crypt(cipher, buf, 771 struct crypto_blkcipher *cipher, *aux_cipher; local 780 cipher = kctx->acceptor_enc; 785 cipher 858 krb5_rc4_setup_seq_key(struct krb5_ctx *kctx, struct crypto_blkcipher *cipher, unsigned char *cksum) argument 924 krb5_rc4_setup_enc_key(struct krb5_ctx *kctx, struct crypto_blkcipher *cipher, s32 seqnum) argument [all...] |
/net/mac80211/ |
H A D | key.c | 148 switch (key->conf.cipher) { 312 struct ieee80211_key *ieee80211_key_alloc(u32 cipher, int idx, size_t key_len, argument 332 key->conf.cipher = cipher; 335 switch (cipher) { 402 if (key->conf.cipher == WLAN_CIPHER_SUITE_CCMP) 404 if (key->conf.cipher == WLAN_CIPHER_SUITE_AES_CMAC) 692 switch (key->conf.cipher) { 729 switch (key->conf.cipher) {
|
/net/wireless/ |
H A D | sme.c | 807 u32 cipher; local 810 cipher = connkeys->params[idx].cipher; 812 if (cipher == WLAN_CIPHER_SUITE_WEP40 || 813 cipher == WLAN_CIPHER_SUITE_WEP104) { 823 connect->crypto.cipher_group = cipher; 827 connect->crypto.ciphers_pairwise[0] = cipher;
|
H A D | util.c | 176 bool cfg80211_supported_cipher_suite(struct wiphy *wiphy, u32 cipher) argument 180 if (cipher == wiphy->cipher_suites[i]) 200 * or a vendor specific cipher (because current deployments use 206 ((params->cipher == WLAN_CIPHER_SUITE_TKIP) || 207 (params->cipher == WLAN_CIPHER_SUITE_CCMP) || 208 (params->cipher == WLAN_CIPHER_SUITE_AES_CMAC))) 211 switch (params->cipher) { 244 switch (params->cipher) { 258 if (!cfg80211_supported_cipher_suite(&rdev->wiphy, params->cipher)) 711 if (!wdev->connect_keys->params[i].cipher) [all...] |
H A D | wext-compat.c | 463 if (params->cipher == WLAN_CIPHER_SUITE_AES_CMAC) { 505 wdev->wext.keys->params[idx].cipher = 0; 539 if ((params->cipher == WLAN_CIPHER_SUITE_WEP40 || 540 params->cipher == WLAN_CIPHER_SUITE_WEP104) && 563 if (params->cipher == WLAN_CIPHER_SUITE_AES_CMAC && 642 params.cipher = WLAN_CIPHER_SUITE_WEP40; 644 params.cipher = WLAN_CIPHER_SUITE_WEP104; 664 u32 cipher; local 679 cipher = 0; 683 cipher 1001 cfg80211_set_cipher_group(struct wireless_dev *wdev, u32 cipher) argument 1026 cfg80211_set_cipher_pairwise(struct wireless_dev *wdev, u32 cipher) argument [all...] |
/net/rxrpc/ |
H A D | ar-internal.h | 253 struct crypto_blkcipher *cipher; /* encryption handle */ member in struct:rxrpc_connection
|
Completed in 155 milliseconds