|
libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
#include <gimbal_sha1.h>
Data Fields | |
| uint32_t | state [5] |
| uint32_t | count [2] |
| unsigned char | buffer [64] |
Related Symbols | |
(Note that these are not member symbols.) | |
Incremental hashing | |
Methods for operating on an SHA1 context | |
| void | GblSha1_init (GblSha1Context *pSelf) |
| void | GblSha1_update (GblSha1Context *pSelf, const void *pData, size_t length) |
| void | GblSha1_final (GblSha1Context *pSelf, uint8_t digest[20]) |
Context structure used for maintaining SHA1 hashing state.
Definition at line 37 of file gimbal_sha1.h.
|
Initializes the given SHA1 context.
|
Adds the data in pData of length bytes to the running SHA1 hash context.
|
Finalizes the running SHA1 hash context, returning its digest.
| uint32_t GblSha1Context::state[5] |
Current accumulated hash state.
Definition at line 38 of file gimbal_sha1.h.
| uint32_t GblSha1Context::count[2] |
Running counter of # of hashed blocks.
Definition at line 39 of file gimbal_sha1.h.
| unsigned char GblSha1Context::buffer[64] |
Buffer containing current 512-bit block of data.
Definition at line 40 of file gimbal_sha1.h.