tipc_crypto_key_init(9)
β¨ tipc_crypto_key_init(9) β¨
okay bestie, this is the Kernel API Manual page for tipc_crypto_key_init(9) β yes, the manual name is literally in the room with us π
.
π NAME π
tipc_crypto_key_init β initiate a new user / AEAD key β¨
π¦ SYNOPSIS π¦
int tipc_crypto_key_init (struct tipc_crypto *c , struct tipc_aead_key *ukey , u8 mode , bool master_key );
πΈ ARGUMENTS πΈ
cβ the TIPC crypto this new key gets attached to, iykyk.ukeyβ the user key, the actual key material bestie.modeβ the key mode, and it's giving eitherCLUSTER_KEYorPER_NODE_KEY.master_keyβ tells everyone this is a cluster master key, no cap.
π DESCRIPTION π
A new TIPC AEAD key will be allocated and initiated with the specified user key, then attached to the TIPC crypto. That's the whole glow-up: allocate, initiate, attach, slay.
π₯ RETURN π₯
If it ate, you get the new key id in case of success. If not? literally < 0 π.
π SEE ALSO π
Kernel file ./net/tipc/crypto.c plus the whole iconic 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_encrypt(9)tipc_aead_decrypt(9)tipc_ehdr_validate(9)tipc_ehdr_build(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)
mwah π this little icon was brought to you by ./net/tipc, dated October 2026, and it's literally called tipc_crypto_key_init(9) β 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