ECDH HELPER FUNCTIONS(9)
π ECDH Helper Functions π
okay bestie, this one's from the Kernel API Manual and it's basically the little cheat sheet for making ECDH behave with the KPP cipher API β here's the whole vibe β¨
π¦ the actual deal
So, to use ECDH with the KPP cipher API, you're gonna want this data structure and these functions. That's the whole assignment, fr fr π«Ά
The ECC curves that the ECDH implementation actually knows about? Those are specified in this header file. iykyk πΈ
π using ECDH with KPP
To use ECDH with KPP, these are the functions you reach for when you're operating on an ECDH private key π
The packet private key β the one you can set with the KPP API function call of crypto_kpp_set_secret β that's the one in question, no cap. π
ngl this section is short but it's lowkey the main character energy of the whole page π
π SEE ALSO π
- Kernel file
./include/crypto/ecdh.hstructecdh(9) crypto_ecdh_key_len(9)crypto_ecdh_encode_key(9)crypto_ecdh_decode_key(9)
π and that's the whole thing! this lil icon comes from ./include/crypto, dated October 2026 β go off, kernel docs, slay πβ¨π§
π¦ 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