Skip to content

Struct SYN_SHA512

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

uint8_t SYN_SHA512::buf[SYN_SHA512_BLOCK_SIZE];

Partial 128-byte block buffer


variable buf_len

uint32_t SYN_SHA512::buf_len;

Bytes in buffer (0–127)


variable state

uint64_t SYN_SHA512::state[8];

Running 64-bit hash state (H0–H7)


variable total_len_hi

uint64_t SYN_SHA512::total_len_hi;

Total message length in bytes, high


variable total_len_lo

uint64_t SYN_SHA512::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