|
wpa_supplicant / hostapd 2.0
|
00001 00010 #ifndef SHA1_I_H 00011 #define SHA1_I_H 00012 00013 struct SHA1Context { 00014 u32 state[5]; 00015 u32 count[2]; 00016 unsigned char buffer[64]; 00017 }; 00018 00019 void SHA1Init(struct SHA1Context *context); 00020 void SHA1Update(struct SHA1Context *context, const void *data, u32 len); 00021 void SHA1Final(unsigned char digest[20], struct SHA1Context *context); 00022 void SHA1Transform(u32 state[5], const unsigned char buffer[64]); 00023 00024 #endif /* SHA1_I_H */ 00025
1.7.3