| /net/ceph/ |
| A D | crypto.c | 207 static int ceph_aes_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_aes_crypt() argument 215 int crypt_len = encrypt ? in_len + pad_byte : in_len; in ceph_aes_crypt() 219 if (encrypt) in ceph_aes_crypt() 236 if (encrypt) in ceph_aes_crypt() 243 encrypt ? "en" : "de", ret); in ceph_aes_crypt() 251 if (encrypt) { in ceph_aes_crypt() 271 int ceph_crypt(const struct ceph_crypto_key *key, bool encrypt, in ceph_crypt() argument 279 return ceph_aes_crypt(key, encrypt, buf, buf_len, in_len, in ceph_crypt()
|
| A D | crypto.h | 29 int ceph_crypt(const struct ceph_crypto_key *key, bool encrypt,
|
| A D | messenger_v2.c | 838 static int gcm_crypt(struct ceph_connection *con, bool encrypt, in gcm_crypt() argument 845 nonce = encrypt ? &con->v2.out_gcm_nonce : &con->v2.in_gcm_nonce; in gcm_crypt() 849 ret = crypto_wait_req(encrypt ? crypto_aead_encrypt(con->v2.gcm_req) : in gcm_crypt()
|
| /net/sunrpc/auth_gss/ |
| A D | gss_krb5_mech.c | 46 .encrypt = gss_krb5_aes_encrypt, 75 .encrypt = gss_krb5_aes_encrypt, 114 .encrypt = gss_krb5_aes_encrypt, 140 .encrypt = gss_krb5_aes_encrypt, 169 .encrypt = krb5_etm_encrypt, 195 .encrypt = krb5_etm_encrypt,
|
| A D | gss_krb5_crypto.c | 394 u32 offset, u8 *iv, struct page **pages, int encrypt) in gss_krb5_cts_crypt() argument 417 if (encrypt) in gss_krb5_cts_crypt() 431 if (encrypt) in gss_krb5_cts_crypt() 449 if (encrypt) in gss_krb5_cts_crypt()
|
| A D | gss_krb5_wrap.c | 133 err = (*kctx->gk5e->encrypt)(kctx, offset, buf, pages); in gss_krb5_wrap_v2()
|
| A D | gss_krb5_internal.h | 41 u32 (*encrypt)(struct krb5_ctx *kctx, u32 offset, member
|
| /net/tipc/ |
| A D | crypto.c | 1712 goto encrypt; in tipc_crypto_xmit() 1714 goto encrypt; in tipc_crypto_xmit() 1718 goto encrypt; in tipc_crypto_xmit() 1729 goto encrypt; in tipc_crypto_xmit() 1733 goto encrypt; in tipc_crypto_xmit() 1741 goto encrypt; in tipc_crypto_xmit() 1744 goto encrypt; in tipc_crypto_xmit() 1754 goto encrypt; in tipc_crypto_xmit() 1759 encrypt: in tipc_crypto_xmit()
|
| /net/bluetooth/ |
| A D | hci_conn.c | 2394 cp.encrypt = 0x01; in hci_conn_encrypt() 2428 goto encrypt; in hci_conn_security() 2435 goto encrypt; in hci_conn_security() 2443 goto encrypt; in hci_conn_security() 2452 goto encrypt; in hci_conn_security() 2468 encrypt: in hci_conn_security()
|
| A D | l2cap_core.c | 7328 static inline void l2cap_check_encryption(struct l2cap_chan *chan, u8 encrypt) in l2cap_check_encryption() argument 7333 if (encrypt == 0x00) { in l2cap_check_encryption() 7345 static void l2cap_security_cfm(struct hci_conn *hcon, u8 status, u8 encrypt) in l2cap_security_cfm() argument 7353 BT_DBG("conn %p status 0x%2.2x encrypt %u", conn, status, encrypt); in l2cap_security_cfm() 7363 if (!status && encrypt) in l2cap_security_cfm() 7374 l2cap_check_encryption(chan, encrypt); in l2cap_security_cfm()
|
| A D | hci_event.c | 3471 cp.encrypt = 0x01; in hci_auth_complete_evt() 3491 cp.encrypt = 0x01; in hci_auth_complete_evt() 3560 if (ev->encrypt) { in hci_encrypt_change_evt() 3570 if ((conn->type == ACL_LINK && ev->encrypt == 0x02) || in hci_encrypt_change_evt() 3607 if (!ev->status && ev->encrypt && conn->type == ACL_LINK) { in hci_encrypt_change_evt()
|
| /net/bluetooth/rfcomm/ |
| A D | core.c | 2138 static void rfcomm_security_cfm(struct hci_conn *conn, u8 status, u8 encrypt) in rfcomm_security_cfm() argument 2143 BT_DBG("conn %p status 0x%02x encrypt 0x%02x", conn, status, encrypt); in rfcomm_security_cfm() 2152 if (status || encrypt == 0x00) { in rfcomm_security_cfm() 2158 if (d->state == BT_CONNECTED && !status && encrypt == 0x00) { in rfcomm_security_cfm()
|
| /net/mac80211/ |
| A D | tx.c | 1979 enum ieee80211_encrypt encrypt) in ieee80211_skb_resize() argument 1985 enc_tailroom = encrypt == ENCRYPT_MGMT || in ieee80211_skb_resize() 1986 (encrypt == ENCRYPT_DATA && in ieee80211_skb_resize() 2020 enum ieee80211_encrypt encrypt; in ieee80211_xmit() local 2023 encrypt = ENCRYPT_NO; in ieee80211_xmit() 2025 encrypt = ENCRYPT_MGMT; in ieee80211_xmit() 2027 encrypt = ENCRYPT_DATA; in ieee80211_xmit() 2030 if (encrypt != ENCRYPT_NO) in ieee80211_xmit() 2035 if (ieee80211_skb_resize(sdata, skb, headroom, encrypt)) { in ieee80211_xmit()
|