view sha1.h @ 350:c2034e89e9a2 libavutil

intreadwrite.h needs bswap.h if HAVE_FAST_UNALIGNED is set, so include it.
author reimar
date Sun, 24 Jun 2007 14:29:52 +0000
parents f21d1907d47c
children 47335869d5f7
line wrap: on
line source

#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