polyval_init(9)
β¨ NAME β¨
okay so this is the polyval_init(9) page from the Kernel API Manual, and it's literally about one thing: setting up a POLYVAL context for a brand-new message. icon behavior tbh.
polyval_init β Initialize a POLYVAL context for a new message π
π οΈ SYNOPSIS π οΈ
void polyval_init (struct polyval_ctx *ctx , const struct polyval_key *key );
π ARGUMENTS π
ctxβ the context you're initializing. this is the main character getting set up bestie β¨keyβ the key to use. important heads-up: a pointer to the key is saved in the context, so the key must live at least as long as the context. no cap, do not let that key dip out early π
π SEE ALSO π
go peek at these besties if you want the full lore π:
- Kernel file
./include/crypto/gf128hash.h struct polyval_elem(9)struct ghash_key(9)struct polyval_key(9)struct ghash_ctx(9)struct polyval_ctx(9)ghash_preparekey(9)polyval_preparekey(9)ghash_init(9)polyval_import_blkaligned(9)polyval_export_blkaligned(9)ghash_update(9)polyval_update(9)ghash_final(9)polyval_final(9)ghash(9)polyval(9)
mwah π this page is from ./include/crypto, dated October 2026. slay and stay safe with your context lifetimes π«Ά
π¦ 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