Home
last modified time | relevance | path

Searched refs:authsize (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/netipsec/
H A Dxform_ah.c152 int authsize, rplen, align; in ah_hdrsiz() local
165 authsize = AUTHSIZE(sav); in ah_hdrsiz()
166 size = roundup(rplen + authsize, align); in ah_hdrsiz()
543 int hl, rplen, authsize, ahsize, error; in ah_input() local
584 authsize = AUTHSIZE(sav); in ah_input()
623 xd = malloc(sizeof(*xd) + skip + rplen + authsize, M_AH, in ah_input()
637 m_copydata(m, 0, skip + rplen + authsize, (caddr_t)(xd + 1)); in ah_input()
640 m_copyback(m, skip + rplen, authsize, ipseczeroes); in ah_input()
701 int authsize, rplen, ahsize, error, skip, protoff; in ah_input_cb() local
749 authsize = AUTHSIZE(sav); in ah_input_cb()
[all …]
/freebsd/sys/dev/mlx5/mlx5_accel/
H A Dmlx5_ipsec.c179 attrs->authsize = 8 / 4; /* in dwords */ in mlx5e_ipsec_build_accel_xfrm_attrs()
182 attrs->authsize = 12 / 4; /* in dwords */ in mlx5e_ipsec_build_accel_xfrm_attrs()
185 attrs->authsize = 16 / 4; /* in dwords */ in mlx5e_ipsec_build_accel_xfrm_attrs()
H A Dipsec.h110 u32 authsize; member
H A Dmlx5_ipsec_fs.c431 reformat_params->param_0 = attrs->authsize; in setup_pkt_transport_reformat()
/freebsd/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c794 * 'hashsize' is the length of a full digest. 'authsize' is the
799 ccr_hmac_ctrl(unsigned int hashsize, unsigned int authsize) in ccr_hmac_ctrl() argument
802 if (authsize == 10) in ccr_hmac_ctrl()
804 if (authsize == 12) in ccr_hmac_ctrl()
806 if (authsize == hashsize / 2) in ccr_hmac_ctrl()
1390 ccr_ccm_hmac_ctrl(unsigned int authsize) in ccr_ccm_hmac_ctrl() argument
1392 switch (authsize) { in ccr_ccm_hmac_ctrl()