Lines Matching refs:sadb_sa_encrypt
858 sa->sadb_sa_encrypt = 0; in __pfkey_xfrm_state2msg()
862 sa->sadb_sa_encrypt = (a && a->pfkey_supported) ? in __pfkey_xfrm_state2msg()
868 sa->sadb_sa_encrypt = (a && a->pfkey_supported) ? in __pfkey_xfrm_state2msg()
1108 sa->sadb_sa_encrypt > SADB_X_CALG_MAX) || in pfkey_msg2xfrm_state()
1109 sa->sadb_sa_encrypt > SADB_EALG_MAX) in pfkey_msg2xfrm_state()
1118 sa->sadb_sa_encrypt != SADB_EALG_NULL && in pfkey_msg2xfrm_state()
1192 if (sa->sadb_sa_encrypt) { in pfkey_msg2xfrm_state()
1194 struct xfrm_algo_desc *a = xfrm_calg_get_byid(sa->sadb_sa_encrypt); in pfkey_msg2xfrm_state()
1205 x->props.calgo = sa->sadb_sa_encrypt; in pfkey_msg2xfrm_state()
1208 struct xfrm_algo_desc *a = xfrm_ealg_get_byid(sa->sadb_sa_encrypt); in pfkey_msg2xfrm_state()
1227 x->props.ealgo = sa->sadb_sa_encrypt; in pfkey_msg2xfrm_state()
3411 sa->sadb_sa_encrypt = 0; in pfkey_send_new_mapping()