Skip to content

Struct SYN_SHA256

ClassList > 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

uint8_t SYN_SHA256::buf[SYN_SHA256_BLOCK_SIZE];

Partial block buffer


variable buf_len

uint32_t SYN_SHA256::buf_len;

Bytes in buffer (0–63)


variable state

uint32_t SYN_SHA256::state[8];

Running hash state (H0–H7)


variable total_len_hi

uint32_t SYN_SHA256::total_len_hi;

Total message length, high


variable total_len_lo

uint32_t SYN_SHA256::total_len_lo;

Total message length, low



The documentation for this class was generated from the following file src/syntropic/util/syn_sha256.h