ghash(9)
okay so bestie, this is ghash(9) from the Kernel API Manual, and it's literally here to compute a GHASH value โ no cap, that's the whole main character job ๐
โจ
๐ NAME ๐
ghash โ Compute a GHASH value ๐ซถ
โจ SYNOPSIS โจ
void ghash (const struct ghash_key *key , const u8 *data , size_t len ,
u8 out[GHASH_BLOCK_SIZE] );
๐ ARGUMENTS ๐
keyโ the prepared key. It's already prepped, exactly like the argument says ๐dataโ the message data ๐lenโ the data length in bytes. It doesn't need to be block-aligned, so breathe, bestie ๐ฎโ๐จoutโ the output value ๐ฆ
๐ CONTEXT ๐
Any context. That's it. Any context at all โ the vibe check passes everywhere, literally ๐ธ
๐ SEE ALSO ๐
Kernel file ./include/crypto/gf128hash.h is the home base, and here's the whole squad:
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)polyval_final(9)polyval(9)
Catch you in the source at ./include/crypto, dated October 2026, page tag ghash(9) โ bye bestie, mwah ๐๐
๐ฆ 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