crypto_ahash_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… crypto_ahash_update(9) πŸ’…

okay bestie, so you're diving into the kernel's async hash API?? that's iconic of you honestly. this page is from the Kernel API Manual and we're about to get you fully caught up on crypto_ahash_update β€” the glow-up your message digest deserves ✨


✨ NAME ✨

crypto_ahash_update β€” add data to message digest for processing 🫢

like literally just feeding your hash some more bytes to chew on. no cap.


🌸 SYNOPSIS 🌸

int crypto_ahash_update (struct ahash_request *req );

that's the whole vibe. one function, one request handle, and you're off πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • req β€” the ahash_request handle that was previously initialized with the crypto_ahash_init call. bestie, if you didn't init it first, we can't help you β€” crypto_ahash_init is the prerequisite, periodt πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

so what this does is update the message digest state of that ahash_request handle. the way that it works is: the input data is pointed to by the scatter/gather list registered in the ahash_request handle. that's the whole story β€” you hand it a handle, it knows where the data is via the scatter/gather list, and it keeps the digest state rolling 🌈

it's giving "continuation of a saga" energy, not "fresh start" energy. your digest was already started by crypto_ahash_init, and now you're adding more data to the mix. main character update moment fr fr πŸ’–


πŸ‘‘ RETURN πŸ‘‘

see crypto_ahash_final β€” that's where you'll find the return details. we're not gatekeeping, we're just pointing you to the right page iykyk πŸ€·β€β™€οΈ


πŸ¦‹ SEE ALSO πŸ¦‹

like, there's SO many references bestie, we're not skipping a single one. every single one of these matters, okay? obsessed with how thorough this is:

yeah that's a LOT of references and every single one showed up. not me being thorough or whatever πŸ’€


and that's the tea, bestie πŸ“ this page is from the Kernel API Manual, sourced from ./include/crypto, dated October 2026 β€” so like, recent. go forth and hash responsibly, you've got this πŸ’œβœ¨

πŸ“¦ where this page comes from