spu2_fmd_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so spu2_fmd_init(9) is from the Kernel API Manual, and it is literally the at-setkey-time init bestie for the fixed meta data πŸ’…. Like, at setkey time it initializes that fixed meta data so the subsequent skcipher requests for this context are all set up and ready to slay ✨.


πŸŽ€ SYNOPSIS πŸŽ€

int spu2_fmd_init (struct SPU2_FMD *fmd , enum spu2_cipher_type
       spu2_type , enum spu2_cipher_mode spu2_mode , u32 cipher_key_len , u32
       cipher_iv_len );

🌸 ARGUMENTS 🌸

  • fmd β€” start of the FMD field to be written. Like, the beginning of the field, bestie 🫢.
  • spu2_type β€” cipher algorithm, typed as enum spu2_cipher_type.
  • spu2_mode β€” cipher mode, typed as enum spu2_cipher_mode.
  • cipher_key_len β€” length of the cipher key, in bytes, and it’s a u32.
  • cipher_iv_len β€” length of the cipher initialization vector, in bytes, also a u32 ✨.

πŸ’– RETURN πŸ’–

0 (success) πŸŽ€. That’s the return listed, no cap β€” success gives you 0, periodt.


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/crypto/bcm/spu2.c, plus all these iconic friends:


that’s the whole vibe πŸ’œ β€” from ./drivers/crypto/bcm, dated October 2026, mwah πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from