Home
last modified time | relevance | path

Searched refs:MACSEC_SA_ATTR_SALT (Results 1 – 2 of 2) sorted by relevance

/linux/include/uapi/linux/
H A Dif_macsec.h101 MACSEC_SA_ATTR_SALT, /* config, 96-bit - XPN only */ enumerator
/linux/drivers/net/
H A Dmacsec.c1656 [MACSEC_SA_ATTR_SALT] = { .type = NLA_BINARY,
1782 if (!tb_sa[MACSEC_SA_ATTR_SSCI] || !tb_sa[MACSEC_SA_ATTR_SALT]) { in macsec_add_rxsa()
1787 if (nla_len(tb_sa[MACSEC_SA_ATTR_SALT]) != MACSEC_SALT_LEN) { in macsec_add_rxsa()
1789 nla_len(tb_sa[MACSEC_SA_ATTR_SALT]), in macsec_add_rxsa()
1829 nla_memcpy(rx_sa->key.salt.bytes, tb_sa[MACSEC_SA_ATTR_SALT], in macsec_add_rxsa()
2025 if (!tb_sa[MACSEC_SA_ATTR_SSCI] || !tb_sa[MACSEC_SA_ATTR_SALT]) { in macsec_add_txsa()
2030 if (nla_len(tb_sa[MACSEC_SA_ATTR_SALT]) != MACSEC_SALT_LEN) { in macsec_add_txsa()
2032 nla_len(tb_sa[MACSEC_SA_ATTR_SALT]), in macsec_add_txsa()
2072 nla_memcpy(tx_sa->key.salt.bytes, tb_sa[MACSEC_SA_ATTR_SALT], in macsec_add_txsa()
2310 attrs[MACSEC_SA_ATTR_SALT]) in validate_upd_sa()