sha224(9)
πΈ NAME πΈ
okay so this is sha224(9) from the Kernel API Manual β the one-shot version of SHA-224. It computes a SHA-224 message digest in one shot, meaning you hand it the whole message and it hands you back the digest. no streaming, no drama, no init/update/final situationship. π
β¨ SYNOPSIS β¨
void sha224 (const u8 *data , size_t len , u8 out[static
SHA224_DIGEST_SIZE] );
that's it, that's the whole signature. she's a void, she returns nothing, she just does it. iconic. π
π ARGUMENTS π
dataβ the message data itself. the actual bytes bestie, give her the tea π«lenβ how long that data is, counted in bytes. don't lie about this one fr fr πoutβ (output) the resulting SHA-224 message digest gets written in here. it's an output param, so she fills it for you β sizedSHA224_DIGEST_SIZE, no cap. π
π¦ CONTEXT π¦
Any context. literally any. no locks, no special context requirements, nothing to worry about. she's chill like that. β¨
π SEE ALSO π
the rabbit hole goes deep, so buckle up β the kernel file in question is ./include/crypto/sha2.h, and here's the whole fam, SHA-224 through SHA-512, hashing and HMAC-ing and ctx-ing all the way down π
struct sha224_ctx(9)sha224_init(9)sha224_update(9)sha224_final(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)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)struct sha384_ctx(9)sha384_init(9)sha384_update(9)sha384_final(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)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)
like yes that's a lot of cross-references but she's thorough and we respect that ππ
and that's the whole page bestie π«Ά straight from ./include/crypto, dated October 2026, version sha224(9) β go hash something and slay βπΈ
π¦ 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