aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/sha1.h
blob: 181cf79bd9728d91aaefbb24b1f795f24adf0aec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef AV_SHA1_H
#define AV_SHA1_H

#include <stdint.h>

extern const int av_sha1_size;

struct AVSHA1;

void av_sha1_init(struct AVSHA1* context);
void av_sha1_update(struct AVSHA1* context, uint8_t* data, unsigned int len);
void av_sha1_final(struct AVSHA1* context, uint8_t digest[20]);
#endif