![]()  | 
  
    libgpac
    
   Documentation of the core library of GPAC 
   | 
  
#include <gpac/tools.h>
 Include dependency graph for sha1.c:Data Structures | |
| struct | GF_SHA1Context | 
Macros | |
| #define | _CRT_SECURE_NO_DEPRECATE 1 | 
| #define | PUT_UINT32_BE(n, b, i) | 
| #define | SHA1CircularShift(bits, word) | 
Functions | |
| void | SHA1ProcessMessageBlock (GF_SHA1Context *context) | 
| static void | SHA1PadMessage (GF_SHA1Context *context) | 
| GF_SHA1Context * | gf_sha1_starts () | 
| void | gf_sha1_update (GF_SHA1Context *context, u8 *message_array, u32 length) | 
| void | gf_sha1_finish (GF_SHA1Context *context, u8 output[GF_SHA1_DIGEST_SIZE]) | 
| GF_EXPORT GF_Err | gf_sha1_file_ptr (FILE *f, u8 output[GF_SHA1_DIGEST_SIZE]) | 
| GF_EXPORT GF_Err | gf_sha1_file (const char *path, u8 output[GF_SHA1_DIGEST_SIZE]) | 
| GF_EXPORT void | gf_sha1_csum (u8 *input, u32 ilen, u8 output[GF_SHA1_DIGEST_SIZE]) | 
| struct __sha1_context | 
SHA1 context
| Data Fields | ||
|---|---|---|
| unsigned | Message_Digest[5] | |
| unsigned | Length_Low | |
| unsigned | Length_High | |
| unsigned char | Message_Block[64] | |
| int | Message_Block_Index | |
| int | Computed | |
| int | Corrupted | |
| #define _CRT_SECURE_NO_DEPRECATE 1 | 
| #define PUT_UINT32_BE | ( | n, | |
| b, | |||
| i | |||
| ) | 
| #define SHA1CircularShift | ( | bits, | |
| word | |||
| ) | 
| void SHA1ProcessMessageBlock | ( | GF_SHA1Context * | context | ) | 
 Here is the caller graph for this function:
      
  | 
  static | 
 Here is the call graph for this function:
 Here is the caller graph for this function: