tipc_aead_encrypt(9)
π tipc_aead_encrypt β the kernel API manual, bestie edition π
okay so this page is tipc_aead_encrypt(9), straight out of the Kernel API Manual, and it's basically the glow-up moment where your message gets encrypted before it hits the road. no cap, it's a whole vibe. β¨
πΈ NAME πΈ
tipc_aead_encrypt β literally just encrypt a message. that's the whole assignment, and it ate. π
π¦ SYNOPSIS π¦
int tipc_aead_encrypt (struct tipc_aead *aead , struct sk_buff *skb ,
struct tipc_bearer *b , struct tipc_media_addr *dst , struct tipc_node
*__dnode );
like, look at that signature. five params, one int return, main character energy fr fr. π
π ARGUMENTS π
aeadβ the TIPC AEAD key for the message encryption. this is the key, the moment, the whole point. πskbβ the input/outputskb. note the slash, bestie: it goes in, and it comes back out. it's giving β¨transformativeβ¨.bβ the TIPC bearer where the message will be delivered after the encryption. so like, the destination bearer, but make it post-encryption. π£οΈdstβ the destination media address. where it's headed, media-address style. π¬__dnodeβ TIPC dest node if "known". yes the quotes are doing a lot of work there. lowkey iconic. π
β RETURN β
0: if the encryption has completed β slay, we're done here. β-EINPROGRESS/-EBUSY: if a callback will be performed β not done yet, something's gonna call you back. π< 0: the encryption has failed β rip, it's not giving what it needed to give. π
π₯ SEE ALSO π₯
Kernel file ./net/tipc/crypto.c, plus this whole friend group:
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_init(9), tipc_aead_clone(9), tipc_aead_mem_alloc(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 the whole squad. don't @ me, just read them too. π«Ά
that's the page, bestie π it lives at ./net/tipc, dated October 2026, and it's filed under tipc_aead_encrypt(9) β go forth and encrypt, you absolute icon ππ
π¦ 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