Go to the documentation of this file.
28 #ifndef AVUTIL_SHA512_H
29 #define AVUTIL_SHA512_H
void av_sha512_final(struct AVSHA512 *context, uint8_t *digest)
Finish hashing and output digest value.
struct AVSHA512 * av_sha512_alloc(void)
Allocate an AVSHA512 context.
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option keep it simple and lowercase description are in without and describe what they for example set the foo of the bar offset is the offset of the field in your context
int av_sha512_init(struct AVSHA512 *context, int bits)
Initialize SHA-2 512 hashing.
void av_sha512_update(struct AVSHA512 *context, const uint8_t *data, size_t len)
Update hash value.