hostapd: use libnl-tiny instead of libnl
[openwrt.git] / package / ead / src / tinysrp / t_sha.h
1 #ifndef T_SHA_H
2 #define T_SHA_H
3
4 #if !defined(P)
5 #ifdef __STDC__
6 #define P(x) x
7 #else
8 #define P(x) ()
9 #endif
10 #endif
11
12 #define SHA_DIGESTSIZE 20
13
14 typedef unsigned int uint32;
15
16 typedef struct {
17 uint32 state[5];
18 uint32 count[2];
19 unsigned char buffer[64];
20 } SHA1_CTX;
21
22 void SHA1Init P((SHA1_CTX* context));
23 void SHA1Update P((SHA1_CTX* context, const unsigned char* data, unsigned int len));
24 void SHA1Final P((unsigned char digest[20], SHA1_CTX* context));
25
26 #endif /* T_SHA_H */
This page took 0.047949 seconds and 5 git commands to generate.