You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
298B

  1. #ifndef AV_SHA1_H
  2. #define AV_SHA1_H
  3. #include <stdint.h>
  4. extern const int av_sha1_size;
  5. struct AVSHA1;
  6. void av_sha1_init(struct AVSHA1* context);
  7. void av_sha1_update(struct AVSHA1* context, uint8_t* data, unsigned int len);
  8. void av_sha1_final(struct AVSHA1* context, uint8_t digest[20]);
  9. #endif