akcipher_request_set_crypt(9)
πΈ 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 β
- Kernel file
./include/crypto/akcipher.hstruct akcipher_request(9) struct crypto_akcipher(9)struct akcipher_alg(9)Generic Public Key Cipher API(9)crypto_alloc_akcipher(9)crypto_free_akcipher(9)akcipher_request_alloc(9)akcipher_request_free(9)akcipher_request_set_callback(9)crypto_akcipher_maxsize(9)crypto_akcipher_encrypt(9)crypto_akcipher_decrypt(9)crypto_akcipher_sync_encrypt(9)crypto_akcipher_sync_decrypt(9)crypto_akcipher_set_pub_key(9)crypto_akcipher_set_priv_key(9)
π reminder bestie:src_lenis the size of the src list anddst_lenis 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
- 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