12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- #ifndef AVUTIL_SHA512_H
- #define AVUTIL_SHA512_H
- #include <stddef.h>
- #include <stdint.h>
- #include "attributes.h"
- #include "version.h"
- extern const int av_sha512_size;
- struct AVSHA512;
- struct AVSHA512 *av_sha512_alloc(void);
- int av_sha512_init(struct AVSHA512* context, int bits);
- #if FF_API_CRYPTO_SIZE_T
- void av_sha512_update(struct AVSHA512* context, const uint8_t* data, unsigned int len);
- #else
- void av_sha512_update(struct AVSHA512* context, const uint8_t* data, size_t len);
- #endif
- void av_sha512_final(struct AVSHA512* context, uint8_t *digest);
- #endif
|