Home
last modified time | relevance | path

Searched refs:aalg_desc (Results 1 – 4 of 4) sorted by relevance

/net/ipv4/
Dah4.c477 struct xfrm_algo_desc *aalg_desc; in ah_init_state() local
505 aalg_desc = xfrm_aalg_get_byname(x->aalg->alg_name, 0); in ah_init_state()
506 BUG_ON(!aalg_desc); in ah_init_state()
508 if (aalg_desc->uinfo.auth.icv_fullbits/8 != in ah_init_state()
513 aalg_desc->uinfo.auth.icv_fullbits / 8); in ah_init_state()
517 ahp->icv_full_len = aalg_desc->uinfo.auth.icv_fullbits/8; in ah_init_state()
Desp4.c1108 struct xfrm_algo_desc *aalg_desc; in esp_init_authenc() local
1113 aalg_desc = xfrm_aalg_get_byname(x->aalg->alg_name, 0); in esp_init_authenc()
1114 BUG_ON(!aalg_desc); in esp_init_authenc()
1117 if (aalg_desc->uinfo.auth.icv_fullbits / 8 != in esp_init_authenc()
1122 aalg_desc->uinfo.auth.icv_fullbits / 8); in esp_init_authenc()
/net/ipv6/
Dah6.c675 struct xfrm_algo_desc *aalg_desc; in ah6_init_state() local
703 aalg_desc = xfrm_aalg_get_byname(x->aalg->alg_name, 0); in ah6_init_state()
704 BUG_ON(!aalg_desc); in ah6_init_state()
706 if (aalg_desc->uinfo.auth.icv_fullbits/8 != in ah6_init_state()
710 aalg_desc->uinfo.auth.icv_fullbits/8); in ah6_init_state()
714 ahp->icv_full_len = aalg_desc->uinfo.auth.icv_fullbits/8; in ah6_init_state()
Desp6.c1150 struct xfrm_algo_desc *aalg_desc; in esp_init_authenc() local
1155 aalg_desc = xfrm_aalg_get_byname(x->aalg->alg_name, 0); in esp_init_authenc()
1156 BUG_ON(!aalg_desc); in esp_init_authenc()
1159 if (aalg_desc->uinfo.auth.icv_fullbits / 8 != in esp_init_authenc()
1164 aalg_desc->uinfo.auth.icv_fullbits / 8); in esp_init_authenc()