crypto_shash_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– crypto_shash_update(9) β€” the Kernel API Manual glow-up πŸ’–

okay so bestie, we're in the Kernel API Manual (crypto_shash_update(9)) and this is literally the function that keeps your message digest fed and happy πŸ“


✨ NAME ✨

crypto_shash_update β€” add data to message digest for processing πŸ’…


🌸 SYNOPSIS 🌸

int crypto_shash_update (struct shash_desc *desc , const u8 *data ,
unsigned int len );

πŸŽ€ ARGUMENTS πŸŽ€

  • desc β€” the operational state handle that is already initialized (yes, already β€” don't come at me with a fresh uninitialized one πŸ™ˆ)
  • data β€” the input data you're adding to the message digest
  • len β€” length of the input data

πŸ¦‹ DESCRIPTION πŸ¦‹

It updates the message digest state of the operational state handle. That's the whole vibe β€” you hand it data, it folds that data into the digest state, and everybody moves on. ✨


πŸ‘‘ CONTEXT πŸ‘‘

Softirq or process context. Both are valid, no cap 🫢


⭐ RETURN ⭐

0 if the message digest update was successful; < 0 if an error occurred 😭


πŸ’€ SEE ALSO πŸ’€


mwah πŸ’‹ that's the whole page. This one came from ./include/crypto, dated October 2026, and it's filed under crypto_shash_update(9) β€” periodt, go update some digests bestie πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from