]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/hmac.c
avutil: Switch crypto APIs to size_t
[ffmpeg] / libavutil / hmac.c
index d064a105f420f95c14ea9c4149b566a252c65353..e277fd7701d90861f7d462f2f3c709008cb5f08b 100644 (file)
 #define MAX_BLOCKLEN 128
 
 typedef void (*hmac_final)(void *ctx, uint8_t *dst);
-#if FF_API_CRYPTO_SIZE_T
-typedef void (*hmac_update)(void *ctx, const uint8_t *src, int len);
-#else
 typedef void (*hmac_update)(void *ctx, const uint8_t *src, size_t len);
-#endif
 typedef void (*hmac_init)(void *ctx);
 
 struct AVHMAC {