ECDH HELPER FUNCTIONS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🌈


πŸŽ€ 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