ahash_request_set_crypt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ahash_request_set_crypt(9) β€” set data buffers ✨

okay so bestie, welcome to this Kernel API Manual page (section 9, we love a kernel moment). This is the one where you set data buffers for an ahash_request. It's short, it's iconic, and it's literally the setup move. no cap.

🌸 NAME 🌸

ahash_request_set_crypt β€” set data buffers. that's the whole name, periodt.

✨ SYNOPSIS ✨

void ahash_request_set_crypt (struct ahash_request *req , struct
       scatterlist *src , u8 *result , unsigned int nbytes );

🫢 ARGUMENTS 🫢

  • req β€” the ahash_request handle to be updated. main character energy, honestly.
  • src β€” the source scatter/gather list. yes bestie, scatter/gather, we're fancy like that.
  • result β€” the buffer that is filled with the message digest. caller responsibility alert: the caller must ensure that the buffer has sufficient space by, for example, calling crypto_ahash_digestsize. do not skip the buffer-size vibe check, iykyk.
  • nbytes β€” the number of bytes to process from the source scatter/gather list. that's the byte count, not a vibe count.

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea: by using this call, the caller references the source scatter/gather list. that source scatter/gather list points to the data the message digest is to be calculated for.

it's giving β€œpoint the request at the actual bytes” energy. that's the description, bestie β€” short and sweet, no extra lore.

πŸŽ€ SEE ALSO πŸŽ€

the whole friend group, fr fr:


okay bye bestie β€” source/version vibe is ./include/crypto, dated October 2026, and ahash_request_set_crypt(9) is signing off πŸ’…βœ¨

πŸ“¦ where this page comes from