STRUCT AKCIPHER_REQUEST(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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 in
  • src β€” source data πŸ“₯ the stuff going in
  • dst β€” destination data πŸ“€ the stuff coming out
  • src_len β€” size of the input buffer, literally just how big the input is πŸ“
  • dst_len β€” size of the dst buffer. 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 the dst sgl 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:

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