Home
last modified time | relevance | path

Searched refs:psk (Results 1 – 24 of 24) sorted by relevance

/linux-6.12.1/crypto/
Dalgif_skcipher.c42 struct sock *psk = ask->parent; in skcipher_sendmsg() local
43 struct alg_sock *pask = alg_sk(psk); in skcipher_sendmsg()
57 struct sock *psk; in algif_skcipher_export() local
64 psk = ask->parent; in algif_skcipher_export()
65 pask = alg_sk(psk); in algif_skcipher_export()
101 struct sock *psk = ask->parent; in _skcipher_recvmsg() local
102 struct alg_sock *pask = alg_sk(psk); in _skcipher_recvmsg()
268 struct sock *psk; in skcipher_check_key() local
278 psk = ask->parent; in skcipher_check_key()
283 lock_sock_nested(psk, SINGLE_DEPTH_NESTING); in skcipher_check_key()
[all …]
Dalgif_aead.c47 struct sock *psk = ask->parent; in aead_sufficient_data() local
48 struct alg_sock *pask = alg_sk(psk); in aead_sufficient_data()
65 struct sock *psk = ask->parent; in aead_sendmsg() local
66 struct alg_sock *pask = alg_sk(psk); in aead_sendmsg()
93 struct sock *psk = ask->parent; in _aead_recvmsg() local
94 struct alg_sock *pask = alg_sk(psk); in _aead_recvmsg()
380 struct sock *psk; in aead_check_key() local
390 psk = ask->parent; in aead_check_key()
395 lock_sock_nested(psk, SINGLE_DEPTH_NESTING); in aead_check_key()
405 release_sock(psk); in aead_check_key()
[all …]
Dalgif_hash.c301 struct sock *psk; in hash_check_key() local
311 psk = ask->parent; in hash_check_key()
316 lock_sock_nested(psk, SINGLE_DEPTH_NESTING); in hash_check_key()
326 release_sock(psk); in hash_check_key()
/linux-6.12.1/drivers/nvme/common/
Dkeyring.c23 static bool nvme_tls_psk_revoked(struct key *psk) in nvme_tls_psk_revoked() argument
25 return test_bit(KEY_FLAG_REVOKED, &psk->flags) || in nvme_tls_psk_revoked()
26 test_bit(KEY_FLAG_INVALIDATED, &psk->flags); in nvme_tls_psk_revoked()
/linux-6.12.1/tools/testing/selftests/wireguard/
Dnetns.sh90 psk="$(pp wg genpsk)"
91 [[ -n $key1 && -n $key2 && -n $psk ]]
104 preshared-key <(echo "$psk") \
110 preshared-key <(echo "$psk") \
245 n1 wg set wg0 private-key <(echo "$key1") peer "$pub2" preshared-key <(echo "$psk") allowed-ips 192…
246 n2 wg set wg0 private-key <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") a…
249 n2 wg set wg0 peer "$pub3" preshared-key <(echo "$psk") allowed-ips 192.168.241.1/32 peer "$pub1" r…
258 n1 wg set wg0 private-key <(echo "$key1") peer "$pub2" preshared-key <(echo "$psk") allowed-ips fd0…
259 n2 wg set wg0 private-key <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") a…
616 n0 wg set wg0 private-key <(echo "$key1") peer "$pub2" preshared-key <(echo "$psk")
[all …]
/linux-6.12.1/Documentation/networking/mac80211_hwsim/
Dwpa_supplicant.conf5 psk="12345678"
/linux-6.12.1/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.h110 u8 psk[GELIC_WL_EURUS_PSK_MAX_LEN]; /* psk key; hex or passphrase */ member
270 u8 psk[GELIC_WL_EURUS_PSK_MAX_LEN]; member
Dps3_gelic_wireless.c1263 memset(wl->psk, 0, sizeof(wl->psk)); in gelic_wl_set_encodeext()
1264 memcpy(wl->psk, ext->key, ext->key_len); in gelic_wl_set_encodeext()
1852 memcpy(wpa->psk, wl->psk, wl->psk_len); in gelic_wl_do_wpa_setup()
1893 "N/A" : wpa->psk); in gelic_wl_do_wpa_setup()
/linux-6.12.1/net/vmw_vsock/
Daf_vsock.c440 int vsock_assign_transport(struct vsock_sock *vsk, struct vsock_sock *psk) in vsock_assign_transport() argument
456 if (psk && vsk->local_addr.svm_cid > VMADDR_CID_HOST && in vsock_assign_transport()
508 ret = new_transport->init(vsk, psk); in vsock_assign_transport()
736 struct vsock_sock *psk; in __vsock_create() local
772 psk = parent ? vsock_sk(parent) : NULL; in __vsock_create()
774 vsk->trusted = psk->trusted; in __vsock_create()
775 vsk->owner = get_cred(psk->owner); in __vsock_create()
776 vsk->connect_timeout = psk->connect_timeout; in __vsock_create()
777 vsk->buffer_size = psk->buffer_size; in __vsock_create()
778 vsk->buffer_min_size = psk->buffer_min_size; in __vsock_create()
[all …]
Dvirtio_transport_common.c897 struct vsock_sock *psk) in virtio_transport_do_socket_init() argument
907 if (psk && psk->trans) { in virtio_transport_do_socket_init()
908 struct virtio_vsock_sock *ptrans = psk->trans; in virtio_transport_do_socket_init()
Dhyperv_transport.c442 static int hvs_sock_init(struct vsock_sock *vsk, struct vsock_sock *psk) in hvs_sock_init() argument
Dvmci_transport.c1576 struct vsock_sock *psk) in vmci_transport_socket_init() argument
/linux-6.12.1/net/core/
Dsock_map.c346 struct sock **psk = &stab->sks[i]; in sock_map_free() local
349 sk = xchg(psk, NULL); in sock_map_free()
354 sock_map_unref(sk, psk); in sock_map_free()
412 struct sock **psk) in __sock_map_delete() argument
418 sk = *psk; in __sock_map_delete()
420 sk = xchg(psk, NULL); in __sock_map_delete()
423 sock_map_unref(sk, psk); in __sock_map_delete()
443 struct sock **psk; in sock_map_delete_elem() local
448 psk = &stab->sks[i]; in sock_map_delete_elem()
449 return __sock_map_delete(stab, NULL, psk); in sock_map_delete_elem()
/linux-6.12.1/net/phonet/
Dsocket.c753 struct sock **psk = v; in pn_res_seq_show() local
754 struct sock *sk = *psk; in pn_res_seq_show()
757 (int) (psk - pnres.sk), in pn_res_seq_show()
/linux-6.12.1/include/net/
Daf_vsock.h222 int vsock_assign_transport(struct vsock_sock *vsk, struct vsock_sock *psk);
Dcfg80211.h1279 const u8 *psk; member
/linux-6.12.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c2075 struct sock *psk; in abort_syn_rcv() local
2090 psk = listen_ctx->lsk; in abort_syn_rcv()
2092 bh_lock_sock(psk); in abort_syn_rcv()
2093 if (!sock_owned_by_user(psk)) { in abort_syn_rcv()
2097 do_abort_syn_rcv(sk, psk); in abort_syn_rcv()
2101 __sk_add_backlog(psk, skb); in abort_syn_rcv()
2103 bh_unlock_sock(psk); in abort_syn_rcv()
/linux-6.12.1/include/linux/
Dvirtio_vsock.h203 struct vsock_sock *psk);
Dfilter.h1632 const int ifindex, struct sock **psk) in bpf_sk_lookup_run_v4() argument
1661 *psk = selected_sk; in bpf_sk_lookup_run_v4()
1671 const int ifindex, struct sock **psk) in bpf_sk_lookup_run_v6() argument
1700 *psk = selected_sk; in bpf_sk_lookup_run_v6()
/linux-6.12.1/drivers/net/wireguard/
Dnoise.c444 const u8 psk[NOISE_SYMMETRIC_KEY_LEN]) in mix_psk()
448 kdf(chaining_key, temp_hash, key, psk, NOISE_HASH_LEN, NOISE_HASH_LEN, in mix_psk()
/linux-6.12.1/drivers/media/usb/dvb-usb/
DKconfig241 GENPIX 8psk module
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c2465 if (sme->crypto.psk && in brcmf_cfg80211_connect()
2485 err = brcmf_set_pmk(ifp, sme->crypto.psk, in brcmf_cfg80211_connect()
2495 if (!err && sme->crypto.psk) in brcmf_cfg80211_connect()
2496 err = brcmf_set_pmk(ifp, sme->crypto.psk, in brcmf_cfg80211_connect()
5244 if (crypto->psk) { in brcmf_cfg80211_start_ap()
5247 err = brcmf_set_pmk(ifp, crypto->psk, in brcmf_cfg80211_start_ap()
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Dcore.h5349 u8 psk[32]; member
/linux-6.12.1/net/wireless/
Dnl80211.c11049 settings->psk = nla_data(info->attrs[NL80211_ATTR_PMK]); in nl80211_crypto_settings()