Home
last modified time | relevance | path

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

/linux/drivers/net/
H A Dmacsec.c484 pn = tx_sa->next_pn_halves; in tx_sa_update_pn()
488 tx_sa->next_pn_halves.lower++; in tx_sa_update_pn()
743 if (rx_sa->next_pn_halves.lower >= secy->replay_window) in macsec_post_decrypt()
744 lowest_pn = rx_sa->next_pn_halves.lower - secy->replay_window; in macsec_post_decrypt()
804 if (pn + 1 > rx_sa->next_pn_halves.lower) { in macsec_post_decrypt()
805 rx_sa->next_pn_halves.lower = pn + 1; in macsec_post_decrypt()
807 !pn_same_half(pn, rx_sa->next_pn_halves.lower)) { in macsec_post_decrypt()
808 rx_sa->next_pn_halves.upper++; in macsec_post_decrypt()
809 rx_sa->next_pn_halves.lower = pn + 1; in macsec_post_decrypt()
916 pn_t recovered_pn = rx_sa->next_pn_halves; in macsec_decrypt()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dmacsec.c493 const pn_t *next_pn_halves, ssci_t ssci) in update_macsec_epn() argument
500 epn_state->epn_msb = next_pn_halves->upper; in update_macsec_epn()
501 epn_state->overlap = next_pn_halves->lower < MLX5_MACSEC_EPN_SCOPE_MID ? 0 : 1; in update_macsec_epn()
540 tx_sa->next_pn = ctx_tx_sa->next_pn_halves.lower; in mlx5e_macsec_add_txsa()
545 update_macsec_epn(tx_sa, &ctx_tx_sa->key, &ctx_tx_sa->next_pn_halves, in mlx5e_macsec_add_txsa()
927 update_macsec_epn(rx_sa, &ctx_rx_sa->key, &ctx_rx_sa->next_pn_halves, in mlx5e_macsec_add_rxsa()
/linux/drivers/net/ethernet/aquantia/atlantic/
H A 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()