Searched refs:ssci (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/include/net/ |
H A D | macsec.h | 41 u32 ssci; member 129 ssci_t ssci; member 180 ssci_t ssci; member
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | macsec.c | 65 ssci_t ssci; member 139 __be32 ssci; member 267 MLX5_SET64(macsec_offload_obj, obj, sci, (__force u64)attrs->ssci); in mlx5e_macsec_create_object() 378 obj_attrs.ssci = cpu_to_be32((__force u32)sa->ssci); in mlx5e_macsec_init_sa() 488 const pn_t *next_pn_halves, ssci_t ssci) in update_macsec_epn() argument 492 sa->ssci = ssci; in update_macsec_epn() 541 ctx_tx_sa->ssci); in mlx5e_macsec_add_txsa() 923 ctx_rx_sa->ssci); in mlx5e_macsec_add_rxsa()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | cn10k_macsec.c | 387 u8 *sak, u8 *salt, ssci_t ssci) in cn10k_mcs_write_keys() argument 411 ssci_63_32 = (__force u32)cpu_to_be32((__force u32)ssci); in cn10k_mcs_write_keys() 449 salt, rxsc->ssci[assoc_num]); in cn10k_mcs_write_rx_sa_plcy() 679 salt, txsc->ssci[assoc_num]); in cn10k_mcs_write_tx_sa_plcy() 1318 txsc->ssci[sa_num] = sw_tx_sa->ssci; in cn10k_mdo_add_txsa() 1491 rxsc->ssci[sa_num] = rx_sa->ssci; in cn10k_mdo_add_rxsa()
|
H A D | otx2_common.h | 420 ssci_t ssci[CN10K_MCS_SA_PER_SC]; member 435 ssci_t ssci[CN10K_MCS_SA_PER_SC]; member
|
/openbmc/linux/drivers/net/ |
H A D | macsec.c | 67 ssci_t ssci; member 410 static void macsec_fill_iv_xpn(unsigned char *iv, ssci_t ssci, u64 pn, in macsec_fill_iv_xpn() argument 415 gcm_iv->ssci = ssci ^ salt.ssci; in macsec_fill_iv_xpn() 660 macsec_fill_iv_xpn(iv, tx_sa->ssci, pn.full64, tx_sa->key.salt); in macsec_encrypt() 895 macsec_fill_iv_xpn(iv, rx_sa->ssci, recovered_pn.full64, in macsec_decrypt() 1373 rx_sa->ssci = MACSEC_UNDEF_SSCI; in init_rx_sa() 1473 tx_sa->ssci = MACSEC_UNDEF_SSCI; in init_tx_sa() 1825 rx_sa->ssci = nla_get_ssci(tb_sa[MACSEC_SA_ATTR_SSCI]); in macsec_add_rxsa() 2068 tx_sa->ssci = nla_get_ssci(tb_sa[MACSEC_SA_ATTR_SSCI]); in macsec_add_txsa() 3142 (secy->xpn && nla_put_ssci(skb, MACSEC_SA_ATTR_SSCI, tx_sa->ssci)) || in dump_secy() [all …]
|