5 Struct N_SHA256
gullradriel edited this page 2026-10-09 00:55:18 +02:00

N_SHA256

Module: SHA256: portable streaming SHA-256

a SHA-256 in progress: plain data, copyable to fork a hash

#include "n_sha256.h"

Public Attributes

Name
size_t used
how much of it is filled
uint32_t[8] state
the eight working words
uint64_t length
bytes hashed so far
unsigned char[64] block
the block being filled

Public Attributes Documentation

variable used

size_t used;

how much of it is filled

variable state

uint32_t[8] state;

the eight working words

variable length

uint64_t length;

bytes hashed so far

variable block

unsigned char[64] block;

the block being filled