crypto_grab_kpp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… crypto_grab_kpp(9) ✨

okay so welcome to the Kernel API Manual, bestie β€” this page is giving β€œlook up a KPP algorithm and bind a spawn to it,” and we’re gonna get you through it. 🫢 No cap.

🌸 NAME 🌸

crypto_grab_kpp β€” look up a KPP algorithm and bind a spawn to it. Periodt. πŸ’…

✨ SYNOPSIS ✨

int crypto_grab_kpp (struct crypto_kpp_spawn *spawn , struct crypto_instance *inst , const char *name , u32 type , u32 mask );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • spawn β€” the KPP spawn to bind. This is the thing you’re tying up. πŸŽ€
  • inst β€” the template instance that owns spawn. Main character energy: it’s the owner. πŸ‘‘
  • name β€” the KPP algorithm name to look up. Like searching the group chat for the right algorithm. πŸ’¬
  • type β€” the type bitset to pass on to the lookup. Copy that exactly, bestie. 🫢
  • mask β€” the mask bismask to pass on to the lookup. Yes, bismask β€” that’s literally what the page says, and we don’t gatekeep typos. πŸ™ˆ

πŸ’– RETURN πŸ’–

0 on success β€” slay. A negative error code otherwise β€” not slay, but at least you know. 😭

🌈 SEE ALSO 🌈

Kernel file ./include/crypto/internal/kpp.h β€” yes, that exact path, go look. πŸ‘€


xoxo, your kernel bestie πŸ’… β€” source/version: ./include/crypto/internal; date: October 2026; page: crypto_grab_kpp(9) 🫢✨

πŸ“¦ where this page comes from