FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
sha.h File Reference
#include <stdint.h>
#include "attributes.h"
#include "version.h"

Go to the source code of this file.

Functions

struct AVSHAav_sha_alloc (void)
 Allocate an AVSHA context. More...
 
int av_sha_init (struct AVSHA *context, int bits)
 Initialize SHA-1 or SHA-2 hashing. More...
 
void av_sha_update (struct AVSHA *context, const uint8_t *data, unsigned int len)
 Update hash value. More...
 
void av_sha_final (struct AVSHA *context, uint8_t *digest)
 Finish hashing and output digest value. More...
 

Variables

const int av_sha_size