1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- #ifndef AVUTIL_MD5_H
- #define AVUTIL_MD5_H
- #include <stddef.h>
- #include <stdint.h>
- #include "attributes.h"
- #include "version.h"
- extern const int av_md5_size;
- struct AVMD5;
- struct AVMD5 *av_md5_alloc(void);
- void av_md5_init(struct AVMD5 *ctx);
- #if FF_API_CRYPTO_SIZE_T
- void av_md5_update(struct AVMD5 *ctx, const uint8_t *src, int len);
- #else
- void av_md5_update(struct AVMD5 *ctx, const uint8_t *src, size_t len);
- #endif
- void av_md5_final(struct AVMD5 *ctx, uint8_t *dst);
- #if FF_API_CRYPTO_SIZE_T
- void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len);
- #else
- void av_md5_sum(uint8_t *dst, const uint8_t *src, size_t len);
- #endif
- #endif
|