STRUCT MACSEC_KEY(9)
π struct macsec_key (9) β Kernel API Manual β¨
okay bestie, so we're literally in the Kernel API Manual today and the main character is struct macsec_key, no cap π
β¨ NAME β¨
struct macsec_key β the SA key, periodt π
likeβ¦ it's the key for a Security Association. that's the whole vibe. iykyk π
π¦ SYNOPSIS π¦
struct macsec_key {
u8 id[MACSEC_KEYID_LEN];
struct crypto_aead *tfm;
salt_t salt;
};
bestie i need you to copy this exactly when you use it β character for character, no creative liberties, ok? π the struct is the struct.
πΈ Members πΈ
idβ the user-provided key identifier π you hand it over, it holds it, slay.tfmβ the crypto struct, and honestly it's also where the key storage lives. main character energy for real π₯saltβ the salt that gets used to generate the IV in XPN cipher suites β¨ that's its whole job and it ate.
π«Ά SEE ALSO π«Ά
kernel file ./include/net/macsec.h and its lil friend group, all iconic:
struct macsec_rx_sa(9)struct macsec_rx_sc(9)struct macsec_tx_sa(9)struct macsec_tx_sc(9)struct macsec_secy(9)struct macsec_context(9)struct macsec_ops(9)
like, go read them too. they're all connected, it's giving found family π
<anything>π and that's the page, bestie π</anything>
this lil number lives in ./include/net, dated October 2026, and it goes by struct macsec_key(9) β mwah, go off ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms