ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
Loading...
Searching...
No Matches
provsql_sha1_ctx Struct Reference

The state of an incremental SHA-1: the digest of a text given in pieces, without holding it whole (the name of a gate with millions of children). More...

#include "provsql_utils.h"

Public Attributes

uint32_t h [5]
 Hash state.
uint64_t len
 Bytes hashed so far.
unsigned char block [64]
 The bytes not yet hashed, short of a block.
size_t used
 How many of block are used.

Detailed Description

The state of an incremental SHA-1: the digest of a text given in pieces, without holding it whole (the name of a gate with millions of children).

Definition at line 915 of file provsql_utils.h.

Member Data Documentation

◆ block

unsigned char provsql_sha1_ctx::block[64]

The bytes not yet hashed, short of a block.

Definition at line 918 of file provsql_utils.h.

◆ h

uint32_t provsql_sha1_ctx::h[5]

Hash state.

Definition at line 916 of file provsql_utils.h.

◆ len

uint64_t provsql_sha1_ctx::len

Bytes hashed so far.

Definition at line 917 of file provsql_utils.h.

◆ used

size_t provsql_sha1_ctx::used

How many of block are used.

Definition at line 919 of file provsql_utils.h.


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