STRUCT BLAKE2S_CTX(9)
๐ NAME ๐
Okay bestie, welcome to the struct blake2s_ctx(9) page in the Kernel API Manual โจ and no cap, this one is short but iconic. <pink>struct blake2s_ctx` is literally the context for hashing a message with BLAKE2s โ thatโs the whole vibe ๐
โจ SYNOPSIS โจ
Hereโs the struct in all its main-character glory โ copy it exactly, okay? ๐ซถ
struct blake2s_ctx {
u32 h[8];
u32 t[2];
u32 f[2];
u8 buf[BLAKE2S_BLOCK_SIZE];
unsigned int buflen;
unsigned int outlen;
};
๐ Members ๐
hโ the compression function state, doing its lil internal glow-up โจtโ the block counter, keeping track of blocks fr fr ๐งฎfโ the finalization indicator, aka the โweโre done hereโ flag vibe ๐bufโ the partial block buffer;buflenbytes are valid ๐buflenโ number of bytes buffered inbuf, periodt ๐outlenโ length of output hash value in bytes, at mostBLAKE2S_HASH_SIZE๐ธ
๐ฅ SEE ALSO ๐ฅ
- Kernel file
./include/crypto/blake2s.h:blake2s_init(9),blake2s_init_key(9),blake2s_update(9),blake2s_final(9),blake2s(9)๐ฆ
okay thatโs the whole page, bestie ๐ source/version: ./include/crypto; date: October 2026; title: struct blake2s_ctx(9). mwah ๐ byeee ๐ซถ
๐ฆ 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