sm3(9)
π NAME π
sm3 β compute that SM3 message digest in one shot, bestie β¨
π¦ SYNOPSIS π¦
void sm3 (const u8 *data , size_t len , u8 out[static SM3_DIGEST_SIZE] );
π ARGUMENTS π
dataβ the message data, aka the actual stuff you're hashing πlenβ the data length, measured in bytes fr froutβ (output) the resulting SM3 message digest π
πΈ CONTEXT πΈ
Any context. Literally any. No cap, you can call this from wherever π«Ά
β SEE ALSO β
- Kernel file
./include/crypto/sm3.hπ§ - struct
sm3_ctx(9) sm3_init(9)sm3_update(9)sm3_final(9)
okay that's the whole thing, you ate that π
letting you go now β this lil page lives in ./include/crypto, dated October 2026, and it's serving sm3(9) realness from the Kernel API Manual πβ¨
π¦ 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