sha384_init(9)
β¨ sha384_init(9) β¨
okay so bestie, welcome to the Kernel API Manual π
this one's about sha384_init β the glow-up moment where a SHA-384 context gets born. no cap.
πΈ SYNOPSIS πΈ
void sha384_init (struct sha384_ctx *ctx );
π ARGUMENTS π
ctxβ the context you're initializing, like handing your girl a fresh journal π
π DESCRIPTION π
It initializes a SHA-384 context for a brand new message. That's the whole vibe check, truly iconic behavior.
lowkey though β if you don't need incremental computation, consider sha384 instead. it's giving one-and-done energy and honestly? sometimes that's the move π¦
π«Ά CONTEXT π«Ά
Any context. literally any. no gatekeeping here β¨
π SEE ALSO π
Kernel file ./include/crypto/sha2.h β go read it, iykyk π
the sha224 fam πΈ
struct sha224_ctx(9)sha224_init(9)sha224_update(9)sha224_final(9)sha224(9)
hmac_sha224 squad π
struct hmac_sha224_key(9)struct hmac_sha224_ctx(9)hmac_sha224_preparekey(9)hmac_sha224_init(9)hmac_sha224_init_usingrawkey(9)hmac_sha224_update(9)hmac_sha224_final(9)hmac_sha224(9)hmac_sha224_usingrawkey(9)
the sha256 crew π
struct sha256_ctx(9)sha256_init(9)sha256_update(9)sha256_final(9)sha256(9)sha256_finup_2x(9)sha256_finup_2x_is_optimized(9)
hmac_sha256 squad π
struct hmac_sha256_key(9)struct hmac_sha256_ctx(9)hmac_sha256_preparekey(9)hmac_sha256_init(9)hmac_sha256_init_usingrawkey(9)hmac_sha256_update(9)hmac_sha256_final(9)hmac_sha256(9)hmac_sha256_usingrawkey(9)
the sha384 girlies (our main characters rn) π
struct sha384_ctx(9)sha384_update(9)sha384_final(9)sha384(9)
hmac_sha384 squad π
struct hmac_sha384_key(9)struct hmac_sha384_ctx(9)hmac_sha384_preparekey(9)hmac_sha384_init(9)hmac_sha384_init_usingrawkey(9)hmac_sha384_update(9)hmac_sha384_final(9)hmac_sha384(9)hmac_sha384_usingrawkey(9)
the sha512 besties β
struct sha512_ctx(9)sha512_init(9)sha512_update(9)sha512_final(9)sha512(9)
hmac_sha512 squad π§
struct hmac_sha512_key(9)struct hmac_sha512_ctx(9)hmac_sha512_preparekey(9)hmac_sha512_init(9)hmac_sha512_init_usingrawkey(9)hmac_sha512_update(9)hmac_sha512_final(9)hmac_sha512(9)hmac_sha512_usingrawkey(9)
that's the whole page, bestie. go init that context. slay π β¨
sign-off szn π: this lil masterpiece lives in ./include/crypto, dropped October 2026, and it's filed under sha384_init(9) β periodt. π¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms