Struct SYN_SHA512¶
SHA-512 / SHA-384 hash context — caller-owned. More...
#include <syn_sha512.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint8_t | buf |
| uint32_t | buf_len |
| uint64_t | state |
| uint64_t | total_len_hi |
| uint64_t | total_len_lo |
Detailed Description¶
Size: 216 bytes (8×8 state + 128 buffer + 4 buf_len + 2×8 counters).
Public Attributes Documentation¶
variable buf¶
Partial 128-byte block buffer
variable buf_len¶
Bytes in buffer (0–127)
variable state¶
Running 64-bit hash state (H0–H7)
variable total_len_hi¶
Total message length in bytes, high
variable total_len_lo¶
Total message length in bytes, low
The documentation for this class was generated from the following file src/syntropic/crypto/syn_sha512.h