spu_hmac_outer_hash(9)
π 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:
select_channel(9)spu_skcipher_rx_sg_create(9)spu_skcipher_tx_sg_create(9)handle_skcipher_req(9)handle_skcipher_resp(9)spu_ahash_rx_sg_create(9)spu_ahash_tx_sg_create(9)handle_ahash_req(9)ahash_req_done(9)handle_ahash_resp(9)spu_aead_rx_sg_create(9)spu_aead_tx_sg_create(9)handle_aead_req(9)handle_aead_resp(9)spu_chunk_cleanup(9)finish_req(9)spu_rx_callback(9)skcipher_enqueue(9)spu_no_incr_hash(9)aead_gcm_esp_setkey(9)rfc4543_gcm_esp_setkey(9)aead_ccm_esp_setkey(9)spu_functions_register(9)spu_mb_init(9)
xoxo, your Kernel API Manual π
β source/version: ./drivers/crypto/bcm Β· date: October 2026 Β· page: spu_hmac_outer_hash(9) π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms