Home
last modified time | relevance | path

Searched refs:ealg (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/net/key/
Daf_key.c814 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/
Desp6.c1103 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/
Desp4.c1062 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/
Dgeode-aes.c397 goto ealg; in geode_aes_probe()
402 ealg: in geode_aes_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
Dipsec.c304 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/
Dipsec.c165 sa.crypt = xs->ealg || xs->aead; in nsim_ipsec_add_sa()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ipsec.c609 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/
Dxfrm_user.c339 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()
Dxfrm_state.c485 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/
Dxfrm.h191 struct xfrm_algo *ealg; member