Searched refs:xfrm_alg_len (Results 1 – 2 of 2) sorted by relevance
46 if (nla_len(rt) < (int)xfrm_alg_len(algp)) in verify_one_alg()310 p = kmemdup(ualg, xfrm_alg_len(ualg), GFP_KERNEL); in attach_one_algo()334 p = kmemdup(ualg, xfrm_alg_len(ualg), GFP_KERNEL); in attach_crypt()930 ret = nla_put(skb, XFRMA_ALG_CRYPT, xfrm_alg_len(x->ealg), x->ealg); in copy_to_user_state_extra()3002 l += nla_total_size(xfrm_alg_len(x->ealg)); in xfrm_sa_len()
1790 static inline unsigned int xfrm_alg_len(const struct xfrm_algo *alg) in xfrm_alg_len() function1832 return kmemdup(orig, xfrm_alg_len(orig), GFP_KERNEL); in xfrm_algo_clone()