tipc_crypto_key_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 either CLUSTER_KEY or PER_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:


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