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

BLAKE2s hashing context structure. More...

#include <blake2s.h>

Public Attributes

uint32_t h [8]
uint32_t t [2]
uint32_t f [2]
uint8_t buf [HA_BLAKE2S_BLOCK_SIZE]
size_t buflen
size_t outlen

Detailed Description

BLAKE2s hashing context structure.

This structure holds the internal state of the BLAKE2s hash computation.

Definition at line 27 of file blake2s.h.

Member Data Documentation

◆ buf

uint8_t ha_blake2s_context::buf[HA_BLAKE2S_BLOCK_SIZE]

Buffer for partial input blocks.

Definition at line 33 of file blake2s.h.

◆ buflen

size_t ha_blake2s_context::buflen

Number of bytes currently in the buffer.

Definition at line 34 of file blake2s.h.

◆ f

uint32_t ha_blake2s_context::f[2]

Finalization flags.

Definition at line 31 of file blake2s.h.

◆ h

uint32_t ha_blake2s_context::h[8]

Internal hash state.

Definition at line 29 of file blake2s.h.

◆ outlen

size_t ha_blake2s_context::outlen

Desired output length of the hash.

Definition at line 35 of file blake2s.h.

◆ t

uint32_t ha_blake2s_context::t[2]

Message counter.

Definition at line 30 of file blake2s.h.


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