wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
sha1_i.h
Go to the documentation of this file.
1 
5 #ifndef SHA1_I_H
6 #define SHA1_I_H
7 
8 struct SHA1Context {
9  u32 state[5];
10  u32 count[2];
11  unsigned char buffer[64];
12 };
13 
14 void SHA1Init(struct SHA1Context *context);
15 void SHA1Update(struct SHA1Context *context, const void *data, u32 len);
16 void SHA1Final(unsigned char digest[20], struct SHA1Context *context);
17 void SHA1Transform(u32 state[5], const unsigned char buffer[64]);
18 
19 #endif /* SHA1_I_H */
Definition: sha1_i.h:8