STRUCT SA_CTX_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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