FFmpeg
|
hmac.c File Reference
Include dependency graph for hmac.c:
Go to the source code of this file.
Data Structures | |
struct | AVHMAC |
Macros | |
#define | MAX_HASHLEN 20 |
#define | MAX_BLOCKLEN 64 |
Functions | |
static void | sha1_init (void *ctx) |
AVHMAC * | av_hmac_alloc (enum AVHMACType type) |
Allocate an AVHMAC context. More... | |
void | av_hmac_free (AVHMAC *c) |
Free an AVHMAC context. More... | |
void | av_hmac_init (AVHMAC *c, const uint8_t *key, unsigned int keylen) |
Initialize an AVHMAC context with an authentication key. More... | |
void | av_hmac_update (AVHMAC *c, const uint8_t *data, unsigned int len) |
Hash data with the HMAC. More... | |
int | av_hmac_final (AVHMAC *c, uint8_t *out, unsigned int outlen) |
Finish hashing and output the HMAC digest. More... | |
int | av_hmac_calc (AVHMAC *c, 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... | |
Macro Definition Documentation
#define MAX_BLOCKLEN 64 |
Definition at line 29 of file hmac.c.
Referenced by av_hmac_final(), and av_hmac_init().
#define MAX_HASHLEN 20 |
Definition at line 28 of file hmac.c.
Referenced by av_hmac_calc().
Function Documentation
Definition at line 41 of file hmac.c.
Referenced by av_hmac_alloc().
Generated on Mon Nov 18 2024 06:52:06 for FFmpeg by 1.8.11