ghash_update(9)
π ghash_update(9) π
okay so this page is straight out of the Kernel API Manual, and itβs here to explain how to feed your GHASH context some message data β¨
πΈ NAME πΈ
ghash_update β Update a GHASH context with message data π
π¦ SYNOPSIS π¦
void ghash_update (struct ghash_ctx *ctx , const u8 *data , size_t len
);
π ARGUMENTS π
ctxβ the context youβre updating; it must have been initialized already, no cap πdataβ the message data, periodt πlenβ the data length in bytes. It doesnβt need to be block-aligned β slay, no alignment stress β¨
bestie note: ctx must have been initialized. That part is not optional π«Ά
π§ DESCRIPTION π§
This can be called any number of times β literally any number, bestie. Thatβs the whole tea βπ
π CONTEXT π
Any context. Thatβs it. Thatβs the vibe check π¦
π SEE ALSO π
Kernel file ./include/crypto/gf128hash.h β and hereβs the full squad, bestie:
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)polyval_update(9)ghash_final(9)polyval_final(9)ghash(9)polyval(9)
mwah π this page comes from ./include/crypto, dated October 2026, and itβs ghash_update(9) signing off β stay crypto-cute, bestie π«Άβ¨
π¦ 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