FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVSHA Struct Reference

hash context More...

Data Fields

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

Detailed Description

hash context

Definition at line 32 of file sha.c.

Field Documentation

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().

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::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().

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: