tipc_crypto_key_attach(9)
π tipc_crypto_key_attach(9) β attach a new AEAD key to TIPC crypto π
πΈ NAME πΈ
tipc_crypto_key_attach - Attach a new AEAD key to TIPC crypto.
Bestie, this is the Kernel API Manual page for tipc_crypto_key_attach(9), and it's lowkey iconic: this function is the one that attaches a new AEAD key to TIPC crypto πβ¨
β¨ SYNOPSIS β¨
int tipc_crypto_key_attach (struct tipc_crypto *c , struct tipc_aead
*aead , u8 pos , bool master_key );
π ARGUMENTS π
cβ the TIPC crypto to which the new AEAD key is attached π«Άaeadβ the new AEAD key pointer, aka the key being brought into the group chat πposβ desired slot in the crypto key array,= 0 if any!So yes, it can pick a specific spot or just vibe with any slot β¨master_keyβ specify this is a cluster master key π
π RETURN π
On success, you get the new key id back. Otherwise: -EBUSY π
If it hits you with -EBUSY, it's booked and busy, no cap.
π¦ SEE ALSO π¦
Kernel file ./net/tipc/crypto.c is where the magic lives, bestie. Also linked up in the group chat:
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_encrypt(9)tipc_aead_decrypt(9)tipc_ehdr_validate(9)tipc_ehdr_build(9)tipc_crypto_key_init(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)
Source/version check: ./net/tipc, dated October 2026, manual name tipc_crypto_key_attach(9). Stay encrypted, bestie πβ¨
π¦ 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