Searched refs:xpn (Results 1 – 6 of 6) sorted by relevance
404 static bool macsec_validate_skb(struct sk_buff *skb, u16 icv_len, bool xpn) in macsec_validate_skb() argument430 if (!h->packet_number && !xpn) in macsec_validate_skb()489 if (secy->xpn) in tx_sa_update_pn()691 if (secy->xpn) in macsec_encrypt()754 (!secy->xpn || pn_same_half(pn, lowest_pn))) { in macsec_post_decrypt()810 } else if (secy->xpn && in macsec_post_decrypt()919 if (secy->xpn) { in macsec_decrypt()1215 if (!macsec_validate_skb(skb, secy->icv_len, secy->xpn)) { in macsec_handle_frame()1257 if (secy->xpn) in macsec_handle_frame()1784 pn_len = secy->xpn ? MACSEC_XPN_PN_LEN : MACSEC_DEFAULT_PN_LEN; in macsec_add_rxsa()[all …]
242 bool xpn; member
506 if (ctx->secy->xpn) { in nxp_c45_sa_set_key()709 phydev_dbg(phydev, "XPN %s\n", phy_secy->secy->xpn ? "on" : "off"); in nxp_c45_tx_sc_update()710 if (phy_secy->secy->xpn) in nxp_c45_tx_sc_update()851 phydev_dbg(phydev, "XPN %s\n", phy_secy->secy->xpn ? "on" : "off"); in nxp_c45_rx_sc_update()852 if (phy_secy->secy->xpn) in nxp_c45_rx_sc_update()
1344 reg = pn->xpn ? MCSX_CPM_RX_SLAVE_XPN_THRESHOLD : MCSX_CPM_RX_SLAVE_PN_THRESHOLD; in mcs_pn_threshold_set()1346 reg = pn->xpn ? MCSX_CPM_TX_SLAVE_XPN_THRESHOLD : MCSX_CPM_TX_SLAVE_PN_THRESHOLD; in mcs_pn_threshold_set()
544 if (secy->xpn) in mlx5e_macsec_add_txsa()926 if (ctx->secy->xpn) in mlx5e_macsec_add_rxsa()
449 if (secy->xpn) in aq_mdo_add_secy()