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