wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
Loading...
Searching...
No Matches
quic_sha256_ctx Struct Reference

Streaming SHA-256 state. More...

#include <sha256.h>

Data Fields

u32 h [8]
 running hash state
u64 total
 total bytes absorbed
u8 buf [QUIC_SHA256_BLOCK]
 partial-block staging buffer
usz buf_len
 bytes pending in buf

Detailed Description

Streaming SHA-256 state.

Initialize with quic_sha256_init(), feed with quic_sha256_update(), finish with quic_sha256_final().


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