Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/external_dependencies/openmpt-trunk/include/unrar/sha1.hpp
2024-09-24 14:54:57 +02:00

16 lines
394 B
C++
Vendored

#ifndef _RAR_SHA1_
#define _RAR_SHA1_
typedef struct {
uint32 state[5];
uint64 count;
unsigned char buffer[64];
} sha1_context;
void sha1_init( sha1_context * c );
void sha1_process(sha1_context * c, const byte *data, size_t len);
void sha1_process_rar29(sha1_context *context, const unsigned char *data, size_t len);
void sha1_done( sha1_context * c, uint32 digest[5] );
#endif