kpp_instance_ctx(9)
okay bestie, welcome to kpp_instance_ctx(9) from the Kernel API Manual β itβs literally the tiny helper that gets you a pointer to a &struct kpp_instance's implementation specific context data π
β¨
πΈ NAME πΈ
kpp_instance_ctx β get a pointer to a &struct kpp_instance's implementation specific context data. Thatβs the whole assignment, no cap.
β‘ SYNOPSIS β‘
void * kpp_instance_ctx (struct kpp_instance *inst );
π ARGUMENTS π
instβ thestruct kpp_instancewhose context data you wanna access. Thatβs the vibe, bestie π«Ά
π¦ DESCRIPTION π¦
okay so hereβs the tea: a KPP template implementation may allocate extra memory beyond the end of a struct kpp_instance instantiated from crypto_template.create. This function provides a means to obtain a pointer to this area. Itβs giving βlittle doorway to the extra dataβ energy πβ¨
π RETURN π
A pointer to the implementation specific context data. Thatβs it β iconic, simple, done. Periodt. π
π SEE ALSO π
Kernel file ./include/crypto/internal/kpp.h is here, and the whole squad is:
struct kpp_instance(9)struct crypto_kpp_spawn(9)kpp_crypto_instance(9)kpp_instance(9)kpp_alg_instance(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)
signed off with love from ./include/crypto/internal, dated October 2026 β kpp_instance_ctx(9) out ππ«Ά
π¦ 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