]> git.ozlabs.org Git - ppp.git/blob - linux/mppe/sha1.h
Run ntlm_auth as the user that invoked pppd.
[ppp.git] / linux / mppe / sha1.h
1 /* sha1.h */
2
3 #ifndef _SHA1_H
4 #define _SHA1_H
5
6 typedef struct {
7     unsigned int state[5];
8     unsigned int count[2];
9     unsigned char buffer[64];
10 } SHA1_CTX;
11
12 #define SHA1_SIGNATURE_SIZE 20
13
14 extern void SHA1_Init(SHA1_CTX *);
15 extern void SHA1_Update(SHA1_CTX *, const unsigned char *, unsigned int);
16 extern void SHA1_Final(unsigned char[SHA1_SIGNATURE_SIZE], SHA1_CTX *);
17
18 #endif /* _SHA1_H */