| /linux-6.15/drivers/net/wireless/intel/ipw2x00/ |
| H A D | libipw_crypto_tkip.c | 292 tkip_mixing_phase1(tkey->tx_ttak, tkey->key, hdr->addr2, in libipw_tkip_hdr() 296 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); in libipw_tkip_hdr() 311 tkey->tx_iv16++; in libipw_tkip_hdr() 417 hdr->addr2, tkey->rx_iv32, tkey->rx_iv16, in libipw_tkip_decrypt() 424 if (iv32 != tkey->rx_iv32 || !tkey->rx_phase1_done) { in libipw_tkip_decrypt() 428 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16); in libipw_tkip_decrypt() 549 if (michael_mic(tkey->tx_tfm_michael, &tkey->key[16], tkey->tx_hdr, in libipw_michael_mic_add() 587 if (michael_mic(tkey->rx_tfm_michael, &tkey->key[24], tkey->rx_hdr, in libipw_michael_mic_verify() 605 tkey->rx_iv32 = tkey->rx_iv32_new; in libipw_michael_mic_verify() 606 tkey->rx_iv16 = tkey->rx_iv16_new; in libipw_michael_mic_verify() [all …]
|
| /linux-6.15/samples/bpf/ |
| H A D | tc_l2_redirect_kern.c | 109 struct bpf_tunnel_key tkey = {}; in _l2_to_iptun_ingress_redirect() local 138 tkey.tunnel_id = 10000; in _l2_to_iptun_ingress_redirect() 139 tkey.tunnel_ttl = 64; in _l2_to_iptun_ingress_redirect() 141 bpf_skb_set_tunnel_key(skb, &tkey, sizeof(tkey), 0); in _l2_to_iptun_ingress_redirect() 148 struct bpf_tunnel_key tkey = {}; in _l2_to_ip6tun_ingress_redirect() local 189 tkey.tunnel_id = 10000; in _l2_to_ip6tun_ingress_redirect() 190 tkey.tunnel_ttl = 64; in _l2_to_ip6tun_ingress_redirect() 192 tkey.remote_ipv6[0] = _htonl(0x2401db02); in _l2_to_ip6tun_ingress_redirect() 193 tkey.remote_ipv6[1] = 0; in _l2_to_ip6tun_ingress_redirect() 194 tkey.remote_ipv6[2] = 0; in _l2_to_ip6tun_ingress_redirect() [all …]
|
| /linux-6.15/security/keys/encrypted-keys/ |
| H A D | masterkey_trusted.c | 31 struct key *tkey; in request_trusted_key() local 33 tkey = request_key(&key_type_trusted, trusted_desc, NULL); in request_trusted_key() 34 if (IS_ERR(tkey)) in request_trusted_key() 37 down_read(&tkey->sem); in request_trusted_key() 38 tpayload = tkey->payload.data[0]; in request_trusted_key() 42 return tkey; in request_trusted_key()
|
| /linux-6.15/net/sched/ |
| H A D | act_pedit.c | 395 struct tc_pedit_key *tkey; in tcf_pedit_act() local 411 tkey = parms->tcfp_keys; in tcf_pedit_act() 414 for (i = parms->tcfp_nkeys; i > 0; i--, tkey++) { in tcf_pedit_act() 415 int offset = tkey->off; in tcf_pedit_act() 434 if (tkey->offmask) { in tcf_pedit_act() 437 if (!offset_valid(skb, hoffset + tkey->at)) { in tcf_pedit_act() 439 hoffset + tkey->at); in tcf_pedit_act() 447 offset += (*d & tkey->offmask) >> tkey->shift; in tcf_pedit_act() 466 val = tkey->val; in tcf_pedit_act() 469 val = (*ptr + tkey->val) & ~tkey->mask; in tcf_pedit_act() [all …]
|
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | test_l4lb.c | 328 struct bpf_tunnel_key tkey = {}; in process_packet() local 346 tkey.tunnel_ttl = 64; in process_packet() 431 memcpy(tkey.remote_ipv6, dst->dstv6, 16); in process_packet() 438 tkey.remote_ipv4 = dst->dst; in process_packet() 446 bpf_skb_set_tunnel_key(skb, &tkey, sizeof(tkey), tun_flag); in process_packet() 447 *(u32 *)eth->eth_dest = tkey.remote_ipv4; in process_packet()
|
| H A D | test_l4lb_noinline.c | 327 struct bpf_tunnel_key tkey = {}; in process_packet() local 345 tkey.tunnel_ttl = 64; in process_packet() 430 memcpy(tkey.remote_ipv6, dst->dstv6, 16); in process_packet() 437 tkey.remote_ipv4 = dst->dst; in process_packet() 445 bpf_skb_set_tunnel_key(skb, &tkey, sizeof(tkey), tun_flag); in process_packet() 446 *(u32 *)eth->eth_dest = tkey.remote_ipv4; in process_packet()
|
| H A D | test_l4lb_noinline_dynptr.c | 332 struct bpf_tunnel_key tkey = {}; in process_packet() local 350 tkey.tunnel_ttl = 64; in process_packet() 437 memcpy(tkey.remote_ipv6, dst->dstv6, 16); in process_packet() 444 tkey.remote_ipv4 = dst->dst; in process_packet() 452 bpf_skb_set_tunnel_key(skb, &tkey, sizeof(tkey), tun_flag); in process_packet() 453 *(u32 *)eth->eth_dest = tkey.remote_ipv4; in process_packet()
|
| /linux-6.15/include/net/ |
| H A D | tcp_ao.h | 183 const u8 *tkey, int hash_offset, u32 sne); 210 struct tcp_ao_key *key, const u8 *tkey, 236 const u8 *tkey, int hash_offset, u32 sne); 255 const u8 *tkey, int hash_offset, u32 sne);
|
| H A D | tcp.h | 2333 const u8 *tkey, int hash_offset, u32 sne);
|
| /linux-6.15/net/l2tp/ |
| H A D | l2tp_netlink.c | 495 unsigned long tkey; member 502 unsigned long key = cbd->tkey; in l2tp_nl_cmd_tunnel_dump() 523 cbd->tkey = key; in l2tp_nl_cmd_tunnel_dump() 845 unsigned long tkey = cbd->tkey; in l2tp_nl_cmd_session_dump() local 850 tunnel = l2tp_tunnel_get_next(net, &tkey); in l2tp_nl_cmd_session_dump() 858 tkey++; in l2tp_nl_cmd_session_dump() 878 cbd->tkey = tkey; in l2tp_nl_cmd_session_dump()
|
| H A D | l2tp_debugfs.c | 37 unsigned long tkey; /* lookup key of current tunnel */ member 49 pd->tunnel = l2tp_tunnel_get_next(pd->net, &pd->tkey); in l2tp_dfs_next_tunnel() 50 pd->tkey++; in l2tp_dfs_next_tunnel()
|
| H A D | l2tp_ppp.c | 1401 unsigned long tkey; /* lookup key of current tunnel */ member 1414 pd->tunnel = l2tp_tunnel_get_next(net, &pd->tkey); in pppol2tp_next_tunnel() 1415 pd->tkey++; in pppol2tp_next_tunnel()
|
| /linux-6.15/arch/arm64/boot/dts/qcom/ |
| H A D | msm8916-samsung-a3u-eur.dts | 142 tkey_en_default: tkey-en-default-state { 150 tkey_led_en_default: tkey-led-en-default-state {
|
| H A D | msm8916-samsung-serranove.dts | 156 i2c-tkey { 535 tkey_default: tkey-default-state { 543 tkey_en_default: tkey-en-default-state { 551 tkey_i2c_default: tkey-i2c-default-state { 559 tkey_led_en_default: tkey-led-en-default-state {
|
| H A D | msm8939-samsung-a7.dts | 171 i2c-tkey { 595 tkey_default: tkey-default-state { 602 tkey_en_default: tkey-en-default-state { 609 tkey_i2c_default: tkey-i2c-default-state { 616 tkey_led_en_default: tkey-led-en-default-state {
|
| H A D | msm8916-samsung-a5u-eur.dts | 85 tkey_en_default: tkey-en-default-state {
|
| H A D | msm8916-samsung-e2015-common.dtsi | 101 tkey_en_default: tkey-en-default-state {
|
| H A D | msm8916-samsung-a2015-common.dtsi | 146 i2c-tkey { 537 tkey_default: tkey-default-state { 545 tkey_i2c_default: tkey-i2c-default-state {
|
| H A D | msm8916-samsung-grandmax.dts | 28 /delete-node/ i2c-tkey;
|
| /linux-6.15/net/ipv6/ |
| H A D | tcp_ao.c | 136 const u8 *tkey, int hash_offset, u32 sne) in tcp_v6_ao_hash_skb() argument 138 return tcp_ao_hash_skb(AF_INET6, ao_hash, key, sk, skb, tkey, in tcp_v6_ao_hash_skb()
|
| /linux-6.15/net/ipv4/ |
| H A D | tcp_ao.c | 561 struct tcp_ao_key *key, const u8 *tkey, in tcp_ao_hash_hdr() argument 578 if (crypto_ahash_setkey(crypto_ahash_reqtfm(hp.req), tkey, tkey_len)) in tcp_ao_hash_hdr() 624 const u8 *tkey, int hash_offset, u32 sne) in tcp_ao_hash_skb() argument 638 if (crypto_ahash_setkey(crypto_ahash_reqtfm(hp.req), tkey, tkey_len)) in tcp_ao_hash_skb() 674 const u8 *tkey, int hash_offset, u32 sne) in tcp_v4_ao_hash_skb() argument 677 tkey, hash_offset, sne); in tcp_v4_ao_hash_skb()
|