Incremental SHA‐1 digest state (also typedef'd as SHA_CTX); deprecated low‐level API.

Synopsis

Declared in <openssl/sha.h>

struct SHAstate_st;

Data Members

Name

Description

Nh

High 32 bits of the bit‐length counter.

Nl

Low 32 bits of the bit‐length counter.

data

Current message block buffer (16 SHA_LONG words).

h0

Chaining variables H0..H4 of the SHA‐1 compression function.

h1

Chaining variables H0..H4 of the SHA‐1 compression function.

h2

Chaining variables H0..H4 of the SHA‐1 compression function.

h3

Chaining variables H0..H4 of the SHA‐1 compression function.

h4

Chaining variables H0..H4 of the SHA‐1 compression function.

num

Number of bytes currently buffered in data toward a full block.

Created with MrDocs