kpp_request_set_input(9)
π
kpp_request_set_input(9) π
Hiiii bestie, welcome to the Kernel API Manual. Todayβs function is kpp_request_set_input, and itβs literally here to hand a KPP request its input situation. No cap. π«Ά
β¨ NAME β¨
kpp_request_set_input β sets the input buffer. Thatβs the whole assignment, and it ate. π
π¦ SYNOPSIS π¦
void kpp_request_set_input (struct kpp_request *req , struct scatterlist
*input , unsigned int input_len );
π ARGUMENTS π
reqβ the kpp request, aka the main character struct this is all happening on. πinputβ ptr to the input scatter list. Yes bestie, a pointer. πinput_lenβ size of the input scatter list, so everybody knows how much input weβre talking about. π
πΈ DESCRIPTION πΈ
Okay so: this function sets the parameters required by generate_public_key. Thatβs it. Itβs giving βsetup eraβ and nothing more. β¨
π₯ SEE ALSO π₯
Go read these next, bestie β itβs the whole friend group:
- Kernel file
./include/crypto/kpp.h struct kpp_request(9)struct crypto_kpp(9)struct kpp_alg(9)Generic Key-agreement Protocol Primitives API(9)crypto_alloc_kpp(9)crypto_free_kpp(9)kpp_request_alloc(9)kpp_request_free(9)kpp_request_set_callback(9)kpp_request_set_output(9)struct kpp_secret(9)crypto_kpp_set_secret(9)crypto_kpp_generate_public_key(9)crypto_kpp_compute_shared_secret(9)crypto_kpp_maxsize(9)
okay thatβs the page, bestie β source/version is ./include/crypto, dated 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