aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/sha.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-06 21:56:20 +0100
committerJames Almer <jamrial@gmail.com>2021-04-27 10:43:13 -0300
commita240097ecd4fb1639db99e7becb888ae478405cd (patch)
tree26a70d86c81463ced96d1123bb0d06621668dffd /libavutil/sha.h
parent6e30b35b85b81c802e52a1078ec7a3097e353c6d (diff)
downloadffmpeg-a240097ecd4fb1639db99e7becb888ae478405cd.tar.gz
avutil: Switch crypto APIs to size_t
Announced in e435beb1ea5380a90774dbf51fdc8c941e486551. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/sha.h')
-rw-r--r--libavutil/sha.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavutil/sha.h b/libavutil/sha.h
index c0180e5729..85356218b9 100644
--- a/libavutil/sha.h
+++ b/libavutil/sha.h
@@ -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.