Struct SYN_SHA256¶
SHA-256 hash context — caller-owned. More...
#include <syn_sha256.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint8_t | buf |
| uint32_t | buf_len |
| uint32_t | state |
| uint32_t | total_len_hi |
| uint32_t | total_len_lo |
Detailed Description¶
Typical size: 112 bytes (8×4 state + 64 buffer + 2×4 counters).
Public Attributes Documentation¶
variable buf¶
Partial block buffer
variable buf_len¶
Bytes in buffer (0–63)
variable state¶
Running hash state (H0–H7)
variable total_len_hi¶
Total message length, high
variable total_len_lo¶
Total message length, low
The documentation for this class was generated from the following file src/syntropic/util/syn_sha256.h