STRUCT SA_CMDL_UPD_INFO(9)
π struct sa_cmdl_upd_info β the kernel API manual, bestie edition π
Hiii okay so we're talking about struct sa_cmdl_upd_info(9) from the Kernel API Manual today, and honestly? It's giving "command label updation info" and it ate. Buckle up, this one's a whole struct and she has a LOT of members. π
β¨ NAME β¨
struct sa_cmdl_upd_info β command label updation info. Yes that's really what it's called, no I did not make that up, and yes the whole point of this struct is keeping track of update info for a command label. Iconic behavior tbh. π«Ά
πΈ SYNOPSIS πΈ
Okay so here's the whole thing, character for character, look at her:
struct sa_cmdl_upd_info {
u16 flags;
u16 submode;
struct sa_cmdl_param_info enc_size;
struct sa_cmdl_param_info enc_size2;
struct sa_cmdl_param_info enc_offset;
struct sa_cmdl_param_info enc_iv;
struct sa_cmdl_param_info enc_iv2;
struct sa_cmdl_param_info aad;
struct sa_cmdl_param_info payload;
struct sa_cmdl_param_info auth_size;
struct sa_cmdl_param_info auth_size2;
struct sa_cmdl_param_info auth_offset;
struct sa_cmdl_param_info auth_iv;
struct sa_cmdl_param_info aux_key_info;
u32 aux_key[SA_MAX_AUX_DATA_WORDS];
};
Like, she's long, she's detailed, she has a whole little struct sa_cmdl_param_info friend group. Main character energy fr fr. π
π Members π
Okay bestie, time for the roll call β every single member, no skipping, because we do NOT leave anyone out of the group chat:
flagsβ flags in command label. Yeah, flags. In the command label. Keeping it simple, we love that for her. β¨submodeβ Encryption submodes. The vibes of the encryption, essentially. π₯enc_sizeβ Size of first pass encryption size. First pass!! There's a whole second pass coming, don't worry. π¦enc_size2β Size of second pass encryption size. See? Told you. πenc_offsetβ Encryption payload offset in the packet. Where the payload is chilling inside the packet. πenc_ivβ Encryption initialization vector for pass2. (Yes, bothenc_ivandenc_iv2say pass2 in this manual. We're just reporting the facts, no cap. π)enc_iv2β Encryption initialization vector for pass2. Again. Second verse, same as the first. πaadβ Associated data. That's it, that's the whole description, and honestly? Respect the brevity. πpayloadβ Payload info. The payload's info. The info about the payload. Chef's kiss of a description. πauth_sizeβ Authentication size for pass 1. Note the space before the1, we keep it exactly as written, we are nothing if not accurate. βauth_size2β Authentication size for pass 2. The sequel. πauth_offsetβ Authentication payload offset. Where the auth payload sits. πΈauth_ivβ Authentication initialization vector. The auth-side IV, doing her little cryptographic thing. π§aux_key_infoβ Authentication aux key information. All the ~info~ about the aux key. π«aux_keyβ Aux key for authentication. It's literallyu32 aux_key[SA_MAX_AUX_DATA_WORDS];β an array, bestie, she contains multitudes. π
π SEE ALSO π
Go read these next, iykyk, they're literally in the kernel file ./drivers/crypto/sa2ul.h:
struct sa_crypto_data(9)struct sa_cmdl_param_info(9)struct sa_ctx_info(9)struct sa_tfm_ctx(9)struct sa_sha_req_ctx(9)struct sa_eng_info(9)
Lowkey a reminder that this is the struct sa_cmdl_upd_info(9) page from the Kernel API Manual, so if you're out here shipping crypto driver code, cite your sources bestie. π
Okay that's the whole page, mwah π β brought to you by ./drivers/crypto, dated October 2026, and yes the footer says struct sa_cmdl_upd_info(9) one more time just to make sure you remember her name. Periodt. π
β¨π«Ά
π¦ 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