s5p_hash_prepare_request(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– s5p_hash_prepare_request(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this one lives in the kernel and it's called s5p_hash_prepare_request, and honestly? it's giving "get your request ready before the real work starts" ✨


🌸 NAME 🌸

s5p_hash_prepare_request β€” prepare request for processing πŸŽ€


⭐ SYNOPSIS ⭐

int s5p_hash_prepare_request (struct ahash_request *req , bool update );

like, that's the whole signature, no cap πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • req β€” AHASH request πŸ‘‘ that's the request we're prepping, bestie
  • update β€” true if UPDATE op βœ… (literally just a bool telling us it's an update)

πŸ”₯ DESCRIPTION πŸ”₯

okay so two things, and you gotta know both of them, iykyk:

Note 1: we can have update flag _and_ final flag at the same time. yes, both. at once. iconic behavior honestly πŸ’€

Note 2: we enter here when digcnt > BUFLEN (= HASH_BLOCK_SIZE) or either req->nbytes or ctx->bufcnt + req->nbytes is > BUFLEN or we have final op 🌈

like, one of those conditions hits and we're in, periodt 🫢


🧚 SEE ALSO 🧚

Kernel file ./drivers/crypto/s5p-sss.c β€” plus the whole friend group:


ngl, that SEE ALSO list is a whole squad and they're all slaying in ./drivers/crypto πŸ’œ

k bye bestie, this page is from ./drivers/crypto, dated October 2026 β€” drink some water, run your dmesg, and stan the kernel πŸ“βœ¨

πŸ“¦ where this page comes from