Searched refs:next_pn_halves (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/include/net/ |
H A D | macsec.h | 116 pn_t next_pn_halves; member 167 pn_t next_pn_halves; member
|
/kernel/linux/linux-6.6/include/net/ |
H A D | macsec.h | 132 pn_t next_pn_halves; member 183 pn_t next_pn_halves; member
|
/kernel/linux/linux-5.10/drivers/net/ |
H A D | macsec.c | 491 pn = tx_sa->next_pn_halves; in tx_sa_update_pn() 495 tx_sa->next_pn_halves.lower++; in tx_sa_update_pn() 756 if (rx_sa->next_pn_halves.lower >= secy->replay_window) in macsec_post_decrypt() 757 lowest_pn = rx_sa->next_pn_halves.lower - secy->replay_window; in macsec_post_decrypt() 817 if (pn + 1 > rx_sa->next_pn_halves.lower) { in macsec_post_decrypt() 818 rx_sa->next_pn_halves.lower = pn + 1; in macsec_post_decrypt() 820 !pn_same_half(pn, rx_sa->next_pn_halves.lower)) { in macsec_post_decrypt() 821 rx_sa->next_pn_halves.upper++; in macsec_post_decrypt() 822 rx_sa->next_pn_halves.lower = pn + 1; in macsec_post_decrypt() 934 pn_t recovered_pn = rx_sa->next_pn_halves; in macsec_decrypt() [all...] |
/kernel/linux/linux-6.6/drivers/net/ |
H A D | macsec.c | 469 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...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | macsec.c | 488 const pn_t *next_pn_halves, ssci_t ssci) in update_macsec_epn() 495 epn_state->epn_msb = next_pn_halves->upper; in update_macsec_epn() 496 epn_state->overlap = next_pn_halves->lower < MLX5_MACSEC_EPN_SCOPE_MID ? 0 : 1; in update_macsec_epn() 535 tx_sa->next_pn = ctx_tx_sa->next_pn_halves.lower; in mlx5e_macsec_add_txsa() 540 update_macsec_epn(tx_sa, &ctx_tx_sa->key, &ctx_tx_sa->next_pn_halves, in mlx5e_macsec_add_txsa() 922 update_macsec_epn(rx_sa, &ctx_rx_sa->key, &ctx_rx_sa->next_pn_halves, in mlx5e_macsec_add_rxsa() 487 update_macsec_epn(struct mlx5e_macsec_sa *sa, const struct macsec_key *key, const pn_t *next_pn_halves, ssci_t ssci) update_macsec_epn() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_macsec.c | 562 const u32 next_pn = tx_sa->next_pn_halves.lower; in aq_update_txsa() 897 const u32 next_pn = rx_sa->next_pn_halves.lower; in aq_update_rxsa()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_macsec.c | 547 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()
|
Completed in 15 milliseconds