repo.or.cz
/
linux-2.6.9-moxart.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git]
/
drivers
/
net
/
wireless
/
rtlink
/
Utility
/
sha1.h
blob
e102d1d8ecf7d6eb599146ef318b3e96fec4c4f1
1
#ifndef SHA1_H
2
#define SHA1_H
3
4
#define A_SHA_DIGEST_LEN 20
5
6
typedef
struct
7
{
8
unsigned long
H
[
5
];
9
unsigned long
W
[
80
];
10
int
lenW
;
11
unsigned long
sizeHi
,
sizeLo
;
12
}
A_SHA_CTX
;
13
14
void
A_SHAInit
(
A_SHA_CTX
*
ctx
);
15
void
A_SHAUpdate
(
A_SHA_CTX
*
ctx
,
unsigned char
*
dataIn
,
int
len
);
16
void
A_SHAFinal
(
A_SHA_CTX
*
ctx
,
unsigned char
hashout
[
20
]);
17
18
#endif
/* SHA1_H */