libhasha 2.2.2
Loading...
Searching...
No Matches
ha_sha2_512_256_context Struct Reference

Context structure for SHA-2 512-256-bit hashing. More...

#include <sha2.h>

Public Attributes

uint64_t state [8]
uint64_t bit_count
uint8_t buffer [HA_SHA2_512_256_BLOCK_SIZE]

Detailed Description

Context structure for SHA-2 512-256-bit hashing.

This structure holds the internal state, bit count, and buffer used during the SHA-2 512-256-bit hash computation.

Definition at line 211 of file sha2.h.

Member Data Documentation

◆ bit_count

uint64_t ha_sha2_512_256_context::bit_count

Bit count representing the total input length.

Definition at line 215 of file sha2.h.

◆ buffer

uint8_t ha_sha2_512_256_context::buffer[HA_SHA2_512_256_BLOCK_SIZE]

Buffer used for processing data in 512-bit blocks.

Definition at line 217 of file sha2.h.

◆ state

uint64_t ha_sha2_512_256_context::state[8]

Internal state (8 words).

Definition at line 213 of file sha2.h.


The documentation for this struct was generated from the following file: