Home
last modified time | relevance | path

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

/Linux-v6.6/include/net/
Dmacsec.h132 pn_t next_pn_halves; member
183 pn_t next_pn_halves; member
/Linux-v6.6/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()
728 if (rx_sa->next_pn_halves.lower >= secy->replay_window) in macsec_post_decrypt()
729 lowest_pn = rx_sa->next_pn_halves.lower - secy->replay_window; in macsec_post_decrypt()
789 if (pn + 1 > rx_sa->next_pn_halves.lower) { in macsec_post_decrypt()
790 rx_sa->next_pn_halves.lower = pn + 1; in macsec_post_decrypt()
792 !pn_same_half(pn, rx_sa->next_pn_halves.lower)) { in macsec_post_decrypt()
793 rx_sa->next_pn_halves.upper++; in macsec_post_decrypt()
794 rx_sa->next_pn_halves.lower = pn + 1; in macsec_post_decrypt()
901 pn_t recovered_pn = rx_sa->next_pn_halves; in macsec_decrypt()
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dmacsec.c467 const pn_t *next_pn_halves, ssci_t ssci) in update_macsec_epn() argument
474 epn_state->epn_msb = next_pn_halves->upper; in update_macsec_epn()
475 epn_state->overlap = next_pn_halves->lower < MLX5_MACSEC_EPN_SCOPE_MID ? 0 : 1; in update_macsec_epn()
514 tx_sa->next_pn = ctx_tx_sa->next_pn_halves.lower; in mlx5e_macsec_add_txsa()
519 update_macsec_epn(tx_sa, &ctx_tx_sa->key, &ctx_tx_sa->next_pn_halves, in mlx5e_macsec_add_txsa()
903 update_macsec_epn(rx_sa, &ctx_rx_sa->key, &ctx_rx_sa->next_pn_halves, in mlx5e_macsec_add_rxsa()
/Linux-v6.6/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()