OSDN Git Service
(root)
/
uclinux-h8
/
uClinux-dist.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2013.10.24
[uclinux-h8/uClinux-dist.git]
/
user
/
unrar
/
sha1.hpp
1
#ifndef _RAR_SHA1_
2
#define _RAR_SHA1_
3
4
#define HW 5
5
6
typedef struct {
7
uint32 state[5];
8
uint32 count[2];
9
unsigned char buffer[64];
10
} hash_context;
11
12
void hash_initial( hash_context * c );
13
void hash_process( hash_context * c, unsigned char * data, unsigned len );
14
void hash_final( hash_context * c, uint32[HW] );
15
16
#endif