/net/ceph/ |
D | crypto.c | 218 static int ceph_aes_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_aes_crypt() argument 226 int crypt_len = encrypt ? in_len + pad_byte : in_len; in ceph_aes_crypt() 230 if (encrypt) in ceph_aes_crypt() 247 if (encrypt) in ceph_aes_crypt() 254 encrypt ? "en" : "de", ret); in ceph_aes_crypt() 262 if (encrypt) { in ceph_aes_crypt() 282 int ceph_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_crypt() argument 290 return ceph_aes_crypt(key, encrypt, buf, buf_len, in_len, in ceph_crypt()
|
D | crypto.h | 27 int ceph_crypt(const struct ceph_crypto_key *key, bool encrypt,
|
/net/sunrpc/auth_gss/ |
D | gss_krb5_mech.c | 43 .encrypt = krb5_encrypt, 65 .encrypt = krb5_encrypt, 86 .encrypt = krb5_encrypt, 109 .encrypt = krb5_encrypt,
|
D | gss_krb5_crypto.c | 206 err = kctx->gk5e->encrypt(kctx->seq, NULL, checksumdata, in make_checksum() 544 u32 offset, u8 *iv, struct page **pages, int encrypt) in gss_krb5_cts_crypt() argument 567 if (encrypt) in gss_krb5_cts_crypt() 581 if (encrypt) in gss_krb5_cts_crypt()
|
D | gss_krb5_keys.c | 200 (*(gk5e->encrypt))(cipher, NULL, inblock.data, in krb5_derive_key()
|
/net/tipc/ |
D | crypto.c | 1707 goto encrypt; in tipc_crypto_xmit() 1709 goto encrypt; in tipc_crypto_xmit() 1713 goto encrypt; in tipc_crypto_xmit() 1724 goto encrypt; in tipc_crypto_xmit() 1728 goto encrypt; in tipc_crypto_xmit() 1736 goto encrypt; in tipc_crypto_xmit() 1739 goto encrypt; in tipc_crypto_xmit() 1749 goto encrypt; in tipc_crypto_xmit() 1754 encrypt: in tipc_crypto_xmit()
|
/net/bluetooth/ |
D | hci_conn.c | 1406 cp.encrypt = 0x01; in hci_conn_encrypt() 1440 goto encrypt; in hci_conn_security() 1447 goto encrypt; in hci_conn_security() 1455 goto encrypt; in hci_conn_security() 1464 goto encrypt; in hci_conn_security() 1480 encrypt: in hci_conn_security()
|
D | hci_event.c | 2939 cp.encrypt = 0x01; in hci_auth_complete_evt() 2959 cp.encrypt = 0x01; in hci_auth_complete_evt() 3069 if (ev->encrypt) { in hci_encrypt_change_evt() 3079 if ((conn->type == ACL_LINK && ev->encrypt == 0x02) || in hci_encrypt_change_evt() 3116 if (!ev->status && ev->encrypt && conn->type == ACL_LINK) { in hci_encrypt_change_evt()
|
D | l2cap_core.c | 8318 static inline void l2cap_check_encryption(struct l2cap_chan *chan, u8 encrypt) in l2cap_check_encryption() argument 8323 if (encrypt == 0x00) { in l2cap_check_encryption() 8335 static void l2cap_security_cfm(struct hci_conn *hcon, u8 status, u8 encrypt) in l2cap_security_cfm() argument 8343 BT_DBG("conn %p status 0x%2.2x encrypt %u", conn, status, encrypt); in l2cap_security_cfm() 8358 if (!status && encrypt) in l2cap_security_cfm() 8369 l2cap_check_encryption(chan, encrypt); in l2cap_security_cfm()
|
D | hci_core.c | 1021 __u8 encrypt = opt; in hci_encrypt_req() local 1023 BT_DBG("%s %x", req->hdev->name, encrypt); in hci_encrypt_req() 1026 hci_req_add(req, HCI_OP_WRITE_ENCRYPT_MODE, 1, &encrypt); in hci_encrypt_req()
|
/net/bluetooth/rfcomm/ |
D | core.c | 2133 static void rfcomm_security_cfm(struct hci_conn *conn, u8 status, u8 encrypt) in rfcomm_security_cfm() argument 2138 BT_DBG("conn %p status 0x%02x encrypt 0x%02x", conn, status, encrypt); in rfcomm_security_cfm() 2147 if (status || encrypt == 0x00) { in rfcomm_security_cfm() 2153 if (d->state == BT_CONNECTED && !status && encrypt == 0x00) { in rfcomm_security_cfm()
|
/net/mac80211/ |
D | tx.c | 1955 enum ieee80211_encrypt encrypt) in ieee80211_skb_resize() argument 1961 enc_tailroom = encrypt == ENCRYPT_MGMT || in ieee80211_skb_resize() 1962 (encrypt == ENCRYPT_DATA && in ieee80211_skb_resize() 1996 enum ieee80211_encrypt encrypt; in ieee80211_xmit() local 1999 encrypt = ENCRYPT_NO; in ieee80211_xmit() 2001 encrypt = ENCRYPT_MGMT; in ieee80211_xmit() 2003 encrypt = ENCRYPT_DATA; in ieee80211_xmit() 2006 if (encrypt != ENCRYPT_NO) in ieee80211_xmit() 2011 if (ieee80211_skb_resize(sdata, skb, headroom, encrypt)) { in ieee80211_xmit()
|