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

Go to the source code of this file.

Enumerations

enum  AVHMACType {
  AV_HMAC_MD5, AV_HMAC_SHA1, AV_HMAC_SHA224 = 10, AV_HMAC_SHA256,
  AV_HMAC_SHA384, AV_HMAC_SHA512
}
 

Functions

AVHMACav_hmac_alloc (enum AVHMACType type)
 Allocate an AVHMAC context. More...
 
void av_hmac_free (AVHMAC *ctx)
 Free an AVHMAC context. More...
 
void av_hmac_init (AVHMAC *ctx, const uint8_t *key, unsigned int keylen)
 Initialize an AVHMAC context with an authentication key. More...
 
void av_hmac_update (AVHMAC *ctx, const uint8_t *data, unsigned int len)
 Hash data with the HMAC. More...
 
int av_hmac_final (AVHMAC *ctx, uint8_t *out, unsigned int outlen)
 Finish hashing and output the HMAC digest. More...
 
int av_hmac_calc (AVHMAC *ctx, const uint8_t *data, unsigned int len, const uint8_t *key, unsigned int keylen, uint8_t *out, unsigned int outlen)
 Hash an array of data with a key. More...