STRUCT MV_CESA_REQ_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct mv_cesa_req_ops(9) β€” the manual, but make it make sense

okay so bestie, welcome to the Kernel API Manual ✨ we're looking at struct mv_cesa_req_ops(9) today and honestly? she's giving backstage crew energy. nobody claps for her but the whole show falls apart without her πŸŽ€


🌸 NAME 🌸

struct mv_cesa_req_ops β€” CESA request operations. that's it, that's the whole vibe. it's a struct full of function pointers that tell the CESA request machinery how to do its little dance 🩰


✨ SYNOPSIS ✨

struct mv_cesa_req_ops {
    int (*process)(struct crypto_async_request *req, u32 status);
    void (*step)(struct crypto_async_request *req);
    void (*cleanup)(struct crypto_async_request *req);
    void (*complete)(struct crypto_async_request *req);
 };

not me copy-pasting this exactly because every character matters β€” please don't retype it from memory, that's how bugs are born 😭


🫢 Members 🫢

bestie these four are the whole squad, okay, let me introduce them:

  • process β€” this one handles a request chunk result πŸ’–. it should return 0 if the operation, -EINPROGRESS if it needs more steps, or an error code. yes, those are three very different moods and you have to keep them straight. no cap.
  • step β€” launches the crypto operation on the next chunk πŸš€ like "okay next", she's the momentum.
  • cleanup β€” cleans up the crypto request (releases the associated data) 🧹 the "okay everyone go home" friend. lowkey the most important one ngl.
  • complete β€” completes the request, i.e. copies the result or context from sram when needed ⭐. it's the grand finale, the copy-out, the bows.
πŸ’€ reminder bestie: these are function pointers. if one's null and something calls it, that's a bad time. iykyk.

πŸ¦‹ SEE ALSO πŸ¦‹

the whole family, no one gets left out πŸ‘‘

  • Kernel file ./drivers/crypto/marvell/cesa/cesa.h β€” that's where she lives 🏠
  • struct mv_cesa_sec_accel_desc(9)
  • struct mv_cesa_skcipher_op_ctx(9)
  • struct mv_cesa_hash_op_ctx(9)
  • struct mv_cesa_op_ctx(9)
  • struct mv_cesa_tdma_desc(9)
  • struct mv_cesa_sg_dma_iter(9)
  • struct mv_cesa_dma_iter(9)
  • struct mv_cesa_tdma_chain(9)
  • struct mv_cesa_caps(9)
  • struct mv_cesa_dev_dma(9)
  • struct mv_cesa_engine(9)
  • struct mv_cesa_dev(9)
  • struct mv_cesa_ctx(9)
  • struct mv_cesa_hash_ctx(9)
  • enum mv_cesa_req_type(9)
  • struct mv_cesa_req(9)
  • struct mv_cesa_sg_std_iter(9)
  • struct mv_cesa_skcipher_std_req(9)
  • struct mv_cesa_skcipher_req(9)
  • struct mv_cesa_ahash_std_req(9)
  • struct mv_cesa_ahash_dma_req(9)
  • struct mv_cesa_ahash_req(9)

πŸŽ€ sign-off πŸŽ€

this page came to you from the source at ./drivers/crypto/marvell/cesa, dated October 2026, and it's filed under struct mv_cesa_req_ops(9) in case you need to find her again 🧚

go forth and process your chunks, bestie. slay πŸ’œπŸŒˆ

πŸ“¦ where this page comes from