sha384_final(9)
π sha384_final(9) β like, the grand finale of your SHA-384 hash π
okay so real talk, bestie: this is a page from the Kernel API Manual, section 9, and it's all about sha384_final β the little function that wraps up your SHA-384 digest and then minds its own business by wiping the evidence. iconic behavior honestly β¨
πΈ NAME πΈ
sha384_final β finish computing a SHA-384 message digest π¦
β¨ SYNOPSIS β¨
void sha384_final (struct sha384_ctx *ctx , u8 out[static
SHA384_DIGEST_SIZE] );
no like, that's literally it. two args, one void, zero drama π
π ARGUMENTS π
ctxβ the context you're finalizing, and heads up: it must have been initialized already. don't come at it raw, bestie πoutβ the output π this is where the resulting SHA-384 message digest lands, so it's giving "main character" energy for sure.
π₯ DESCRIPTION π₯
so after it finishes doing its thing, this bad boy zeroizes ctx. yep, wipes it. so the caller does not need to do it themselves β no cap, that's one less chore for you π«Ά
like it's giving "I'll clean up after myself, you're welcome" and honestly? obsessed π
π§ CONTEXT π§
Any context. literally any. no constraints, we love a low-maintenance icon β
π SEE ALSO π
bestie there are so many friends in this extended universe, buckle up π
- Kernel file
./include/crypto/sha2.h - sha224 squad:
struct sha224_ctx(9),sha224_init(9),sha224_update(9),sha224_final(9),sha224(9),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) - sha256 squad:
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),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) - sha384 squad (our people fr fr):
struct sha384_ctx(9),sha384_init(9),sha384_update(9),sha384(9),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) - sha512 squad:
struct sha512_ctx(9),sha512_init(9),sha512_update(9),sha512_final(9),sha512(9),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)
π tiny reminder bestie: ctx must be initialized before you call this. that's not a suggestion, that's the vibe check. π
πΈ okay that's the whole page, and it comes to you straight from ./include/crypto, dated October 2026 β mwah, go forth and finalize those digests, iykyk ππ«Ά
π¦ 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