tipc_aead_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 tipc_aead_init β€” the manual page, but make it make sense πŸ’…

okay so this is a Kernel API Manual page for tipc_aead_init(9) and honestly? she's a little baddie with a big job. let's get into it 🫢


✨ NAME ✨

tipc_aead_init β€” Initiate TIPC AEAD. that's it, that's the whole vibe check πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

int tipc_aead_init (struct tipc_aead **aead , struct tipc_aead_key *ukey
, u8 mode );

like yes bestie, that's the whole signature, don't come for me about the spacing, it's canon πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • aead β€” the returned new TIPC AEAD key handle pointer. so this is where the shiny new handle goes when we're done, iykyk πŸ”₯
  • ukey β€” pointer to user key data. the raw key material, main character energy fr fr
  • mode β€” the key mode. lowkey important, don't sleep on it ⭐

πŸ’– DESCRIPTION πŸ’–

so what she does is: allocate a (list of) new cipher transformation (TFM) with the specific user key data β€” if valid, okay, only if it's valid, that's a whole condition, respect it 😭 β€” and then all the other AEAD data get initialized too. it's giving "full setup, no shortcuts" ✨

alsoooo, the number of the allocated TFMs can be set via the sysfs net/tipc/max_tfms first. key word: first. so like, set that before you call this, bestie, not after πŸ™ˆ


🌈 RETURN 🌈

  • 0 if the initiation is successful πŸ₯³
  • otherwise: < 0 πŸ’€ (yeah, everything else is a negative, that's just how she rolls)

🧚 SEE ALSO 🧚

like, that's a lot of friends, but every single one of them is invited to the function party πŸŽ‰


ok that's the whole page!! she came from ./net/tipc, dated October 2026, and honestly? iconic. periodt πŸ’œπŸŽ€
πŸ“¦ where this page comes from