STRUCT AKCIPHER_REQUEST(9)
π¦ struct akcipher_request(9) β Kernel API Manual π¦
okay so bestie, we're in the Kernel API Manual today and the main character is struct akcipher_request β it's literally the public key cipher request struct, and it's giving very important, very demure, very mindful β¨
πΈ NAME πΈ
struct akcipher_request β public key cipher request. that's it, that's the vibe π
β¨ SYNOPSIS β¨
struct akcipher_request {
struct crypto_async_request base;
struct scatterlist *src;
struct scatterlist *dst;
unsigned int src_len;
unsigned int dst_len;
void *__ctx[];
};
like, look at her. iconic. no cap π«Ά
π Members π
baseβ the common attributes for async crypto requests π like the shared foundation, the group chat everyone's insrcβ source data π₯ the stuff going indstβ destination data π€ the stuff coming outsrc_lenβ size of the input buffer, literally just how big the input is πdst_lenβ size of thedstbuffer. and okay bestie, listen π it needs to be at least as big as the expected result depending on the operation. after the operation it will be updated with the actual size of the result. and in case of error where thedstsgl size was insufficient, it will be updated to the size required for the operation. so it's out here updating herself, main character energy fr fr π__ctxβ start of private context data π the private little corner, iykyk
π SEE ALSO π
kernel file ./include/crypto/akcipher.h plus the whole friend group:
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)akcipher_request_set_crypt(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)
go read them. all of them. they ate and they deserve your attention π₯
aaaand that's the page bestie, mwah π this one came from ./include/crypto, dated October 2026, and it's filed under struct akcipher_request(9) β slay, periodt, go encrypt something ππ
π¦ 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