blake2b_init_key(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« blake2b_init_key β€” bestie's guide to the keyed BLAKE2b glow-up πŸ’«

ok so this is a page from the Kernel API Manual, and it's literally about blake2b_init_key(9) β€” the function that sets up your BLAKE2b context for a brand-new keyed message. keyed!! πŸ”‘


✨ NAME ✨

blake2b_init_key β€” initialize a BLAKE2b context for a new message (keyed) πŸŽ€


🌸 SYNOPSIS 🌸

void blake2b_init_key (struct blake2b_ctx *ctx , size_t outlen , const
void *key , size_t keylen );

that's the whole vibe. four args, no cap. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ctx β€” the context you're initializing. it's giving "blank canvas, main character energy" ✨
  • outlen β€” how long your output hash value is, in bytes. and bestie, listen: it's at most BLAKE2B_HASH_SIZE. don't push it past that πŸ™ˆ
  • key β€” the key. that's it, that's the arg πŸ”‘
  • keylen β€” the key length in bytes, at most BLAKE2B_KEY_SIZE. same rule, same energy πŸ’€

🌈 CONTEXT 🌈

Any context. literally any. we don't gatekeep here 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

go check out the kernel file ./include/crypto/blake2b.h, plus these iconic siblings:

the whole blake2b friend group, fr fr πŸ’–


ok that's the page!! mwah πŸ’‹ this came straight out of ./include/crypto, dated October 2026 β€” slay, stan, and go initialize some keyed contexts responsibly πŸŒΈβœ¨πŸŽ€

πŸ“¦ where this page comes from