crypto_akcipher_encrypt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– crypto_akcipher_encrypt(9) πŸ’–

okay so bestie, this is a page straight out of the Kernel API Manual, and it's literally about invoking a public key encrypt operation. no cap. let's get into it 🫢


✨ NAME ✨

crypto_akcipher_encrypt β€” the function that goes and invokes the public key encrypt operation. that's it, that's the vibe πŸ’…

🌸 SYNOPSIS 🌸

int crypto_akcipher_encrypt (struct akcipher_request *req );

like, one argument, one int coming back. we love a clean signature ✨

πŸŽ€ ARGUMENTS πŸŽ€

  • req β€” the asymmetric key request. that's your whole little request bundle, she's the main character here πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does this icon actually do? she invokes the specific public key encrypt operation for a given public key algorithm. fr fr β€” you hand her the request, she routes it to whatever algorithm is in play, and the encryption happens. she's not doing the math herself, she's the one making the introduction πŸ˜­πŸ’œ

⭐ RETURN ⭐

  • zero on success β€” slay, we love a 0 πŸŽ‰
  • an error code in case of error β€” not the vibe, but at least she tells you πŸ’€

🌈 SEE ALSO 🌈

the whole friend group 🫢 all of these are in the kernel file ./include/crypto/akcipher.h:


and that's the whole page, bestie πŸ’– this one's coming at you from ./include/crypto, dated October 2026, and it's filed under crypto_akcipher_encrypt(9). go encrypt something iconic βœ¨πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from