Home
last modified time | relevance | path

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

/linux-6.1.9/include/net/
Dmacsec.h131 pn_t next_pn_halves; member
182 pn_t next_pn_halves; member
/linux-6.1.9/drivers/net/
Dmacsec.c469 pn = tx_sa->next_pn_halves; in tx_sa_update_pn()
473 tx_sa->next_pn_halves.lower++; in tx_sa_update_pn()
734 if (rx_sa->next_pn_halves.lower >= secy->replay_window) in macsec_post_decrypt()
735 lowest_pn = rx_sa->next_pn_halves.lower - secy->replay_window; in macsec_post_decrypt()
795 if (pn + 1 > rx_sa->next_pn_halves.lower) { in macsec_post_decrypt()
796 rx_sa->next_pn_halves.lower = pn + 1; in macsec_post_decrypt()
798 !pn_same_half(pn, rx_sa->next_pn_halves.lower)) { in macsec_post_decrypt()
799 rx_sa->next_pn_halves.upper++; in macsec_post_decrypt()
800 rx_sa->next_pn_halves.lower = pn + 1; in macsec_post_decrypt()
912 pn_t recovered_pn = rx_sa->next_pn_halves; in macsec_decrypt()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dmacsec.c498 const pn_t *next_pn_halves, ssci_t ssci) in update_macsec_epn() argument
505 epn_state->epn_msb = next_pn_halves->upper; in update_macsec_epn()
506 epn_state->overlap = next_pn_halves->lower < MLX5_MACSEC_EPN_SCOPE_MID ? 0 : 1; in update_macsec_epn()
545 tx_sa->next_pn = ctx_tx_sa->next_pn_halves.lower; in mlx5e_macsec_add_txsa()
550 update_macsec_epn(tx_sa, &ctx_tx_sa->key, &ctx_tx_sa->next_pn_halves, in mlx5e_macsec_add_txsa()
614 if (tx_sa->next_pn != ctx_tx_sa->next_pn_halves.lower) { in mlx5e_macsec_upd_txsa()
946 update_macsec_epn(rx_sa, &ctx_rx_sa->key, &ctx_rx_sa->next_pn_halves, in mlx5e_macsec_add_rxsa()
1019 if (rx_sa->next_pn != ctx_rx_sa->next_pn_halves.lower) { in mlx5e_macsec_upd_rxsa()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dcn10k_macsec.c909 sw_tx_sa->next_pn_halves.lower); in cn10k_mcs_secy_tx_cfg()
945 sw_rx_sa->next_pn_halves.lower); in cn10k_mcs_secy_rx_cfg()
1191 sw_tx_sa->next_pn_halves.lower); in cn10k_mdo_add_txsa()
1224 sw_tx_sa->next_pn_halves.lower); in cn10k_mdo_upd_txsa()
1334 u64 next_pn = rx_sa->next_pn_halves.lower; in cn10k_mdo_add_rxsa()
1374 u64 next_pn = rx_sa->next_pn_halves.lower; in cn10k_mdo_upd_rxsa()
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.c547 const u32 next_pn = tx_sa->next_pn_halves.lower; in aq_update_txsa()
864 const u32 next_pn = rx_sa->next_pn_halves.lower; in aq_update_rxsa()