AVSHA Struct Reference

hash context More...

Data Fields

uint8_t digest_len
 digest length in 32-bit words More...
 
uint64_t count
 number of bytes in buffer More...
 
uint8_t buffer [64]
 512-bit buffer of input values used in hash updating More...
 
uint32_t state [8]
 current hash value More...
 
void(* transform )(uint32_t *state, const uint8_t buffer[64])
 function used to update hash for 512-bit input block More...
 

Detailed Description

hash context

Definition at line 32 of file sha.c.

Field Documentation

uint8_t AVSHA::buffer[64]

512-bit buffer of input values used in hash updating

Definition at line 35 of file sha.c.

Referenced by av_sha_update().

uint64_t AVSHA::count

number of bytes in buffer

Definition at line 34 of file sha.c.

Referenced by av_sha_final(), av_sha_init(), and av_sha_update().

uint8_t AVSHA::digest_len

digest length in 32-bit words

Definition at line 33 of file sha.c.

Referenced by av_sha_final(), and av_sha_init().

uint32_t AVSHA::state[8]

current hash value

Definition at line 36 of file sha.c.

Referenced by av_sha_final(), av_sha_init(), and av_sha_update().

void(* AVSHA::transform) (uint32_t *state, const uint8_t buffer[64])

function used to update hash for 512-bit input block

Definition at line 38 of file sha.c.

Referenced by av_sha_init(), and av_sha_update().


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