|
|
@@ -28,6 +28,7 @@ |
|
|
|
#ifndef AVUTIL_SHA512_H |
|
|
|
#define AVUTIL_SHA512_H |
|
|
|
|
|
|
|
#include <stddef.h> |
|
|
|
#include <stdint.h> |
|
|
|
|
|
|
|
#include "attributes.h" |
|
|
@@ -75,7 +76,11 @@ int av_sha512_init(struct AVSHA512* context, int bits); |
|
|
|
* @param data input data to update hash with |
|
|
|
* @param len input data length |
|
|
|
*/ |
|
|
|
#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 |
|
|
|
|
|
|
|
/** |
|
|
|
* Finish hashing and output digest value. |
|
|
|