crypto_alloc_kpp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… crypto_alloc_kpp(9) β€” Kernel API Manual πŸ’…

okay so bestie, welcome to the crypto_alloc_kpp(9) page from the Kernel API Manual. this one is short and sweet, but it's giving β€œimportant little helper” energy, so let's get into it. 🫢✨


🌸 NAME 🌸

crypto_alloc_kpp β€” allocate KPP tfm handle πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

struct crypto_kpp * crypto_alloc_kpp (const char *alg_name , u32 type ,
u32 mask );

✨ ARGUMENTS ✨

  • alg_name β€” is the name of the kpp algorithm (e.g. "dh", "ecdh"). that's the β€œwhich one are we allocating?” name, fr fr.
  • type β€” specifies the type of the algorithm. πŸ¦‹
  • mask β€” specifies the mask for the algorithm. πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

Allocate a handle for kpp algorithm. the returned struct crypto_kpp is required for any following API invocation β€” no cap, it's literally the handle you need for the next calls. πŸ‘‘


πŸ”₯ RETURN πŸ”₯

allocated handle in case of success; IS_ERR is true in case of an error, and PTR_ERR returns the error code. so like, check the vibe before you keep going. πŸ’€βœ¨


🌈 SEE ALSO 🌈

Kernel file ./include/crypto/kpp.h β€” and then these besties:


that's the whole page, bestie β€” source ./include/crypto, date October 2026, and it's crypto_alloc_kpp(9) signing off. mwah πŸ’‹πŸŽ€βœ¨

πŸ“¦ where this page comes from