]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/sha.h
avutil: Switch crypto APIs to size_t
[ffmpeg] / libavutil / sha.h
index c0180e5729a2e9232bdbf387b9b74d6acc25e943..85356218b99b50e172de61d74a732f0ebc758bb2 100644 (file)
@@ -74,11 +74,7 @@ int av_sha_init(struct AVSHA* context, int bits);
  * @param data    input data to update hash with
  * @param len     input data length
  */
-#if FF_API_CRYPTO_SIZE_T
-void av_sha_update(struct AVSHA *ctx, const uint8_t *data, unsigned int len);
-#else
 void av_sha_update(struct AVSHA *ctx, const uint8_t *data, size_t len);
-#endif
 
 /**
  * Finish hashing and output digest value.