Home
last modified time | relevance | path

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

/net/ipv4/
Dah4.c476 struct xfrm_algo_desc *aalg_desc; in ah_init_state() local
504 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()
Desp4.c919 struct xfrm_algo_desc *aalg_desc; in esp_init_authenc() local
924 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()
/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.c814 struct xfrm_algo_desc *aalg_desc; in esp_init_authenc() local
819 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()