STRUCT AF_ALG_ASYNC_REQ(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME

okay bestie, welcome to the struct af_alg_async_req(9) page from the Kernel API Manual ✨ this one is literally the definition of crypto request β€” no cap, that’s the whole NAME vibe πŸ’…


🌸 SYNOPSIS

struct af_alg_async_req {
    struct sock *sk;
    struct af_alg_rsgl first_rsgl;
    struct af_alg_rsgl *last_rsgl;
    struct list_head rsgl_list;
    struct scatterlist *tsgl;
    unsigned int tsgl_entries;
    unsigned int outlen;
    unsigned int areqlen;
    union {
      struct aead_request aead_req;
      struct skcipher_request skcipher_req;
    } cra_u;
 };

πŸŽ€ Members

  • sk β€” the socket this request is associated with 🫢
  • first_rsgl β€” first RX SG ✨
  • last_rsgl β€” pointer to last RX SG πŸ‘‘
  • rsgl_list β€” tracks RX SGs πŸ’–
  • tsgl β€” private, per request TX SGL of buffers to process πŸ”₯
  • tsgl_entries β€” number of entries in priv. TX SGL 🌸
  • outlen β€” number of output bytes generated by crypto op ⭐
  • areqlen β€” length of this data structure πŸ’«
  • cra_u β€” cipher request, aka the union holding aead_req and skcipher_req πŸ¦‹

πŸ¦‹ SEE ALSO

mwah πŸ’‹ this page’s source/version home is ./include/crypto, and it’s dated October 2026 β€” that’s the whole footer, bestie 🫢

πŸ“¦ where this page comes from