void av_sha_final(struct AVSHA *context, uint8_t *digest)
Finish hashing and output digest value.
void av_sha_update(struct AVSHA *context, const uint8_t *data, unsigned int len)
Update hash value.
ptrdiff_t const GLvoid * data
int av_sha_init(struct AVSHA *context, int bits)
Initialize SHA-1 or SHA-2 hashing.
Macro definitions for various function/variable attributes.
Libavutil version macros.
struct AVSHA * av_sha_alloc(void)
Allocate an AVSHA context.