polyval_final(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… polyval_final(9) β€” Kernel API Manual ✨

okay bestie, this is the Kernel API Manual page for polyval_final(9) β€” the finish line for computing a POLYVAL value. no cap, it's short and sweet πŸ“

🌸 NAME 🌸

polyval_final β€” finish computing a POLYVAL value πŸ’«

✨ SYNOPSIS ✨

void polyval_final (struct polyval_ctx *ctx , u8 out[POLYVAL_BLOCK_SIZE]);

πŸŽ€ ARGUMENTS πŸŽ€

  • ctx β€” the context you're finalizing, bestie πŸ’…
  • out β€” where the output value goes 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

If the total data length isn't a multiple of POLYVAL_BLOCK_SIZE, then the final block is automatically zero-padded. literally handled for you ✨

After finishing, this zeroizes ctx. So the caller does not need to do it β€” that's you, and you can skip that step. periodt πŸ’–

🌈 CONTEXT 🌈

Any context. any context β€” no special vibe check needed βœ…

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/crypto/gf128hash.h, plus these iconic links: 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_init(9), polyval_import_blkaligned(9), polyval_export_blkaligned(9), ghash_update(9), polyval_update(9), ghash_final(9), ghash(9), polyval(9).


okay that's the whole page bestie 🫢 source/version: ./include/crypto β€’ date: October 2026 β€’ page: polyval_final(9) β€” byeee πŸ’–βœ¨

πŸ“¦ where this page comes from