Searched refs:ealg (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/net/key/ |
D | af_key.c | 814 if (x->ealg && x->ealg->alg_key_len) { in __pfkey_xfrm_state2msg() 816 PFKEY_ALIGN8((x->ealg->alg_key_len+7) / 8); in __pfkey_xfrm_state2msg() 863 BUG_ON(x->ealg && x->calg); in __pfkey_xfrm_state2msg() 864 if (x->ealg) { in __pfkey_xfrm_state2msg() 865 struct xfrm_algo_desc *a = xfrm_ealg_get_byname(x->ealg->alg_name, 0); in __pfkey_xfrm_state2msg() 982 key->sadb_key_bits = x->ealg->alg_key_len; in __pfkey_xfrm_state2msg() 984 memcpy(key + 1, x->ealg->alg_key, in __pfkey_xfrm_state2msg() 985 (x->ealg->alg_key_len+7)/8); in __pfkey_xfrm_state2msg() 1220 x->ealg = kmalloc(sizeof(*x->ealg) + keysize, GFP_KERNEL); in pfkey_msg2xfrm_state() 1221 if (!x->ealg) { in pfkey_msg2xfrm_state() [all …]
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | esp6.c | 1103 if (!x->ealg) in esp_init_authenc() 1113 x->ealg->alg_name, in esp_init_authenc() 1121 x->ealg->alg_name, in esp_init_authenc() 1134 (x->ealg->alg_key_len + 7) / 8 + RTA_SPACE(sizeof(*param)); in esp_init_authenc() 1172 param->enckeylen = cpu_to_be32((x->ealg->alg_key_len + 7) / 8); in esp_init_authenc() 1173 memcpy(p, x->ealg->alg_key, (x->ealg->alg_key_len + 7) / 8); in esp_init_authenc()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | esp4.c | 1062 if (!x->ealg) in esp_init_authenc() 1072 x->ealg->alg_name, in esp_init_authenc() 1080 x->ealg->alg_name, in esp_init_authenc() 1093 (x->ealg->alg_key_len + 7) / 8 + RTA_SPACE(sizeof(*param)); in esp_init_authenc() 1131 param->enckeylen = cpu_to_be32((x->ealg->alg_key_len + 7) / 8); in esp_init_authenc() 1132 memcpy(p, x->ealg->alg_key, (x->ealg->alg_key_len + 7) / 8); in esp_init_authenc()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
D | geode-aes.c | 397 goto ealg; in geode_aes_probe() 402 ealg: in geode_aes_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/ |
D | ipsec.c | 304 rsa.decrypt = xs->ealg || xs->aead; in ixgbevf_ipsec_add_sa() 358 tsa.encrypt = xs->ealg || xs->aead; in ixgbevf_ipsec_add_sa()
|
/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
D | ipsec.c | 165 sa.crypt = xs->ealg || xs->aead; in nsim_ipsec_add_sa()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ipsec.c | 609 rsa.decrypt = xs->ealg || xs->aead; in ixgbe_ipsec_add_sa() 719 tsa.encrypt = xs->ealg || xs->aead; in ixgbe_ipsec_add_sa()
|
/kernel/linux/linux-5.10/net/xfrm/ |
D | xfrm_user.c | 339 x->ealg = p; in attach_crypt() 929 if (x->ealg) { in copy_to_user_state_extra() 930 ret = nla_put(skb, XFRMA_ALG_CRYPT, xfrm_alg_len(x->ealg), x->ealg); in copy_to_user_state_extra() 3000 if (x->ealg) in xfrm_sa_len() 3001 l += nla_total_size(xfrm_alg_len(x->ealg)); in xfrm_sa_len()
|
D | xfrm_state.c | 485 kfree(x->ealg); in ___xfrm_state_destroy() 1502 if (orig->ealg) { in xfrm_state_clone() 1503 x->ealg = xfrm_algo_clone(orig->ealg); in xfrm_state_clone() 1504 if (!x->ealg) in xfrm_state_clone()
|
/kernel/linux/linux-5.10/include/net/ |
D | xfrm.h | 191 struct xfrm_algo *ealg; member
|