sha1_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

sha1_update β€” update a SHA-1 context with message data πŸ’…

okay so welcome to the Kernel API Manual page for sha1_update(9), bestie. This is literally the function that updates your SHA-1 context with message data, and we're gonna make it make sense ✨


✨ SYNOPSIS ✨

the signature, no cap:

void sha1_update (struct sha1_ctx *ctx , const u8 *data , size_t len );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ctx β€” the context to update; it must have been initialized (fr fr, do not skip this) πŸ’–
  • data β€” the message data πŸŽ€
  • len β€” the data length in bytes πŸ¦‹

🌸 DESCRIPTION 🌸

okay so the whole description is short and iconic: this can be called any number of times. that's the tea. no cap, no secret extra rules β€” just call it as many times as you need and it does its update thing. periodt 🫢


πŸ’… CONTEXT πŸ’…

Any context. That's it β€” literally any context, bestie. vibe check passed πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/crypto/sha1.h and the whole SHA-1 + hmac_sha1 friend group:


cute sign-off: this lil page lives under ./include/crypto, dated October 2026, and it's the sha1_update(9) page β€” mwah, slay, bye bestie πŸ’‹βœ¨

πŸ“¦ where this page comes from