STRUCT SA_CTX_INFO(9)
π¦ struct sa_ctx_info(9) π¦
okay so bestie, welcome to the Kernel API Manual β¨ today we're gonna talk about struct sa_ctx_info β literally the SA context information struct, no cap. this is the one from ./drivers/crypto/sa2ul.h, October 2026 edition, and she is iconic π
πΈ NAME πΈ
struct sa_ctx_info β SA context information. that's it, that's the whole vibe check π
β¨ SYNOPSIS β¨
struct sa_ctx_info {
u8 *sc;
dma_addr_t sc_phys;
u16 sc_id;
u16 cmdl_size;
u32 cmdl[SA_MAX_CMDL_WORDS];
struct sa_cmdl_upd_info cmdl_upd_info;
u32 epib[SA_DMA_NUM_EPIB_WORDS];
};
like, look at her. so structured. so organized. main character energy fr fr π
π Members π
okay now the part you actually came for, the field-by-field breakdown, let's GO πββοΈπ¨
scβ Pointer to security context π like, a literal pointer to the security context, bestie. it's giving "here's where the good stuff lives."sc_physβ Security context physical address that is passed on to SA2UL π¬ this is the physical address of the security context, and it gets handed straight over to SA2UL. iykyk.sc_idβ Security context ID π·οΈ the ID number of the security context. everyone needs an identity, periodt.cmdl_sizeβ Command label size π the size of the command label. simple, clean, slaying.cmdlβ Command label for a particular iteration π the command label for a particular iteration β not all iterations, a particular one. pay attention bestie πcmdl_upd_infoβ structure holding command label updation info π literally exactly what it says: the structure that holds the command label updation info. no notes. ate. πepibβ Extended protocol information block words π§ the extended protocol information block words. say that five times fast, i dare you π
π₯ SEE ALSO π₯
okay so if you're obsessed with this one (and why wouldn't you be), go check out the other icons in the family over in Kernel file ./drivers/crypto/sa2ul.h:
struct sa_crypto_data(9)struct sa_cmdl_param_info(9)struct sa_cmdl_upd_info(9)struct sa_tfm_ctx(9)struct sa_sha_req_ctx(9)struct sa_eng_info(9)
all bangers, all in the same header, all very demure very mindful π
and that's the whole page bestie!! this masterpiece lives in ./drivers/crypto, dated October 2026, and it's titled struct sa_ctx_info(9) β go forth and structure your SA context info, you're gonna do amazing π«Άπ
π¦ 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