sha256_finup...is_optimized(9)
π
sha256_finup_2x_is_optimized β a.k.a. the Kernel API Manual page you didn't know you needed π
okay so bestie, welcome to section 9 of the funny little kernel manual, where we answer the question: is this thing actually doing the fast thing, or is it quietly doing the slow thing? π
β¨ NAME β¨
sha256_finup_2x_is_optimized β checks whether sha256_finup_2x() is running a real interleaved implementation, as opposed to a sequential fallback. no cap, that's the whole gig π«Ά
πΈ SYNOPSIS πΈ
bool sha256_finup_2x_is_optimized (void );
it takes nothing, it returns a bool, it's giving lowkey iconic minimalism π
π¦ ARGUMENTS π¦
voidβ literally no arguments. none. zero. the void is voiding π³οΈβ¨
β RETURN β
trueβ if optimized π- (and, iykyk, anything that isn't
truemeans you got the other thing π)
π CONTEXT π
Any context. fr fr, any context β she's flexible like that π§
π₯ SEE ALSO π₯
Kernel file ./include/crypto/sha2.h β and honestly the whole sha2 extended universe is here, so buckle up buttercup, we're listing every single one π
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)struct sha256_ctx(9)sha256_init(9)sha256_update(9)sha256_final(9)sha256(9)sha256_finup_2x(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 friends, but they're all family at this point π
heads up bestie: this page only tells you whether you're optimized β it does not promise anything about how the check is done internally, so don't go writing a whole essay about it, mwah π
and that's the vibe check, periodt π this lil cutie came out of ./include/crypto, October 2026 edition β go forth and check your optimization status, main character ππ«Άβ¨
π¦ 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