spum_cipher_req_finish(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so this is spum_cipher_req_finish(9) from the Kernel API Manual, and she is here to finish building a SPU request message header for a block cipher request. no cap, she assumes much of the header was already filled in at setkey() time in spu_cipher_req_init(). iconic setup behavior πŸ’…


✨ SYNOPSIS ✨

void spum_cipher_req_finish (u8 *spu_hdr , u16 spu_req_hdr_len ,
unsigned int is_inbound , struct spu_cipher_parms *cipher_parms ,
unsigned int data_size );

πŸŽ€ ARGUMENTS πŸŽ€

  • spu_hdr β€” start of the request message header (the MH field). literally where the header begins 🫢
  • spu_req_hdr_len β€” length in bytes of the SPU request header. count those bytes, bestie ✨
  • is_inbound β€” 0 encrypt, 1 decrypt. that's the whole vibe check right there πŸ”₯
  • cipher_parms β€” parameters describing the cipher operation to be performed. the cipher's little info packet πŸ’œ
  • data_size β€” length of the data in the BD field. yes, the BD field, keep up πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Assumes much of the header was already filled in at setkey time in spum_cipher_req_init. and bestie, spum_cipher_req_init fills in the encryption key. that's the whole tea β˜•βœ¨


🌈 SEE ALSO 🌈

the whole squad is here, iykyk:


xoxo, signed off from ./drivers/crypto/bcm, October 2026 πŸ’–πŸŒ·

πŸ“¦ where this page comes from