Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/net/
H A Dmacsec.h116 pn_t next_pn_halves; member
167 pn_t next_pn_halves; member
/OK3568_Linux_fs/kernel/drivers/net/
H A Dmacsec.c478 pn = tx_sa->next_pn_halves; in tx_sa_update_pn()
482 tx_sa->next_pn_halves.lower++; in tx_sa_update_pn()
731 if (rx_sa->next_pn_halves.lower >= secy->replay_window) in macsec_post_decrypt()
732 lowest_pn = rx_sa->next_pn_halves.lower - secy->replay_window; in macsec_post_decrypt()
788 if (pn + 1 > rx_sa->next_pn_halves.lower) { in macsec_post_decrypt()
789 rx_sa->next_pn_halves.lower = pn + 1; in macsec_post_decrypt()
791 !pn_same_half(pn, rx_sa->next_pn_halves.lower)) { in macsec_post_decrypt()
792 rx_sa->next_pn_halves.upper++; in macsec_post_decrypt()
793 rx_sa->next_pn_halves.lower = pn + 1; in macsec_post_decrypt()
905 pn_t recovered_pn = rx_sa->next_pn_halves; in macsec_decrypt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/
H A Daq_macsec.c562 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()