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.
 
int av_sha_init (struct AVSHA *context, int bits)
 Initialize SHA-1 or SHA-2 hashing.
 
void av_sha_update (struct AVSHA *context, const uint8_t *data, unsigned int len)
 Update hash value.
 
void av_sha_final (struct AVSHA *context, uint8_t *digest)
 Finish hashing and output digest value.
 

Variables

const int av_sha_size