Home
last modified time | relevance | path

Searched refs:encrypt (Results 1 – 13 of 13) sorted by relevance

/net/ceph/
A Dcrypto.c207 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 Dcrypto.h29 int ceph_crypt(const struct ceph_crypto_key *key, bool encrypt,
A Dmessenger_v2.c838 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 Dgss_krb5_mech.c46 .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 Dgss_krb5_crypto.c394 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 Dgss_krb5_wrap.c133 err = (*kctx->gk5e->encrypt)(kctx, offset, buf, pages); in gss_krb5_wrap_v2()
A Dgss_krb5_internal.h41 u32 (*encrypt)(struct krb5_ctx *kctx, u32 offset, member
/net/tipc/
A Dcrypto.c1712 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 Dhci_conn.c2394 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 Dl2cap_core.c7328 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 Dhci_event.c3471 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 Dcore.c2138 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 Dtx.c1979 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()

Completed in 60 milliseconds