Searched refs:MACSEC_SA_ATTR_KEY (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/include/uapi/linux/ |
D | if_macsec.h | 96 MACSEC_SA_ATTR_KEY, /* config, data */ enumerator
|
/linux-6.1.9/drivers/net/ |
D | macsec.c | 1644 [MACSEC_SA_ATTR_KEY] = { .type = NLA_BINARY, 1700 !attrs[MACSEC_SA_ATTR_KEY] || in validate_add_rxsa() 1756 if (nla_len(tb_sa[MACSEC_SA_ATTR_KEY]) != secy->key_len) { in macsec_add_rxsa() 1758 nla_len(tb_sa[MACSEC_SA_ATTR_KEY]), secy->key_len); in macsec_add_rxsa() 1799 err = init_rx_sa(rx_sa, nla_data(tb_sa[MACSEC_SA_ATTR_KEY]), in macsec_add_rxsa() 1838 memcpy(ctx.sa.key, nla_data(tb_sa[MACSEC_SA_ATTR_KEY]), in macsec_add_rxsa() 1945 !attrs[MACSEC_SA_ATTR_KEY] || in validate_add_txsa() 2000 if (nla_len(tb_sa[MACSEC_SA_ATTR_KEY]) != secy->key_len) { in macsec_add_txsa() 2002 nla_len(tb_sa[MACSEC_SA_ATTR_KEY]), secy->key_len); in macsec_add_txsa() 2042 err = init_tx_sa(tx_sa, nla_data(tb_sa[MACSEC_SA_ATTR_KEY]), in macsec_add_txsa() [all …]
|