|
libfossil
|
Type for holding SHA3 processing state. More...
#include "hash.h"
Data Fields | |
| unsigned char | hex [132] |
| unsigned | ixMask |
| unsigned | nLoaded |
| unsigned | nRate |
| enum fsl_sha3_hash_size | size |
| union { | |
| uint64_t s [25] | |
| unsigned char x [1600] | |
| } | u |
Type for holding SHA3 processing state.
Each instance must be initialized with fsl_sha3_init(), populated with fsl_sha3_update(), and "sealed" with fsl_sha3_end().
Sample usage:
After fsl_sha3_end() is called cx.hex contains the hex-string forms of the digest. fsl_sha3_update() may be called an arbitrary number of times to feed in chunks of memory (e.g. to stream in arbitrarily large data).
| enum fsl_sha3_hash_size fsl_sha3_cx::size |
| union { ... } fsl_sha3_cx::u |