93 const uint8_t *key,
unsigned int keylen,
94 uint8_t *out,
unsigned int outlen);
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)
AVHMAC * av_hmac_alloc(enum AVHMACType type)
struct AVHMAC AVHMAC
Definition: hmac.h:42
AVHMACType
Definition: hmac.h:33
void av_hmac_update(AVHMAC *ctx, const uint8_t *data, unsigned int len)
void av_hmac_init(AVHMAC *ctx, const uint8_t *key, unsigned int keylen)
int av_hmac_final(AVHMAC *ctx, uint8_t *out, unsigned int outlen)
void av_hmac_free(AVHMAC *ctx)