tipc_crypto_key_try_align(9)
π tipc_crypto_key_try_align(9) β align RX keys if possible π
okay so bestie, this page is from the Kernel API Manual, and ngl it's lowkey niche but highkey iconic. not me being obsessed with tipc_crypto_key_try_align(9) β the key-slot alignment moment has main character energy π
β¨
πΈ NAME πΈ
tipc_crypto_key_try_align β Align RX keys if possible π
β¨ SYNOPSIS β¨
bool tipc_crypto_key_try_align (struct tipc_crypto *rx , u8 new_pending
);
π¦ ARGUMENTS π¦
rxβ RX crypto handle. that's the crypto handle on the RX side, periodt πnew_pendingβ new pending slot if aligned (= TX key from peer). yep, that exact parenthetical is doing important work, don't skip it π
π₯ DESCRIPTION π₯
So the peer has used an unknown key slot β fr fr, this only happens when the peer has left and rejoned, or when we are the newcomer. π (yes, βrejonedβ is the spelling we're keeping, iykyk.)
That means there must be no active key but a pending key at an unaligned slot. if so, we try to move the pending key to the new slot. slay, periodt. β¨
π«Ά NOTE π«Ά
A potential passive key can exist β and it will be shifted correspondingly! don't forget that icon, bestie π
π RETURN π
"true" if the key is successfully aligned, otherwise "false" β that's the whole vibe check, no cap π
π SEE ALSO π
- Kernel file
./net/tipc/crypto.cβ yes, the source file, periodt π 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_attach(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)
made with love in ./net/tipc, October 2026 β mwah ππ
π¦ 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