tipc_aead_init(9)
πΈ 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 frmodeβ 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 π
0if the initiation is successful π₯³- otherwise:
< 0π (yeah, everything else is a negative, that's just how she rolls)
π§ SEE ALSO π§
- Kernel file
./net/tipc/crypto.c struct tipc_tfm(9)struct tipc_aead(9)struct tipc_crypto_stats(9)struct tipc_crypto(9)tipc_aead_key_validate(9)tipc_aead_key_generate(9)tipc_aead_free(9)tipc_aead_tfm_next(9)tipc_aead_clone(9)tipc_aead_mem_alloc(9)tipc_aead_encrypt(9)tipc_aead_decrypt(9)tipc_ehdr_validate(9)tipc_ehdr_build(9)tipc_crypto_key_init(9)tipc_crypto_key_attach(9)tipc_crypto_key_try_align(9)tipc_crypto_key_pick_tx(9)tipc_crypto_key_synch(9)tipc_crypto_xmit(9)tipc_crypto_rcv(9)tipc_crypto_msg_rcv(9)tipc_crypto_key_distr(9)tipc_crypto_key_xmit(9)tipc_crypto_key_rcv(9)tipc_crypto_work_rx(9)tipc_crypto_rekeying_sched(9)tipc_crypto_work_tx(9)
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
- 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