STRUCT SAMSUNG_AES_VARIANT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct samsung_aes_variant(9) β€” like, the Kernel API Manual entry, bestie πŸŽ€

okay so this is the man page for struct samsung_aes_variant, and it lives in the Kernel API Manual, and honestly? it's giving "small struct, big responsibilities" energy. let's get into it ✨


🌸 NAME 🌸

struct samsung_aes_variant β€” the platform specific SSS driver data. no cap, that's literally what it is. it's the little info packet that tells the SSS driver how your specific platform is built. 🫢


✨ SYNOPSIS ✨

here's the whole shape of her, verbatim, do not touch:

struct samsung_aes_variant {
    unsigned int                    aes_offset;
    unsigned int                    hash_offset;
    const char                      *clk_names[2];
 };

like. look at her. three members. absolutely iconic minimalism. πŸ‘‘


πŸ¦‹ Members πŸ¦‹

  • aes_offset β€” the AES register offset, measured from the SSS module's base. that's it, that's the vibe. πŸ“
  • hash_offset β€” the HASH register offset, also measured from the SSS module's base. same energy, different register. πŸ“
  • clk_names β€” the names of the clocks you need to actually run the SSS IP. yes plural, yes it's an array of 2, and yes she's a const char * array so don't go mutating those names bestie. ⏰

πŸ’– Description πŸ’–

so this whole struct specifies the platform specific configuration of the SSS module. think of it as the "here's how this board does things" cheat sheet that the driver carries around with it. literally platform data, periodt. πŸ—‚οΈ


πŸ”₯ Note πŸ”₯

a structure for driver specific platform data is used for future expansion of its usage. so yeah β€” it exists to be grown into later. don't come for her for being small, she's scalable. πŸ’…

🌈 SEE ALSO 🌈

the Kernel file ./drivers/crypto/s5p-sss.c and honestly a whole friend group of structs and functions β€” go say hi:

like, that's a lot of friends. she's connected. iykyk πŸ˜­πŸ’œ


okay that's the whole page bestie, and here's the cute little sign-off β€” this one's filed under ./drivers/crypto, dated October 2026 (yes, future vibes ✨), and it's the struct samsung_aes_variant(9) page, forever and always. mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from