#include <sph_hamsi.h>
This structure is a context for Hamsi-224 and Hamsi-256 computations: it contains the intermediate values and some data from the last entered block. Once a Hamsi computation has been performed, the context can be reused for another computation.
The contents of this structure are private. A running Hamsi computation can be cloned by copying the context (e.g. with a simple memcpy()
).