STRUCT SEC_REQUEST_EL(9)
π 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 thesec_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β thescatterlistfor 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β thescatterlistfor 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 lastivsizechunk 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
- 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