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