Searched refs:aalg_desc (Results 1 – 4 of 4) sorted by relevance
476 struct xfrm_algo_desc *aalg_desc; in ah_init_state() local504 aalg_desc = xfrm_aalg_get_byname(x->aalg->alg_name, 0); in ah_init_state()505 BUG_ON(!aalg_desc); in ah_init_state()507 if (aalg_desc->uinfo.auth.icv_fullbits/8 != in ah_init_state()512 aalg_desc->uinfo.auth.icv_fullbits / 8); in ah_init_state()516 ahp->icv_full_len = aalg_desc->uinfo.auth.icv_fullbits/8; in ah_init_state()
919 struct xfrm_algo_desc *aalg_desc; in esp_init_authenc() local924 aalg_desc = xfrm_aalg_get_byname(x->aalg->alg_name, 0); in esp_init_authenc()925 BUG_ON(!aalg_desc); in esp_init_authenc()928 if (aalg_desc->uinfo.auth.icv_fullbits / 8 != in esp_init_authenc()933 aalg_desc->uinfo.auth.icv_fullbits / 8); in esp_init_authenc()
675 struct xfrm_algo_desc *aalg_desc; in ah6_init_state() local703 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()
814 struct xfrm_algo_desc *aalg_desc; in esp_init_authenc() local819 aalg_desc = xfrm_aalg_get_byname(x->aalg->alg_name, 0); in esp_init_authenc()820 BUG_ON(!aalg_desc); in esp_init_authenc()823 if (aalg_desc->uinfo.auth.icv_fullbits / 8 != in esp_init_authenc()828 aalg_desc->uinfo.auth.icv_fullbits / 8); in esp_init_authenc()