Go to the documentation of this file.
28 #ifndef AVUTIL_SHA512_H
29 #define AVUTIL_SHA512_H
79 #if FF_API_CRYPTO_SIZE_T
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
void av_sha512_update(struct AVSHA512 *context, const uint8_t *data, unsigned int len)
Update hash value.
int av_sha512_init(struct AVSHA512 *context, int bits)
Initialize SHA-2 512 hashing.