mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-15 00:11:40 -06:00
3.13
This commit is contained in:
19
7zip/Crypto/RarAES/sha1.h
Executable file
19
7zip/Crypto/RarAES/sha1.h
Executable file
@@ -0,0 +1,19 @@
|
||||
// sha1.h
|
||||
// This file from UnRar sources
|
||||
|
||||
#ifndef _RAR_SHA1_
|
||||
#define _RAR_SHA1_
|
||||
|
||||
#define HW 5
|
||||
|
||||
typedef struct {
|
||||
UINT32 state[5];
|
||||
UINT32 count[2];
|
||||
unsigned char buffer[64];
|
||||
} hash_context;
|
||||
|
||||
void hash_initial( hash_context * c );
|
||||
void hash_process( hash_context * c, unsigned char * data, unsigned len );
|
||||
void hash_final( hash_context * c, UINT32[HW] );
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user