summaryrefslogtreecommitdiff
path: root/libavutil/sha1.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/sha1.h')
-rw-r--r--libavutil/sha1.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/sha1.h b/libavutil/sha1.h
index b9a43cdd39..cf7c4a656b 100644
--- a/libavutil/sha1.h
+++ b/libavutil/sha1.h
@@ -31,6 +31,7 @@ struct AVSHA1;
* Initializes SHA-1 hashing.
*
* @param context pointer to the function context (of size av_sha_size)
+ * @deprecated use av_sha_init() instead
*/
void av_sha1_init(struct AVSHA1* context);
@@ -40,6 +41,7 @@ void av_sha1_init(struct AVSHA1* context);
* @param context hash function context
* @param data input data to update hash with
* @param len input data length
+ * @deprecated use av_sha_update() instead
*/
void av_sha1_update(struct AVSHA1* context, const uint8_t* data, unsigned int len);
@@ -48,6 +50,7 @@ void av_sha1_update(struct AVSHA1* context, const uint8_t* data, unsigned int le
*
* @param context hash function context
* @param digest buffer where output digest value is stored
+ * @deprecated use av_sha_final() instead
*/
void av_sha1_final(struct AVSHA1* context, uint8_t digest[20]);