STRUCT DPSECI_SEC_ATTR(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… NAME ๐Ÿ’…

okay so bestie, this page is literally about struct dpseci_sec_attr โ€” the struct that represents the attributes of the SEC hardware accelerator โœจ (yes, THE SEC, the security accelerator, she's kind of a big deal ๐Ÿ‘‘).


๐ŸŒธ SYNOPSIS ๐ŸŒธ

here's her whole shape, no cap, every single field exactly as she is:

struct dpseci_sec_attr {
    u16 ip_id;
    u8 major_rev;
    u8 minor_rev;
    u8 era;
    u8 deco_num;
    u8 zuc_auth_acc_num;
    u8 zuc_enc_acc_num;
    u8 snow_f8_acc_num;
    u8 snow_f9_acc_num;
    u8 crc_acc_num;
    u8 pk_acc_num;
    u8 kasumi_acc_num;
    u8 rng_acc_num;
    u8 md_acc_num;
    u8 arc4_acc_num;
    u8 des_acc_num;
    u8 aes_acc_num;
    u8 ccha_acc_num;
    u8 ptha_acc_num;
};

๐ŸŽ€ Members ๐ŸŽ€

like, the full roster ๐Ÿ’– โ€” everybody gets an intro:

  • ip_id โ€” the ID for SEC ๐Ÿชช
  • major_rev โ€” the major revision number for SEC
  • minor_rev โ€” the minor revision number for SEC
  • era โ€” the SEC Era โณ
  • deco_num โ€” the number of copies of the DECO that are implemented in this version of SEC
  • zuc_auth_acc_num โ€” the number of copies of ZUCA that are implemented in this version of SEC
  • zuc_enc_acc_num โ€” the number of copies of ZUCE that are implemented in this version of SEC
  • snow_f8_acc_num โ€” the number of copies of the SNOW-f8 module that are implemented in this version of SEC โ„๏ธ
  • snow_f9_acc_num โ€” the number of copies of the SNOW-f9 module that are implemented in this version of SEC โ„๏ธ
  • crc_acc_num โ€” the number of copies of the CRC module that are implemented in this version of SEC
  • pk_acc_num โ€” the number of copies of the Public Key module that are implemented in this version of SEC ๐Ÿ”‘
  • kasumi_acc_num โ€” the number of copies of the Kasumi module that are implemented in this version of SEC
  • rng_acc_num โ€” the number of copies of the Random Number Generator that are implemented in this version of SEC ๐ŸŽฒ
  • md_acc_num โ€” the number of copies of the MDHA (Hashing module) that are implemented in this version of SEC
  • arc4_acc_num โ€” the number of copies of the ARC4 module that are implemented in this version of SEC
  • des_acc_num โ€” the number of copies of the DES module that are implemented in this version of SEC
  • aes_acc_num โ€” the number of copies of the AES module that are implemented in this version of SEC
  • ccha_acc_num โ€” the number of copies of the ChaCha20 module that are implemented in this version of SEC.
  • ptha_acc_num โ€” the number of copies of the Poly1305 module that are implemented in this version of SEC.
ngl the theme here is "how many copies of each module does this SEC version ship with" โ€” that's the whole vibe check, every field is counting something ๐Ÿงฎโœจ

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

go read the kernel file ./drivers/crypto/caam/dpseci.h โ€” it's giving main character energy, and it's friends with all of these ๐Ÿ’…:

  • struct dpseci_cfg(9)
  • struct dpseci_attr(9)
  • enum dpseci_dest(9)
  • struct dpseci_dest_cfg(9)
  • struct dpseci_rx_queue_cfg(9)
  • struct dpseci_rx_queue_attr(9)
  • struct dpseci_tx_queue_attr(9)
  • enum dpseci_congestion_unit(9)
  • struct dpseci_congestion_notification_cfg(9)

okay and like a little sign-off bestie ๐Ÿซถ this whole thing lives in ./drivers/crypto/caam, it's dated October 2026, and it comes to you straight from the Kernel API Manual. slay, go read the other structs, mwah ๐Ÿ’‹๐ŸŒˆ

๐Ÿ“ฆ where this page comes from