|
|
|
@@ -21,6 +21,7 @@ |
|
|
|
#ifndef AVUTIL_MD5_H |
|
|
|
#define AVUTIL_MD5_H |
|
|
|
|
|
|
|
#include <stddef.h> |
|
|
|
#include <stdint.h> |
|
|
|
|
|
|
|
#include "attributes.h" |
|
|
|
@@ -36,9 +37,14 @@ struct AVMD5; |
|
|
|
|
|
|
|
struct AVMD5 *av_md5_alloc(void); |
|
|
|
void av_md5_init(struct AVMD5 *ctx); |
|
|
|
void av_md5_update(struct AVMD5 *ctx, const uint8_t *src, const int len); |
|
|
|
void av_md5_final(struct AVMD5 *ctx, uint8_t *dst); |
|
|
|
#if FF_API_CRYPTO_SIZE_T |
|
|
|
void av_md5_update(struct AVMD5 *ctx, const uint8_t *src, const int len); |
|
|
|
void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len); |
|
|
|
#else |
|
|
|
void av_md5_update(struct AVMD5 *ctx, const uint8_t *src, size_t len); |
|
|
|
void av_md5_sum(uint8_t *dst, const uint8_t *src, size_t len); |
|
|
|
#endif |
|
|
|
|
|
|
|
/** |
|
|
|
* @} |
|
|
|
|