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

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

#include <sha2.h>

Public Attributes

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

Detailed Description

Context structure for SHA-2 512-bit hashing.

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

Definition at line 178 of file sha2.h.

Member Data Documentation

◆ bit_count

uint64_t ha_sha2_512_context::bit_count

Bit count representing the total input length.

Definition at line 182 of file sha2.h.

◆ buffer

uint8_t ha_sha2_512_context::buffer[HA_SHA2_512_BLOCK_SIZE]

Buffer used for processing data in 512-bit blocks.

Definition at line 183 of file sha2.h.

◆ state

uint64_t ha_sha2_512_context::state[8]

Internal state (8 words).

Definition at line 180 of file sha2.h.


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