STRUCT MV_CESA_SEC_ACCEL_DESC(9)
π NAME π
okay so bestie, welcome to struct mv_cesa_sec_accel_desc β it's the security accelerator descriptor, and it's literally the little info packet you hand to the CESA engine so it knows what crypto to do. this is from the Kernel API Manual, section 9, and yes we're reading it together, no cap π
β¨ SYNOPSIS β¨
like, here's the whole shape of it, verbatim, don't @ me:
struct mv_cesa_sec_accel_desc {
__le32 config;
__le32 enc_p;
__le32 enc_len;
__le32 enc_key_p;
__le32 enc_iv;
__le32 mac_src_p;
__le32 mac_digest;
__le32 mac_iv;
};
eight __le32 fields, all lined up, all little-endian, it's giving organized π
π¦ Members π¦
okay so every single field, one by one, because we do not skip:
configβ the engine config. that's it, that's the vibe, it's the settings blob for the engine.enc_pβ the input and output data pointers for a cipher operation. both of them, in one field, iconic π₯enc_lenβ cipher operation length. how long the cipher thing is.enc_key_pβ cipher key pointer. points at the key, key behavior only πenc_ivβ cipher IV pointers. plural, bestie, pointers.mac_src_pβ input pointer and total hash length. two things, one field, she's multitasking.mac_digestβ digest pointer and hash operation length. again, two-in-one, we love efficiency.mac_ivβ hmac IV pointers. plural again. she's consistent.
πΈ Description πΈ
fr fr, this is the structure that gets passed to the CESA engine to describe the crypto operation that's about to be executed. that's the whole job. she's a descriptor, she describes, she slays π
π SEE ALSO π
the whole friend group, no one left out, iykyk:
- Kernel file
./drivers/crypto/marvell/cesa/cesa.hstructmv_cesa_skcipher_op_ctx(9), structmv_cesa_hash_op_ctx(9), structmv_cesa_op_ctx(9), structmv_cesa_tdma_desc(9), structmv_cesa_sg_dma_iter(9), structmv_cesa_dma_iter(9), structmv_cesa_tdma_chain(9), structmv_cesa_caps(9), structmv_cesa_dev_dma(9), structmv_cesa_engine(9), structmv_cesa_dev(9), structmv_cesa_req_ops(9), structmv_cesa_ctx(9), structmv_cesa_hash_ctx(9), enummv_cesa_req_type(9), structmv_cesa_req(9), structmv_cesa_sg_std_iter(9), structmv_cesa_skcipher_std_req(9), structmv_cesa_skcipher_req(9), structmv_cesa_ahash_std_req(9), structmv_cesa_ahash_dma_req(9), structmv_cesa_ahash_req(9)
ok genuine reminder bestie: every one of those fields is __le32, so if you're poking at this struct yourself, byte order is absolutely your business π
and that's the page!! source is ./drivers/crypto/marvell/cesa, date October 2026, and it's living in the Kernel API Manual β go off, read the rest, 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