Lines Matching refs:alg_key_len
769 if (x->aalg && x->aalg->alg_key_len) { in __pfkey_xfrm_state2msg()
771 PFKEY_ALIGN8((x->aalg->alg_key_len + 7) / 8); in __pfkey_xfrm_state2msg()
774 if (x->ealg && x->ealg->alg_key_len) { in __pfkey_xfrm_state2msg()
776 PFKEY_ALIGN8((x->ealg->alg_key_len+7) / 8); in __pfkey_xfrm_state2msg()
937 key->sadb_key_bits = x->aalg->alg_key_len; in __pfkey_xfrm_state2msg()
939 memcpy(key + 1, x->aalg->alg_key, (x->aalg->alg_key_len+7)/8); in __pfkey_xfrm_state2msg()
948 key->sadb_key_bits = x->ealg->alg_key_len; in __pfkey_xfrm_state2msg()
951 (x->ealg->alg_key_len+7)/8); in __pfkey_xfrm_state2msg()
1151 x->aalg->alg_key_len = 0; in pfkey_msg2xfrm_state()
1153 x->aalg->alg_key_len = key->sadb_key_bits; in pfkey_msg2xfrm_state()
1186 x->ealg->alg_key_len = 0; in pfkey_msg2xfrm_state()
1188 x->ealg->alg_key_len = key->sadb_key_bits; in pfkey_msg2xfrm_state()