STRUCT CRYPTO_KPP_SPAWN(9)
π struct crypto_kpp_spawn(9) β the kernel API manual, but make it make sense
Okay bestie, so this is a page from the Kernel API Manual, all about struct crypto_kpp_spawn. Yes the title is literally the same as the struct name, that's just how these pages roll, we move. π
β¨ NAME β¨
struct crypto_kpp_spawn β it's the KPP algorithm spawn. That's the whole name section, she's short and she knows it. π
πΈ SYNOPSIS πΈ
struct crypto_kpp_spawn {
struct crypto_spawn base;
};
That's it, that's the whole struct. One member. Iconic minimalism, honestly. β¨
π¦ Members π¦
baseβ this one is internal, so likeβ¦ not your business, bestie, it's the crypto core's generic spawn state. Hands off, iykyk. π
π Description π
So here's the vibe: template instances can get a hold on some inner KPP algorithm by binding a struct crypto_kpp_spawn via crypto_grab_kpp. That's step one, that's how you grab it. π«Ά
Then, like, subsequently β later, after the grabbing has happened β transforms may get instantiated from the referenced inner struct kpp_alg by means of crypto_spawn_kpp. Grab first, spawn second. That's the whole pipeline, no cap. π₯
π SEE ALSO π
Kernel file ./include/crypto/internal/kpp.h plus this whole friend group right here:
struct kpp_instance(9)kpp_crypto_instance(9)kpp_instance(9)kpp_alg_instance(9)kpp_instance_ctx(9)crypto_register_kpp(9)crypto_unregister_kpp(9)kpp_register_instance(9)crypto_grab_kpp(9)crypto_drop_kpp(9)crypto_spawn_kpp_alg(9)crypto_spawn_kpp(9)
All of them are (9) sections, all of them are kernel API, all of them slay in their own way. Go read them, bestie, I'll wait. β
Okay one tiny note because I love you: base is marked Internal in the original, so don't go poking at it in your driver like it's main character energy. It's the crypto core's state, not yours. π§
Sign-off time!! This little gem lives over in ./include/crypto/internal, and the page itself is dated October 2026 β yeah, future vibes, we're ahead of schedule π. Version/date info courtesy of that same footer, 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