STRUCT AF_ALG_ASYNC_REQ(9)
π 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 holdingaead_reqandskcipher_reqπ¦
π¦ SEE ALSO
- Kernel file
./include/crypto/if_alg.h struct af_alg_ctx(9)af_alg_sndbuf(9)af_alg_writable(9)af_alg_rcvbuf(9)af_alg_readable(9)
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
- 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