STRUCT SA_CMDL_CFG(9)
β¨ struct sa_cmdl_cfg(9) β¨
okay so bestie, welcome to the Kernel API Manual page for struct sa_cmdl_cfg β literally the command label configuration descriptor and honestly? it's giving "small struct, big job" energy π
πΈ NAME πΈ
struct sa_cmdl_cfg β the Command label configuration descriptor. yeah. that's the whole vibe. it's the little descriptor that holds all your command-label config goodness π
π¦ SYNOPSIS π¦
struct sa_cmdl_cfg {
int aalg;
u8 enc_eng_id;
u8 auth_eng_id;
u8 iv_size;
const u8 *akey;
u16 akey_len;
bool enc;
};
like, that's the whole thing. seven members, zero drama, all business β¨
π Members π
okay so let's go through the squad one by one, no cap:
aalgβ the authentication algorithm ID. that's it, that's the member, it just tells you which auth algo we're talking about π₯enc_eng_idβ the Encryption Engine ID supported by the SA hardware. it's au8btw, so keep it cozy πauth_eng_idβ the Authentication Engine ID. sibling energy toenc_eng_id, but for auth π«Άiv_sizeβ the Initialization Vector size. how big is the IV? this member knows πakeyβ the Authentication key. note it's aconst u8 *, so nobody's mutating it on your watch, periodt πakey_lenβ the Authentication key length. it's au16, and yes it pairs withakeylike they're matching bracelets πencβ aboolthat's True, if this is an encode request. literally just true-or-false, main character energy β
π SEE ALSO π
Kernel file ./drivers/crypto/sa2ul.c and the whole friend group: struct algo_data(9), struct sa_alg_tmpl(9), struct sa_mapped_sg(9), struct sa_rx_data(9), struct sa_req(9) β go say hi, they're all icons π§
ngl bestie, if you're poking at the SA command label config, you're already deep in the crypto driver trenches. iykyk π
and that's the page!! sending you off with love from ./drivers/crypto, October 2026 edition β mwah, go read the source, ily, bye ππΈπ
π¦ 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