STRUCT SEC_REQUEST_EL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay bestie, so this page is straight out of the Kernel API Manual, and it's all about struct sec_request_el β€” which is literally a subpart of a request. that's it, that's the whole vibe. one lil piece of a bigger request, living its best supporting-character life ✨


🌸 SYNOPSIS 🌸

struct sec_request_el {
    struct list_head head;
    struct sec_bd_info req;
    struct sec_hw_sgl *in;
    dma_addr_t dma_in;
    struct scatterlist *sgl_in;
    struct sec_hw_sgl *out;
    dma_addr_t dma_out;
    struct scatterlist *sgl_out;
    struct sec_request *sec_req;
    size_t el_length;
 };

πŸ’– Members πŸ’–

  • head β€” this is the little handle that lets us attach this element to the list inside the sec_request. it's giving "clip me onto the chain" energy πŸ”—
  • req β€” the hardware block descriptor that corresponds to this particular request subpart. the hardware's own lil paperwork for this chunk πŸ“‹
  • in β€” hardware sgl for input β€” the virtual address one. the vibe version of the address πŸ’«
  • dma_in β€” hardware sgl for input β€” the physical address one. the real-deal address, no cap 🫢
  • sgl_in β€” the scatterlist for this request subpart. input side πŸ¦‹
  • out β€” hardware sgl for output β€” virtual address. same energy, other direction πŸ’…
  • dma_out β€” hardware sgl for output β€” physical address. ok hardware you got this one fr fr πŸ”₯
  • sgl_out β€” the scatterlist for this request subpart. output side, matching the input one 🌸
  • sec_req β€” The request which this subpart forms a part of. the main character this element is supporting πŸ‘‘
  • el_length β€” Number of bytes in this subpart. Needed to locate last ivsize chunk for iv chaining. yes it's literally doing data-locating math, respect it 😭

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/crypto/hisilicon/sec/sec_drv.h
  • struct sec_queue_ring_cmd(9)
  • struct sec_alg_tfm_ctx(9)
  • struct sec_request(9)
  • struct sec_queue(9)
  • struct sec_hw_sge(9)
  • struct sec_hw_sgl(9)
  • struct sec_dev_info(9)

lowkey go read those siblings too, iykyk β€” they're all hanging out in the same hood πŸ’œ

that's the whole page babes!! mwah πŸ’‹ this one came from ./drivers/crypto/hisilicon/sec, dated October 2026, and it's still filed under struct sec_request_el(9) β€” go off, icon β­πŸŒˆπŸŽ€

πŸ“¦ where this page comes from