QSC Post Quantum Cryptographic Library 1.1.0.2 (B2)
A post quantum secure library written in Ansi C
Loading...
Searching...
No Matches
qsc_sha256_state Struct Reference

The SHA2-256 digest state array. More...

#include <sha2.h>

Data Fields

uint32_t state [QSC_SHA2_STATE_SIZE]
uint8_t buffer [QSC_SHA2_256_RATE]
uint64_t t
size_t position

Detailed Description

The SHA2-256 digest state array.

Field Documentation

◆ buffer

uint8_t buffer[QSC_SHA2_256_RATE]

The message buffer.

◆ position

size_t position

The cache position.

◆ state

uint32_t state[QSC_SHA2_STATE_SIZE]

The SHA2-256 state.

◆ t

uint64_t t

The message length.


The documentation for this struct was generated from the following file:
  • C:/Users/stepp/Documents/Visual Studio 2022/Projects/C/QSC/QSC/sha2.h