akcipher_request_set_crypt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 akcipher_request_set_crypt(9) 🌸

okay bestie so this is a page from the Kernel API Manual and it's genuinely so useful β€” it's the little setup step that makes your public key crypto request actually know what it's encrypting and where the results go πŸ’…


πŸ’– NAME πŸ’–

akcipher_request_set_crypt β€” sets request parameters ✨


πŸŽ€ SYNOPSIS πŸŽ€

void akcipher_request_set_crypt (struct akcipher_request *req , struct
scatterlist *src , struct scatterlist *dst , unsigned int src_len ,
unsigned int dst_len );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • req β€” your public key request, the main character of this whole story πŸ‘‘
  • src β€” ptr to input scatter list (the data going in, bestie) πŸ“
  • dst β€” ptr to output scatter list (where the results come out) πŸ’«
  • src_len β€” size of the src input scatter list to be processed πŸ“
  • dst_len β€” size of the dst output scatter list πŸ“

🌈 DESCRIPTION 🌈

Sets the parameters required by the crypto operation ✨ like genuinely this is the function that tells your request "here's the input, here's the output, here's how much of each" and then the operation can actually do its thing πŸ’œ

no cap, it's giving setup-step energy β€” small function, huge responsibilities 🫢


⭐ SEE ALSO ⭐


πŸ’€ reminder bestie: src_len is the size of the src list and dst_len is the size of the dst list β€” don't mix them up, iykyk πŸ™ˆ

and that's the page!! mwah πŸ’‹ this one lives over in ./include/crypto and it's dated October 2026 β€” go off, kernel crypto, periodt πŸ§šβ€β™€οΈπŸ’–βœ¨

πŸ“¦ where this page comes from