Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/
H A Dif_macsec.h101 MACSEC_SA_ATTR_SALT, /* config, 96-bit - XPN only */ enumerator
/openbmc/linux/drivers/net/
H A Dmacsec.c1653 [MACSEC_SA_ATTR_SALT] = { .type = NLA_BINARY,
1779 if (!tb_sa[MACSEC_SA_ATTR_SSCI] || !tb_sa[MACSEC_SA_ATTR_SALT]) { in macsec_add_rxsa()
1784 if (nla_len(tb_sa[MACSEC_SA_ATTR_SALT]) != MACSEC_SALT_LEN) { in macsec_add_rxsa()
1786 nla_len(tb_sa[MACSEC_SA_ATTR_SALT]), in macsec_add_rxsa()
1826 nla_memcpy(rx_sa->key.salt.bytes, tb_sa[MACSEC_SA_ATTR_SALT], in macsec_add_rxsa()
2022 if (!tb_sa[MACSEC_SA_ATTR_SSCI] || !tb_sa[MACSEC_SA_ATTR_SALT]) { in macsec_add_txsa()
2027 if (nla_len(tb_sa[MACSEC_SA_ATTR_SALT]) != MACSEC_SALT_LEN) { in macsec_add_txsa()
2029 nla_len(tb_sa[MACSEC_SA_ATTR_SALT]), in macsec_add_txsa()
2069 nla_memcpy(tx_sa->key.salt.bytes, tb_sa[MACSEC_SA_ATTR_SALT], in macsec_add_txsa()
2307 attrs[MACSEC_SA_ATTR_SALT]) in validate_upd_sa()