STRUCT QCE_CIPHER_REQCTX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct qce_cipher_reqctx(9) πŸ’…

okay so bestie, welcome to the kernel API manual for struct qce_cipher_reqctx β€” yes, the 9 means it's a kernel-space page, we're in the big leagues now πŸŽ€


✨ NAME ✨

struct qce_cipher_reqctx β€” holds private cipher objects per request 🫢

like, every single request gets its own lil private stash of cipher stuff. main character energy, honestly.


🌸 SYNOPSIS 🌸

struct qce_cipher_reqctx {
    unsigned long flags;
    u8 *iv;
    unsigned int ivsize;
    int src_nents;
    int dst_nents;
    struct scatterlist result_sg;
    struct sg_table dst_tbl;
    struct scatterlist *dst_sg;
    struct scatterlist *src_sg;
    unsigned int cryptlen;
    struct skcipher_request fallback_req;
 };

no cap, that's the whole struct, copy it exactly, do not come for me about the spacing πŸ’€


πŸ¦‹ Members πŸ¦‹

  • flags β€” operation flags ✨ the vibe check for what this request is doing
  • iv β€” pointer to the IV πŸ’œ literally just pointing at the initialization vector
  • ivsize β€” IV size πŸ“ how big that IV is
  • src_nents β€” source entries πŸ“ the number of source entries
  • dst_nents β€” destination entries 🌈 the number of destination entries
  • result_sg β€” scatterlist used for result buffer πŸŽ€ this scatterlist is the one doing result-buffer duty
  • dst_tbl β€” destination sg table πŸ‘‘ the destination sg table, periodt
  • dst_sg β€” destination sg pointer table beginning ⭐ where the destination sg pointer table starts
  • src_sg β€” source sg pointer table beginning 🌸 where the source sg pointer table starts (the original even left a lil ; here, iconic)
  • cryptlen β€” crypto length πŸ”₯ how long the crypto is, fr fr

πŸ’– SEE ALSO πŸ’–

  • Kernel file ./drivers/crypto/qce/cipher.h 🧚 go read it, iykyk

lowkey a reminder that this is the place to look when you're digging through the qce cipher driver and wondering what all these fields are for πŸ™ˆ

and that's the whole page, bestie πŸ’… this came from ./drivers/crypto/qce, dated October 2026, and it's the struct qce_cipher_reqctx(9) page β€” slay, you're welcome, mwah 🫢✨

πŸ“¦ where this page comes from