spu_hmac_outer_hash(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– spu_hmac_outer_hash(9) β€” Kernel API Manual πŸ’–

okay so welcome to the Kernel API Manual page for spu_hmac_outer_hash(9) bestie β€” yes, the manual name is folded in right here at the top instead of copying that header line like a npc πŸ’…. This one is short, useful, and lowkey iconic. Let's go.

🌸 NAME 🌸

spu_hmac_outer_hash β€” requests a synchonous software compute of the outer hash for an HMAC request πŸ’–. (That spelling is straight from the page; we're keeping it, no cap.)

✨ SYNOPSIS ✨

Here's the signature, exactly:

int spu_hmac_outer_hash (struct ahash_request *req , struct iproc_ctx_s
*ctx );

πŸŽ€ ARGUMENTS πŸŽ€

  • req β€” the HMAC request from the crypto API. It's giving main character request energy πŸ”₯.
  • ctx β€” the session context. The supportive bestie holding the session vibe together 🫢.

πŸ”₯ RETURN πŸ”₯

  • 0 β€” if synchronous hash operation successful. Slay, we love a success code ✨.
  • -EINVAL β€” if the hash algo is unrecognized. Not the vibe, but at least it tells you 😭.
  • any other value β€” indicates an error. Yep, that's the whole mood πŸ’€.

🌈 SEE ALSO 🌈

Kernel file ./drivers/crypto/bcm/cipher.c β€” that's the file to peek at, iykyk πŸ‘€. Then these besties:


xoxo, your Kernel API Manual πŸ’… β€” source/version: ./drivers/crypto/bcm Β· date: October 2026 Β· page: spu_hmac_outer_hash(9) πŸŽ€

πŸ“¦ where this page comes from