/Linux-v5.15/crypto/ |
D | algif_skcipher.c | 42 struct sock *psk = ask->parent; in skcipher_sendmsg() local 43 struct alg_sock *pask = alg_sk(psk); in skcipher_sendmsg() 55 struct sock *psk = ask->parent; in _skcipher_recvmsg() local 56 struct alg_sock *pask = alg_sk(psk); in _skcipher_recvmsg() 205 struct sock *psk; in skcipher_check_key() local 215 psk = ask->parent; in skcipher_check_key() 220 lock_sock_nested(psk, SINGLE_DEPTH_NESTING); in skcipher_check_key() 230 release_sock(psk); in skcipher_check_key() 312 struct sock *psk = ask->parent; in skcipher_sock_destruct() local 313 struct alg_sock *pask = alg_sk(psk); in skcipher_sock_destruct()
|
D | algif_aead.c | 47 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() 379 struct sock *psk; in aead_check_key() local 389 psk = ask->parent; in aead_check_key() 394 lock_sock_nested(psk, SINGLE_DEPTH_NESTING); in aead_check_key() 404 release_sock(psk); in aead_check_key() [all …]
|
D | algif_hash.c | 295 struct sock *psk; in hash_check_key() local 305 psk = ask->parent; in hash_check_key() 310 lock_sock_nested(psk, SINGLE_DEPTH_NESTING); in hash_check_key() 320 release_sock(psk); in hash_check_key()
|
/Linux-v5.15/tools/testing/selftests/wireguard/ |
D | netns.sh | 88 psk="$(pp wg genpsk)" 89 [[ -n $key1 && -n $key2 && -n $psk ]] 102 preshared-key <(echo "$psk") \ 108 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… 578 n0 wg set wg0 private-key <(echo "$key1") peer "$pub2" preshared-key <(echo "$psk") [all …]
|
/Linux-v5.15/Documentation/networking/mac80211_hwsim/ |
D | wpa_supplicant.conf | 5 psk="12345678"
|
/Linux-v5.15/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_wireless.h | 110 u8 psk[GELIC_WL_EURUS_PSK_MAX_LEN]; /* psk key; hex or passphrase */ member 270 u8 psk[GELIC_WL_EURUS_PSK_MAX_LEN]; member
|
D | ps3_gelic_wireless.c | 1263 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-v5.15/net/core/ |
D | sock_map.c | 337 struct sock **psk = &stab->sks[i]; in sock_map_free() local 340 sk = xchg(psk, NULL); in sock_map_free() 344 sock_map_unref(sk, psk); in sock_map_free() 401 struct sock **psk) in __sock_map_delete() argument 407 sk = *psk; in __sock_map_delete() 409 sk = xchg(psk, NULL); in __sock_map_delete() 412 sock_map_unref(sk, psk); in __sock_map_delete() 432 struct sock **psk; in sock_map_delete_elem() local 437 psk = &stab->sks[i]; in sock_map_delete_elem() 438 return __sock_map_delete(stab, NULL, psk); in sock_map_delete_elem()
|
/Linux-v5.15/net/vmw_vsock/ |
D | af_vsock.c | 428 int vsock_assign_transport(struct vsock_sock *vsk, struct vsock_sock *psk) in vsock_assign_transport() argument 444 if (psk && vsk->local_addr.svm_cid > VMADDR_CID_HOST && in vsock_assign_transport() 496 ret = new_transport->init(vsk, psk); in vsock_assign_transport() 725 struct vsock_sock *psk; in __vsock_create() local 761 psk = parent ? vsock_sk(parent) : NULL; in __vsock_create() 763 vsk->trusted = psk->trusted; in __vsock_create() 764 vsk->owner = get_cred(psk->owner); in __vsock_create() 765 vsk->connect_timeout = psk->connect_timeout; in __vsock_create() 766 vsk->buffer_size = psk->buffer_size; in __vsock_create() 767 vsk->buffer_min_size = psk->buffer_min_size; in __vsock_create() [all …]
|
D | virtio_transport_common.c | 589 struct vsock_sock *psk) in virtio_transport_do_socket_init() argument 599 if (psk && psk->trans) { in virtio_transport_do_socket_init() 600 struct virtio_vsock_sock *ptrans = psk->trans; in virtio_transport_do_socket_init()
|
D | hyperv_transport.c | 431 static int hvs_sock_init(struct vsock_sock *vsk, struct vsock_sock *psk) in hvs_sock_init() argument
|
D | vmci_transport.c | 1573 struct vsock_sock *psk) in vmci_transport_socket_init() argument
|
/Linux-v5.15/net/phonet/ |
D | socket.c | 756 struct sock **psk = v; in pn_res_seq_show() local 757 struct sock *sk = *psk; in pn_res_seq_show() 760 (int) (psk - pnres.sk), in pn_res_seq_show()
|
/Linux-v5.15/include/linux/ |
D | virtio_vsock.h | 97 struct vsock_sock *psk);
|
D | filter.h | 1437 struct sock **psk) in bpf_sk_lookup_run_v4() argument 1465 *psk = selected_sk; in bpf_sk_lookup_run_v4() 1475 struct sock **psk) in bpf_sk_lookup_run_v6() argument 1503 *psk = selected_sk; in bpf_sk_lookup_run_v6()
|
/Linux-v5.15/include/net/ |
D | af_vsock.h | 209 int vsock_assign_transport(struct vsock_sock *vsk, struct vsock_sock *psk);
|
D | cfg80211.h | 1037 const u8 *psk; member
|
/Linux-v5.15/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_cm.c | 2076 struct sock *psk; in abort_syn_rcv() local 2091 psk = listen_ctx->lsk; in abort_syn_rcv() 2093 bh_lock_sock(psk); in abort_syn_rcv() 2094 if (!sock_owned_by_user(psk)) { in abort_syn_rcv() 2098 do_abort_syn_rcv(sk, psk); in abort_syn_rcv() 2102 __sk_add_backlog(psk, skb); in abort_syn_rcv() 2104 bh_unlock_sock(psk); in abort_syn_rcv()
|
/Linux-v5.15/drivers/net/wireguard/ |
D | noise.c | 411 const u8 psk[NOISE_SYMMETRIC_KEY_LEN]) in mix_psk() 415 kdf(chaining_key, temp_hash, key, psk, NOISE_HASH_LEN, NOISE_HASH_LEN, in mix_psk()
|
/Linux-v5.15/drivers/media/usb/dvb-usb/ |
D | Kconfig | 216 GENPIX 8psk module
|
/Linux-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | cfg80211.c | 2124 if (sme->crypto.psk && in brcmf_cfg80211_connect() 2144 err = brcmf_set_pmk(ifp, sme->crypto.psk, in brcmf_cfg80211_connect() 2155 if (!err && sme->crypto.psk) in brcmf_cfg80211_connect() 2156 err = brcmf_set_pmk(ifp, sme->crypto.psk, in brcmf_cfg80211_connect() 4846 if (crypto->psk) { in brcmf_cfg80211_start_ap() 4849 err = brcmf_set_pmk(ifp, crypto->psk, in brcmf_cfg80211_start_ap()
|
/Linux-v5.15/net/wireless/ |
D | nl80211.c | 9950 settings->psk = nla_data(info->attrs[NL80211_ATTR_PMK]); in nl80211_crypto_settings()
|