Home
last modified time | relevance | path

Searched refs:esn (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
H A Dchcr_ipsec.c299 sa_entry->esn = 1; in ch_ipsec_xfrm_add_state()
358 if (sa_entry->esn) in is_eth_imm()
377 aadivlen = sa_entry->esn ? DIV_ROUND_UP(sizeof(struct chcr_ipsec_aadiv), in calc_tx_sec_flits()
502 if (sa_entry->esn) in copy_cpltx_pktxt()
586 if (sa_entry->esn) in ch_ipsec_crypto_wreq()
592 if (sa_entry->esn) { in ch_ipsec_crypto_wreq()
626 ivinoffset = sa_entry->esn ? (ESN_IV_INSERT_OFFSET + 1) : in ch_ipsec_crypto_wreq()
637 aadstart = sa_entry->esn ? 1 : (skb_transport_offset(skb) + 1); in ch_ipsec_crypto_wreq()
638 aadstop = sa_entry->esn ? ESN_IV_INSERT_OFFSET : in ch_ipsec_crypto_wreq()
643 ciphstart += sa_entry->esn ? esnlen : 0; in ch_ipsec_crypto_wreq()
H A Dchcr_ipsec.h46 u16 esn; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c94 u32 esn, esn_msb; in mlx5e_ipsec_update_esn_state() local
101 esn = x->replay_esn->seq; in mlx5e_ipsec_update_esn_state()
105 esn = x->replay_esn->oseq; in mlx5e_ipsec_update_esn_state()
115 esn = x->replay_esn->seq; in mlx5e_ipsec_update_esn_state()
124 if (esn >= x->replay_esn->replay_window) in mlx5e_ipsec_update_esn_state()
125 seq_bottom = esn - x->replay_esn->replay_window + 1; in mlx5e_ipsec_update_esn_state()
131 sa_entry->esn_state.esn = esn; in mlx5e_ipsec_update_esn_state()
137 sa_entry->esn_state.esn = max_t(u32, esn, 1); in mlx5e_ipsec_update_esn_state()
350 attrs->replay_esn.esn = sa_entry->esn_state.esn; in mlx5e_ipsec_build_accel_xfrm_attrs()
H A Dipsec.h73 u32 esn; member
249 u32 esn; member
H A Dipsec_offload.c109 attrs->replay_esn.esn); in mlx5e_ipsec_packet_setup()
/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cpt_hw_types.h292 u64 esn; member
/linux/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c51 u32 hmac_mc, u32 cfb, u32 esn, in set_dynamic_sa_command_1() argument
61 sa->sa_command_1.bf.extended_seq_num = esn; in set_dynamic_sa_command_1()
/linux/include/rdma/
H A Dib_verbs.h2143 u32 esn; member